/*
 Theme Name:     Divi Child
 Theme URI:      https://www.performancewerx.com
 Description:    Performance Werx Theme
 Author:         Grace Hartzell
 Author URI:     https://www.gracehartzell.com
 Template:       Divi
 Version:        1.0.1
*/

#top-menu li a {
	font-weight: 500 !important;
}

#top-menu a {
    color: #120303 !important;
}

#top-menu-nav>ul>li>a:hover {
    color: #DC1F26 !important;
}

.bold {
	font-weight: 600;
}

.p-text-bold-medium, .h-text-copy-bolder {
	font-weight: 800;
}

.u-text-main-hero-header {
	margin-bottom: 3.125rem;
}

.light, .p-text-white, .h-text-white {
	color: #ffffff!important;
}

.h-text-red {
	color: #DC1F26 !important;
}

.h-uppercase {
	text-transform: uppercase;
}

.h-halfcase {
  font-size: 70%;
}

hr.header {
	height: 3px;
	border-width:0;
	color:#40444f;
	background-color:#40444f;
	margin: 30px 0;
}

.section-header {
	color: #40444f;
	margin-bottom: 3.125rem;
	font-size: 4.9rem;
	text-transform: uppercase;
}

.h-section-parallax__subheading h2 {
	font-size: 24vw;
}

.h-section-parallax__content-image {
	width: 200px !important;
}

.cta-contact h2 {
	font-size: 4vh !important;
}

.min-3cr {
	display: flex;
	justify-content: space-between;
	max-width: 85%;
	margin-top: 2vh;
}

@media (max-width: 340px) {
	h1.u-text-main-hero-header,
	h2.section-header {
		font-size: 1.4rem !important;
	}
	h3 {
		font-size: 1rem !important;
	}
    .p-text-bold-medium {
		font-size: 0.8em !important;
		line-height: 1.4;
	}
	.h-section-parallax__content-image--mobile {
        margin-bottom: -40px!important;
        width: 150px !important;
     }
}

@media (min-width: 341px) {
	h1.u-text-main-hero-header,
	h2.section-header {
		font-size: 1.8rem !important;
	}
}

@media (min-width: 341px) and (max-width: 484px) {
	.p-text-bold-medium {
		font-size: 1.1em !important;
	}
    .h-section-parallax__content-image--mobile {
        margin-bottom: -70px!important;
     }
}

@media (max-width: 484px) {
    .min-3cr {
    	max-width: 100% !important;
    	margin: 3vh 0 !important;
    }
    .cta-contact h4 {
    	font-size: 0.9rem !important;
    }
    .cta-contact p {
        font-size: 1rem;
        line-height: 1.4;
    }
}

@media (min-width: 485px) and (max-width: 767px) {
	h1.u-text-main-hero-header,
	h2.section-header {
		font-size: 2.5rem !important;
	}
	.p-text-bold-medium {
		font-size: 1.2rem !important;
	}
    .h-section-parallax__content-image img {
    	width: 80% !important;
    }
    .h-section-parallax__content-image--mobile {
        margin-bottom: -80px!important;
     }
}

@media (max-width: 767px) {
	.s-flex {
		display: flex;
	}
	.s-flex-col {
		display: flex;
        align-items: center;
        flex-flow: row wrap;
	}
	.h-section-parallax__subheading {
        margin-bottom: 10px !important;
	}
    .h-section-parallax__subheading h2 {
        line-height: 0.7;
	}
	.h-section-parallax__content-image--mobile {
        margin-left: 0;
        width: 50% !important;
     }
	.h-section-parallax__content-text {
		width: 95%;
		margin: 0 auto;
		text-align: center;
	}
    .h-section-parallax__content-image {
        display: none;
     }
    .min-3cr {
    	max-width: 75%;
    	margin: 2vh 0;
    }
    .min-3cr .min-col3 {
    	display: none;
    }
    .cta-contact h4 {
    	font-size: 1rem;
    }

}

@media (min-width: 768px) {
	h1.u-text-main-hero-header,
	h2.section-header {
		font-size: 3.5rem !important;
	}
	.p-text-bold-medium {font-size: 1.5em !important;}
	.h-section-parallax__subheading {
		margin-bottom: 0 !important;
	}
    .s-section-parallax {
    	min-height: 70vh;
    	max-height: 90vh;
    	display: flex;
    	justify-content: center;
    	align-items: center;
    }
	.h-section-parallax__content {
		display: flex;
        justify-content: center;
	}
    .h-section-parallax__content .et_pb_text_inner {
		display: flex;
		width: 90%;
	}
	.h-section-parallax__content-image--mobile {
        display: none;
     }
    .h-section-parallax__content-image {
    	flex: 1;
    	margin-top: -16vh;
    	margin-left: 5vw;
    }
    .h-section-parallax__content-image img {
        width: 95%;
    }
     .h-section-parallax__content-text {
        display: flex;
        flex: 1;
        justify-content: flex-end;
        height: fit-content;
	}
    .h-section-parallax__content-text :first-child {
		width: 100%;
	}
}

@media (min-width: 990px) {
	h1.u-text-main-hero-header,
	h2.section-header {
		font-size: 4.5rem !important;
	}
    .h-section-parallax__content-image {
    	margin-top: -20vh;
    	margin-left: 6vw;
    }
    .h-section-parallax__content-image img {
        width: 80%;
    }
     .h-section-parallax__content-text {
        display: flex;
        flex: 1;
        margin-left: -4vw;
        height: fit-content;
	}
    .h-section-parallax__content-text :first-child {
		width: 100%;
	}
}

@media (min-width: 1080px) {
	.min-3cr {
	    margin-top: 5vh;
    }
}

@media (min-width: 1201px) {
	h1.u-text-main-hero-header,
	h2.section-header {
		font-size: 5.5rem !important;
	}
	.h-section-parallax__subheading h2 {
	    font-size: 20vw;
    }
    .s-section-parallax {
    	max-height: 90vh;
    	display: flex;
    	justify-content: center;
    	align-items: center;
    }
    .h-section-parallax__content-image {
    	margin-top: -13vw;
    	margin-left: 4vw;
    }
    .h-section-parallax__content-image img {
        width: 70%;
    }
    .h-section-parallax__content-text {
    	margin-left: -8vw;
    }
}

.f_cert-box .et_pb_text_inner {
    display: flex;
    justify-content: space-evenly; 
}

.f_cert-img.et_pb_image_wrap {
    width: 50%;
    display: flex;
    justify-content: center;
}

.f_cert-img img {
  width: 70%;
}

.img-sth {
    width: 90% !important;
    align-self: baseline;
}