/*
    Name: work styles;
    by CRYCODE
*/

.work-item {
    background-color: #F7F7F7;
    padding: 15px;
}

a.work-item-title {
    text-transform: uppercase;
    font-size: 18px;
}

.work-item-text {
    color: #4a4040;
}

.work-item+.work-item {
    margin-top: 30px;
}

a.work-item-images {
    margin: 15px -20px;
    display: block;
    position: relative;
    overflow: hidden;
}

a.work-item-images span {
    background-position: center;
    background-repeat: no-repeat;
    background-size: cover;
    padding-bottom: 25%;
    display: block;
}

html:not(.bx-touch) .work-item-images:hover span, html:not(.bx-no-touch) .work-item-images:active span {
    -webkit-transform: scale(1.1);
    -moz-transform: scale(1.1);
    -ms-transform: scale(1.1);
    -o-transform: scale(1.1);
    transform: scale(1.1);
}

.btn.work-item-order {
    width: 100%;
    margin-bottom: 30px;
}

.work-item-footer {
    margin-top: 15px;
}

.work-gallery a {
    display: block;
    position: relative;
    overflow: hidden;
}

.work-gallery a:after {
    font-size: 3em;
    position: absolute;
    content: '\f00e';
    font-family: FontAwesome;
    left: 50%;
    top: 50%;
    transform: translate(-50%,-50%);
    display: block;
    color: rgba(255,255,255,.8);
    max-width: none;
    border: 0;
    right: auto;
}

html:not(.bx-touch) .work-gallery a:hover:after,
html:not(.bx-no-touch) .work-gallery a:active:after {
    color: #fff;
}

.work-gallery span {
    background-repeat: no-repeat;
    background-position: center;
    background-size: cover;
    display: block;
    padding-bottom: 100%;
    opacity: .8
}

html:not(.bx-touch) .work-gallery a:hover span,html:not(.bx-no-touch) .work-gallery a:active span {
    -webkit-transform: scale(1.1);
    -moz-transform: scale(1.1);
    -ms-transform: scale(1.1);
    -o-transform: scale(1.1);
    transform: scale(1.1);
    opacity: 1;
}

.work-gallery {
    margin: 0 40px 30px;
    position: relative;
}

.works-item-footer {
    margin-top: 30px;
}

h4 + ul.work-item-list {
    margin-bottom: 30px;
}

ul.work-item-list li {
    position: relative;
}

ul.work-item-list li+li {
    margin-top: 5px
}

ul.work-item-list li:before {
    -webkit-transform: translateY(-50%);
    -moz-transform: translateY(-50%);
    -ms-transform: translateY(-50%);
    -o-transform: translateY(-50%);
    transform: translateY(-50%);
    position: absolute;
    top: 50%;
    background-color: #FB6C00;
    width: 8px;
    height: 8px;
    display: block;
    content: '';
    left: 0;
}

ul.work-item-list a {
    display: block;
    padding-left: 20px;
}

.work-gallery .swiper-slide {
    width: 33.33%;
    opacity: .2;
    pointer-events: none;
}

.work-gallery .swiper-slide.swiper-slide-active {
    opacity: 1;
    pointer-events: all;
}

@media screen and (min-width: 1024px) {
    .work-gallery .swiper-slide.swiper-slide-next+.swiper-slide {
        opacity: 1;
        pointer-events: all;
    }
}

@media screen and (max-width: 1023px) {
    .work-item+.work-item {
        margin-top: 20px;
    }

    a.work-item-images span {
        padding-bottom: 40%;
    }
}

@media screen and (max-width: 767px) {
    .work-item+.work-item {
        margin-top: 10px;
    }

    a.work-item-images span {
        padding-bottom: 45%;
    }
}

@media screen and (min-width: 480px) {
    .work-gallery .swiper-slide.swiper-slide-next {
        opacity: 1;
        pointer-events: all;
    }
}