﻿/* ===== Galerija slika artikla ===== */
a.gal-slika {
    display: block;
    cursor: zoom-in
}

/* ===== Magnific Popup - Odeon ===== */
.mfp-bg {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: 1042;
    overflow: hidden;
    background: #0b0b0b;
    opacity: .9
}

.mfp-wrap {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: 1043;
    outline: none !important;
    -webkit-backface-visibility: hidden
}

.mfp-container {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    text-align: center;
    padding: 0 8px;
    box-sizing: border-box
}

    .mfp-container:before {
        content: '';
        display: inline-block;
        height: 100%;
        vertical-align: middle
    }

.mfp-align-top .mfp-container:before {
    display: none
}

.mfp-content {
    position: relative;
    display: inline-block;
    vertical-align: middle;
    margin: 0 auto;
    text-align: left;
    z-index: 1045;
    width: 100%
}

.mfp-image-holder .mfp-content {
    max-width: 900px
}

.mfp-zoom-out-cur, .mfp-zoom-out-cur .mfp-image-holder .mfp-close {
    cursor: zoom-out
}

.mfp-auto-cursor .mfp-content {
    cursor: auto
}

.mfp-close, .mfp-arrow, .mfp-preloader, .mfp-counter {
    -webkit-user-select: none;
    -moz-user-select: none;
    user-select: none
}

.mfp-loading.mfp-figure {
    display: none
}

.mfp-hide {
    display: none !important
}

.mfp-preloader {
    color: #ccc;
    position: absolute;
    top: 50%;
    left: 8px;
    right: 8px;
    width: auto;
    margin-top: -.8em;
    text-align: center;
    z-index: 1044
}

    .mfp-preloader a {
        color: #ccc
    }

.mfp-s-ready .mfp-preloader {
    display: none
}

.mfp-s-error .mfp-content {
    display: none
}

button.mfp-close, button.mfp-arrow {
    overflow: visible;
    cursor: pointer;
    background: transparent;
    border: 0;
    -webkit-appearance: none;
    display: block;
    outline: none;
    padding: 0;
    z-index: 1046;
    box-shadow: none;
    touch-action: manipulation
}

.mfp-close {
    width: 44px;
    height: 44px;
    line-height: 44px;
    position: absolute;
    right: 0;
    top: 0;
    text-decoration: none;
    text-align: center;
    opacity: .7;
    padding: 0 0 18px 10px;
    color: #fff;
    font-style: normal;
    font-size: 28px;
    font-family: Arial,sans-serif
}

    .mfp-close:hover, .mfp-close:focus {
        opacity: 1
    }

.mfp-image-holder .mfp-close {
    color: #fff;
    right: -6px;
    text-align: right;
    padding-right: 6px;
    width: 100%
}

.mfp-counter {
    position: absolute;
    top: 0;
    right: 0;
    color: #ccc;
    font-size: 12px;
    line-height: 18px;
    white-space: nowrap
}

.mfp-arrow {
    position: absolute;
    top: 50%;
    margin: -55px 0 0;
    padding: 0;
    width: 70px;
    height: 110px;
    opacity: .7;
    -webkit-tap-highlight-color: transparent
}

    .mfp-arrow:hover, .mfp-arrow:focus {
        opacity: 1
    }

    .mfp-arrow:before {
        content: '';
        display: block;
        width: 18px;
        height: 18px;
        border-top: 3px solid #fff;
        border-right: 3px solid #fff;
        margin: 0 auto
    }

.mfp-arrow-left {
    left: 0
}

    .mfp-arrow-left:before {
        transform: rotate(-135deg)
    }

.mfp-arrow-right {
    right: 0
}

    .mfp-arrow-right:before {
        transform: rotate(45deg)
    }

.mfp-figure {
    line-height: 0
}

    .mfp-figure:after {
        content: '';
        position: absolute;
        left: 0;
        right: 0;
        top: 40px;
        bottom: 40px;
        display: block;
        width: auto;
        height: auto;
        z-index: -1;
        background: #444;
        box-shadow: 0 0 8px rgba(0,0,0,.6)
    }

    .mfp-figure figure {
        margin: 0
    }

img.mfp-img {
    display: block;
    width: auto;
    max-width: 100%;
    height: auto;
    margin: 0 auto;
    padding: 40px 0;
    line-height: 0;
    box-sizing: border-box
}

.mfp-bottom-bar {
    position: absolute;
    top: 100%;
    left: 0;
    width: 100%;
    margin-top: -36px;
    cursor: auto
}

.mfp-title {
    text-align: left;
    line-height: 18px;
    color: #f3f3f3;
    word-wrap: break-word;
    padding-right: 36px
}

/* ===== Tekstualni modal - staticke stranice (uvjeti i slicno) ===== */
.mfp-statika .mfp-content {
    max-width: 820px;
    margin: 34px auto
}

.statika_modal {
    background: #fff;
    border-radius: 16px;
    padding: 30px 34px;
    max-height: 76vh;
    overflow-y: auto;
    font-size: 14px;
    color: #000
}

    .statika_modal h1 {
        font-size: 22px;
        line-height: 28px;
        margin: 0 0 18px;
        font-weight: 600
    }

    .statika_modal p {
        margin: 0 0 12px;
        line-height: 22px
    }

    .statika_modal ul {
        margin: 0 0 12px;
        padding-left: 20px
    }

    .statika_modal li {
        margin: 0 0 10px;
        line-height: 22px
    }

    .statika_modal a {
        color: #00abcc
    }

.mfp-statika .mfp-close {
    color: #fff;
    right: -4px;
    top: -36px;
    width: 36px;
    height: 36px;
    line-height: 36px;
    padding: 0;
    text-align: center
}

@media screen and (max-width:800px) and (orientation:landscape),screen and (max-height:300px) {
    .mfp-img {
        padding: 0
    }

    .mfp-figure:after {
        top: 0;
        bottom: 0
    }

    .mfp-container {
        padding: 0
    }

    .mfp-bottom-bar {
        position: fixed;
        top: auto;
        bottom: 0;
        margin: 0;
        background: rgba(0,0,0,.6);
        padding: 3px 5px;
        box-sizing: border-box
    }

    .mfp-close {
        position: fixed;
        top: 0;
        right: 0;
        width: 35px;
        height: 35px;
        line-height: 35px;
        padding: 0;
        text-align: center;
        background: rgba(0,0,0,.6)
    }
}

@media all and (max-width:900px) {
    .mfp-arrow {
        transform: scale(.75)
    }

    .mfp-arrow-left {
        transform-origin: 0
    }

    .mfp-arrow-right {
        transform-origin: 100%
    }

    .mfp-container {
        padding-left: 6px;
        padding-right: 6px
    }

    .mfp-statika .mfp-content {
        margin: 40px auto 10px
    }

    .statika_modal {
        padding: 20px;
        border-radius: 10px;
        max-height: 80vh
    }
}
