/* CONTENT CUBES VARIATIONS */

/* SIMPLE GRID */
.simple-image-grid .g-title{
    text-align: center;
    font-weight: bold;
}
.simple-image-grid .cube-items-wrapper{
    display: flex;
    background: none;
    flex-wrap: wrap;
    justify-content: center;
 
}
.simple-image-grid .cube-items-wrapper .item.image-position-left .g-block:nth-child(2){
    display: none;
}
.simple-image-grid .cube-items-wrapper .item.image-position-right .g-block:nth-child(1){
    display: none;
}
.simple-image-grid.grid-with-labels .cube-items-wrapper .item.image-position-left .g-block:nth-child(2){
    display: block;
}
.simple-image-grid.grid-with-labels .cube-items-wrapper .item.image-position-right .g-block:nth-child(1){
    display: block;
}
.simple-image-grid.grid-3.grid-with-labels .cube-items-wrapper .item{
    max-width: 14%;
    flex-direction: column;
    text-align: center;
    display: block;
}
.simple-image-grid.grid-3.grid-with-labels .cube-items-wrapper .item.image-position-left .g-block:nth-child(2) .cube-content-wrapper,
.simple-image-grid.grid-3.grid-with-labels .cube-items-wrapper .item.image-position-right .g-block:nth-child(1) .cube-content-wrapper{
    padding: 10px 0;
}
.simple-image-grid.grid-with-labels .cube-items-wrapper .item .cube-image-wrapper{
    padding: 0;
}
.simple-image-grid.grid-with-labels .cube-items-wrapper .item .g-block{
    width: 100%;
}
.simple-image-grid .cube-items-wrapper .item{
    flex: 1 0 10%;
    margin: 10px;
    max-width: 10%;
}
.simple-image-grid.grid-3 .cube-items-wrapper .item{
    flex: 1 0 13%;
    margin: 10px;
    max-width: 13%;
}
.simple-image-grid.grid-2 .cube-items-wrapper .item{
    flex: 1 0 33%;
    margin: 10px;
    max-width: 33%;
}
 

.simple-image-grid.grid-5 .cube-items-wrapper .item{
    flex: 1 0 18%;
    margin: 10px;
    max-width: 18%;
}
.simple-image-grid.grid-10 .cube-items-wrapper .item{
    flex: 1 0 9%;
    margin: 10px;
    max-width: 9%;
}

.simple-image-grid .cube-items-wrapper .item .g-block{
    flex: 1;
    align-self: center;
}
.simple-image-grid .cube-items-wrapper .item .cube-image-wrapper{
    display: flex;
    height: 100%;
    justify-content: center;
    align-items: center;
    background: white;
    border-radius: 10px;
    padding: 5px;
    min-height: 100px;
}
.simple-image-grid.transparent-grid  .cube-items-wrapper .item .cube-image-wrapper{
    background: transparent;
}

.simple-image-grid .cube-items-wrapper .item .cube-image-wrapper:after{
    display: none;
}
.simple-image-grid .cube-items-wrapper .item .cube-image-wrapper img{
    width: 100%;
    -o-object-fit: cover;
    object-fit: cover;
    border-radius: 10px;
    transform: none !important;
}
@media (max-width:768px)  {
    .simple-image-grid .cube-items-wrapper .item{
        flex: 1 0 25%;
        margin: 10px;
        max-width: 25%;
    }
}
@media (max-width:450px)  {
    .simple-image-grid .cube-items-wrapper .item{
        flex: 1 0 45% !important;
        margin: 5px !important;
        max-width: 45% !important;
    }
    .simple-image-grid.grid-2 .cube-items-wrapper .item{
        flex: 1 0 100% !important;
        margin: 5px !important;
        max-width: 100% !important;
    }
}

/* LAYERED MAP */
.layered-map{
    padding: 1em;
}
.layered-map .cube-items-wrapper{
    display: flex;
    background: none;
    flex-wrap: wrap;
    justify-content: center;
    position: relative;
}
.layered-map .cube-items-wrapper .item.image-position-left .g-block:nth-child(2){
    display: none;
}
.layered-map .cube-items-wrapper .item.image-position-right .g-block:nth-child(1){
    display: none;
}
.layered-map .cube-items-wrapper .item:not(:nth-child(1)){
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: 1;
    opacity: 0.3;
}

:root {
  --animationDuration: 0.5s;
}

.layered-map .cube-items-wrapper .item:nth-child(2),
.layered-map.two-animated-items .cube-items-wrapper .item:nth-child(2){
    animation: blink var(--animationDuration) ease-out infinite alternate;
    animation-delay: calc( var( --animationDuration ) * 1 );
}
.layered-map.two-animated-items .cube-items-wrapper .item:nth-child(3){
    animation: blink var(--animationDuration) ease-out infinite alternate;
    animation-delay: calc( var( --animationDuration ) * 0.5 );
}

.layered-map.three-animated-items .cube-items-wrapper .item:nth-child(2){
    animation: blinkImpulse var(--animationDuration) ease-out infinite alternate;
    animation-delay: calc( calc( var( --animationDuration ) * 2 / 3 ) * 1 );
}
.layered-map.three-animated-items .cube-items-wrapper .item:nth-child(3){
    animation: blinkImpulse var(--animationDuration) ease-out infinite alternate;
    animation-delay: calc( calc( var( --animationDuration ) * 2 / 3 ) * 2 );
}
.layered-map.three-animated-items .cube-items-wrapper .item:nth-child(4){
    animation: blinkImpulse var(--animationDuration) ease-out infinite alternate;
    animation-delay: calc( calc( var( --animationDuration ) * 2 / 3 ) * 3 );
}
.layered-map .cube-items-wrapper .item .g-block{
    flex: 1;
    align-self: center;
}
.layered-map .cube-items-wrapper .item .cube-image-wrapper:after{
    display: none;
}
.layered-map .cube-items-wrapper .item .cube-image-wrapper img{
    width: 100%;
    -o-object-fit: cover;
    object-fit: cover;
    border-radius: 10px;
    transform: none !important;
}
@keyframes blink  {
  0% {
      opacity: 0.3;
  }
  100% {
      opacity: 1;
  }
}
@keyframes blinkImpulse  {
  0% {
      opacity: 0.3;
  }
  50% {
      opacity: 0.3;
  }
  100% {
      opacity: 1;
  }
}

/* OWL CAROUSEL */
.owl-carousel .owl-stage-outer{
    border-radius: 15px;
}
.g-owlcarousel .g-owlcarousel-item-wrapper .g-owlcarousel-item-img{
    display: flex;
    height: 100%;
    justify-content: center;
    align-items: center;
}
.g-owlcarousel .g-owlcarousel-item-wrapper .g-owlcarousel-item-img img{
    width: 100%;
    min-height: 100% !important;
    -o-object-fit: cover;
    object-fit: cover;
    
}
.g-owlcarousel .owl-nav button.owl-prev,
.g-owlcarousel .owl-nav button.owl-next{
    background: #fe4300;
    border: none;
}
.g-owlcarousel .owl-nav button.owl-prev{
    left: 5px;
}
.g-owlcarousel .owl-nav button.owl-next{
    right: 5px;
    
}
.g-owlcarousel .owl-nav button.owl-prev:hover,
.g-owlcarousel .owl-nav button.owl-next:hover{
    background: white;
    color: #fe4300;
}

.simple-carousel .g-owlcarousel .owl-dots{
    position: relative;
}
.g-owlcarousel .owl-dots .owl-dot.active, .g-owlcarousel .owl-dots .owl-dot{
    width: 10px;
    height: 10px;
}
.g-owlcarousel .owl-dots .owl-dot.active, .g-owlcarousel .owl-dots .owl-dot:hover{
    background: #ff4400;
}
/* NUMBER GRID */

.simple-numeral-grid .cube-items-wrapper{
    display: flex;
    background: none;
    flex-wrap: wrap;
    justify-content: center;
 
}
.simple-numeral-grid .cube-items-wrapper .item.image-position-left .g-block:nth-child(1){
    display: none;
}
.simple-numeral-grid .cube-items-wrapper .item.image-position-right .g-block:nth-child(2){
    display: none;
}
.simple-numeral-grid.g-contentcubes .cube-items-wrapper .cube-content-wrapper{
    padding: 0;
}
.simple-numeral-grid .cube-items-wrapper .item{
    flex: 1 0 10%;
    margin: 10px;
    max-width: 10%;
    align-content: baseline;
    text-align: center;
}
.simple-numeral-grid.grid-3 .cube-items-wrapper .item{
    flex: 1 0 13%;
    margin: 10px;
    max-width: 13%;
    min-width: 150px;
}
.simple-numeral-grid.grid-2 .cube-items-wrapper .item{
    flex: 1 0 33%;
    margin: 10px;
    max-width: 33%;
}
 

.simple-numeral-grid.grid-5 .cube-items-wrapper .item{
    flex: 1 0 18%;
    margin: 10px;
    max-width: 18%;
}

.simple-numeral-grid .cube-items-wrapper .item .item-label{
    font-size: 3em;
    background: none;
    padding: 0;
    margin: 0;
}
.simple-numeral-grid.g-contentcubes .cube-items-wrapper .cube-content-wrapper .item-title{
    font-weight: 400;
    font-size: 14px;
}
.simple-numeral-grid .cube-items-wrapper .item .g-block{
    flex: 1;
    align-self: center;
}
.simple-numeral-grid .cube-items-wrapper .item .cube-image-wrapper{
    display: flex;
    height: 100%;
    justify-content: center;
    align-items: center;
    background: white;
    border-radius: 10px;
    padding: 5px;
    min-height: 100px;
}
.simple-numeral-grid.transparent-grid  .cube-items-wrapper .item .cube-image-wrapper{
    background: transparent;
}

.simple-numeral-grid .cube-items-wrapper .item .cube-image-wrapper:after{
    display: none;
}
.simple-numeral-grid .cube-items-wrapper .item .cube-image-wrapper img{
    width: 100%;
    -o-object-fit: cover;
    object-fit: cover;
    border-radius: 10px;
    transform: none !important;
}
@media (max-width:768px)  {
    .simple-numeral-grid .cube-items-wrapper .item{
        flex: 1 0 25%;
        margin: 10px;
        max-width: 25%;
    }
}
@media (max-width:450px)  {
    .simple-numeral-grid .cube-items-wrapper .item{
        flex: 1 0 45% !important;
        margin: 5px !important;
        max-width: 45% !important;
    }
    .simple-numeral-grid.grid-2 .cube-items-wrapper .item{
        flex: 1 0 100% !important;
        margin: 5px !important;
        max-width: 100% !important;
    }
}
