body{
    padding: 0;
    margin: 0;
    font: 15px/1 Arial, Helvetica,sans-serif;
    background-color: #f4f4f4;
    width: 100%;
}
ul{
    padding: 0;
    margin: 0;
}

#kontaktPodaci{
    text-align: center;
    color: orangered;
    font-family: "Times New Roman", sans-serif;
    font-size: 26px;
    font-weight: bold;
}
.pozicioniranje{
    text-align: center;
}

.slika{
    width: 30px;
    height: 30px;
}
.fax {
    padding-bottom: 15px;
    padding-top: 15px;
    text-align: center;
}
.fax_adresa {
    padding-bottom: 15px;
    padding-top: 15px;
    text-align: center;
}

/* HEADER */
.header{
    display: flex;
    flex-direction: column;
    min-height: 70px;
    background-color: #ffffff;
}
.header img{
    width: 100px;
    height: 60px;
    padding-top: 10px;
    padding-bottom: 5px;
    align-self: left;
}

.menu{
    float:right;
    margin: 0;
    padding-top: 30px;
}

.menu a{
    color: #808080;
    text-decoration:none;
    font-size: 16px;
}
.menu li{
    float: left;
    display:inline;
    padding: 0;
    margin-right: 50px;
}
.menu a:hover{
    color: orangered;
}

.naslov{
    padding: 0;
    margin: 0;
    font-size: 23px;
    font-family: "Times New Roman", Times, serif;
    color: #4169E1;
    position: absolute;
    top: 25px;
    left: 100px;
}

.container{
    width:100%;
    margin:auto;
    overflow:hidden;
}

/* Boxes */
#boxes{
    min-width: 280px;
    background:url('../img/showcase.jpg') no-repeat 0 -500px;
    margin-bottom: 10px;
}

#boxes a{
    text-decoration:none;
}


#boxes h3{
    font-size:22px;
    margin-bottom:10px;
    color: #ffffff;
    text-align: center;
}

.box{
    float:left;
    display: flex;
    flex-direction: column;
    text-align: center;
    width:30%;
    padding:10px;
}

#boxes .box img{
    padding-top: 20%;
    width:90px;
    opacity: 0.9;
    align-self: center;
}

#boxes .box img:hover{
    opacity: 1;
}

.active{
    border-top: 2px solid orangered;
    padding-top: 4px;
}

/*MAIN*/
#main-col{
    width: 65%;
    float: left;
}

#contact-main{
    width: 100%;
}

#main-col a{
    text-decoration: none;
}

#main-col h1{
    font-family: 'Oswald', sans-serif;
    font-size: 26px;
    font-weight: bold;
    color: orangered;
    padding-left: 100px;
    letter-spacing: 1px;
    text-transform: uppercase;
    text-align: justify;
}
#main-col h3{
    font-family: 'Oswald', sans-serif;
    font-size: 20px;
    font-weight: bold;
    color: orangered;
    padding-left: 100px;
    letter-spacing: 1px;
    text-transform: uppercase;
    text-align: justify;
}
.podnaslov{
    color: #585858;
    font-size: 21px;
    text-transform: uppercase;
    font-family: 'Oswald', sans-serif;
    text-space: 1px;
    font-weight: bold;
    padding-left: 100px;
    text-align: justify;
}

.standardTekst{
    font-family: 'Times New Roman', sans-serif;
    font-size: 18px;
    color: #505050;
    text-align: justify;
    padding-left: 100px;
}

.navodjenje{
    color: #505050;
    word-spacing: 1.2px;
    padding-left: 130px;
    text-align: justify;
    font-family: 'Times New Roman', sans-serif;
    font-size: 18px;
}

#sidebar{
    width: 22%;
    float: right;
    margin-right: 8%;
}

#sidebar h3{
    font-family: 'Oswald', sans-serif;
    font-size: 22px;
    font-weight: bold;
    color: #585858;
    letter-spacing: 1px;
    border-left: 2px solid orangered;
    padding-left: 5px;
    text-transform: uppercase;
}
#sidebar h3 a{
    font-size: 24px;
    padding-left: 5px;
    margin-left: 0;
}

#sidebar a{
    text-decoration: none;
    font-family: 'Oswald', sans-serif;
    font-size: 16px;
    text-transform: uppercase;
    color: #505050;
    margin-left: 10px;
}
#sidebar hr{
    margin-left: 10px;
}
#sidebar a:hover{
    color: orangered;
}

/* FOOTER */
footer{
    width: 100%;
    padding: 0;
    margin: 0;
    display: flex;
    flex-direction: column;
    text-align: center;
}
footer img{
    width: 100px;
    height: 60px;
    align-self: center;
}
footer p{
    color: #4169E1;
    font-size: 20px;
    font-family: "Times New Roman", Times, serif;
    text-space: 1px;
    text-align: center;
}

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


/* SCROLL BUTTON */
.testheight {
    height:1200px;
    font-size:20px;
    text-align:center;
    padding:100px 20px;
}
.scrolltop {
    display:none;
    width:100%;
    margin:0 auto;
    position:fixed;
    bottom:20px;
    right:10px;
}
.scroll {
    position:absolute;
    right:20px;
    bottom:20px;
    background:#b2b2b2;
    background:rgba(178,178,178,0.7);
    padding:20px;
    text-align: center;
    margin: 0 0 0 0;
    cursor:pointer;
    transition: 0.5s;
    -moz-transition: 0.5s;
    -webkit-transition: 0.5s;
    -o-transition: 0.5s;
}
.scroll:hover {
    background:rgba(178,178,178,1.0);
    transition: 0.5s;
    -moz-transition: 0.5s;
    -webkit-transition: 0.5s;
    -o-transition: 0.5s;
}
.scroll:hover .fa {
    padding-top:-10px;
}
.scroll .fa {
    font-size:20px;
    margin-top:-5px;
    margin-left:1px;
    transition: 0.5s;
    -moz-transition: 0.5s;
    -webkit-transition: 0.5s;
    -o-transition: 0.5s;
}


/* MEDIA Q */
@media(min-width: 781px) and (max-width: 1320px){
    .header{
        display: flex;
        flex-direction: column;
        background-color: #ffffff;
        text-align: center;
    }
    .header img{
        width: 100px;
        height: 60px;
        padding-top: 10px;
        padding-bottom: 5px;
        align-self: center;
    }

    .naslov{
        font-size: 22px;
        font-family: "Times New Roman", Times, serif;
        color: #4169E1;
        display: flex;
        flex-direction: column;
        text-align: center;
        padding-top: 60px;
        width: 100%;
        position: absolute;
        left: 0;
    }
    .menu{
        float: none;
        margin: 0;
        padding-top: 60px;
        padding-bottom: 15px;
    }
    .menu a{
        color: #808080;
        text-decoration:none;
        font-size: 18px;
    }
    .menu li{
        float: none;
        display:inline;
        padding: 0;
        margin-right: 15px;
    }

    #boxes h3{
        font-size: 20px;
    }
    aside#sidebar{
        padding-right: 20px;
    }
    aside#main-col{
        width: 57%;
    }

}


@media(max-width: 780px) and (min-width: 345px){
    .header{
        width: 100%;
        display: flex;
        flex-direction: column;
        background-color: #ffffff;
        text-align: center;
    }
    .header img{
        width: 100px;
        height: 60px;
        padding-top: 10px;
        padding-bottom: 5px;
        align-self: center;
    }
    .naslov{
        font-size: 18px;
        font-family: "Times New Roman", Times, serif;
        color: #4169E1;
        display: flex;
        flex-direction: column;
        text-align: center;
        padding-top: 70px;
        position: absolute;
        left: 10%;
    }
    .menu{
        float: none;
        margin: 0;
        padding-top: 80px;
        padding-bottom: 15px;
    }
    .menu a{
        color: #808080;
        text-decoration:none;
        font-size: 15px;
    }
    .menu li{
        float: none;
        display:inline;
        padding: 0;
        margin-right: 15px;
    }

    #boxes .box{
        width: 100%;
        text-align: center;
    }
    #boxes .container{
        margin: 0;
        width: 100%;
    }

    #boxes .box img{
        opacity: 0.9;
        padding-top: 10px;
    }

    #boxes h3{
        font-size:20px;
        margin-bottom:10px;
        color: #ffffff;
        text-align: center;
    }

    #main-col{
        float: none;
        width: 100%;
    }
    #main-col h1,
    .podnaslov{
        letter-spacing: 0.2px;
        word-spacing: 1px;
        width: 80%;
        font-size: 18px;
        padding-left: 10px;
    }
    #main-col h3{
        font-size: 15px;
        padding-left: 10px;
    }
    .standardTekst{
        padding-left: 20px;
        padding-right: 20px;
    }
    .navodjenje{
        width: 80%;
        font-size: 15px;
        letter-spacing: 0.2px;
        word-spacing: 1px;
        padding-left: 20px;
    }
    #sidebar{
        float: none;
        width: 30%;
        text-align: center;
        margin-left: auto;
        margin-right: auto;
        padding-bottom: 50px;
        padding-top: 50px;
    }

    #sidebar h3{
        letter-spacing: 0.2px;
        word-spacing: 1px;
        width: 100%;
        font-size: 18px;
    }

}

@media(max-width: 344px) and (min-width: 260px){
    .header{
        width: 100%;
        display: flex;
        flex-direction: column;
        background-color: #ffffff;
        text-align: center;
    }
    .header img{
        width: 100px;
        height: 60px;
        padding-top: 10px;
        padding-bottom: 5px;
        align-self: center;
    }

    .naslov{
        font-size: 18px;
        font-family: "Times New Roman", Times, serif;
        color: #4169E1;
        display: flex;
        flex-direction: column;
        text-align: center;
        padding-top: 70px;
        position: absolute;
        left: 10%;
    }
    .menu{
        float: none;
        margin: 0;
        padding-top: 80px;
        padding-bottom: 15px;
    }
    .menu a{
        color: #808080;
        text-decoration:none;
        font-size: 13px;
    }
    .menu li{
        float: none;
        display:inline;
        padding: 0;
        margin-right: 5px;
    }

    #boxes .box{
        width: 100%;
        text-align: center;
    }
    #boxes .container{
        margin: 0;
        width: 100%;
    }

    #boxes .box img{
        opacity: 0.9;
        padding-top: 10px;
    }

    #boxes h3{
        font-size:20px;
        margin-bottom:10px;
        color: #ffffff;
        text-align: center;
    }

    #main-col{
        float: none;
        width: 100%;
    }
    #main-col h1,
    .podnaslov{
        letter-spacing: 0.2px;
        word-spacing: 1px;
        width: 80%;
        font-size: 18px;
        padding-left: 10px;
    }
    #main-col h3{
        font-size: 15px;
        padding-left: 10px;
    }
    .standardTekst{
        padding-left: 20px;
        padding-right: 20px;
    }
    .navodjenje{
        width: 80%;
        font-size: 15px;
        letter-spacing: 0.2px;
        word-spacing: 1px;
        padding-left: 20px;
    }
    #sidebar{
        float: none;
        width: 30%;
        text-align: center;
        margin-left: auto;
        margin-right: auto;
        padding-bottom: 50px;
        padding-top: 50px;
    }

    #sidebar h3{
        letter-spacing: 0.2px;
        word-spacing: 1px;
        width: 100%;
        font-size: 18px;
    }

}

