/* HOVER nad mapou aby bola aktiva */
.cutko-gps-map__container .flex-media__holder:hover .cutko-gps-map,
.cutko-gps-map__container .flex-media__holder:focus .cutko-gps-map,
.cutko-gps-map__container .flex-media__holder:active .cutko-gps-map {
    z-index: 2;
}
/* @media screen and (max-width: 1480px) { */
    .cutko-gps-map__container .flex-media__holder .cutko-gps-map,
    .cutko-gps-map__container .flex-media__holder:hover .cutko-gps-map,
    .cutko-gps-map__container .flex-media__holder:focus .cutko-gps-map,
    .cutko-gps-map__container .flex-media__holder:active .cutko-gps-map {
        z-index: 2;
    }
/* } */

.cutko-gps-map__container .cutko-gps-content.flex-text {
    max-width: unset;
    flex-basis: 40%;
}
.cutko-gps-map__container .cutko-gps-content.flex-text p {
    font-size: 22px;
    font-weight: 500;
    color: var(--wheat);
}
@media screen and (max-width: 991px) {
    .cutko-gps-map__container .cutko-gps-content.flex-text p {
        text-align: center;
        font-size: 18px;
        margin-top: 38px;
    }
}

@media screen and (max-width: 1182px) {
  .cutko-gps-map__container .flex-media__holder,
  .cutko-gps-map__container .cutko-gps-content.flex-text {
    flex-basis: 100%;
  }
}


/* .cutko-gps-map__container .cutko-gps-content.flex-text .obrovo-text-stlpce {
  grid-template-columns: repeat(auto-fill, minmax(300px, 1fr));
} */
.cutko-gps-map__container .cutko-gps-content.flex-text .obrovo-text-stlpce p,
.cutko-gps-map__container .cutko-gps-content.flex-text .obrovo-text-stlpce p a {
    font-size: 26px;
    font-weight: 700;
    line-height: 100%;
    color: var(--yellow);
}
.cutko-gps-map__container .cutko-gps-content.flex-text .obrovo-text-stlpce p a:hover,
.cutko-gps-map__container .cutko-gps-content.flex-text .obrovo-text-stlpce p a:active,
.cutko-gps-map__container .cutko-gps-content.flex-text .obrovo-text-stlpce p a:focus {
    color: var(--orange);
    text-decoration: none;
}


@media (orientation: portrait) and (max-width: 786px) {
    .cutko-gps-map__container .cutko-gps-content.flex-text .obrovo-text-stlpce {
        grid-template-columns: 1fr;
        justify-items: center;
        margin-top: 50px;
    }
    .cutko-gps-map__container .cutko-gps-content.flex-text .obrovo-text-stlpce-col p {
        text-align: center;
        margin: 0;
    }
    .cutko-gps-map__container .cutko-gps-content.flex-text .obrovo-text-stlpce p,
    .cutko-gps-map__container .cutko-gps-content.flex-text .obrovo-text-stlpce p a {
        font-size: 25px;
    }
}

@media (orientation: landscape) and (max-width: 991px) {
    .cutko-gps-map__container .layout-left-image .flex-media__holder {
        transform: rotate(0deg);
    }
}

.cutko-gps-map__container .layout-left-image .flex-media__holder {
    transform: rotate(0deg);
}
@media (orientation: portrait) and (max-width: 786px)  {
    .cutko-gps-map__container .layout-left-image .flex-media__holder.wide-aspect-ratio {
        padding-top: 100%;
        width: 120%;
        left: 50%;
        transform: translateX(-50%) rotate(-90deg);
        margin: 50px 0 40px;
    }
    .cutko-gps-map__container .layout-left-image .flex-media__holder .poster-holder {
        width: 70%;
        height: 106%;
        transform: translate(-50%, -50%) rotate(90deg);
    }
}
@media (orientation: portrait) and (max-width: 480px)  {
    .cutko-gps-map__container .layout-left-image .flex-media__holder.wide-aspect-ratio {     
        width: 140%;
    }

    .cutko-gps-map__container .layout-left-image .flex-media__holder .poster-holder {
        width: 60%;
        height: 125%;
    }
}

@media (min-width: 1182px) {
    .cutko-gps-map__container .layout-left-image .flex-media__holder {
        order: 0;
        transform: rotate(-3.24deg);
    }
}


/* SPINNER */
.cutko-map-loader {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
}
.cutko-map-loader.hidden {
    display: none;
}
.spinner {
    width: 40px;
    height: 40px;
    border: 4px solid var(--light-blue);
    border-top-color: var(--tehlova);
    border-radius: 50%;
    animation: spin 1s linear infinite;
}
@keyframes spin {
    to { transform: rotate(360deg); }
}



/* POPUUP na mapke */
/* Vlož do obrovo plugin CSS napr. assets/css/cutko-galerie.css alebo nový samostatný CSS súbor */
@media screen and (max-width: 480px) {
    #cutko-load-map {
        margin-top: 23%
    }
    
}

#cutko-load-map .leaflet-popup-content {
    font-family: 'Mikado', sans-serif;
    font-size: 14px;
    line-height: 1.5;
    color: var(--wheat);
    padding: 5px;
    cursor: unset;
}

#cutko-load-map .leaflet-interactive {
    cursor: unset;
}

#cutko-load-map .leaflet-popup-content strong {
    font-size: 14px;
    color: var(--wheat);
}

#cutko-load-map .leaflet-popup-content a {
    display: inline-block;
    margin-top: 5px;
    color: var(--wheat);
    text-decoration: none
}

#cutko-load-map .leaflet-popup-content a:hover {
    color: var(--wheat);
}

#cutko-load-map .leaflet-map-pane .leaflet-popup-content svg {
    z-index: -1;
}

/* Voliteľné - zmena šípky popupu */
#cutko-load-map .leaflet-popup-tip {
    background: var(--orange) !important;
}

/* Voliteľné - zaoblenie okraja popupu */
#cutko-load-map .leaflet-popup-content-wrapper {
    box-shadow: 0 4px 12px rgba(0,0,0,0.2);
    background: transparent !important;
    border: none !important;
    box-shadow: none !important;
    padding: 0 !important;
}

#cutko-load-map .leaflet-container a.leaflet-popup-close-button {
    display: none !important;
}


/* TITLE - wood podklad */
.cutko-header__title > .wood__svg.position__blue {
    width: 100%;
}
@media  screen and (min-width: 736px) {
    .cutko-header__title > .wood__svg.position__blue {
        top: unset;
        transform: translateX(104%);
        max-width: 378px;
    }  
}
@media screen and (max-width: 735.9px) {
    .cutko-header__title > .wood__svg.position__blue {
        top: 50%;
        right: 50%;
        transform: translate(50%, -50%);
        max-width: 280px;
    }     
}
@media (max-width: 480px) {
    .cutko-header__title > .wood__svg.position__blue {
        height: 100%;
        top: unset;
        bottom: -60px;
        transform: translate(50%, 0);
    }
    #kde-ma-najdes-380.cutko-header__title > .wood__svg.position__blue {
        bottom: -70px;
    }
    #ako-sa-kumne-dostanes-421.cutko-header__title > .wood__svg.position__blue {
        bottom: -100px;
    }
}


/* 2 stlpce textove- shordcode */
@media screen and (max-width: 992px) {
    .cutko-gps-content .obrovo-text-stlpce {
        justify-content: center;
    }
    .cutko-gps-content .obrovo-text-stlpce .obrovo-text-stlpce-col,
    .cutko-gps-content.flex-text p {
        text-align: center;
    }
}


/* DESIGN WAVE BLUE */
.cutko-gps__container {
    position: relative;
}
.cutko-gps__container::before,
.cutko-gps__container::after {
    content: '';
    width: 100vw;
    height: 120%;
    position: absolute;
    top: 0;
    left: 0;
    z-index: 1;

    -webkit-mask-image: url('/wp-content/plugins/obrovo/assets/img/design-wave__blue.svg');
    -webkit-mask-repeat: no-repeat;
    -webkit-mask-size: cover;
    -webkit-mask-position: top;

    mask-image: url('/wp-content/plugins/obrovo/assets/img/design-wave__blue.svg');
    mask-repeat: no-repeat;
    mask-size: cover;
    mask-position: top;
}
.cutko-gps__container::before {
    background: var(--blue);
}
.cutko-gps__container::after {
    background: transparent url('/wp-content/plugins/obrovo/assets/img/sum-blue.png')
     center center repeat;
    background-size: auto;
    opacity: 0.4;
}
@media screen and (max-width: 480px) {
    .cutko-gps__container::before,
    .cutko-gps__container::after {
        height: 100%;
        top: 0;
        -webkit-mask-image: url('/wp-content/plugins/obrovo/assets/img/design-wave__blue--mobile.svg');
        -webkit-mask-repeat: no-repeat;
        -webkit-mask-size: cover;
        -webkit-mask-position: top;

        mask-image: url('/wp-content/plugins/obrovo/assets/img/design-wave__blue--mobile.svg');
        mask-repeat: no-repeat;
        mask-size: cover;
        mask-position: top;
    }

    .cutko-gps__container .widget_cutko_gps_widget  {
        position: relative;
    }
    .cutko-gps__container .widget_cutko_gps_widget::before,
    .cutko-gps__container .widget_cutko_gps_widget::after {
        content: '';
        width: 100vw;
        height: 100px;
        position: absolute;
        bottom: -4%;
        left: 0;
        z-index: 2;

        -webkit-mask-image: url('/wp-content/plugins/obrovo/assets/img/design-wave__blue--mobile.svg');
        -webkit-mask-repeat: no-repeat;
        -webkit-mask-size: cover;
        -webkit-mask-position: top;

        mask-image: url('/wp-content/plugins/obrovo/assets/img/design-wave__blue--mobile.svg');
        mask-repeat: no-repeat;
        mask-size: cover;
        mask-position: bottom;
    }
     .cutko-gps__container .widget_cutko_gps_widget::before {
        background: var(--blue);
    }
     .cutko-gps__container .widget_cutko_gps_widget::after {
        background: transparent url('/wp-content/plugins/obrovo/assets/img/sum-blue.png')
        center center repeat;
        background-size: auto;
        opacity: 0.4;
    }
}


.widget.widget_cutko_gps_widget {
    padding: 140px 0 100px;
}
@media screen and (max-width: 480px) {
    .widget.widget_cutko_gps_widget {
        padding-top: 75px;
        padding-bottom: 30px;
    }
    
}