/*
Theme Name: ZUCVPZTheme
Author: ICVDizajn - Matko Bajan
Description: ZUCVPZTheme is developed for needs of Županijsku upravu za ceste Virovitičko-podravske županije
Requries at least : 6.3.1
Tested up to: 6.3.1
Requires PHP: 7.2
Version: 1.0
Lincese: GNU General Public Lincense v2 OR LATER
lICENSE uri: https://www.gnu.org/licenses/old-licenses/gpl-2.0.html
Text Domain: ZUCVPZTheme
Tags: */

/* Osnovno uređivanje */

*{
    box-sizing:border-box;
    margin:0;
}

body{
    font-family: 'Source Sans 3', sans-serif;
    font-size: 18px;
    background-color: #fff;
}

ul, ol{
    padding:0;
}

li{
    list-style-type: none;
}

a{
    color:inherit;
    text-decoration: none;
}

.mt-80{
    margin-top: 80px;
}

.mtt-80{
    margin-top: 80px;
}

.mb-30{
    margin-bottom: 30px;
}

.mt-30{
    margin-top:30px;
}

.contains-nbsp{
    margin:0 !important;
    padding:0 !important;
    height:20px !important;
}

body.admin-bar .navbar {
    top: 32px;}

.loader {
    height: 100vh;
    width: 100vw;
    overflow: hidden;
    background-color: #16191e;
    position: fixed;
    top: 0;
    left: 0;
    display: flex;
    align-items: center;
    justify-content: center;
    z-index: 999;
}

.loader div {
    width: 50px;
    height: 50px;
    border: 2px solid white;
    border-top: 2px solid transparent;
    border-radius: 50%;
    animation: spin 1s linear infinite;
}

@keyframes spin {
    0% { transform: rotate(0deg); }
    100% { transform: rotate(360deg); }
}

/* Glavna Navigacija ************************************************************************************/

.nav-fix{
    height:70px;
}

.navbar{
    /*position: relative; u slučaju da želimo imati "stajaću" navigaciju */
    position:fixed;  
    top:0;
    left: 50%;
    transform: translateX(-50%);
    width:101%;
    max-width: 3840px;
    height: 70px;
    background-color: #162839;
    z-index:2;
}

.container{
    max-width:1200px;
    margin: 0 auto;
    display: grid;
    grid-template-columns: repeat(12, 1fr);
}

.navbarlogo{
    grid-column: span 6;
    display: flex;
    justify-content: left;
    height: 70px;
}

.navbarlogo a{
    display: flex;
    height:100%;
}

.navbarlogo a img{
    align-self: center;
}

#navlogomob{
    display: none;
}

.menu{
    display:flex;
    justify-content: right;
    align-items: center;
    height:70px;
    grid-column: span 6;
    color:#2C78A2;
    font-weight: 600;
}

.menu-mob{
    display: none;
}

.navigacija-elementi{
    display: flex;
    gap:30px;
}

.navigacija-elementi li a{
    font-family: 'Mukta', sans-serif;
    padding:3px 8px;
    position:relative;
}

.navigacija-elementi li a::before {
    background: white;
    content: "";
    inset: 0;
    position: absolute;
    transform: scaleX(0);
    transform-origin: left;
    transition: transform 0.3s ease-in-out;
    z-index: -1;   
}
.navigacija-elementi li a:hover::before {
    transform: scaleX(1);
}

.dropdown-menu{
    font-family: 'Mukta', sans-serif;
    display: none;
    position:absolute;
    top:53px;
    margin-right: 40px;
    z-index: 1;
}

.dropdown-menu li{
    border-bottom: 1px solid white;
    border-image: linear-gradient(to right, white, silver);
    border-image-slice: 1;
}

.dropdown:hover .dropdown-menu {
    display: block;
}

.dropdown:hover .dropdown-menu li{
    background-color: #162839;
    color:#2C78A2;
    min-width:250px;
}

.dropdown-menu li a::before {
    background: white;
    content: "";
    inset: 0;
    position: absolute;
    transform: scaleX(0);
    transform-origin: left;
    transition: transform 0.3s ease-in-out;
    z-index: -1;
}

.dropdown-menu li a:hover::before {
    transform: scaleX(1);
}

.dropdown-menu li a{
    font-size: 15px;
    font-weight: 500;
    display: block;
    width: 100%;
    z-index: 1;
    padding: 8px;
}

/*  Header    *************************************************************************************/

/*header{
    background-image: url(slike/cesta.jpg);
    background-position: center;
    background-size: cover;
    background-repeat: no-repeat;
    max-width: 1920px;
    height:600px;
}
*/

header {
    position: relative;
    max-width: 3840px;
    max-height:600px;
}

.slider {
    width:100%;
    overflow: hidden;
    height:600px;
}

.slider img {
    display: none;
    width: 100%;
    object-fit: cover;
    max-height: 600px;
}

.slider-button {
    background: white;
    position: absolute;
    top: 50%;
    border: 1px solid white;
    border-radius: 50px;
    cursor: pointer;
    width: 28px;
    height: 28px;
    z-index: 1;
}

.slider-button.prev {
    left: 200px;
}

.slider-button.next {
    right: 200px;
}

.border {
    position: absolute;
    display: flex;
    justify-content: right;
    align-items: center;
    bottom: 0px;
    background-color: #162839;
    width: 0%;
    height: 50px;
    border: 1px solid #162839;
    border-bottom-right-radius: 100px;
}

#border-text, #border-text-mob, #border-text-mob-mob {
    font-family: 'Source Sans 3', sans-serif;
    opacity: 0;
    font-size: 24px;
    font-weight: 400;
    margin-right: 50px;
    color: #2C78A2;
}

#border-text-mob, #border-text-mob-mob{
    display: none;
}


/* Main - Obavijesti ********************************/ 

.naslov{
    grid-column: span 12;
    font-weight: 500;
    font-size: 24px;
    display: flex;
    justify-content: left;
}

#naslov{
    display:inline-block;
    padding:0 0 5px 0;
    border-bottom: 4px solid #2C78A2;
}

.obavijesti, .poveznice{
    display:grid;
    grid-template-columns: repeat(3,1fr);
    column-gap: 50px;
    grid-column: span 12;
}

.postdiv{
    width:100%;
    height: 210px;
    overflow: hidden; 
}

.post-pic{
    width:100%;
    height:210px;
    object-fit: cover;
}

.posts:hover .post-pic{
    transform:scale(1.1);
    transition:transform 0.3s ease;
}

.posts:hover{
    box-shadow: 0 0 10px #888888;
    transition: box-shadow 0.3s ease;
}

.post-date-title{
    background-color: #f3f4f6;
    min-height:118px;
}

.date{
    font-family: 'Mukta', sans-serif;
    display: flex;
    padding-top: 15px;
    padding-left:20px;
}

#calendar{
    height:18px;
    width: 18px;
    margin:auto 0;
}

#date{
    font-size: 12px;
    color: #374151;
    padding-left:10px;
    margin-top: 3px;
}

.post-title{
    display: block;
    height:70%;
}

.post-title:hover{
    cursor: pointer;
}

.post-title h3{
    font-size: 18px;
    font-weight: normal;
    padding: 10px 20px 20px;
}

.vidi-sve{
    display: flex;
    justify-content: center;
    grid-column: 2/3;
    grid-row:2;
}

.vidi-sve a{
    font-size: 14px;
    color:#2C78A2;
    padding: 18px;
    border: 1px solid #2C78A2;
}

.vidi-sve a:hover, .vise a:hover{
    color: #fff;
    background-color: #2C78A2;
    box-shadow: 0 0 2px black;
    transition: box-shadow 0.3s ease, color 0.3s ease, background-color 0.3s ease;
}


/* Main - poveznice *********************************************************************/

.card{
    grid-column: span 1;
    width: 100%;
    background-color: #f3f4f6;
}

.card:hover{
    box-shadow: 0 0 10px #888888;
    transition: box-shadow 0.3s ease;
    cursor: pointer;
}

.card:hover .card-b img{
    margin-left: 25px;
    transition: margin-left 0.3s ease;
}

.card-a{
    padding: 25px 20px;
    font-size: 24px;
}

.card-b{
    display: flex;
    align-items: center;
    font-size: 14px;
}

.card-b img{
    height:18px;
    width: 18px;
    margin-left:15px;
}

/* Main - O nama ****************************************************************************/

.onama{
    display: grid;
    grid-template-columns: repeat(2,1fr);
    grid-column: span 12;
}

.onama-1, .onama-2{
    grid-column: span 1;
}

.onama-1 video{
    width: 100%;
}

.onama-2-tekst{
    height: 98%;
    padding:15px 45px;
    background-color: #f3f4f6;
}

.onama-2-tekst h3{
    font-size: 24px;
    margin-bottom: 20px;
}

.onama-2-tekst p{
    font-size: 16px;
}

.onama-2-tekst p:first-of-type{
    margin-bottom: 25px;
}

.vise{
    margin-top: 20px;
    display: flex;
    justify-content: left;
}

.vise a{
    font-size: 14px;
    color:#2C78A2;
    padding: 10px 30px;
    border: 1px solid #2C78A2;
}


/* Footer ******************************************/

footer{
 background-color: #162839;
}

.footer-gornji{
    grid-column: span 12;
    display: grid;
    grid-template-columns: repeat(3,1fr);
}

.footer-art{
    grid-column: span 1;
}

.footer-art:first-child{
    display: flex;
    align-items: center;
}

.footer-art div{
    display: flex;
    justify-content: right;
}

.footer-art:last-child div{
    display: flex;
    justify-content: right;
}

.footer-art div img, .footer-art2 div img{
    height:14px;
    width: 14px;
    margin:auto 0;
}

.footer-art div p, .footer-art2 div p{
    margin-left:10px;
    font-size: 16px;
    font-weight: 700;
    color: #2C78A2;
}

.footer-donji{
    grid-column: span 12;
    display: grid;
    grid-template-columns: repeat(2,1fr);
    margin-bottom: 30px;
}

.footer-art2{
    grid-column: span 1;
}

.footer-art2 div{
    display: flex;
    align-items: center;
}

.footer-art2:nth-child(2) div{
    justify-content: right;
}

#zucvpz-c-mob{
    display: none;
}

/* Css za javuscript, mijenjanje bordera i pozadine ovisno na kojoj stranici je user *******************************/

.border-background{
    background:#162839 !important;
    color:#2C78A2 !important;
}

/* O nama **************************************/

/*.podstranice-container{
    grid-column: span 12;
    display: grid;
    grid-template-columns: repeat(6,1fr);
}

.navigacija-lijevo{
    grid-column: span 2;
    display: flex;
    justify-content: left;
    padding-right: 50px;
    border-right:1px solid #f3f4f6;
}

.navigacija-lijevo ul{
    width: 100%;
}

.navigacija-lijevo ul li{
    margin-bottom:3px ;
}

.navigacija-lijevo ul li a{
    display: block;
    font-weight: 500;
    width: 100%;
    padding:15px 8px;
    position:relative;
    background: #f3f4f6;
}

.navigacija-lijevo ul li a:hover{
    background: #f9fafb;
    transition:background 0.3s linear, color 0.3s linear;
}

.navigacija-lijevo ul li a::before {
    background: #162839;
    content: "";
    height: 3px; 
    position: absolute;
    left:0;
    bottom: -3px; 
    width: 0;
    transition: width 0.3s ease-in-out;
}

.navigacija-lijevo ul li a:hover::before {
    width: 100%;
}

.sadrzaj-desno{
    grid-column: span 4;
    justify-content: left;
    padding-left: 50px;
}

.sadrzaj-desno p{
    padding-bottom: 20px;
}
*/

.container-111{
    max-width: 1200px;
    width: 100%;
    margin-right: auto;
    margin-left: auto;
    padding-right: 20px;
    padding-left: 20px;
}

.row{
    display: flex;
    flex-wrap: wrap;
    margin-right: -20px;
    margin-left: -20px;
}

.sadrzaj-desno{
    border-left: 1px solid #e5e7eb;
    order: 2;
    flex: 0 0 66.6666666667%;
    width: 66.6666666667%;
    max-width: 66.6666666667%;
    padding-left: 40px;
}

.sadrzaj-desno .wpforms-container{
    margin: 0 auto;
}

.sadrzaj-desno .wpforms-container .wpforms-field{
    padding-top: 0;
}

.sadrzaj-desno p{
    padding-bottom: 10px;
    line-height: 1.7;
}

.sadrzaj-desno p:first-of-type{
    padding-bottom: 10px;
}

.sadrzaj-desno ul, .sadrzaj-desno ol{
    margin:0 0 10px 20px;
}

.sadrzaj-desno ul li{
    list-style-type: disc;
    margin-bottom: 10px;
}


.sadrzaj-desno ol>li{
    list-style-type: decimal;
    margin-bottom: 10px;
}

/*.sadrzaj-desno ol>li:last-of-type, .sadrzaj-desno ul li:last-of-type{
    padding-bottom:0;
}*/

.wp-link-post{
    margin-left:5px;
}

.sadrzaj-desno ol>li>ul{
    margin-top: 10px;
}

.sadrzaj-desno a{
    color:#2C78A2;
    text-decoration: underline;
}

.sadrzaj-desno h1, .sadrzaj-desno h2, .sadrzaj-desno h3, .sadrzaj-desno h4, .sadrzaj-desno h5{
    display: inline-block;
    margin:10px 0 20px;
    font-size: 23px;
    font-family: 'Mukta', sans-serif;
}

.sadrzaj-desno h1:first-of-type, .sadrzaj-desno h2:first-of-type, .sadrzaj-desno h3:first-of-type, .sadrzaj-desno h4:first-of-type, .sadrzaj-desno h5:first-of-type{
    margin-top: 0;    
}

.sadrzaj-desno img{
    margin-top: 20px;
    margin-bottom: 20px;
}

.sadrzaj-desno img:hover{
    box-shadow: 0 0 3px black;
    transition: box-shadow 0.3s ease-in-out;
}

.file-link {
    background: #f3f4f6;
    display: flex;
    align-items: center;
    border:0px dashed #2C78A2;
    border-radius: 10px;
    width: 100%;
    margin-bottom: 10px;
}

.file-link:hover{
    background: #162839;
    color:#2C78A2;
    transition: background 0.3s ease-in-out, color 0.3s ease-in-out;
}

.file-link:last-of-type{
    margin-bottom: 0;
}

.file-link a{
    margin-top: 3px;
    width: 100%;
    padding: 8px 0px 8px 3px;
    text-decoration: none;
}

.pdf-style img, .doc-style img, .xlsx-style img, .docx-style img, .doc-style img, .xls-style img, .csv-style img {
    width:26px !important;
    height: 26px !important; 
    margin:0 10px 0 0;
    margin-left: 3px;
}

.section-sidebar{
    padding-right: 40px;
    border-right: 1px solid #e5e7eb;
    min-height: 100%;
    flex: 0 0 33.3333333333%;
    width: 33.3333333333%;
    max-width: 33.3333333333%;
    position: relative;
    order: 1;
}

.sticky-content{
    position: sticky;
    top: 82px;
}

body.admin-bar .sticky-content {
    top: 114px;}

.nav-parent{
    color:black;
    font-weight: 500 !important;
    font-size: 22px;
}

.nav-parent li{
    padding-left: 5px;
    border-left: 5px solid #2C78A2;
}

.nav-child{
    width: 100%;
    margin-top: 20px;
}

.nav-child li{
    margin-bottom:3px;
}

.nav-child li a{
    display: block;
    font-weight: 500;
    width: 100%;
    padding:15px 8px;
    position:relative;
    background: #f3f4f6;
}

.nav-child li a:hover{
    background: #162839;
    color: #2C78A2;
    transition:background 0.4s ease-in-out, color 0.2s ease-in-out;
}

.nav-child li a::before,
.nav-child li a::after {
    background: #162839;
    content: "";
    height: 1px;
    position: absolute;
    width: 0;
    transition: none;
}

.nav-child li a::before {
    left: 0;
    top: -1px;
}

.nav-child li a::after {
    right: 0;
    bottom: -1px;
}

.nav-child li a:hover::before,
.nav-child li a:hover::after {
    width: 100%;
    transition: width 0.3s ease-in-out;
}

#javne{
    margin-top: -80px;
}

#form{
    display: block;
}

#form input, .textarea{
    display: block;
    width: 100%;
    margin: 10px 0;
    padding: 12px 20px;
    background-color: #f3f4f6;
    border: 2px solid #2C78A2;
    font-size: 18px;
    color: #162839;
    border-radius: 0;
}

#form input:focus{
    border: 2px solid #2C78A2;
}

#form button{
    display:block;
    font-size: 16px;
    font-weight: 600;
    margin-top: 20px;
    background-color: white;
    padding: 15px 15px;
    color: #2C78A2;
    border: 1px solid #2C78A2;
}

#form button:hover{
    color: #fff;
    cursor: pointer;
    background-color: #2C78A2;
    box-shadow: 0 0 2px black;
    transition: box-shadow 0.3s ease, color 0.3s ease, background-color 0.3s ease;
}

/* Single.php *********************************************/

.container-content{
    grid-column: span 8;
    margin-top: 40px;
}

.aside{
    grid-column: span 4;
    margin: 40px 0 25px 49px;
    padding: 0 0 0 50px;
    border-left: 1px solid #ebebeb;
}

#post-title{
    font-family: 'Mukta', sans-serif;
    font-size: 35px;
    text-transform: none;
    letter-spacing: 0.4px;
    line-height: 1.3;
    font-weight: 500;
}

.date-post{
    font-family: 'Mukta', sans-serif;
    display: flex;
    margin: 3px 0 10px 0;
}

#calendar-post{
    height:18px;
    width: 18px;
    margin:auto 0;
}

#date-post{
    font-size: 14px;
    color: #374151;
    padding-left:10px;
    margin-top: 2px;
}

.post-pic-single{
    max-width: 800px;
    height: auto;
    overflow: hidden;
}

.post-pic-single .single-mainpic{
    max-width: 100%;
    height: 533px;
    object-fit: cover;
}

.post-content .file-link{
    margin-top: 20px;
}

.post-content p{
    margin-top: 20px;
    line-height: 1.7;
}

.post-content ul, .post-content ol{
    margin:10px 0 0 20px;
}

.post-content ul li{
    list-style-type: disc;
    margin-bottom: 10px;
}


.post-content ol>li{
    list-style-type: decimal;
    margin-bottom: 10px;
}

.post-content ol>li>ul{
    margin-top: 10px;
}

.post-content a{
    color:#2C78A2;
    text-decoration: underline;
}

.najnovije{
    position: sticky;
    top:80px;
}

body.admin-bar .najnovije{
    top:110px;
}

.najnovije h2{
    font-size: 22px;
    font-family: 'Mukta', sans-serif;
    display: inline-block;
    margin: 0 0 20px 0;
    border-bottom: 2px solid #2C78A2;
}

.najnovije ul li{    
    margin-bottom: 20px;
    padding:15px;
    background-color: #f3f4f6;
    border:1px solid #ebebeb;
}

/*.najnovije ul li:hover #calendar-post{
    transform: scale(1.03);
    color:#2C78A2;
    transition: transform 0.3s ease;
}

.najnovije ul li:hover #date-post{
    color:#2C78A2;
    transition: color 0.3s ease;
}*/

.najnovije ul li:hover{
    box-shadow: 0 0 5px #888888;
    color:#2C78A2;
    transition: box-shadow 0.3s ease, color 0.3s ease;
}

.najnovije ul li a{
    font-family: 'Source Sans 3', sans-serif;
    font-size: 15px;
    font-weight: 400;
    margin-bottom: 10px;
    line-height: 1.33;
}


.najnovije ul li a:hover{
    color:#2C78A2;
}

.najnovije .date-post{
    margin-bottom: 5px;
}

/* Sve vijesti ***********************************************/

.pagination{
    margin: 30px 0;
    grid-column: span 3;
}

.page-numbers{
    padding:5px 10px;
    background-color: white;
    border:1px solid #2C78A2;
    border-radius: 1px;
    color:black;
}

.page-numbers:hover{
    background-color: #2C78A2;
    color: white;
    border:1px solid #2C78A2;

}

.current{
    color:#2C78A2;
}

/* tablet ****************************************************/

@media (max-width: 1200px){

    body.admin-bar .navbar {
        top: 32px;}
        
    #wpadminbar{
        position: fixed;
    }

    .container{
        height: 50px;
    }

    .navbar{
        height:50px;
    }

    .nav-fix{
        height:50px;
    }

    .navbarlogo{
        height: 50px;
    }

    .navbarlogo a img{
        height:30px;
        margin-left: 20px;
    }

    .menu{
        display: none;
    }

    .menu-mob{
        display:flex;
        grid-column: span 6;
        align-items: center;
        justify-content: right;
        height:50px;
    }

    #hamburger{
        width: 40px;
        height: 40px;
        margin-right: 14px;
        cursor: pointer;
    }

    .overlay .closebtn{
        font-size: 30px;
        padding: 8px 0 8px 0;
        text-align: center;
    }

    .overlay {
        border: #ebebeb 1px solid;
        overflow-y: scroll;
        height: 100vh;
        width:0;
        position: fixed;
        z-index: 1;
        top: 0;
        right: 0;
        background-color: white;
        overflow-x: hidden;
        transition: width 0.3s ease-in-out;
    }
        
    .overlay a {
        text-decoration: none;
        font-size: 13px;
        color: #1d1d1d;
        transition: 0.3s;
    }
        
    .overlay a:hover {
        color: #2C78A2;
    }

    
    .close-menu-mob{
        display: grid;
        grid-template-columns: repeat(12, 1fr);       
    }

    .logo-div{
        padding: 8px 0 8px 32px;
        display: flex;
        align-items: center;
        grid-column: span 10;
        text-align: left;
    }

    .logo-div img{
        height:20px;
    }

    .close-div{
        display: flex;
        grid-column: span 2;
        padding: 8px 35px 8px 0;
        grid-column: span 2;
        text-align: center;
        justify-content: right;
        align-items: center;
    }

    .nav-mobile{
        display: grid;
        grid-template-columns: repeat(12, 1fr);
        border-bottom: 1px solid #ebebeb;
        padding:7px 0;
    }

    .nav-mobile-1{
        padding: 8px 0 8px 32px;
        display: flex;
        align-items: center;
        grid-column: span 10;
        text-align: left;
    }
    
    .vidi-sve{
        grid-row:initial;
    }

    .arrow-mobile{
        width: 20px;
    }
    
    .mobile-2{
        padding: 8px 32px 8px 0;
        grid-column: span 2;
        text-align: center;
        display: flex;
        justify-content: right;
        align-items: center;
    }

    #dropdown-mobile-1, #dropdown-mobile-2, #dropdown-mobile-3, #dropdown-mobile-4, #dropdown-mobile-5 {
        display: none;
        grid-row: 2;
        grid-column: span 12; 
    }

    #dropdown-mobile-ul{
        display:grid;
        grid-template-columns: repeat(3, 1fr);
        font-size: 13px;
        font-weight: 300;
        text-transform: none;
        padding-left: 28px;
        padding-bottom: 10px;
    }

    .nav-mobile-1{
        height: 40px;
    }

    #dropdown-mobile-ul li{
        grid-column: span 3;
        border-left:1px solid #2C78A2;
    }

    #dropdown-mobile-ul li a{
        display: block;
        width: 100%;
        padding: 10px 10px;
    }

    .overlay video{
        display:flex; 
        margin: 30px auto;
    }

 /* Header ****************************************************/

    .mt-80{
        margin-top: 60px;
    }

    header, .slider img {
        max-height:calc(100vh - 50px);
    }
    
    .slider {
        height:100%;
    }
    
    .slider-button {
        background: white;
        position: absolute;
        top: 50%;
        border: 1px solid white;
        border-radius: 50px;
        cursor: pointer;
        width: 28px;
        height: 28px;
        z-index: 1;
    }
    
    .slider-button.prev {
        left: 10%;
    }
    
    .slider-button.next {
        right: 10%;
    }
    
    .border {
        justify-content: center;
        border-bottom-right-radius: 0;
    }

    #border-text{
        display: none;
    }

    #border-text-mob{
        display: block;
        margin-right: 0;
    }

/* Main - obavijesti ********************/

    .naslov{
       justify-content: center;
       margin-bottom: 60px;
    }

    #naslov{
        padding:0 0 5px 0;
        border-bottom: 2px solid #2C78A2;
    }
    
    .obavijesti, .poveznice{
        display:grid;
        grid-template-columns: repeat(3,1fr);
        column-gap: 50px;
        grid-column: span 12;
    }

    .poveznice{
        grid-template-columns: repeat(4,1fr);

    }

    .posts{
        grid-column: span 3;
        display: flex;
        margin-left: auto;
        margin-right: auto;
    }
    
    .postdiv{
        width:366px;
    }
    
    .post-pic{
        width:366px;
    }
  
    .post-date-title{
        width:366px;
        height: auto;
    }

/* Main - poveznice ************************************/

    .poveznice{
        row-gap: 30px;
    }

    .card{
        grid-column: 1/5;
        width: 732px;
        margin: 0 auto;
    }

    .card-a{
        display: flex;
        justify-content: center;
    }

/* Main - o nama ****************************************/
    
    .onama{
        grid-template-columns: repeat(4,1fr);
    }

    .onama-1{
        order:2;
        grid-column: 2/4;
        width: 732px;
    }

    .onama-2{
        order:1;
        grid-column: 2/4;
        width: 732px;
    }

    .onama-2-tekst{
        height: 100%;
    }

    .onama-2-tekst h3{
        text-align: center;
    }

    .onama-2-tekst p{
        text-align: left;
    }

    .vise{
        display: flex;
        justify-content: center;
    }

    .container:last-of-type{
        height:100%;
    }

/* Footer *******************************************/

    .footer-gornji{
        grid-template-columns: repeat(2,1fr);
    }

    .footer-art:first-child {
        grid-column: 1/2;
        margin-left: 20px;
    }

    .footer-art {
        grid-column: 2/3;
        margin-right: 20px;
    }

    .footer-art:last-child div {
        justify-content: right;
        margin-right: 124px;
    }

    .footer-art2 {
        margin-left: 20px;
        grid-column:span 2;
    }

    .footer-art2:last-of-type{
        grid-row:2;
    }

    .footer-art2:last-of-type div{
        justify-content: left;
    }

    .footer-art2:last-of-type div p{
        margin: 10px 0 0 0;
    }

    /* O nama, info, propisi, kontakt ********************************************/


    .sadrzaj-desno{
        border-left: 0px solid #e5e7eb;
        border-bottom: 1px solid #e5e7eb;
        order: 1;
        margin: 0 auto;
        flex: 0 0 90%;
        width: 100%;
        max-width: 100%;
        padding:0 10px 20px 10px;
    }

    .sadrzaj-desno img{
        width: 100%;
        height:auto;
    }

    .sadrzaj-desno h1, .sadrzaj-desno h2, .sadrzaj-desno h3, .sadrzaj-desno h4, .sadrzaj-desno h5{
        font-size: 23px;
    }

    .section-sidebar{
        padding: 0 10px;
        border-right: 0px solid #e5e7eb;
        min-height: 100%;
        flex: 0 0 90%;
        width: 100%;
        max-width: 100%;
        order: 2;
        margin: 30px auto 0 auto;
    }

    .file-link{
        width: 100%;
    }
    #form input, .textarea{
        display: block;
        width: 100%;
        margin: 10px 0;
        padding: 12px 20px;
        background-color: #f3f4f6;
        border: 2px solid #2C78A2;
        font-size: 18px;
        color: #162839;
        border-radius: 0;
    }

    #form input:focus{
        border: 2px solid #2C78A2;
    }

    #form button{
        display:block;
        font-size: 16px;
        font-weight: 600;
        margin-top: 20px;
        background-color: white;
        padding: 15px 15px;
        color: #2C78A2;
        border: 1px solid #2C78A2;
    }

    #form button:hover{
        color: #fff;
        cursor: pointer;
        background-color: #2C78A2;
        box-shadow: 0 0 2px black;
        transition: box-shadow 0.3s ease, color 0.3s ease, background-color 0.3s ease;
    }

    /* Single.php ************************************************************************************************/

    .container-content{
        grid-column: span 12;
        margin-top:0;
    }

    .post-pic-single {
        max-width: 100%;
        height: 100%;
        overflow: hidden;
    }

    #post-title{
        font-size: 28px;
        letter-spacing: -.3px;
        line-height: 32px;
        font-weight: 700;
        text-align: left;
        margin-top: 20px;
    }

    #post-title{
        margin: 20px 10px 10px 10px;
    }

    .date-post {
        margin-left:10px;
    }

    #date-post{
        font-size: 14px;
    }

    #calendar-post {
        height: 16px;
        width: 16px;
    }

    .najnovije-single-naslov{
        margin-left:10px;
        font-size: 16px;
    }    

    .post-pic-single .single-mainpic{
        width: 100%;
        height: 100%;
        object-fit: cover;
    }      
    
    .post-content{
        margin: 0 10px;
    }

    .post-content p {
        font-size: 16px;
        line-height: 1.9;
        letter-spacing: -0.4px;
    }

    .file-link{
        font-size: 16px;
    }

    .pdf-style img, .doc-style img, .xlsx-style img, .docx-style img, .doc-style img, .xls-style img, .csv-style img {
        width: 22px !important;
        height: 22px !important;
        margin: 0 10px 0 0;
        margin-left: 3px;
    }

    .aside{
        grid-column: span 12;
        margin:0 20px;
        padding:0;
        border-left: 0px;
    }


    /* Sve vijesti *******************************************************/

    .pagination{
        margin: 20px auto 0 auto;
    }

    .mtt-80{
        margin-top: 0;
    }
    }

@media (max-width:768px){

    body.admin-bar .navbar {
        top: 46px;}

    .slider-button {
        top: 43%;
        width: 24px;
        height: 24px;
    }

    .naslov{
        grid-column:5/9;
    }

    .obavijesti {
        grid-template-columns: repeat(4,1fr);
    }       

    .posts{
        display: block;
        grid-column: span 4;
    }

    .vidi-sve{
        grid-column: 2/4;
    }

    .card{
        width: 80%;
    }

    .onama-1{
        width: 80%;
        grid-column: span 4;
        margin-left:auto;
        margin-right: auto;
    }

    .onama-2{
        width: 80%;
        grid-column: span 4;
        margin-left:auto;
        margin-right: auto;
    }

    .footer-gornji {
        row-gap: 30px;
    }

    .footer-art:first-child {
        grid-column: span 2;
    }

    .footer-art {
        grid-column: span 2;
    }

    .footer-art div {
        justify-content: left;
        margin-left: 20px;
        margin-right: 0;
    }

    .footer-art:last-child div {
        justify-content: left;
        margin-right: 0;
    }
    
    .sadrzaj-desno, .nav-child{
        font-size: 16px;
    }

    .nav-parent{
        font-size: 20px;
    }

    #border-text-mob-mob {
        font-size: 22px;
    }

    .post-date-title{
        min-height: 118px;
    }

     /* Sve vijesti *******************************************************/

     .pagination{
        margin: 20px auto 0 auto;
        grid-column: span 4;
    }

}

@media (max-width:420px){

    .slider-button{
        top:38%;
        width: 20px;
        height: 20px;
    }

    .slider-button.prev {
        left: 5%;
    }

    .slider-button.next{
        right: 5%;
    }

    #navlogo{
        display: none;
    }

    #navlogomob{
        display: flex;
    }

    #border-text-mob{
        display: none;
    }

    #border-text-mob-mob{
        display: block;
        margin-right: 0;
    }

    .naslov{
        grid-column:4/10;
    }

    .posts{
        width: 90%;
        margin-left:auto;
        margin-right:auto;
    }

    .postdiv{
        width:100%;
    }
    
    .post-pic{
        width:100%;
    }
  
    .post-date-title{
        width:100%;
    }

    .vidi-sve{
        grid-column: 1/5;
    }

    .card{
        width: 90%;
    }

    .onama-1{
        width: 90%;
    }

    .onama-2{
        width: 90%;
    }

    .onama-2-tekst {
        padding: 15px 20px;
    }

    .onama-2-tekst p{
        text-align: left;
    }

    .footer-art:first-child img{
        width: 300px;
        height: 29.17px;
    }
    .footer-art div p, .footer-art2 div p {
        font-size: 15px;
    }

    #zucvpz-c{
        display: none;
    }

    #zucvpz-c-mob{
        display: block;
    }

    .footer-art:first-child img{
        width: 270px;
        height: 26.25px;
    }
}

@media (max-width:300px){

    .footer-art:first-child img{
        width: 210px;
        height: 20.42px;
    }

    .footer-art div p, .footer-art2 div p {
        font-size: 14px;
    }


}








/*.bot{
    display: grid;
    grid-template-columns: repeat(12, 1fr);
    text-align: left;
    grid-column: span 12;
    overflow: hidden;
    gap:30px;
    padding-bottom: 30px;
}

.bot h3{
    font-family: 'Roboto', sans-serif;
    font-size: 18px;
    margin-top: 10px;
    font-weight: 500;
    text-transform: none;
    line-height: 1.3;
}

.naslovnica-3posta{
    grid-column: span 4;
}

.naslovnica-333posta .featured-subpics{
    width:100%;
    height:138px;
    object-fit: cover;
}

.naslovnica-333posta{
    max-width:100%;
    height: 138px;
    overflow: hidden; 
} */
