/*
Theme Name: Red Earth NDT (PTY) Ltd
Author: Lucas Stevens
Author URI: https://www.lucasstevens.co.za
Version: 2.0
Text Domain: redearthndttheme
*/

/*
Table of contents:
~~~~~~~~~~~~~~~~~
1.  Typography/General
2.  Header
3.  Brand
4.  Get a quote
5.  Search
6.  Navigation
7.  Mobile navigation toggle
8.  Slider
9.  Content Section
10. Circle Progress
10. Latest Projects
11. Icons Block
12. Footer/Copyright
*/

/* 1. Typography/General */
body {
    color: #666666;
    font-family: 'Yantramanav', sans-serif;
    font-weight: 400;
    font-size: 16px;
}
body * {
    transition: all 0.3s;
    -webkit-transition: all 0.3s;
    -o-transition: all 0.3s;
    -moz-transition: all 0.3s;
}
body p {
    line-height: 26px;
}

h1, h2, h3, h4, h5, h6 {
    font-family: 'Teko', sans-serif;
    font-weight: 500;
    color: #111111;
    margin: 0 0 15px 0;
    position: relative;
}

h1 {
    font-size: 28px;
}
h2 {
    font-size: 26px;
    font-weight: 500;
}
h3 {
    font-size: 24px;
    font-weight: 500;
}
h4 {
    font-size: 20px;
    font-weight: 500;
}
h5 {
    font-size: 18px;
    font-weight: 500;
}
h6 {
    font-size: 16px;
    font-weight: 500;
}

hr {
    border-bottom: 1px solid #e2e2e2;
    margin: 30px 0;
}

.input-group .btn {
    height: 40px;
}

.btn {
    background-color: #ad1d21;
    border-radius: 0;
    color: #ffffff;
    font-family: 'Teko', sans-serif;
    font-weight: 500;
    margin: 15px 0 30px 0;
    padding: 15px 50px 15px 20px;
    position: relative;
    text-transform: uppercase;
}
.btn i {
    color: #ffffff;
    font-size: 16px;
    margin-right: 5px;
}

.btn span {
    display: inline-block;
    padding-right: 5px;
    position: relative;
    transition: all 0.3s;
    -moz-transition: all 0.3s;
    -webkit-transition: all 0.3s;
    -o-transition: all 0.3s;
}
.btn span::before {
    background: #ffffff;
    content: "";
    height: 2px;
    opacity: 1;
    position: absolute;
    right: 0;
    top: 7px;
    -webkit-transition: all .3s ease-out;
    transition: all .3s ease-out;
    visibility: visible;
    width: 0;
}
.btn:hover span::before {
    right: -30px;
    width: 25px;
}
.btn span::after {
    color: #ffffff;
    content: "\f0da";
    display: inline-block;
    font: var(--fa-font-solid);
    font-size: 18px;
    left: auto;
    position: absolute;
    right: -10px;
    -webkit-font-smoothing: antialiased;
    top: -1px;
    -webkit-transition: all .3s ease-out;
    transition: all .3s ease-out;
}
.btn:hover span::after {
    color: #ffffff;
    right: -33px;
}

.btn.btn1 {
    border-top-left-radius: 15px;
}
.btn.btn2 {
    border-top-right-radius: 15px;
}
.btn.btn3 {
    border-bottom-right-radius: 15px;
}
.btn.btn4 {
    border-bottom-left-radius: 15px;
}
.btn.btn4.on-img {
    bottom: -30px;
    margin: 0;
    position: absolute;
    right: 50px;
}
.btn.btn4.on-img:hover {
    background-color: #111111;
    border-color: #111111;
    color: #ffffff;
}

.btn.primary {
    background-color: #ad1d21;
    border: 2px solid #ad1d21;
    color: #ffffff;
}
.btn.primary.lite:hover {
    background-color: #ffffff;
    border: 2px solid #ffffff;
    color: #111111;
}
.btn.primary.lite:hover span::before {
    background-color: #111111;
}
.btn.primary.lite:hover span::after {
    color: #111111;
}
.btn.primary.dark:hover {
    background-color: #111111;
    border: 2px solid #111111;
    color: #ffffff;
}
.btn.primary.dark:hover span::before {
    background-color: #ffffff;
}
.btn.primary.dark:hover span::after {
    color: #ffffff;
}

.btn.secondary {
    background-color: transparent;
    border: 2px solid #ad1d21;
    color: #ad1d21;
}



a {
    color: #111111;
}
a:focus, a:hover {
    color: #ad1d21;
    text-decoration: none;
}

ul {
    list-style: none;
    margin: 0 0 30px 0;
    padding: 0;
}
ul li {
    position: relative;
}

img {
    height: auto;
    max-width: 100%;
}

.extra-padding-x-30 {
    padding: 0 30px;
}

.for-mobile, .for-tablet {
    display: none !important;
}

.backdrop {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(0, 0, 0, 0.5);
    display: none;
    z-index: 2000;
}

.container-fluid {
    width: 90% !important;
}

/* 1. Typography/General */

/* 2. Header */
body.admin-bar header.primary {
    top: 32px;
}
header.primary {
    background-color: transparent;
    left: 0;
    position: absolute;
    right: 0;
    text-align: center;
    top: 0;
    width: 100%;
    z-index: 9;
}
/* 2. Header */

/* 3. Brand */
.brand {
    display: block;
    float: left;
    padding: 18px 0;
    width: 265px;
}
.brand a {
    display: inline-block;
    font-family: 'Teko', sans-serif;
    font-size: 18px;
    font-weight: 500;
}
/* 3. Brand */

/* 4. Contact Button */
.contact-btn {
    float: right;
}
.contact-btn a {
    background-color: #ad1d21;
    border-bottom-right-radius: 50px;
    color: #ffffff;
    display: block;
    font-family: 'Teko', sans-serif;
    font-size: 28px;
    font-weight: 400;
    padding: 28px 30px;
    text-transform: uppercase;
}
.contact-btn a:focus,
.contact-btn a:hover {
    background-color: #9e181c;
}
/* 4. Contact Button */

/* 5. Get a Quote */
.quote-btn {
    float: right;
    margin: 20px 20px 0 0;
}
.quote-btn a {
    background-color: #111111;
    color: #ffffff;
    display: block;
    font-family: 'Teko', sans-serif;
    font-size: 20px;
    font-weight: 400;
    min-width: 170px;
    padding: 15px 0;
    text-align: center;
    text-transform: uppercase;
}
.quote-btn a:focus,
.quote-btn a:hover {
    background-color: #ad1d21;
}
.quote-btn a span {
    display: inline-block;
    padding-right: 15px;
    position: relative;
    transition: all 0.3s;
    -moz-transition: all 0.3s;
    -webkit-transition: all 0.3s;
    -o-transition: all 0.3s;
}
.quote-btn a:focus span,
.quote-btn a:hover span {
    padding-right: 20px;
}
.quote-btn a span::before {
    background: #ffffff;
    content: "";
    height: 2px;
    opacity: 1;
    position: absolute;
    right: 10px;
    top: 11px;
    -webkit-transition: all .3s ease-out;
    transition: all .3s ease-out;
    visibility: visible;
    width: 0;
}
.quote-btn a:hover span::before {
    right: -10px;
    width: 25px;
}
.quote-btn a span::after {
    color: #ffffff;
    content: "\f0da";
    display: inline-block;
    font: var(--fa-font-solid);
    font-size: 18px;
    left: auto;
    position: absolute;
    right: 0;
    -webkit-font-smoothing: antialiased;
    top: 3px;
    -webkit-transition: all .3s ease-out;
    transition: all .3s ease-out;
}
.quote-btn a:hover span::after {
    color: #ffffff;
    right: -13px;
}
/* 5. Get a Quote */

/* 6. Navigation */
nav.menu {
    background-color: transparent;
}
nav.menu .menu-inner {
    background-color: #ffffff;
    border-bottom-right-radius: 60px;
    display: block;
    float: left;
    position: relative;
    width: 100%;
}
nav.menu .menu-inner::before {
    background-color: #ffffff;
    bottom: 0;
    content: "";
    display: block;
    height: 100%;
    left: auto;
    position: absolute;
    right: calc(100% - 1px);
    top: 0;
    width: 1000000%;
}
nav.menu #menu-list ul {
    display: inline-block;
}
nav.menu #menu-list ul.nav-list {
    display: block;
    float: left;
    margin: 10px auto 0 75px;
}
nav.menu #menu-list ul li {
    display: block;
    float: left;
    
}
nav.menu #menu-list ul li a {
    color: #111111;
    display: block;
    font-family: 'Teko', sans-serif;
    font-size: 20px;
    font-weight: 400;
    line-height: normal;
    padding: 25px 20px;
    text-transform: uppercase;
}
body.fixed-nav nav.menu #menu-list ul li a {
    color: #ffffff;
}
body.fixed-nav nav.menu #menu-list ul li a:hover {
    color: #b42117;
}
nav.menu #menu-list ul li a:hover,
nav.menu #menu-list ul li.current-menu-item a,
body.fixed-nav nav.menu #menu-list ul li.current-menu-item a {
    color: #b42117;
}

header nav.menu #menu-list ul > li.dropdown {
    position: static;
}
header nav.menu #menu-list ul > li.dropdown > ul.dropdown-menu {
    border: none;
    border-radius: 0;
    box-shadow: 0 0 20px rgba(0,0,0,.15);
    display: inline-block;
    margin: 0 auto 0 auto;
    min-width: 100%;
    opacity: 0;
    top: 100%;
    transform: translateY(-10px);
    transform: scaleY(0);
    transition: all .2s;
    -moz-transition: all .2s;
    -webkit-transition: all .2s;
    -o-transition: all .2s;
    visibility: hidden;
    width: 100%;
}
body.fixed-nav header nav.menu #menu-list ul > li.dropdown > ul.dropdown-menu {
    margin: 0 auto 0 auto;
}
header nav.menu #menu-list ul > li.dropdown:hover > ul.dropdown-menu {
    opacity: 1;
    transform: translateY(0px);
    transform: scaleY(1);
    transition: all .5s;
    -moz-transition: all .5s;
    -webkit-transition: all .5s;
    -o-transition: all .5s;
    visibility: visible;
}
header nav.menu #menu-list ul > li.dropdown > ul.dropdown-menu > li {
    float: left;
    position: relative;
    width: 50%;
}
header nav.menu #menu-list ul > li.dropdown > ul.dropdown-menu > li > a {
    background-color: #ffffff;
    color: #241e20;
    overflow: hidden;
    padding: 15px 20px;
    position: relative;
    transition: all .3s;
    -moz-transition: all .3s;
    -webkit-transition: all .3s;
    -o-transition: all .3s;
    width: auto;
}
header nav.menu #menu-list ul > li.dropdown > ul.dropdown-menu > li.current-menu-item > a {
    color: #b42117;
}
header nav.menu #menu-list ul > li.dropdown > ul.dropdown-menu > li > a::after {
    background-color: transparent;
    border-radius: 50%;
    content: "";
    height: 5px;
    left: 50px;
    position: absolute;
    top: 100%;
    transition: all .5s;
    -moz-transition: all .5s;
    -webkit-transition: all .5s;
    -o-transition: all .5s;
    width: 5px;
    z-index: -1;
}
header nav.menu #menu-list ul > li.dropdown > ul.dropdown-menu > li:hover > a {
    color: #b42117;
}
/* 6. Navigation */

/* 7. Mobile navigation toggle */
nav.menu .mobile-toggle {
    display: none;
    float: right;
    margin-left: 15px;
    margin-top: 16px;
}
nav.menu .mobile-toggle a:focus i,
nav.menu .mobile-toggle a:hover i {
    color: #ad1d21;
}
nav.menu .mobile-toggle a i {
    color: #b42117;
    font-size: 28px;
}
body.fixed-nav nav.menu .mobile-toggle a i {
    color: #ffffff;
}
body.fixed-nav nav.menu .mobile-toggle a:focus i,
body.fixed-nav nav.menu .mobile-toggle a:hover i {
    color: #ad1d21;
}
/* 7. Mobile navigation toggle */

/* 8. Slider */
body.home section.slider {
    padding: 0 0;
}
section.slider .owl-carousel.slide .item .featured {
    display: block;
    height: 90vh;
    margin-bottom: 0;
    overflow: hidden;
    position: relative;
    width: 100%;
}
section.slider .owl-carousel.slide .item .featured figure {
    height: 100%;
    left: 0;
    position: absolute;
    top: 0;
    width: 100%;
    z-index: -2;
}
section.slider .owl-carousel.slide .item .featured .overlay {
    background-color: #ffffff;
    bottom: 0;
    height: 100%;
    left: 0;
    position: static;
    right: auto;
    top: 0;
    width: 24%;
}
section.slider .owl-carousel.slide .item .featured .details {
    background-color: #111111;
    border-top-left-radius: 50px;
    height: 60vh;
    left: 12%;
    overflow: unset;
    padding: 85px 50px;
    position: absolute;
    top: 25%;
    width: 24%;
}
section.slider .owl-carousel.slide .item .featured .details h1 {
    color: #ffffff;
    font-size: 50px;
    text-shadow: 2px 2px 1px #000000;
    width: 300%;
}

section.slider ul.social-links {
    display: block;
    left: 6%;
    list-style: none;
    margin: 0;
    padding: 0;
    position: absolute;
    top: 60%;
    -webkit-transform: translateY(-50%);
    -ms-transform: translateY(-50%);
    -moz-transform: translateY(-50%);
    transform: translateY(-50%);
    width: 95px;
    z-index: 2;
}
section.slider ul.social-links::before {
    background: #111111;
    content: "";
    display: inline-block;
    height: 80px;
    margin: 0 7px;
    vertical-align: middle;
    width: 1px;
}
section.slider ul.social-links::after {
    background-color: #ffffff;
    color: #111111;
    content: "Follow Us";
    display: inline-block;
    font-size: 14px;
    font-weight: 700;
    height: 20px;
    left: 8px;
    letter-spacing: .5px;
    padding-left: 5px;
    position: absolute;
    text-transform: uppercase;
    top: 0;
    -webkit-transform: translateX(-50%) translateY(-50%) rotate(-90deg);
    transform: translateX(-50%) translateY(-50%) rotate(-90deg);
}
section.slider ul.social-links li {
    display: block;
    padding: 5px 0;
}
section.slider ul.social-links li a i {
    font-size: 20px;
}

section.slider .owl-carousel.slide .owl-nav {
    bottom: 10%;
    position: absolute;
    right: 10%;
}
section.slider .owl-carousel.slide .owl-nav .owl-prev,
section.slider .owl-carousel.slide .owl-nav .owl-next {
    margin-top: 15px;
}
section.slider .owl-carousel.slide .owl-nav button {
    background: transparent;
    border: none;
    color: #ffffff;
    height: 50px;
    position: relative;
    width: 50px;
    z-index: 0;
}
section.slider .owl-carousel.slide .owl-nav button i {
    font-size: 30px;
}
section.slider .owl-carousel.slide .owl-nav button:hover {
    color: #ad1d21;
}
/* 8. Slider */

/* 9. Headers */
section.header {
    background-position: center center;
    background-repeat: no-repeat;
    background-size: cover;
    overflow: visible;
    padding: 0 0;
}
body.page-about-red-earth-ndt section.header {
    background-image: url(images/headers/about.jpg);
}
body.page-non-destructive-testing-services section.header {
    background-image: url(images/headers/services.jpg);
}
body.page-contact-red-earth-ndt section.header {
    background-image: url(images/headers/contact.jpg);
}
body.page-quote section.header {
    background-image: url(images/headers/quote.jpg);
}
section.header .header-title {
    min-height: 300px;
    padding: 150px 0 0 0;
    position: relative;
}
section.header .header-title h1 {
    color: #ffffff;
    font-size: 50px;
    text-shadow: 2px 2px 1px #111111;
}
ul.breadcrumb {
    background-color: #111111;
    border: 0;
    border-radius: 30px 0 0 0;
    bottom: -30px;
    left: 0;
    margin: 0;
    padding: 20px 30px;
    position: absolute;
}
ul.breadcrumb li {
    font-family: 'Teko', sans-serif;
    font-size: 20px;
    font-weight: 400;
    text-transform: uppercase;
}
ul.breadcrumb li::before {
    display: none !important;
}
ul.breadcrumb li.separator {
    padding: 0 5px;
}
ul.breadcrumb li a {
    color: #ffffff;
}
ul.breadcrumb li.item-current,
ul.breadcrumb li.active {
    color: #ad1d21;
}
ul.breadcrumb li.item-current strong {
    color: #ad1d21;
    font-weight: 400;
}
/* 9. Headers */

/* 9. Intersection */
section.intersection .card {
    background-color: #ffffff;
    border-bottom-right-radius: 50px;
    min-height: 220px;
    padding: 30px 30px;
}
section.intersection .card h2 {
    color: #111111;
    font-size: 20px;
    margin-bottom: 20px;
}
section.intersection .card h2::before {
    background-color: #ad1d21;
    content: "";
    height: 2px;
    position: absolute;
    right: calc(100% + 15px);
    top: 7px;
    width: 30px;
}
section.intersection .card h2 i {
    float: right;
    font-size: 30px;
    margin-top: -10px;
}
section.intersection .card.active {
    background-color: #111111;
    color: #666666;
}
section.intersection .card.active h2 {
    color: #ffffff;
    display: block;
}
section.intersection .card.active h2 i {
    color: #ad1d21;
}
/* 9. Intersection */

/* 9. Content Section */
section {
    overflow: hidden;
    padding: 75px 0 50px 0;
    position: relative;
}
body.home section {
    padding: 50px 0;
}
body.home section.page {
    padding-bottom: 125px;
}
section.page {
    padding-bottom: 75px;
}
body.page-non-destructive-testing-services section.page {
    padding-bottom: 125px;
}

section.page h1 {
    font-size: 40px;
    line-height: 40px;
    margin-bottom: 50px;
}
section.page h2 {
    color: #b42117;
    font-family: 'Yantramanav', sans-serif;
    font-size: 16px;
    font-weight: 500;
    margin-bottom: 15px;
    text-transform: uppercase;
}

section.page figure {
    border-top-right-radius: 50px;
    height: 300px;
    margin: 0;
    width: auto;
}
section.page figure::before {
    display: none;
}

section.page figure.intro {
    border-top-right-radius: 50px;
    height: 450px;
    margin: 30px 0 0 30px;
    position: relative;
    width: auto;
}
section.page figure.intro::before {
    background-color: #ad1d21;
    border-top-right-radius: 50px;
    content: "";
    display: block;
    height: 100%;
    left: -30px;
    position: absolute;
    top: -30px;
    width: 90%;
    z-index: -1;
}

section .card {
    position: relative;
}

section.page ul li {
    padding: 3px 0 3px 25px;
}
section.page ul li::before {
    color: #ad1d21;
    content: "\f101";
    display: inline-block;
    font: var(--fa-font-solid);
    font-size: 12px;
    left: 0;
    position: absolute;
    right: auto;
    -webkit-font-smoothing: antialiased;
    top: 6px;
    -webkit-transition: all .3s ease-out;
    transition: all .3s ease-out;
}

.circle-progress {
    margin-bottom: 30px;
}

.modal {
    padding: 0 !important;
}
.modal .modal-dialog {
    margin: 5% auto;
}
.modal .modal-dialog .modal-content {
    background-color: transparent;
    border: none;
    border-radius: 0;
    box-shadow: none;
}
.modal .modal-dialog .modal-content .modal-header {
    border: none;
    padding: 0;
}
.modal .modal-dialog .modal-content .modal-header button.close {
    color: #ffffff;
    font-size: 30px;
    opacity: 0.75;
    text-shadow: 0 1px 0 #000000;
}
.modal .modal-dialog .modal-content .modal-header button.close:focus,
.modal .modal-dialog .modal-content .modal-header button.close:hover {
    opacity: 1;
}
.modal .modal-dialog .modal-content .modal-body {
    -webkit-box-shadow: 0 5px 15px rgba(0,0,0,.5);
    box-shadow: 0 5px 15px rgba(0,0,0,.5);
    padding: 0;
}
.modal .modal-dialog .modal-content .modal-body video {
    display: block;
    width: 100%;
}

section.services-intro {
    padding: 50px 0;
}
section.services-intro h1 {
    font-size: 40px;
    line-height: 40px;
    margin-bottom: 50px;
}
section.services-intro h2 {
    color: #b42117;
    font-family: 'Yantramanav', sans-serif;
    font-size: 16px;
    font-weight: 500;
    margin-bottom: 15px;
    text-transform: uppercase;
}
section.services-intro .card.service-intro {
    padding: 0 0;
}
section.services-intro .card.service-intro h3 {
    display: block;
    padding-left: 40px;
}
section.services-intro .card.service-intro:hover h3 {
    color: #ad1d21;
}
section.services-intro .card.service-intro h3::before {
    background-color: #ad1d21;
    content: "";
    height: 2px;
    position: absolute;
    right: calc(100% - 30px);
    top: 25px;
    width: 30px;
}
section.services-intro .card.service-intro h3 span {
    display: inline-block;
    width: 80%;
}
section.services-intro .card.service-intro h3 i {
    color: #111111;
    float: right;
    font-size: 40px;
}
section.services-intro .card.service-intro figure {
    border-top-right-radius: 50px;
    height: 300px;
    overflow: hidden;
    position: relative;
}
section.services-intro .card.service-intro figure .overlay {
    background-color: #111111;
    bottom: 0;
    height: 0;
    left: 0;
    opacity: 0;
    padding: 50px;
    position: absolute;
    right: 0;
    top: auto;
    width: 100%;
}
section.services-intro .card.service-intro:hover figure .overlay {
    height: 100%;
    opacity: 1;
}

section.logos-section {
    padding: 50px 0 100px 0;
}
section.logos-section .card.title {
    background-color: #ad1d21;
    border-top-left-radius: 50px;
    padding: 50px 50px;
}
section.logos-section .card.title h1 {
    color: #ffffff;
    margin: 0;
}
section.logos-section .owl-carousel {
    overflow-x: hidden;
    padding: 30px 0;
}
section.logos-section .owl-carousel .item {
    text-align: center;
    width: auto;
    padding: 0 15px;
    float: left;
    position: relative;
}
section.logos-section .owl-carousel .item img {
    height: 130px;
    width: 225px;
}

section.team {
    padding: 50px 0 125px 0;
}
section.team h1 {
    font-size: 40px;
    line-height: 40px;
    margin-bottom: 50px;
    text-align: center;
}
section.team h2 {
    color: #b42117;
    font-family: 'Yantramanav', sans-serif;
    font-size: 16px;
    font-weight: 500;
    margin-bottom: 15px;
    text-align: center;
    text-transform: uppercase;
}
section.team .card {
    
}
section.team .card figure {
    border-bottom-right-radius: 50px;
    height: 400px;
}
section.team .card .title {
    padding: 25px 0 0 50px;
    position: relative;
}
section.team .card .title::before {
    background-color: #ad1d21;
    content: "";
    height: 2px;
    position: absolute;
    right: calc(100% - 30px);
    top: 50px;
    width: 30px;
}
section.team .card .title h3 {
    display: block;
    font-size: 30px;
    font-weight: 500;
}
section.team .card .title h4 {
    color: #ad1d21;
    margin-bottom: 5px;
    text-transform: uppercase;
}

body.page-non-destructive-testing-services section.page .card {
    margin-bottom: 30px;
}
body.page-non-destructive-testing-services section.page .card figure {
    height: 360px;
}
body.page-non-destructive-testing-services section.page .card .details {
    background-color: #ffffff;
    padding: 30px 30px;
}
body.page-non-destructive-testing-services section.page .card:hover .details {
    background-color: #111111;
}
body.page-non-destructive-testing-services section.page .card .details .title {
    padding-left: 15px;
    position: relative;
}
body.page-non-destructive-testing-services section.page .card .details .title::before {
    background-color: #ad1d21;
    content: "";
    height: 2px;
    position: absolute;
    right: calc(100% + 15px);
    top: 10px;
    width: 30px;
}
body.page-non-destructive-testing-services section.page .card .details .title h3 {
    display: inline-block;
}
body.page-non-destructive-testing-services section.page .card:hover .details .title h3 {
    color: #ffffff;
}
body.page-non-destructive-testing-services section.page .card .details .title i {
    color: #111111;
    float: right;
    font-size: 30px;
    margin-top: -5px;
}
body.page-non-destructive-testing-services section.page .card:hover .details .title i {
    color: #ad1d21;
}
body.page-non-destructive-testing-services section.page .card:hover .details .content {
    color: #666666;
}

body.page-contact-red-earth-ndt section.page {
    padding: 75px 0 0 0;
}
body.page-contact-red-earth-ndt section.page.contact {
    background-image: url(images/backgrounds/earth.png);
    background-position: right top;
    background-repeat: no-repeat;
    background-size: contain;
    padding: 50px 0 125px 0;
}
body.page-contact-red-earth-ndt section.page.contact .card {
    background-color: #111111;
    border-top-right-radius: 50px;
    margin-bottom: 30px;
    min-height: 350px;
    padding: 30px 50px;
}
body.page-contact-red-earth-ndt section.page.contact .card ul {
    margin-bottom: 0;
}
body.page-contact-red-earth-ndt section.page.contact .card ul li {
    padding: 30px 0 30px 100px;
}
body.page-contact-red-earth-ndt section.page.contact .card ul li::before {
    display: none;
}
body.page-contact-red-earth-ndt section.page.contact .card ul li i {
    background-color: #ad1d21;
    border-radius: 50%;
    color: #ffffff;
    font-size: 30px;
    height: 80px;
    left: 0;
    padding: 25px 29px;
    position: absolute;
    width: 80px;
}
body.page-contact-red-earth-ndt section.page.contact .card ul li:hover i {
    background-color: #ffffff;
    color: #ad1d21;
}
body.page-contact-red-earth-ndt section.page.contact .card ul li span {
    color: #ffffff;
    font-family: 'Teko', sans-serif;
    font-size: 24px;
    font-weight: 500;
    text-transform: uppercase;
}
body.page-contact-red-earth-ndt section.page.contact .card ul li a {
    color: #666666;
}
body.page-contact-red-earth-ndt section.page.contact .card ul li a:focus,
body.page-contact-red-earth-ndt section.page.contact .card ul li a:hover {
    color: #ad1d21;
}

body.page-contact-red-earth-ndt section.page.contact .map-wrapper {
    border: 1px solid #111111;
    border-top-left-radius: 50px;
    margin-bottom: 30px;
}
body.page-contact-red-earth-ndt section.page.contact .map-wrapper iframe {
    border-top-left-radius: 50px;
    max-width: 100%;
}

body.page-quote section.page.quote {
    background-image: url(images/backgrounds/earth.png);
    background-position: left top;
    background-repeat: no-repeat;
    background-size: contain;
    padding: 50px 0 125px 0;
}
body.page-quote section.page.quote .form-wrapper label {
    display: none;
}
body.page-quote section.page.quote .form-wrapper .form-control {
    border-radius: 0;
    margin-bottom: 15px;
}
body.page-quote section.page.quote .form-wrapper .form-control:focus {
    border-color: #ad1d21;
    outline: 0;
    -webkit-box-shadow: inset 0 1px 1px rgba(0,0,0,.075),0 0 8px rgba(173,29,33,.6);
    box-shadow: inset 0 1px 1px rgba(0,0,0,.075),0 0 8px rgba(173,29,33,.6);
}
body.page-quote section.page.quote .form-wrapper .form-btn {
    background-color: #ad1d21;
    border: 2px solid #ad1d21;
    border-bottom-left-radius: 15px;
    border-bottom-right-radius: 15px;
    border-top-left-radius: 15px;
    border-top-right-radius: 0;
    color: #ffffff;
    display: block;
    font-family: 'Teko', sans-serif;
    font-size: 14px;
    font-weight: 500;
    margin: 15px 0 30px 0;
    padding: 15px 20px;
    position: relative;
    text-transform: uppercase;
    width: 100%;
}
body.page-quote section.page.quote .form-wrapper .form-btn:focus,
body.page-quote section.page.quote .form-wrapper .form-btn:hover {
    background-color: #111111;
    border-color: #111111;
    color: #ffffff;
}
body.page-quote section.page.quote .form-wrapper span.wpcf7-list-item {
    margin-left: 0;
}
body.page-quote section.page.quote .form-wrapper span.wpcf7-list-item label {
    display: block;
}
body.page-quote section.page.quote .form-wrapper .form-group .cf7sr-g-recaptcha > div {
    margin: 0 auto;
}

/* 9. Content Section */

/* 10. Circle Progress */
.circle-progress {
    background-color: #111111;
    border-top-left-radius: 50px;
    padding: 25px 0;
    text-align: center;
}
.card.circle {
    display: inline-block;
    line-height: 1.2;
    margin: 0;
    position: relative;
    text-align: center;
    width: 180px;
}
.card.circle canvas {
    height: 125px;
    vertical-align: top;
    width: 125px;
}
.card.circle strong {
    bottom: auto;
    color: #ffffff;
    font-family: 'Teko', sans-serif;
    font-size: 30px;
    height: 40px;
    left: 0;
    line-height: 40px;
    margin: auto auto;
    position: absolute;
    right: 0;
    text-align: center;
    top: 45px;
    width: 40px;
}
.card.circle strong i {
    color: #ffffff;
    font-size: 0.6em;
    font-style: normal;
    font-weight: 500;
    left: 100%;
    position: absolute;
    top: 0;
}
.card.circle h3 {
    color: #ffffff;
    display: block;
    margin: 10px 0 0 0;
}

/* 10. Circle Progress */

/* 11. Latest Projects */

/* 11. Latest Projects */

/* 12. Icons Block */

/* 12. Icons Block */

/* 13. Footer/Copyright */
footer {
    position: relative;
}
footer::before {
    background-color: #111111;
    border-top-right-radius: 50px;
    bottom: 0;
    content: "";
    height: 100%;
    left: 0;
    position: absolute;
    right: auto;
    top: 0;
    width: 95%;
}

section.footer,
section.copyright {
    background-color: #111111;
    color: #999999;
    overflow: visible;
    padding: 0 0 50px 0;
    position: relative;
}
section.footer::before,
section.copyright::before {
    background-color: #111111;
    bottom: 0;
    content: "";
    height: 100%;
    left: auto;
    position: absolute;
    right: calc(100% - 1px);
    top: 0;
    width: 1000000%;
}
section.footer h2 {
    color: #ffffff;
}
section.footer a {
    color: #ad1d21;
}
section.copyright a {
    color: #999999;
}
section.copyright p {
    font-style: italic;
    margin: 0;
}

section.footer .card.footer-1 {
    background-color: #ad1d21;
    border-top-right-radius: 50px;
    color: #ffffff;
    display: block;
    font-size: 24px;
    margin-top: -100px;
    padding: 50px 30px;
    text-align: center;
}
section.footer .card.footer-1 img {
    height: auto;
    margin-bottom: 30px;
    max-width: 100%;
}

section.footer .card.footer-2,
section.footer .card.footer-3 {
    padding-top: 50px;
}


section.footer .card.footer-2 h2,
section.footer .card.footer-3 h2 {
    margin-bottom: 30px;
    padding-bottom: 15px;
}
section.footer .card.footer-2 h2::after,
section.footer .card.footer-3 h2::after {
    background-color: #ad1d21;
    bottom: 0;
    content: "";
    height: 2px;
    left: 0;
    position: absolute;
    width: 100px;
}

section.footer .card.footer-2 ul li {
    display: block;
    padding-bottom: 6px;
}
section.footer .card.footer-2 ul li a {
    color: #999999;
    padding: 3px 0 3px 25px;
    position: relative;
}
section.footer .card.footer-2 ul li a::before {
    color: #ffffff;
    content: "\f101";
    display: inline-block;
    font: var(--fa-font-solid);
    font-size: 12px;
    left: 0;
    position: absolute;
    right: auto;
    -webkit-font-smoothing: antialiased;
    top: 6px;
    -webkit-transition: all .3s ease-out;
    transition: all .3s ease-out;
}
section.footer .card.footer-2 ul li a:focus,
section.footer .card.footer-2 ul li a:hover {
    color: #ad1d21;
}

section.footer .card.footer-3 p {
    margin-bottom: 15px;
}
section.footer .card.footer-3 a.contact {
    font-family: 'Teko', sans-serif;
    font-weight: 400;
    font-size: 28px;
}
section.footer .card.footer-3 a.contact:focus,
section.footer .card.footer-3 a.contact:hover {
    color: #ffffff;
}
section.footer .card.footer-3 i {
    color: #ffffff;
    margin-right: 10px;
}

section.copyright ul.socials {
    list-style: none;
    margin: 0;
    padding: 0;
}
section.copyright ul.socials li {
    display: inline-block;
    padding: 0 20px;
    position: relative;
}
section.copyright ul.socials li a {
    display: block;
}
section.copyright ul.socials li a i {
    color: #ffffff;
    font-size: 28px;
}
section.copyright ul.socials li a:focus i,
section.copyright ul.socials li a:hover i {
    color: #ad1d21;
}
/* 13. Footer/Copyright */

#scroll_up {
    border-bottom-left-radius: 30px;
    border-bottom-right-radius: 30px;
    border-top-left-radius: 0;
    border-top-right-radius: 30px;
    bottom: 34px;
    color: #fff;
    display: none;
    font-size: 0;
    font-weight: 900;
    height: 0;
    line-height: 25px;
    padding-top: 6px;
    position: fixed;
    right: 20px;
    text-align: center;
    transition: all .2s ease-in-out;
    -webkit-transition: all .2s ease-in-out;
    width: 0;
    z-index: 999;
}
#scroll_up i {
    padding: 6px 0;
}
#scroll_up.top-visible {
    animation: jump 4s infinite;
    background-color: #ad1d21;
    font-size: 22px;
    height: 50px;
    width: 50px
}
#scroll_up.top-visible:hover {
    background-color: #9e181c;
}

.backdrop {
    background-color: rgba(0, 0, 0, 0.5);
    display: none;
    height: 100%;
    left: 0;
    position: fixed;
    top: 0;
    width: 100%;
    z-index: 2000;
}

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

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

@media screen and (max-width: 767px) {
    
    .remove-on-mobile {
        display: none;
    }
    .for-tablet {
        display: block !important;
    }
    
    hr {
        margin: 15px 0;
    }
    
    .btn.btn4.on-img {
        bottom: 30px;
    }
    
    .brand {
        padding: 10px 0;
        width: 200px;
    }
    
    header.primary {
        box-shadow: 0 10px 20px rgb(0 0 0 / 20%);
        position: fixed;
    }
    
    nav.menu .mobile-toggle {
        display: block;
    }
    nav.menu .menu-inner {
        border-radius: 0;
    }
    nav.menu .menu-inner::after {
        background-color: #ffffff;
        bottom: 0;
        content: "";
        display: block;
        height: 100%;
        left: calc(100% - 1px);
        position: absolute;
        right: auto;
        top: 0;
        width: 1000000%;
    }
    nav.menu #menu-list ul {
        background-color: #ffffff;
        height: 100%;
        overflow: auto;
        position: fixed;
        right: -320px;
        top: 0;
        width: 320px;
        z-index: 3000;
    }
    nav.menu #menu-list ul.nav-list {
        margin: 0;
    }
    nav.menu #menu-list ul.active {
        right: 0;
    }
    nav.menu #menu-list ul li.nav-title a {
        background-color: transparent;
        padding: 10px 15px;
        text-align: center;
    }
    nav.menu #menu-list ul li.nav-title a:focus,
    nav.menu #menu-list ul li.nav-title a:hover {
        background-color: transparent;
        color: #111111;
    }
    body.fixed-nav nav.menu #menu-list ul li.nav-title a,
    body.fixed-nav nav.menu #menu-list ul li.nav-title a:focus,
    body.fixed-nav nav.menu #menu-list ul li.nav-title a:hover {
        background-color: transparent;
        color: #111111;
    }
    nav.menu #menu-list ul li {
        display: block;
        float: none;
        margin: 0 15px 5px 15px;
        position: static;
    }
    nav.menu #menu-list ul li a {
        background-color: #e9e9e9;
        padding: 10px 15px;
    }
    nav.menu #menu-list ul li a:focus,
    nav.menu #menu-list ul li a:hover {
        background-color: #e0e0e0;
    }
    nav.menu #menu-list ul li.current-menu-item a {
        background-color: #b42117;
        color: #ffffff;
    }
    
    section {
        padding: 50px 0 25px 0;
    }
    body.home section {
        padding: 25px 0;
    }
    
    section.slider ul.social-links {
        display: none;
    }
    section.slider .owl-carousel.slide .item .featured {
        height: 40vh;
    }
    section.slider .owl-carousel.slide .item .featured .overlay {
        display: none;
    }
    
    section.page figure {
        margin-bottom: 30px;
    }
    
    section.services-intro a.btn {
        display: none;
    }
    section.services-intro .card.service-intro {
        margin-bottom: 30px;
    }
    section.services-intro .card.service-intro figure {
        height: 180px;
    }
    
    section.header .header-title {
        min-height: 220px;
        padding: 100px 0 0 0;
    }
    
    section.page figure.intro {
        margin: 0;
    }
    section.page figure.intro::before {
        display: none;
    }
    
    body.home section.logos-section,
    section.logos-section {
        padding: 0 0 100px 0;
    }
    
    section.footer::after, section.copyright::after {
        background-color: #111111;
        bottom: 0;
        content: "";
        height: 100%;
        left: calc(100% - 1px);
        position: absolute;
        right: auto;
        top: 0;
        width: 1000000%;
    }
    
    section.footer .card.footer-2, section.footer .card.footer-3 {
        padding-top: 25px;
    }
    section.footer ul {
        margin-bottom: 15px;
    }
    
    section.copyright ul.socials {
        margin: 25px 0;
        text-align: center;
    }
    
    .modal {
        padding: 0 15px !important;
    }
    
}

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