a {text-underline-offset: 3px;}
p {margin-bottom: 1rem;}

.post__content {font-size: 18px;}
.wp-block-file:not(.wp-element-button) {font-size: initial;}

.blokovi {
    position: relative;
    /*background: #e1e7ec;*/
    margin: 1em;
    padding: 0;
    list-style: none;
    gap: 12px;
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));

    @media (min-width: 769px) {grid-template-columns: repeat(3, minmax(0, 1fr));}
    @media (min-width: 993px) {grid-template-columns: repeat(4, minmax(0, 1fr));}
    @media (min-width: 1201px) {grid-template-columns: repeat(5, minmax(0, 1fr));}

    li {
        font-size: 20px;
        font-weight: 400;
        text-align: center;
        line-height: 1.1;
        margin: 0;
        padding: 20px;
        color: #fff;
        background: #c3e6ff;
        display: grid;
        place-content: center;
        transition: 0.2s;
        min-height: 80px;
        border-radius: 8px;
        box-shadow: 0 2px 3px #8ec3f1;
        clip-path: xywh(0 0 100% 100% round 0.25rem);

        @media (min-width: 993px) {font-size: 24px;}

        &:after {
            --gradient-color-from: #03228f;
            --gradient-color-to: #0e73e4;

            position: absolute;
            inset: -1px;
            z-index: -1;
            background: linear-gradient(135deg, var(--gradient-color-from), var(--gradient-color-to));
            border: 1px solid #f60;
            content: '';
        }
    }
}
/*[class*="wp-block"] {margin-bottom: 1rem !important;}*/

.header-languages__list .lang-item {
    font-weight: bold;
    display: inline-block;
    margin: 0;
    height: 20px;
    line-height: 20px;
    font-size: 0.875em;
    text-transform: uppercase;
    letter-spacing: 0.04em;
}

.header-languages__list .lang-item a {
    text-decoration: none;
    color: #fff;
}

.header-languages__list .lang-item a:hover {
    text-decoration: underline;
}

.header-images {
    margin: 0;
    padding: 0;
    list-style: none;
    position: absolute;
    inset: 0;

    li {
        position: absolute;
        inset: 0;
        margin: 0;
        transition: 0.2s;
    }

    img {
        display: block;
        width: 100%;
        height: 100%;
        object-fit: cover;
    }
}

.custom-video {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
    z-index: 15;
}

.cta-holder {
    position: relative;
    min-height: 45vh;
    background-color: #276638;
    background-position: center center;
    background-size: cover;
    display: flex;
    flex-flow: column nowrap;
    align-items: center;
    justify-content: center;
}

.cta-holder .lsvr-container {
    padding: 45px 30px;
}

@media (min-width: 993px) {
    .cta-holder.has-bg .lsvr-container {
        width: 50%;
        margin-left: 0;
    }
}

.cta-play {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    display: flex;
    align-items: center;
    justify-content: center;
}

.cta-play span {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    width: 50px;
    height: 50px;
    padding: 20px;
    color: #00B050;
    background: rgba(255, 255, 255, 0.75);
    border-radius: 50%;
    cursor: pointer;
    z-index: 1;
}

.cta-play:after {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(to right, #276638, transparent, transparent);
    content: '';
}

@media (max-width: 992px) {
    .cta-play:after {
        background: linear-gradient(to bottom, #276638, transparent, transparent);
    }
}

.cta-bg {
    position: relative;
    display: block;
    width: 100%;
    overflow: hidden;
}

@media (max-width: 992px) {
    .cta-bg {
        aspect-ratio: 16/9;
    }
}

@media (min-width: 993px) {
    .cta-bg {
        position: absolute;
        top: 0;
        right: 0;
        bottom: 0;
        width: 50%;
    }
}

.cta-bg img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transform: scale(1.1);
}

.cta-videoplayer {
   position: fixed;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: rgba(0,0,0,0.85);
    display: none;
    align-items: center;
    justify-content: center;
    z-index: 31;
}

.cta-close {
    font-weight: 700;
    font-size: 1.2em;
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    text-align: center;
    padding: 15px;
    color: #fff;
    background: #4c4a5f;
    cursor: pointer;
    z-index: 3;
}

.cta-videoplayer-inner {
    width: 100%;
    max-width: 1100px;
}

.cta-embed {
    position: relative;
    padding-bottom: 56.25%;
    height: 0;
    overflow: hidden;
    max-width: 100%;
}

.cta-embed iframe,
.cta-embed video {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
}

.cta-holder h4 {color: #fff;}
.cta-holder p {color: rgba(255,255,255, 0.65) !important;}
.cta-holder .c-button {
    color: #fff;
    border-color: rgba(255,255,255, 0.5);
}

.cta-holder > .lsvr-container {
    gap: 16px;
    display: flex;
    flex-flow: column nowrap;
    align-items: center;
}

.cta-holder h4 {
    text-align: center;
    font-size: 36px;
    margin: 0;
}

.cta-holder p {
    text-align: center;
    font-size: 1.15em;
    max-width: 600px;
    font-weight: 500;
    color: #636363;
}

.cta-holder p:last-of-type {
    margin-bottom: 0;
}

.skiptranslate span {
    /*display: none !important;*/
}

#google_translate_element {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    z-index: 31;
}

#google_translate_element select:focus {
    outline: none;
}

.custom-archive-grid {
    margin: 0 -15px;
    display: grid;
}

.custom-archive-grid article {
    height: calc(100% - 32px);
}

@media (min-width: 769px) {
    .custom-archive-grid {
        grid-template-columns: repeat(2, 1fr);
    }
}

@media (min-width: 993px) {
    .custom-archive-grid {
        grid-template-columns: repeat(3, 1fr);
    }
}

.textwidget {
    line-height: 1.5;
}

[class*="wp-block"] {
    margin-bottom: 1rem;
}

.wp-block-heading {
    margin-bottom: 20px;
}

.wp-block-gallery {
    gap: 12px;
    display: grid;
}

.wp-block-gallery:before,
.wp-block-gallery:after {
    display: none !important;
}

.wp-block-gallery figure {
    width: 100% !important;
}

.wp-block-gallery.columns-1,
.wp-block-gallery.columns-2 {grid-template-columns: repeat(2, 1fr);}
.wp-block-gallery.columns-3 {grid-template-columns: repeat(3, 1fr);}
.wp-block-gallery.columns-4,
.wp-block-gallery.columns-5,
.wp-block-gallery.columns-6,
.wp-block-gallery.columns-7 {grid-template-columns: repeat(4, 1fr);}

@media (max-width: 992px) {
    .wp-block-gallery.columns-4,
    .wp-block-gallery.columns-5,
    .wp-block-gallery.columns-6,
    .wp-block-gallery.columns-7 {grid-template-columns: repeat(3, 1fr);}
}

@media (max-width: 576px) {
    .wp-block-gallery.columns-1,
    .wp-block-gallery.columns-2 {grid-template-columns: repeat(2, 1fr);}
    .wp-block-gallery.columns-3 {grid-template-columns: repeat(2, 1fr);}
    .wp-block-gallery.columns-4,
    .wp-block-gallery.columns-5,
    .wp-block-gallery.columns-6,
    .wp-block-gallery.columns-7 {grid-template-columns: repeat(2, 1fr);}
}

.wp-block-embed[class*="vimeo"] .wp-block-embed__wrapper,
.wp-block-embed[class*="youtube"] .wp-block-embed__wrapper {
    position: relative;
    padding-bottom: 56.25%;
    height: 0;
    overflow: hidden;
    max-width: 100%;
}

.wp-block-embed[class*="vimeo"] iframe,
.wp-block-embed[class*="youtube"] iframe {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
}

.wpcf7-form-control:not(.wpcf7-submit) {
    max-width: unset;
    padding: 15px;
    background: #f6f6f6
}

.wpcf7-textarea {
    height: 120px;
}

.post__thumbnail img {
    width: 100%;
}

.lsvr_event-list-widget__item-thumb img {
    height: 100%;
    object-fit: cover;
    display: block;
}



.has-effect {
    position: relative;
    perspective: 150rem;
    padding: 15px;
}

.lsvr-pressville-post-grid__post {
    transition: all 0.8s ease;
    backface-visibility: hidden;
}

.lsvr-pressville-post-grid__post:not(.back) {

}

.lsvr-pressville-post-grid__post.back {
    position: absolute;
    top: 15px;
    left: 15px;
    bottom: 15px;
    width: calc(100% - 30px);
    transform: rotateY(-180deg);
}

@media (min-width: 993px) {
    .has-effect:hover .lsvr-pressville-post-grid__post:not(.back) {
        transform: rotateY(180deg);
    }

    .has-effect:hover .lsvr-pressville-post-grid__post.back {
        transform: rotateY(0deg);
    }
}

.no-effect .thumb-holder {
    width: 100%;
    aspect-ratio: 3/2;
}

.no-effect img {
    width: 100%;
    height: 100%;
    display: block;
    object-fit: cover;
}

.no-effect .lsvr-pressville-post-grid__post-bg {
    background-color: transparent;
    padding: 16px 0 0;
}

.no-effect .lsvr-pressville-post-grid__post-inner {
    height: auto;
}

.header-menu-primary__submenu li {
    margin-bottom: 0;
}

@media (min-width: 769px) {
    .header-menu-secondary {
        width: 100%;
       max-width: calc(100% - 150px);
    }

    .header-menu-secondary__list {
        display: flex;
        flex-flow: row nowrap;
    }

    .header-menu-secondary__list li:nth-last-child(4) {
        flex-grow: 1;
    }

    .header-menu-secondary__list li:nth-last-child(1),
    .header-menu-secondary__list li:nth-last-child(2),
    .header-menu-secondary__list li:nth-last-child(3) {

    }
}

@media (max-width: 768px) {
    .header-topbar__inner {
        display: flex;
        flex-flow: column-reverse nowrap;
    }
    .header-menu-secondary {
        /*padding-right: 150px;*/
    }

    .header-languages {
        position: relative;
        background: #4c4a5f;
         max-width: unset;
    }

    .header-languages:before {
        display: none;
    }

    .header-languages__list li {
        width: 100%;
        text-align: center;

    }
}

.custom-socials {
    margin: 31px 55px 0 0;
    padding: 0;
    list-style: none;
    gap: 5px;
    display: flex;
    flex-flow: row nowrap;
}

.custom-socials a.fb {color: #3b5998;}
.custom-socials a.tw {color: #000;}
.custom-socials a.yt {color: #f00;}
.custom-socials a.in {color: #833ab4;}
.custom-socials a.li {color: #0077b5;}

@media (max-width: 992px) {
    .custom-socials {
        margin: 0;
        padding: 15px 15px 0;
        border-top: 1px solid #e1e7ec;
        justify-content: center;
    }
}

.footer-subcolumns {
    gap: 24px;
    display: grid;
}

@media (min-width: 993px) {
    .footer-subcolumns {
        gap: 24px;
        display: grid;
        grid-template-columns: repeat(2, 1fr);
    }
}

#footer {
    position: relative;
}

#map {
    height: 400px;
    width: 100%;
    background-color: #000;
    z-index: 9999;
}

@media (min-width: 992px) {
    #map {
        position: absolute;
        top: 0;
        right: 0;
        bottom: 0;
        width: 50%;
        height: auto;
    }
}

.footer-special {
    width: 100%;
}

.footer-special-inner {
    width: 100%;
    max-width: 500px;
    margin: 0 auto;
}


@media (max-width: 992px) {
    .footer-special {
        width: 100% !important;
    }
}

.marker{
    background-image:url('../../assets/img/marker.svg');
    background-size:cover;
    height:50px;
    width:40px;
}
.custom-calendar nav {display: none;}

.wp-block-calendar table:where(:not(.has-text-color)) td, .wp-block-calendar table:where(:not(.has-text-color)) th {
    text-align: center;
    padding: 4px;
}

.widget_calendar th {
    background: #eee;
    border-color: transparent;
}