/*
Theme Name: Salient Child Theme
Theme URI: http: //mysite.com/
Description: This is a custom child theme for Salient
Author: My Name
Author URI: http: //mysite.com/
Template: salient
Version: 0.1
*/


/*
 * Colorful grid
**/

#pmark-grid {
}

.tile {
}

.tile-label {
  height:74px;
  text-align:center;
  margin-top: 55% !important;
  padding-top: 5px !important;
  padding-bottom: 8px !important;
  background-color: rgba(246,183,78,0.89) !important;
  z-index:5;
  position:relative;
}

.tile-label .label-toggle {
  position: absolute;
  top: 50%;
  width: 100%;
  transform: translateY(-50%);
}

.tile-inner {
  overflow:hidden;
}

.tile-text, h3 {
  position:relative;
  z-index:2;
}

.tile-text {
  padding:25px;
  font-size:1.2em;
  text-align:center;
  line-height: 1.5em;
  height:100%;
  position:absolute;
}

.tile-text-show {
  display:none;
}

.tile a.link-button {
  border-radius:4px !important;
  float:right;
  color:#333;
  font-weight: bold;
  padding:8px 30px;
  letter-spacing:1px;
  position:absolute;
  bottom:25px;
  right:25px;
  font-size:20px;
}

body .tiles .tile h3 {
  padding:20px 0;
  color:white;
  font-size:40px;
  font-weight: bold;
  line-height:1em;
  text-transform:uppercase;
  padding-bottom:0;
  letter-spacing:1px;
}

.tiles .tile-inner {
  position:relative;
  background-color:transparent;
  background-position:center center;
  background-size: cover;
  width:100%;
  height:100%;
}

.tiles .tile-overlay {
  content:"";
  width:100%;
  height:100%;
  background-color:inherit;
  opacity:0.9;
  position:absolute;
  left:0;
  top:0;
}

.tiles .tile-overlay {
  top:-100%;
}

@media only screen and (max-width:1400px) {
  .tile-text {
    font-size:1.1em;
  }
}

@media only screen and (max-width:1300px) {
  .tile-text {
    font-size:0.9em;
  }
}

@media only screen and (max-width:1150px) {
  .tile-text {
    font-size:0.75em;
  }
}

@media only screen and (max-width:1000px) {
  .tile-text {
    font-size:1.8em;
  }
}

@media only screen and (max-width:690px) {
  .tile-text {
    font-size:1.4em;
  }
}

@media only screen and (max-width:690px) {
  .tile-text {
    font-size:1.4em;
  }
}

@media only screen and (max-width:480px) {
  .tile-text {
    font-size:1em;
  }
}

@media only screen and (max-width:700px) {
  body .tiles .tile h3 {
    font-size:30px;
  }

  body .tiles .tile p {
    font-size:0.8em;
  }
}

@media only screen and (max-width:480px) {
  body .tiles .tile h3 {
    font-size:20px;
  }

  body .tiles .tile p {
    line-height:1.2em;
  }

  .tiles .tile-0 .tile-inner {
    background-position-x:0;
  }
}

/*
educational library custom css
*/
.search-library .questions-banner {
  margin-top: 55px !important;
  margin-left: 8% !important;
  padding-top: 5px !important;
  padding-right: 10px !important;
  padding-bottom: 5px !important;
  padding-left: 10px !important;
  background-color: #588dc5 !important;
}

.search-library .phone-banner {
  margin-top: 55px !important;
  padding-top: 5px !important;
  padding-right: 10px !important;
  padding-bottom: 6px !important;
  padding-left: 10px !important;
  background-color: #a9c5e1 !important;
}

.search-library .first-panel-title {
  padding-top: 16% !important;

}

.search-library .vc_custom_1503622072542 {
  margin-left: 8% !important;
  border-bottom-width: 1px !important;
  padding-bottom: 5px !important;
  background-position: center !important;
  background-repeat: no-repeat !important;
  background-size: cover !important;
  border-bottom-color: #ffdf1c !important;
  border-bottom-style: solid !important;
}

.search-library .secondary-pages-headlines {
  padding-top: 30px !important;
  padding-right: 20% !important;
  padding-bottom: 5% !important;
  padding-left: 8% !important;
}

.search-library form.search-form {
  margin-bottom:2em;
}

.search-library form .minimal-form-input {
  max-width:calc(100% - 110px);
  margin-right:1em;
}

/*
 * reactive pro search
 */

.reactiveGridType-Simple .reactiveGridImage {
  border:1px solid #94959a;
  background-color: #fff;
  padding:0.5em;
  margin-bottom:0.5em;
}

body[data-form-style="minimal"] input[type="text"] {
  background-color: #fff !important;
  border: 1px solid #94959a !important;
  padding: 0 20px !important;
  border-radius:0 !important;
}
