/*
Theme Name: Avada Child by Project 13
Description: Child theme for Avada theme
Author: ThemeFusion
Author URI: https://project13.com
Template: Avada
Version: 2.0.0
Text Domain:  Avada
*/


/* GLOBAL */
hr {border:0; border-top: 2px solid #e9eaeb;margin:1em 0;display:block}
#breadcrumbs a {color:#52a2af }
.post-content blockquote { margin:15px 0 15px 0 !important;}
.ahrc-button-brown {background: #9e5129 !important;}
.ahrc-button-olive {background: #6c6f5a !important;}
.ahrc-button-white {background: #fff !important;}
.ahrc-button-white span {color: #407478 !important;}
.error-page .fusion-columns-3 .fusion-column:first-child {display:none}
.search-no-results .error-page .useful-links {display:none}
.wp-caption-text {font-size:12px;}
#wrapper .post-content blockquote {border-color:#46757b !important; background-color:#e9f1f3}
.fusion-accordian .panel-title a .fa-fusion-box {margin-right:12px;}
#slidingbar-area .widget-title {font-size:25px !important;}

/*.fusion-flexslider .slides .fusion-image-wrapper a {display:block;}
.fusion-flexslider .slides img{pointer-events: none !important; display: inline-block !important;}  fixes change in 4.0.1 that adds default lightbox to all page featured images */

/* FIXES FIXED MOBILE MENU GETTING CUT OFF ISSUE */
body .fusion-is-sticky .fusion-mobile-menu-design-modern .fusion-mobile-nav-holder>ul, body .fusion-is-sticky.fusion-mobile-menu-design-modern .fusion-mobile-nav-holder>ul {
  max-height:none; 
}
body .fusion-is-sticky .fusion-mobile-menu-design-modern .fusion-header.fusion-sticky-shadow {
  overflow-y: scroll;
  max-height: 100vh;
}

.fusion-mobile-nav-holder ul.sub-menu li a {
  background-color:#fff;
}

/* GRAVITY FORMS */
.gfield_error .gfield_label, .validation_message {font-weight: normal !important; border:none !important}
.gform_wrapper div.validation_error {display:none;}
.gform_wrapper li.gfield.gfield_error, .gform_wrapper li.gfield.gfield_error.gfield_contains_required.gfield_creditcard_warning {border:none !important}
.gform_wrapper .gfield input[type=text], .gform_wrapper .gfield input[type=email], .gform_wrapper .gfield input[type=tel], .gform_wrapper .gfield input[type=url], .gform_wrapper .gfield input[type=number], .gform_wrapper .gfield input[type=password] input[type="number"], .gform_wrapper input[type="password"], .gform_wrapper .gfield textarea {font-size: inherit !important} /* gravity forms */
.gform_wrapper .ahrc-styled select {background-color:#f6f3ea !important;} /* must assign a custom class in Gforms*/
.gform_wrapper .ahrc-styled .select-arrow {background-color:#407579 !important;}
.gform_wrapper .ahrc-styled .ginput_container_select select {font-size:14px;}

/* HEADER */
.fusion-main-menu > ul > li.menu-item > a {font-family: 'Open Sans', Arial, Helvetica, sans-serif !important; font-weight: 600 !important}
/*.fusion-logo {margin-top:33px !important; transition:none !important}
.fusion-sticky-shadow .fusion-logo { margin-top:15px !important;}*/
.fusion-caret {margin-left:2px !important}
.fusion-main-menu .sub-menu li a:hover {color:#58595b !important}
.fusion-main-menu .fusion-dropdown-menu .sub-menu {margin-top:-23px; border-top:3px solid #3d7276 !important}/* bring megamenu closer to main nav (usability) */
.fusion-main-menu .sub-menu a {padding-left: 15px; padding-right: 10px }
.fusion-main-menu .sub-menu {padding:10px 0}
@media (max-width: 1048px) and (min-width: 1000px) {.fusion-main-menu > ul > li {padding-right: 23px !important}} /* tighten up menu width for ipad landscape  */
.sub-menu li a:hover, .sub-menu .current-menu-item > a {color:#58595b !important; background-color:#fff !important} /* works on both regular and mega sub menus */
.fusion-megamenu-wrapper {margin-top:-25px !important;}/* bring megamenu closer to main nav (usability) */
.fusion-megamenu-title {padding: 1px 10px 11px 20px !important;} /* tighten up left/right on mega to accommodate 5 columns */
.fusion-megamenu-wrapper .fusion-megamenu-submenu .sub-menu a {padding-left: 20px !important; padding-right: 10px !important; }
.fusion-megamenu-wrapper .fusion-megamenu-submenu .sub-menu a .fusion-megamenu-bullet {margin-right:6px; }
.fusion-megamenu-title, .fusion-megamenu-title a {color:#9e5129 !important}
.fusion-megamenu-title a:hover {color:#58595b !important}
.fusion-megamenu-holder {border-top:3px solid #3d7276 !important}
.fusion-megamenu .sub-menu {padding:0}
.fusion-logo-2x {max-height: 57px !important;height: 57px !important;} /* Avada bug? */
.fusion-main-menu .fusion-main-menu-search .fusion-custom-menu-item-contents {width:350px}/* search */
.fusion-main-menu .fusion-main-menu-search .fusion-custom-menu-item-contents {border-top:3px solid #407478 !important;}/* search */
.fusion-main-menu-search .fusion-custom-menu-item-contents {margin-top:-20px;}/* search */
.fusion-main-menu .fusion-main-menu-search {padding-right:0 !important}/* search */ 
.fusion-main-menu .ahrc-button a span {background: #da5224 !important;    border-radius: 2px; -webkit-border-radius: 2px;padding: 9px 20px; line-height: 14px;font-size: 12px;text-transform: uppercase} /* mimics Avada's button style. add this in the class section of the menu item */

body .fusion-main-menu > ul > li {
  padding-right: 25px;
}
body .fusion-header-wrapper .fusion-row {
  padding-left: 5px;
  padding-right: 5px;
}
.page-template-page-search .search-table {
  position: relative;
}
.page-template-page-search .search-button {
  position: absolute;
  right:0;
  top:0;
}
.page-template-page-search input.s {
  height: 30px;
  padding-top: 0;
  padding-bottom: 0;
  width:calc(100% - 30px);
}
.page-template-page-search input.searchsubmit {
  width: 30px;
  background: #000;
  border: none;
  border-radius: 0;
  color: #fff;
  font-size: 1em;
  height: 30px;
  line-height: 30px;
  margin: 0;
  padding: 0;
  text-indent: 0;
  cursor: pointer;
  font-family: icomoon;
  font-weight: 400;
  text-shadow: none;
  -webkit-font-smoothing: antialiased;
  transition: all .2s;
}


/* FOOTER */
body .fusion-footer-widget-area h3, .fusion-footer-widget-area .widget-title {font-family: 'Raleway', Arial, Helvetica, sans-serif !important; font-weight: 600 !important;}
body .fusion-footer-copyright-area { background:#fff; }
body .fusion-footer-copyright-area > .fusion-row {line-height:20px !important}
body .fusion-footer-widget-area ul li a {border-bottom:2px solid; border-color:#76aab1 !important }
body .fusion-footer-widget-area .textwidget {line-height:20px !important;}
body .fusion-footer-widget-area .fusion-widget-area .widget_nav_menu li {border-bottom:none}
body .ahrc-footer-button {background: #da5224 !important;}
body .fusion-copyright-notice div a {color: #407478;}
body .fusion-copyright-notice div a:hover {color: #58595b;}
body .fusion-copyright-notice  {color: #58595b;}
body #toTop { right:35px }
body .fusion-copyright-notice .col1 {float:left;}
body .fusion-copyright-notice .col2 {float:right;}
@media (max-width:730px) {.fusion-copyright-notice .col1, .fusion-copyright-notice .col2 {width:100%;} .fusion-copyright-notice .col2 {margin:25px auto;}} /* center on mobile */
.fusion-footer-widget-area a:hover, .fusion-footer-widget-area ul li a:hover, #menu-footer .current_page_item a, #menu-footer .current-menu-item a {color:#E8E0AF  !important;}
.fusion-footer-widget-area .google-map {position: relative;padding-bottom: 75%; height: 0;overflow: hidden;margin-bottom:20px;}
.fusion-footer-widget-area .google-map iframe {position: absolute;top: 0;left: 0;width: 100% !important;height: 100% !important;}

/* HOME */
.home .go-to-school {font-size:17px;color:#fff;}
.home .go-to-school h1 {font-size:43px;color:#fff;margin-bottom:.25em;}
.home .fusion-fullwidth-3 {padding-top:0 !important}
@media(min-width:800px) { /* body content collapses below 800px */
.home .fusion-fullwidth {margin: 0px -30px}
.home .fusion-fullwidth .parallax-inner {width:1230px}
}
@media(max-width:600px) {
.home .flex-control-nav.flex-control-paging{display:none !important} /* below 600 bullets conflict w/ button */
.home .go-to-school-parallax {margin-bottom:40px;}
}
.home .fullwidth-box.recent-news-home {padding-left:20px; padding-right:20px;}

/* HOME FLEXSLIDER */
.home .flexslider .heading h2 {font-family: 'Raleway', Arial, Helvetica, sans-serif !important;text-transform:uppercase;background:none !important;}
.home .flexslider .caption h3 {background:none !important;}
@media(min-width:1000px) { /* body content collapses below 800px */
.home .flexslider .slide-content-right {padding-right: 70px;padding-left:630px}
.home .flexslider .slide-content-left {padding-left: 70px;padding-right:630px}
.home .flexslider .slide-content-center {padding-left: 350px;padding-right: 350px;}
}

/* PAGES */
.fusion-content-widget-area .widget li a {color:#52a2af !important}
.fusion-content-widget-area .widget .current_page_item a {color:#9e5129 !important}
#sidebar .menu .menu-item {padding: 8px 10px 8px 12px;} /* tighten up slightly. check on mobile */
.fusion-title-size-two, h2 {margin-top: 0.47em !important; margin-bottom: 0.40em !important;}

/* INCREASE MOBILE SUBMENU TOGGLE HIT AREA */
.fusion-mobile-menu-design-modern .fusion-mobile-nav-holder .fusion-mobile-nav-item .fusion-open-submenu {width: 100%;}
.fusion-mobile-menu-design-modern .fusion-mobile-nav-holder .fusion-mobile-nav-item .fusion-open-submenu:before {float:right;}
@media all and (max-width: 800px) {.fusion-secondary-header {display: none !important;}}

/* iATS cc processing form (camping & education payments) */
.IATS_Div {font-size:18px !important; z-index: 1 !important;}
#IATS_Payment_SendEmailDiv {display:none !important}
div.IATS_AmountDiv, div.IATS_ProfileDiv, div.IATS_PaymentDiv, div.IATS_FooterDiv, div.IATS_ResponseDiv {padding:0;}
button.IATS_Action {padding:8px !important}
span.IATS_Action {font-size:inherit !important;padding:0 !important; margin:0 0 25px 0 !important}
div.IATS_AmountItemDiv, div.IATS_ProfileItemDiv, div.IATS_PaymentItemDiv, div.IATS_ResponseItemDiv {padding:0 !important}
input.IATS_CVV2Field {width: 57px !important;}

/* BLOG */
.fusion-archive-description {
    background-color: #e9f1f3;
    padding: 20px;
    border-left: 4px solid #46757b;
  }

  blockquote h1, blockquote h2, blockquote h3, blockquote h4, blockquote h5, blockquote h6 {
    margin-top:0;
  }

  /* Locations sidebar current menu item */
  .fusion-content-widget-area .widget .current-menu-item a {
      color: #9e5129 !important;
  }
  
  body a.broken_link, body .broken_link {
    text-decoration:none;
  }
  
  /* RELATED POSTS/PAGES */
  section.related .related-post {
    overflow:hidden;
    width:32%;
    margin: 0 1%;
    float:left;
    margin-bottom:25px;
    position:relative;
  }
  
  .rel-rollover a {
    display:block;
    text-indent: 100%;
    white-space: nowrap;
    overflow: hidden;
    width:100%;
    height:100%;
    background-size:44px 44px;
  }
  section.related .related-post .img-wrap {
    position:relative; 
  }
  
  section.related h3 {
    font-size:22px;
    color:#333;
    font-weight:bold;
  }
  section.related .related-post .rp-meta {
    min-height:85px; 
  }
  section.related .related-post h4 {
    line-height:1.5; 
    margin-bottom:0;
  }
  section.related .related-post img {
    width:100%;
    height:auto; 
  }
  section.related .related-post:nth-child(2), section.related .related-post:nth-child(5) {
    margin-left:0;
  }
  section.related .related-post:nth-child(4), section.related .related-post:nth-child(7) {
    margin-right:0;
  }
  section.related .related-post:nth-child(5) {
    clear:left;
  }
  @media(max-width:1050px) {
    section.related .related-post {
      font-size:11px;
    }
    section.related .related-post h4 {
      font-size:12px;
    }
    section.related .related-post .rp-meta {
      line-height:1.3;
    }
    section.related .related-post .rp-meta a {
      display:block;
    }
  }
  @media(max-width:480px) {
    section.related .related-post {
      width:49%;
    }
    section.related .related-post:nth-child(even) {
      margin-left:0 !important;
      margin-right:1% !important;
      clear:left;
    }
    section.related .related-post:nth-child(odd) {
      margin-left:1% !important;
      margin-right:0 !important;
    }
    section.related .related-post:nth-child(5) {
      clear:none;
    }
  }
  /* END RELATED POSTS/PAGES */
  
  
  /* LOCATION SINGLE */
  .single-wpseo_locations h1.location-title, .brown-header {
    color:#9f4f2a;
    font-size:34px;
    margin-top:50px;
    line-height:1.2;
  }
  .single-wpseo_locations .attachment-medium {
    float:left;
    max-width:120px;
    height:auto; 
    margin:15px 25px 0 0;
  }
  .single-wpseo_locations .post-content {
    clear:both; 
    padding-top:15px;
    color:#585858 !important;
  }
  .single-wpseo_locations .wpseo-opening-hours {
    font-size:15px;
    line-height:26px; 
  }
  .single-wpseo_locations .wpseo-location {
    
  }
  .single-wpseo_locations .wpseo-map-canvas {
    width:100% !important;
    margin-bottom:17px;
  }
  .single-wpseo_locations #breadcrumbs, .post-type-archive-wpseo_locations #breadcrumbs {
    margin-bottom:0;
    line-height:1.5;
  }
  .single-wpseo_locations hr {
    border-top:1px solid #ebebed;
    border-left: none;
    border-bottom: none;
    margin-bottom:17px;
  }
  .single-wpseo_locations a.loc-url {
    font-weight:bold;
    text-transform:uppercase;
    font-size:19px;
  }
  /* END LOCATION SINGLE */
  
  
  /* LOCATIONS ARCHIVE */
  table.wpseo-opening-hours {
    margin-bottom:15px;
    margin-top:15px;
  }
  table.wpseo-opening-hours tbody tr {
    line-height:24px;
  }
  .post-type-archive-wpseo_locations ul.location-terms-list li h3 {
    font-family: 'Raleway', Arial, Helvetica, sans-serif;
  }
  .related {
    clear:both;
    padding-top:30px;
  }
  .post-type-archive-wpseo_locations ul.location-terms-list {
    padding:0;
    margin:0;
    -webkit-column-count: 2; 
    -moz-column-count: 2; 
    column-count: 2;
  }
  .post-type-archive-wpseo_locations ul.location-terms-list li {
    list-style:none;
    display:table;
    margin-bottom:35px;
  }
  .post-type-archive-wpseo_locations hr {
    border-top:1px solid #ebebed;
    border-left:none;
    border-bottom:none;
  }
  .post-type-archive-wpseo_locations ul.location-terms-list li img {
    border-right:1px solid #ebebed;
    padding-right:5px;
    margin-right:15px;
    max-width:85px;
    height:auto;
  }
  .post-type-archive-wpseo_locations ul.location-terms-list li h3 {
    display:inline-block; 
    font-size:30px;
    font-weight:normal;
    display:table-cell;
    vertical-align:middle;
    max-width: 280px;
  }
  .post-type-archive-wpseo_locations .brown-header {
    margin-top:25px; 
  }
  /* END LOCATIONS ARCHIVE */
  
  
  /* LOCATIONS CATEGORY PAGE */
  .tax-wpseo_locations_category .loc-img {
    width:37%;
    float:left;
    margin-right:3%;
  }
  .tax-wpseo_locations_category .loc-meta {
    width:60%;
    font-size:16px;
    float:left;
  }
  .tax-wpseo_locations_category .loc-meta .loc-details {
    font-weight:bold;
  }
  .tax-wpseo_locations_category .loc-meta h2 {
    margin:20px 0 0 0;
  }
  .tax-wpseo_locations_category .loc-meta h2 a {
    font-weight:600; 
  }
  .tax-wpseo_locations_category .wpseo-map-canvas {
    width:100% !important;
  }
  .tax-wpseo_locations_category hr {
    border-top:1px solid #ebebed;
    border-left: none;
    border-bottom: none;
    margin:25px 0;
    clear:both;
  }
  .clear {
    clear:both;
  }
  /* END LOCATIONS CATEGORY PAGE */

/* SLIDING BAR STYLES */
#slidingbar-area #slidingbar h4.widget-title {
  width:50%;
  float:left;
  margin:0;
  line-height: 25px;
}
#slidingbar-area #slidingbar .fusion-column {
  margin:0 !important;
}
#slidingbar-area #slidingbar {
  padding: 15px 30px;
}

@media(max-width:992px) {
  #slidingbar-area #slidingbar h4.widget-title {
    width:35%;
    font-size:18px !important;
  }
}
@media(max-width:800px) {
  #slidingbar-area #slidingbar {
    padding: 3px 30px 5px;
  }
  #slidingbar-area #slidingbar .textwidget {
    line-height: 1.2;
  }
  #slidingbar-area #slidingbar h4.widget-title {
    font-size:16px !important;
    font-weight: bold;
    line-height: 1.2;
  }
}
@media(max-width:480px) {
  #slidingbar-area #slidingbar h4.widget-title {
    width:100%;
    float:none;
  }
  #slidingbar-area #slidingbar {
    padding: 4px 10px 6px;
    text-align:center;
  }
}
/* END SLIDING BAR STYLES */

/* MEDIA QUERIES FOR LOCATIONS TEMPLATES */
@media(max-width:1200px) {
  .tax-wpseo_locations_category .loc-meta h2 {
    margin:2% 0 0 0;
    font-size:22px !important;
    line-height:1.2 !important;
  }
}
@media(max-width:1050px) {
    .post-type-archive-wpseo_locations ul.location-terms-list li h3 {
      font-size:24px !important;
    }
}
@media(max-width:992px) {
  .post-type-archive-wpseo_locations ul.location-terms-list {
    -webkit-column-count: 1; 
    -moz-column-count: 1; 
    column-count: 1;
  }
}
@media(max-width:480px) {
  .post-type-archive-wpseo_locations ul.location-terms-list li h3 {
    font-size:20px !important;
  }
  .tax-wpseo_locations_category .loc-meta, .tax-wpseo_locations_category .loc-img {
    width:100%;
    float:none;
  }
  .tax-wpseo_locations_category .loc-img img {
    max-width:90%;
    margin:0 auto 15px;
    display:block;
  }
}
.gform_wrapper li.half-width input, .gform_wrapper li.half-width select {
  width:100% !important;
}
@media(min-width:993px) {
  body .gform_wrapper li.half-width {
    width:50%;
    float:left;
    clear:none !important;
  }
}