/*=================================================================
	Home Slider
==================================================================*/


#home-slider {
    position: relative;
	z-index:0;
	background:#333;
	overflow:hidden;
}

.sl-slider-wrapper {
    width: 100%;
    margin:0 auto;
    overflow: hidden;
	position: relative;
}
.sl-slider {
    position: absolute;
    top: 0;
    left: 0;
}

/*설정*/
.sl-slide, .sl-slides-wrapper, .sl-slide-inner {
	position: absolute;
	width: 100%;
	top: 0;
	left: 0;
}


.bg-img {
	background-position: bottom right;
	background-repeat: no-repeat;
	height: inherit;/*main.js에서*/
	background-attachment: scroll;
}


.bg-img-1 {
	background-image: url(../img/slider1.jpg); background-size: cover;}
.bg-img-2 {
	background-image: url(../img/slider2.jpg); background-size: cover; background-position: top center;}
.bg-img-3 {
	background-image: url(../img/slider3.jpg); background-size: cover;}



/* Slide wrapper and slides */

.sl-slide,
.sl-slide-inner {
    position: absolute;
    width: 100%;
    height: 100%;
    top: 0;
    left: 0;
} 

.sl-slide {
    z-index: 0;
}

.slide-caption {
    color: #fff;
    display: table;
    height: 100%;
    left: 0;
    min-height: 100%;
    position: absolute;
    text-align: center;
    top: 0px;
    width: 100%;
    z-index: 11;
}

.slide-caption .caption-content {
    vertical-align: middle;
    display: table-cell;
}

.caption-content h2 {
    color: rgba(255,255,255,1);
	text-shadow: 0px 1px 1px #666;/*오른쪽 아래 블러 색상*/
    font-size: 3.4em;
    font-weight: 400;
    margin-bottom: 0.11em;
	margin-top:0;
    text-transform: uppercase;
}

.caption-content > span {
    display: block;
    font-size: 1.4em;
	text-shadow: 0px 1px 1px #666;
    margin-bottom: 1.2em;
    text-transform: capitalize;
}

.caption-content a {
    font-size: 1em;
}

@media (max-width: 980px) {
	.caption-content h2{font-size: 2.8em;}
	.caption-content > span{font-size: 1.3em;}
	.caption-content a {font-size: 1em;}
}

@media (max-width: 480px) {
	.caption-content h2{font-size: 1.6em;}
	.caption-content > span{font-size: 1em;}
	.caption-content a {font-size: 0.8em;}
}


/* The duplicate parts/slices */

.sl-content-slice {
    overflow: hidden;
    position: absolute;
    -webkit-box-sizing: content-box;
    -moz-box-sizing: content-box;
    box-sizing: content-box;
    background: #333;
    -webkit-backface-visibility: hidden;
    -moz-backface-visibility: hidden;
    -o-backface-visibility: hidden;
    -ms-backface-visibility: hidden;
    backface-visibility: hidden;
    opacity : 1;
}

/* Horizontal slice */

.sl-slide-horizontal .sl-content-slice {
    width: 100%;
    height: 50%;
    left: -200px;
    -webkit-transform: translateY(0%) scale(1);
    -moz-transform: translateY(0%) scale(1);
    -o-transform: translateY(0%) scale(1);
    -ms-transform: translateY(0%) scale(1);
    transform: translateY(0%) scale(1);
}

.sl-slide-horizontal .sl-content-slice:first-child {
    top: -200px;
    padding: 200px 200px 0px 200px;
}

.sl-slide-horizontal .sl-content-slice:nth-child(2) {
    top: 50%;
    padding: 0px 200px 200px 200px;
}

/* Vertical slice */

.sl-slide-vertical .sl-content-slice {
    width: 50%;
    height: 100%;
    top: -200px;
    -webkit-transform: translateX(0%) scale(1);
    -moz-transform: translateX(0%) scale(1);
    -o-transform: translateX(0%) scale(1);
    -ms-transform: translateX(0%) scale(1);
    transform: translateX(0%) scale(1);
}

.sl-slide-vertical .sl-content-slice:first-child {
    left: -200px;
    padding: 200px 0px 200px 200px;
}

.sl-slide-vertical .sl-content-slice:nth-child(2) {
    left: 50%;
    padding: 200px 200px 200px 0px;
}

/* Content wrapper */
/* Width and height is set dynamically */
.sl-content-wrapper {
    position: absolute;
}

.sl-content {
    width: 100%;
    height: 100%;
}





/* Custom navigation arrows */


#nav-arrows > a {
  border: 1px solid rgba(255,255,255,.4);
  color:  rgba(255,255,255,.6);
  display: block;
  height: 60px;
  line-height: 76px;
  position: absolute;
  text-align: center;
  vertical-align:middle;
  top: 50%;
  width: 62px;
  z-index: 20;
  margin-top: -1.6em;

    -webkit-transition: all 0.5s ease 0s;
       -moz-transition: all 0.5s ease 0s;
        -ms-transition: all 0.5s ease 0s;
         -o-transition: all 0.5s ease 0s;
            transition: all 0.5s ease 0s;
}

#nav-arrows > a.sl-prev {
	left: 50px;
}

#nav-arrows > a.sl-next {
	right: 50px;
}

#nav-arrows > a.sl-prev i, #nav-arrows > a.sl-next i {margin-top:-18px;}

#nav-arrows > a.sl-next:hover {
	background-color: rgba(0,0,0,.3);
	border-color: rgba(255,255,255,.8);
	color: #fff;
}

/* Custom navigation dots */

.nav-dots {
	text-align: center;
	position: absolute;
	bottom: 10px;
	height: 32px;
	width: 100%;
	left: 0;
	z-index: 1000;
}

.nav-dots span {
	display: inline-block;
	position: relative;
	width: 14px;
	height: 14px;
	border-radius: 90%;
	margin: 0 6px 0 6px;
	background: rgba(255,255,255,0.1);
	cursor: pointer;
	box-shadow: 
		0 1px 2px rgba(255,255,255,0.4), 
		inset 0 0 0 2px rgba(255,255,255,0.5),
		0 0 0 2px rgba(255,255,255,0.4);
	-webkit-transition: all 0.2s;
	-moz-transition: all 0.2s;
	-ms-transition: all 0.2s;
	-o-transition: all 0.2s;
	transition: all 0.2s;
}

.nav-dots span.nav-dot-current,
.nav-dots span:hover {
	box-shadow: 
		0 1px 1px rgba(255,255,255,0.4), 
		inset 0 1px 1px rgba(155,155,155,0.8),
		0 0 0 5px rgba(255,255,255,0.7);
}

.nav-dots span.nav-dot-current:after {
	content: "";
	position: absolute;
	width: 8px;
	height: 8px;
	top: 3px;
	left: 3px;
	border-radius: 50%;
	background: rgba(255,255,255,0.7);
}



/* Animations for content elements */

.sl-trans-elems .caption-content h2 {
	-webkit-animation: moveUp 1s ease-in-out both;
	-moz-animation: moveUp 1s ease-in-out both;
	-o-animation: moveUp 1s ease-in-out both;
	-ms-animation: moveUp 1s ease-in-out both;
	animation: moveUp 1s ease-in-out both;
}
.sl-trans-elems .caption-content span,
.sl-trans-elems .caption-content a {
	-webkit-animation: fadeIn 0.5s linear 0.5s both;
	-moz-animation: fadeIn 0.5s linear 0.5s both;
	-o-animation: fadeIn 0.5s linear 0.5s both;
	-ms-animation: fadeIn 0.5s linear 0.5s both;
	animation: fadeIn 0.5s linear 0.5s both;
}

.sl-trans-back-elems .caption-content h2 {
	-webkit-animation: fadeOut 1s ease-in-out both;
	-moz-animation: fadeOut 1s ease-in-out both;
	-o-animation: fadeOut 1s ease-in-out both;
	-ms-animation: fadeOut 1s ease-in-out both;
	animation: fadeOut 1s ease-in-out both;
}
.sl-trans-back-elems .caption-content span,,
.sl-trans-back-elems .caption-content a {
	-webkit-animation: fadeOut 1s linear both;
	-moz-animation: fadeOut 1s linear both;
	-o-animation: fadeOut 1s linear both;
	-ms-animation: fadeOut 1s linear both;
	animation: fadeOut 1s linear both;
}

@-webkit-keyframes moveUp{
	0% {-webkit-transform: translateY(40px);}
	100% {-webkit-transform: translateY(0px);}
}
@-moz-keyframes moveUp{
	0% {-moz-transform: translateY(40px);}
	100% {-moz-transform: translateY(0px);}
}
@-o-keyframes moveUp{
	0% {-o-transform: translateY(40px);}
	100% {-o-transform: translateY(0px);}
}
@-ms-keyframes moveUp{
	0% {-ms-transform: translateY(40px);}
	100% {-ms-transform: translateY(0px);}
}
@keyframes moveUp{
	0% {transform: translateY(40px);}
	100% {transform: translateY(0px);}
}

@-webkit-keyframes fadeIn{
	0% {opacity: 0;}
	100% {opacity: 1;}
}
@-moz-keyframes fadeIn{
	0% {opacity: 0;}
	100% {opacity: 1;}
}
@-o-keyframes fadeIn{
	0% {opacity: 0;}
	100% {opacity: 1;}
}
@-ms-keyframes fadeIn{
	0% {opacity: 0;}
	100% {opacity: 1;}
}
@keyframes fadeIn{
	0% {opacity: 0;}
	100% {opacity: 1;}
}

@-webkit-keyframes fadeOut{
	0% {opacity: 1;}
	100% {opacity: 0;}
}
@-moz-keyframes fadeOut{
	0% {opacity: 1;}
	100% {opacity: 0;}
}
@-o-keyframes fadeOut{
	0% {opacity: 1;}
	100% {opacity: 0;}
}
@-ms-keyframes fadeOut{
	0% {opacity: 1;}
	100% {opacity: 0;}
}
@keyframes fadeOut{
	0% {opacity: 1;}
	100% {opacity: 0;}
}
