/*
 Theme Name:     Capital Ortho
 Template:       Divi
 Version:        1.0.0
*/
 
 
/* =Theme customization starts here
------------------------------------------------------- */
/*Custom Header*/

#et-secondary-nav .menu-item-has-children>a:first-child, #top-menu .menu-item-has-children>a:first-child {
    padding-right: 0;
}

#et-secondary-nav .menu-item-has-children>a:first-child:after, #top-menu .menu-item-has-children>a:first-child:after {
    content: '';
}

#et-secondary-nav li.fa a {
    font-family: 'Source Sans Pro',Helvetica,Arial,Lucida,sans-serif !important;
    font-size: 0.8em;
}


#et-info-email:before { 
    content: '\e081' !important;
}

#et-info-email{
	margin-right: 13px!important;
}

@media screen and (max-width: 1370px) and (min-width: 1485px) {
    #logo {
        max-height: 50% !important;
    }
}

@media screen and (max-width: 1115px) and (min-width: 980px) {
    #logo {
        max-height: 45% !important;
    }
}


@media (max-width: 980px){
	.et_fixed_nav #top-header {
		position: absolute;
		height: 100px;
	}
	#et-info {
		width: 100%;
		display: flex !important;
		justify-content: center;
		position: absolute;
		top: -35px;
		margin-bottom: 5px !important
	}
	.mobileContainer {
		border-top: solid 1px #c7c7c7 !important;
		margin-top: 10px !important;
		display: flex;
		text-align: center;
		justify-content: center;
		flex-wrap: wrap;
	}
	.mobileNav {
		display: block!important;
	}
    
    .mobileContainer>div:first-child {
            display: flex;

            a {
                list-style-type: none;
                text-align: center !important;
                border-right: 1px solid #c7c7c7 !important;
                margin: 0 !important;
                padding: 0 15px;
                font-size: 14px;
                line-height: 15px;
                margin-top: 5px !important;

                &:last-child {
                    border-right: 0px !important;
                }

                @media screen and (max-width: 432px) {
                    font-size: 12px !important;
                }

                @media screen and (max-width: 386px) {
                    font-size: 10px !important;
                }
            }
    }

	.mobileContainer>div:last-child {
   		 margin-right: 0;
	}

	.mobileContainer div:last-child {
		margin-top: 5px !important;
		flex-basis: 100%;
		background-color: #12c28d;
		border-radius: 5px;
		border-right: 0px;
	}

	.mobileContainer div:last-child a {
		color: white !important;
		padding: .75em !important
	}

}

.et-db #et-boc .et-l .et_pb_section_4-divioverlays_227398 {
    height: 100vh;
    width: auto !important;
}

#top-header .container {
    width: 100%;
	top: 35px;
    padding: 0 10px;
    display: flex;
    flex-direction: column;
    justify-content: center;
    height: 50px;
}

#top-header .mobileNav{
	display: none;
}

#et-info {
    width: 100%;
    display: flex !important;
    justify-content: center;
    border-bottom: 0;
    margin-bottom: 0;
}

ul#et-secondary-nav {
    display: flex;
    text-align: center;
    justify-content: center;
	flex-wrap: wrap
}

#et-secondary-menu {
    width: 100%;
}

#et-secondary-nav li {
    text-align: center !important;
    border-right: 1px solid #ebebeb;
    margin: 0 !important;
 	padding: 0 15px;
    font-size: 14px;
    line-height: 15px;
}

#et-secondary-nav>li:last-child {
    margin-right: 0;
}

#et-secondary-nav li:last-child {
	margin-top: 5px;
    flex-basis: 100%;
    background-color: #12c28d;
	border-radius: 5px;
    border-right: 0px;
}

#et-secondary-nav li:last-child a{
	color: white;
	padding: .75em !important
}

.logged-in .container.clearfix.et_menu_container {
    margin-top: 32px;
}

.et_pb_blurb_position_left .et_pb_main_blurb_image {
    max-width: 32px;
}

.team-member.et_pb_blurb_position_left .et_pb_main_blurb_image {
    max-width: 125px;
}

#top-menu-nav #top-menu {
    text-wrap: nowrap;

    .sub-menu {
        text-wrap: wrap;
    }
}

@media (min-width: 980px) {
	
    div#top-header {
        width: 100%;
        left: auto !important;
        right: 0 !important;
        height: 125px;
        -webkit-transition: all .4s ease-in-out;
        -moz-transition: all .4s ease-in-out;
        transition: all .4s ease-in-out;
    }

    #et-info {
        border-bottom: solid 1px #c7c7c7;
        margin-bottom: 15px;
    }

}


@media screen and (max-width: 1485px) {

    .nav ul.sub-menu {
        right: 0;
    }

}

@media screen and (min-width: 1275px) {

    .et-fixed-header #top-menu-nav #top-menu {
        &>li > a {
            padding-bottom: 50px;
        }
    }

    .et_fixed_nav.et_show_nav.et_secondary_nav_enabled #page-container, .et_non_fixed_nav.et_transparent_nav.et_show_nav.et_secondary_nav_enabled #page-container { 
        padding-top: 246px !important;
        position: relative;
    }

    div#top-header {
        left: auto !important; 
        right: 0 !important; 
        -webkit-transition: all .4s ease-in-out;
        -moz-transition: all .4s ease-in-out;
        transition: all .4s ease-in-out;
    }

    body.et_fixed_nav.et_secondary_nav_enabled #main-header.et-fixed-header { 
        top: 0 !important;
    }

    .et_header_style_left .et-fixed-header #et-top-navigation { 
        margin-right: 350px;
    }

    #top-header .container {
        -webkit-transition: all .4s ease-in-out; 
        -moz-transition: all .4s ease-in-out; 
        transition: all .4s ease-in-out; 
    }
    
    .et-fixed-header#top-header { 
        width: 375px;
        height: 84px;
        -webkit-transition: all .4s ease-in-out;
        -moz-transition: all .4s ease-in-out;
        transition: all .4s ease-in-out;
    }
    
    .et-fixed-header#top-header .container { 
        top: 0;
        height: 84px;
    }
        
        
    .et-fixed-header #et-secondary-nav {
        align-items: center;
    }

    .et-fixed-header #et-secondary-nav li {
        padding: 5px 9px;
        line-height: 10px;
    }
        
    .et-fixed-header #et-secondary-nav li a{
        padding-bottom: 0;
    }
        
    .et-fixed-header #et-secondary-nav li:last-child {
        flex-basis: auto;
        padding: 5px 9px;
        line-height: 10px;
        margin-top: 8px !important;
    }
        
    .et-fixed-header #et-secondary-nav li:last-child a{
        padding: 0 !important;
    }

    .et-fixed-header#top-header a {
        font-size: 12px;
    }

    .et-fixed-header #et-info {
        margin-bottom: 7px;
        padding-bottom: 7px;
    }
    #et-secondary-nav li {
        text-align: center !important;
        border-right: solid 1px #c7c7c7;
        margin: 0 !important;
        padding: 0 6px;
        font-size: 12px;
        line-height: 15px;
    }

}


#top-menu-nav #top-menu {

    &>li > a {
        @media screen and (min-width: 981px) {
            padding-bottom: 50px;
        }

        @media screen and (min-width: 1485px) {
            padding-bottom: 77px;
        }
    }
}

@media screen and (min-width: 1485px) {

    body.et_fixed_nav.et_secondary_nav_enabled #main-header, body.et_non_fixed_nav.et_transparent_nav.et_secondary_nav_enabled #main-header { 
        top: 0 !important;
    }

    .et_fixed_nav.et_show_nav.et_secondary_nav_enabled #page-container, .et_non_fixed_nav.et_transparent_nav.et_show_nav.et_secondary_nav_enabled #page-container { 
        padding-top: 145px !important;
        position: relative;
    }

    div#top-header {
        width: 400px;
        height: 145px;
    }

    .et_header_style_left #et-top-navigation {
        margin-right: 400px;
    }

    #top-header .container {
        top: 0; 
        height: 145px;
    }

}

/*Custom Footer*/

#et-footer-nav {
    height: 0;
}

.et-social-icons {
    float: inherit;
    margin: 0 auto;
    width: 200px;
}

#footer-widgets .footer-widget li {
    position: relative;
    padding-left: 0;
}

#footer-widgets .footer-widget li:before {
    border-width: 0;
}

#et-footer-nav .container {
    top: -55px;
}

#footer-info {
    float: right;
    padding-bottom: 0;
    position: absolute;
    top: -55px;
    right: 0;
}

#main-footer .container {
    padding-bottom: 30px;
}

#footer-bottom .container {
    padding-bottom: 0;
}

@media (max-width: 980px) {
#main-footer .container {
    padding-bottom: 50px;
}

#et-footer-nav .container {
    top: -100px;
   } 



#footer-info {
    top: -64px;
    line-height: 17px;
    left: 0;
}

}


/*Home Page Styles*/

p a.blurb-btn {
    color: #fff;
    border: solid 2px #fff;
    padding: 5px 15px;
    display: inline-block;
    -webkit-transform: perspective(1px) translateZ(0);
    transform: perspective(1px) translateZ(0);
    -webkit-transition-duration: .3s;
    transition-duration: .3s;
    -webkit-transition-property: transform;
    transition-property: transform;
}

p a.blurb-btn:hover {
    -webkit-transform: scale(1.1);
    transform: scale(1.1);
}

.float-right {
    float: right !important;
    order: 2 !important;
    margin: 0 !important;
}

.float-left {
    float: left !important;
    order: 1 !important;
}

.et_pb_section_2.section_has_divider.et_pb_top_divider .et_pb_top_inside_divider {
    z-index: 7 !important;
}

.inner-float-right {
    float: left;
    margin-right: 20px;
}

.resources-icon .et_pb_main_blurb_image {
    margin-bottom: 0;
}

.resources-icon .et_pb_blurb_container {
    position: absolute;
    z-index: 99;
    width: 100%;
    bottom: 0px;
    background: rgba(35, 127, 179, 0.74);
    padding: 10px 0;
    height: 40px;
}

.resources-icon h4.et_pb_module_header {
    padding: 0;
}

.resources-icon .et_pb_main_blurb_image {
    display: block;

    }

.special-headline h2:before,
.special-headline h2:after {
    content: '';
    position: absolute;
    border: solid 1px #cecece;
    width: calc(50% - 80px);
    top: 18px;
} 
.special-headline.long h2:before,
.special-headline.long h2:after {
width: calc(50% - 180px);
} 

.special-headline h2:before {
    left: 0;
}   
.special-headline h2:after {
    right: 0;
} 

.et_pb_column.et_pb_column_empty {
    min-height: 350px;
    display: block !important;
}

@media (min-width: 981px) {

    .et_pb_row .et_pb_column.float-left:last-child {

        margin-right: 5.5% !important;
    }

}

.special-font {
font-family: alana-smooth, sans-serif;

font-weight: 400;

font-style: normal;
}

.home-hero .et_pb_slide_description {
    max-width: 400px;
    float: left;
}

hr.header-line {
    border: solid 2px #001E61;
    width: 50px;
    float: left;
}

hr.header-line.grey {
    border-color: #c1c1c1;
}

/*Hover Effect*/


.hvr-grow {
    display: block;
    vertical-align: middle;
    -webkit-transform: perspective(1px) translateZ(0);
    transform: perspective(1px) translateZ(0);
    box-shadow: 0 0 1px rgba(0,0,0,0);
    -webkit-transition-duration: .3s;
    transition-duration: .3s;
    -webkit-transition-property: transform;
    transition-property: transform;
}

.hvr-grow:hover, .hvr-grow:focus, .hvr-grow:active {
    -webkit-transform: scale(1.1);
    transform: scale(1.1);
}



/*Team Member*/

.team-member .et_pb_blurb_content {
    display: flex;
    align-items: center;
}
.team-menu {
    border: 0;
}
.team-member .et_pb_main_blurb_image {
    width: 50%;
    margin-bottom: 0;
}

.team-member .et_pb_blurb_container {
    width: 50%;
    padding-left: 20px;
}

.team-menu .et_pb_widget ul li {
    display: inline;
}

.team-menu.et_pb_widget_area .widget_nav_menu {
    width: 100%;
    margin-bottom: 25px;
}
.team-menu .et_pb_widget ul li {
    display: inline;
    text-align: center;
    padding: 0 20px;
}
.team-menu.et_pb_widget_area ul {
    width: 100%;
    text-align: center;
}
.team-menu .et_pb_widget ul li.current_page_item a {
    color: #2b2b2b;
    position: relative;
}
.team-menu .et_pb_widget ul li.current_page_item a:after {
    content: '';
    position: absolute;
    width: 0;
    height: 0;
    left: calc(50% - 10px);
    top: 48px;
    border-left: 10px solid transparent;
    border-right: 10px solid transparent;
    border-top: 10px solid #d2d3d4;
}

.news-slider .et_pb_slide {
    padding: 0;
    background-size: cover;
    width: 50%;
    position: relative;
    right: -50%;
}
.news-slider .et_pb_slides .et_pb_container {
    max-width: 100%;
    display: block;
}

.news-slider .et_pb_slide_description {
    padding: 125px 10%;
    width: 100%;
    float: left;
    background: #F0F0F0;
    height: 100%;
    position: relative;
    left: -100%;
}
.news-slider .et-pb-controllers {
    width: 50%;
}

.news-slider .et_pb_slide_description:after {
    content: '';
    display: block;
    width: 4px;
    height: 96%;
    position: absolute;
    bottom: 0;
    right: -70px;
    border-left: 30px solid transparent;
    border-right: 100px solid transparent;
    border-bottom: 1007px solid #efefef;
}

.news-slider .et-pb-controllers a {
    width: 50px;
    height: 5px;
}

@media (max-width: 768px) {

.news-slider .et_pb_slide {
    width: 100%;
    right: 0;
    min-height: 650px;
    background-size: 120%;
    background-position: top;
}

.news-slider .et_pb_slides .et_pb_container {
    position: absolute;
    bottom: 0;
}
.news-slider .et_pb_slide_description {
    left: 0;
    padding: 40px 20px;
    bottom: 0;
    height: inherit;
}
.news-slider .et_pb_slide_description:after {
    content: '';
    display: block;
    width: 4px;
    height: 0;
    position: absolute;
    bottom: inherit;
    right: 0;
    top: -30px;
    border-left: 768px solid transparent;
    border-right: 0 solid transparent;
    border-bottom: 30px solid #efefef;
    border-top: 0px solid #ffffff;
}

.news-slider .et-pb-controllers {
    width: 100%;
    bottom: 7px;
}
.news-slider .et_pb_slides .et_pb_slider_container_inner {
    bottom: 0;
    position: absolute;
}

.center-text-mobile .et_pb_slides .et_pb_slide_description h2.et_pb_slide_title {
    text-align: center;
}

.special-font {
    text-align: center;
}
}


.pain-btn {
    max-width: 250px;
    min-width: 100%;
}

body #page-container .long-btn:after {
    right: 12px;
}

.long-btn {
    width: 100%;
}

.co-vertical-align { 
    display: flex; 
    flex-direction: column; 
    justify-content: center;
} 

/*Where Does It Hurt Section*/

@media (max-width: 981px) {
.co-wdh-col .et_pb_column {
    width: 50%;
}
}

/*Page Hero Styles*/

.line-btn .et_pb_button:after {
    content: '';
    width: 40px;
    height: 2px;
    background: #fff;
    position: absolute;
    left: 0 !important;
    bottom: 0;
    margin: 0 !important;
}

.line-btn .et_pb_button {
    padding: 0 !important;
    padding-bottom: 10px !important;
    float: left;
    clear: left;
}

/*Gravity Form Styling*/

/*** BUTTON STYLING ***/
.gform_wrapper .gform_footer input.button {
 float: right;
 background: transparent;
 border: 2px solid #237fb3;
 font-size: 22px;
 color: #2ea3f2;
 padding: 12px 23px;
 border-radius: 5px;
 letter-spacing: 2px;
 cursor: pointer;
}
/*** BUTTON HOVER STYLING ***/
.gform_wrapper .gform_footer input.button:hover {
 background: rgba(0, 0, 0, 0.05);
 border: 2px solid transparent;
}

/*Post Slider*/

.slick-initialized .slick-slide {
    padding: 10px;
}

.slick-slide .article-wrapper {
    background: #e6e6e6;
    padding: 20px;
    box-shadow: 0px 4px 7px rgba(0, 0, 0, 0.15);
}

.slick-slide img {
    border: 1px solid #101e6129;
}

.slick-slider a.more-link {
    border: 2px solid #001e61;
    max-width: 125px;
    text-align: center;
    padding: 5px;
    margin-top: 10px;
    margin: 10px auto 0;
    text-transform: capitalize;
}

.slick-prev, .slick-next {
    font-size: 0;
    line-height: 0;
    position: absolute;
    top: 50%;
    display: block;
    width: 50px;
    height: 50px;
    padding: 0;
    -webkit-transform: translate(0, -50%);
    -ms-transform: translate(0, -50%);
    transform: translate(0, -50%);
    cursor: pointer;
    color: transparent;
    border: none;
    outline: none;
    background: transparent;
}

.slick-prev {
    left: -50px;
}
.slick-next {
    right: -50px;
}
.slick-prev:before {
    content: "\34";
}
.slick-next:before {
content: "\35";
}
.slick-prev:before, .slick-next:before {
    font-family: ETmodules!important;
    font-size: 50px;
    line-height: 1;
    opacity: .75;
    color: #797979;
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
}
.slick-dots li button {
    font-size: 0;
    line-height: 0;
    display: block;
    width: 20px;
    height: 20px;
    padding: 5px;
    cursor: pointer;
    color: transparent;
    border: 0;
    outline: none;
    background: transparent;
}

.slick-dots li button:before {
    font-size: 6px;
    line-height: 20px;
    position: absolute;
    top: 0;
    left: 0;
    width: 10px;
    height: 10px;
    content: '•';
    text-align: center;
    opacity: .25;
    color: black;
    background: #333;
    border-radius: 50%;
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
}
.slick-dots li.slick-active button:before {
    opacity: .75;
    color: black;
}

.slick-dots {
    position: absolute;
    bottom: -25px;
    display: block;
    width: 100%;
    padding: 0;
    margin: 0;
    list-style: none;
    text-align: center;
}
.slick-dots li {
    position: relative;
    display: inline-block;
    width: 20px;
    height: 20px;
    margin: 0 5px;
    padding: 0;
    cursor: pointer;
}

@media (max-width: 600px) {

    .slick-next {
    right: -35px;
    }
    .slick-prev {
        left: -35px;
    }
}


@media (min-width: 980px) {
		div#overlay-227808 {
			width: 100% !important;
			max-width: 100% !important;
			padding: 0 60px;
	}
}

@media (max-width: 980px) {
	div#overlay-227808 {
		width: 100% !important;
		max-width: 800px !important;
		padding: 0 !important;
	}
	.et_mobile_device .divioverlay.pcs_enabled {
    position: fixed !important;
}
}
