/*
Theme Name: Flatsome Child
Description: This is a child theme for Flatsome Theme
Author: UX Themes
Template: flatsome
Version: 3.0
*/

/*************** ADD CUSTOM CSS HERE.   ***************/

.md-section .md-feature{
    width: 100%;
    position:relative;
    clear: both;
    margin-bottom: 70px;
}

.line-top{
    width:1px;
    left: calc((100% - 1px) / 2);
    top: -170px;
    height: 145px;
    background-color: #ec1a22;
    position: absolute;
}
.md-section .md-feature.feature-bottom{
  margin-top: 48px;
  margin-bottom: 4px;
}
.md-section .md-feature.feature-single{
    margin-bottom: 200px;
}
.md-section .md-feature > .row-extra{
    font-size: 0;
    text-align: center
}
.md-feature .each-feature{
    display: inline-block;
    position: relative;
    float: none;
    min-height: 277px;
	width: 100%;
}
.wp-fea{
    position: relative;
    width: 100%;
    height: 100%;
    display: table;
    min-height: 150px;
}
.md-feature .each-feature .img-feature{
    text-align: center;
    width: 100%;
    position: absolute;
    top: 0;
    left: 0;
}

.md-feature .each-feature .img-feature img{
  transform:scale(0);
  -webkit-transform:scale(0);
  transition: all .5s cubic-bezier(.07,.71,.1,.9);
  -webkit-transition: all .5s cubic-bezier(.07,.71,.1,.9);
  transition-delay: 0.3s;
  -webkit-transition-delay: 0.3s;
  display: none;
}
.md-feature .each-feature .img-transform{
  width: 220px;
  height: 220px;
  margin-left: 0px;
  margin-top: 0px;
  background: url(trans_sprite_tiny.png) -1px -1px;
  background-repeat: no-repeat;
  left: calc((100% - 220px) / 2);
  top: -22px;
}
.md-feature .each-feature .img-archi{
  width: 222px;
  height: 222px;
  margin-left: 0px;
  margin-top: 0px;
  background-repeat: no-repeat;
  left: calc((100% - 222px) / 2);
  top: -24px;
}
.md-feature .each-feature .img-gouver{
  width: 200px;
  height: 200px;
  margin-left: 0px;
  margin-top: 0px;
  background-repeat: no-repeat;
  left: calc((100% - 200px) / 2);
  top: -12px;
}

.animated.md-feature .each-feature:hover .img-transform{
  -webkit-animation: play 2s steps(88) 1;
  -moz-animation: play 2s steps(88) 1;
  -ms-animation: play 2s steps(88) 1;
  -o-animation: play 2s steps(88) 1;
  animation: play 2s steps(88) 1;
}

.animated.md-feature .each-feature:hover .img-archi{
  -webkit-animation: play-archi 2s steps(82) 1;
  -moz-animation: play-archi 2s steps(82) 1;
  -ms-animation: play-archi 2s steps(82) 1;
  -o-animation: play-archi 2s steps(82) 1;
  animation: play-archi 2s steps(82) 1;
}

.animated.md-feature .each-feature:hover .img-gouver{
  -webkit-animation: play-gouver 2s steps(74) 1;
  -moz-animation: play-gouver 2s steps(74) 1;
  -ms-animation: play-gouver 2s steps(74) 1;
  -o-animation: play-gouver 2s steps(74) 1;
  animation: play-gouver 2s steps(74) 1;
}

@-webkit-keyframes play {
  from { background-position: 0px; }
  to { background-position: -19536px; }
}

@keyframes play {
  from { background-position: 0px; }
  to { background-position: -19536px; }
}

@-webkit-keyframes play-archi {
  from { background-position: 0px; }
  to { background-position: -18204px; }
}

@keyframes play-archi {
  from { background-position: 0px; }
  to { background-position: -18204px; }
}

@-webkit-keyframes play-gouver {
  from { background-position: 0px; }
  to { background-position: -14948px; }
}

@keyframes play-gouver {
  from { background-position: 0px; }
  to { background-position: -14948px; }
}


@keyframes moveDesc{
  0%{
    transform: translate3d(-103%,0%,0);
      -webkit-transform: translate3d(-103%,0%,0);
  }
  30%{
    transform: translate3d(0%,0%,0);
      -webkit-transform: translate3d(0%,0%,0);
  }
  70%{
    transform: translate3d(0%,0%,0);
      -webkit-transform: translate3d(0%,0%,0);
  }
  100%{
    transform: translate3d(-103%,0%,0);
      -webkit-transform: translate3d(-103%,0%,0);
  }
}

@-webkit-keyframes moveDesc{
  0%{
    transform: translate3d(-103%,0%,0);
      -webkit-transform: translate3d(-103%,0%,0);
  }
  40%{
    transform: translate3d(0%,0%,0);
      -webkit-transform: translate3d(0%,0%,0);
  }
  60%{
    transform: translate3d(0%,0%,0);
      -webkit-transform: translate3d(0%,0%,0);
  }
  100%{
    transform: translate3d(-103%,0%,0);
      -webkit-transform: translate3d(-103%,0%,0);
  }
}


@keyframes showContent{
  0%{
    opacity:0;
    visibility:visible;
    transform:translateX(-40px);
    -webkit-transform:translateX(-40px);
  }
  30%{
    opacity:1;
    visibility:visible;
    transform:translateX(0px);
    -webkit-transform:translateX(0px);
  }
  70%{
    opacity:1;
    visibility:visible;
    transform:translateX(0px);
    -webkit-transform:translateX(0px);
  }
  100%{
    opacity:0;
    visibility:visible;
    transform:translateX(-40px);
    -webkit-transform:translateX(-40px);
  }
}

@-webkit-keyframes showContent{
  0%{
    opacity:0;
    visibility:visible;
    transform:translateX(-40px);
    -webkit-transform:translateX(-40px);
  }
  30%{
    opacity:1;
    visibility:visible;
    transform:translateX(0px);
    -webkit-transform:translateX(0px);
  }
  70%{
    opacity:1;
    visibility:visible;
    transform:translateX(0px);
    -webkit-transform:translateX(0px);
  }
  100%{
    opacity:0;
    visibility:visible;
    transform:translateX(-40px);
    -webkit-transform:translateX(-40px);
  }
}

@keyframes showArrow{
  0%{
    opacity:0;
    visibility:visible;
    transform:translateX(40px);
    -webkit-transform:translateX(40px);
  }
  100%{
    opacity:1;
    visibility:visible;
    transform:translateX(0px);
    -webkit-transform:translateX(0px);
  }
}

@-webkit-keyframes showArrow{
  0%{
    opacity:0;
    visibility:visible;
    transform:translateX(40px);
    -webkit-transform:translateX(40px);
  }
  100%{
    opacity:1;
    visibility:visible;
    transform:translateX(0px);
    -webkit-transform:translateX(0px);
  }
}

.animated .img-feature img{
  transform:scale(1) !important;
  -webkit-transform:scale(1) !important;
}
.md-feature .info-fea{
    position: relative;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    transition: all .5s cubic-bezier(.07,.71,.1,.9);
    -webkit-transition: all .5s cubic-bezier(.07,.71,.1,.9);
    /* opacity:0; */
    /* transform:translateY(100px); */
    /* -webkit-transform:translateY(100px); */
    min-height: 277px;
}
.animated .info-fea{
  /* opacity:1; */
  /* transform:translateY(0px); */
  /* -webkit-transform:translateY(0px); */
}
.md-feature .info-fea .info-content{
    display: table;
    width: 100%;
    height: 100%;
    text-align: center;
}
.md-feature .info-fea .info-content .inn-info{
    display: table-cell;
    vertical-align: middle;
    cursor: pointer!important;
}
.inn-info .link-info{
  float:left;
  width:100%;
  display:block;
  position:relative
}

.info-fea .info-content .intro{
    font-style: normal;
    font-weight: normal;
    line-height: normal;
    font-size: 16px;
    text-align: center;
    letter-spacing: 3.2px;
    text-transform: uppercase;
    color: #646464;
    display: block;
    margin-bottom: 16px;
    width: 100%;
}
.info-fea .info-content .intro.intro-single{
  letter-spacing:0;
  margin-bottom: 8px;
  font-weight: 600;
}

.info-fea .info-content .name{
    text-align: center;
    text-transform: uppercase;
    color: #222222;
    display: block;
    width: 100%;
    position: relative;
    overflow:hidden;
}
.info-fea .info-content .name.under-line{
    display: inline-block;
    width: auto;
    padding:0 19px;
	margin-top: 100px;
	font-size: 18px;
}
.info-fea .info-content .name.under-line:before{
    content: "";
    width: calc(100%);
    left: 0px;
    bottom: -2px;
    height: 12px;
    background-color: #ec1a22;
    position: absolute;
    z-index: -1;
    transition: all .5s cubic-bezier(.07,.71,.1,.9);
    -webkit-transition: all .5s cubic-bezier(.07,.71,.1,.9);
    transform: translate3d(-103%,0%,0);
    -webkit-transform: translate3d(-103%,0%,0);
}
.animated .each-feature:hover .info-fea .info-content .name.under-line:before{
  animation: moveDesc 1.5s 1;
  -webkit-animation: moveDesc 1.5s 1;
  animation-delay: 0.5s;
  -webkit-animation-delay: 0.5s;
  animation-fill-mode: both;
  -webkit-animation-fill-mode: both;
}

.md-feature .caption-fea{
    width: 100%;
    display: block;
    position: relative;
    float: left;
    clear: both;
    margin-bottom: 4px;
    margin-top: 28px;
}
.md-feature .caption-animation{
  margin:10px 0 0 0;
}
.md-feature .caption-animation .wp-inside{
  position:relative;
  width:100%;
  display:block;
}
.md-feature .caption-animation .wp-inside .arrow{
  bottom: 0;
  position:absolute;
  left:calc((100% - 24px) / 2);
}
.animated.md-feature .each-feature:hover .caption-animation .wp-inside .arrow{
  animation: showArrow 1s 1;
  -webkit-animation: showArrow 1s 1;
  animation-fill-mode: both;
  -webkit-animation-fill-mode: both;
  animation-delay: 2.1s;
  -webkit-animation-delay: 2.1s;
}
.md-feature .caption-fea .desc{
    font-family: 'Open Sans', sans-serif;
    font-style: normal;
    font-weight: normal;
    line-height: 18px;
    font-size: 16px;
    text-align: center;
    color: #646464;
    max-width: 345px;
    display: block;
    margin: 13px auto 25px auto;
    width: 100%;
    visibility: hidden;
    transform: translateX(-40px);
    -webkit-transform: translateX(-40px);
    animation-fill-mode: both;
    -webkit-animation-fill-mode: both;
}
.animated.md-feature .each-feature:hover .caption-fea .desc{
  animation: showContent 1.7s 1;
  -webkit-animation: showContent 1.7s 1;
  animation-delay: 0.8s;
  -webkit-animation-delay: 0.8s;
  animation-fill-mode: forwards;
  -webkit-animation-fill-mode: forwards;
}
.md-feature .caption-fea .arrow{
  display:block;
  width:24px;
  height:18px;
  margin:0 auto;
  transition: all .5s cubic-bezier(.07,.71,.1,.9);
  -webkit-transition: all .5s cubic-bezier(.07,.71,.1,.9);
  visibility: hidden;
  transform: translateX(40px);
  -webkit-transform: translateX(40px);
  animation-fill-mode:forwards;
  -webkit-animation-fill-mode:forwards;
  animation-delay: 1.6s;
}

@media only screen and (max-width: 48em) {
/*************** ADD MOBILE ONLY CSS HERE  ***************/


}