
.dx-gb-img-wrapper {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    overflow: hidden;
    background: rgba(255, 255, 255, .1) center center/cover;
    transition: 2s all cubic-bezier(0, 0, 0.2, 1);
    margin-left: 0;
    margin-top: 0px;
}
.dx-gb-img-wrapper.dx-can-enlarge {
    cursor: pointer;
}
.dx-gb-img-wrapper.dx-can-enlarge:hover {
    transform: scale(1.05) translate(0, 0);
    transition: 1s all cubic-bezier(0, 0, 0.2, 1);
}
.dx-gb-img-wrapper[data-type="youtube_embed"]:before {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    content: url(data:image/svg+xml;base64,PHN2ZyB4bWxucz0iaHR0cDovL3d3dy53My5vcmcvMjAwMC9zdmciIHZpZXdCb3g9IjAgMCAyMCAxNCI+PGRlZnM+PHN0eWxlPi5he2ZpbGw6I2ZmZjt9LmJ7ZmlsbDpyZWQ7fTwvc3R5bGU+PC9kZWZzPjxyZWN0IGNsYXNzPSJhIiB4PSI0IiB5PSIzIiB3aWR0aD0iMTIiIGhlaWdodD0iOSIvPjxwYXRoIGNsYXNzPSJiIiBkPSJNOCwxMGw1LjE5LTNMOCw0djZNMTkuNTYsMi4xN2ExMC4zNCwxMC4zNCwwLDAsMSwuMjgsMS45Yy4wNy44LjEsMS40OS4xLDIuMDlMMjAsN2ExOS44NywxOS44NywwLDAsMS0uNDQsNC44MywyLjM0LDIuMzQsMCwwLDEtMS43MywxLjczLDE0LjEsMTQuMSwwLDAsMS0yLjY1LjI4Yy0xLjMuMDctMi40OS4xLTMuNTkuMUwxMCwxNGE0MC45Myw0MC45MywwLDAsMS03LjgzLS40NEEyLjM0LDIuMzQsMCwwLDEsLjQ0LDExLjgzYTEwLjM0LDEwLjM0LDAsMCwxLS4yOC0xLjljLS4wNy0uOC0uMS0xLjQ5LS4xLTIuMDlMMCw3QTE5Ljg3LDE5Ljg3LDAsMCwxLC40NCwyLjE3LDIuMzQsMi4zNCwwLDAsMSwyLjE3LjQ0LDE0LjEsMTQuMSwwLDAsMSw0LjgyLjE2QzYuMTIuMDksNy4zMS4wNiw4LjQxLjA2TDEwLDBhNDAuOTMsNDAuOTMsMCwwLDEsNy44My40NEEyLjM0LDIuMzQsMCwwLDEsMTkuNTYsMi4xN1oiLz48L3N2Zz4);
    color: #c62828;
    width: 48px;
    filter: drop-shadow(0px 0px 2px rgba(0,0,0,.6));
}
.dx-gb-img-wrapper[data-type="youtube_embed"] {
    background-color: #d0d0d0;
}
.dx-gb-img-wrapper > img {
    position: absolute;
    width: 0;
    height: 0;
    display: none;
    opacity: 1;
}

.dx-gb {
    /* background-color: #e8e8e8; */
    margin: 0px auto 0px auto;
    max-width: 100%;
    overflow: hidden;
    position: relative;
    border-radius: var(--border-radius);
    overflow: hidden;
}
.dx-gb .dx-gb-btn-next {
    width: 60px;
    height: 110px;
    background-color: #000;
    position: absolute;
    z-index: 1;
    top: 50%;
    right: 0px;
    transform: translate(100%,-50%);
    border: solid 6px #fff;
    border-right: 0;
    cursor: pointer;
    border-radius: 0px;
    transition: .12s transform cubic-bezier(0.45, 0.05, 0.55, 0.95) .4s;
}

.dx-gb:hover .dx-gb-btn-next {

    transform: translate(00%,-50%);
}

.dx-gb .dx-gb-btn-next:hover {

    background-color: #565656;
}
.dx-gb .dx-gb-btn-next:before {
    position: absolute;
    content: '>';
    font-size: 22px;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    color: #fff;
    font-weight: bold;
}

.dx-gb-sections-wrapper {
    display: flex;
    flex-direction: row;
    min-height: 100%;
    overflow-y: hidden;
    overflow-x: hidden;
    justify-content: flex-start;
    margin: -3px -3px;
    /* margin-right: 30px; */
    /* border-radius: 11px; */
}
.dx-gb-sections-wrapper.justify-center {
    justify-content: center;
}


.dx-gb .dx-gb-sections-inner {
    display: flex;
    height: 408px;
}
.dx-gb.image-mode-4-3 .dx-gb-sections-inner {
    height: 540px;
}

.dx-gb.image-mode-16-9 .dx-gb-sections-inner {
    height: 408px;
}


.dx-gb-section {
    min-width: 640px;
}

.dx-gb-img-block {
    display: grid;
    grid-column-gap: 6px;
    grid-row-gap: 6px;
    margin: 3px;
}
.dx-gb-img-block > * {
    position: relative;
    overflow: hidden;
}


.dx-gb-img-block.dx-gb-of-1 {
    grid-template-columns: 1fr;
    grid-template-rows: 1fr;
    min-width: 714px;
}

.dx-gb-of-1 > *:nth-child(1) { grid-area: 1 / 1 / 2 / 2; }


.dx-gb-img-block.dx-gb-of-2 {
    grid-template-columns: 1fr;
    grid-template-rows: repeat(2, 1fr);
    min-width: 357px;
}
.dx-gb-of-2 > *:nth-child(1) { grid-area: 1 / 1 / 2 / 2; }
.dx-gb-of-2 > *:nth-child(2) { grid-area: 2 / 1 / 3 / 2; }


.dx-gb-img-block.dx-gb-of-3 {
    grid-template-columns: 1fr;
    grid-template-rows: repeat(3, 1fr);
    min-width: 238px;
}
.dx-gb-of-3 > *:nth-child(1) { grid-area: 1 / 1 / 2 / 2; }
.dx-gb-of-3 > *:nth-child(2) { grid-area: 2 / 1 / 3 / 2; }
.dx-gb-of-3 > *:nth-child(3) { grid-area: 3 / 1 / 4 / 2; }



.dx-gb-img-block.dx-gb-of-4 {
    grid-template-columns: repeat(3, 1fr);
    grid-template-rows: repeat(4, 1fr);
    min-width: 536px;
}
.dx-gb-of-4 > *:nth-child(1) { grid-area: 1 / 1 / 4 / 4; }
.dx-gb-of-4 > *:nth-child(2){ grid-area: 4 / 1 / 5 / 2; }
.dx-gb-of-4 > *:nth-child(3){ grid-area: 4 / 2 / 5 / 3; }
.dx-gb-of-4 > *:nth-child(4) { grid-area: 4 / 3 / 5 / 4; }

.dx-gb-of-4.dx-gb-alt > *:nth-child(1) { grid-area: 2 / 1 / 5 / 4; }
.dx-gb-of-4.dx-gb-alt > *:nth-child(2) { grid-area: 1 / 1 / 2 / 2; }
.dx-gb-of-4.dx-gb-alt > *:nth-child(3) { grid-area: 1 / 2 / 2 / 3; }
.dx-gb-of-4.dx-gb-alt > *:nth-child(4) { grid-area: 1 / 3 / 2 / 4; }



.dx-gb-img-block.dx-gb-of-6 {
    grid-template-columns: repeat(3, 1fr);
    grid-template-rows: repeat(4, 1fr);
    min-width: 536px;
}
.dx-gb-of-6 > *:nth-child(1) { grid-area: 1 / 1 / 3 / 3; }
.dx-gb-of-6 > *:nth-child(2) { grid-area: 3 / 2 / 5 / 4; }
.dx-gb-of-6 > *:nth-child(3) { grid-area: 1 / 3 / 2 / 4; }
.dx-gb-of-6 > *:nth-child(4) { grid-area: 2 / 3 / 3 / 4; }
.dx-gb-of-6 > *:nth-child(5) { grid-area: 3 / 1 / 4 / 2; }
.dx-gb-of-6 > *:nth-child(6) { grid-area: 4 / 1 / 5 / 2; }

.dx-gb-of-6.dx-gb-alt > *:nth-child(1) { grid-area: 1 / 2 / 3 / 4; }
.dx-gb-of-6.dx-gb-alt > *:nth-child(2) { grid-area: 3 / 1 / 5 / 3; }
.dx-gb-of-6.dx-gb-alt > *:nth-child(3) { grid-area: 1 / 1 / 2 / 2; }
.dx-gb-of-6.dx-gb-alt > *:nth-child(4) { grid-area: 2 / 1 / 3 / 2; }
.dx-gb-of-6.dx-gb-alt > *:nth-child(5) { grid-area: 3 / 3 / 4 / 4; }
.dx-gb-of-6.dx-gb-alt > *:nth-child(6){ grid-area: 4 / 3 / 5 / 4; }




@media (max-width: 767px) {
    .dx-gb {
        margin-left: -15px;
        margin-right: -15px;
        max-width: 100vw;
        border-radius: 0;
    }
    .dx-gb.image-mode-16-9 .dx-gb-sections-inner {
        height: calc(100vw * 0.5625);
    }
    .dx-gb.image-mode-4-3 .dx-gb-sections-inner {
        height: calc(100vw * 0.75);
    }
    .dx-gb-img-block.dx-gb-of-1 {
        min-width: 100vw;
    }
    .dx-gb-img-block.dx-gb-of-2 {
        min-width: calc(100vw / 2);
    }


    .dx-gb-img-block.dx-gb-of-2 {
        width: calc(200vw + 6px);
        display: flex;
        flex-direction: row;
    }
    .dx-gb-img-block.dx-gb-of-3 {
        width: calc(300vw + 12px);
        display: flex;
        flex-direction: row;
    }
    .dx-gb-img-block.dx-gb-of-4 {
        width: calc(400vw + 18px);
        display: flex;
        flex-direction: row;
    }
    .dx-gb-img-block.dx-gb-of-6 {
        width: calc(600vw + 30px);
        display: flex;
        flex-direction: row;
    }
    .dx-gb-of-2 > * {
        min-width: calc(200vw / 2);
    }

    .dx-gb-of-3 > * {
        min-width: calc(300vw / 3);
    }
    .dx-gb-of-4 > * {
        min-width: calc(400vw / 4);
    }
    .dx-gb-of-6 > * {
        min-width: calc(600vw / 6);
    }

    .dx-gb-img-wrapper.dx-can-enlarge:hover {
        transform: unset;
        transition: unset;
    }
    .dx-gb-img-block {
        margin: 0;
    }

    .dx-gb-sections-wrapper {
        margin: 0;
    }
}



