.site-content{
    min-height: 54vh;
}

.container-fluid {
    width: 100%;
    padding-right: 15px;
    padding-left: 15px;
    margin-right: auto;
    margin-left: auto
}

.container {
    width: 100%;
    padding-right: 15px;
    padding-left: 15px;
    margin-right: auto;
    margin-left: auto
}

// @media (min-width:$break-sm) {
//     .container {
//         max-width: 540px
//     }
// }

// @media (min-width:$break-md) {
//     .container {
//         max-width: 720px
//     }
// }

@media (min-width:$break-lg) {
    .container {
        max-width: 960px
    }
}

@media (min-width: $break-xl) {
    .container {
        max-width: 1140px
    }
}

#content.site-main {
    margin: 0;
    max-width: 100%;
    min-height: 54vh;
}

.section{
    padding: 30px 0;
}
.heading-section {
    font-size: 36px;
    color: #fff;
    text-transform: uppercase;
    position: relative;
    letter-spacing: 3px;
    margin-bottom: 30px;
    span{
        color: $primary-color;
    }
    @media screen and (max-width: $break-md) {
        font-size: 30px;
    }
}

.cta-button{
    text-align: center;
    display: inline-block;
    font-weight: 500;
    font-family: $barlow-font;
    text-transform: uppercase;
    background: transparent;
    color: #fff;
    padding: 13px 30px;
    margin: 0;
    position: relative;
    font-size: 16px;
    line-height: 1.2em;
    letter-spacing: 3px;
    border: 2px solid $primary-color;
    span{
        position: relative;
        z-index: 2;
    }
    &::after{
        content: '';
        width: 0;
        height: 100%;
        position: absolute;
        bottom: 0;
        left: 100%;
        z-index: 1;
        background: $primary-color;
        color: #fff;
        -webkit-transition: all 0.3s ease;
        transition: all 0.3s ease;
    }
    &:hover{
        border: 2px solid $primary-color;
        color: #fff;
        &::after{
            width: 100%;
            left: 0;
            -webkit-transition: width 0.3s ease;
            transition: width 0.3s ease;
        }
    }
}

.tnp.tnp-subscription {
    margin: 0;

    form {
        .tnp-field {
            label {
                display: none;
            }

            input {
                max-width: 100%;
                margin-bottom: 10px;
                padding: 10px 5px;
                height: auto;
                background-color: transparent;
                -webkit-box-shadow: none;
                box-shadow: none;
                border-width: 0 0 1px;
                border-style: solid;
                display: block;
                width: 100%;
                line-height: 1.5em;
                font-size: 16px;
                font-weight: 400;
                color: $secondary-color;
                background-image: none;
                border-bottom: 1px solid $secondary-bg-color;
            }
        }

        .tnp-field-button {
            position: relative;
            margin-top: 25px;
            margin-bottom: 0;

            &::after {
                content: '';
                width: 0;
                height: 100%;
                position: absolute;
                bottom: 0;
                left: 100%;
                z-index: 1;
                background: $secondary-bg-color;
                color: #fff;
                -webkit-transition: all 0.3s ease;
                transition: all 0.3s ease;
            }

            input[type="submit"] {
                font-weight: 300;
                font-family: $oswald-font;
                text-transform: uppercase;
                background: $primary-color;
                color: #fff;
                padding: 13px 30px;
                margin: 0;
                position: relative;
                font-size: 16px;
                letter-spacing: 3px;
                border: 0;
                border-radius: 0;
            }

            button.tnp-submit {
                font-weight: 300;
                font-family: $oswald-font;
                text-transform: uppercase;
                background: $primary-color;
                color: #fff;
                padding: 13px 30px;
                margin: 0;
                position: relative;
                font-size: 16px;
                line-height: 1.2em;
                letter-spacing: 3px;
                border: 1px solid $primary-color;
                border-radius: 0;
                -webkit-transition: background-color .15s ease-out;
                transition: background-color .15s ease-out;

                &::after {
                    content: '';
                    width: 0;
                    height: 100%;
                    position: absolute;
                    bottom: 0;
                    left: 100%;
                    z-index: 1;
                    background: $secondary-bg-color;
                    color: #fff;
                    -webkit-transition: all 0.3s ease;
                    transition: all 0.3s ease;
                }

                span {
                    position: relative;
                    z-index: 9;
                }

                &:hover {
                    border-color: $secondary-bg-color;

                    &::after {
                        width: 100%;
                        left: 0;
                        -webkit-transition: width 0.3s ease;
                        transition: width 0.3s ease;
                    }
                }
            }
        }
    }
}

.content-common {
    >*:first-child {
        margin-top: 0 !important;
    }

    >*:last-child {
        margin-bottom: 0 !important;
    }

    h2 {
        color: $secondary-color;
        font-size: 40px;
        line-height: 1.21212em;
        font-weight: 400;
        margin: 32px 0 48px;
    }

    h4 {
        font-size: 30px;
        font-weight: 400;
        line-height: 1.25em;
        margin: 20px 0;
        color: $secondary-color;
    }

    h5 {
        font-size: 25px;
        font-weight: 400;
        line-height: 1.25em;
        margin: 0 0 20px 0;
        color: $secondary-color;
    }

    h6 {
        margin: 20px 0;
        font-size: 20px;
        font-weight: 400;
        color: $secondary-color;
    }

    p {
        font-size: 16px;
        font-weight: 400;
        line-height: 1.75em;
        color: #9FA2B9;
        margin-bottom: 20px;

        span~span {
            display: inline;
        }
    }

    img {
        width: auto;
    }

    ul {
        padding-left: 36px;
        margin: 20px 0;
        list-style: none;

        li {
            font-size: 16px;
            font-weight: 400;
            line-height: 1.75em;
            color: $secondary-color;
            margin-bottom: 20px;

            &:before {
                content: "- ";
            }
        }
    }

    .wp-video {
        margin: 32px 0;
    }
}

.sliders{
    .big{
        .swiper-slide{
            img{
                width: 100%;
            }
        }
    }
    .bottom{
        margin-top: 5px;
    }
}

.bottom-form {
    margin-top: 40px;

    .title-form {
        font-size: 16px;
        font-family: $didact-gothic-font;
        color: $secondary-color;
        font-weight: bolder;
        text-transform: uppercase;
    }

    .gform_wrapper {

        .gform_validation_errors {
            display: none;
        }

        .gform-body {
            .gform_fields {
                column-gap: 30px;
                row-gap: 10px;

                .gfield {
                    .gfield_label {
                        display: none;
                    }

                    .ginput_container {

                        input,
                        textarea {
                            line-height: 1.5em;
                            font-family: $didact-gothic-font;
                            font-size: 16px;
                            font-weight: 400;
                            color: $secondary-color !important;
                            background-image: none;
                            border-bottom: 1px solid $secondary-bg-color !important;
                            background: transparent;
                            border-top: none;
                            border-right: none;
                            border-left: none;
                            outline: none;
                            padding: 10px 5px;
                            height: 45px;
                            border-radius: 0;

                            &:focus {
                                border-color: $primary-color;
                            }
                        }

                        textarea {
                            height: 117px;
                            min-block-size: 117px;
                        }
                    }

                    .gfield_validation_message {
                        color: #dc3545;
                        font-family: $didact-gothic-font;
                        font-size: 16px;
                        font-weight: 400;
                        line-height: 1.75em;
                    }
                }
            }
        }

        // .gform-footer {
        //     input[type="submit"] {
        //         // font-weight: 300 !important;
        //         // font-family: $oswald-font !important;
        //         text-transform: uppercase !important;
        //         background-color: $primary-color !important;
        //         color: #fff;
        //         padding: 13px 30px !important;
        //         margin: 0;
        //         position: relative;
        //         font-size: 16px !important;
        //         letter-spacing: 3px !important;
        //         border-radius: 0 !important;

        //         &:active,
        //         &:focus {
        //             outline: none !important;
        //             border: none !important;
        //         }

        //         &:hover {
        //             color: $white-color;
        //             background-color: $secondary-bg-color !important;
        //         }
        //     }
        // }
    }
}

.posts-list {
    margin-bottom: 32px;

    .items-list {
        display: grid;
        grid-template-columns: repeat(3, 1fr);
        grid-gap: 60px 30px;

        @media (max-width: $break-xl - 0.02) {
            grid-template-columns: repeat(2, 1fr);
        }

        @media (max-width: $break-lg - 0.02) {
            grid-template-columns: repeat(1, 1fr);
        }

        @media (max-width: $break-md - 0.02) {
            grid-gap: 30px;
        }

        .item-cm-tax {

            padding-bottom: 30px;

            .item-cm-tax-wrap{
                text-align: center;
                position: relative;
                min-height: 200px;
                background: #000000;
            }

            &:hover {
                .img:before {
                    height: 100%;
                    visibility: visible;
                }

                .box-hover {
                    opacity: 1;
                    visibility: visible;
                    -webkit-transition-delay: 0.2s;
                    transition-delay: 0.2s;
                    margin-top: 1px;
                }

                .title-box {
                    opacity: 0;
                    visibility: hidden;
                    margin-bottom: 80px;
                }
            }

            .img {
                position: relative;

                &:before {
                    content: '';
                    position: absolute;
                    bottom: 0;
                    left: 0;
                    height: 0;
                    width: 100%;
                    background-color: #151725;
                    opacity: 0.7;
                    visibility: hidden;
                    transition: all ease 0.4s;
                }

                img {
                    height: 200px;
                    width: 100%;
                    object-fit: cover;
                    vertical-align: middle;
                    @media screen and (max-width: $break-md) {
                        height: auto;
                        min-height: 200px;
                    }
                }
            }

            .box-hover {
                position: absolute;
                left: 0;
                right: 0;
                top: 45%;
                -webkit-transform: translateY(-50%);
                -ms-transform: translateY(-50%);
                transform: translateY(-50%);
                padding: 20px 15px;
                margin-top: 50px;
                opacity: 0;
                visibility: hidden;
                transition: all ease 0.4s;

                .icon{
                    line-height: 0;
                    img {
                        // filter: brightness(0.8) contrast(1.2) saturate(1.5) hue-rotate(90deg);
                        width: 60px;
                        height: auto;
                        object-fit: contain;
                        margin-bottom: 15px;
                    }
                }

                .title-hover {
                    line-height: 22px;
                    font-size: 15px;
                    font-weight: 500;
                    margin-bottom: 15px;
                    color: $white-color;
                    text-transform: uppercase;
                    letter-spacing: 2px;
                    text-overflow: ellipsis;
                    display: -webkit-box;
                    -webkit-line-clamp: 2;
                    -webkit-box-orient: vertical;
                    overflow: hidden;
                }

                .button {
                    a {
                        font-weight: 500;
                        text-transform: uppercase;
                        font-family: $barlow-font;
                        background: transparent;
                        color: $white-color;
                        padding: 12px 24px;
                        margin: 0;
                        position: relative;
                        font-size: 14px;
                        line-height: 1.2em;
                        letter-spacing: 3px;
                        border: 2px solid #b19777;
                        display: inline-block;
                        z-index: 1;

                        &:after {
                            content: '';
                            width: 0;
                            height: calc(100% + 2px);
                            position: absolute;
                            top: -1px;
                            bottom: 0;
                            left: 100%;
                            z-index: 1;
                            background: $primary-color;
                            color: #fff;
                            -webkit-transition: all 0.3s ease;
                            transition: all 0.3s ease;
                        }

                        span{
                            position: relative;
                            z-index: 2;
                        }

                        &:hover {
                            span {
                                color: #fff;
                            }

                            &:after {
                                width: 100%;
                                left: 0;
                                -webkit-transition: width 0.3s ease;
                                transition: width 0.3s ease;
                            }
                        }
                    }
                }
            }

            .title-box {
                position: absolute;
                left: 30px;
                right: 30px;
                bottom: -30px;
                z-index: 2;
                background-color: #1E2137;
                padding: 20px 10px;
                opacity: 1;
                visibility: visible;
                margin-bottom: 0;
                color: #fff;
                transition: all ease 0.4s;

                h3 {
                    line-height: 22px;
                    font-size: 15px;
                    font-weight: 500;
                    color: #fff;
                    text-transform: uppercase;
                    letter-spacing: 2px;
                    text-align: center;
                    margin-bottom: 0;
                }
            }
        }
    }

    .loading-scroll{
        display: none;
        text-align: center;
        margin-top: 24px;
        width: 100%;
    }

    .wrap-btn {
        text-align: center;
        margin-top: 60px;

        button {
            font-weight: 500;
            font-family: $barlow-font;
            text-transform: uppercase;
            background: $primary-color;
            color: $white-color;
            padding: 5px 10px;
            margin: auto;
            letter-spacing: 2px;
            cursor: pointer;
            border-radius: 0;
        }
    }
}


.left-panel{
    position: absolute;
    width: 50px;
    height: 100%;
    left: 0;
    top: 0;
    z-index: 9;
    overflow: hidden;
    display: flex;
    justify-content: center;
    align-items: center;
    .social-list{
        background: #1E21371A;
        top: 15%;
        position: relative;
        &::before{
            content: '';
            position: absolute;
            left: 50%;
            width: 1px;
            height: 70px;
            top: -70px;
            background: #1E21371A;
        }
        .social-item{
            color: #FFFFFF;
            border: 1px solid #FFFFFF;
            img{
                filter: invert(100%) sepia(29%) saturate(366%) hue-rotate(198deg) brightness(107%) contrast(102%);
            }
        }
    }
    @media screen and (max-width: $break-lg) {
        display: none;
    }
}
.social-list{
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 3px;
    width: 100%;
    background: transparent;
    z-index: 10;
    padding: 10px 0;
    .social-item{
        display: flex;
        justify-content: center;
        align-items: center;
        width: 40px;
        height: 40px;
        line-height: 40px;
        text-align: center;
        font-size: 12px;
        border: 1px solid #373737;
        color: #fff;
        background-color: transparent;
        border-radius: 100%;
        -webkit-transition: all .4s;
        -o-transition: all .4s;
        transition: all .4s;
        img{
            width: 12px;
            filter: invert(100%) sepia(0%) saturate(100%) hue-rotate(0deg) brightness(100%) contrast(100%);
        }
        &:hover{
            border: 1px solid $primary-color;
            background: transparent;
            color: $primary-color;
            img{
                 filter: invert(75%) sepia(40%) saturate(180%) hue-rotate(10deg);
                //filter: invert(81%) sepia(11%) saturate(1503%) hue-rotate(94deg) brightness(107%) contrast(93%);
            }
        }
    }

}

.modal-popup{
    
    .file-download-popup{
        max-width: 500px;
        width: calc(100% - 40px);
        display:none; 
        position:fixed; 
        top:50%; 
        left:50%; 
        transform:translate(-50%, -50%); 
        background:white; 
        border:1px solid #ccc; 
        z-index:1000;
        border-radius: 4px;
        overflow: hidden;
    }
    .file-download-popup-overlay{
        display:none; 
        position:fixed; 
        top:0; 
        left:0; 
        width:100%; 
        height:100%; 
        background:rgba(0,0,0,0.5); 
        z-index:999;
    }
    .close-popup{
        position: absolute;
        top: 0;
        right: 0;
        font-size: 1.5rem;
        font-weight: 700;
        line-height: 1;
        color: #000;
        background: transparent;
        text-shadow: 0 1px 0 #fff;
        opacity: 0.5;
        border-radius: 0;
        &:hover{
            background: $primary-color;
            color: #fff;
            text-decoration: none;
            opacity: .75;
        }
    }
    .heading-popup{
        font-size: 24px;
        margin-bottom: 0;
        padding: 16px;
        padding-right: 24px;
        border-bottom: 1px solid #e9ecef;
        color: $primary-bg-color;
    }
    .form-container{
        padding: 16px 16px 30px; 
        .cta-button{
            width: 100%;
            color: $primary-bg-color;
            &:hover{
                color: $white-color;
            }
            &:after{
                background: $primary-color;
            }
        }
        .gform_confirmation_wrapper{
            display: none;
        }
        .gform_wrapper{
            width: 100%;
            form div.gform_footer.gform-footer .gform-button-box .gform_button.button{
                background-color: $primary-color;
                border-color: $primary-color;
            }
        }
    }
}


