/*
Theme Name: Bluebonnet Trails
Description: Child Theme
Author:  Tandem Web Co.
Author URI:  https://tandemwebco.com
Template: Divi
Version:  1.0.1
*/

@import url("../Divi/style.css");

/* =Theme customizations
------------------------------------------------------- */

footer {
  display: none;
}

/*  accessibility change
#top-menu a:hover {
  color: #91c742;
}
*/

#top-menu-nav>ul>li>a:hover {
    opacity: 1!important;
    background-color: #0075bc!important;
    color: white!important;
}
#top-menu-nav>ul>li>a {
	padding: 20px!important;
}

#top-menu .menu-item-has-children>a:first-child:after {
	top: 18px!important;
}

#top-menu li {
	padding-right: 0px!important;
}

#main-header {
	top: 58px!important;
}

#et-info, #et-secondary-menu>ul>li a {
	padding: 13px!important;

}
.menu-item-31089 {
	cursor: default;
}

#et-secondary-nav .menu-item-has-children>a:first-child:after {
	top: 11px!important;
	right: -2px!important;
}
#et-secondary-nav li {
	margin-right: 0px;
}
#et-secondary-nav .sub-menu li:hover a {
	background-color: white;
	color: #0075bc!important;
 }


article {
  padding-bottom: 0!important;
  margin-bottom: 0!important;
}
#google-translator-plugin {
  display: inline-block;
  float: right;
  margin-left: 30px;
}

.goog-te-combo {
  font-size: 11px;
}

div.skiptranslate:nth-child(1) {
  line-height: 0;
}



.ds-custom-link a {
  font-size: 16px!important;
}
#top-menu .sub-menu {
  width: 400px;
}
#top-menu .sub-menu a {
  width: 360px;
}
#top-menu .sub-menu li {
  font-size: 7px;
  line-height: 1.5em;
  font-weight: normal;
}
#top-menu .sub-menu li a {
  font-size: 14px;
}

.locationinfo {
  text-align: center;
}

.heroSection {
  padding-bottom: 100px;
  text-align: center;
}
.heroText {
  text-align: center;
}
.heroText {
  background-color: rgba(145,199,66,0.44);
  padding: 30px;
  margin: 10% 10% 30px 10%!important;
}
.heroSection .et_pb_button_module_wrapper {
  display: inline;
  margin: 30px;
}
.heroSection .et_pb_button_module_wrapper a, .heroSection .et_pb_button_module_wrapper a:hover {
  background: #0075bc;
  border: none;
  color: white;
  font-size: 17px;
}
.heroSection h2 {
  font-weight: 300;
  margin-top: 0;
  font-size: 46px;
  text-shadow: 0 1px 3px rgba(0,0,0,.3);
}

/*** Take out the divider line between content and sidebar ***/
#main-content .container:before {
  background: none;
}
/*** Expand the content area to fullwidth ***/
@media (min-width: 981px){
    #left-area {
      width: 100%;
      padding: 23px 0px 0px !important;
      float: none !important;
    }
}
/*** Hide Sidebar ***/
#sidebar {
  display:none;
}




#et-info-phone::before {
  display: none;
}

.et_pb_slide_title {
  position: absolute;
  bottom: 46px;
  width: 84%;
}

.dp-custom-field {
  display: block!important;
  padding-bottom:0
}



article.category-locations .et_pb_text_2 {
  display: none;
}

/* Global Footer using shortcode */
.scftr {padding-top:4%;}
.scftr .et_pb_image .et_pb_image_wrap {display: block;}
.scftr p {color:#fff;}
.scftr .et_pb_row_0 p {font-size:18px;}
.scftr .et_pb_column_2 p {line-height: 1.6em;}
.scftr #et-boc .et-l .et_pb_row_0 a {color:#fff;}


.dp-dfg-custom-field-label {
  color: #91c742;
}
.dp-dfg-header h2.entry-title {
    color: #0075BB;
}
.dp-dfg-custom-content p.dp-dfg-custom-field {
  padding-bottom: 0;
}


body.search-results .post-meta {
  display: none;
}

body.search-results article {
  margin-bottom: 20px!important;
}

/* Enable Search on Mobile for Divi Centered and Centered Inline Logo Headers */

@media (max-width: 980px) {

    /* make search icon visible */
    .et_header_style_centered #et_top_search,
    .et_vertical_nav.et_header_style_centered #main-header #et_top_search,
    .et_header_style_split #et_top_search,
    .et_vertical_nav.et_header_style_split #main-header #et_top_search {
        display: block !important;
        float: right;
        z-index: 99999;
    }

    /* align search icon for Centered header */
    .et_header_style_centered #et_search_icon:before {
        top: 7px;
        left: -3px;
    }

    /* align search icon for Centered Inline Logo header*/
    .et_header_style_split #et_search_icon:before {
        margin-top: 0;
        left: -3px;
    }

    /* make search field visible */
    .et_header_style_centered .et_search_outer,
    .et_header_style_split .et_search_outer {
        display: block;
    }

    /* set max-width for search form container */
    .et_header_style_centered .container.et_search_form_container,
    .et_header_style_split .container.et_search_form_container.et_pb_search_visible,
    .et_header_style_split .container.et_search_form_container.et_pb_search_form_hidden {
        max-width: 100% !important;
    }

    /* apply in-animation for search form container */
    .et_header_style_centered .container.et_search_form_container.et_pb_search_visible,
    .et_header_style_split .container.et_search_form_container.et_pb_search_visible {
        z-index: 999;
        -webkit-animation: fadeInTop 1s 1 cubic-bezier(.77,0,.175,1);
        -moz-animation: fadeInTop 1s 1 cubic-bezier(.77,0,.175,1);
        -o-animation: fadeInTop 1s 1 cubic-bezier(.77,0,.175,1);
        animation: fadeInTop 1s 1 cubic-bezier(.77,0,.175,1);
    }

    /* apply out-animation for menu bar elements */
    .et_header_style_centered .et_pb_menu_hidden #et_search_icon:before,
    .et_header_style_centered .et_pb_menu_hidden .mobile_menu_bar,
    .et_header_style_centered .et_pb_menu_hidden .select_page,
    .et_header_style_split .et_pb_menu_hidden #et_search_icon:before,
    .et_header_style_split .et_pb_menu_hidden .mobile_menu_bar,
    .et_header_style_split .et_pb_menu_hidden .select_page {
        opacity: 0;
        -webkit-animation: fadeOutBottom 1s 1 cubic-bezier(.77,0,.175,1);
        -moz-animation: fadeOutBottom 1s 1 cubic-bezier(.77,0,.175,1);
        -o-animation: fadeOutBottom 1s 1 cubic-bezier(.77,0,.175,1);
        animation: fadeOutBottom 1s 1 cubic-bezier(.77,0,.175,1);
    }

    /* apply in-animation for "Select Page" container */
    .et_header_style_centered .et_pb_menu_visible .select_page,
    .et_header_style_split .et_pb_menu_visible .select_page {
        opacity: 1;
        -webkit-animation: fadeInBottom 1s 1 cubic-bezier(.77,0,.175,1);
        -moz-animation: fadeInBottom 1s 1 cubic-bezier(.77,0,.175,1);
        -o-animation: fadeInBottom 1s 1 cubic-bezier(.77,0,.175,1);
        animation: fadeInBottom 1s 1 cubic-bezier(.77,0,.175,1);
    }

    /* adjust close search icon horizontal positioning */
    .et_header_style_centered span.et_close_search_field,
    .et_header_style_split span.et_close_search_field {
        right: 5px;
    }

    /* adjust search form input horizontal positioning */
    .et_header_style_centered .et-search-form input,
    .et_header_style_split .et-search-form input {
       left: 10px;
       right: auto;
    }

    /* adjust search form input and close icon vertical positioning */
    .et_header_style_centered .et-search-form input,
    .et_header_style_centered span.et_close_search_field,
    .et_vertical_nav.et_header_style_centered .et-search-form input,
    .et_vertical_nav.et_header_style_centered span.et_close_search_field,
    .et_header_style_split .et-search-form input,
    .et_header_style_split span.et_close_search_field  {
        top: unset !important;
        line-height: 2em;
    }

    .et_header_style_centered span.et_close_search_field,
    .et_header_style_split span.et_close_search_field  {
        bottom: 20px;
    }

    /* set width values for search form */
    .et_header_style_centered .et-search-form,
    .et_header_style_split .et-search-form {
        width: 100% !important;
        max-width: 100% !important;
        bottom: 20px;
    }

    /* adjust close search icon top margin */
    .et_header_style_centered .et_close_search_field:after,
    .et_header_style_split .et_close_search_field:after {
        margin-top: -2px;
    }

}

/* END */


.dp-dfg-taxonomy-snw_job_type {
  display: none!important;
}





.et_mobile_menu li a:hover, .nav ul li a:hover {
    background-color: #0075bc!important;
    color: white!important;
    opacity: 1!important;
}

#et-secondary-menu>ul>li>a:hover, #et-info-email:hover {
    opacity: 1!important;
    color: #0075bc;
    background-color: white;
}
