

/* Start:/local/templates/red-gray/components/bitrix/catalog.sections.top/page_works/style.css?17607096862924*/
.works__nav {
    display: flex;
    flex-direction: row;
    position: relative;
    align-items: center;
    overflow: hidden;
    flex-wrap: wrap;
}

.works__nav {
    padding: 20px 20px 0;
    margin-bottom: 20px;
    position: relative;
}

.works__nav::before {
    content: '';
    width: 100%;
    height: 2px;
    position: absolute;
    left: 0;
    bottom: 0;
    background: var(--bg-color);
    z-index: -1;
}

.works__section {
    border-bottom: 2px solid transparent;
    font-weight: 600;
    white-space: nowrap;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    transition: var(--transition);
    overflow: hidden;
    min-width: max-content;
    height: 3rem;
}

.works__section.active.disabled {
    pointer-events: none;
}

.works__section:not(:last-child) {
    margin-right: 30px;
}

.works__section:hover {
    border-bottom-color: var(--main-color);
}

@media (max-width: 768px) and (min-width: 481px) {
    .works__nav .works__section {
        width: calc(50% - 10px);
        margin: 5px;
    }

    .nav-sections-bottom .works__section:not(:last-child) {
        margin-right: 10px;
    }
}

@media (max-width: 600px) {
    .works__nav .works__section {
        width: 100%;
        margin: 0;
    }
}

.works__inner {
    display: none;
}

.works__inner.active {
    display: block;
}

.works__section.active {
    color: var(--main-color);
    border-bottom-color: var(--main-color);
}

.works__item {
    display: grid;
    grid-template-columns: 200px 1fr 200px;
    grid-gap: 20px;
    justify-content: space-between;
    align-items: end;
    background: #fff;
    position: relative;
    padding: 20px;
    border-radius: 8px 8px 0 0;
    border: 1px solid transparent;
    transition: var(--transition);
    border-bottom: 1px solid var(--bg-color);
}

.works__item:hover {
    background: var(--bg-color);
    border-radius: 8px;
}

.works__code {

}

.works__name {

}

.works__price {
    text-align: right;
}

.box__wrapper {
    display: -ms-grid;
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(400px, 470px));
    gap: 40px;
    padding: 40px 0;
    justify-content: center;
}

.box {
    min-width: 0;
    background-color: var(--bg-color);
    border-radius: 8px;
    overflow: hidden;
}

.box img {
    min-width: 0;
}

.box .twentytwenty-container {
    min-width: 0;
}

.box .twentytwenty-container img {
    /* width: 100%;
     height: 100%;
     object-fit: cover;
     left: 0;
     right: 0;*/
}

.box__description {
    padding: 10px 20px 15px;
}

/*
.box__images.twentytwenty-container.fancybox-content {
    min-width: 800px;
    height: auto;
    overflow: hidden;
    padding: 0;
    padding-bottom: calc(400/800*100%);
}


.box__images.twentytwenty-container.fancybox-content img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    left: 0;
    top: 0;
    position: absolute;
}*/

/* End */


/* Start:/local/templates/red-gray/js/twentytwenty/twentytwenty.css?17607096867360*/
.twentytwenty-horizontal .twentytwenty-handle:before, .twentytwenty-horizontal .twentytwenty-handle:after, .twentytwenty-vertical .twentytwenty-handle:before, .twentytwenty-vertical .twentytwenty-handle:after {
    content: " ";
    display: block;
    background: var(--main-color);
    background: var(--bg-color);
    position: absolute;
    z-index: 30;
}

.twentytwenty-arrow {
    font-size: 1rem;
    font-weight: 900 !important;
    color: var(--bg-color);
    /*text-shadow: 1px 1px 2px #000, 0 0 1em #000, 0 0 0.2em #000;*/
    top: 0;
    /*border: 6px inset transparent;*/
    position: absolute;
    display: flex;
    width: 25px;
    height: 50px;
    justify-content: center;
    align-items: center;
}

.twentytwenty-arrow::before {

}

.twentytwenty-arrow._icon-arrow-left {
    /*border-right: 6px solid white;*/
    /*left: calc(50% - 12px);*/
    left: 0;
}

.twentytwenty-arrow._icon-arrow-right {
    /*border-left: 6px solid white;*/
    /*right: calc(50% - 6px);*/
    right: 0;
}

.twentytwenty-horizontal .twentytwenty-handle:before, .twentytwenty-horizontal .twentytwenty-handle:after {
    width: 3px;
    height: 150px;
    margin-left: 25px;
    /*box-shadow: rgba(0, 0, 0, 0.25) 0px 54px 55px, rgba(0, 0, 0, 0.12) 0px -12px 30px, rgba(0, 0, 0, 0.12) 0px 4px 6px, rgba(0, 0, 0, 0.17) 0px 12px 13px, rgba(0, 0, 0, 0.09) 0px -3px 5px;*/
}

.twentytwenty-vertical .twentytwenty-handle:before, .twentytwenty-vertical .twentytwenty-handle:after {
    width: 9999px;
    height: 4px;
    top: calc(50% - 2px);
}

.twentytwenty-before-label, .twentytwenty-after-label, .twentytwenty-overlay {
    position: absolute;
    top: 0;
    width: 100%;
    height: 100%;
}

.twentytwenty-before-label, .twentytwenty-after-label, .twentytwenty-overlay {
    -webkit-transition-duration: 0.5s;
    -moz-transition-duration: 0.5s;
    transition-duration: 0.5s;
}

.twentytwenty-before-label, .twentytwenty-after-label {
    -webkit-transition-property: opacity;
    -moz-transition-property: opacity;
    transition-property: opacity;
}

.twentytwenty-before-label:before,
.twentytwenty-after-label:before {
    color: white;
    font-size: 13px;
    letter-spacing: 0.1em;
}

.twentytwenty-before-label:before,
.twentytwenty-after-label:before {
    position: absolute;
    background: rgba(255, 255, 255, 0.2);
    background: var(--main-color);
    line-height: 38px;
    padding: 0 20px;
    -webkit-border-radius: 2px;
    -moz-border-radius: 2px;
    border-radius: 2px;
}

.twentytwenty-horizontal .twentytwenty-before-label:before,
.twentytwenty-horizontal .twentytwenty-after-label:before {
    bottom: 20px;
    font-weight: 600;
    text-transform: uppercase;
    border-radius: 8px;
}

.twentytwenty-vertical .twentytwenty-before-label:before,
.twentytwenty-vertical .twentytwenty-after-label:before {
    left: 50%;
    margin-left: -45px;
    text-align: center;
    width: 90px;
}

.twentytwenty-left-arrow, .twentytwenty-right-arrow,
.twentytwenty-up-arrow, .twentytwenty-down-arrow {
    width: 0;
    height: 0;
    border: 6px inset transparent;
    position: absolute;
}

.twentytwenty-left-arrow, .twentytwenty-right-arrow {
    top: 50%;
    margin-top: -6px;
}

.twentytwenty-up-arrow, .twentytwenty-down-arrow {
    left: 50%;
    margin-left: -6px;
}

.twentytwenty-container {
    -webkit-box-sizing: content-box;
    -moz-box-sizing: content-box;
    box-sizing: content-box;
    z-index: 0;
    overflow: hidden;
    position: relative;
    -webkit-user-select: none;
    -moz-user-select: none;
    -ms-user-select: none;
}

.twentytwenty-container img {
    max-width: 100%;
    position: absolute;
    top: 0;
    display: block;
}


.twentytwenty-container.active .twentytwenty-overlay, .twentytwenty-container.active :hover.twentytwenty-overlay {
    /*background: rgba(0, 0, 0, 0);*/
}

.twentytwenty-container.active .twentytwenty-overlay .twentytwenty-before-label,
.twentytwenty-container.active .twentytwenty-overlay .twentytwenty-after-label, .twentytwenty-container.active :hover.twentytwenty-overlay .twentytwenty-before-label,
.twentytwenty-container.active :hover.twentytwenty-overlay .twentytwenty-after-label {
    opacity: 0;
}

.twentytwenty-container * {
    -webkit-box-sizing: content-box;
    -moz-box-sizing: content-box;
    box-sizing: content-box;
}

.twentytwenty-before-label,
.twentytwenty-after-label {
    opacity: 0;
    opacity: 1;
}

.twentytwenty-before-label:before,
.twentytwenty-after-label:before {
    content: attr(data-content);
}

.twentytwenty-horizontal .twentytwenty-before-label:before {
    left: 20px;
}

.twentytwenty-horizontal .twentytwenty-after-label:before {
    right: 20px;
}

.twentytwenty-vertical .twentytwenty-before-label:before {
    top: 20px;
}

.twentytwenty-vertical .twentytwenty-after-label:before {
    bottom: 20px;
}

.twentytwenty-overlay {
    /* -webkit-transition-property: background;
     -moz-transition-property: background;
     transition-property: background;
     background: rgba(0, 0, 0, 0);*/
    z-index: 25;
}

.twentytwenty-overlay:hover {
    /*background: rgba(0, 0, 0, 0.5);*/
}

.twentytwenty-overlay:hover .twentytwenty-after-label,
.twentytwenty-overlay:hover .twentytwenty-before-label {
    opacity: 1;
}

.twentytwenty-before,
.twentytwenty-after {
    z-index: 20;
}

.twentytwenty-handle {
    height: 50px;
    top: calc(50% - 25px);
    width: 50px;
    margin-left: -25px;
    position: absolute;
    display: flex;
    flex-wrap: nowrap;
    border: 2px solid var(--bg-color);
    background: #0000005e;
    background: var(--main-color);
    border-radius: 50%;
    z-index: 40;
    cursor: pointer;
}

.twentytwenty-horizontal .twentytwenty-handle:before {
    bottom: calc(50% + 25px);
    /*-webkit-box-shadow: 0 3px 0 white, 0px 0px 12px rgba(51, 51, 51, 0.5);
    -moz-box-shadow: 0 3px 0 white, 0px 0px 12px rgba(51, 51, 51, 0.5);
    box-shadow: 0 3px 0 white, 0px 0px 12px rgba(51, 51, 51, 0.5);*/
}

.twentytwenty-horizontal .twentytwenty-handle:after {
    top: calc(50% + 25px);
    /*-webkit-box-shadow: 0 -3px 0 white, 0px 0px 12px rgba(51, 51, 51, 0.5);
    -moz-box-shadow: 0 -3px 0 white, 0px 0px 12px rgba(51, 51, 51, 0.5);
    box-shadow: 0 -3px 0 white, 0px 0px 12px rgba(51, 51, 51, 0.5);*/
}

.twentytwenty-vertical .twentytwenty-handle:before {
    left: 50%;
    margin-left: 22px;
    /*-webkit-box-shadow: 3px 0 0 white, 0px 0px 12px rgba(51, 51, 51, 0.5);
    -moz-box-shadow: 3px 0 0 white, 0px 0px 12px rgba(51, 51, 51, 0.5);
    box-shadow: 3px 0 0 white, 0px 0px 12px rgba(51, 51, 51, 0.5);*/
}

.twentytwenty-vertical .twentytwenty-handle:after {
    right: 50%;
    margin-right: 22px;
    /*-webkit-box-shadow: -3px 0 0 white, 0px 0px 12px rgba(51, 51, 51, 0.5);
    -moz-box-shadow: -3px 0 0 white, 0px 0px 12px rgba(51, 51, 51, 0.5);
    box-shadow: -3px 0 0 white, 0px 0px 12px rgba(51, 51, 51, 0.5);*/
}

.twentytwenty-left-arrow {
    border-right: 6px solid var(--main-color);;
    left: 50%;
    margin-left: -17px;
}

.twentytwenty-right-arrow {
    border-left: 6px solid var(--main-color);;
    right: 50%;
    margin-right: -17px;
}

.twentytwenty-up-arrow {
    border-bottom: 6px solid var(--main-color);;
    top: 50%;
    margin-top: -17px;
}

.twentytwenty-down-arrow {
    border-top: 6px solid var(--main-color);;
    bottom: 50%;
    margin-bottom: -17px;
}

/* End */
/* /local/templates/red-gray/components/bitrix/catalog.sections.top/page_works/style.css?17607096862924 */
/* /local/templates/red-gray/js/twentytwenty/twentytwenty.css?17607096867360 */
