html, body{
    font-family: "Roboto Slab", sans-serif;
    scroll-behavior: auto !important;
    min-width: 304px;
}

a{
    text-decoration: none;
}

.d-separator{
    padding-right: .25rem !important;
    padding-left: .25rem !important;
    color: #ffffff!important;
}

.d-separator:last-of-type {
    display: none !important;
}

#dBtnMenu{
    padding-top: 4px;
    cursor: pointer;
    transition: .3s ease;
    margin-left: 10px;
}

#dBtnMenu:hover{
    opacity: 0.7;
}

#dSmallMenu{
    display: none;
}

#dSmallMenu .list-group-item{
    color: #ffffff;
    padding: 18px;
    background-color: #212529;
    border-color: #3f475b;
}

#dSpinnerModalWork{
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
}

#secImgMain{
    position: relative;
    height: 450px;
    background-image: url("../img/images-all/img-main-top.jpg");
    background-color: #0d6efd;
    background-position: center center;
}

#dImgMainInner{
    width: 100%;
    position: absolute;
    top: 26%;
    left: 0;
}

.card-spec{
    /*aspect-ratio: 0.9;*/
    background-color: #e9ebf7;
    border-radius: 20px;
    text-align: center;
    color: #121158;
    opacity: 0;
    /*animation: animatebottom 0.6s*/
    margin-left: auto;
    margin-right: auto;
}

.card-spec.animate-bottom{
    opacity: 1;
    animation: animatebottom 0.6s;
}

@keyframes animatezoom{
    from{transform:scale(0)}
    to{transform:scale(1)}
}

@keyframes animatebottom{
    0% {
        bottom: -300px;
        opacity: 0;
    }
    100% {
        bottom: 0;
        opacity: 1;
    }
}

.d-imd-spec{
    background-color: #ffffff;
    border-radius: 25px;
    box-shadow: -1px 1px 10px 0 #2b01441a;
    padding: 16px;
}

.spec-title{
    margin-bottom: 1.0rem !important;
}

.spec-description{
    padding-bottom: 1.5rem !important;
}

#secWorks{
    background-color: #ffffff;
    padding-top: 60px;
    padding-bottom: 30px;
}

#hWorks1{
    text-align: center;
    color: #00194c;
    margin-bottom: 60px;
}

.d-img-work{
    position: relative;
    aspect-ratio: 3 / 2;
    margin-bottom: 60px;
    cursor: pointer;
}

.d-abs-work-1{
    position: absolute;
    right: 0;
    bottom: 0;
    left: 0;
    background-color: rgba(65, 7, 0, 0.35);
    border-radius: 1rem;
}

.d-abs-work-2{
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    -ms-transform: translate(-50%, -50%);
    text-align: center;
    opacity: 0;
    transition: 0.3s ease-in;
}

.d-img-work:hover .d-abs-work-1{
    top: 0;
    animation-name: bg-rises;
    animation-duration: 0.3s;
    animation-timing-function: ease-out;
}

@keyframes bg-rises{
    from {top: 100%;}
    to {top: 0;}
}

.d-img-work:hover .d-abs-work-2{
    opacity: 1;
}

#secIcons{
    background: #0055ff;
}

#secIcons .img-icon-l{
    display: block;
    width: 80px;
    height: auto;
    margin-left: auto;
    margin-right: auto;
}

#secIcons .img-icon-s{
    display: block;
    width: 60px;
    height: auto;
    margin-right: 32px;
}

#dIconsScroll{
    display: flex;
    width: fit-content;
    animation: iconsScroll 10s linear infinite;
    -webkit-transform-style: preserve-3d; /* Фикс возможного глюка с морганием в Сафари */
}

@keyframes iconsScroll {
    0% { transform: translateX(0); }
    100% { transform: translateX(-50%); }
}

#btnPrivacyPolicy{
    color: #212529;
    text-decoration: underline;
    cursor: pointer;
}



/* responsive */
@media (max-width: 575px) {

    #secWorks {
        padding-bottom: 0;
    }

    .card-spec{
        max-width: 360px;
    }

    .spec-title{
        font-size: 1.5rem;
    }

    .spec-description {
        font-size: 1.2rem;
    }

}


@media (min-width: 576px) and (max-width: 767px) {

    .card-spec{
        max-width: 320px;
    }

}

@media (min-width: 768px) and (max-width: 991px) {

    .card-spec{
        max-width: 320px;
    }

}

@media (min-width: 992px) and (max-width: 1199px) {

    .card-spec{
        max-width: 320px;
    }

}

@media (min-width: 1200px) and (max-width: 1399px) {

}

@media (min-width: 1400px){

}
