/*
Theme Name:     TWG Material - Child
Theme URI:      http://www.the-web-guys.com
Description:    TWG Material
Author:         The Web Guys - Ben
Author URI:     http://www.the-web-guys.com
Template:       twg-material
Version:        1.0

RECOMMENDED YOU USE SCSS FILES AND LEAVE THIS FILE EMPTY UNLESS NECESSARY

*/
#masthead {
    position: sticky;
    top: 0 !important;
    z-index: 999;
    transition: all 0.3s ease-in-out;
}

div#before-content {
    padding-top: 0px ! important;
}

@media (max-width: 767px) {

    .image-section-content-2,
    .image-section-content ul.fa-ul {
        display: block !important;
    }
}



.sptp-main-carousel.top-right {
padding-top: 35px;
}

.sptp-main-carousel.sptp_carousel_pagination_show:not(.sptp-thumbnail-slider-thumb-section) {
    padding-bottom: 35px;
}

.page-id-1268 .thank-you-panel .panel-heading,
.page-id-35649 .thank-you-panel .panel-heading,
.page-id-31655 .thank-you-panel .panel-heading,
.page-id-36007 .thank-you-panel .panel-heading {
display: none;
}

.fa-file-invoice-dollar {
    margin-top: 0px !important;
}

.services-row a:hover {
    color: #990000 !important;
}

.parallax-bg .btn:hover,
.jumbo-background .btn:hover,
.pricing-plan-sec .btn:hover {
    background-color: #990000 !important;
}

.team-section a:hover {
    background-color: #fff !important;
    color: #990000 !important;
}

.header-request a:hover {
    color: #990000;
}

#masthead .navbar .nav-item.current-menu-item .nav-link:hover {
    background-color: #990000 !important;
}

.three-grid a.btn-grid:hover,
.cta-block a:hover {
    background-color: #333 !important;
    color: #fff;
}

.btn:hover,
.search-submit:hover,
.gform_wrapper .button:hover,
.nav-links a:hover {
    background-color: #990000 !important;
}

a.btn-schedule-header:hover {
    color: #fff;
    background-color: #333333 !important;
}

a.btn-grid:hover {
    color: #333 !important;
}

#gform_submit_button_8 {
    max-width: 250px;
    margin: 0px auto !important;
    display: block;
    margin-top: 15px !important;
}

#gform_submit_button_4 {
    max-width: 250px;
    display: inline-block !important;
    margin: 0px auto !important;
}

#gform_next_button_4_14 {
    max-width: 200px;
    margin: 0px auto !important;
    display: inline-block !important;
}

#gform_previous_button_4_15 {
    max-width: 250px;
    margin: 0px auto !important;
    display: inline-block !important;
}

#gform_next_button_4_15 {
    max-width: 250px;
    margin: 0px auto !important;
    display: inline-block !important;
}

#gform_previous_button_4 {
    max-width: 250px;
    margin: 0px auto !important;
    display: inline-block !important;
}

body.page-id-30548 .divider h3::after {
    content: "";
    display: none;
    background: #fff;
    width: 0px;
    height: 0px;
    margin-top: 0px;
    margin-bottom: 0px;
    margin-left: auto;
    margin-right: auto;
}

.certifications img {
    max-width: 120px;
}

.footer-locations a:hover {
    color: #900 !important;
}

.single-post img {
    height: auto;
}

.save-statement-one {
    margin-bottom: -65px;
    font-weight: bold;
}

.save-statement-two {
    margin-bottom: -65px;
    font-weight: bold;
    padding-top: 5px;
}

.save-statement-three {
    margin-bottom: -65px;
    font-weight: bold;
}

.premier-border {
    border-right: 5px solid #990000 !important;
    border-top: 5px solid #990000 !important;
    border-left: 5px solid #990000 !important;
}

.pricing-cards {
    min-height: 645px;
    border-bottom: 50px solid #990000 !important;
}

@media screen and (-ms-high-contrast: active),
(-ms-high-contrast: none) {
    .team-sec .img-fluid {
        max-width: 250px !important;
    }

    .img-fluid {
        max-width: 500px !important;
    }

    #gform_submit_button_3 {
        padding-top: 20px;
        padding-bottom: 20px;
    }
}

.image-box-text a {
    font-weight: 700;
}

.image-box-text .font-weight-bold {
    font-weight: 400 !important;
}

.breadcrumb_last {
    color: #990000;
}

body.single-post {
    margin-top: 100px !important;
}

/*.navbar-toggler-icon .fa-bars {color:#fff !important;}*/

body.blog h1 {
    margin-top: 70px;
}

aside#secondary {
    margin-top: 45px;
}

.card-header:first-child {
    border-radius: calc(0rem - 1px) calc(0rem - 0px) 0 0;
}

.jumbo-holder {
    background: url('/wp-content/uploads/red-texture.jpg');
    background-size: cover;
    height: 15px;
    margin-top: 00px;
    background-position: center;
    display: block;
}

.light-bg {
    background-color: #f4f4f4 !important;
}

h1 {
    padding-top: 5% !important;
}

.image-section .col-md-6 {
    padding-left: 0px !important;
    padding-right: 0px !important;
}

.image-section-2 .col-md-6 {
    padding-left: 0px !important;
    padding-right: 0px !important;
}

.image-section-content-2 {
    float: right;
}

.image-box-text h2::after {
    margin-left: 0px !important;
}

.p-width {
    width: 725px;
    margin: 0px auto;
}

a.btn-grid:hover {
    color: #fff !important;
}

.fas {
    margin-right: 0px;
    margin-bottom: 0px;
}

.grey.lighten-5 {
    background-color: #f2f2f2 !important;
}

#content {
    padding-bottom: 0rem;
}

.cta-buttons .btn-grid:hover {
    background-color: #333333 !important;
}

.cta-buttons .btn-primary:hover {
    background-color: #fff !important;
    color: #900 !important;
}

.cta-block h2 {
    margin-bottom: 0px;
}

.cta-buttons {
    display: flex;
    justify-content: center;
    align-items: center;
    flex-direction: column;
}

.cta-buttons a:first-child {
    margin-bottom: 10px !important;
}

.cta-buttons .btn-lg {
    width: 250px;
    font-weight: 600;
    max-width: 250px;
    display: inline-block;
    text-align: center;
    font-size: 14px !important;
    padding: 10px 17px 10px 17px;
    margin: 0 !important;
}

.btn.btn-lg {
    width: 250px;
    font-weight: 600;
    display: inline-block;
    text-align: center;
    font-size: 14px !important;
    padding: 10px 17px 10px 17px;
}

@media (max-width:1199px) {
    .save-statement-one {
        font-size: 16px;
    }

    .save-statement-two {
        font-size: 16px;
    }

    .save-statement-three {
        font-size: 16px;
    }

    .pricing-cards {
        min-height: 750px;
    }

    .cta-buttons .btn-lg {
        width: 300px;
    }
}

.header-menu #navbarNavDropdown .navbar-nav .nav-item.current-menu-ancestor>a {
    color: #fff;
    background-color: #900 !important;
}

#masthead .navbar .big-container .row .header-menu #navbarNavDropdown.menu-active ul li .dropdown-menu.show a.active {
    color: #1f4436 !important;
    background-color: #fff !important;
}

#masthead .navbar .row .header-menu #navbarNavDropdown.menu-active ul li.active a {
    background: #900;
}

#masthead .navbar .row .header-menu #navbarNavDropdown.menu-active ul .current-menu-ancestor .dropdown-menu.show .current-menu-item {
    color: #fff;
    background: #900 !important;
}

.home #masthead .navbar .row .header-menu #navbarNavDropdown.menu-active ul li.active a {
    background: none !important;
}

.flex-column li.current-menu-item a {
    padding: 0 0 5px 0;
}

.image-section-content-2,
.image-section-content ul.fa-ul {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    margin-bottom: 0;
    gap: 0px 35px;
}

.md-accordion i.fas.fa-angle-down.rotate-icon.fa-2x {
    color: #000 ! IMPORTANT;
    font-size: 22px;
    margin-top: 4px !important;
}

.certifications {
    align-items: center;
}

#masthead .navbar .row .header-menu #navbarNavDropdown.menu-active ul li:hover {
    background-color: #900 !important;
}

.image-section,
.image-section-2 {
    overflow-x: hidden;
}

.image-section-content-2,
.image-section-content ul.fa-ul li:last-child {
    margin-bottom: 0;
    padding-bottom: 0;
}

.accordion.md-accordion.accordion-3 .card-body {
    padding: 1rem 1.5rem;
}

.img-alt-section ul.fa-ul li:last-child {
    padding-bottom: 0;
}

#masthead .top-menu .navbar-nav li.menu-item.current-menu-item a {
    color: #fff;
    background: #900 !important;
}

.img-alt-section ul.fa-ul li {
    font-weight: normal;
}


@media (max-width:991px) {
    .pricing-cards {
        min-height: auto;
        margin-bottom: 40px;
    }

    .pricing-plan-sec .col-md-4 {
        flex: 0 0 100% !important;
        max-width: 100% !important;
    }

    body.blog aside#secondary {
        margin-top: 210px;
    }

    .parallax-text {
        padding-top: 40px;
        padding-bottom: 40px;
    }

    .stack-columns {
        flex: 0 0 100% !important;
        max-width: 100% !important;
    }

    .image-section .image-box-text {
        max-width: 100% !important;
        display: block;
        padding-left: 30px !important;
        padding-right: 30px !important;
        padding-top: 30px !important;
        padding-bottom: 50px !important;
    }

    .image-section-2 .image-box-text {
        max-width: 100% !important;
        display: block;
        padding-left: 30px !important;
        padding-right: 30px !important;
        padding-top: 30px !important;
        padding-bottom: 50px !important;
    }

    .image-box-img {
        height: 450px !important;
    }

    .image-section-2 .image-section-content-2 {
        float: none !important;
    }

    .image-section .row {
        display: flex !important;
        flex-direction: column !important;
    }

    .image-section-2 .row {
        display: flex !important;
        flex-direction: column-reverse !important;
    }

    .image-box-text h2 {
        text-align: center !important;
    }

    .image-box-text h2::after {
        margin-left: auto !important;
    }

    .jumbo-background {
        display: flex !important;
		justify-content: center;
		align-items: center;
    }

    .services-row .col-lg-3.col-md-6.col-sm-12.mb-3 {
        margin-bottom: 20px !important;
    }

    .services-row .col-lg-3.col-md-6.col-sm-12 h4.h4-responsive {
        margin-bottom: 0;
    }

    .cta-block h2 {
        text-align: center !important;
    }

    .gfield_checkbox {
        display: grid;
        grid-template-columns: repeat(2, 1fr) !important;
    }

    .image-section-inner-img img {
        max-height: 450px;
        width: 100%;
        object-position: top;
    }
}

@media (max-width:767px) {

    .jumbo-holder {
        display: none !important;
    }

    body.blog aside#secondary {
        margin-top: 0px;
        margin-bottom: 100px;
        margin-left: 0px;
    }

    .cta-block {
        padding-top: 50px !important;
        padding-bottom: 50px !important;
    }

    .cta-row h2 {
        text-align: center !important;
    }

    .cta-row {
        padding-right: 0px !important;
        padding-left: 0px !important;
        text-align: center !important;
    }
}

@media(max-width:600px) {
    .image-section-inner-img img {
        max-height: 250px;
        width: 100%;
        object-position: top;
    }
}

@media(max-width:575px) {
    .why-sec .fa-check-circle {
        font-size: 25px;
    }

    .twg-logo {
        margin-bottom: 30px !important;
        line-height: normal !important;
    }

    .gfield_checkbox {
        display: grid;
        grid-template-columns: repeat(1, 1fr) !important;
    }
}

@media (max-width:564px) {
    #gform_previous_button_4 {
        margin-bottom: 10px !important;
    }

    #gform_previous_button_4_15 {
        margin-bottom: 10px !important;
    }
}

@media (max-width:480px) {
    #gform_submit_button_8 {
        margin-left: 40px !important;
        margin-right: 60px !important;
    }
}

@media (max-width:425px) {
    .px-6 {
        padding-left: 3.5rem !important;
        padding-right: 3.5rem !important;
    }

    .image-section-content-2,
    .image-section-content ul.fa-ul {
        display: grid;
        grid-template-columns: repeat(1, 1fr);
    }
}


.image-section-inner-img .image-box-img.image-section-content {
    height: 100%;
}

.gfield_checkbox {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
}

.image-section-inner-img img {
    height: 100%;
    object-fit: cover;
    width: 100%;
}

.image-section-inner-img {
    height: 100%;
}

@media (max-width: 640px) {
    .gform_wrapper.gravity-theme .gform_fields {
        margin: 0;
    }
}

@media(max-width:375px) {
    .gform_wrapper.gravity-theme .ginput_recaptcha {
        transform: scale(0.77);
        -webkit-transform: scale(0.77);
        transform-origin: 0 0;
        -webkit-transform-origin: 0 0;
    }
}