/*
 * 
 * Тема : 
 *
 * 
 */


/*
 * -----------------------------------------------------------------------------
 *
 * Баннер.
 *
 * -----------------------------------------------------------------------------
 */

#iblock-banner {
    position: relative;
    
    background-position: center center;
    background-repeat: no-repeat;
    background-size: cover;
    
    text-align: center;
    
    background-color: #f0f0f0;
    color: #fff;
}

#iblock-banner .blackout {
    background: linear-gradient(to top, rgba(0,0,0,.95), rgba(0,0,0,.55));
}

#iblock-banner .container {
    display: -ms-flexbox;
    display: flex;
    
    -ms-flex-direction: column;
    flex-direction: column;
    
    -ms-flex-wrap: nowrap;
    flex-wrap: nowrap;
    
    -ms-flex-pack: end;
    justify-content: flex-end;
    
    -ms-flex-align: center;
    align-items: center;
    
    min-height: 520px;
    
    padding-top: 3rem;
    padding-bottom: 3rem;
}


#iblock-banner .iblock-title {
    font-size: 14px;
}

#iblock-banner .t1 {
    margin: 0;
    
    line-height: 1.1;
    font-weight: 800;
    
    font-size: 2.25em;
}

#iblock-banner .t2 {
    margin-top: .75rem;
    
    font-weight: 700;
    font-size: 1.5em;
}

#iblock-banner .t3 {
    max-width: 480px;
    margin: 2rem auto 0;
    
    font-size: 1em;
}

#iblock-banner .buttons {
    display: -ms-flexbox;
    display: flex;

    -ms-flex-wrap: nowrap;
    flex-wrap: nowrap;
    
    -ms-flex-direction: column;
    flex-direction: column;
    
    -ms-flex-pack: center;
    justify-content: center;
    
    -ms-flex-align: center;
    align-items: center;
    
    margin-top: 2rem;
}

#iblock-banner .button {
    max-width: 240px;
}

#iblock-banner .button + .button {
    margin-top: 1rem;
}

#iblock-banner .button .btn {
    width: 100%;
}

#iblock-banner .button .btn-call {
    font-size: 18px;
}

@media (min-width: 520px) {
    
    #iblock-banner .t1 {
        font-size: 2.5em;
    }
}

@media (min-width: 576px) {
    
    #iblock-banner .iblock-title {
        font-size: 16px;
    }
    
    #iblock-banner .buttons {
        -ms-flex-direction: row;
        flex-direction: row;
        
        margin-top: 2rem;
    }
    
    #iblock-banner .button + .button {
        margin-top: 0;
        margin-left: 1rem;
    }
}

@media (min-width: 768px) {
    
    #iblock-banner .iblock-title {
        font-size: 16px;
    }
}

@media (min-width: 992px) {
    
    #iblock-banner .iblock-title {
        font-size: 18px;
    }
    
    #iblock-banner .t1 {
        font-size: 3em;
    }
}


/*
 * -----------------------------------------------------------------------------
 *
 * car-dots.
 *
 * -----------------------------------------------------------------------------
 */



.car-dots--box {
    display: none;
}

@media (min-width: 576px) {
    
    #iblock-banner .container {
        padding-bottom: 260px;
    }

    #iblock-banner + #iblock-services {
        padding-top: 140px;
    }
    
    #iblock-banner + #iblock-services .iblock-title {
        display: none;
    }
    
    .car-dots--box {
        display: block;
        position: absolute; z-index: 100;

        bottom: -160px;
        left: 50%;

        width: 500px;
        margin-left: -220px;
    }

    .car-dots {
        width: 100%; height: 0;
        padding-bottom: 69%;

        background-image: url(/_images/car-dots.png);

        background-position: center center;
        background-repeat: no-repeat;
        background-size: 100% auto;
    }
}

@media (min-width: 992px) {
    
    #iblock-banner .container {
        padding-bottom: 280px;
    }

    #iblock-banner + #iblock-services {
        padding-top: 170px;
    }
    
    .car-dots--box {
        bottom: -180px;
        
        width: 600px;
        margin-left: -260px;
    }
}


.car-dot--box {
    position: absolute;
    width: 48px; height: 48px;
}

.dot {
    display: block;
    
    position: relative;
    width: 30px; height: 30px;
    
    cursor: pointer;
}

.dot-outer {
    display: block;
    
    position: absolute; z-index: 1;
    width: 40px; height: 40px;
    
    border-radius: 50%;
    background-color: rgba(255,255,255,.3);
    
    left: 50%; top: 50%;
    transform: translate(-50%,-50%);
    
    transition: all .3s;
}

.dot-outer::before {
    content: "";
    display: block;
    
    position: absolute;
    
    border-radius: 50%;
    background-color: rgba(255,255,255,.3);
    
    inset: 5px;
}

.dot-point {
    display: block;
    
    position: relative; z-index: 2;
    width: 30px; height: 30px;
    
    border: 8px solid #fff;
    border-radius: 50%;
    background-color: var(--color-attn);
}


.dot:hover .dot-outer {
    animation: pulse 1s infinite linear;
}

.car-dot--info {
    position: absolute; z-index: 3;
    
    left: -75px; bottom: 55px;
    width: 180px;
    
    padding: 1rem;
    
    text-align: left;
    text-decoration: none;
    
    color: var(--color-text);
    
    border-radius: 5px;
    
    background-color: #fff;
    box-shadow: 5px 5px 10px rgba(0,0,0,.1);
    
    opacity: 0;
    visibility: hidden;
    
    transition: all .3s;
}

.car-dot--info::after {
    content: "";
    display: block;
    
    position: absolute;
    
    bottom: -12px;
    left: 50%;
    transform: translateX(-50%);
    
    width: 0; height: 0;
    
    border-style: solid;
    border-width: 12px 12px 0;
    border-color: #fff transparent transparent;
}

.car-dot--info .title {
    font-weight: 600;
    font-size: 14px;
}

.car-dot--info .about {
    margin-top: 1rem;
    
    font-size: 12px;
}

.car-dot--info .link {
    margin-top: 1rem;
    
    font-size: 12px;
    
    text-decoration: underline;
    color: var(--color-prim);
}

.dot:hover + .car-dot--info,
.car-dot--info:hover {
    opacity: 1;
    visibility: visible;
}

.car-dot--info:hover .link  {
    text-decoration: none;
}

/*
 * -----------------------------------------------------------------------------
 *
 * .
 *
 * -----------------------------------------------------------------------------
 */

@keyframes pulse{
    0% {
        width: 40px;
        height: 40px;
    }
    50% { 
        width: 50px;
        height: 50px;
    }
    100% {
        width: 40px;
        height: 40px;
    }
}

