@import url('https://fonts.googleapis.com/css?family=Open+Sans:300,400,700');
.slides__wrap {
/*  max-width: 300px;
  height: 200px;*/
  margin: 20px auto;
  position: relative;
}
.slides__item:nth-child(1),.slides__item:nth-child(2),.slides__item:nth-child(3) {
  position: absolute;
  width: 100%;
  height: 100%;
}
.slides__item:nth-child(1) {
    animation:fade 18s infinite;
-webkit-animation:fade 18s infinite;

} 
.slides__item:nth-child(2) {
    animation:fade2 18s infinite;
-webkit-animation:fade2 18s infinite;
}
.slides__item:nth-child(3) {
    animation:fade3 18s infinite;
-webkit-animation:fade3 18s infinite;
}
@keyframes fade
{
  0%   {opacity:1}
  33.333% { opacity: 0}
  66.666% { opacity: 0}
  100% { opacity: 1}
}
@keyframes fade2
{
  0%   {opacity:0}
  33.333% { opacity: 1}
  66.666% { opacity: 0 }
  100% { opacity: 0}
}
@keyframes fade3
{
  0%   {opacity:0}
  33.333% { opacity: 0}
  66.666% { opacity: 1}
  100% { opacity: 0}
}
body{ font-family: 'Open Sans', serif; } h1 b{ color:#9b1434; display: block; } .card-block, .card-block a{ color:#fff; text-align: center; } .card-block.profilgate { background: #008ad1; } .card-block.shoeshine { background: #475054; } .card-block.solecleaning { background: #9d032c; } .card-title{ height: 3.5rem; font-size: 28px; font-weight: 700;color:#fff } .meta { position: absolute; top: 60%; left: 20px; } .meta svg { fill: #fff; width: 20px; height: 20px; margin-left: 10px; vertical-align: text-top; } .card-text { letter-spacing: 1px; font-size: 1.3em; } .wrap_img a{ position: absolute; display: block; top:0; left:0; width: 100%; height: 100%; z-index:2; } .wrap_img.hover { position: relative; overflow: hidden; } .wrap_img.hover:hover::before { -webkit-transform: scaleX(1) translateZ(0); transform: scaleX(1) translateZ(0); } .wrap_img.hover:before{ display: block; position: absolute; content: ' '; width: 100%; height: 6px; left: 0; bottom: 0; background: #fff; background-color: rgb(255, 255, 255); z-index: 5; transform: scaleX(0) translateZ(0); -webkit-transform: scaleX(0) translateZ(0); transform-origin: 0 0; -webkit-transform-origin: 0 0; -webkit-transition: 0.45s cubic-bezier(0.24,1,0.30,1); transition: 0.45s cubic-bezier(0.24,1,0.30,1); } .wrap_img.hover:hover::after{ background-color: rgba(51,51,51,0.2); } .wrap_img.hover:after{ position: absolute; top: 0; left: 0; height: 100%; width: 100%; content: ' '; background-color: rgba(51,51,51,0.5); transition: all .6s ease;cubic-bezier(0.24,1,0.30,1); -webkit-transition: all .6s ease;cubic-bezier(0.24,1,0.30,1); /*z-index: 0*/ } .wrap_img img { transition: all .6s cubic-bezier(0.24,1,0.30,1); } .wrap_img:hover img { transform: scale(1.13); -webkit-transform: scale(1.13); }
/* Bootstrap */

.list-unstyled{
    display: -webkit-box;
    display: -ms-flexbox;
    display: flex;
    justify-items: center;
    -webkit-box-pack: center;
        -ms-flex-pack: center;
            justify-content: center;
    -ms-flex-line-pack: start;
        align-content: flex-start;
    height: 75px
}

/* Txt */

.txt__pw{
    color:#fff
}

/* Slides */

.slides{
    background-color: #000000
}
.slides__wrap{
    width: 100%;
    position: relative
}
.slides__txt{
    width: 47%;
    float:right;
    padding-left: 15px;
    padding-right: 15px;
    padding-top: 165px;
    padding-bottom: 165px;
    position: absolute;
    top: 0;
    right: 0
}
.slides__txt1{
    width:40%;
    padding-left: 15px;
    padding-right: 15px;
    padding-top: 127px;
    padding-bottom: 125px;
    position: absolute;
    left: 25px;
    top: 0
}
.slides__txt2{
    width: 47%;
    padding-left: 15px;
    padding-right: 15px;
    padding-top: 143px;
    padding-bottom: 0px;
    top: 0;
    right: 0;
    position: absolute
}
.slides__title{
    color: #ffffff;
    font-size: 57px;
    font-famely:'Open Sans', sans-serif;
    font-weight: 300;
    line-height: 59px
}
.slides__p{
    padding-top: 34px;
    padding-bottom: 34px;
    color: #ffffff;
    font-weight: 300
}
.slides__p2{
    padding-top: 215px;
    padding-bottom: 14px;
    color: #ffffff;
    font-weight: 300;
    margin-top: 98px;
    margin-bottom: 13px
}
.slides__img{
    width:100%;
    height:auto
}
.slides__wi{
    position: relative
}

/* Product */

.product__bg{
    background-color: #000000
}
.product__wrap{
    position: relative;
    padding-left: 0px;
    padding-right: 0px
}
.product__txt{
    color: #ffffff;
    font-weight: 300;
    position: absolute;
    left: 0;
    top: 0;
    margin-left: 55px;
    margin-top: 71px
}
.product__var{
    text-align: center;
    position: absolute;
    bottom: 0;
    right: 0;
    width: 60%;
    letter-spacing: 0.3em;
    font-weight: 600
}
.product__img{
    width: 100%
}
.product__title{
    height: 117px;
    display: -webkit-box;
    display: -ms-flexbox;
    display: flex;
    -webkit-box-align: end;
        -ms-flex-align: end;
            align-items: flex-end;
    margin-bottom: 29px
}
.product__wrap_other{
    -ms-flex-wrap:wrap;
        flex-wrap:wrap
}
.product h1{
    font-weight: 300;
    font-family: Roboto;
    font-size: 65px;
    vertical-align: baseline;
    color:#fff
}
.product__var li{
    width: 39px;
    padding-left: 0px;
    padding-right: 0px;
    margin-left: 13px;
    margin-right: 13px;
    cursor: pointer
}
.product__var li img{
    width: 100%
}
.product__var li:hover img, .product__var li.active img{
    border: 1px solid #ffffff;
    border-radius: 50%
}
.product__var li:after{
    content: attr(data-txt);
    display: block;
    color: #fff;
    width: 40px;
    font-size: 0.7em;
    letter-spacing: -0.5px;
    line-height: 1.2em;
    opacity: 0
}
.product__wrap:before{
    content: '';
    display: block;
    width: 55%;
    position: absolute;
    top:188px;
    height: 1px;
    background: #d1d1d1;
    background: -webkit-gradient(linear, left top, right top, color-stop(24%, #d1d1d1),color-stop(50%, #333333),color-stop(50%, #333333),color-stop(77%, #c4c4c4),to(#1b1b1b));
    background: linear-gradient(to right, #d1d1d1 24%,#333333 50%,#333333 50%,#c4c4c4 77%,#1b1b1b 100%);
    filter: progid:DXImageTransform.Microsoft.gradient( startColorstr='#d1d1d1', endColorstr='#1b1b1b',GradientType=1 )
}
.product__wrap:after{
    content: '';
    display: block;
    width: 13%;
    position: absolute;
    height: 1px;
    background: #ff1a00;
    background: -webkit-gradient(linear, left top, right top, from(#ff1a00),color-stop(49%, #ffffff),to(#ff1a00));
    background: linear-gradient(to right, #ff1a00 0%,#ffffff 49%,#ff1a00 100%);
    filter: progid:DXImageTransform.Microsoft.gradient( startColorstr='#ff1a00', endColorstr='#ff1a00',GradientType=1 );
    right: 0;
    top: 188px
}
.product__other img{
    width:100%;
    height:auto;
    min-width:200px;
    margin-bottom:15px
}
.product__var li.active::after, .product__var li:hover:after{
    opacity:1
}
.cat_item a{
    position:absolute;
    top:0;
    left:0;
    width:100%;
    height:100%;
    display:block
}
.cat_item a:hover{
    -webkit-box-shadow:  0 0 3px 0 rgba(255, 255, 255, 0.52);
            box-shadow:  0 0 3px 0 rgba(255, 255, 255, 0.52)
}
.product a, .product b, .product h2, .product p{
    color:#fff
}
.product ul.dwn{
    -webkit-column-count: 3;
            column-count: 3
}
.product .aligncenter{
    display: block;
    margin-left: auto;
    margin-right: auto
}
/*
 * CASCADE
 */

.slides__txt a, .slides__txt1 a, .slides__txt2 a{
    color:#c00
}
.slides__txt a:hover, .slides__txt1 a:hover, .slides__txt2 a:hover{
    color:#fff;
    text-decoration: underline
}
/*
 * MEDIA
 */

@media all and (max-width: 997px){
    
    /* Slides */

    .slides__txt{
        padding-top: 43px;
        width: 38%
    }
    .slides__txt1{
        padding-top: 80px
    }
    .slides__txt2{
        padding-top: 115px;
        width: 56%
    }
    .slides__title{
        line-height: 65px;
        font-size: 48px
    }
    .slides__p{
        padding-top: 15px
    }
    .slides__p2{
        padding-top: 15px;
        margin-top: 158px
    }
    
    /* Product */

    .product__txt{
        margin-top: 11px;
        margin-left: 0px;
        padding-top: 15px;
        height: auto
    }
    .product h1{
        font-size: 56px
    }
    .product__wrap:before{
        top:140px
    }
    .product__wrap:after{
        top:140px
    }
    .product ul.dwn{
        -webkit-column-count: 2;
                column-count: 2
    }
}
@media all and (max-width: 576px){
    
    /* Slides */

    .slides__txt{
        width: 100%;
        padding-bottom: 65px;
        margin-top: 130px
    }
    .slides__txt1{
        width: 100%;
        padding-bottom: 7px;
        padding-top: 201px
    }
    .slides__txt2{
        width: 100%;
        padding-bottom: 65px;
        margin-top: 130px
    }
    .slides__title{
        font-size: 41px;
        line-height: 41px
    }
    .slides__p{
        padding-bottom: 32px;
        padding-top: 12px
    }
    .slides__p2{
        padding-bottom: 32px;
        padding-top: 12px;
        margin-top: 0px
    }
    
    /* Product */

    .product__txt{
        position: relative;
        height: auto
    }
    .product__var{
        position: relative;
        top: 0;
        right: 0;
        bottom: 0;
        left: 0;
        width: 100%
    }
    .product ul.dwn{
        -webkit-column-count: 1;
                column-count: 1
    }
}