/*
4. Default home page 
---------------------*/

.banner-section-wrap {
    position: relative;
    min-height: 600px;
    background: $black-color url(../images/banner-bg.jpg);
    display: block;
    background-size: cover;
    padding: 80px 0;
    .hc-overlay {
        background: rgba($theme-color, 0.2);
        position: absolute;
        top: 0;
        right: 0;
        bottom: 0;
        left: 0;
        background-size: cover;
        text-indent: -9999px;
    }
    .hc-banner {
        position: relative;
        z-index: 999;
        button {
            text-transform: uppercase;
            font-size: 14px;
        }
        h2 {
            line-height: 40px;
            font-weight: 900;
        }
        .owl-nav div {
            background: $white-color;
            color: $theme-color;
            @include transition(all 0.5s ease-in-out 0s);
            @include border-radius(0px);
            i {
                font-size: 20px;
            }
        }
        .owl-nav.disabled+.owl-dots {
            margin-top: 18px;
        }
        .owl-dots {
            text-align: left;
            margin-left: 10px;
            .owl-dot {
                span {
                    @include border-radius(0px);
                    background: darken($dimline-color, 30%);
                }
            }
            .owl-dot.active {
                span {
                    background: darken($theme-color, 30%);
                }
            }
        }
        .owl-nav {
            text-align: left;
        }
    }
}

.getin-touch {
    position: relative;
    margin: -90px 15px 0 15px;
    background: $theme-color;
    min-height: 200px;
    display: block;
    z-index: 9999;
    padding: 30px 15px;
    overflow: hidden;
    .contact-us-home {
        color: $white-color;
        h2 {
            font-weight: bold;
        }
        address {
            i {
                margin-right: 10px;
            }
        }
    }
    .appoitment-wrap {
        li {
            a {
                background: $black-color;
                color: $white-color;
                text-transform: uppercase;
                font-weight: bold;
                box-shadow: none;
                cursor: pointer;
                @include transition(all 0.5s ease-in-out 0s);
                &:hover {
                    background: $white-color;
                    color: $black-color;
                    border-color: $white-color;
                }
            }
        }
        li.active {
            a {
                background: $white-color;
                color: $black-color;
            }
        }
    }
    .tab-content-wrap {
        background: $dimline-color;
        min-height: 100px;
        overflow: hidden;
        color: $black-color;
        padding: 15px 15px;
        .form-control {
            border: none;
        }
    }
}


/*About us section start*/

.heading-wrap {
    position: relative;
    width: 100%;
    max-width: 560px;
    display: inline-block;
    margin-bottom: 20px;
    h2 {
        font-weight: bold;
        clear: both;
        margin: 8px 0 5px;
        span {
            position: relative;
            &:after {
                width: 40px;
                height: 1px;
                background: $black-color;
                bottom: 5px;
                position: absolute;
                content: "";
            }
        }
    }
    span.top-tag {
        font-weight: 300;
        display: inline-block;
        width: 100%;
        clear: both;
        font-family: raleway;
        font-size: 20px;
    }
    span.bottom-tag {
        font-weight: normal;
        color: darken($dimline-color, 15%);
        display: inline-block;
        width: 100%;
        clear: both;
    }
}

.about-section-wrap {
    padding: 50px 0 0;
    background: $dim-bg;
    .about-description {
        margin: 20px 0;
    }
}


/*Service blok*/

.service-wrap {
    position: relative;
    padding: 50px 0;
    .service-block {
        h3 {
            position: relative;
            font-weight: 100;
            margin-bottom: 20px;
            span {
                position: relative;
                &:after {
                    width: 40px;
                    height: 1px;
                    background: $theme-color;
                    bottom: -5px;
                    position: absolute;
                    content: "";
                    left: 0
                }
            }
        }
    }
}

.our-specialities-wrap {
    position: relative;
    min-height: 450px;
    background: $theme-color url(../images/spacial-bg.jpg);
    display: block;
    background-size: cover;
    padding: 50px 0 300px;
    color: $white-color;
    text-align: center;
    .hc-overlay {
        background: rgba($theme-color, 0.8);
        position: absolute;
        top: 0;
        right: 0;
        bottom: 0;
        left: 0;
        /*z-index: 1;*/
        background-size: cover;
        text-indent: -9999px;
    }
    .specialities-content {
        position: relative;
        z-index: 999;
        .heading-wrap {
            h2 {
                span {
                    &:after {
                        background: $white-color;
                    }
                }
            }
        }
    }
}

.speciality-tab {
    position: relative;
    margin: -250px 15px 0 15px;
    min-height: 400px;
    left: auto;
    right: auto;
    z-index: 999;
    .spec-tab-content {
        min-height: 200px;
        .tab-content {
            background: $dim-bg;
            min-height: 200px;
            padding: 30px 15px;
            overflow: hidden;
            h3 {
                font-weight: 100;
            }
        }
        .spec-tabs {
            border-bottom: transparent;
            margin-bottom: 35px;
            display:inline-block;
            li {
                a {
                    background: transparent;
                    color: $white-color;
                    font-family: raleway;
                    font-weight: 600;
                    font-size: 18px;
                    letter-spacing: 1.5px;
                    border: 1px solid transparent;
                    border-radius: 0px;
                    &:hover {
                        background: transparent;
                        border: 1px solid transparent;
                    }
                    &:focus {
                        background: transparent;
                    }
                }
            }
            li.active {
                a {
                    background: $dim-bg;
                    color: $black-color;
                    position: relative;
                    display: block;
                    cursor: pointer;
                    &:before {
                        width: 25px;
                        height: 25px;
                        border-top: 1px solid $white-color;
                        border-left: 1px solid $white-color;
                        position: absolute;
                        top: -4px;
                        left: -4px;
                        z-index: 99;
                        content: "";
                        @include transition(all 0.4s ease-in-out 0s);
                    }
                    &:after {
                        width: 25px;
                        height: 25px;
                        border-right: 1px solid $white-color;
                        border-bottom: 1px solid $white-color;
                        position: absolute;
                        right: -4px;
                        bottom: -4px;
                        z-index: 99;
                        content: "";
                        @include transition(all 0.4s ease-in-out 0s);
                    }
                    &:hover {
                        background: $white-color;
                        &:before {
                            width: 100%;
                            height: 100%;
                        }
                        &:after {
                            width: 100%;
                            height: 100%;
                        }
                    }
                    &:focus {
                        background: $white-color;
                    }
                }
            }
        }
    }
}


/*Team member*/

.team-section-wrap {
    position: relative;
    padding: 50px 0;
    .team-member-block {
        position: relative;
        color: $white-color;
        .team-caption {
            position: relative;
            overflow: hidden;
            .name-n-desigation {
                display: block;
                position: relative;
                background: lighten($theme-color, 10%);
                padding: 8px 15px;
                .designation {
                    margin-top: 5px;
                    display: inline-block;
                    clear: both;
                }
                h4 {
                    margin: 15px 0 8px;
                }
                &:after {
                    position: absolute;
                    content: "";
                    height: 35px;
                    width: 100%;
                    background: lighten($theme-color, 10%);
                    transform: rotate(-5deg);
                    z-index: 999;
                    bottom: -18px;
                    left: -8px;
                    right: -8px;
                    width: 105%;
                }
            }
            .social-connect {
                display: block;
                position: relative;
                background: $theme-color;
                padding: 25px 15px 15px;
                overflow: hidden;
                .team-social {
                    margin: 0;
                    padding: 0;
                    display: inline-block;
                    float: right;
                    li {
                        display: inline-block;
                        margin-right: 5px;
                        list-style: none;
                        a {
                            color: $white-color;
                            text-decoration: none;
                        }
                    }
                }
            }
        }
     

    }
       .owl-nav.disabled+.owl-dots {
            margin-top: 18px;
        }
        .owl-dots {
            
            .owl-dot {
                span {
                    @include border-radius(0px);
                    background: darken($dimline-color, 30%);
                }
            }
            .owl-dot.active {
                span {
                    background: darken($theme-color, 30%);
                }
            }
        }
}

.newsevent-wrap {
    position: relative;
    min-height: 450px;
    background: $theme-color url(../images/news-event-bg.jpg);
    display: block;
    background-size: cover;
    padding: 50px 0 50px;
    .heading-wrap {
        color: $white-color;
        h2 {
            span {
                &:after {
                    background: $white-color;
                }
            }
        }
    }
    .hc-overlay {
        background: rgba($theme-color, 0.8);
        position: absolute;
        top: 0;
        right: 0;
        bottom: 0;
        left: 0;
        /*z-index: 1;*/
        background-size: cover;
        text-indent: -9999px;
    }
    .news-event-block {
        display: block;
        position: relative;
        margin-top: 20px;
        .left-date {
            position: relative;
            min-height: 30px;
            font-size: 14px;
            display: block;
            vertical-align: middle;
            background: $dimline-color;
            .date {
                position: relative;
                overflow: hidden;
                /*background: lighten($theme-color, 55%);*/
                border-bottom: 1px solid darken($dim-bg, 5%);
                font-size: 12px;
                color: $black-color;
                i {
                    margin-right: 5px;
                }
            }
            span {
                vertical-align: middle;
                padding: 15px;
            }
        }
        .right-description {
            position: relative;
            display: block;
            background: $white-color;
            min-height: 200px;
            padding: 15px;
            @include box-sizing(border-box);
            @include calc(width, '100% - 0');
            text-align: left;
            h3 {
                font-weight: 100;
            }
        }
    }
}


/* Testimonial wrap */

.testimonial-wrap {
    min-height: 400px;
    display: block;
    padding: 50px 0;
    .testimoni-slide {
        position: relative;
        margin-top: 34px;
        .owl-item {
            opacity: 0.2;
            .left-avatar {
                padding: 20px;
                img {
                    max-width: 100%;
                    transition: all 0.8 ease-in-out 0s;
                }
            }
        }
        .owl-item.active.center {
            opacity: 1;
            .left-avatar {
                padding: 0;
            }
        }
        .owl-dots {
            .owl-dot {
                span {
                    @include border-radius(0px);
                    background: darken($dimline-color, 30%);
                }
            }
            .owl-dot.active {
                span {
                    background: darken($theme-color, 30%);
                }
            }
        }
        .testi-individual {
            position: relative;
            .left-avatar {
                width: 160px;
                height: 160px;
                float: left;
            }
            .prsns-description {
                @include calc(width, '100% - 160px');
                float: left;
                min-height: 80px;
                padding-left: 30px;
                @include box-sizing (border-box);
            }
        }
    }
}
