body {
    background: var(--teflie-background-warm) !important;
    color: var(--teflie-text-primary);
}

#primary {
    margin: 3rem 0 !important;
}

.ast-container {
    max-width: 1300px !important;
    margin: 0 auto !important;
}

h1,
h2,
h3,
h4 {
    color: var(--teflie-text-primary-dark) !important;
}

p {
    color: var(--teflie-text-primary) !important;
    line-height: 140% !important;
}

.event-section {
    margin-bottom: 3rem;
}

.button-golden {
    background-color: #dfb429;
    text-transform: uppercase;
    cursor: pointer;
}

.title {
    text-transform: uppercase;
    font-weight: 450;
    margin-bottom: 2rem;
}

.date-time {
    font-size: 14px;
    line-height: 1.6rem;
}

.date-time h4 {
    text-transform: uppercase;
    font-size: 14px;
    font-weight: 450;
}

.event-thumbnail img {
    border-radius: 24px;
    margin-bottom: 2rem;
}

.btn.btn-secondary.navy {
    background-color: #193847;
    border: 1px solid #193847;
    margin-bottom: 1.75rem;
}

.description-heading {
    font-size: 1.3125rem;
    color: #444d55;
    margin-bottom: 1.75rem;
}

.desctiption-context {
    font-size: 1.125rem;
    color: #444d55;
}

.event-thumbnail {
    height: 30rem;
    margin-bottom: 2rem;
    border-radius: 24px;
    background-repeat: no-repeat;
    background-size: cover;
    background-position: center;
}

.register-button {
    margin: 2rem 0;
}

.register-button a {
    cursor: pointer;
}

/*webiner*/

.complementary-webinar-col {
    background-color: #ffffff;
    padding-bottom: 30px;
    border-radius: 24px;
    box-shadow: 0px 2px 10px 0px rgba(0, 0, 0, 0.15);
}


.compimentary-webinar {
    text-align: center;
    padding-bottom: 50px;
    padding-top: 20px;
}

.webinar-image img {
    width: 100%;
    height: 270px;
    object-fit: cover;
    object-position: 50% 70%;
    border-radius: 24px 24px 0 0;
}

.webinar-type {
    font-size: 0.94rem;
    display: inline-block;
    background-color: #ffffff;
    position: relative;
    bottom: 35px;
    padding: 8px 85px 8px 30px;
    letter-spacing: 0.1rem;
    font-weight: 700;
    text-transform: uppercase;
}

.webinar-type:after {
    color: #DFB428;
    content: "\f111";
    font-family: FontAwesome;
    font-size: 0.3rem;
}

.webinar-content {
    padding: 0 30px;
}

.webinar-description {
    padding-bottom: 40px;
    min-height: 100px;
    text-transform: uppercase;
    height: 100px;
}

.webinar-description h5 a {
    color: var(--teflie-text-primary) !important;
    font-weight: 600;
}

.webinar-link {
    text-align: right;
    display: block;
}

.webinar-date,
.webinar-time {
    font-weight: 200;
}

/*modal css*/

.register-modal {
    display: none;
    position: fixed !important;
    /* Stay in place */
    z-index: 99;
    /* Sit on top */
    /* Location of the box */
    top: 0;
    left: 0;
    width: 100%;
    /* Full width */
    height: 100%;
    /* Full height */
    overflow: auto;
    /* Enable scroll if needed */
    background-color: rgb(0, 0, 0);
    /* Fallback color */
    background-color: rgba(0, 0, 0, 0.4);
    /* Black w/ opacity */
    align-items: center;
    justify-content: center;
}

.register-modal-content {
    position: relative;
    background-color: #fff !important;
    width: auto;
    height: auto;
    border: 2px solid #193847;
    padding: 30px;
    font-size: 15px;
}

@media screen and (max-width:768px) {
    .register-modal-content {
        width: 90%;
    }
}

.brochure-content p {
    margin-bottom: 10px;
}

.wpcf7-list-item {
    margin: 0 !important;
}

.register-modal span.cross {
    cursor: pointer;
    z-index: 999999 !important;
    position: absolute;
    right: 0px;
    top: 0px;
    border: 1px solid #193847;
    padding: 3px 5px;
}

.modal-body {
    margin-top: 18px;
}

.register-modal.wpcf7-form-control.wpcf7-text.wpcf7-validates-as-required,
textarea {
    padding: 5px 10px !important;
    color: #888888;
    border: 1px solid #818a91;
    background-color: #ffffff;
    margin-bottom: 10px;
    width: 100%;
}

input:focus,
textarea:focus {
    outline: none;
    border-color: #818a91 !important;
}

.register-modal-content::-webkit-scrollbar {
    display: none;
}

.register-modal-content {
    -ms-overflow-style: none;
    /* IE and Edge */
    scrollbar-width: none;
    /* Firefox */
}

.form-submit-div {
    /* display: flex; */
    text-align: center;
    /* justify-content: center; */
    margin-top: 20px;
}

.form-hiden-div {
    display: none;
}

.social_share_title {
    margin-bottom: 10px;
    font-weight: 700;
    margin-top: 30px;
    font-size: 0.875rem;
    color: var(--teflie-text-primary);
}

.blog_social_share {
    display: inline-flex;
    gap: 5px;
}

.blog_social_share>div {
    margin-right: 10px;
}

.blog_social_share>div a {
    display: block;
}

.cust-name,
.cust-phone {
    margin-bottom: 10px;
}

.form-submit-div input {
    line-height: 1rem;
    text-transform: uppercase;
}

@media screen and (max-width:767px) {
    .ast-container {
        padding-left: 20px !important;
        padding-right: 20px !important;
    }

    .event-section {
        margin-bottom: 1rem;
    }

    .blog_social_share {
        margin-bottom: 20px;
    }

    .event-thumbnail {
        height: 15rem;
        margin-bottom: 10px;
    }

    .description-heading {
        margin-bottom: 10px;
        line-height: 140%;
    }

    .desctiption-context {
        font-size: 0.8rem;
    }

    .title {
        margin-bottom: 10px;
        font-size: 1rem;
    }

    .social_share_title {
        margin-top: 10px;
    }

    .complementary-webinar-col {
        display: flex;
        align-items: center;
        min-height: auto;
        margin-bottom: 20px;
        padding: 10px;
    }

    .complementary-webinar-col>div {
        flex: 1;
        margin: 10px;
    }

    .webinar-type {
        width: 100%;
        padding: 0;
        position: relative;
        bottom: 0;
        margin-bottom: 8px;
        font-size: 12px;
    }

    .webinar-content {
        padding: 0;
    }

    .webinar-description {
        height: 105px !important;
        min-height: auto;
        height: auto;
    }

    .webinar-description h5 {
        font-size: 1rem;
    }

    .webinar-image img {
        border-radius: 24px;
    }

    .webinar-date, .webinar-time {
        font-size: 14px;
        line-height: 140%;
    }

    .webinar-description h5 a {
        font-size: 14px;
    }
}