:root {

    --gallerygap: 1rem;

}



@media screen and (max-width: 768px) {

    :root {

        --gallerygap: 0.5rem;

    }

}



[data-gap="no"],

[data-gap="0"] {

    --gallerygap: 0px;

    --gap: 0px;

}



.transition {

    transition: 0.7s cubic-bezier(0.645, 0.045, 0.355, 1);

}



div.my_carousel {

    position: relative;

}



div.my_carousel .overflow {

    position: relative;

    overflow: hidden;

}



div.my_carousel .item-parent {

    position: relative;

    margin: 0 calc(var(--gallerygap) * (-1))

}



div.my_carousel .item-list {

    display: flex;

    flex-wrap: nowrap;

    position: relative;

    padding: 0;

    margin: 0;

    left: 0;

    overflow: initial;

}



div.my_carousel .item-list > div {

    max-width: 100%;

}



div.my_carousel:not([data-fade="1"]) .item-list > div {

    display: block;

    position: relative;

    flex-shrink: 0;

    padding: 0 var(--gallerygap);

    transition: all 0.6s ease;

}



[data-overflow="1"] .item-list > div:not(.focus) {

    opacity: 0.2;

}



div.my_carousel .item-list .item > div {

    /*padding: 1rem;*/

    height: 100%;

}



div.my_carousel .item-list img {

    display: block;

    width: 100%;

    height: auto;

}



div.my_carousel[data-fade="1"] .item {

    position: absolute;

    width: auto;

    opacity: 0;

    transition: opacity 1s, transform 1s;

}



div.my_carousel[data-fade="1"] .item.active {

    position: relative;

    opacity: 1;

    z-index: 1;

    transform: translateX(0%);

}



div.my_carousel .nav {

    display: flex;

    justify-content: center;

    width: 100%;

    z-index: 2;

    padding: 15px 0;

}



div.my_carousel .nav div {

    background: rgba(102, 102, 102, 0.4);

    width: 8px;

    height: 8px;

    border-radius: 8px;

    margin: 0 1vw;

    display: inline-block;

    cursor: pointer;

    transition: width 0.3s ease-in-out;

    -webkit-transition: width 0.3s ease-in-out;

    -moz-transition: width 0.3s ease-in-out;

    -o-transition: width 0.3s ease-in-out;

}



div.my_carousel .nav div:hover {

    background: #000;

}



div.my_carousel .nav .active {

    width: 36px;

}



div.my_carousel .prev,

div.my_carousel .next {

    position: absolute;

    display: flex;

    justify-content: center;

    cursor: pointer;

    top: 50%;

    margin-top: -38px;

    width: 38px;

    height: 38px;

    background: #fff;

    box-shadow: 0 1px 3px rgba(0, 0, 0, 0.2);

    border-radius: 50%;

    z-index: 2;

    transition: all 0.3s ease-in-out;

}



div.my_carousel .next {

    right: -19px;

}



div.my_carousel .prev {

    left: -19px;

}



div.my_carousel .prev svg,

div.my_carousel .next svg {

    width: 20px;

    height: auto;

}



div.my_carousel .prev svg path,

div.my_carousel .next svg path {

    fill: #333;

    width: 3rem;

    height: auto;

}



div.my_carousel .prev:hover:before,

div.my_carousel .next:hover:before,

div.my_carousel .prev:hover:after,

div.my_carousel .next:hover:after {

    border-color: #000;

}



@media screen and (max-width: 768px) {

    div.my_carousel .next {

        right: -16px;

    }



    div.my_carousel .prev {

        left: -16px;

    }

}



[data-round] figure {

    overflow: hidden;

}



[data-round="4"] figure {

    border-radius: 4px;

}



[data-round="8"] figure {

    border-radius: 8px;

}



[data-round="12"] figure {

    border-radius: 12px;

}



[data-round="16"] figure {

    border-radius: 16px;

}



[data-round="20"] figure {

    border-radius: 20px;

}



[data-round="24"] figure {

    border-radius: 24px;

}



[data-round="28"] figure {

    border-radius: 28px;

}



[data-round="32"] figure {

    border-radius: 32px;

}



[data-round="36"] figure {

    border-radius: 36px;

}



[data-round="40"] figure {

    border-radius: 40px;

}



[data-round="44"] figure {

    border-radius: 44px;

}



[data-round="48"] figure {

    border-radius: 48px;

}



[data-round="52"] figure {

    border-radius: 52px;

}



[data-round="56"] figure {

    border-radius: 56px;

}



[data-round="60"] figure {

    border-radius: 60px;

}



[data-round="64"] figure {

    border-radius: 64px;

}