﻿/* Team List */
ul.team-list {
    list-style: none;
    margin: 0;
    padding: 0;
}

    ul.team-list .team-item {
        margin-bottom: 35px;
    }

        ul.team-list .team-item .thumb-info-social-icons {
            margin: 0 10px;
        }

/* Responsive */
@media (max-width: 991px) {
    ul.team-list .team-item {
        margin: 0 auto 35px;
        max-width: 270px;
    }
}
/* History */
ul.history {
    margin: 0 0 25px;
    padding: 0;
    list-style: none;
}

    ul.history li {
        margin: 25px 0;
        padding: 0;
        clear: both;
    }

        ul.history li h4 {
            margin: 0 0 -27px 0;
            padding: 0;
        }

        ul.history li p {
            margin-left: 53px;
            line-height:1.9rem;
        }

        ul.history li .thumb {
            background: transparent url(../img/history-thumb.png) no-repeat 0 0;
            width: 227px;
            height: 160px;
            margin: 0 0 30px;
            padding: 0;
            float: left;
        }

            ul.history li .thumb img {
                border-radius: 150px;
                margin: 7px 8px;
                width: 145px;
                height: 145px;
            }

        ul.history li .featured-box {
            text-align: left;
            margin-left: 225px;
            margin-bottom: 50px;
            min-height: 115px;
        }

            ul.history li .featured-box .box-content {
                border-top-color: #CCC;
            }

/* Responsive */
@media (max-width: 575px) {
    

    ul.history li .featured-box {
        margin-left: 0;
    }
}
/* Search Results */
.search-results {
    min-height: 300px;
}

/* Maps */
.google-map {
    background: #E5E3DF;
    height: 400px;
    margin: -35px 0 30px 0;
    width: 100%;
}

    .google-map.small {
        height: 250px;
        border-radius: 6px;
        margin: 0;
        clear: both;
    }

    .google-map img {
        max-width: 9999px;
    }

.google-map-borders {
    border: 1px solid #DDD;
    padding: 4px;
    border-radius: 4px;
}

/* Google Map */
.google-map-footer {
    margin: 35px 0 -50px !important;
}

/* Animations */
.appear-animation {
    opacity: 0;
}

.appear-animation-visible {
    opacity: 1;
}
/* Featured Box */
.featured-box {
    background: #F5F5F5;
    background: -webkit-linear-gradient( top, #FFF 1%, #fcfcfc 98%) repeat scroll 0 0 rgba(0, 0, 0, 0);
    background: linear-gradient(to bottom, #FFF 1%, #fcfcfc 98%) repeat scroll 0 0 rgba(0, 0, 0, 0);
    -webkit-box-sizing: border-box;
    -moz-box-sizing: border-box;
    box-sizing: border-box;
    border-bottom: 1px solid #DFDFDF;
    border-left: 1px solid #ECECEC;
    border-radius: 8px;
    border-right: 1px solid #ECECEC;
    box-shadow: 0 1px 1px 0 rgba(0, 0, 0, 0.04);
    margin-bottom: 20px;
    margin-left: auto;
    margin-right: auto;
    margin-top: 20px;
    min-height: 100px;
    position: relative;
    text-align: center;
    z-index: 1;
}

    .featured-box h4 {
        font-size: 1.3em;
        font-weight: 400;
        letter-spacing: -0.7px;
        margin-top: 5px;
        margin-bottom: 5px;
    }

    .featured-box .box-content {
        border-radius: 8px;
        border-top: 1px solid #CCC;
        border-top-width: 4px;
        padding: 30px 30px 10px 30px;
        position: relative;
        top: -1px;
    }

    .featured-box .learn-more {
        display: block;
        margin-top: 10px;
    }

/* Featured Box Left */
.featured-box-text-left {
    text-align: left;
}

/* Featured Boxes - Flat */
.featured-boxes-flat .featured-box {
    box-shadow: none;
    margin: 10px 0;
}

    .featured-boxes-flat .featured-box .box-content {
        background: #FFF;
        margin-top: 65px;
    }

    .featured-boxes-flat .featured-box .icon-featured {
        display: inline-block;
        font-size: 38px;
        height: 90px;
        line-height: 90px;
        padding: 0;
        width: 90px;
        margin: -100px 0 -15px;
        position: relative;
        top: -37px;
    }

/* Featured Boxes - Style 2 */
.featured-boxes-style-2 .featured-box {
    background: none;
    border: 0;
    margin: 10px 0;
    box-shadow: none;
}

    .featured-boxes-style-2 .featured-box .box-content {
        border: 0;
        padding-top: 0;
        padding-bottom: 0;
    }

    .featured-boxes-style-2 .featured-box .icon-featured {
        display: inline-block;
        font-size: 30px;
        height: 75px;
        line-height: 75px;
        padding: 0;
        width: 75px;
        margin-top: 0;
    }

/* Featured Boxes - Style 3 */
.featured-boxes-style-3 .featured-box {
    margin: 10px 0;
}

    .featured-boxes-style-3 .featured-box .icon-featured {
        display: inline-block;
        font-size: 30px;
        height: 75px;
        line-height: 75px;
        padding: 0;
        width: 75px;
        margin-top: -35px;
        background: #FFF;
        border: 3px solid #CCC;
        color: #CCC;
        line-height: 68px;
    }

.featured-boxes-style-3:not(.featured-boxes-flat) .featured-box {
    background: none;
    border: 0;
    box-shadow: none;
}

    .featured-boxes-style-3:not(.featured-boxes-flat) .featured-box .box-content {
        border: 0;
        padding-top: 0;
        padding-bottom: 0;
    }

/* Featured Boxes - Style 4 */
.featured-boxes-style-4 .featured-box {
    background: none;
    border: 0;
    margin: 10px 0;
    box-shadow: none;
}

    .featured-boxes-style-4 .featured-box .box-content {
        border: 0;
        padding-top: 0;
        padding-bottom: 0;
    }

    .featured-boxes-style-4 .featured-box .icon-featured {
        display: inline-block;
        font-size: 40px;
        height: 45px;
        line-height: 45px;
        padding: 0;
        width: 45px;
        margin-top: 0;
        margin-bottom: 10px;
        background: transparent;
        color: #CCC;
        border-radius: 0;
    }

/* Paragraphs */
p {
    color: #777;
    line-height: 24px;
    margin: 0 0 20px;
}

/* Social Icons */
.social-icons {
    margin: 0;
    padding: 0;
    width: auto;
}

    .social-icons li {
        display: inline-block;
        margin: -1px 1px 0 0;
        padding: 0;
        border-radius: 100%;
        overflow: visible;
        box-shadow: 0 2px 2px 0 rgba(0, 0, 0, 0.3);
    }

        .social-icons li a {
            -webkit-transition: all 0.2s ease;
            -moz-transition: all 0.2s ease;
            transition: all 0.2s ease;
            background: #FFF;
            border-radius: 100%;
            display: block;
            height: 30px;
            line-height: 30px;
            width: 30px;
            text-align: center;
            color: #333 !important;
            text-decoration: none;
        }

        .social-icons li:hover a {
            background: #171717;
            color: #FFF !important;
        }

        .social-icons li:hover.social-icons-twitter a {
            background: #1aa9e1;
        }

        .social-icons li:hover.social-icons-facebook a {
            background: #3b5a9a;
        }

        .social-icons li:hover.social-icons-linkedin a {
            background: #0073b2;
        }

        .social-icons li:hover.social-icons-rss a {
            background: #ff8201;
        }

        .social-icons li:hover.social-icons-googleplus a {
            background: #dd4b39;
        }

        .social-icons li:hover.social-icons-pinterest a {
            background: #cc2127;
        }

        .social-icons li:hover.social-icons-youtube a {
            background: #c3191e;
        }

        .social-icons li:hover.social-icons-instagram a {
            background: #7c4a3a;
        }

        .social-icons li:hover.social-icons-skype a {
            background: #00b0f6;
        }

        .social-icons li:hover.social-icons-email a {
            background: #dd4b39;
        }

        .social-icons li:hover.social-icons-vk a {
            background: #6383a8;
        }

        .social-icons li:hover.social-icons-xing a {
            background: #1a7576;
        }

        .social-icons li:hover.social-icons-tumblr a {
            background: #304e6c;
        }

        .social-icons li:hover.social-icons-reddit a {
            background: #ff4107;
        }

    .social-icons.social-icons-transparent li {
        box-shadow: none;
    }

        .social-icons.social-icons-transparent li a {
            background: transparent;
        }

    .social-icons.social-icons-icon-light li a i {
        color: #FFF;
    }


/*************team main container start***********/
.team-container {
    width: 85%;
    margin: 40px auto;
}

.team-container-row {
    width: 100%;
    display: flex;
    justify-content: space-between;
    align-items: center;
    flex-wrap: wrap;
    margin-top: 18px;
    flex-wrap:wrap;
}

.team-detail {
    width: 32%;
    border-radius: 8px;
    box-shadow: 0 0 8px rgba(0, 0, 0, 0.4);
    box-sizing: border-box;
    text-align: center;
    background-color: #fcfcfc;
    border-top: #D40569 4px solid;
    margin-top: 18px;
}

.team-detail-img {
    width: 120px;
    height: 120px;
    border-radius: 50%;
    overflow: hidden;
    margin: 15px auto;
}

    .team-detail-img img {
        width: 100%;
        height: 100%;
        object-fit: cover;
    }

.team-detail-name {
    margin-top: 25px;
}

    .team-detail-name h2 {
        font-size: 1.2rem;
        color: #343434;
    }

    .team-detail-name p {
        color: #393CB4;
    }

.team-detail-btn {
    margin: 45px 0;
}

    .team-detail-btn a {
        padding: 8px 22px;
        background-color: #393CB4;
        color: #fff;
        border-radius: 5px;
    }

.team-detail-footer {
    width: 100%;
    text-align: left;
    padding: 12px;
    border-top: 1px solid rgba(0, 0, 0, 0.2);
    box-sizing: border-box;
    display: flex;
    align-items:center;
}


    .team-detail-footer ul {
        width: 75%;
        list-style: none;
        display:flex;
        justify-content:space-around;
    }

        .team-detail-footer ul li {
            display: inline-block;
            /*padding: 0 26px;*/
            border-right: 1px solid rgba(0,0,0,0.2);
            width:20%;
        }

            .team-detail-footer ul li a {
                font-size: 1.1rem;
                color: #4e4e4e;
            }

                .team-detail-footer ul li a:hover {
                    color: #D40569;
                }

/*************team main container end***********/





@media screen and (max-width: 1305px) {

    .team-detail-footer, .team-detail-footer ul li a i {
        font-size: 0.8rem;
    }
        .team-detail-footer ul li a i {
            font-size: 1rem;
        }


}
@media screen and (max-width: 1305px) {
    .team-detail-footer {
        font-size: 0.6rem;
    }
}
@media screen and (max-width: 825px) {
    .team-container-row {
        flex-direction:column;
    }
        .team-container-row .team-detail{
            width:60%;
        }
    .team-detail-footer, .team-detail-footer ul li a i {
        font-size: 1rem;
    }

        .team-detail-footer ul li a i {
            font-size: 1.2rem;
        }
}
@media screen and (max-width: 700px) {
    ul.history li p {
      font-size:90%;
    }

        .team-detail-footer ul li a i {
            font-size: 1rem;
        }
    .keyTeamMemberTitle {
        margin: 0 0 5vh 2vw !important;
    }
}
@media screen and (max-width: 630px) {


    .main .container .row .col ul li {
        display: flex;
        flex-direction: column;
        width:100%;
    }
    ul.history li .featured-box {
        margin-left: 0;
        margin-top: 0;
    }
    ul.history li .thumb {
        background: transparent url(../img/history-thumb-rotated.png) no-repeat 0 0;
        width: 227px;
        height: 227px;
        margin:0;
    }
        ul.history li .thumb img {
            margin: 7px 28px;
        }
    


    
}
@media screen and (max-width: 577px) {

    .keyTeamMemberTitle {
        margin: 0 0 5vh 4vw !important;
    }
    
}
@media screen and (max-width: 577px) {

    .keyTeamMemberTitle {
        margin:auto !important;
        margin-bottom:5vh !important;

    }
    .team-container-row .team-detail {
        width: 95%;
    }

}
@media screen and (max-width: 355px) {
    .team-detail-footer {
        font-size: 0.7rem;
    }

        .team-detail-footer ul li a i {
            font-size: 0.9rem;
        }
    
}
@media screen and (max-width: 355px) {
    .team-detail-footer {
        font-size: 0.6rem;
    }

        .team-detail-footer ul li a i {
            font-size: 0.8rem;
        }
}












/*////////////////////meysam additioanal css//////////////*/
.keyTeamMemberTitle {
    margin: 0 0 5vh -2vw;
    /*padding-bottom:1px;*/
    /*border-bottom:0.5px solid black;*/
    text-shadow: 0px 5px 5px rgba(0, 0, 0, 0.4);
    color: #D40569;
    /*animation: keyTeamTitleShadow 4s infinite;*/
}

@keyframes keyTeamTitleShadow {

    0% {
        text-shadow: 2px 2px 5px rgba(0, 0, 0, 0.4);
    }

    25% {
        text-shadow: none;
    }

    50% {
        text-shadow: none;
    }

    100% {
        text-shadow: 2px 2px 5px rgba(0, 0, 0, 0.4);
    }
}

