/*!
 * Template Name : cover-flow-7
 */

/**********************/
/* Cover Flow 7
/* Main Carousel Style
/**********************/

/* 1 - Background color of carousel */
.cover-flow-7.sz-slider {
  background: #1A1719;
  -webkit-font-smoothing: antialiased !important;
  padding-top: 100px;
}

/********************/
/* Cover Flow 7
/* Layer Settings
/********************/

.cover-flow-7-text {
  position:absolute; 
  top:145px; 
  left: 50%; 
  transform: translate(-50%, -50%); 
  color: #fff; 
  text-align: center; 
  z-index: 1000;
  font-size: 1.5rem;
  font-weight: 100;
}



/* 1 - Layer - wrapper */
.cover-flow-7-layer {
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  width: 100%;
  height: 100%;
  margin: auto;
  display: block;
  line-height: 1;
  position: absolute;

  .text1 {
            position: absolute;
        top: 25px;
        left: 15%;
        transform: translateX(-50%);
        color: #fff;
        font-size: 27px;
        font-weight: 700;
        text-align: center;
        width: 247px;
        border-radius: 8px;
        background-color: #008ed0;
        padding: 13px;
  }

    .text1.faro {
      left: 21%;
background-color: #D22630;
width: 390px;
    }

  .text2 {
            position: absolute;
        top: 97px;
        left: 35.4%;
        transform: translateX(-50%);
        color: #fff;
        font-size: 18px;
        font-weight: 400;
        width: 690px;
        background: linear-gradient(
  to right,
  rgba(0, 0, 0, 0.6) 0%,
  rgba(0, 0, 0, 0.6) 80%,
  rgba(0, 0, 0, 0) 100%
);
        text-align: left;
        padding: 12px 0 12px 37px;
  }

}

@media (max-width:1599px) {

  .cover-flow-7-text {
    display: none;
  }
 
.cover-flow-7-layer {

  .text2 {
    display: none;
  }
}

}




/* 2 - Background Image */
.cover-flow-7-layer > div:nth-child(1) {
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  width: 95%;
  height: 80%;
  margin: auto;
  display: block;
  position: absolute;
}
/* 3 - Container - center */
.cover-flow-7-layer > div:nth-child(2) {
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  z-index: 1;
  font-size: 0;
  width: 500px;
  height: 228px;
  display: block;
  background: rgba(255,255,255,.8);
  text-align: center;
  position: absolute;
  margin: auto auto 110px auto;
  padding: 30px 30px 25px 35px;
}
/* 4 - Container - left */
.cover-flow-7-layer.cover-flow-7-layer-left > div:nth-child(2) {
  text-align: left;
  margin: auto auto 110px auto;
  padding: 30px 0 25px 0;
}
/* 5 - Container - right */
.cover-flow-7-layer.cover-flow-7-layer-right > div:nth-child(2) {
  text-align: right;
  margin: auto 75px 110px auto;
  padding: 30px 35px 25px 30px;
}
/* 6 - Image - center */
.cover-flow-7-layer > div:nth-child(2) > img {
  margin: auto;
  display: block;

}
/* 7 - Image - left */
.cover-flow-7-layer.cover-flow-7-layer-left > div:nth-child(2) > img {
  margin: auto auto auto 0;
}
/* 8 - Image - right */
.cover-flow-7-layer.cover-flow-7-layer-right > div:nth-child(2) > img {
  margin: auto 0 auto auto;
}
/* 9 - Author */
.cover-flow-7-layer > div:nth-child(2) > span:nth-child(2) {
  color: #313131;
  font-size: 13px;
  font-weight: 400;
  margin-top: 17px;
  position: relative;
  letter-spacing: 1.3px;
  display: inline-block;
  text-transform: uppercase;
  font-family: 'Barlow Condensed', sans-serif;
}
/* 10 - Comments */
.cover-flow-7-layer > div:nth-child(2) > span:nth-child(3) {
  left: 0;
  top: 1px;
  right: 0;
  bottom: 0;
  color: #fff;
  width: 26px;
  height: 18px;
  font-size: 12px;
  font-weight: 600;
  line-height: 18px;
  text-align: center;
  position: relative;
  margin: 0 0 0 13px;
  background: #1000bd;
  display: inline-block;
  border-radius: 5px;
  -webkit-border-radius: 5px;
  font-family: 'Barlow', sans-serif;
}
/* 11 - Comments - bottom arrow */
.cover-flow-7-layer > div:nth-child(2) > span:nth-child(3)::after {
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  content: "";
  width: 10px;
  height: 10px;
  display: block;
  position: absolute;
  border-style: solid;
  margin: auto auto -8px 8px;
  border-top: 8px solid #226293;
  border-right-color: transparent;
  border-bottom-color: transparent;
  border-left: 8px solid transparent;
}
/* 12 - Post */
.cover-flow-7-layer > div:nth-child(2) > a {
  color: #333;
  display: block;
  margin-top: 9px;
  font-size: 60px;
  font-weight: 700;
  position: relative;
  letter-spacing: .2px;
  text-decoration: none;
  text-transform: uppercase;
  font-family: 'Barlow Condensed', sans-serif;
  transition: color .2s ease;
  -webkit-transition: color .2s ease;
  text-align: center;
}
/* 13 - Post - hover */
.cover-flow-7-layer > div:nth-child(2) > a:hover {
  color: #226293;
}

.cover-flow-7-layer > div:nth-child(2) > a.sol {
  font-size: 44px !important;
  font-weight: 900 !important;
}

.cover-flow-7-layer .sns {
  position: absolute;
  bottom: 40px;
  width: 100%;
  text-align: center;
  div {
    display: inline;;
  }
   a {
    margin-left: 10px;
    margin-right: 10px;
   }
}


/******************/
/* Responsiveness */
/******************/

/*----- When the screen size gets = 992px and < 1200px -----*/
@media (min-width: 992px) and (max-width: 1199.98px) {

}

/*----- When the screen size gets = 768px and < 992px -----*/
@media (min-width: 768px) and (max-width: 991.98px) {

}

/*----- When the screen size gets = 576px and < 768px -----*/
@media (min-width: 576px) and (max-width: 767.98px) {
  /* Container - center */
  .cover-flow-7-layer > div:nth-child(2) {
    width: 310px;
    height: 228px;
    margin: auto auto 90px auto;
  }
  /* Container - left */
  .cover-flow-7-layer.cover-flow-7-layer-left > div:nth-child(2) {
    padding: 30px 20px 25px 35px;
    margin: auto auto 90px 15px;
  }
  /* Container - right */
  .cover-flow-7-layer.cover-flow-7-layer-right > div:nth-child(2) {
    padding: 30px 35px 25px 20px;
    margin: auto 15px 90px auto;
  }
}

/*----- When the screen size gets = 273px and < 576px -----*/
@media (min-width: 273px) and (max-width: 575.98px) {
  /* Container */
  .cover-flow-7-layer > div:nth-child(2),
  .cover-flow-7-layer.cover-flow-7-layer-left > div:nth-child(2),
  .cover-flow-7-layer.cover-flow-7-layer-right > div:nth-child(2) {
    margin: auto;
    width: 226px;
    height: 210px;
    padding: 10px 0;
    text-align: center;
  }
.cover-flow-7-layer .sns {
  bottom: 17px !important;
  width: 100%;
display: flex;
justify-content: center;
a {
  display: block;
  width: 40px;
  margin-right: 8px;
  margin-left: 8px;
}
}

  /* Image */
  .cover-flow-7-layer > div:nth-child(2) > img,
  .cover-flow-7-layer.cover-flow-7-layer-left > div:nth-child(2) > img,
  .cover-flow-7-layer.cover-flow-7-layer-right > div:nth-child(2) > img {
    margin: auto;
  }
  /* Author */
  .cover-flow-7-layer > div:nth-child(2) > span:nth-child(2) {
    display: block;
  }
  /* Comments */
  .cover-flow-7-layer > div:nth-child(2) > span:nth-child(3) {
    top: 0;
    display: block;
    margin: 10px auto auto auto;
  }
  /* Post */
  .cover-flow-7-layer > div:nth-child(2) > a {
    font-size: 19px;
    margin-top: 10px;
  }

  .cover-flow-7-layer > div:nth-child(2) > a.sol {
    font-size: 19px !important;
  }
  
}

/*----- When the screen size gets <= 272px -----*/
@media (max-width: 272.98px) {
  /* Container */
  .cover-flow-7-layer > div:nth-child(2),
  .cover-flow-7-layer.cover-flow-7-layer-left > div:nth-child(2),
  .cover-flow-7-layer.cover-flow-7-layer-right > div:nth-child(2) {
    margin: auto;
    padding: 5px;
    width: 112px;
    height: 210px;
    text-align: center;
  }
  /* Image */
  .cover-flow-7-layer > div:nth-child(2) > img,
  .cover-flow-7-layer.cover-flow-7-layer-left > div:nth-child(2) > img,
  .cover-flow-7-layer.cover-flow-7-layer-right > div:nth-child(2) > img {
    margin: auto;
  }
  /* Author */
  .cover-flow-7-layer > div:nth-child(2) > span:nth-child(2) {
    display: block;
  }
  /* Comments */
  .cover-flow-7-layer > div:nth-child(2) > span:nth-child(3) {
    top: 0;
    display: block;
    margin: 10px auto auto auto;
  }
  /* Post */
  .cover-flow-7-layer > div:nth-child(2) > a {
    font-size: 14px;
    margin-top: 10px;
  }
}

@media (max-width:768px) {

  .cover-flow-7-layer {

    .text1 {
      left: 50%;
      font-size: 18px;
      width: 70%;
    }

    .text1.faro {
      width: 80%;
      left: 50%;
    }
  }

  .sns.faro{
    display: contents;
    width: 100%;
    justify-items: center; /* 아이콘 가운데 정렬 */
    align-items: center;
  }

  /* 내부 div(두 줄 묶음)는 그리드에 방해되니 내용만 풀어주기 */
  .sns.faro > div{
    display: inline-flex !important;
    margin-top: 1rem;
  }

  /* 아이콘(링크) 크기/터치영역 정리(선택) */
  .sns.faro a{
    display: inline-flex;
    width: 44px;
    height: 44px;
    justify-content: center;
    align-items: center;
  }

  .sns.faro img{
    max-width: 100%;
    height: auto;
    display: block;
  }
}


/*********************/
/* Cover Flow 7
/* Indicators Buttons
/*********************/

/* 1 - Indicators - wrapper */
.sz-slider[data-type=slider][data-ind-direction=x] .cover-flow-7-indicators.carousel-indicators {
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  padding: 0;
  width: 125px;
  height: 20px;
  margin: auto auto 20px auto;
}
/* 2 - Indicators - children */
.sz-slider[data-type=slider] .cover-flow-7-indicators.carousel-indicators > li {
  padding: 0;
  margin: 4px;
  width: 14px;
  height: 14px;
  border: none;
  line-height: 16px;
  background: #ffffff;
  border-radius: 0;
  -webkit-border-radius: 0;
  box-shadow: 0 0 0 2px #ffffff;
  -webkit-box-shadow: 0 0 0 2px #ffffff;
  transition: background .2s ease, border .2s ease, box-shadow .2s ease;
  -webkit-transition: background .2s ease, border .2s ease, -webkit-box-shadow .2s ease;
}
/* 3 - Indicator - active - child */
.sz-slider[data-type=slider] .cover-flow-7-indicators.carousel-indicators > li.active {
  border: none;
  background: transparent;
  box-shadow: 0 0 0 2px #226293;
  -webkit-box-shadow: 0 0 0 2px #226293;
}
/* 4 - Indicators - inside circle */
.sz-slider[data-type=slider] .cover-flow-7-indicators.carousel-indicators > li::after {
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  content: "";
  width: 100%;
  height: 100%;
  margin: auto;
  position: absolute;
  background: #03002a;
  transform: scale(.7);
  -webkit-transform: scale(.7);
  border-radius: 0;
  -webkit-border-radius: 0;
}
/* 5 - Indicator - active - inside circle */
.sz-slider[data-type=slider] .cover-flow-7-indicators.carousel-indicators > li.active::after {
  background: #226293;
}

/******************/
/* Responsiveness */
/******************/

/*----- When the screen size gets = 273px and < 576px -----*/
@media (min-width: 273px) and (max-width: 575.98px) {
  /* Indicators - wrapper */
  .sz-slider[data-type=slider][data-ind-direction=x] .cover-flow-7-indicators.carousel-indicators {
    display: none;
  }
}

/*----- When the screen size gets <= 272px -----*/
@media (max-width: 272.98px) {
  /* Indicators - wrapper */
  .sz-slider[data-type=slider][data-ind-direction=x] .cover-flow-7-indicators.carousel-indicators {
    display: none;
  }
}

/**************************/
/* Cover Flow 7
/* Left And Right Buttons
/**************************/

/* 1 - Buttons */
.cover-flow-7-btn.sz-slider .carousel-control-btn {
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  opacity: 1;
  color: #fff;
  z-index: 15;
  width: 40px;
  height: 40px;
  font-size: 0;
  background: rgba(255,255,255,.8);
  text-decoration: none;
  border-radius: 0;
  -webkit-border-radius: 0;
  transition: color .2s ease, background .2s ease;
  -webkit-transition: color .2s ease, background .2s ease;
}
/* 2 - Prev - Button */
.cover-flow-7-btn.sz-slider .carousel-control-btn.carousel-control-prev {
  margin: auto auto auto 25px;
}
/* 3 - Next - Button */
.cover-flow-7-btn.sz-slider .carousel-control-btn.carousel-control-next {
  margin: auto 25px auto auto;
}
/* 4 - Hover */
.cover-flow-7-btn.sz-slider .carousel-control-btn:hover {
  color: #fff;
  background: #226293;
}
/* 5 - Icons */
.cover-flow-7-btn.sz-slider .carousel-control-btn > i {
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  width: 16px;
  color: #1A1719;
  height: 14px;
  margin: auto;
  font-size: 14px;
  position: absolute;
  display: inline-block;
  transition: color .2s ease;
  -webkit-transition: color .2s ease;
}
/* 6 - Icons - hover */
.cover-flow-7-btn.sz-slider .carousel-control-btn:hover > i {
  color: #fff;
}

/******************/
/* Responsiveness */
/******************/

/*----- When the screen size gets = 576px and < 768px -----*/
@media (min-width: 576px) and (max-width: 767.98px) {
  /* Prev - Button */
  .cover-flow-7-btn.sz-slider .carousel-control-btn.carousel-control-prev {
    margin: auto auto auto 10px;
  }
  /* Next - Button */
  .cover-flow-7-btn.sz-slider .carousel-control-btn.carousel-control-next {
    margin: auto 10px auto auto;
  }
}

/*----- When the screen size gets = 273px and < 576px -----*/
@media (min-width: 273px) and (max-width: 575.98px) {
  /* Buttons */
  .cover-flow-7-btn.sz-slider .carousel-control-btn {
    display: none;
  }
}

/*----- When the screen size gets <= 272px -----*/
@media (max-width: 272.98px) {
  /* Buttons */
  .cover-flow-7-btn.sz-slider .carousel-control-btn {
    display: none;
  }
}