/*
Theme Name: Donja Gradina
Author: Marko Jankovic
Description: WordPress teme za Spomen podrucje Donju Gradinu
Version: 1.0.1
Text Domain: gradina
*/

/*--------------------------------------------------------------
>>> TABLE OF CONTENTS:
----------------------------------------------------------------
/*
* — WordPress Core  —
* — MAIN SETTINGS  —
* — TOP BAR AND SOCIAL ICONS  —
* — NAVIGATION AND LOGO   —
* — SHOWCASE AREA  —
* — POST CARD STYLE —
* — WIDGETS —
* — FOOTER  —
* — COMMENTS  —
* — RESPONSIVE DESIGN  —
*/


/* =WordPress Core
-------------------------------------------------------------- */
.alignnone {
    margin: 5px 20px 20px 0;
}

.aligncenter,
div.aligncenter {
    display: block;
    margin: 5px auto 5px auto;
}

.alignright {
    float: right;
    margin: 5px 0 20px 20px;
}

.alignleft {
    float: left;
    margin: 5px 20px 20px 0;
}

a img.alignright {
    float: right;
    margin: 5px 0 20px 20px;
}

a img.alignnone {
    margin: 5px 20px 20px 0;
}

a img.alignleft {
    float: left;
    margin: 5px 20px 20px 0;
}

a img.aligncenter {
    display: block;
    margin-left: auto;
    margin-right: auto;
}

.wp-caption {
    background: #fff;
    border: 1px solid #f0f0f0;
    max-width: 96%;
    /* Image does not overflow the content area */
    padding: 5px 3px 10px;
    text-align: center;
}

.wp-caption.alignnone {
    margin: 5px 20px 20px 0;
}

.wp-caption.alignleft {
    margin: 5px 20px 20px 0;
}

.wp-caption.alignright {
    margin: 5px 0 20px 20px;
}

.wp-caption img {
    border: 0 none;
    height: auto;
    margin: 0;
    max-width: 98.5%;
    padding: 0;
    width: auto;
}

.wp-caption p.wp-caption-text {
    font-size: 11px;
    line-height: 17px;
    margin: 0;
    padding: 0 4px 5px;
}

/* Text meant only for screen readers. */
.screen-reader-text {
    border: 0;
    clip: rect(1px, 1px, 1px, 1px);
    clip-path: inset(50%);
    height: 1px;
    margin: -1px;
    overflow: hidden;
    padding: 0;
    position: absolute !important;
    width: 1px;
    word-wrap: normal !important;
    /* Many screen reader and browser combinations announce broken words as they would appear visually. */
}

.screen-reader-text:focus {
    background-color: #eee;
    clip: auto !important;
    clip-path: none;
    color: #444;
    display: block;
    font-size: 1em;
    height: auto;
    left: 5px;
    line-height: normal;
    padding: 15px 23px 14px;
    text-decoration: none;
    top: 5px;
    width: auto;
    z-index: 100000;
    /* Above WP toolbar. */
}



/*
* ============ MAIN SETTINGS ==============
*/

html,
body {
    width: 100%;
    height: 100vh;
    margin: 0 !important;
    padding: 0 !important;
    font-family: 'Oswald', sans-serif;
    color: black;
    background: #FFFFFF;
    font-size: 16px;
}

a,
a:hover {
    text-decoration: none;
    color: black;
}

.category-archive {
    min-height: 100vh;

}

/*
* ============ Navigation ==============
*/


.top-bar {
    width: 100%;
    height: 40px;
    background: #2A2A2A;
    color: white;
    font-size: 14px;
    font-weight: bold;
    text-transform: uppercase;
}

nav {
    box-shadow: 0px 2px 6px #bababa;
}


.search-bar {
    margin-top: 4px;
    width: 150px;
    height: 25px;
    margin-right: 20px;
    border: none;
    border-radius: 15px;
    background-color: white;
    color: black;
}

.fa-search {
    color: white;
    margin-top: 7px;
    font-size: 18px;
}

.search-submit {
    background-color: #2A2A2A;
    border: none;
}

.logo-main {
    width: 250px;
    transition: 0.4s;
}

.logo-second {
    width: 200px;
    transition: 0.4s;
}

.custom-nav-color {
    background: white;
}

.nav-link {
    font-size: 15px;
    text-transform: uppercase;
    margin-left: 7px;
    margin-right: 7px;
    font-weight: 300;
}

.navbar-light .navbar-nav .nav-link {
    color: black;
    transition: .3s;
}

.navbar-light .navbar-nav .nav-link:hover {
    transition: .3s;
    color: #B79137;
}

div.dropdown-menu {
    margin-top: 0 !important;
}

.dropdown:hover > .dropdown-menu {
    display: block;
}

.dropdown-item {
    text-transform: uppercase;
    font-size: 13px;
}

.dropdown-item:hover {
    background-color: white;
    color: #B79137;
    transition: .3s;
}

.main-carousel {
    margin-top: 100px;
}

.carousel-inner {
    width: 100%;
    max-height: 600px !important;
}

.carousel-inner img {
    height: 100vh;

}

.news-section {
    margin-top: 40px;
    margin-bottom: 60px;

}


.main-post,
.main-page {
    margin-top: 145px;
}



/*Interaktivna mapa*/

.interactive-map-section,
.blog-section,
.copyright-section {
    background: #F8F9FA;
}

.footer-section,
.timeline-section {
    background: #2A2A2A;
}

.section-title {
    position: relative;
    margin-bottom: 20px;
}

.section-title .title {
    position: relative;
    display: inline-block;
    background-color: transparent;
    font-size: 28px;
    text-transform: uppercase;
    margin-top: 0px;
    margin-bottom: 30px;
    padding-right: 10px;
    z-index: 20;
}

.section-title:after {
    content: "";
    display: inline-block;
    height: 2px;
    background-color: red;
    position: absolute;
    left: 0;
    right: 0;
    top: 40px;
    z-index: 10;
}

.section-title-blog:after {
    background-color: blue;
}

.second-title {
    color: white;
    margin-top: 50px;
    color: #E2B13C;
}

.meta-data {
    margin: 5px;
}

.main-post-content p {
    font-size: 16px;
}

.card-img-top {
    height: 250px;
}

.card-img-timeline {
    height: 300px;
}

.card {
    border: none;
    box-shadow: 0 4px 8px 0 rgba(0, 0, 0, 0.2), 0 6px 20px 0 rgba(0, 0, 0, 0.19);
}

.card-timeline {
    background: #2A2A2A;
    box-shadow: none;
    border-radius: 15px;
}

.year-title {
    font-weight: bold;
    color: white;
}

.date-title {
    color: #E2B13C;
}

.read-more {
    font-size: 14px;
    color: #e2b13c;
    display: table;
    margin-bottom: 10px;
    font-weight: 900;
    text-decoration: none;
    position: relative;
}

.read-more:hover {
    text-decoration: none;
    color: #e2b13c;
}

.read-more:after {
    content: "";
    position: absolute;
    left: 0;
    bottom: -1px;
    width: 0;
    border-bottom: 2px solid #e2b13c;
    -webkit-transition: all 0.2s cubic-bezier(0.55, 0.085, 0.68, 0.53);
    -o-transition: all 0.2s cubic-bezier(0.55, 0.085, 0.68, 0.53);
    transition: all 0.2s cubic-bezier(0.55, 0.085, 0.68, 0.53);
}

.read-more:hover:after {
    width: 100%;
}


#slide {
    width: 100%;
    height: 100%;
    position: relative;
}

.img-map {
    width: auto;
    height: auto;
    max-width: 100%;
    position: relative;
}

.gradina-img {
    position: relative;
}



/*--------------Pozicije na mapi---------------------*/

#legenda-1 {
    position: absolute;
    left: 34%;
    top: 15%;
}

#legenda-2 {
    position: absolute;
    left: 46%;
    top: 9%;
}

#legenda-3 {
    position: absolute;
    left: 8%;
    top: 35%;
}

#legenda-4 {
    position: absolute;
    left: 26%;
    top: 35%;
}

#legenda-5 {
    position: absolute;
    left: 82%;
    top: 38%;
}

#legenda-6 {
    position: absolute;
    left: 12%;
    top: 70%;
}

#legenda-7 {
    position: absolute;
    left: 30%;
    top: 38%;
}

#legenda-8 {
    position: absolute;
    left: 46%;
    top: 48%;
}

#legenda-9 {
    position: absolute;
    left: 40%;
    top: 78%;
}

#legenda-10 {
    position: absolute;
    left: 18%;
    top: 78%;
}

#legenda-11 {
    position: absolute;
    left: 50%;
    top: 30%;
}

#legenda-12 {
    position: absolute;
    left: 60%;
    top: 20%;
}

#legenda-13 {
    position: absolute;
    left: 20%;
    top: 94%;
}

#legenda-14 {
    position: absolute;
    left: 20%;
    top: 68%;
}

#legenda-15 {
    position: absolute;
    left: 4%;
    top: 68%;
}




/*-------------------------------------------------*/

.fa-info-circle {
    font-size: 22px;
    color: orangered;
}

.modal-img {
    width: 100%;
}

/*Horizontal timeline in custom singlephp*/

.timline-ol {
    position: relative;
    display: block;
    height: 4px;
    width: 100%;
    background: black;
    margin-top: 50px;
    margin-bottom: 50px
}

.timline-ol::before,
.timline-ol::after {
    content: "";
    position: absolute;
    top: -8px;
    display: block;
    width: 0;
    height: 0;
    border-radius: 10px;
    border: 10px solid black;
}

.timline-ol::before {
    left: -5px;
}

.timline-ol::after {
    right: -10px;
    border: 10px solid transparent;
    border-right: 0;
    border-left: 20px solid black;
    border-radius: 3px;
}

/* ---- Timeline elements ---- */
.timeline-li {
    position: relative;
    display: inline-block;
    float: left;
    width: 45px;
    font-size: 10px;
    height: 50px;
}

.timeline-li .diplome {
    position: absolute;
    top: -47px;
    left: 36%;
    color: black;
}

.timeline-li .point {
    content: "";
    top: -4px;
    left: 43%;
    display: block;
    width: 12px;
    height: 12px;
    border: 4px solid black;
    border-radius: 10px;
    background: black;
    position: absolute;
}


/*Sekcija katalog*/
.catalog-img {
    height: 250px;
    box-shadow: 0 4px 8px 0 rgba(0, 0, 0, 0.2), 0 6px 20px 0 rgba(0, 0, 0, 0.19);
}

.main-post-katalozi {
    margin-top: 180px;
}


/*Footer*/

.footer-title {
    text-transform: uppercase;
    font-weight: 400;
    font-size: 24px;

}

.fa-map-marked-alt,
.fa-phone-volume,
.fa-fax,
.fa-envelope {
    color: #e2b13c;
    font-size: 24px;
}

.working-hours {
    color: #e2b13c;
    text-transform: uppercase;
    font-size: 18px;
}

.fab {
    margin-left: 10px;
    margin-right: 10px;
    font-size: 22px;
    color: white;
}

/*Footer menu*/

.copyright-text {
    font-size: 11px;
    text-transform: uppercase;
}

.footer-menu {
    font-size: 11px;
    text-transform: uppercase;
    margin-left: 30px;
}

/*Polylang*/

.lang-item {
    display: inline;
    list-style: none;
    margin-left: 10px;
    margin-right: 10px;
}

.lang-item img {
    margin-top: -3px
}

.lang-item span {
    color: white;
}


/*404*/

.section-404 {
    background-color: #d1d1d1;
    width: 100%;
    height: 100vh;
}

.text-404 {
    font-size: 140px;
}

.fa-home {
    font-size: 30px;
}

/*O nama section*/

.onama-link {
    color: blue;
    text-decoration: underline;
}

.onama-link:hover {
    color: blue;
    text-decoration: underline;
}

.book-italic {
    font-style: italic;
}

/*Card timeline in single.php*/

.container-card {
    position: relative;
    width: 100%;
}

.image-timeline-single {
    display: block;
    width: 100%;
    height: 140px;
}

.overlay-single-timeline {
    position: absolute;
    top: 0;
    bottom: 0;
    left: 0;
    right: 0;
    height: 100%;
    width: 100%;
    opacity: 0;
    transition: .5s ease;
    background-color: #050505;
}

.container-card:hover .overlay-single-timeline {
    opacity: 0.75;
}

.text-single-timeline {
    color: white;
    font-size: 12px;
    text-transform: uppercase;
    position: absolute;
    top: 50%;
    left: 50%;
    -webkit-transform: translate(-50%, -50%);
    -ms-transform: translate(-50%, -50%);
    transform: translate(-50%, -50%);
    text-align: center;
}

.mapouter {
    position: relative;
    height: 500px !important;
    width: 100% !important;
}

.gmap_canvas {
    overflow: hidden;
    background: none !important;
    height: 500px !important;
    width: 100% !important;
}

.google-custom-map {
    height: 500px !important;
    width: 100% !important;
}

.youTube-presentation {
    width: 100%;
    height: 500px !important;
}

/*
* ============ Slajder logorasi ==============
*/


.slajder-img-logorasi {
    width: 100%;
    height: auto;
    object-fit: cover;
}

.carousel-item {
    position: relative;
}

.carousel-inner-logorasi {
    width: 100%;
    height: 600px !important;
}

.carousel-inner-logorasi img {
    height: 600px;

}


.bio {
    position: absolute;
    width: 100%;
    height: 60px;
    background-color: rgba(0, 0, 0, 0.64);
    top: 90%;
}


.name {
    color: white;
    font-size: 35px;

}


/*Responsive dizajn*/

@media (max-width: 1199px) {

    .timeline-li {
        width: 40px;
        font-size: 10px;
    }
}

@media (max-width: 993px) {

    .timeline-single {
        display: none;
    }
}


@media (max-width: 768px) {

    html,
    body {
        overflow-x: hidden;
    }

    .dropdown-menu {
        border: none;
        display: block;
    }

    .main-carousel {
        margin-top: 60px;
    }

    .logo-main {
        width: 150px;
    }

    .logo-second {
        width: 150px;
    }

    .carousel-inner {
        width: 100%;
        max-height: 350px !important;
    }

    .carousel-inner img {
        height: 350px;

    }

    .slajder-img-logorasi {
        width: 100%;
        height: auto;
        object-fit: cover;
    }

    .carousel-item {
        position: relative;
    }

    .carousel-inner-logorasi {
        width: 100%;
        height: 380px !important;
    }


    .bio {
        position: absolute;
        width: 100%;
        height: 40px;
        background-color: rgba(0, 0, 0, 0.64);
        top: 90%;
    }


    .name {
        color: white;
        font-size: 25px;

    }


    .interactive-map-section,
    .main-katalozi {
        display: none;
    }

    .section-title .title {
        font-size: 20px;

    }

    .lang-item {
        margin-left: 0px;
        margin-right: 15px;
    }

    .lang-item-sr {
        margin-left: -35px;
    }

    .lang-item span {
        display: none;
    }

    .main-post,
    .main-page {
        margin-top: 100px;
    }

    .copyright-text {
        font-size: 9px;
        text-transform: uppercase;
    }

    .footer-menu {
        font-size: 10px;
        text-transform: uppercase;
        margin-left: 30px;
    }

    .youTube-presentation {
        width: 100%;
        height: 300px;
    }
}


/*Promo baner*/

.promo-block {
    background-color: #f4f4f4;
    padding: 30px 0;
    color: #111;
}

.promo-card {
    background-color: white;
    border-radius: 15px;
    box-shadow: 0 4px 12px rgba(211, 211, 211, 0.15);
    overflow: hidden;
}

.promo-img img {
    max-width: 100%;
    height: 400px;
    object-fit: cover;
}

.promo-info {
    background-color: #ffffff;
    padding: 30px;
    border-radius: 10px;
}

.promo-info p {
    font-size: 18px;
    line-height: 1.7;
    margin-bottom: 20px;
}

.promo-info a {
    display: inline-block;
    padding: 12px 25px;
    background-color: #111;
    color: #fff;
    text-decoration: none;
    font-weight: 500;
    border-radius: 5px;
    transition: background-color 0.3s ease;
}

.promo-info a:hover {
    background-color: #333;
}

@media (max-width: 768px) {
    .promo-img img {
        max-width: 100%;
        height: 300px;
        object-fit: cover;
    }
    .promo-block {
        padding: 30px 0;
    }

    .promo-info {
        padding: 20px;
    }

    .promo-info p {
        font-size: 16px;
    }
}

