* {
    box-sizing: border-box;
}

html {
    margin: 0;
    padding: 0;
    height: 100%;
    width: 100%;
}

body {
    margin: 0;
    padding: 0;
    height: 100%;
    width: 100%;
    font-family: 'Quicksand', sans-serif;
    font-size: 18px;
    background: url(../fotografije/podloga_40.jpg);
    background-attachment: fixed;
    background-position: center bottom;
    background-color: #bad6ee;
}

.purgatory { clear: both; }

a {
    text-decoration: none;
    color: white;
    border: none;
}

.red { color: #ea112a; }
.blue { color: blue; }
.white { color: white; }

#header-wrapper {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    background-color: #082858;
    overflow: visible;
}

    #header {
        position: relative;
    }

#first-page {
    text-align: center;
    z-index: -1;
    background: url(../fotografije/foto_002.jpg);
}

#first-page span {
    display: inline-block;
    font-family: 'Vollkorn';
    font-weight: bolder;
    text-shadow: 0px 0px 10px #082858;
}

#content-wrapper {
    background-color: #bad6ee;
}

.page h2 {
    font-family: 'Quicksand', sans-serif;
    font-weight: 400;
    padding: 10px 20px;
    border-bottom: solid 1px navy;
    color: navy;
    margin: 0;
}

.duplex {
    font-size: 0;
    margin-top: 15px;
}

#footer-wrapper {
    background-color: #132850;
    text-align: center;
    padding: 0 15px 65px 15px;
}

#footer {
    text-align: left;
    color: white;
    line-height: 1.5;
    overflow: hidden;
}

#footer #red_2 div {
    overflow: hidden;
}

#footer h2 {
    font-weight: 600;
    margin: 0;
    padding: 0;
}

.overlay_frame h1 {
    font-size: 28px;
    color: red;
    margin: 0;
    display: inline-block;
    padding: 12px 0 0 25px;
}

#cookie_info {
    position: fixed;
    left: 0;
    right: 0;
    bottom: 0;
    /* width: 90%; */
    background-color: white;
    text-align: center;
    padding: 10px 10px 10px 10px;
    z-index: 1000;
}

#cookie_info span {
    display: inline-block;
    padding-top: 4px;
}

#close_cookie_info {
    border: none;
    float: right;
    color: red;
    cursor: pointer;
    background-color: white;
    border-radius: 2px;
    font-size: 18px;
    padding-top: 4px;
}

#close_cookie_info:hover {
    background-color: red;
    color: white;
}

.ora_link {
    color: orangered;
    font-weight: bold;
}

/* -------------------------------------------------------------------------- */
/* MOBILE MODE: ------------------------------------------------------------- */
/* -------------------------------------------------------------------------- */

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

    #header-wrapper {
        height: 50px;
        width: 100%;
        text-align: left;
    }

    #header {
        height: 50px;
        width: 100%;
        padding: 10px;
    }

    #header img {
        height: 60px;
        width: auto;
        -webkit-filter: drop-shadow( 3px 3px 2px rgba(0, 0, 0, .7));
        filter: drop-shadow( 3px 3px 2px rgba(0, 0, 0, .7));
    }

    #mobile-links {
        display: inline-block;
        float: right;
        font-size: 0;
    }

    #mobile-links a {
        display: inline-block;
        height: 50px;
        width: 70px;
        text-align: center;
        padding-top: 7px;
        font-size: 28px;
    }
    
    #first-page {
        margin-top: 50px;
        height: calc(100% - 50px);
        background-position: left center;
        -webkit-background-size: auto 100%;
        -moz-background-size: auto 100%;
        -o-background-size: auto 100%;
        background-size: auto 100%;
    }

    #first-page span {
        font-size: 15vw;
    }

    #content-wrapper {
        width: 100%;
        padding: 0;
        margin: 0;
    }

    .page {
        width: 100%;
    }

    #second-page {
        display: none;
        width: 0;
    }

    .on_desktop { display: none; }

    .triplet {
        font-size: 0;
        margin: 15px;
        overflow: hidden;
    }

    .triplet img {
        width: 100%;
        height: auto;
        border-radius: 10px;
        margin-bottom: 15px;
    }

    .duplex {
        width: 100%;
        padding: 15px;
        margin: 0;
    }

    #fourth-page img {
        margin: 15px 0 15px 15px;
        border-radius: 10px;
        width: calc(100% - 30px);
        height: auto;
    }

    #fifth-page img {
        width: calc(100% - 30px);
        height: auto;
        margin: 15px 0 10px 15px;
        border-radius: 10px;
    }

    #sixth-page img {
        width: 100%;
        height: auto;
        margin-bottom: 15px;
        border-radius: 10px;
    }

    #seventh-page .duplex img {
        width: 100%;
        height: auto;
        border-radius: 10px;
    }

    #seventh-page .duplex img:first-child {
        margin-bottom: 15px;
    }
    
    #seventh-page > img {
        width: calc(100% - 30px);
        height: auto;
        margin: 0 15px;
        border-radius: 10px;
    }

    #eighth-page img {
        width: 100%;
        height: auto;
        margin-bottom: 15px;
        border-radius: 10px;
    }

    #nineth-page {
        margin: 0;
    }

    #nineth-page img {
        width: calc(100% - 30px);
        height: auto;
        margin: 15px;
        border-radius: 10px;
    }

    #footer {
        width: 100%;
    }

    #footer #red_1 {
        padding: 20px 0 0 0;
    }

    #footer #red_2 {
        margin-top: 10px;
        padding: 0;
    }

    #footer #red_2 img {
        width: 100%;
        height: auto;
        margin: 0 0 15px 0;
        border-radius: 10px;
        margin: 0;
    }

    #googleMap {
        display: inline-block;
        width: 100%;
        height: 400px;
        border-radius: 10px;
    }

    .link {
        background-color: orangered;
        color: white;
        display: inline-block;
        padding: 3px 12px;
        border-radius: 50px;
        margin-bottom: 15px;
        width: 100%;
    }

    #cookie_info > div {
        text-align: left;
        font-size: 15px;
        /* width: 100%; */
    }

    .overlay_frame {
        width: 90%;
        height: 100%;
        margin: auto;
        background-color: white;
        border-radius: 15px;
        position: relative;
    }

    .overlay_frame h1 {
        font-size: 20px;
    }

    .overlay_frame h2 {
        font-size: 18px;
    }

}

/* -------------------------------------------------------------------------- */
/* TABLET MODE: ------------------------------------------------------------- */
/* -------------------------------------------------------------------------- */

@media only screen and (min-width: 600px) and (max-width: 959px) {

    #header-wrapper {
        height: 70px;
        text-align: left;
    }

    #header {
        height: 90px;
        width: 100%;
        padding: 10px;
    }

    #header img {
        height: 115px;
        width: auto;
        -webkit-filter: drop-shadow( 3px 3px 2px rgba(0, 0, 0, .7));
        filter: drop-shadow( 3px 3px 2px rgba(0, 0, 0, .7));
    }

    #first-page {
        margin-top: 70px;
        height: calc(100% - 70px);
        background-position: left center;
        -webkit-background-size: auto 100%;
        -moz-background-size: auto 100%;
        -o-background-size: auto 100%;
        background-size: auto 100%;
    }

    #first-page span {
        font-size: 72px;
    }

    #content-wrapper {
        width: 100%;
    }

    .page {
        width: 100%;
    }

    #second-page {
        display: none;
    }

    .on_desktop { display: none; }

    .triplet {
        font-size: 0;
        margin: 15px;
        overflow: hidden;
    }

    .triplet img {
        width: 100%;
        height: auto;
        border-radius: 10px;
        margin-bottom: 15px;
    }

    .duplex {
        width: 100%;
        padding: 15px;
        margin: 0;
    }

    #fourth-page img {
        margin: 15px;
        border-radius: 10px;
        width: calc(100% - 30px);
        height: auto;
    }

    #fifth-page img {
        width: calc(100% - 30px);
        height: auto;
        margin: 15px 0 10px 15px;
        border-radius: 10px;
    }

    #sixth-page img {
        width: 100%;
        height: auto;
        margin-bottom: 15px;
        border-radius: 10px;
    }

    #seventh-page .duplex img {
        width: 100%;
        height: auto;
        border-radius: 10px;
    }

    #seventh-page .duplex img:first-child {
        margin-bottom: 15px;
    }
    
    #seventh-page > img {
        width: calc(100% - 30px);
        height: auto;
        margin: 0 15px;
        border-radius: 10px;
    }

}

/* -------------------------------------------------------------------------- */
/* DESKTOP MODE: ------------------------------------------------------------ */
/* -------------------------------------------------------------------------- */

@media only screen and (min-width: 960px) {

    #header-wrapper {
        height: 80px;
        text-align: center;
    }

    #header {
        height: 160px;
        width: 960px;
        margin: auto;
        text-align: center;
        padding: 10px;
    }

    #header img {
        height: 160px;
        width: auto;
        -webkit-filter: drop-shadow( 3px 3px 2px rgba(0, 0, 0, .7));
        filter: drop-shadow( 3px 3px 2px rgba(0, 0, 0, .7));
    }

    #mobile-links { display: none; }

    #first-page {
        margin-top: 80px;
        height: calc(100% - 80px);
        background-position-y: 0px;
        -webkit-background-size: cover;
        -moz-background-size: cover;
        -o-background-size: cover;
        background-size: cover;
    }

    #first-page span {
        font-size: 72px;
    }

    #content-wrapper {
        width: 960px;
        margin: 0 auto;
        padding: 0;
        background-color: #bad6ee;
    }

    #second-page {
        text-align: center;
        padding: 40px;
        display: grid;
        grid-template-columns: 1fr 1fr 1fr;
        grid-column-gap: 20px;
        grid-row-gap: 20px;
        position: relative;
    }

    .on_desktop { display: inline; }

    .bloket {
        min-height: 220px;
        font-family: 'Quicksand', sans-serif;
        color: navy;
        border-radius: 10px;
        padding: 30px;
        line-height: 1.5;
        box-shadow: 0 0 10px gray;
        background-color: rgba(255, 255, 255, 0.7);
        justify-self: center;
        align-self: center;
        position: relative;
    }

    .bloket a {
        display: block;
        position: absolute;
        bottom: 0;
        left: 0;
        right: 0;
        text-align: center;
        color: salmon;
        padding: 10px;
        border-top: solid 1px gainsboro;
        border-radius: 10px;
    }

    .bloket a:hover {
        background-color: gainsboro;
        color: navy;
    }

    .bloket a i {
        display: block;
    }

    .page {
        width: 960px;
        margin: 0 auto 20px auto;
    }

    .triplet {
        width: 930px;
        font-size: 0;
        margin: 15px;
        overflow: hidden;
    }

    .triplet img {
        width: 300px;
        height: auto;
        border-radius: 10px;
    }

    .triplet-m {
        margin: 0 14px;
    }

    #fourth-page img {
        margin: 15px 0 10px 15px;
        border-radius: 10px;
    }

    #fifth-page img {
        width: 930px;
        height: auto;
        margin: 15px 0 10px 15px;
        border-radius: 10px;
    }

    .duplex {
        width: 960px;
        font-size: 0;
        margin-top: 15px;
    }

    #sixth-page img {
        width: 457px;
        height: auto;
        margin: 0 0 15px 15px;
        border-radius: 10px;
    }

    #seventh-page .duplex img {
        width: 457px;
        height: auto;
        margin: 0 0 15px 15px;
        border-radius: 10px;
    }

    #seventh-page > img {
        width: 930px;
        height: auto;
        margin: 15px 0 10px 15px;
        border-radius: 10px;
    }

    #eighth-page img {
        width: 457px;
        height: auto;
        margin: 0 0 15px 15px;
        border-radius: 10px;
    }

    #nineth-page {
        margin: 0;
    }

    #nineth-page img {
        width: 930px;
        height: auto;
        margin: 15px 0 10px 15px;
        border-radius: 10px;
    }

    #footer {
        width: 960px;
        margin: auto;
    }

    #footer #red_1 {
        display: grid;
        grid-template-columns: 1fr 1fr;
        padding: 20px 15px 0 15px;
    }

    #footer #red_2 {
        display: grid;
        grid-template-columns: 1fr 1fr;
        padding-right: 15px;
        margin-top: 30px;
    }

    #footer #red_2 img {
        width: 457px;
        height: auto;
        margin: 0 0 0 15px;
        border-radius: 10px;
    }


    #footer #red_2 {
        padding-right: 15px;
        margin-top: 30px;
    }

    #googleMap {
        display: inline-block;
        width: 457px;
        height: 400px;
        border-radius: 10px;
    }

    .link {
        background-color: orangered;
        color: white;
        display: inline-block;
        padding: 3px 12px;
        border-radius: 50px;
    }

    #izjava_o_privatnosti,
    #obavezni_podaci {
        display: inline-block;
        width: 80%;
    }

    #cookie_info > div {
        text-align: left;
        font-size: 15px;
        margin: auto;
        width: 960px;
    }

    .overlay_frame {
        width: 960px;
        height: 100%;
        margin: auto;
        background-color: white;
        border-radius: 15px;
        position: relative;
    }

    .overlay_frame h1 {
        font-size: 28px;
    }

    .overlay_frame h2 {
        font-size: 24px;
    }

}
 /* --------------------------------------------------------------- */

.link:hover {
    color: orangered;
    background-color: white;
}

.link i {
    margin-top: 6px;
    float: right;
    margin-left: 15px;
}

.ar {
    text-align: right;
}

#overlay_podaci,
#overlay_izjava {
    display: none;
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(0, 0, 0, 0.5);
    overflow: hidden;
    padding: 50px 0;
    z-index: 2000;
}

.close_overlay {
    position: absolute;
    right: 10px;
    top: 10px;
    border: none;
    background-color: white;
    margin: 0 10px;
    color: red;
    font-size: 24px;
    border-radius: 5px;
    height: 30px;
    width: 30px;
    padding-top: 2px;
    cursor: pointer;
    outline: none;
    float: right;
}

.close_overlay:hover {
    color: white;
    background-color: red;
}

.overlay_content {
    position: absolute;
    top: 60px;
    left: 10px;
    right: 10px;
    bottom: 10px;
    padding: 15px;
    overflow-y: auto;
    border-top: solid 3px gainsboro;
}

.overlay_frame p {
    text-align: justify;
    line-height: 1.5;
    margin: 0;
}

.overlay_frame li {
    line-height: 1.5;
}

.overlay_frame h2 span {
    color: gray;
}

.overlay_frame h3 {
    font-size: 18px;
}

.gm-naziv {
    color: navy;
    font-weight: bold;
    font-size: 18px;
    padding: 10px;
}