/*
 Theme Name: Empire Defence Force
 Theme URI: https://www.elegantthemes.com/gallery/divi/
 Description: Empire Defence Force Website
 Author: David Snyman
 Author URI: https://www.elegantthemes.com
 Template: Divi
 Version: 1.0.0
*/
 
/* =Theme customization starts here
------------------------------------------------------- */

.clients-slider img {
    height: 55px;
}
.clients-slider {
    display: flex;
    gap: 58px;
}

@font-face {
	font-family: Gotham-Bold;
	src: url(fonts/Gotham-Bold.otf);
}

@font-face {
	font-family: Gotham-Medium;
	src: url(fonts/Gotham-Medium.otf);
}

@font-face {
	font-family: Gotham-Light;
	src: url(fonts/Gotham-Light.otf);
}

@font-face {
	font-family: Gotham-Book;
	src: url(fonts/Gotham-Book.otf);
}

@font-face {
	font-family: NeueHaasDisplay-Medium;
	src: url(fonts/NeueHaasDisplay-Mediu.woff2);
}

@font-face {
	font-family: NeueHaasUnica-Bold;
	src: url(fonts/NeueHaasUnica-Bold.woff2);
}

@font-face {
	font-family: NeueHaasUnica-Light;
	src: url(fonts/NeueHaasUnica-Light.woff2);
}

@font-face {
	font-family: NeueHaasUnica-Medium;
	src: url(fonts/NeueHaasUnica-Medium.woff2);
}
@font-face {
	font-family: NeueHaasUnica-Regular;
	src: url(fonts/NeueHaasUnica-Regular.woff2);
}
body {
    font-family: NeueHaasUnica-Regular;
    color: #999999 !important;
    font-size: 1rem !important;
}
p.big span {
    font-family: 'NeueHaasUnica-Medium';
}
p.big {
    font-size: 1.3rem;
    font-family: 'NeueHaasUnica-Regular';
}
.white-bg p.big {
    color: #181819 !important;
}
.white-bg p {
    color: #999999 !important;
}


.hero-section h1 {
    font-size: 22.5vw;
    font-family: Gotham-Bold;
    text-transform: uppercase;
}
.hero-section h1 {
    background: url(https://empirecorpafrica.co.za/wp-content/uploads/2024/01/pedro-lastra-Nyvq2juw4_o-unsplash-scaled.jpg);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-position: top;
    background-size: contain;
    -webkit-text-stroke: 1px;
}

.hero-section h3 {
    font-size: 2vw;
    font-family: Gotham-Light;
    text-transform: uppercase;
    margin-left: 20px;
}
.hero-section h3 span {
    font-family: Gotham-Medium;
}
.hero-section h2 {
    font-size: 4vw;
    font-family: Gotham-Medium;
	text-transform: uppercase;
}
h2.section {
    text-transform: uppercase;
    font-family: 'Gotham-Medium';
    letter-spacing: 2px;
    font-size: 1rem;
    color: #f4f4f4;
}
.white-bg h2.section {
    color: #181819;
}
h2.section:before {
    content: "";
    display: inline-block;
    width: 16px;
    height: 16px;
    background: red;
    margin-right: 15px;
    border-radius: 10px;
	position: relative;
	top:2px;
}

.hero-bottom {
    display: flex;
    justify-content: space-between;
	margin-left: 20px;
	margin-top: -20px;
}



/* Layout */

.container, .et_pb_row {
    width: 90%;
    max-width: 1280px;
}

span.background-text {
    font-size: 25vw;
    font-family: 'Gotham-Bold';
    text-transform: uppercase;
	color: #fff;
}

.et_pb_row.background-text {
    position: absolute;
    width: 200%;
    max-width: 200%;
    left: -4%;
    bottom: -9%;
}
#testimonials {
    z-index: 99;
}

#testimonials span.background-text {
    opacity: .07;
}
#testimonials .et_pb_row.background-text {
    left: -6%;
}
/* Buttons */

a.btn {
    background: #f4f4f4;
    padding: 15px 20px;
    color: #181819;
    font-family: 'Gotham-Medium';
    letter-spacing: -1px;
    border-radius: 5px;
	display: inline-block;
	border: 2px solid #f4f4f4;
}
a.btn.black {
    background: #181819;
    color: #f4f4f4;
    display: inline-block;
    border: 2px solid #181819;
}
a.btn-text {
    margin-left: 20px;
    color: #f4f4f4;
    font-family: 'Gotham-Medium';
    letter-spacing: -1px;
	display: inline-block;
}
a.btn-text.black {
    color: #181819;
}
a.btn.outline {
    background: transparent;
    color: #f4f4f4;
    margin-left: 10px;
}
a.btn.black-outline {
    border: 2px solid;
}
a.btn-text.arrow:after {
    content: "";
    background: url(https://empirecorpafrica.co.za/wp-content/uploads/2024/01/arrow.svg);
    display: inline-block;
    width: 30px;
    height: 16px;
    margin-left: 10px;
    background-repeat: no-repeat;
    position: relative;
    top: 3px;
}

a.btn-text.arrow {
    margin-left: 0;
    display: inline-block;
    margin-top: 10px;
}
/* Clients */
.clients {
    display: flex;
    align-items: center;
    width: 100%;
}
.clients .clients-slider {
    width: 80% !important;
    margin: 30px 0 30px;
    border-left: 1px solid #fff;
    padding-left: 40px;
}
.clients h2.section {
    width: 20% !important;
}
.clients img {
    width: 100%;
    height: 80px;
    max-width: 100% !important;
}

/* Services */
div#services {
    z-index: 9;
    padding-bottom: 15%;
}
.service-cta {
    display: flex;
    justify-content: space-between;
}
.service-cta h3 {
    font-size: 1.5rem;
    font-family: 'NeueHaasUnica-Medium';
    letter-spacing: -1px;
    line-height: 1.5rem;
    padding-bottom: 4px;
}
.service-cta h3:first-child {
    color: #a5a5a5;
}
.centered-headings h2 {
    font-size: 4rem;
    font-family: 'NeueHaasUnica-Medium';
    letter-spacing: -1px;
}
.centered-headings h3 {
    font-size: 2rem;
    font-family: 'NeueHaasUnica-Medium';
	color: #a5a5a5;
}
.page-hero h3 {
    font-size: 2rem;
    font-family: 'NeueHaasUnica-Medium';
    color: #a5a5a5;
}

.page-hero h2 {
    font-size: 4rem;
    font-family: 'NeueHaasUnica-Medium';
    letter-spacing: -1px;
}

.centered-headings {
    text-align: center;
}

.service-wrapper:nth-child(3n) {
    margin-right: 0;
}
.service-wrapper {
    width: 30%;
    margin-right: 5%;
    margin-bottom: 5%;
}
.service-container {
    display: flex;
    flex-wrap: wrap;
}
.service-title {
    display: flex;
    align-items: baseline;
}
.service-wrapper img {
    height: 35px;
    margin-right: 15px;
}
.service-wrapper p {
    font-size: .9rem;
    line-height: 1.2rem;
    font-family: 'NeueHaasUnica-Light';
}

.service-title h3 {
    font-family: 'NeueHaasUnica-Medium';
    letter-spacing: -1px;
}

/* ABout Us */

.ancel-image {
    position: absolute;
    top: -20px;
    left: 11%;
    width: 27% !important;
}

/* testimonials */

#testimonials {
    z-index: 99;
    margin-top: -5px;
}
.page-id-82 #main-content {
    background: #181819;
}

.page-id-82 h1.entry-title.main_title {
    text-transform: uppercase;
    font-family: Gotham-Bold;
    font-size: 3rem;
}
#testimonials .et_pb_row.et_pb_row_9.background-text {
    bottom: auto;
    top: 49px;
}

/* locations */


.location-details {
    width: 90%;
    display: flex;
    justify-content: center;
}
.location-details .et_pb_column {
    border-right: 1px solid;
    width: auto;
    margin: 0;
    padding: 0 40px;
}

.location-details .et_pb_column:last-child {
    border-right: none;
}
.contact-area h3 {
    font-family: 'Gotham-Medium';
}
.contact-address {
    font-family: Gotham-Book;
    font-size: .9rem;
    line-height: 1.2rem;
    margin-bottom: 10px;
}
.contact-bold {
    font-size: 1.2rem;
    font-family: 'Gotham-Medium';
	color: #fff;
}
.contact-bold a{
	color: #fff;
}

/* Contact Us */

.contact-heading h2 {
    font-size: 4rem;
    font-family: 'NeueHaasUnica-Medium';
}

.contact-heading h3 {
    font-size: 2rem;
    font-family: 'NeueHaasUnica-Regular';
	color: #999999;
}
p.section-p-padding-left {
    padding-left: 30px;
}
.contact-us-form p {
    display: flex;
    flex-wrap: wrap;
}
.contact-us-form p span.wpcf7-form-control-wrap {
    width: 49%;
    margin: 0 2% 2% 0;
}
input, select {
    padding: 20px !important;
    border: none !important;
    border-radius: 5px;
    width: 100%;
}
.contact-us-form p span.wpcf7-form-control-wrap:nth-child(2n) {
    margin-right: 0 !important;
}
input.wpcf7-form-control.wpcf7-submit.has-spinner {
    background: #9e9e9e;
    color: #fff;
    font-size: 1.1rem;
}

.or-linebreak:after {
    content: "";
    width: 48%;
    display: inline-block;
    background: #fff;
    height: 1px;
	position: absolute;
    right: 0;
	top: 12px;
}
.or-linebreak:before {
    content: "";
    width: 48%;
    display: inline-block;
    background: #fff;
    height: 1px;
	position: absolute;
    left: 0;
	top: 12px;
}
.or-linebreak {
    text-align: center;
    width: 100%;
}
.contact-details a {
    color: #fff;
}
.contact-details strong {
    font-family: 'Gotham-Medium';
}
.contact-details {
    display: flex;
    justify-content: space-between;
    margin-top: 30px;
    font-family: 'Gotham-Book';
    color: #fff;
}

/* Blog */

.newsTitle h3 {
    font-family: 'NeueHaasUnica-Regular';
    font-size: 1.7rem;
    color: #181819;
    margin: 10px 0;
    letter-spacing: -1px;
    line-height: 2.2rem;
    min-height: 81px;
}
.newsTitle p.date {
    color: #ff0c00 !important;
    text-transform: uppercase;
    letter-spacing: 3px;
    font-family: 'NeueHaasUnica-Regular';
}

a.btn-underline {
    font-size: 1.2rem;
    color: #181819;
    border-bottom: 2px solid;
    font-family: 'NeueHaasUnica-Regular';
}

.newsTitle {
    background: #eaeaea;
    padding: 20px 30px 40px 30px;
}

.news-wrapper {
    border-radius: 5px;
}

.news-home-container.slick-initialized.slick-slider {
    margin-top: 10%;
}
.news-home-container .slick-prev, .slick-next {
    top: -15%;
}
.news-home-container .slick-prev {
    left: 0;
}
.news-home-container .slick-next {
    left: 90px;
}
.news-home-container .slick-slide {
    margin: 0 10px;
}

.slick-next:before {
    content: '';
    background: url(https://empirecorpafrica.co.za/wp-content/uploads/2024/01/arrow-news-next.svg);
    background-size: contain;
    background-repeat: no-repeat;
    width: 80px;
    height: 50px;
    display: inline-block;
}

.slick-prev:before {
    content: '';
    background: url(https://empirecorpafrica.co.za/wp-content/uploads/2024/01/arrow-news-prev.svg);
    background-size: contain;
    background-repeat: no-repeat;
    width: 80px;
    height: 50px;
    display: inline-block;
}

/* Footer */

footer .et_pb_row_0_tb_footer .et_pb_column:first-child {
    width: 40%;
}
footer .et_pb_row_0_tb_footer .et_pb_column:nth-child(2) {
    width: 60% !important;
}
footer .et_pb_column {
    width: auto !important;
}
footer .et_pb_row {
    display: flex;
    justify-content: space-evenly;
}

footer img.wp-image-12 {
    width: auto;
    height: 220px;
}
footer h2 {
    font-size: 2.5rem !important;
    margin-bottom: 10px;
}
footer h3 {
    font-size: 1.5rem !important;
    font-family: 'Gotham-Medium';
    margin-bottom: 20px;
}

footer hr {
    margin-bottom: 30px;
}
footer a {
	font-family: Gotham-Book;
	color: #999999;
	font-size: 1rem;
}
footer strong a {
    color: #fff !important;
}
footer strong {
    font-family: 'Gotham-Medium';
    color: #fff;
}

footer hr + h3 {
    margin-bottom: 0;
}

/* Gallery */

.et_pb_gutters3 .et_pb_column_4_4 .et_pb_grid_item {
    width: 23.5%;
    margin-right: 2%;
}
.et_pb_gallery_image.landscape img {
    border-radius: 10px;
}

/* Testimonials */

div#comments p {
    font-size: 1.2rem;
    font-family: 'NeueHaasUnica-Medium';
    color: #fff;
}

#comments cite {
    font-family: NeueHaasDisplay-Medium;
    font-size: 1.2rem;
    margin-top: 10px;
    display: block;
}
div#comments div {
    width: 70%;
    text-align: center;
    margin: 0 auto 20px;
}

/* Nav */
header#main-header {
    height: 80px;
}
div#et-top-navigation {
    display: none;
}
.logo_container {
    height: 80px !important;
}
.edfm-toggle {
    display: block !important;
}

.edfm-fly-menu-wrapper-inner {
    background: #181819 !important;
    width: 100%;
}

.slide-menu a {
    font-family: 'NeueHaasUnica-Regular';
    color: #fff;
}

.slide-menu .menu-nav {
    width: 30%;
    margin-right: 10%;
    border-right: 1px solid #4d4d4d;
}
.slide-menu a {
    display: block;
}

.slide-menu {
    display: flex;
    text-align: left;
    position: relative;
    top: 50%;
    transform: translateY(-50%);
    padding: 0 5%;
}

div#mCSB_1_container, .edfm-fly-menu-body, .edfm-body-additional-content {
    height: 100%;
}

.menu-items a {
    font-size: 1.4rem;
    text-transform: uppercase;
    letter-spacing: 2px;
    margin-bottom: 10px;
    color: #b7b4b4;
}


.slide-menu h2.section {
    margin-bottom: 30px;
}

.edfm-fly-menu-wrapper-inner {
    padding-top: 0;
    padding-bottom: 0;
}
.service-menu {
    width: 65%;
}
.service-item a {
    font-size: 3vw;
    padding: 0 0 15px;
    letter-spacing: -1px;
}

.edfm-fly-menu-body {
    padding-top: 0;
}
header#main-header {
    z-index: 999999;
    height: 80px;
}

/* Footer Menu */

.menu-nav .contact-details div {
    margin-bottom: 15px;
}
.menu-nav .contact-details a {
    display: inline;
}
.menu-nav .contact-details {
    display: block !important;
}

/* Service Pages */

.service-section-page .service-title {
    margin-bottom: 20px;
}
.service-section-page .service-title h3 {
    color: #181819;
    font-size: 2rem;
    margin-left: 20px;
}
.service-section-page .service-title img {
    height: 40px;
    filter: invert(1);
}

.service-section-page p {
    font-size: 1.2rem;
    font-family: 'NeueHaasUnica-Light';
    color: #181819;
}

.et_pb_toggle {
    margin: 0 !important;
    border: none;
    border-bottom: 1px solid #999999;
    background: transparent;
    padding: 30px 0;
}
h5.et_pb_toggle_title {
    font-size: 1.2rem;
    text-transform: uppercase;
    letter-spacing: 1.4px;
    font-family: 'NeueHaasUnica-Medium';
}
.et_pb_toggle_content {
    padding-top: 20px;
    position: relative;
    font-family: 'NeueHaasUnica-Regular';
}
.service-intro .et_pb_text_inner {
    font-size: 2rem;
    color: #181819;
    line-height: 2.8rem;
    letter-spacing: -2px;
}

.service-section-page.dark .service-title h3 {
    color: #f4f4f4 !important;
}
.service-section-page.dark .service-title img {
    filter: invert(0)!important;
}
.service-section-page.dark p {
    color: #f4f4f4;
}
.service-section-page.dark h5.et_pb_toggle_title {
    color: #f4f4f4;
}

.page-hero {
    height: 40vh;
}
.page-hero .et_pb_column {
    position: absolute;
    bottom: 0;
}

.faqs h2 {
    font-size: 2rem;
    color: #181819;
    text-align: center;
}

.edfm-toggle {
    width: 60px;
    background: transparent;
}

.edfm-toggle > div {
    background: #f4f4f4;
    height: 3px;
    width: 60px;
}

/* Services */

.service-slider {
    height: 100%;
    min-height: 100%;
}
.et_pb_slides, .et_pb_slide, .et_pb_slide img {
    height: 100%;
}


@media(min-width:1281px) {
.container, .et_pb_row {
    width: 90%;
    max-width: 100%;
}
}

.edfm-toggle-wrapper {
    top: 25px;
}
.edfm_position_right .edfm-toggle-wrapper {
    right: 5%;
}

@media(max-width:980px) {
.location-details .et_pb_column {
    border-right: none;
    width: 100%;
}
.contact-wrapper {
    text-align: center;
}
.hero-section h3 {
    font-size: 4vw;
    margin-left: 7px;
}

.hero-bottom-links {
    order: 2;
    margin-top: 30px;
    width: 100%;
}

.hero-bottom {
    margin-left: 0;
    margin-top: -10px;
    flex-wrap: wrap;
}
.hero-section h2 {
    font-size: 10vw;
    width: 100%;
    text-align: right;
    margin-top: 10px;
}

#et_mobile_nav_menu {
    display: none;
}

.service-wrapper {
    width: 100%;
    margin-right: 0;
    margin-bottom: 10%;
    padding-bottom: 10%;
    border-bottom: 1px solid #656565;
}

.centered-headings h2 {
    font-size: 2.5rem;
}
.centered-headings h3 {
    font-size: .8rem;
}

.location-details {
    width: 100%;
    display: block;
    padding-bottom: 0;
}
.contact-area h3 {
    font-family: 'Gotham-Medium';
    font-size: 1.2rem;
}
.contact-wrapper {
    margin-bottom: 30px;
    padding-bottom: 30px;
    border-bottom: 1px solid #656565;
}

.contact-bold a {
    font-size: 1rem;
}
.contact-bold a:first-child {
    margin-bottom: 10px;
    display: inline-block;
}
.contact-heading h2 {
    font-size: 2.2rem;
    line-height: 2.5rem;
}
.contact-heading h3 {
    font-size: 1rem;
    line-height: 1.4rem;
}

.contact-us-form p {
    display: block;
    flex-wrap: wrap;
}

.contact-us-form input, select {
    padding: 20px !important;
    border: none !important;
    border-radius: 5px;
    width: 100%;
    margin-bottom: 10px !important;
}

.contact-details {
    display: block;
}
.contact-details div {
    margin-bottom: 20px;
}
.location-details .et_pb_column {
    padding: 0 20px;
}
.clients {
    display: block;
}

.clients h2.section {
    width: 100% !important;
    margin-top: 30px;
}
.clients .clients-slider {
    width: 100% !important;
    margin: 30px 0 30px;
    border-left: none;
    padding-left: 0;
    flex-wrap: wrap;
    justify-content: center;
    gap: 30px;
}
.clients img {
    height: 51px;

}
div#comments div {
    width: 90%;
    text-align: center;
    margin: 0 auto 20px;
}
.service-cta {
    display: block;
    justify-content: space-between;
}
a.btn {
    font-size: .9rem;
}
.service-cta-buttons {
    display: flex;
}
.service-cta-buttons {
    display: flex;
    margin-top: 30px;
}
div#contact-us {
    padding: 0;
}
.et_pb_gutters3 .et_pb_column_4_4 .et_pb_grid_item {
    width: auto;
}
#about .et_pb_row.et_pb_row_3 {
    padding-bottom: 78%;
}
.ancel-image {
    position: absolute;
    top: auto;
    bottom: -23%;
    left: 4%;
    width: 85% !important;
}
#about span.background-text {
    font-size: 36vw;
}
#about .et_pb_row.background-text {
    bottom: -5%;
}
footer .et_pb_row {
    display: block;
    padding: 5%;
}
footer .et_pb_row_0_tb_footer .et_pb_column:nth-child(2) {
    width: 100% !important;
}
.et_pb_text_2_tb_footer .et_pb_text_inner, .et_pb_text_3_tb_footer .et_pb_text_inner {
    text-align: center;
}
footer .et_pb_column {
    width: 100% !important;
}
.slide-menu {
    display: block;
    text-align: left;
    position: relative;
    top: 50%;
    transform: translateY(-50%);
    padding: 0 5%;
}
.slide-menu .menu-nav {
    width: 100%;
    margin-right: 0;
    border-right: none;
}
.menu-nav .contact-details {
    display: none !important;
}
.menu-items a {
    font-size: 1.2rem;
    text-transform: uppercase;
    letter-spacing: 2px;
    margin-bottom: 7px;
    color: #b7b4b4;
}
.slide-menu {
    display: block;
    text-align: left;
    position: relative;
    top: 50%;
    transform: translateY(-50%);
    padding: 0 5%;
}
.slide-menu .menu-nav {
    width: 100%;
    margin-right: 0;
    border-right: none;
}

.service-item a {
    font-size: 1.2rem;
    padding: 0 0 10px;
    letter-spacing: -1px;
}
.service-menu {
    width: 100%;
    margin-top: 20px;
    border-top: 1px solid #656565;
    padding-top: 20px;
}

.slide-menu h2.section {
    margin-bottom: 20px;
}
.clients-slider button {
    display: none !important;
}
.page-hero h2 {
    font-size: 2rem;
}
.page-hero h3 {
    font-size: 1.2rem;
}
.service-intro .et_pb_text_inner {
    font-size: 1.5rem;
    color: #181819;
    line-height: 2.3rem;
    letter-spacing: -1px;
}
.service-slider {
    height: 100%;
    min-height: 500px;
}
.et_pb_slides, .et_pb_slide, .et_pb_slide img {
    height: 100%;
    min-height: 500px;
}
.service-title {
    display: block;
    align-items: baseline;
}
.service-section-page .service-title h3 {
    color: #181819;
    font-size: 2.2rem;
    margin-left: 0;
    line-height: 2.8rem;
}
.service-section-page .service-title img {
    height: 70px;
    filter: invert(1);
}
h5.et_pb_toggle_title {
    font-size: 1rem;
}
a.btn.black-outline {
    border: 2px solid;
    margin-left: 10px;
}
.news-home-container .slick-prev, .slick-next {
    top: auto;
    bottom: -12%;
    left: 3% !important;
}
.news-home-container .slick-next {
    left: 30% !important;
}
.et_fixed_nav #main-header {
    position: fixed;
}
}