/*
Theme Name:  Salient
Description: "Secondary Header Bar" enabled in theme options 
*/

body[data-header-color="dark"] #header-secondary-outer{
    background-color:#111;
     border-bottom:1px solid #444
}

 body[data-header-color="dark"] #header-secondary-outer nav >ul >li >a{
    border-left:1px solid #222
}

 body[data-header-color="dark"] #header-secondary-outer nav >ul >li:last-child{
    border-right:1px solid #272727
}

body[data-header-color="dark"] #header-secondary-outer nav >ul >li >a, 
body[data-header-color="dark"] #header-secondary-outer nav >ul >li >a .sf-sub-indicator i,
body[data-header-color="dark"] #header-secondary-outer .nectar-center-text, 
body[data-header-color="dark"] #header-secondary-outer .nectar-center-text a,
body[data-header-color="dark"] #header-secondary-outer #social li a i {
    color:#A0A0A0
}

 #header-secondary-outer ul ul li a{
    font-size:11px;
    transition:none;
    -webkit-transition:none;
}


.material #header-secondary-outer[data-lhe="animated_underline"] nav >.sf-menu >li >a:hover:after, 
.material #header-secondary-outer[data-lhe="animated_underline"] nav >.sf-menu >li >a.current-menu-item:after{
     backface-visibility: hidden;
     -ms-transform:scaleX(1);
     -webkit-transform:scaleX(1);
     transform:scaleX(1)
}

body[data-dropdown-style="minimal"] #header-secondary-outer .sf-menu > li ul{
     height: auto;
}

#header-secondary-outer .container {
     position: static;
}
#header-secondary-outer {
     min-height: 34px;
}

.material #header-secondary-outer {
     min-height: 42px;
}

#header-secondary-outer .nectar-center-text {
     text-align: center;
     padding: 0 130px;
     font-size: 14px;
     line-height: 14px;
     width: 100%;
     position: absolute;
     left: 50%;
     top: 50%;
     z-index: 10;
     -webkit-transform: translateX(-50%) translateY(-50%);
     transform: translateX(-50%) translateY(-50%);
}

 body #header-secondary-outer .nectar-center-text {
     font-size: 16px;
     line-height: 16px;
     max-width: 70%;
}

#header-secondary-outer .nectar-center-text a {
     color: inherit 
}


@media only screen and (max-width: 999px) {
   
     body #header-secondary-outer[data-secondary-text="true"] ul {
         display: none;
    }
     #header-secondary-outer .nectar-center-text {
         padding: 0 15px;
    }
}

@media only screen and (max-width: 690px) {
   
     body.original #header-secondary-outer .nectar-center-text {
         display: none;
    }
     body.original #header-secondary-outer {
         display: none;
    }

}

#header-secondary-outer{
     position:relative;
     top:0px;
     left:0px;
     width:100%;
     z-index:10000;
     background-color:#F8F8F8;
     border-bottom:1px solid #ddd
}
 body[data-header-color="custom"]:not(.material) #header-secondary-outer{
    border-bottom:1px solid rgba(0,0,0,0.1)
}
#header-secondary-outer #social{
    float:left;
     position: relative;
}
#header-secondary-outer #social li{
    float:left
}
#header-secondary-outer #social li a {
    line-height:20px
}
#header-secondary-outer #social li a i {
    height:14px;
    line-height:14px;
    font-size:14px;
    color: rgba(0,0,0,0.55)
}

 #header-secondary-outer #social li a{
    position:relative;
    padding:8px 10px 8px 10px;
    height:16px;
    box-sizing: content-box;
}

#header-secondary-outer ul {
    height:32px;
    float: right;
    z-index:1000
}
#header-secondary-outer nav >ul >li >a{
   color:rgba(0,0,0,0.55);
}

 body #header-secondary-outer nav >ul >li >a{
     border-left:1px solid #ddd;
     line-height:11px;
     font-size:11px;
     padding:10px
}
 body[data-header-color="custom"]:not(.material) #header-secondary-outer nav >ul >li >a{
    border-left:1px solid rgba(0,0,0,0.1)
}
 #header-secondary-outer nav >ul >li >a:hover, 
 #header-secondary-outer nav >ul >.current-menu-item >a, 
 #header-secondary-outer nav >ul >.current-menu-ancestor >a{
    color:rgba(0,0,0,0.8)
}
 #header-secondary-outer nav >ul >li >a .sf-sub-indicator {
    margin-right:5px;
     height:11px
}
 #header-secondary-outer nav >ul >li:last-child{
    border-right:1px solid #ddd
}
 body[data-header-color="custom"]:not(.material) #header-secondary-outer nav >ul >li:last-child{
    border-right:1px solid rgba(0,0,0,0.1)
}
 #header-secondary-outer nav >ul >li >a .sf-sub-indicator i {
    color:rgba(0,0,0,0.45);
    font-size: 14px;
}
 #header-secondary-outer ul ul li a{
    background-color:#1F1F1F;
     color:#CCC
}
 #header-secondary-outer ul >.menu-item-language-current > a {
    height:32px;
    padding-top:8px
}
 #header-secondary-outer #social li .behance, 
 #header-secondary-outer #social li .vimeo{
    background-color:#a6a6a6;
     background-position:center;
     background-repeat:no-repeat;
     text-indent:-9999px
}

 #header-secondary-outer #social li .vimeo{
    width:15px
}
 #header-secondary-outer #social li .behance{
    width:17px
}
 #header-secondary-outer[data-full-width="true"] >.container{
    width:100%;
     max-width:100%;
     padding:0 28px
}
 #header-secondary-outer[data-full-width="true"] >.container nav >ul >li:last-child, 
 #header-secondary-outer[data-full-width="true"] nav >ul#social >li:first-child >a{
    border:none
}


 body[data-header-color="dark"] #header-secondary-outer .current-menu-ancestor >a,
 body[data-header-color="dark"] #header-secondary-outer .current-menu-item >a, 
 body[data-header-color="dark"] #header-secondary-outer .sfHover >a, 
 body[data-header-color="dark"] #header-secondary-outer .sfHover >a i,
 body[data-header-color="dark"] #header-secondary-outer nav >ul >li a:hover, 
 body[data-header-color="dark"] #header-secondary-outer nav >ul >li a:hover .sf-sub-indicator i,
 body[data-dropdown-style="minimal"] #header-secondary-outer ul >li:not(.megamenu) .sfHover >a,
 body[data-dropdown-style="minimal"] #header-secondary-outer ul >li:not(.megamenu) ul a:hover {
    color:#fff!important
}

body[data-header-color="dark"] #header-secondary-outer nav >ul >li >a .sf-sub-indicator i {
    color:#A0A0A0!important
}

/*material*/
 body.material #header-secondary-outer nav >ul {
     height: auto;
     padding: 6px 0;
}
 body.material #header-secondary-outer nav >.sf-menu {
     padding: 9px 0 8px 0;
}
 body.material #header-secondary-outer .nectar-center-text {
     padding: 10px 0;
}
 body.material #header-secondary-outer nav:after {
     display: block;
     clear: both;
     content: '';
}
 body.material #header-secondary-outer nav >ul >li >a, 
 body.material #header-secondary-outer #social li a {
     padding: 0;
     margin: 0 10px;
     height: auto;
}
 body.material #header-secondary-outer {
     border: 1px solid transparent;
}
 body.material #header-secondary-outer nav >ul >li >a{
    border-left: 0px;
     line-height:22px;
     font-size:12px;
}
 body.material #header-secondary-outer nav >ul >li:last-child {
     border-right: 0px;
}
 body.material #header-secondary-outer nav >ul >li:last-child > a {
     margin-right: 0;
     padding-right: 0;
}
 body.material #header-secondary-outer #social li a i {
     font-size: 16px;
}
 body.material #header-secondary-outer #social li a {
     line-height: 28px;
}
 body.material #header-secondary-outer #social li:first-child a {
     padding-left: 0;
     margin-left: 0;
}

@media only screen and (max-width: 999px) {
    
    #header-secondary-outer[data-mobile="display_full"] .nectar-center-text {
      position: relative;
      left: 0;
      top: 0;
      margin: 0px auto;
      -webkit-transform: none;
      transform: none;
    }
    body:not(.material) #header-secondary-outer[data-mobile="display_full"] .nectar-center-text {
        margin: 20px auto;
    }
     body #header-secondary-outer[data-mobile="display_full"] ul,
     body.original #header-secondary-outer[data-mobile="display_full"] .nectar-center-text,
     body.ascend #header-secondary-outer[data-mobile="display_full"] .nectar-center-text {
         display: block;
    }
    body.original #header-secondary-outer[data-mobile="display_full"] #social > li > a {
      border: none!important;
    }
    #header-secondary-outer[data-mobile="display_full"] #social,
    #header-secondary-outer[data-mobile="display_full"] ul {
      float: none;
      text-align: center;
      margin: 0 auto;
    }
    body.original #header-secondary-outer[data-mobile="display_full"],
    body.ascend #header-secondary-outer[data-mobile="display_full"],
    body.material #header-secondary-outer[data-mobile="display_full"] {
      display: block!important;
      height: auto!important;
  }
  body[data-dropdown-style] #header-secondary-outer[data-mobile="display_full"] .sf-menu > li ul {
    display: none!important;
  }
  

}/*
Theme Name:  Salient
Description: Styles for the "Image with Hotspots" page builder element.
*/

.nectar_image_with_hotspots.no-img{
   background-color:#333;
    width:75%;
    height:400px
}
.row .col .nectar_image_with_hotspots img:not([srcset]) {
    max-width: 100%;
}
.row .nectar_image_with_hotspots img{
   max-width:none;
    width:100%;
    margin-bottom:0
}
.nectar_image_with_hotspots{
   position:relative;
    line-height:0
}
.nectar_image_with_hotspots .nectar_hotspot_wrap{
   position:absolute;
   width:30px;
   height:30px
}
.nectar_image_with_hotspots .nectar_hotspot_wrap .nttip{
   position:relative;
    display:block;
    opacity:0;
    z-index:900;
    cursor:default;
    background-color:#fff;
    padding:23px;
    max-width:250px;
    transition:opacity 0.3s;
    -webkit-transition:opacity 0.3s;
    line-height:22px;
    font-size:14px;
    color:#666;
    border-radius:10px;
    pointer-events:none
}
.nectar_image_with_hotspots[data-tooltip-func="click"] .nectar_hotspot_wrap .open.nttip {
    pointer-events: auto;
    cursor: auto;
}
.nectar_image_with_hotspots[data-tooltip-func="click"] .nectar_hotspot_wrap .nttip{
   transition:opacity 0.2s;
    -webkit-transition:opacity 0.2s
}
.nectar_image_with_hotspots[data-tooltip_shadow="small_depth"] .nectar_hotspot_wrap .nttip{
   box-shadow:0px 1px 4px rgba(0,0,0,0.15)
}
.nectar_image_with_hotspots[data-tooltip_shadow="medium_depth"] .nectar_hotspot_wrap .nttip{
   box-shadow:0 20px 40px rgba(0,0,0,0.16),0 10px 25px rgba(0,0,0,0.1)
}
.nectar_image_with_hotspots[data-tooltip_shadow="large_depth"] .nectar_hotspot_wrap .nttip{
   box-shadow:0 30px 102px rgba(0,0,0,0.33),0 20px 51px rgba(0,0,0,0.18)
}
.nectar_image_with_hotspots .nectar_hotspot_wrap .nttip h4, 
.nectar_image_with_hotspots .nectar_hotspot_wrap .nttip h3{
   margin-bottom:4px
}
.nectar_image_with_hotspots .nectar_hotspot_wrap .nttip[data-tooltip-position="bottom"]{
    margin-top:42px;
    margin-left:6px;
    -ms-transform:translateX(-50%);
    transform:translateX(-50%);
    -webkit-transform:translateX(-50%)
}
.nectar_image_with_hotspots .nectar_hotspot_wrap .nttip[data-tooltip-position="top"]{
    margin-top:-20px;
    margin-left:6px;
    -ms-transform:translateX(-50%) translateY(-100%);
    transform:translateX(-50%) translateY(-100%);
    -webkit-transform:translateX(-50%) translateY(-100%)
}
body .nectar_image_with_hotspots .nectar_hotspot_wrap .nttip[data-tooltip-position].force-top{
    margin-top:-20px;
    margin-left:6px;
    -ms-transform:translateX(-50%) translateY(-100%);
    transform:translateX(-50%) translateY(-100%);
    -webkit-transform:translateX(-50%) translateY(-100%)
}
.nectar_image_with_hotspots .nectar_hotspot_wrap .nttip[data-tooltip-position="left"]{
    margin-left:-20px;
    margin-top:6px;
    -ms-transform:translateX(-100%) translateY(-50%);
    transform:translateX(-100%) translateY(-50%);
    -webkit-transform:translateX(-100%) translateY(-50%)
}
body .nectar_image_with_hotspots .nectar_hotspot_wrap .nttip[data-tooltip-position].force-left{
    margin-left:-20px;
    margin-top:6px;
    -ms-transform:translateX(-100%) translateY(-50%);
    transform:translateX(-100%) translateY(-50%);
    -webkit-transform:translateX(-100%) translateY(-50%)
}
.nectar_image_with_hotspots .nectar_hotspot_wrap .nttip[data-tooltip-position="right"]{
    margin-left:42px;
    margin-top:6px;
    -ms-transform:translateY(-50%);
    transform:translateY(-50%);
    -webkit-transform:translateY(-50%)
}
body .nectar_image_with_hotspots .nectar_hotspot_wrap .nttip[data-tooltip-position].force-right {
    margin-left:42px;
    margin-top:6px;
    -ms-transform:translateY(-50%);
    transform:translateY(-50%);
    -webkit-transform:translateY(-50%)
}
.nttip.empty-tip{
   display:none!important
}


@media only screen and (min-width:690px){
   .nectar_image_with_hotspots[data-tooltip-func="hover"] .nectar_hotspot:hover+.nttip{
       opacity:1
   }
    .nectar_image_with_hotspots[data-tooltip-func="hover"] .nectar_hotspot:hover span{
       transform:rotate(90deg);
        -webkit-transform:rotate(90deg)
   }
    .nectar_image_with_hotspots[data-tooltip-func="click"] .nectar_hotspot.open span{
       transform:rotate(45deg);
        -webkit-transform:rotate(45deg)
   }
    .nectar_image_with_hotspots[data-animation="true"] .nectar_hotspot_wrap{
       opacity:0;
        transform:translateY(80px);
        -webkit-transform:translateY(80px)
   }
    .nectar_image_with_hotspots[data-animation="true"] .nectar_hotspot_wrap.animated-in{
       -webkit-animation:nectarBounceIn .8s ease-out forwards;
        animation:nectarBounceIn .8s ease-out forwards
   }
    .nectar_image_with_hotspots[data-tooltip-func="always_show"] .nectar_hotspot_wrap .nttip{
       opacity:1;
       width: 250px!important;
   }
}
.nectar_image_with_hotspots .nttip.open{
   opacity:1!important
}
.nectar_image_with_hotspots[data-hotspot-icon="plus_sign"] .nectar_hotspot span{
   display:block;
    pointer-events:none;
    transition:transform 0.3s;
    -webkit-transition:-webkit-transform 0.3s;
    width:22px;
    height:22px
}
.nectar_image_with_hotspots[data-hotspot-icon="plus_sign"][data-tooltip-func="click"] .nectar_hotspot span{
   transition:transform 0.2s;
    -webkit-transition:-webkit-transform 0.2s
}
.nectar_image_with_hotspots[data-hotspot-icon="plus_sign"] .nectar_hotspot span:before{
   position:absolute;
    display:block;
    height:2px;
    width:10px;
    left:6px;
    top:10px;
    content:' ';
    background-color:#fff
}
.nectar_image_with_hotspots[data-hotspot-icon="plus_sign"] .nectar_hotspot span:after{
   position:absolute;
    display:block;
    height:10px;
    width:2px;
    left:10px;
    top:6px;
    content:' ';
    background-color:#fff
}
.nectar_image_with_hotspots .nectar_hotspot{
    height:22px;
    width:22px;
    border-radius:100px;
    position:absolute;
    z-index:100;
    cursor:pointer;
    line-height:22px;
    text-align:center;
    color:#fff;
    font-size:11px;
    display:block
}
.nectar_image_with_hotspots[data-stlye="color_pulse"] .nectar_hotspot{
   background-color:#27CFC3
}
.nectar_image_with_hotspots[data-stlye="color_pulse"] .nectar_hotspot:before{
    display:block;
    position:absolute;
    top:50%;
    left:50%;
    content:'';
    width:22px;
    height:22px;
    margin:-11px auto auto -11px;
    -webkit-transform-origin:50% 50%;
    transform-origin:50% 50%;
    border-radius:50%;
    background-color:inherit;
    opacity:1;
    z-index:-1;
    pointer-events:none
}
.nectar_image_with_hotspots[data-stlye="color_pulse"][data-hotspot-icon="numerical"] .nectar_hotspot.pulse:before, 
.nectar_image_with_hotspots[data-stlye="color_pulse"][data-hotspot-icon="plus_sign"] .nectar_hotspot:before{
   -webkit-animation:pulsate 3s cubic-bezier(0.2,1,0.2,1) infinite;
    animation:pulsate 3s cubic-bezier(0.2,1,0.2,1) infinite
}

@media only screen and (min-width:690px){
    .nectar_image_with_hotspots[data-size="medium"] .nectar_hotspot{
       height:30px;
        width:30px;
        line-height:30px;
        font-size:14px
   }
    .nectar_image_with_hotspots[data-size="medium"][data-hotspot-icon="plus_sign"] .nectar_hotspot span{
       height:30px;
        width:30px
   }
    .nectar_image_with_hotspots[data-size="medium"][data-hotspot-icon="plus_sign"] .nectar_hotspot span:before{
        height:2px;
        width:12px;
        left:9px;
        top:14px
   }
    .nectar_image_with_hotspots[data-size="medium"][data-hotspot-icon="plus_sign"] .nectar_hotspot span:after{
        height:12px;
        width:2px;
        left:14px;
        top:9px
   }
    .nectar_image_with_hotspots[data-size="medium"] .nectar_hotspot_wrap .nttip[data-tooltip-position="bottom"]{
        margin-top:60px;
        margin-left:15px
   }
    .nectar_image_with_hotspots[data-size="medium"] .nectar_hotspot_wrap .nttip[data-tooltip-position="top"]{
        margin-top:-30px;
        margin-left:15px
   }
    .nectar_image_with_hotspots[data-size="medium"] .nectar_hotspot_wrap .nttip[data-tooltip-position="left"]{
        margin-left:-30px;
        margin-top:15px
   }
    .nectar_image_with_hotspots[data-size="medium"] .nectar_hotspot_wrap .nttip[data-tooltip-position="right"]{
        margin-left:60px;
        margin-top:15px
   }
}

@media only screen and (max-width : 690px) {
    body .nectar_image_with_hotspots .nectar_hotspot_wrap .nttip {
        position: fixed!important;
        left: 0!important;
        top: 0!important;
        width: 100%!important;
        max-width: none!important;
        margin: 0!important;
        height: 100%;
        box-shadow: none!important;
        border-radius: 0;
        text-align: center;
        transform: none!important;
        -webkit-transform: none!important;
        z-index: 999;
   }
    .nectar_image_with_hotspots .nectar_hotspot_wrap .nttip .inner {
        transform: translateY(-50%) translateX(-50%) scale(0.8);
        -webkit-transform: translateY(-50%) translateX(-50%) scale(0.8);
        -webkit-transition: all 0.2s ease-in-out!important;
        transition: all 0.2s ease-in-out!important;
        top: 50%;
        left: 50%;
        position: absolute;
        width: 60%;
        text-align: center;
   }
    .nectar_image_with_hotspots .nectar_hotspot_wrap .nttip.open .inner {
        transform: translateY(-50%) translateX(-50%) scale(1);
        -webkit-transform: translateY(-50%) translateX(-50%) scale(1);
   }
    .nectar_image_with_hotspots .nectar_hotspot_wrap .nttip.open {
        pointer-events: auto!important;
   }
    .nectar_image_with_hotspots .nectar_hotspot_wrap .nttip .tipclose {
        position: absolute;
        top: -50px;
        left: 50%;
        margin-left: -11px;
        height: 22px;
        width: 22px;
        line-height: 22px;
        border: 2px solid #000;
        border-radius: 100px;
   }
    .nectar_image_with_hotspots .nectar_hotspot_wrap .nttip .tipclose span {
        transform: rotate(45deg);
        -webkit-transform: rotate(45deg);
        display: block;
        height: 18px;
        width: 18px;
        transform-origin: center;
   }
    .nectar_image_with_hotspots .nectar_hotspot_wrap .nttip .tipclose span:before {
        position: absolute;
        display: block;
        height: 2px;
        width: 10px;
        left: 4px;
        top: 8px;
        content: ' ';
   }
    .nectar_image_with_hotspots .nectar_hotspot_wrap .nttip .tipclose span:after {
        position: absolute;
        display: block;
        height: 10px;
        width: 2px;
        left: 8px;
        top: 4px;
        content: ' ';
   }
}/* Magnific Popup CSS */
.mfp-bg {
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  z-index: 104200;
  overflow: hidden;
  position: fixed;
  background: #0b0b0b;
  opacity: 0.8;
  filter: alpha(opacity=80); }

.mfp-wrap {
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  z-index: 104300;
  position: fixed;
  outline: none !important;
  -webkit-backface-visibility: hidden; }

.mfp-container {
  text-align: center;
  position: absolute;
  width: 100%;
  height: 100%;
  left: 0;
  top: 0;
  padding: 0 20px;
  -webkit-box-sizing: border-box;
  -moz-box-sizing: border-box;
  box-sizing: border-box; }

.mfp-container:before {
  content: '';
  display: inline-block;
  height: 100%;
  vertical-align: middle; }

.mfp-align-top .mfp-container:before {
  display: none; }

.mfp-content {
  position: relative;
  display: inline-block;
  vertical-align: middle;
  margin: 0 auto;
  text-align: left;
  z-index: 104500; }

.mfp-inline-holder .mfp-content,
.mfp-ajax-holder .mfp-content {
  width: 100%;
  cursor: auto; }

.mfp-ajax-cur {
  cursor: progress; }

.mfp-zoom-out-cur, .mfp-zoom-out-cur .mfp-image-holder .mfp-close {
  cursor: -moz-zoom-out;
  cursor: -webkit-zoom-out;
  cursor: zoom-out; }

.mfp-zoom {
  cursor: pointer;
  cursor: -webkit-zoom-in;
  cursor: -moz-zoom-in;
  cursor: zoom-in; }

.mfp-auto-cursor .mfp-content {
  cursor: auto; }

.mfp-close,
.mfp-arrow,
.mfp-preloader,
.mfp-counter {
  -webkit-user-select: none;
  -moz-user-select: none;
  user-select: none; }

.mfp-loading.mfp-figure {
  display: none; }

.mfp-hide {
  display: none !important; }

.mfp-preloader {
  color: #CCC;
  position: absolute;
  top: 50%;
  width: auto;
  text-align: center;
  margin-top: -0.8em;
  left: 8px;
  right: 8px;
  z-index: 104400; }
  .mfp-preloader a {
    color: #CCC; }
    .mfp-preloader a:hover {
      color: #FFF; }

.mfp-s-ready .mfp-preloader {
  display: none; }

.mfp-s-error .mfp-content {
  display: none; }

button.mfp-close,
button.mfp-arrow {
  overflow: visible;
  cursor: pointer;
  background: transparent;
  border: 0;
  -webkit-appearance: none;
  display: block;
  outline: none;
  padding: 0;
  z-index: 104600;
  -webkit-box-shadow: none;
  box-shadow: none; }

button::-moz-focus-inner {
  padding: 0;
  border: 0; }

.mfp-close {
  width: 44px;
  height: 44px;
  line-height: 44px;
  position: absolute;
  right: 0;
  top: 0;
  text-decoration: none;
  text-align: center;
  opacity: 0.65;
  filter: alpha(opacity=65);
  padding: 0 0 18px 10px;
  color: #FFF;
  font-style: normal;
  font-size: 28px;
  font-family: Arial, Baskerville, monospace; }
  .mfp-close:hover,
  .mfp-close:focus {
    opacity: 1;
    filter: alpha(opacity=100); }
  .mfp-close:active {
    top: 1px; }

.mfp-close-btn-in .mfp-close {
  top: 20px;
  color: #333;   
   display: inline-block;
    width: 20px!important;
  height: 20px;
  padding-right: 0!important;
  line-height: 20px!important;
  transition: all 0.47s cubic-bezier(0.3, 1, 0.3, 0.95) 0s;
    -webkit-transition: all 0.47s cubic-bezier(0.3, 1, 0.3, 0.95) 0s;
}

.mfp-close-btn-in .mfp-close:hover {
  transform: rotate(90deg);
  -webkit-transform: rotate(90deg);
}
.mfp-image-holder .mfp-close,
.mfp-iframe-holder .mfp-close {
  color: #FFF;
  right: -6px;
  text-align: right;
  padding-right: 6px;
  width: 100%; }

.mfp-image-holder .mfp-close:before, .mfp-iframe-holder .mfp-close:before {
  content: "\e117";
  font-size: 20px;
  display: block;
}

.mfp-counter {
  position: absolute;
  top: 0;
  right: 0;
  color: #CCC;
  font-size: 12px;
  line-height: 18px;
  white-space: nowrap; }

.mfp-arrow {
  position: absolute;
  opacity: 0.65;
  filter: alpha(opacity=65);
  margin: 0;
  top: 50%;
  margin-top: -55px;
  padding: 0;
  width: 90px;
  height: 110px;
  -webkit-tap-highlight-color: transparent; }
  .mfp-arrow:active {
    margin-top: -54px; }
  .mfp-arrow:hover,
  .mfp-arrow:focus {
    opacity: 1;
    filter: alpha(opacity=100); }
  body.original .mfp-arrow:before,
  body.original .mfp-arrow:after,
  body.original .mfp-arrow .mfp-b,
  body.original .mfp-arrow .mfp-a {
    content: '';
    display: block;
    width: 0;
    height: 0;
    position: absolute;
    left: 0;
    top: 0;
    margin-top: 35px;
    margin-left: 35px;
    border: medium inset transparent; }
  body.original .mfp-arrow:after,
  body.original .mfp-arrow .mfp-a {
    border-top-width: 13px;
    border-bottom-width: 13px;
    top: 8px; }
    body.original .mfp-arrow:before,
    body.original .mfp-arrow .mfp-b {
    border-top-width: 21px;
    border-bottom-width: 21px;
    opacity: 0.7; }

.mfp-arrow-left {
  left: 0; }
  body.original .mfp-arrow-left:after,
  body.original .mfp-arrow-left .mfp-a {
    border-right: 17px solid #FFF;
    margin-left: 31px; }
   body.original .mfp-arrow-left:before,
    body.original .mfp-arrow-left .mfp-b {
    margin-left: 25px;
    border-right: 27px solid #3F3F3F; }

.mfp-arrow-right {
  right: 0; }
    body.original .mfp-arrow-right:after,
   body.original  .mfp-arrow-right .mfp-a {
    border-left: 17px solid #FFF;
    margin-left: 39px; }
    body.original .mfp-arrow-right:before,
    body.original .mfp-arrow-right .mfp-b {
    border-left: 27px solid #3F3F3F; }

.mfp-iframe-holder {
  padding-top: 40px;
  padding-bottom: 40px; }
  .mfp-iframe-holder .mfp-content, .mfp-inline-holder .mfp-content {
    line-height: 0;
    width: 100%;
    max-width: 900px; }
  .mfp-iframe-holder .mfp-close {
    top: -40px; }

.mfp-iframe-scaler {
  width: 100%;
  height: 0;
  padding-top: 56.25%; }
  .mfp-iframe-scaler iframe, .mfp-iframe-scaler > div.video, .mfp-iframe-scaler > div.video .mejs-container {
    position: absolute;
    display: block;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: #000; }
.mfp-iframe-scaler > div.video .mejs-container { width: 100%!important; height: 100%!important;}

.mfp-wrap .mfp-container .mfp-iframe-scaler .wp-video-shortcode video {
   height: 100%!important;
   width: 100%!important;
}

/* Main image in popup */
img.mfp-img {
  width: auto;
  max-width: 100%;
  height: auto;
  display: block;
  line-height: 0;
  -webkit-box-sizing: border-box;
  -moz-box-sizing: border-box;
  box-sizing: border-box;
  padding: 55px 0 55px;
  margin: 0 auto; }

/* The shadow behind the image */
.mfp-figure {
  line-height: 0; }
  .mfp-figure:after {
    content: '';
    position: absolute;
    left: 0;
    top: 55px;
    bottom: 55px;
    display: block;
    right: 0;
    width: auto;
    height: auto;
    z-index: -1;
    /*box-shadow: 0 0 15px rgba(0, 0, 0, 0.2); */
    background: #444; }
  .mfp-figure small {
    color: #BDBDBD;
    display: block;
    font-size: 12px;
    line-height: 14px; }
  .mfp-figure figure {
    margin: 0; }

.mfp-bottom-bar {
  margin-top: -40px;
  position: absolute;
  top: 100%;
  left: 0;
  width: 100%;
  cursor: auto; }

.mfp-title {
  text-align: left;
  line-height: 18px;
  color: #F3F3F3;
  word-wrap: break-word;
  padding-right: 36px; }

.mfp-image-holder .mfp-content {
  max-width: 100%; }

.mfp-gallery .mfp-image-holder .mfp-figure {
  cursor: pointer; }

@media screen and (max-width: 800px) and (orientation: landscape), screen and (max-height: 300px) {
  /**
       * Remove all paddings around the image on small screen
       */
  .mfp-img-mobile .mfp-image-holder {
    padding-left: 0;
    padding-right: 0; }
  .mfp-img-mobile img.mfp-img {
    padding: 0; }
  .mfp-img-mobile .mfp-figure:after {
    top: 0;
    bottom: 0; }
  .mfp-img-mobile .mfp-figure small {
    display: inline;
    margin-left: 5px; }
  .mfp-img-mobile .mfp-bottom-bar {
    background: rgba(0, 0, 0, 0.6);
    bottom: 0;
    margin: 0;
    top: auto;
    padding: 3px 5px;
    position: fixed;
    -webkit-box-sizing: border-box;
    -moz-box-sizing: border-box;
    box-sizing: border-box; }
    .mfp-img-mobile .mfp-bottom-bar:empty {
      padding: 0; }
  .mfp-img-mobile .mfp-counter {
    right: 5px;
    top: 3px; }
  .mfp-img-mobile .mfp-close {
    top: 0;
    right: 0;
    width: 35px;
    height: 35px;
    line-height: 35px;
    background: rgba(0, 0, 0, 0.6);
    position: fixed;
    text-align: center;
    padding: 0; } }

@media all and (max-width: 900px) {
  .mfp-arrow {
    -webkit-transform: scale(0.75);
    transform: scale(0.75); }
  .mfp-arrow-left {
    -webkit-transform-origin: 0;
    transform-origin: 0; }
  .mfp-arrow-right {
    -webkit-transform-origin: 100%;
    transform-origin: 100%; }

    .ascend .mfp-arrow-left, .material .mfp-arrow-left {
      left: 20px!important;
    }
     .ascend .mfp-arrow-right, .material .mfp-arrow-right {
      right: 20px!important;
    }
  .mfp-container {
    padding-left: 6px;
    padding-right: 6px; } }

.mfp-ie7 .mfp-img {
  padding: 0; }

.mfp-ie7 .mfp-bottom-bar {
  width: 600px;
  left: 50%;
  margin-left: -300px;
  margin-top: 5px;
  padding-bottom: 5px; }

.mfp-ie7 .mfp-container {
  padding: 0; }

.mfp-ie7 .mfp-content {
  padding-top: 44px; }

.mfp-ie7 .mfp-close {
  top: 0;
  right: 0;
  padding-top: 0; }


  
.mfp-bg {
   transition: all 0.3s ease-out;
}


.mfp-zoom-in {
  /* start state */
  /* animate in */
  /* animate out */
}
.mfp-zoom-in .mfp-with-anim, .mfp-zoom-in .mfp-iframe-scaler {
  opacity: 0;
  transition: all 0.2s ease-in-out;
  transform: scale(0.93);
}
.mfp-zoom-in.mfp-bg {
  opacity: 0;
  transition: all 0.3s ease-out;
}
.mfp-zoom-in.mfp-ready.mfp-image-loaded .mfp-with-anim,  .mfp-zoom-in.mfp-ready .mfp-iframe-scaler,
.mfp-zoom-in.mfp-ready div[id*="video-popup-"].mfp-with-anim {
  opacity: 1;
  transform: scale(1);
}
.mfp-zoom-in.mfp-ready.mfp-bg {
  opacity: 0.85;
}
body .mfp-zoom-in.mfp-removing .mfp-with-anim, .mfp-zoom-in.mfp-removing .mfp-iframe-scaler {
  transform: scale(0.93)!important;
  opacity: 0!important;
}
.mfp-zoom-in.mfp-removing.mfp-bg {
  opacity: 0;
}

.mfp-wrap.mfp-removing .mfp-arrow-left, .mfp-wrap.mfp-removing .mfp-arrow-right {
  opacity: 0;
}

.mfp-zoom-out {
  /* start state */
  /* animate in */
  /* animate out */
}
.mfp-zoom-out .mfp-with-anim {
  opacity: 0;
  transition: all 0.3s ease-in-out;
  transform: scale(1.3);
}
.mfp-zoom-out.mfp-bg {
  opacity: 0;
  transition: all 0.3s ease-out;
}
.mfp-zoom-out.mfp-ready .mfp-with-anim {
  opacity: 1;
  transform: scale(1);
}
.mfp-zoom-out.mfp-ready.mfp-bg {
  opacity: 0.8;
}
.mfp-zoom-out.mfp-removing .mfp-with-anim {
  transform: scale(1.3);
  opacity: 0;
}
.mfp-zoom-out.mfp-removing.mfp-bg {
  opacity: 0;
}