/*
 Theme Name:     Navigate Clinic (Divi Child Theme)
 Theme URI:      https://www.elegantthemes.com/gallery/divi/
 Description:    Divi Child Theme
 Author:         Leech Group
 Author URI:     https://leechgroup.com/
 Template:       Divi
 Version:        2.0.0
*/
 
 
/* =Theme customization starts here
------------------------------------------------------- */


/* COLOURS */

:root {

    /* PRIMARY COLOURS */
    --nc-primary-color: #1E1A3E; /* dark blue */
    --nc-highlight-color: #D39A1D; /* gold */

    /* FORMS */
    --nc-form-button-primary: #FFFFFF;
    --nc-form-button-hover: #FFFFFF;
    --nc-form-field-background: #EEEEEE;
    --nc-form-required: #FFFFFF;

    /* ADDITIONAL COLOURS */
    --nc-black: #000000;
    --nc-white: #FFFFFF;

}


/* CHANGE MOBILE NAV BREAKPOINT */

@media only screen and ( max-width: 1300px ) { /* Change this number to modify breakpoint width */
    #top-menu-nav, #top-menu {display: none;}
    #et_top_search {display: none;}
    #et_mobile_nav_menu {display: block;}
	.et_fixed_nav #main-header{position: absolute;}
}

/* decrease left and right padding on main menu items */
#top-menu li li {
    padding: 0 10px;
    margin: 0;
}

/* increase width of main menu dropdowns from default of 240px */
.nav li ul {
    width: 340px;
}

/* increase width of main menu dropdowns items from default of 200px */
.nav li li a {
    width: 300px;
}



/* HIDE ALT TAG TEXT */

img {
    color: transparent;
}



/* GRAVITY FORMS */

.footer-contact-form .gform_button,
.footer-contact-form .gform_next_button,
.footer-contact-form .gfield_choice_all_toggle {
	color: #ffffff !important;
    border-radius: 2px !important;
    letter-spacing: 0.16em !important;
    font-size: 14px !important;
    font-family: 'Inter', Helvetica, Arial, Lucida, sans-serif !important;
    font-weight: 700 !important;
    text-transform: uppercase !important;
    background-color: #D4591C !important;    
	padding: 16px 40px !important;
}

.footer-contact-form .gform_button:hover,
.footer-contact-form .gform_next_button:hover,
.footer-contact-form .gfield_choice_all_toggle:hover {
	background-color: #03658c !important; /* dark blue */
}

.footer-contact-form .gform_button {
	color: #4c4c4c !important;
	background-color: var(--nc-form-button-primary) !important;   
}

.footer-contact-form .gform_button:hover {
	background-color: var(--nc-form-button-hover) !important;
}

.footer-contact-form .gfield_label {
	color:#ffffff !important;
}

.footer-contact-form input[type="text"],
.footer-contact-form input[type="tel"],
.footer-contact-form input[type="email"],
.footer-contact-form input[type="website"],
.footer-contact-form textarea {  
    background-color: var(--nc-form-field-background) !important;
    padding: 10px 20px !important;
    border: none !important;
	box-shadow: none !important;
}

.footer-contact-form select {  
    background-color: var(--nc-form-field-background) !important;
    border: none !important;
	box-shadow: none !important;
}

.footer-contact-form .gfield_required_text {
    color: var(--nc-form-required) !important; 
}



/* MOBILE / NON-MOBILE */

@media all and (max-width: 480px) {
    
    .content-non-mobile-only {
        display: none;
    }

    .content-mobile-only {
        display: inline;   
    }

}

@media all and (min-width: 481px) {
    
    .content-non-mobile-only { 
        display: inline; 
    }

    .content-mobile-only {
        display: none;   
    }

}



/* DIVI STACKING ORDER */

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

    /*** wrap row in a flex box ***/
    .custom-stacking-order {
        display: -webkit-box;
        display: -moz-box;
        display: -ms-flexbox;
        display: -webkit-flex;
        display: flex;
        -webkit-flex-wrap: wrap; /* Safari 6.1+ */
        flex-wrap: wrap;
    }

    /*** custom classes that will designate the order of columns in the flex box row ***/
	/* Apply on row */
	.row-on-mobile{
		display:flex;
		flex-direction:column;
	}
    .first-on-mobile {
        -webkit-order: 1;
        order: 1 !important;
    }

    .second-on-mobile {
        -webkit-order: 2;
        order: 2 !important;
    }

    .third-on-mobile {
        -webkit-order: 3;
        order: 3 !important;
    }

    .fourth-on-mobile {
        -webkit-order: 4;
        order: 4 !important;
    }
    
    /*** add margin to last column ***/
    .custom-stacking-order:last-child .et_pb_column:last-child {
        margin-bottom: 30px;
    }
 
}



/* TYPOGRAPHY */

.remove-padding-on-headings h1,
.remove-padding-on-headings h2,
.remove-padding-on-headings h3,
.remove-padding-on-headings h4,
.remove-padding-on-headings h5,
.remove-padding-on-headings h6 {
    padding: 0!important;   
}

.remove-margin-on-headings h1,
.remove-margin-on-headings h2,
.remove-margin-on-headings h3,
.remove-margin-on-headings h4, 
.remove-margin-on-headings h5,
.remove-margin-on-headings h6 {
    margin: 0!important;   
}


.main-content p {
    padding-bottom: 0;
}

.main-content p+p {
    padding-top: 10px;
}

.main-content h1,
.main-content h2,
.main-content h3,
.main-content h4 {
    margin-bottom: 0 !important;
    line-height: 1.5em;   
}

.main-content h5,
.main-content h5 {
    line-height: 1.5em;   
}

.main-content h3 {
    margin-bottom: 10px;
}

.main-content h1+p,
.main-content h2+p,
.main-content h3+p,
.main-content h4+p {
    margin-top: 7px !important;
}

.main-content p+h1,
.main-content p+h2,
.main-content p+h3,
.main-content p+h4,
.main-content ul+h1,
.main-content ul+h2,
.main-content ul+h3,
.main-content ul+h4,
.main-content ol+h1,
.main-content ol+h2,
.main-content ol+h3,
.main-content ol+h4 {
    margin-top: 40px !important;
}

.main-content ul,
.main-content ol {
    padding-bottom: 0;
}

.main-content p+ul,
.main-content h1+ul,
.main-content h2+ul,
.main-content h3+ul,
.main-content h4+ul,
.main-content h1+ol,
.main-content h2+ol,
.main-content h3+ol,
.main-content h4+ol {
    margin-top: 20px !important;
}

.main-content li {
    margin-bottom: 10px !important;   
}

.main-content li > ol,
.main-content li > ul {
    margin-top: 10px !important;   
}



/* TYPOGRAPHY - specific to this site */

.main-content h2.bio-title {
    margin-bottom: 0;
    padding-bottom: 0;
}

.main-content p.job-position {
    font-size: 1.2rem;
}


/* PRICE TABLES */

table.nc-price-table {
    border: none !important;
}

.nc-price-table .column-2 {
    text-align: right;
}

.nc-price-table tr td {
    padding: 10px 0 !important;
}

.nc-price-table tr:first-child td {
    border-top: none !important;
}

.nc-price-table tr + tr td {
    border-top: 1px solid #CCCCCC !important;
}

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

    .nc-price-table .column-1 {
        width: 50%;
    }

    .nc-price-table .column-2 {
        width: 50%;
    }

}

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

    .nc-price-table .column-1 {
        width: 70%;
    }

    .nc-price-table .column-2 {
        width: 30%;
    }

}