

/* Start:/local/templates/retolegenda2017/components/bitrix/menu/events/style.css?1490600790650*/
.tabs {
    text-align: center;
    font-family: "KellySlab";
    font-size: 20px;
    letter-spacing: -1.5em;
    color: #0f0f14;
}

.tabs div {
    display: inline-block;
    width: 50%;
    padding: 30px;
    letter-spacing: normal;
}


.tabs .grey{
    background: #f4f6f8;
}

.tabs .grey:last-child {
    -webkit-border-bottom-left-radius: 5px;
    border-bottom-left-radius: 5px;
    border-left: 4px solid #e9edf1;
}

.tabs .grey:first-child {
    -webkit-border-bottom-right-radius: 5px;
    border-bottom-right-radius: 5px;
    border-right: 4px solid #e9edf1;
}

.tabs a {
    text-decoration: none;
    border-bottom: 2px dotted #1e3cbe;
}
/* End */


/* Start:/local/templates/retolegenda2017/components/custom/catalog.section.list/event_list/detail.css?15106825016083*/

.auto-detail {
    /*padding-top: 100px;*/
    padding-bottom: 150px;
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    background: white;
    bottom: 0;
    z-index: 500;
    overflow: auto;
    transition: all ease-in 0.3s;
    opacity: 0;
}

.auto-detail .dec {
    text-align: left;
}

.auto-detail .fa-rub {
    font-size: 37px;
}

.auto-detail.open {
    opacity: 1;
}

.auto-detail .wrap {
    /*overflow: hidden;*/
    margin-top: 100px;
    position: relative;
}

.auto-detail .wrap2 {
    overflow: hidden;
}

@media (max-width: 991px) {
    .auto-detail {
        padding-bottom: 70px;
    }

    .auto-detail .wrap {
        margin-top: 70px;
    }
}

.auto-detail .close {
    position: absolute;
    cursor: pointer;
    right: 30px;
    top: -65px;
    width: 30px;
    height: 30px;
    opacity: 0.6;
}

@media (max-width: 991px) {
    .auto-detail .close {
        top: -52px;
        right: 20px;
    }
}

.auto-detail .close:before, .auto-detail .close:after {
    position: absolute;
    content: '';
    width: 30px;
    height: 3px;
    background: grey;
    top: 50%;
}

.auto-detail .close:before {
    -webkit-transform: rotate(45deg);
    -ms-transform: rotate(45deg);
    transform: rotate(45deg);
}

.auto-detail .close:after {
    -webkit-transform: rotate(-45deg);
    -ms-transform: rotate(-45deg);
    transform: rotate(-45deg);
}

.auto-detail .carousel {
    max-width: 900px;
    width: auto;
    margin: auto;
}

@media (max-width: 991px) {
    .auto-detail .carousel {
        margin-left: 50px;
        margin-right: 50px;
    }
}

@media (max-width: 767px) {
    .auto-detail .carousel {
        margin-left: 0px;
        margin-right: 0px;
    }
}

.auto-detail .big {
    max-width: 900px;
    margin: auto;
    margin-bottom: 10px;
    /*overflow: hidden;*/
}

@media (max-width: 767px) {
    .auto-detail .big {
        margin-bottom: 3px;
    }
}

.auto-detail .small.owl-carousel .owl-stage-outer {
    margin-right: -200px;
    margin-left: -200px;
    padding-left: 200px;
}

.auto-detail .small.owl-carousel .owl-stage-outer:before, .auto-detail .small.owl-carousel .owl-stage-outer:after {
    content: '';
    position: absolute;
    right: 0;
    top: 0;
    bottom: 0;
    width: 140px;
    background: -webkit-gradient(linear, left top, right top, from(rgba(255, 255, 255, 0)), to(white));
    background: -webkit-linear-gradient(left, rgba(255, 255, 255, 0), white);
    background: linear-gradient(to right, rgba(255, 255, 255, 0), white);
    z-index: 1;
}

.auto-detail .small.owl-carousel .owl-stage-outer:after {
    left: 0;
    background: -webkit-gradient(linear, right top, left top, from(rgba(255, 255, 255, 0)), to(white));
    background: -webkit-linear-gradient(right, rgba(255, 255, 255, 0), white);
    background: linear-gradient(to left, rgba(255, 255, 255, 0), white);
}

@media (max-width: 991px) {
    .auto-detail .small.owl-carousel .owl-stage-outer {
        margin-right: -125px;
        margin-left: -125px;
        padding-left: 125px;
    }

    .auto-detail .small.owl-carousel .owl-stage-outer:before, .auto-detail .small.owl-carousel .owl-stage-outer:after {
        width: 50px;
    }

    .auto-detail .small.owl-carousel .owl-stage-outer:before {
        right: 75px;
    }

    .auto-detail .small.owl-carousel .owl-stage-outer:after {
        left: 75px;
    }
}

@media (max-width: 767px) {
    .auto-detail .small.owl-carousel .owl-stage-outer {
        margin-right: -0px;
        margin-left: -0px;
        padding-left: 0px;
    }

    .auto-detail .small.owl-carousel .owl-stage-outer:before, .auto-detail .small.owl-carousel .owl-stage-outer:after {
        width: 50px;
    }

    .auto-detail .small.owl-carousel .owl-stage-outer:before {
        right: 0;
    }

    .auto-detail .small.owl-carousel .owl-stage-outer:after {
        left: 0px;
    }
}

.auto-detail .owl-item.selected {
    border: 7px solid #1e286e;
}

@media (max-width: 991px) {
    .auto-detail .owl-item.selected {
        border-width: 5px;
    }
}

@media (max-width: 767px) {
    .auto-detail .owl-item.selected {
        border-width: 2px;
    }
}

.auto-detail .owl-item.selected img {
    border: 4px solid white;
    opacity: 0.4;
}

@media (max-width: 767px) {
    .auto-detail .owl-item.selected img {
        border: 1px solid white;
    }
}

.auto-detail .big.owl-carousel .owl-item img {
    height: auto;
    max-height: 90vh;
    width: auto;
    margin: 0 auto;
    max-width: 100%;
}

/*.auto-detail .big.owl-carousel .owl-stage-outer {*/
    /*min-height: 500px;*/
/*}*/

.auto-detail .owl-prev, .auto-detail .owl-next {
    position: absolute;
    top: 50%;
    background: #fdb713;
    width: 14px;
    height: 26px;
    margin-top: -13px;
    background: url(/local/templates/retolegenda2017/components/custom/catalog.section.list/event_list/img/arrow.png);
}

.auto-detail .owl-prev.disabled, .auto-detail .owl-next.disabled {
    opacity: 0.2;
}

.auto-detail .owl-prev {
    left: -45px;
    -webkit-transform: rotate(180deg);
    -ms-transform: rotate(180deg);
    transform: rotate(180deg);
}

.auto-detail .owl-next {
    right: -45px;
}

@media (max-width: 991px) {
    .auto-detail .owl-prev {
        left: -34px;
    }

    .auto-detail .owl-next {
        right: -34px;
    }
}

.auto-detail .price {
    color: #82be32;
    font-family: "KellySlab";
    font-size: 40px;
}

.auto-detail .sold {
    color: #808080;
    font-family: "KellySlab";
    font-size: 40px;
}

.auto-detail .tth {
    text-align: center;
    color: #000000;
    font-size: 22px;
    margin-bottom: 50px;
}

.auto-detail h1 {
    padding-bottom: 20px;
    margin-bottom: 20px;
    position: relative;
}

.auto-detail h1:before {
    position: absolute;
    bottom: 0;
    width: 25px;
    left: 50%;
    margin-left: -12.5px;
    border-bottom: 3px solid #3c3c46;
    content: '';
}
/* End */


/* Start:/local/templates/retolegenda2017/components/custom/catalog.section.list/event_list/style.css?15101625283446*/

.auto_list .container-fluid {
    padding: 1px;
    overflow: hidden;
}

.auto_list .row {
    margin: 0;
    margin-left: -1px;
    margin-right: -1px;
}

.auto_list [class^=col] {
    padding: 1px;
}

.auto_list .item {
    display: block;
    position: relative;
    overflow: hidden;
}

.auto_list .item img {
    vertical-align: bottom;
    width: 100%;
    transition: all 1s ease-out;
}

.auto_list .img-wrap {
    overflow: hidden;
    position: relative;
}

@media (max-width: 999px) {
    .auto_list .item:hover img,
    .auto_list .item.active img {
        transform: scale(1.1);
    }
}

.auto_list .item:before {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    content: '';
    /*background: -webkit-gradient(linear, left top, left bottom, color-stop(60%, transparent), to(rgba(0, 0, 0, 0.7)));*/
    /*background: -webkit-linear-gradient(transparent 60%, rgba(0, 0, 0, 0.7) 100%);*/
    background: linear-gradient(transparent 60%, rgba(0, 0, 0, 0.7) 100%);
    z-index: 5;
    transition: all 1s ease-out;
}

.auto_list .item:hover:before,
.auto_list .item.active:before {
    opacity: 0;
}

.auto_list .item .img-wrap:after {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    content: '';

    background: rgba(0, 0, 0, 0.0);
    z-index: 1;
    transition: all 1s ease-out;
}

.auto_list .item:hover .img-wrap:after,
.auto_list .item.active .img-wrap:after {
    background: rgba(0, 0, 0, 0.5);

}

.auto_list .item .price, .auto_list .item .sold {
    position: absolute;
    top: 10px;
    left: 0;
    padding: 3px 5px 3px 10px;
    color: white;
    z-index: 10;
}

.auto_list .item .price {
    background: #82be32;
}

.auto_list .item .price .fa-rub {
    font-size: 15px;
}

.auto_list .item .sold {
    background: rgba(0, 0, 0, 0.3);
    font-size: 15px;
}

.auto_list .item .caption {
    position: absolute;
    bottom: 0;
    color: white;
    padding: 12px 14px;
    font-size: 22px;
    text-shadow: 2px 2px 2px rgba(0, 0, 0, 0.7);
    z-index: 10;
}

.auto_list .item .title {
    font-weight: bold;
}

.auto_list .item .year {
    font-size: 18px;
}

.auto_list .col {
    min-height: 100px;
}

@media (max-width: 576px) {
    .auto_list .col {
        width: 100%;
    }
}

@media (min-width: 998px) {
    .auto_list .container-fluid {
        max-width: 1427px;
    }
    .auto_list [class^=col] {
        padding: 35px;
    }

    .auto_list .item {
        border: 1px solid #dfe8ed;
        padding: 15px;
    }

    .auto_list .item:before {
        display: none;
    }

    .auto_list .item .caption {
        position: static;
        color: black;
        text-shadow: none;
        height: 97px;
    }

    .auto_list .item .caption .title {
        max-height: 52px;
        overflow: hidden;
        text-overflow: ellipsis;
    }

    .auto_list a {
        text-decoration: none;
    }

    .auto_list .item .price, .auto_list .item .sold {
        top: 25px;
        left: 15px;
    }

    .auto_list .item {
        background: white;
        transition: all ease 0.2s;
    }

    .auto_list .img-wrap:after {
        display: none;
    }

    .auto_list .item:hover {
        background: #f4f6f8;
        border: 1px solid transparent;

    }
}

/* End */
/* /local/templates/retolegenda2017/components/bitrix/menu/events/style.css?1490600790650 */
/* /local/templates/retolegenda2017/components/custom/catalog.section.list/event_list/detail.css?15106825016083 */
/* /local/templates/retolegenda2017/components/custom/catalog.section.list/event_list/style.css?15101625283446 */
