/*
Theme Name: TailPress Child
Theme URI: https://github.com/jeffreyvr/tailpress
Author: Your Name
Author URI: Your URL
Description: TailPress Child Theme
Version: 1.0.0
Template: tailpress-master
Text Domain: tailpress-child
*/

h1,h2,h3,h4,h5,h6,p,a,span,div {
    font-family: "Open Sans", sans-serif;
    font-optical-sizing: auto;
    font-variation-settings:
    "wdth" 100;
}
.container {
    width: 1378px !important;
    max-width:100% !important;
    padding-left: 15px;
    padding-right:15px;
}
.h-4 {
    height:4rem;
}
.h-5 {
    height:5rem;
}
.h-8 {
    height:8rem;
}
.py-5 {
    margin-top: 5rem;
    margin-bottom:5rem;
}
section.hero {
    /* position: absolute; */
    top: -30px;
    height: 875px;
    background-position: center;
    background-size: cover;
    background-repeat: no-repeat;
    display: flex;
    flex-direction: column;
    justify-content: flex-end;
    transition: background-position 0.1s ease-out;
}
section.hero .inner.w-full {
    display: grid;
    justify-content: center;
    margin-bottom: 80px;
}
section.hero .inner.w-full h1 {
    width: 100%;
    max-width: 980px;
    line-height: 1em;
    color: white;
    font-weight: bold;
    text-align: center;
    text-transform:uppercase;
    margin:0 auto;
}
section.hero .inner.w-full p {
    color:white;
    font-weight: bold;
    text-align:center;
    margin-top:10px;
    font-size: 1.5rem !important;
}
section.hero .inner.w-full a {
    margin: 30px auto;
}
header.bg-white {
    width: 1378px;
    margin: 50px auto 0;
    max-width: 100%;
    z-index: 1;
    position: absolute;
    left: 0;
    right: 0;
}
a button {
    padding: 15px 30px;
    color: white;
    background: #B92A2F 0% 0% no-repeat padding-box;
    border-radius: 30px;
    text-transform: uppercase;
}
a button:hover {
    background-color:#8b1d21;
}
ul#menu-main li {
    display: grid;
    align-content: center;
    text-transform: uppercase;
    font-size: 14px;
    font-weight:bold;
}
ul#menu-main li.menu-item:last-child {
    padding: 0 19px;
    color: white;
    height: 59px;
    background: #B92A2F 0% 0% no-repeat padding-box;
    border-radius: 30px;
    display: grid;
    align-content: center;
}
ul#menu-main li.menu-item:last-child:hover {
    background-color:#8b1d21;
}
section.par h2 {
    width: 580px;
    max-width: 100%;
    line-height: 1em;
    margin: 0 auto;
}
section.par p {
    margin-top: 20px;
    width: 580px;
    max-width:100%;
    margin-left: auto;
    margin-right: auto;
}
section.about .flex {
    column-gap: 5rem;
    width:1378px;
    max-width:100%;
}
section.about .flex .par {
    margin: 20px auto 0;
    padding: 0 5px;
}
.relative {
    position: relative; 
}

.overlay-image {
    width: 100%; 
    height: auto; 
}

.overlay {
    position: absolute; 
    top: 0; 
    left: 0;
    right: 0;
    bottom: 0; 
    background-color: #714f0c7b; 
    transition: opacity 0.3s ease;
}
#about-us img {
    width:1080px;
    max-width:100%;
}
.about h2 {
    line-height: 1em;
    margin-bottom: 20px;
    font-weight: bold;
}
.about .flex-1.par {
    width: 70rem;
    max-width: 100%;
}
.about .flex-1.par a button {
    margin-top: 50px;
}
h4 {
    color: white;
    font-weight: bold !important;
}
.keyBen .flex {
    column-gap: 5rem;
    flex-wrap:wrap;
    row-gap: 5rem;
}
.keyBen h4 {
    text-align: center;
    margin-bottom:40px;
    margin-top: 80px;
}
.benefits img, .item img {
    margin-bottom: 20px;
    background: #B92A2F;
    border-radius: 50%;
    padding: 16px;
    width: 12rem;
    max-width: 100% !important;
    height: 12rem;
    max-width: 100%;
    object-fit: scale-down;
}
.benefits {
    color:white;
    flex:1;
}
.benefits h5 {
    font-weight: bold;
    margin: 0 auto 15px;
    width: 211px;
    max-width: 100%;
}
.why-choose-us h4 {
    color: black;
    margin-bottom: 15px;
}
.why-choose-us p {
    width: 90%;
    margin: auto;
}
.container.mx-auto.py-6.px-6 {
    margin-top: 50px;
    text-align: center;
}
.wcu.flex {
    text-align: center;
    row-gap: 5rem;
    flex-wrap: wrap;
    margin: 50px auto 60px;
    width: 1200px;
    max-width: 100%;
    align-items: baseline;
}
.wcu.flex .item {
    padding: 0 40px;
    justify-items: center;
    display: grid;
    flex: 1;
}
.wcu.flex .item h5 {
    font-weight:bold;
    margin-bottom:15px;
}
/* .adBanner {
    padding: 100px 15px;
} */
section.adBanner {
    height: 530px;
    width: 100%;
    display: flex;
    flex-direction: column;
    flex-wrap: wrap;
    align-content: center;
    align-items: center;
    justify-content: center;
}
.adBanner p span {
    color: white;
    margin: auto;
    font-weight: bold;
    line-height:1em;
}
.adBanner p {
    width: 1080px;
    max-width: 100%;
    margin: 0 auto;
    padding: 0;
}
div#gform_wrapper_1 {
    width: 720px;
    max-width: 100%;
    margin: 0 auto;
    padding: 15px;
}
.gform_heading {
    display: none;
}
p.gform_required_legend {
    display: none;
}
section#get-in-touch {
    padding: 80px 0 150px;
    background-color: #EBEBEB;
}
section#get-in-touch h4 {
    color: black;
    margin-bottom: 5px;
}
#get-in-touch .mx-auto.container.text-center {
    width: 550px !important;
    max-width: 100%;
    padding: 0 15px 25px;
}
input, textarea {
    border: none !important;
    padding: 23px 22px !important;
    border-radius: 30px !important;
}
input:focus, 
textarea:focus {
    outline: 1px solid #b92a2f;
}
input#gform_submit_button_1 {
    background-color: #b92a2f;
    padding: 15px 30px;
    min-width: 180px;
    text-transform: uppercase;
    font-family: 'Open Sans';
}
#get-in-touch h6 {
    font-size: 1.3rem;
    text-align: center;
    font-weight: bold;
    width: 560px;
    max-width:100%;
    line-height: 1.3em;
    margin: 40px auto 20px;
}
#get-in-touch p {
    text-align: center;
}
.gform_footer.top_label {
    justify-content: center;
}
div#field_1_5 {
    text-align: center;
    margin: auto;
}
div#gform_confirmation_message_1 {
    margin: 40px auto 70px;
    text-align: center;
    padding: 20px;
    background-color: #00800030;
    width: 600px;
    max-width: 100%;
    border: 1px solid green;
    color: green;
}
h2.gform_submission_error {
    font-size: 1.5rem !important;
}
footer#colophon {
    background-color: black;
}
.container.mx-auto.text-center.text-gray-500 {
    color: white;
    font-family: "Open Sans", sans-serif;
}
.pre-foot {
    margin-top: -45px;
    margin-bottom: -109px;
    background-color: #ebebeb;
}
.pre-foot .flex {
    flex-wrap: wrap;
    justify-content: space-around;
    align-content: center;
    align-items: stretch;
    column-gap: 1rem;
    row-gap: 1rem;
}
.block-items {
    flex: 1;
    display: grid;
    padding: 30px;
    min-height: 280px;
}
.block-items h6 {
    font-weight: bold;
    line-height: 1.2em;
    font-size: 1.3rem;
}
.block-items:nth-child(odd) {
    background-color: #b92a2f;
    color: white;
    align-content: center;
    justify-items: baseline;
    align-items: baseline;
    justify-content: center;
}
.block-items:nth-child(even) h6 {
    width:70%;
    max-width:100%;
}
.block-items:nth-child(even) {
    background-color: white;
    text-align: center;
    align-content: center;
    justify-items: center;
    align-items: baseline;
    justify-content: center;
}
.block-items .content {
    margin-top: 20px;
}
.block-items p {
    display: flex;
    align-items: baseline;
    align-content: stretch;
    flex-wrap: wrap;
    justify-content: space-between;
}
.block-items p span {
    font-size: 1rem !important;
}
.content p span:first-child {
    display: inline-block;
    width: 90px;
    max-width: 100%;
    font-weight:bold;
}
.block-items p span:last-child {
    width: 270px;
    max-width: 100%;
}
.footerSection {
    position: relative;
    padding: 0 20px;
}
.pre-logo img {
    margin: -90px auto 0;
    width: 400px;
    max-width: 100%;
    background-color: white;
    border-radius: 30px;
    z-index: 1;
    position: absolute;
    padding: 20px;
    left: 0;
    right: 0;
    top: -50px;
}
#footer-menu {
    padding-top: 180px;
    padding-bottom: 20px;
    margin: auto;
    left: 0;
    right: 0;
    text-align: center;
    display: flex;
    align-content: center;
    justify-content: center;
    align-items: center;
    flex-wrap: wrap;
}
#secondary-menu li {
    font-weight:bold;
    text-transform: uppercase;
}
#secondary-menu li:last-child {
    display:none;
}
.pre-cont-footer {
    text-align: center;
    margin-bottom: 60px;
}
@media (min-width:998px) {
    .last {
        height: 690px !important;
    }
    .adBanner p span {
        font-size: 4rem !important;
    }
    .lg\:px-6 {
        padding-left: 1.5rem;
        padding-right: 1.5rem
    }
    .lg\:neg-8 {
        margin-top: -8rem;
    }
    h1 {
        font-size: 4.5rem !important;
    }
    h2 {
        font-size: 2.5rem !important;
        font-weight:bold !important;
    }
    p {
        font-size: 1rem !important;
    }
    h3 {
        font-size: 2.2rem !important;
    }
    p span, h4 {
        font-size: 2.5rem !important;
    }
    h5 {
        font-size: 1rem !important;
    }
    .keyBen {
        padding: 50px 15px 200px;
    }
}
@media (max-width:1378px) {
    section.hero {
        height:760px;
    }
    section.hero .inner.w-full {
        margin-bottom: 40px;
    }
}
/* Mobile -- BakedMellows */
@media (max-width:998px) {
    .wcu.flex .item {
        flex: 1 0 100%;
    }
    .container.mx-auto.py-6.px-6 {
        margin-top: 10px;
    }
    .gform-theme--foundation .gform_fields {
        row-gap: 12px !important;
    }
    .sm\:neg-3 {
        margin-top: -3rem;
    }
    ul#menu-main li {
        margin: 5px 0;
    }
    ul#menu-main li.menu-item:last-child {
        margin-top: 20px;
        text-align: center;
    }
    h1 {
        font-size: 2rem !important;
    }
    h2 {
        font-size: 1.7rem !important;
        font-weight:bold !important;
    }
    h3 {
        font-size: 1.7rem !important;
    }
    h4 {
        font-size: 1.7rem !important;
    }
    .adBanner p span {
        font-size: 2rem !important;
    }
    .adBanner p {
        line-height:1.9em;
    }
    section.hero {
        height: 650px;
    }
    section.hero .inner.w-full {
        margin-bottom: 30px;
    }
    section.hero .inner.w-full p {
        font-size: 1rem !important;
        padding: 0 15px;
    }
    section.hero .inner.w-full h1 {
        padding: 0 10px;
    }
    section.about .flex {
        flex-wrap: wrap;
    }
    /* .keyBen .flex {
        flex-wrap: wrap;
        row-gap: 5em;
    } */
    .keyBen {
        padding: 50px 15px 100px;
    }
    .keyBen h4 {
        margin-top: 40px;
    }
    section.why-choose-us.lg\:neg-8.sm\:neg-3 .overlay {
        left: 15px;
        right: 15px;
    }
    .keyBen button {
        margin: 70px auto 20px !important;
    }
}
@media (max-width:720px) {
    /* .benefits img, .item img {
        width: 10.8rem;
        max-width:100% !important;
        height:auto;
    } */
    section#get-in-touch {
        padding: 80px 0 120px;
        background-color: #EBEBEB;
    }
    #get-in-touch h6 {
        font-size: 1.1rem;
    }
    section.adBanner:not(.last) {
        height: 390px;
    }
    .last {
        height:630px !important;
    }
    .last p {
        margin-top: 20px !important;
    }
    .adBanner p span {
        padding: 0 15px;
    }
    h1 {
        font-size: 1.8rem !important;
    }
    h2 {
        font-size: 1.7rem !important;
    }
    h3 {
        font-size: 1.7rem !important;
    }
    h4 {
        font-size: 1.7rem !important;
    }

}