﻿
/*-------------------------------------------------------------------------Our team----------------------------------------------------------------------------------------*/




    /*section1*/

.ourteam_public .ot_section1 {
    /*team_mainbg*/
    /*background-image: url('https://amenvato.s3.us-east-2.amazonaws.com/envatoallproject/f95deaa0-53fa-408e-89e9-80b1700b7d9f.png');*/
    background-color: var(--white);
    /*background-size: cover;
    background-position: top left;
    background-repeat: no-repeat;*/
    padding: 15px 0px;
    color: var(--black);
}


        .ourteam_public .ot_section1 h1 {
            font-size: 68px;
            line-height: 50px;
        }


    /*section2*/
    .ourteam_public .ot_section2 {
        padding: 5% 0px;
        color: var(--white);
        font-size: 20px;
        font-family: var(--fonts3);
    }



        .ourteam_public .ot_section2 .team-content {
            background-color: var(--black);
            z-index: 100;
            padding: 10px 5px;
            text-align: center;
            color: white;
            position: relative;
            width: 80%;
            margin: 0 auto;
            margin-top: 0px;
            margin-top: 0px;
            border-radius: 15px;
            margin-top: -91px;
     
            color: white;
            font-size: 16px;
            font-family: var(--fonts3);
            box-shadow: 0px 0px 6px 2px #00000091;
        }

            .ourteam_public .ot_section2 .team-content h3 {
                font-size: 20px;
            }

            .ourteam_public .ot_section2 .team-content a {
                color: var(--theme-color);
            }

.hover-switch {
    position: relative
}

.ourteam_public .ot_section2 .hover-switch > img {
    width: 100%;
    height: 340px;
    object-fit: cover;
    border-radius: 15px;
    box-shadow: 0px 0px 8px 2px #000;
    opacity: 0.9;
}

.ourteam_public .ot_section2 .hover-switch .image-hover {
    opacity: 0;
    transition: opacity 0.5s ease-in-out;
    -moz-transition: opacity 0.5s ease-in-out;
    -webkit-transition: opacity 0.5s ease-in-out;
    position: absolute;
    top: 0;
    z-index: 10;
    right: 0;
    left: 0;
}

.ourteam_public .ot_section2 .hover-switch:hover .image-hover {
    opacity: 1;
}




.ourteam_public .ot_section2 .team-popup {
    position: fixed;
    top: 0;
    bottom: 0;
    left: 0;
    right: 0;
    background: rgba(0, 0, 0, 0.7);
    transition: opacity 200ms;
    z-index: 10001;
    visibility: hidden;
    opacity: 0;
    transition: all 0.5s ease-in-out;
}

    .ourteam_public .ot_section2 .team-popup:target {
        visibility: visible;
        opacity: 1;
    }


    .ourteam_public .ot_section2 .team-popup .view {
        margin: 100px auto;
        background: #fff;
        border-radius: 5px;
        width: 50%;
        position: relative;
        display: flex;
        justify-content: flex-start;
        align-content: flex-start
    }


        .ourteam_public .ot_section2 .team-popup .view img {
            width: 40%;
            height: 400px;
            object-fit: cover;
        }

        .ourteam_public .ot_section2 .team-popup .view .w60 {
            width: 60%;
        }






/*team mobile*/


@media screen and (max-width: 768px) {

    .ourteam_public .ot_section2 .team-popup .view {
        margin: 00px auto;
        border-radius: 0px;
        width: 100%;
        position: relative;
        display: block;
        justify-content: flex-start;
        align-content: flex-start
    }


        .ourteam_public .ot_section2 .team-popup .view img {
            width: 100%;
            height: 250px;
            object-position: top;
        }

    .ourteam_public .ot_section2 .team-popup {
        overflow: auto;
    }

        .ourteam_public .ot_section2 .team-popup .view .w60 {
            width: 100%;
        }

    .ourteam_public .ot_section2 .m-close {
        position: absolute;
        top: 0;
        right: 0;
    }

    .ourteam_public .ot_section2 .hover-switch > img {
        height: 214px;
    }

    .ourteam_public .ot_section2 .team-content {
        margin-top: -57px;
        width: 90%
    }

    .ourteam_public .ot_section1 {
        padding: 142px 0px 3% 0px;
    }

        .ourteam_public .ot_section1 h1 {
            font-size: 40px !important;
            line-height: 30px;
            font-size: 14px;
        }

    .ourteam_public .ot_section2 .hover-switch {
        width: 100%;
        max-width: 300px;
        margin: 0 auto;
    }
}
