/*
--------------------
Основные стили
--------------------
*/
@font-face {
    font-family: OpenSans-Semibold;
    src: url(../fonts/OpenSans-Semibold.ttf); 
    } 
    @font-face {
    font-family: OpenSans;
    src: url(../fonts/OpenSans.ttf); 
    } 
    @font-face{
        font-family: OpenSans-light;
        src: url(../fonts/OpenSans-Light.ttf);
    }
    @font-face{
        font-family: OpenSans-bold;
        src: url(../fonts/Open_Sans_bold.ttf);
    }
.slider-block {
        font-family: OpenSans-bold;
    }



/*--- Progress Bar ---*/
.carousel-progress {
    width: 70%;
    height: 2px;
    background: #0d0d0d;
    border: 2px solid #0d0d0d;
    border-radius: 5px;
    position: relative;
    margin-top: -6px;
    z-index: 10;
}

.progress {
    position: absolute;
    height: 2px;
    background-color: #b2243b;
    animation-name: progress;
    animation-duration: 5s;
    animation-timing-function: linear;
    animation-iteration-count: 1;
    border-radius: 5px;
}

@keyframes progress {
  from {width: 0%;}
  to {width: 100%;}
}

.mySwiper {
    border-top: 2px solid #1a1a1a;
}

.mySwiper span {
    background: #0d0d0d;
    display: block;
    color: #808080;
    font-size: 13px;
    padding: 15px 0;
    text-align: center;
    position: relative;
    cursor: pointer;
}

.mySwiper .swiper-slide-thumb-active span {
    color: #e5e5e5;
}

.mySwiper .swiper-slide-thumb-active span:after {
    content: "";
    background: url(../img/shadow.png) center no-repeat;
    width: 100%;
    height: 56px;
    position: absolute;
    top: 8px;
    left: 0;
}

.slide-block {
    display: flex;
    align-items: stretch;
}

.slide-image {
    width: 70%;
    height: 350px;
    position: relative;
}

.slide-image:before {
    content: "";
    background: linear-gradient(to bottom,  rgba(13,13,13,1) 0%,rgba(13,13,13,0) 50%,rgba(13,13,13,1) 100%);
    width: 100%;
    height: 100%;
    position: absolute;
    top: 0;
    left: 0;
}

.slide-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.slide-image span {
    display: block;
    font-weight: 600;
    color: #f2f2f2;
    text-transform: uppercase;
    bottom: 10px;
    left: 10px;
    position: absolute;
    text-shadow: 0 2px 5px rgba(0,0,0,0.7);
}

.slide-info {
    width: 30%;
    background: #0d0d0d;
    padding: 20px;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: flex-start;
    color: #999999;
    font-size: 14px;
}

.slide-info span {
    color: #4c4c4c;
    font-weight: 600;
    font-size: 13px;
    display: block;
}

.slide-info h3 {
    font-weight: bold;
    color: #d9d9d9;
    margin: 20px 0;
}

.slide-info a {
    display: block;
    font-size: 12px;
    color: #bfbfbf;
    box-shadow: 1px 1px 0 #2c2c2c, -1px -1px 0 #000, 1px -1px 0 #202020, -1px 1px 0 #000;
    background: linear-gradient(to bottom, #171717 0%, #212121 100%);
    width: 175px;
    padding: 10px 20px;
    text-align: center;
    text-decoration: none;
    margin-top: auto;
}

.slide-info a:hover {background: #212121;}

/*
--------------------
Styles for Adaptive
--------------------
*/
@media (max-width: 991px) {
    .carousel-progress, .slide-image {width: 60%;}
    .slide-info {width: 40%;}
}

@media (max-width: 767px) {
    .carousel-progress, .slide-image, .slide-info {width: 50%;}
}

@media (max-width: 575px) {
    .slide-block {flex-direction: column;}
    .slide-image {width: 100%; height: 200px;}
    .slide-info, .carousel-progress {width: 100%;}
    .slide-info h3 {margin: 15px 0;}
    .slide-info, .slide-block {height: 100%;}
    .mySwiper2 .swiper-slide {height: auto;}
}

@media (max-width: 374px) {
}