/*
 Theme Name:   Custom
 Theme URI:    #
 Description:  Custom
 Author:       SEO National
 Author URI:   https://www.seonational.com
 Template:     Divi
 Version:      2.5.3
 Tags:         Custom
 Text Domain:  #
*/

/* =Theme customization starts here
-------------------------------------------------------------- */

/* GLOBAL */
/* fix header parallax on Firefox */
.gecko .et_pb_section_parallax .et_pb_parallax_css {
    -webkit-transform: none !important;
}

/* NAVIGATION */
/* sub-menu dropdown text size */
#top-menu li li a {
    font-size: 14px !important;
    line-height: normal !important;
}

/* remove the divider line below the main menu */
/*
header#main-header.et-fixed-header, #main-header {
	-webkit-box-shadow:none !important;
	-moz-box-shadow:none !important;
	box-shadow:none !important;
}
*/

/* hide drop down arrow when main nav item has sub-nav drop-down menu links */
/* #top-menu .menu-item-has-children > a:first-child::after, #et-secondary-nav .menu-item-has-children > a:first-child::after { content: none !important; }*/
/* hides the right padding that becomes unnecessary after the dropdown arrow is removed above */
/* #top-menu .menu-item-has-children { padding-right: 0 !important; } */

/* main menu custom CTA button */
.menu-CTA a,
.et-fixed-header #top-menu .menu-CTA a {
    color: #fff !important;
    margin-top: -1px;
    text-align: center !important;
}
.menu-CTA {
    background: #04683a;
    height: 40px;
    padding: 12px 12px 10px 12px !important;
    border-radius: 20px;
    border: 2px solid #04683a;
}
.menu-CTA:hover a {
    color: #04683a !important;
}
.menu-CTA:hover {
    cursor: pointer;
}
@media all and (max-width: 981px) {
    .menu-CTA {
        height: auto;
    }
}
.menu-CTA:hover {
    background: #fff;
    border: 2px solid #04683a;
    color: #04683a;
}
.menu-CTA a:hover {
    color: #04683a !important;
}

/* shrink menu size on mid-resolutions so it all fits on screen in one row */
@media all and (max-width: 1400px) {
    #top-menu li,
    #top-menu li a {
        font-size: 14px !important;
    }
}

/* YOAST */
#breadcrumbs {
    padding: 5px;
    background: #efefef;
    text-align: center !important;
    font-size: 14px;
}
#breadcrumbs a,
#breadcrumbs span,
#breadcrumbs strong {
    color: #333;
}
.home #breadcrumbs {
    display: none !important;
} /* hide breadcrumbs on home page */

/* WOOCOMMERCE */
mark.count, /* hide yellow highlighting of category product quantities on category index pages */
.woocommerce-breadcrumb, /* hide default Woocommerce breadcrumbs above the product details */
.single-product .description_tab, .single-product .additional_information_tab, .single-product h2 /* hide long description tab headers and "additional" tab on product pages */ {
    display: none;
}
.archive ul.products .product {
    text-align: center;
} /* center product images/text/buttons on product category pages */

.woocommerce button.button.alt.disabled {
    background: none !important;
}

/* center product text, prices, and CTA */
body.archive li.product,
.et_pt_shop li.product {
    text-align: center;
}

/* customize the buttons added on Woocommerce category pages produced by the edit in functions.php file */
/* remove weird padding on hover */
.woocommerce ul.products li.product a:hover {
    color: #fff;
    padding-right: 1em;
}
.woocommerce ul.products li.product a::after {
    display: none;
}
.woocommerce ul.products li.product a:hover {
    padding-right: 0px !important;
}
/* WooCommerce native reviews */
.woocommerce.et_pb_button_helper_class #respond input#submit,
.woocommerce-page.et_pb_button_helper_class #respond input#submit {
    background: #04683a;
    color: #fff !important;
} /* fix color on review submit button */

/* FOOTER */
/* footer menu */
#menu-footer-menu a {
    color: #efefef;
}
#footer-info a {
    font-weight: normal;
}
.footer-external-credits {
    font-size: 11px;
}

/* RESPONSIVE */
@media all and (min-width: 1405px) {
}

@media all and (min-width: 1100px) and (max-width: 1404px) {
}

@media all and (min-width: 982px) and (max-width: 1099px) {
}

@media all and (max-width: 981px) {
}

/* MOBILE MENU */
/* change the mobile menu icon color */
/*.mobile_menu_bar_toggle::before { color: #fff !important; }*/
/* change the top border line color on expanded mobile menu */
/*.et_mobile_menu { border-top: 3px solid #fff !important; }*/
/* hide sub-sub-menu on mobile */
/*#mobile_menu ul.sub-menu ul.sub-menu { display: none !important; }*/

/* MISCELLANEOUS */
/* format Divi blog grid */
.et_pb_blog_grid .et_pb_post {
    margin-bottom: 60px !important;
    overflow: hidden;
    font-size: 14px;
    line-height: normal;
}
.et_pb_blog_grid .et_pb_image_container {
    overflow: hidden;
}
@media all and (min-width: 1200px) {
    .et_pb_blog_grid .et_pb_post {
        width: 320px;
        height: 520px;
    }
    .et_pb_blog_grid .et_pb_image_container {
        width: 320px;
        height: 200px;
    }
}
.et_pb_post .entry-featured-image-url {
    margin-bottom: 0px !important;
}

/* WP Customer Reviews plugin */
/* remove colored blockquote indent */
.wpcr3_in_content blockquote {
    border: none;
}

/* hide website's company name from displaying before all reviews */
.wpcr3_item_name {
    display: none;
}

/* bold custom review questions and line break the answers */
.wpcr3_review_custom_label {
    font-weight: 700;
    clear: both;
    margin-top: 15px;
}

/*Customizing the hello bar */
.hellobar-btn {
    border: none;
    background-color: #ffffff;
    padding: 7px 10px;
    cursor: pointer;
    display: inline-block;
    color: #693e91 !important;
    margin-left: 5px;
    border-radius: 10px;
    margin-top: 7px;
    margin-bottom: 7px;
}
.hello-bar p {
    text-align: center;
}
.hellobar-text {
    padding-top: 7px !important;
    padding-bottom: 7px !important;
    line-height: 1.3;
}

/* Video transcript toggle for AudioObject schema */
.video-transcripts .et_pb_toggle_close {
    background-color: #f4f4f4 !important;
    padding: 20px !important;
}
.video-transcripts .et_pb_toggle_open {
    background-color: #ffffff !important;
    padding: 20px !important;
}
.video-transcripts .et_pb_toggle {
    border: 1px solid #d9d9d9 !important;
}
.video-transcripts .et_pb_toggle_close .et_pb_toggle_title:before {
    content: '\E050';
    position: absolute;
    right: 0;
    font-size: 16px;
    color: #ccc;
    top: 50%;
    margin-top: -0.5em;
}
.video-transcripts .et_pb_toggle_open .et_pb_toggle_title:before {
    content: '\E04F';
    position: absolute;
    right: 0;
    font-size: 16px;
    color: #ccc;
    top: 50%;
    margin-top: -0.5em;
}
.video-transcripts .et_pb_toggle .et_pb_toggle_title:before {
    right: 0;
    left: auto;
    font-family: ETmodules !important;
    speak: none;
    font-style: normal;
    font-weight: 400;
    -webkit-font-feature-settings: normal;
    font-feature-settings: normal;
    font-variant: normal;
    text-transform: none;
    line-height: 1;
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
    text-shadow: 0 0;
    direction: ltr;
}
.video-transcripts .et_pb_toggle .et_pb_toggle_title {
    cursor: pointer;
    position: relative;
    padding: 0 50px 0 0;
}
.video-transcripts .et_pb_toggle_content {
    padding-top: 20px;
    position: relative;
}

/* Video lightbox on mobile */
@media all and (max-width: 767px) {
    .pp_pic_holder.pp_default .ppt {
        width: 100% !important;
        margin-left: 5px !important;
    }
    .pp_pic_holder.pp_default .pp_content #pp_full_res iframe {
        width: 100% !important;
        height: 100vh !important;
        max-height: 300px;
    }
    .pp_pic_holder.pp_default .pp_details {
        background-color: transparent !important;
    }
    .pp_pic_holder.pp_default .pp_details .pp_close {
        top: -7px !important;
        right: 0px !important;
    }
}
