/**
 * Contains the basic CSS for Mint Features. Additional styling may be adding in other styles sheets,
 *  such as the Kids style sheet, for specific branding.
 */

.clearfix::after {
  clear: both;
  content: "";
  display: block;
  height: 0;
  visibility: hidden;
}

div.mint-feature-caption {
  width: 100%;
  text-align: center;
}

div.feature-group div.dual-image div.secondary-image {
  display: none;
}

div.feature-group div.dual-image:hover div.secondary-image {
  display: block;
}

div.feature-group div.dual-image:hover div.primary-image {
  display: none;
}


/** Styles for Feature Widths / Layouts */

div.group-type-1 div.mint-feature-width-one-third,
div.group-type-1 div.mint-feature-width-one-half,
div.group-type-1 div.mint-feature-width-two-thirds {
  margin: 0 2% 2% 0;
  position: relative;
  float: left;
  line-height: .75em;
}

div.group-type-1 div.mint-feature-width-one-third {
  width: 31.70%;
}

div.group-type-1 div.mint-feature-width-one-half {
  width: 48%;
}

div.group-type-1 div.mint-feature-width-two-thirds {
  width: 65.70%;
}

div.group-type-1 div.mint-feature-width-full-percentage {
  width: 100%;
  margin: 0 2% 2% 0;
  position: relative;
}

div.kids-home div.mint-feature-width-one-third,
div.kids-home div.mint-feature-width-one-half,
div.kids-home div.mint-feature-width-two-thirds,
div.kids-home div.mint-feature-width-full-percentage {
  border: 1px solid darkgray;
}

div.group-type-1 div.last-feature {
  margin-right: 0;
}

/** Styles for Feature Type 1 (home page) */
div.mint-feature-type-1 a {
  text-decoration: none;
}

div.mint-feature-type-1 img {
  width: 100%;
  height: 100%;
}

div.mint-feature-type-1 div.mint-feature-custom-text {
  position: absolute;
  top: 30%;
  text-align: left;
  color: #0B5578;
  font-size: 110%;
  padding: 0 10%;
  font-weight: bold;
  line-height: 130%;
}

div.mint-feature-type-1 div.mint-feature-caption {
  position: absolute;
  bottom: 0;
  color: #fff;
  font-size: 135%;
  background: linear-gradient(to bottom, rgba(000, 000, 000, 0.5), rgba(000, 000, 000, 001));
  height: 25%;
}

div.kids-home div.mint-feature-type-1 div.mint-feature-caption {
  font-size: 175%;
  font-weight: 600;
}

div.mint-feature-type-1 div.mint-feature-caption span {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  width: 90%;
  left: 5%;
  line-height: 95%;
}

  /* Styles for Feature Type 2 (landing page) */
  /* Images must be horizontally and vertically centered in a 150 x 150 px box. We do this using the css table
     and table-cell display types on nested divs (see http://vanseodesign.com/css/vertical-centering/). */
div.group-type-2 {
  margin-top: 1em;
}

div.mint-feature-type-2 div.feature-img-container {
  margin: 0 auto;
  max-width: 150px;
  height: 150px;
  line-height: 150px;
  display: table;
}

div.mint-feature-type-2 div.feature-img-container div.feature-img-align {
  display: table-cell;
}

  /* Center the image within the feature div  */
div.mint-feature-type-2 img {
  max-height: 150px;
  max-width: 150px;
  vertical-align: middle;
}

div.mint-feature-type-2 div.mint-feature-caption {
  font-size: 138.8%;
  font-weight: bold;
  margin-top: .4em;
  color: #0b5578;
}

div.mint-feature-type-2 a {
  text-decoration: none;
  color: #0b5578;
}

body.kids-site div.mint-feature-type-2 a:hover {
  text-decoration: underline;
  color: #0b5578;
}

div.mint-feature-type-2 {
  width: 100%;
  margin: 1.7em auto;
  float: left;
}

/*******************************************************
 * Slider styles
 *******************************************************/
#feature_slider_container {
  margin: 0 auto 20px auto;
  height: 100%;
}

#feature_slider_container #slider_items_container {
  border: 1px solid #8c8c8c;
  height: 100%;
  position: relative;
  background-color: #414042;
}

#feature_slider_container .desktop_show {
  display: block;
}

#feature_slider_container .tablet_show, #feature_slider_container .mobile_show {
  display: none;
}

/****** Desktop Slider Controls ******/
#feature_slider_container #slide_prev, #feature_slider_container #slide_next {
  position: absolute;
  top: calc(50% - 35px);
  height: 70px;
  width: 33px;
  display: none;
}

#feature_slider_container #slide_prev {
  left: 0;
}

#feature_slider_container #slide_next {
  right: 0;
  -ms-transform: rotate(180deg);
  -webkit-transform: rotate(180deg);
  transform: rotate(180deg);
}

#feature_slider_container #slide_desk_control  {
  position: absolute;
  bottom: 2%;
  height: 30px;
  display: none;
  left: 50%
}

#feature_slider_container #slider_nav_desk {
  margin: 3px auto;
  width: 100%;
  height: 20px;
  border-collapse: collapse;
  background-color: #f1c938;
}

#feature_slider_container  #slider_nav_desk td {
  border: 1px solid #8c8c8c;
}

#feature_slider_container .slide_nav_active {
  background-color: #916e2a;
}

#feature_slider_container .slide_nav_inactive {
  background-color: #f1c938;
}

/****** Mobile Slider Controls ******/
#feature_slider_container #slider_nav_mobile {
  display: none;
  margin: 3px auto;
  width: 100%;
  height: 20px;
  text-align: center;
  border: 1px solid #8c8c8c;
  background-color: #f1c938;
}

#feature_slider_container .slide_nav_circle, #feature_slider_container #slide_mobile_control {
  height: 18px;
  margin: 1px 5px 2px 0;
}

#feature_slider_container .slide_nav_circle {
  width:18px;
}


/***** Slides *****/
#feature_slider_container .slider_items,
#feature_slider_container .slider_items img {
  width: 100%;
  height: 100%;
}

#feature_slider_container .slider_items .content_left {
  width: 60%;
  height: 100%;
  float: left;
}

#feature_slider_container .slider_items .content_right {
  width: 40%;
  height: 100%;
  float: right;
  text-align: right;
}

#feature_slider_container .slider_items .content_right p {
  margin: 30px 30px 0 30px;
  text-align: right;
  color: #fff;
  line-height: 1em;
}

#feature_slider_container .slider_items .content_right .slide_title {
  font-size: 194.4%;
  font-weight: 600;
  margin-top: 35px;
  margin-bottom: 20px;
  line-height: 1em;
}

/*******************************************************
 * Medium and full-sized screen styles
 *******************************************************/
 @media only screen and (max-width: 1024px) {
   div.mint-feature-type-1 div.mint-feature-caption {
     font-size: 100%;
     padding: .5em 0;
   }
 }
@media only screen and (min-width:925px) {

  /** Styles for Feature Type 2 (3-column landing page) */
  div.mint-feature-type-2 {
    width: 31%;
    margin: 1.3em 1%;
    float: left;
  }
}

@media only print {

  /** Styles for Feature Type 2 (3-column landing page) */
  div.mint-feature-type-2 {
    width: 31%;
    margin: 1.3em 1%;
    float: left;
  }

  div.group-type-2 {
    border: 1px solid #000;
  }

  div.group-type-2 div.group-header {
    border-bottom: 1px solid #000;
  }

  div.mint-feature-type-2 div.mint-feature-caption {
    font-size: 125%;
  }
}

@media only screen and (max-width: 920px)  {

  div.kids-home div.mint-feature-width-one-third,
  div.kids-home div.mint-feature-width-one-half,
  div.kids-home div.mint-feature-width-two-thirds,
  div.kids-home div.last-feature {
    margin: 2% auto;
    float: none;
    width: 75%;
  }

  #feature_slider_container #slider_nav_desk, #feature_slider_container .desktop_show,
  #feature_slider_container #slide_desk_control  {
    display: none !important;
  }

  #feature_slider_container #slider_nav_mobile, #feature_slider_container #slide_prev,
  #feature_slider_container #slide_next, #feature_slider_container .tablet_show {
    display: block !important;
  }

  #feature_slider_container #slider_nav_mobile {
    width: auto;
  }

  #feature_slider_container .slider_items .content_left,
  #feature_slider_container .slider_items .content_right {
    width: 100%;
  }

  #feature_slider_container .slider_items .content_right .slide_title {
    font-size: 150%;
    margin-top: 2%;
    margin-bottom: 2%;
  }

  #feature_slider_container .slider_items .content_right p {
    margin: 0% 3% 3%;
    text-align: center;
  }

  div.mint-feature-type-1 div.mint-feature-custom-text {
    top: 40%;
    left: 50%;
    transform: translate(-50%, -50%);
    padding: 0 0 0 10%;
    width: 75%;
  }



}
@media only screen and (max-width: 768px) {
  div.mint-feature-type-1 div.mint-feature-caption {
    font-size: 100%;
  }
}
@media only screen and (max-width: 500px) {

  div.kids-home div.mint-feature-width-one-third,
  div.kids-home div.mint-feature-width-one-half,
  div.kids-home div.mint-feature-width-two-thirds,
  div.kids-home div.last-feature,
  div.group-type-1 div.mint-feature-width-one-half,
  div.group-type-1 div.mint-feature-width-one-third,
  div.group-type-1 div.mint-feature-width-two-thirds {
    margin: 0 2% 2% 0;
    width: 100%;
  }

  /**  Slider **/
  #feature_slider_container .tablet_show {
    display: none !important;
  }

  #feature_slider_container .mobile_show {
    display: block !important;
  }

  #feature_slider_container #slide_prev, #feature_slider_container #slide_next {
    top: calc(50% - 25px);
    height: 50px;
    width: 25px;
  }

  #feature_slider_container .slider_items .content_right .slide_title {
    font-size: 110%;
    margin-top: 3%;
    margin-bottom: 0;
  }

  #feature_slider_container .slider_items .content_right p {
    font-size: 75%;
    margin-top: 3%;
    margin-bottom: 3%;
  }

  div.mint-feature-type-1 div.mint-feature-caption {
    padding: .5em 0;
    line-height: .85em;
    font-size: 100%;
  }

  div.kids-home div.mint-feature-type-1 div.mint-feature-caption {
    padding: 0;
    font-size: 150%;
  }

  /*div.mint-feature-type-1 div.mint-feature-caption span {
    top: 30%;
  }*/

  div.mint-feature-type-1 div.mint-feature-custom-text {
    padding: 0 0 0 5%;
    width: 80%;
  }

}
.home-main-carousel-new.slick-slider {
    margin-bottom: 0;
}
/* Features Section */
body{
  overflow-x: hidden;
}
.ios-only{
  display: none;
  position: relative;
  left: 60px;
  width: calc(100% - 60px);
}
.feat-card{
  position: relative;
}
.feat-slider {
    position: relative;
    margin-top: 20px;
    left: 60px;
    max-height: 290px;
}
@-moz-document url-prefix() {
  .feat-slider .slick-track {
      height: 305px;
    }
  }
@media all and (-ms-high-contrast: none), (-ms-high-contrast: active) {
  .feat-slider .slick-track {
      height: 306px;
    }
}
.feat-slider .slick-track{
  overflow-y: -webkit-paged-y;
  height: 306px;
}
.feat-arrows {
    position: absolute;
    z-index: 5;
    top: 50%;
    cursor: pointer;
    height: 50px;
    width: 50px;
    background-size: cover;
    background-position: center;
    top: 119px;
}
.feat-prev{
  background-image: url(../img/feat_prev.png);
  left: -100px;
}
.feat-next {
    position: absolute;
    right: 36px;
    background-image: url(../img/feat_next.png);

}
.left-gradient{
  display: none;
}
.feat-arrows.slick-disabled {
    display: none !important;
}

.feature-bar{
  background: #E2E9EF;
  height: 288px;
  width: 100%;
  margin-bottom: 60px;
  font-family:"Proxima N W01 Reg",arial,sans-serif;
}
.feature-header{
  color: #0B4470;
  font-size: 54px;
  transform: rotate(-90deg);
  position: absolute;
  left: -118px;
  text-transform: uppercase;
  top: calc(50% - 12px);
  width: 288px;
  height: 25px;
  text-align: center;
  font-weight: bold;
}
.feat-card{
  height: 288px !important;
  border: 1px solid #95989A;
  background: #fff;
  position: relative;
  top: 12px;
  box-shadow: 0 3px #DFDFDF;
  margin-right: 20px;
}

.iframe-wrapper {
    height: 290px;
    margin-right: 20px;
    position: relative;
    top: 12px;
}
.iframe-wrapper iframe{
  height: 290px;
}
/*.iframe-wrapper.slick-slide .youtube-overlay {
  display: none;
}*/
.iframe-wrapper .youtube-overlay {
  display: none;
}
.feat-title  {
    font-size: 20px;
    color: #0B4460;
    padding: 10px 25px 0;
    height: 65px;
    line-height: 20px
}
.feat-title a {
    color: #0B4460;
    text-decoration: none;
}
.feat-title a:visited {
    color: #0B4460;
    text-decoration: none;
}
.feat-title a:hover {
    /*color: #0B4460;*/
    text-decoration: underline;
}
.feat-card .desktop-only{
    height: 180px;
    width: 100%;
}

.feat-card img {
    height: 180px;
    width: 100%;
    object-fit: cover;
}

@media all and (-ms-high-contrast: none), (-ms-high-contrast: active) {
  .feat-img-wrapper.compat-object-fit {
  	 background-size: cover;
  	 background-position: center center;
     height: 180px;
     width: 100%;
  }
   .feat-img-wrapper.compat-object-fit img {
  	 opacity: 0;
  }

}

.feat-tag {
    color: #d62923;
    padding: 4px 25px 16px;
    font-size: 12px ;
    font-weight: bold;
}
hr.feat-tag-border {
    width: calc(100% - 50px);
    border-style: solid;
    border-width: .5px;
    color: #0B4460;
    margin: 0 auto;
}
.feat-container{
  max-width:1180px;
  margin: auto;
  position: relative;
  height: 100%;
}
.feat-card .desktop-only{
  display: block;
}
.ios-only .feat-card .desktop-only{
  display: none;
}
.feat-card .mobile-only{
display: none;
}
.feat-gradient {
height: 304px;
position: absolute;
top: 0px;
min-width: 84.5px;
z-index: 4;
}
.right-gradient{
background: rgba(255,255,255,1);
background: -moz-linear-gradient(left, rgba(255,255,255,0) 0%, rgba(255,255,255,1) 100%);
background: -webkit-gradient(left top, right top, color-stop(0%, rgba(255,255,255,1)), color-stop(100%, rgba(255,255,255,1)));
background: -webkit-linear-gradient(left, rgba(255,255,255,0) 0%, rgba(255,255,255,1) 100%);
background: -o-linear-gradient(left, rgba(255,255,255,0) 0%, rgba(255,255,255,1) 100%);
background: -ms-linear-gradient(left, rgba(255,255,255,0) 0%, rgba(255,255,255,1) 100%);
background: linear-gradient(to right, rgba(255,255,255,0) 0%, rgba(255,255,255,1) 100%);
filter: progid:DXImageTransform.Microsoft.gradient( startColorstr='#ffffff', endColorstr='#ffffff', GradientType=1 );

}
.left-gradient{
background: rgba(255,255,255,1);
background: -moz-linear-gradient(right, rgba(255,255,255,0) 0%, rgba(255,255,255,1) 100%);
background: -webkit-gradient(right top, left top, color-stop(0%, rgba(255,255,255,1)), color-stop(100%, rgba(255,255,255,1)));
background: -webkit-linear-gradient(right, rgba(255,255,255,0) 0%, rgba(255,255,255,1) 100%);
background: -o-linear-gradient(right, rgba(255,255,255,0) 0%, rgba(255,255,255,1) 100%);
background: -ms-linear-gradient(right, rgba(255,255,255,0) 0%, rgba(255,255,255,1) 100%);
background: linear-gradient(to left, rgba(255,255,255,0) 0%, rgba(255,255,255,1) 100%);
filter: progid:DXImageTransform.Microsoft.gradient( startColorstr='#ffffff', endColorstr='#ffffff', GradientType=1 );

}
.ios-only .feat-card .desktop-only{
  display: none;
}
.ipad-pro{
  display: block;
}
.ios-touchNav {
  width: 45px;
  height: 45px;
  background-size: contain;
  background-repeat: no-repeat;
  position: absolute;
  top: 108.5px;
  z-index: 99999999;
}
.ios-touchNav.ios-prev{
  left: 2.5px;

}
.ios-touchNav.ios-next{
  right: 22.5px;

}
.ios-arrowset{
  width: 30px;
  height: 30px;
  background-size: contain;
  background-repeat: no-repeat;
  position: absolute;
  top: 115px;
  z-index: 9999999;
}
.ios-arrowset.feat-prev{
  left: 10px;

}
.ios-arrowset.feat-next{
  right: 30px;

}
.ios-only .feat-tag{
  position: relative;
  top: -3px;
}
/*.home-main-carousel-new.slick-slider {
    margin-bottom: -30px;
} whitespace fix for bottom of hero*/
@media only screen and (min-width: 1024px)  {
  /*.ipad-pro{
    display: block;
  }*/
}

@media only screen and (max-width: 1024px)  {
  /*.feat-slider.slick-slider .slick-list {
      -webkit-transform: none;
      -moz-transform: none;
      -ms-transform: none;
      -o-transform: none;
      transform: none;
  }
  .feat-slider.slick-slider .slick-track {
      -webkit-transform: none !important;
      -moz-transform: none !important;
      -ms-transform: none !important;
      -o-transform: none !important;
      transform: none !important;
  }*/

  .ios-feat-slider{
    /*overflow: hidden;*/
    position: relative;
  }
  .ios-feat-slider ul{
    position: relative;
    height: 245px;
  }

  .ios-only li.feat-card{
    float: left;
    display: block;
    position: relative;
    width: 300px;

  }
  a.control_prev, a.control_next {
  position: absolute;
  top: 40%;
  z-index: 999;
  display: block;
  padding: 4% 3%;
  width: auto;
  height: auto;
  background: #2a2a2a;
  color: #fff;
  text-decoration: none;
  font-weight: 600;
  font-size: 18px;
  opacity: 0.8;
  cursor: pointer;
}

a.control_prev:hover, a.control_next:hover {
  opacity: 1;
  -webkit-transition: all 0.2s ease;
}

a.control_prev {
  border-radius: 0 2px 2px 0;
}

a.control_next {
  right: 0;
  border-radius: 2px 0 0 2px;
}


}
@media only screen and (max-width: 1023px)  {
/*.ios-only .feat-card .desktop-only{
  display: block;
}*/
/*.ios-only .feat-tag{
  position: relative;
  top: -3px;
}*/
}
@media only screen and (max-width: 768px)  {
  .feature-bar{
    margin-bottom: 25px;
  }
  .feat-container {
      /*overflow-x: hidden;*/
      /*height: auto;*/
  }
  /*.ipad-pro{
    display: none;
  }*/

  .feature-header {
    font-size: 33px;
    left: -105px;
    text-transform: uppercase;
    top: 143px;
    /*width: 100px;*/
    height: 24px;
    text-align: right;
  }
  .feat-arrows{
    display: none !important;
  }
  .feat-gradient{
    display: none !important;
  }
  .feat-slider {
    margin-top: 0px;
  }
  .iframe-wrapper .youtube-overlay {
    width: 400px;
    height: 210px;
    position: absolute;
    top: 47px;
    background: transparent;
    cursor: pointer;
    display: block;
  }
  .iframe-wrapper .youtube-overlay {
    width: 400px;
    height: 210px;
    position: absolute;
    top: 47px;
    background: transparent;
    cursor: pointer;
    display: block;
  }

}
@media screen and (max-width: 600px){
  html, body{
  overflow-x: hidden;
  }
  .ipad-pro{
    display: none;
  }
  .feat-slider .slick-track{
    overflow-y: -webkit-paged-y;
    height: 256px;
  }
  .feat-card .mobile-only{
  display: block;
  height: 145px;
  width: 100%
  }
  .feat-card .desktop-only{
    display: none;
  }
  .ios-only .feat-card .desktop-only{
    display: none;
  }
  .feature-bar{
    height: 245px;
  }
  .feature-header {
    font-size: 28px;
    left: -90px;
    top: 122px;
    width: 245px;
    height: 25px;
    text-align: right;
  }
  .feat-card{
    height: 238px !important;
  }
  .iframe-wrapper {
      height: 240px;
      width: 350px;
  }
  .ios-only .iframe-wrapper{
    width: calc(98% - 60px);
  }
  .iframe-wrapper iframe{
    height: 240px;
    width: 350px;
  }
  .ios-only .iframe-wrapper iframe{
    width: 100%;
  }
  .ios-only .feat-tag{
    /*position: inherit;*/
    top: 1px;
  }
  .feat-tag{
    position: relative;
    top: 5px;
  }
  /*.iframe-wrapper.slick-slide .youtube-overlay {
    height: 140px;
    width: 350px;
    display: block;
  }*/
  .iframe-wrapper .youtube-overlay {
    height: 140px;
    width: 350px;
    display: block;
  }
  .feat-title  {
      font-size: 16px;
      padding: 5px 16px 0;
      height: 50px;
      line-height: 16px;
  }
  hr.feat-tag-border {
      width: calc(100% - 32px);
  }
  .feat-card img {
      height: 145px;
      width: 100%;
      object-fit: cover;
  }
  .feat-tag {
      padding: 1px 16px 16px;
      font-size: 12px ;
  }
}
