.popup {
    display: none;
    position: fixed;
    left: 50%;
    top: 50%;
    width: 50vw;
    transform: translate(-50%,-50%);
}
.view {
    display: flex;
    margin: 0 15px;
}
.red {
    background-color: red;
    width: 170px;
    height: 170px;
}
.green {
    background-color: green;
    width: 170px;
    height: 170px;
}
.black {
    background-color: black;
    width: 170px;
    height: 170px;
}
.media {
    display: flex;
}
#myModalImgFade {
    display: none;
    flex-direction: row;
    justify-content: center;
    align-items: center;
    overflow: hidden;
    position: fixed;
    top: 0;
    width: 100%;
    height: 100%;
    background: #fff;   /*rgba(0, 0, 0, 0.77)*/
    z-index: 66666;
    box-sizing: border-box;
}
.customize-support #myModalImgFade {
    padding-top: 15px;
}
.modalImg-dialog {
    display: flex;
    flex-direction: row;
    justify-content: flex-start;
    align-items: flex-start;
    overflow: hidden;
    visibility: visible;
    position: relative;
    width: 100%;
    height: 100%;
    background-color: #000;
    box-sizing: border-box;
}
.modalImg-content {
    display: -ms-flexbox;
    display: flex;
    -ms-flex-direction: column;
    flex-direction: column;
    align-items: flex-start;
    justify-content: flex-start;
    position: relative;
    overflow: hidden;
    width: 100%;
    height: 100%;
    background-color: #fff;
    border-radius: 0.3rem;
    outline: 0;
    box-sizing: border-box;
}
.modalImg-header {
    display: -ms-flexbox;
    display: flex;
    -ms-flex-direction: row;
    flex-direction: row;
    -ms-flex-pack: justify;
    justify-content: space-between;
    -ms-flex-align: center;
    align-items: center;
    overflow: hidden;
    width: 100%;
    padding: 0 15px;
    box-sizing: border-box;
}
#cBoxTitle {
    display: flex;
    flex-direction: row;
    justify-content: flex-start;
    align-items: flex-start;
    text-transform: capitalize;
    color: #ccc;
    box-sizing: border-box;
}
#cBoxCurrent {
    display: flex;
    flex-direction: row;
    justify-content: flex-start;
    align-items: flex-start;
    color: #ccc;
    box-sizing: border-box;
}
.close {
    position: absolute;
    top: 29px;
    right: 5px;
    display: block;
    background: url(../img/controls.png) no-repeat top center;
    width: 38px;
    height: 19px;
    text-indent: -9999px;
    z-index: 999;
    cursor: pointer;
}
#cBoxPrevImg {
    position: absolute;
    top: 50%;
    left: 5px;
    margin-top: -32px;
    background: url(../img/controls.png) no-repeat top left;
    width: 28px;
    height: 65px;
    z-index: 100;
    cursor: pointer;
}
#cBoxNextImg {
    position: absolute;
    top: 50%;
    right: 5px;
    margin-top: -32px;
    background: url(../img/controls.png) no-repeat top right;
    width: 28px;
    height: 65px;
    z-index: 100;
    text-indent: -9999px;
    cursor: pointer;
}
.orderCall .modalImg-header img {   /*z_zvon*/
    display: block;
    height: auto;
    margin: 0 auto;
    max-width: 301px;
    width: 100%;
}
.modalImg-title {
    margin-bottom: 0;
    line-height: 1.5;
}
.orderCall .modalImg-header .close {
    font-size: 3.5rem;
    padding-bottom: 10px;
}
button.close {
    padding: 0;
    background: 0 0;
    border: 0;
    -webkit-appearance: none;
}

.modalImg-body {
    position: relative;
    -ms-flex: 1 1 auto;
    flex: 1 1 auto;
    padding: 15px;
}

.slider {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: flex-start;
    width: 100%;
    box-sizing: border-box;
}
.carousel {
    position: relative;
}
.carousel-indicators {
    position: absolute;
    right: 0;
    bottom: 18px;
    left: 0;
    z-index: 15;
    display: -ms-flexbox;
    display: flex;
    -ms-flex-pack: center;
    justify-content: center;
    padding-left: 0;
    margin-right: 15%;
    margin-left: 15%;
    list-style: none;
}
.carousel-indicators li {
    position: relative;
    -ms-flex: 0 1 auto;
    flex: 0 1 auto;
    width: 30px;
    height: 3px;
    margin-right: 3px;
    margin-left: 3px;
    text-indent: -999px;
    background-color: rgba(255,255,255,.5);
}
.carousel-indicators li::before {
    position: absolute;
    top: -10px;
    left: 0;
    display: inline-block;
    width: 100%;
    height: 10px;
    content: "";
}
.carousel-indicators li::after {
    position: absolute;
    bottom: -10px;
    left: 0;
    display: inline-block;
    width: 100%;
    height: 10px;
    content: "";
}
.carousel-inner {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: flex-start;
    position: relative;
    width: 100%;
    max-height: 1362px;
    overflow: hidden;
    box-sizing: border-box;
}
.carousel-inner img {
    width: 100%;
    max-width: 450px;
    height: auto;
    min-height: 203px;
}
.carousel-item {
    position: relative;
    display: none;
    -ms-flex-align: center;
    align-items: center;
    /*width: 100%;*/
    transition: -webkit-transform .6s ease;
    transition: transform .6s ease,-webkit-transform .6s ease;
    -webkit-backface-visibility: hidden;
    backface-visibility: hidden;
    -webkit-perspective: 1000px;
    perspective: 1000px;
}
/*.shown {*/
/*    display: flex;*/
/*}*/
.main {
    display: flex;
}
.source {
    display: none;
}
.source .shown {
    display: none;
}
.carousel-item-nextImg, .carousel-item-prevImg, .carousel-item.active {
    display: block;
}
.carousel-control-prevImg-icon {
    background-image: url(../img/prev.svg);
}

.carousel-control-nextImg-icon, .carousel-control-prevImg-icon {
    display: inline-block;
    width: 20px;
    height: 20px;
    background: transparent no-repeat center center;
    background-size: 100% 100%;
}
/* Slideshow container */
.slideshow-container {
    max-width: 1000px;
    position: relative;
    margin: auto;
    background: inherit;
}
.carousel-inner-modalImg {
    display: flex;
    flex-direction: row;
    justify-content: center;
    align-self: center;
    align-items: flex-start;
    overflow: hidden;
    width: 70%;
    box-sizing: border-box;
}
.carousel-item-modalImg {
    display: flex;
    flex-direction: row;
    justify-content: center;
    align-items: center;
    width: 100%;
    box-sizing: border-box;
}
#img-carousel-item-modal {
    display: flex;
    width: 100%;
    height: auto;
    cursor: zoom-in;
    max-width: inherit;
}
.scale-active .t-carousel__zoomer__item, .scale-active .t-zoomer__scale.showed .icon-increase, .t-zoomer__scale.showed .icon-decrease {
    display: none;
}
.scale-active .t-zoomer__scale.showed .icon-decrease {
    display: block;
}



/*.t-zoomer__show .wrapperCarousel {*/
/*    z-index: 9999999;*/
/*    opacity: 1;*/
/*}*/
.wrapperCarousel {
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    justify-content: flex-start;
    overflow: hidden;   /*inherit*/
    width: 100%;
    position: relative;
    /*z-index: -1;*/
    /*opacity: 1;*/
    transform: translate3d(0,0,0);
    user-select: none;
    transition: transform .3s ease-out,-webkit-transform .3s ease-out;
    box-sizing: border-box;
}
.wrapperCarousel a {
    color: #000;
}
.containerCarousel {
    z-index: 99999999;
}
/*.t-zoomer__bg {*/
/*    display: flex;*/
/*    flex-direction: row;*/
/*    justify-content: flex-start;*/
/*    align-items: flex-start;*/
/*    overflow: hidden;*/
/*    width: 100%;*/
/*    position: relative;*/
/*    box-sizing: border-box;*/
/*}*/
.containerCarousel {
    display: flex;
    flex-direction: row;
    justify-content: flex-start;
    align-items: flex-start;
    overflow: hidden;
    width: 100%;
    position: relative;
    text-align: center;
    background-color: rgb(255, 255, 255);
    color: rgb(0, 0, 0);
    box-sizing: border-box;
}
.carouselZoomed{
    display: flex;
    flex-direction: row;
    justify-content: space-between;
    align-items: flex-start;
    overflow: hidden;
    width: 100%;
    position: relative;
    margin-top: 100px;
    box-sizing: border-box;
}
.carouselZooMerSlides {
    display: flex;
    flex-direction: row;
    justify-content: center;
    align-items: flex-start;
    overflow: hidden;
    width: 100%;
    position: relative;
    border-radius: 0.3rem;
    outline: 0;
    box-sizing: border-box;
}
.carouselZooMerControl {
    display: flex;
    flex-direction: row;
    justify-content: flex-start;
    align-items: flex-start;
    overflow: hidden;
    width: 15%;
    height: 100%;
    transition: opacity ease-in-out .3s;
    cursor: pointer;
    z-index: 99;
    background-color: #ffff99;
    box-sizing: border-box;
}
.carouselZooMerWrapper_left {
    left: 20px;
}
.carouselZooMerWrapper {
    transform: translateY(-50%) scale(.8);
    position: absolute;
    top: 50%;
    cursor: pointer;
}
.carouselZooMerWrapper.carouselZooMerWrapper_left:before {
    left: calc(50% - 26px);
}
.carouselZooMerWrapper:before {
    content: '';
    width: 26px;
    height: 26px;
    position: absolute;
    background: rgba(255,255,255,.3);
    border-radius: 50%;
    padding: 10px;
    top: calc(50% - 23px);
}
.carouselArrowLeft {
    border-left: 2px solid;
    border-bottom: 2px solid;
}
.carouselArrow {
    width: 18px;
    height: 18px;
    background: 0 0;
    transform: rotate(45deg);
    cursor: pointer;
}
.carouselZooMerControlRight {
    left: auto;
    right: 0;
    background-color: #ff8562;
}
.carouselZooMerWrapper_right {
    right: 20px;
}
.carouselZooMerWrapper.carouselZooMerWrapper_right:before {
    right: calc(50% - 26px);
}
.carouselArrowRight {
    border-top: 2px solid;
    border-right: 2px solid;
}
.containerZooMable, .containerZooMer__show .carouselInner, .containerZoomer__show .containerZooMable {
    cursor: zoom-in;
}
.carouselInner {
    display: none;
    flex-direction: row;
    justify-content: flex-start;
    align-items: flex-start;
    overflow: hidden;
    /*width: 70%;*/
    position: relative;
    box-sizing: border-box;
}
.carouselTrack {
    display: flex;
    flex-direction: row;
    justify-content: center;
    align-items: flex-start;
    overflow: initial;
    position: relative;
    width: auto;
    transform: translateX(-1240px);
    transition-duration: .25s;
    transition-timing-function: cubic-bezier(.29,.39,.2,.96);
}
.carouselItem {
    display: flex;
    flex-direction: column;
    justify-content: center;
    width: 100vw;
    height: 100%;
    flex-shrink: 0;
    box-sizing: border-box;
}
.carouselItemWrapper {
    display: flex;
    flex-direction: row;
    justify-content: flex-start;
    align-items: flex-start;
    overflow: hidden;
    width: 100%;
    box-sizing: border-box;
}
.carouselImg {
    display: flex;
    flex-direction: row;
    justify-content: flex-start;
    align-items: flex-start;
    overflow: hidden;
    width: 100%;
    max-width: 100%;
    max-height: 853px;
    object-fit: contain;
    margin: auto;
    -webkit-backface-visibility: hidden;
    box-sizing: border-box;
}
.inactive {
    display: flex;
}
.containerZoomer {
    display: flex;
    flex-direction: row;
    justify-content: flex-start;
    align-items: flex-start;
    position: relative;
    top: 0;
    background: #fff;
    cursor: zoom-in;
    box-sizing: border-box;
}
.containerZoomerClose, .containerZoomerScale.showed {
    background: rgba(255,255,255,.3);
    border-radius: 50%;
}
.containerZoomerClose {
    display: flex;
    flex-direction: row;
    justify-content: flex-start;
    align-items: flex-start;
    width: auto;
    height: auto;
    right: 10px;
    top: 10px;
    padding: 10px;
    position: fixed;
    cursor: pointer;
    transition: opacity ease-in-out .3s;
    z-index: 999999999999;
    background: rgba(255, 255, 255, 0.3);
    box-sizing: border-box;
}
.containerUpButtons {
    display: flex;
    flex-direction: row;
    justify-content: flex-start;
    align-items: flex-start;
    box-sizing: border-box;
}
.containerZoomerScale.showed {
    display: flex;
    flex-direction: row;
    justify-content: flex-start;
    align-items: flex-start;
    position: fixed;
    right: 65px;
    top: 10px;
    padding: 10px;
    cursor: pointer;
    transition: opacity ease-in-out .3s;
    z-index: 999999999;
    background: rgba(255, 255, 255, 0.3);
    box-sizing: border-box;
}
.scale-active .carouselItem.active, .containerZoomerScale.showed .icon-increase {
    display: block;
}
.scale-active .carouselItem, .scale-active .containerZoomerScale.showed .icon-increase, .containerZoomerScale.showed .icon-decrease {
    display: none;
}