/*----------------------------------------*/
/*  11. Agents CSS
/*----------------------------------------*/
.agent-carousel, .agent-carousel-2 {
    margin-bottom: -30px;
    &.slick-dotted {
        margin-bottom: 0;
        & .slick-arrow {
            margin-top: -30px;
        }
    }
    & .slick-arrow {
        position: absolute;
        top: 50%;
        transform: translateY(-50%);
        margin-top: -15px;
        z-index: 9;
        border: none;
        background-color: $white;
        color: $theme-color;
        padding: 10px;
        width: 44px;
        height: 44px;
        border-radius: 50%;
        text-align: center;
        box-shadow: 0 5px 10px rgba($black, 0.15);
        opacity: 0;
        & i {
            font-size: 24px;
            line-height: 24px;
            display: block;
        }
        &.slick-prev {
            left: -7px;
            margin-left: 30px;
            // Responsive
            @media #{$laptop-device}{
                left: 8px;
            }
            @media #{$desktop-device}{
                left: 8px;
            }
            @media #{$tablet-device}{
                left: 8px;
            }
            @media #{$large-mobile}{
                left: 8px;
            }
        }
        &.slick-next {
            right: -7px;
            margin-right: 30px;
            // Responsive
            @media #{$laptop-device}{
                right: 8px;
            }
            @media #{$desktop-device}{
                right: 8px;
            }
            @media #{$tablet-device}{
                right: 8px;
            }
            @media #{$large-mobile}{
                right: 8px;
            }
        }
        &:hover {
            background-color: $theme-color;
            color: $white;
        }
    }
    &:hover {
        & .slick-arrow {
            opacity: 1;
            &.slick-prev {
                margin-left: 0;
            }
            &.slick-next {
                margin-right: 0;
            }
        }
    }
    
    & .slick-dots {
        width: 100%;
        padding: 0;
        margin: 20px 0 0;
        display: flex;
        justify-content: center;
        & li {
            margin: 0 5px;
            & button {
                display: block;
                padding: 0;
                width: 12px;
                height: 12px;
                border: none;
                background-color: $body-color-light;
                text-indent: -9999px;
                border-radius: 50px;
            }
            &.slick-active {
                & button {
                    background-color: $theme-color;
                }
            }
        }
    }
    
    & .agent {
        margin-bottom: 30px;
    }
}

/*-- Agents --*/
.agent {
    box-shadow: 0 0 10px rgba($black, 0.1);
    transition: all 0.3s ease 0s;
    &:hover {
        box-shadow: 0 10px 15px rgba($black, 0.1);
        & .image {
            & .social {
                & a {
                    margin-left: 0;
                }
            }
        }
    }
    & .image {
        position: relative;
        overflow: hidden;
        & .img {
            display: block;
            & img {
                width: 100%;
            }
        }
        & .social {
            position: absolute;
            top: 50%;
            transform: translateY(-50%);
            left: 15px;
            & a {
                width: 30px;
                height: 30px;
                padding: 5px;
                text-align: center;
                border-radius: 50px;
                display: block;
                color: $white;
                margin-bottom: 5px;
                margin-left: -50px;
                &:last-child {
                    margin-bottom: 0;
                }
                &:hover {
                    opacity: 0.9;
                }
                & i {
                    display: block;
                    font-size: 14px;
                    line-height: 20px;
                }
                &.facebook {
                    background-color: $facebook;
                }
                &.twitter {
                    background-color: $twitter
                }
                &.linkedin {
                    background-color: $linkedin;
                }
                &.google {
                    background-color: $google-plus;
                }
                &.instagram {
                    background-color: $instagram;
                }
                &.pinterest {
                    background-color: $pinterest;
                }
                &.skype {
                    background-color: $skype;
                }
                &.tumblr {
                    background-color: $tumblr;
                }
                
                &:nth-child(2) {
                    transition-delay: 0.15s;
                }
                &:nth-child(3) {
                    transition-delay: 0.3s;
                }
                &:nth-child(4) {
                    transition-delay: 0.45s;
                }
                &:nth-child(5) {
                    transition-delay: 0.6s;
                }
                &:nth-child(6) {
                    transition-delay: 0.75s;
                }
                &:nth-child(7) {
                    transition-delay: 0.9s;
                }
                &:nth-child(8) {
                    transition-delay: 1.05s;
                }
            }
        }
    }
    & .content {
        display: flex;
        flex-direction: column;
        text-align: center;
        padding: 20px;
        & .title {
            font-weight: 600;
            font-size: 18px;
            & a {}
        }
        & .phone, & .email {
            line-height: 20px;
            margin-bottom: 5px;
        }
        & .properties {
            font-size: 13px;
            line-height: 18px;
            color: $theme-color;
            font-weight: 500;
            margin-top: 5px;
        }
    }
}

/*-- Single Agent --*/
/*-- Single Agent Image --*/
.agent-image {
    max-width: 470px;
    & img {
        width: 100%;
    }
}
/*-- Single Agent Content --*/
.agent-content {
    & .title {
        margin-bottom: 15px;
        font-weight: 600;
        
        // Responsive
        @media #{$large-mobile}{
            font-size: 20px;
        }
    }
    & p {
        margin-bottom: 25px;
    }
    & h4 {
        font-size: 18px;
        margin-bottom: 15px;
        font-weight: 600;
    }
    & ul {
        & li {
            color: $body-color;
            display: flex;
            flex: 1 0 100%;
            line-height: 24px;
            margin-bottom: 15px;
            &:last-child {
                margin-bottom: 0;
            }
            & i {
                font-size: 24px;
                line-height: 24px;
                width: 24px;
                text-align: center;
                margin-right: 10px;
                color: $heading-color;
            }
            & a {
                &::after {
                    content: ',';
                    margin-right: 1px;
                }
                &:last-child {
                    &::after {
                        display: none;
                    }
                }
            }
            & span {
                &:first-child {
                    font-weight: 600;
                    margin-right: 10px;
                    color: $heading-color;
                }
            }
        }
    }
    & .social {
        display: flex;
        margin-top: 25px;
        & a {
            width: 30px;
            height: 30px;
            padding: 5px;
            text-align: center;
            border-radius: 50px;
            display: block;
            color: $white;
            margin-right: 10px;
            &:last-child {
                margin-right: 0;
            }
            &:hover {
                opacity: 0.9;
            }
            & i {
                display: block;
                font-size: 14px;
                line-height: 20px;
            }
            &.facebook {
                background-color: $facebook;
            }
            &.twitter {
                background-color: $twitter
            }
            &.linkedin {
                background-color: $linkedin;
            }
            &.google {
                background-color: $google-plus;
            }
            &.instagram {
                background-color: $instagram;
            }
            &.pinterest {
                background-color: $pinterest;
            }
            &.skype {
                background-color: $skype;
            }
            &.tumblr {
                background-color: $tumblr;
            }

            &:nth-child(2) {
                transition-delay: 0.15s;
            }
            &:nth-child(3) {
                transition-delay: 0.3s;
            }
            &:nth-child(4) {
                transition-delay: 0.45s;
            }
            &:nth-child(5) {
                transition-delay: 0.6s;
            }
            &:nth-child(6) {
                transition-delay: 0.75s;
            }
            &:nth-child(7) {
                transition-delay: 0.9s;
            }
            &:nth-child(8) {
                transition-delay: 1.05s;
            }
        }
    }
}