/**
 * 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: 145%;
  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: 40%;
  left: 0;
  right: 0;
}

  /* 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 (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%;
  }

  div.mint-feature-type-1 div.mint-feature-caption {
    font-size: 115%;
  }

}


@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 {
    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%;
  }

}
