body, html {
    height: 100%;
}
body {
    font-family: 'Encode Sans Expanded', sans-serif;
    font-size: 18px;
    margin: 0;
}
.burger {
    display: none;
    position: fixed;
    top: 20px;
    right: 10px;
    background-color: white;
    padding: 5px 5px 5px 5px;
    border: 0;
    border-radius: 4px;
    z-index: 1;
    opacity: .8;
    line-height: 1;
}

h1 {
    color: #363694;
    font-size: 50px;
    font-weight: 300;
}
h1.home {
    color: white;
    font-size: 50px;
    margin-top: 15%;
    text-shadow: 3px 3px 6px #111;
}
h1.splash {
    color: #ffffff;
    font-size: 50px;
    font-weight: 300;
    float: left;    
    text-shadow: 2px 2px 6px #333;
    padding: 0 6px 5px 0;

    margin-left: 12%;
    margin-top: 7%;
    overflow: hidden; 
}
h2 {
    font-weight: bold;
    font-size: 30px;
    text-align: center;
}
h3 {
    font-weight: 300;
    font-size: 27px;
    color: #222;
}
a {text-decoration: none; color: #222;}
a.nav-item > li.nav {color: #222; position: relative;}
a.nav-item > li.nav:hover {color: #2b4c9f;}
a.nav-item > li.nav:before {
  content: "";
  position: absolute;
  width: 100%;
  height: 2px;
  bottom: 0;
  left: 0;
  background-color: #2b4c9f;
  visibility: hidden;
  -webkit-transform: scaleX(0);
  transform: scaleX(0);
  -webkit-transition: all 0.3s ease-in-out 0s;
  transition: all 0.3s ease-in-out 0s;
}
a.nav-item > li.nav:hover:before {
  visibility: visible;
  -webkit-transform: scaleX(1);
  transform: scaleX(1);
}
p {
    line-height: 1.5em;
    font-weight: 300;
    color: #222;}

p.text-home {
    margin: 50px auto;
    font-size: 18px;
}
.bullet {color:#363694;}
.bullet-img {height: 2%;vertical-align: middle; margin-right: 10px;}
ul.services {
    list-style-image: url('img/logo-bulet.png');
    margin-left: -15px;
}
ul.services li {
    line-height: 1.3em;
    font-weight: 300;
    color: #222;
    margin-bottom: 15px;
}

.color-1 {color:#2b4c9f;}
.bg-color-1 {background:#2b4c9f;}
.bg-color-2 {background:#649dd5;}

/* HEADER */
.header {
    width: 100%;
    display: inline-block;
    height: 120px;
    text-align: center;
}
.top-line {
    width: 100%;
    height: 15px;
    background-color:#2b4c9f;
}
.hed-fade {
    width: 100%;
    height: 70px;
    background-image: url('img/fade.png');
    background-repeat: repeat-x;
    background-position: center;
    background-size: contain;
    visibility: visible;
}
ul.nav {
    text-align: center;
    list-style-type: none;
    margin: 0;
    padding: 0;
}
ul.nav a {
    font-size: 19px;
    color: #4e4e4e;
}

li.nav {
    display: inline-block;
    margin: 5px 15px;
    vertical-align: middle;
}
.nav-holder {
    width: 100%;
    margin-top: 15px;
    display: block;
}

.logo {
    width: 300px;
    display: inline-block;
    text-align: center;
    vertical-align: middle;
}
.logo img {
    width: 70%;
    min-width: 130px;
    max-width: 250px;
    margin-top: 20px;
}
.lang-holder {display: table; border-collapse: collapse; height:27px;}
.lang {
    display: table-cell;
    vertical-align: middle;
    padding: 0 10px;
    border-right: 1px solid #333;
    border-left: 1px solid #333;
}


/* CONTENT */

.content-block {
    height: auto;
    text-align: center;
    background: white;
}
.content {
    width: 80%;
    margin: auto;
}
.coll-fw {
    width: 90%;
    display: inline-block;
    text-align: left;
}
.coll-1 {
    width: 40%;
    display: inline-block;
    text-align: left;
    margin-right: 5%;
    vertical-align: text-top;
} 
.coll-2 {
    width: 40%;
    display: inline-block;
    text-align: center;
    margin: 0 3%;
    vertical-align: text-top;
} 
.proizvod {
    display: inline-block;
    width: 350px;
    height: 130px;
    margin: 10px;
    text-align: center;
    font-weight: bold;
    color: white;
    font-size: 27px;
    padding-top: 70px;
    border-radius: 15px;
    text-shadow: 3px 3px 3px #222;
}
.proizvod:hover {
    -webkit-filter: contrast(100%) brightness(50%);  /* Safari */
    filter: contrast(100%) brightness(50%);
    box-shadow: 3px 3px 6px #666;
}
    .brisaci {
        background: url('img/brisaci.jpg') center center no-repeat;
        background-size: cover;
    }
    .amortizeri {
        background: url('img/gas-amort.jpg') center center no-repeat;
        background-size: cover;
    }
    .podizaci {
        background: url('img/podizac.jpg') center center no-repeat;
        background-size: cover;
    }
    .moto-bris {
        background: url('img/motor-brisaca.jpg') center center no-repeat;
        background-size: cover;
    }
.bg-zastava {
        background: url('img/bg-flag.jpg') center center no-repeat fixed;
        background-size: cover;
}
.prva-ug {
    display: inline-block;
    position: relative;
    width: 600px;
    height: 350px;
    margin: 10px;
    padding-top: 5px;
    text-align: center;
    font-weight: bold;
    color: white;
    background-color:#aaaaaa;
    font-size: 27px;
    border-radius: 15px;
    text-shadow: 3px 3px 3px #222;
    box-shadow: 3px 3px 3px #333;
}
.prva-ug img {
    width: 570px;
    height: auto;
    position: absolute;
    bottom: 0px;
    left: 14px;
}
/* Notifikacije */
#success {
    width: 100%;
    height: 100%;
    top: 0;
    left: 0;
    position: fixed;
    background: rgba(0, 0, 0, 0.7);
    overflow: auto;
    z-index: 1000000;
}
#form_s {

    padding-top: 25px;
    font-family: 'Encode Sans Expanded', sans-serif;
    z-index: 5;
    background-color: rgba(21, 53, 132, 0.92);
    background-size: cover;
    background-color: none;
    text-align: center;
    line-height: 20px;
    border-radius: 15px;
    width: 400px;
}
div#popupContent {
    width: 40%;
    position: absolute;
    left: calc(50% - 200px);
    top: 25%;
    font-family: 'Encode Sans Expanded', sans-serif;

}
#form_s h3 {color:white;}
.block-ugradnja{
/*
    background: url('img/bg-industrija.jpg') center center no-repeat;
    background-size: cover;
*/
    background:#649dd5;
}
.race-img {
    width: 100%;
    height: auto;
    border-radius: 15px;
}
input[type=text] {
    border: none;
    width: 250px;
    height: 33px;
    font-family: 'Arial', sans-serif;
    font-size: 15px;
    padding: 5px;
}
textarea {
    width: 250px;
    font-family: 'Arial', sans-serif;
    font-size: 15px;
    padding: 5px;
}
input[type=submit] {
    padding: 15px 30px;
    background-color: #649dd5;
    color: #222;
    font-weight: bold;
    font-size: 18px;
/*    text-shadow: 2px 2px 0 #333;*/
    letter-spacing: .05em;
    box-shadow: 2px 2px 0 #333;
    border-radius: 5px;
    border: none;
    cursor: pointer;
    transition: 0.3s all;
}
input[type=submit]:hover {background-color: #dcdcdc; transition: 0.3s all;}
input[type=text], textarea {
    border-radius: 5px;
}
.phone-bg { background:transparent; padding:3px; }
/* PARALAX BLOCKS */

.scroll-icon {
    position: fixed;
    width: 50px;
    top:80%;
    opacity: .7;
    z-index: -999;
    left: calc(50% - 20px);
}
.parallax-1 {
    
    /* The image used */
    background-image: url('img/bg-img-1.jpg');
    
    overflow: hidden;
    
    /* Full height */
    height: 60%; 
}
.parallax-1-1 {
    /* The image used */
    background-image: url('img/bg-img-1-1.jpg');

    /* Full height */
    height: 50%; 
    

}
.parallax-2 {

    /* The image used */
    background-image: url('img/bg-img-2.jpg');
    
    overflow: hidden;


    /* Full height */
    height: 50%; 
}
.parallax-2-2 {
    /* The image used */
    background-image: url('img/bg-img-2-2.jpg');


    /* Full height */
    height: 50%; 
}
.parallax-3 {
    /* The image used */
    background-image: url('img/bg-img-3.jpg');
    
    overflow: hidden;

    /* Full height */
    height: 80%; 
}
.parallax-3-3 {
    /* The image used */
    background-image: url('img/bg-img-3-3.jpg');

    /* Full height */
    height: 40%; 
}
.parallax-4 {
    /* The image used */
    background-image: url('img/bg-img-4.jpg');

    /* Full height */
    height: 80%; 
    
    overflow: hidden;
}
.parallax-4-4 {
    /* The image used */
    background-image: url('img/bg-img-4-4.jpg');

    /* Full height */
    height: 40%; 
}
.parallax-1, .parallax-2, .parallax-3, .parallax-4 {
    position: relative;
    z-index: -1000;
    margin-top: -70px;
}
.parallax-1, .parallax-1-1, .parallax-2, .parallax-2-2, .parallax-3, .parallax-3-3, .parallax-4, .parallax-4-4 {
    /* Create the parallax scrolling effect */
    background-attachment: fixed;
    background-position: center;
    background-repeat: no-repeat;
    background-size: cover;
}

.back-to-top {
    text-align: center;
    position: relative;
    margin-top: 15px;
    left: calc(50% - 50px);
    
}
.button-holder {width: 100%; text-align: center;}
.button {
    padding: 10px 20px;
    border: 2px solid white;
    border-radius: 10px;
    color: white;
    width:300px;
    font-size: 21px;
    display: inline-block;
    margin: 20px 0;
    letter-spacing: 0;
    transition: 0.3s all;
}
.button:hover {
    width: 315px;
    letter-spacing: .07em;
    transition: 0.3s all;
}
/* HOVER DROPDOWN */
.dropdown {
    position: relative;
    display: inline-block;
}

.dropdown-content {
    display: none;
    position: absolute;
    background-color: #f9f9f9;
    min-width: 500px;
    box-shadow: 0px 8px 16px 0px rgba(0,0,0,0.2);
    padding: 10px 10px;
    z-index: 1;
    left:-160px;
}
.dropdown-content p {
    font-size: 16px;
    text-align: left;
}

.dropdown:hover .dropdown-content {
    display: block;
}
/* FOOTER */

#footer {
    width: 100%;
/*    position: fixed;*/
    height: 40px;
    background-color: #313131;
    margin-top: -6px;
}
.footer-item {
    display: table-cell;
    color: white;
    width: 33%;
    vertical-align: middle;
    font-size: 12px;
    padding-top: 4px;
}
.footer-item a {color:white;}
  
#map {
        height: 250px;
        width: 60%;
    -webkit-filter: hue-rotate(190deg); filter: hue-rotate(190deg);
}
.magacin {
    background: url('img/bg-magacin.jpg') center center no-repeat;
    background-size: cover;
}
.to-top {
    width: 36px;
    height: auto;
    position: fixed;
    z-index: 1000;
    bottom: 23px;
    right: 12px;
    float: right;
    display: block;
}
/* MOBILE MENU */

.sidenav {
    height: 100%;
    width: 0;
    position: fixed;
    z-index: 2;
    top: 0;
    right: 0;
    background-color: rgba(21, 53, 132, 0.92);
    overflow-x: hidden;
    transition: 0.5s;
    padding-top: 60px;
}

.sidenav a {
    padding: 8px 8px 8px 32px;
    text-decoration: none;
    font-size: 25px;
    color: #dbdada;
    display: block;
    transition: 0.3s;
    
    text-align: left;
}

.sidenav a:hover {
    color: white;
}

.sidenav .closebtn {
    position: absolute;
    top: 0;
    right: 25px;
    font-size: 36px;
    margin-left: 50px;
}

@media screen and (max-height: 450px) {
    .sidenav {padding-top: 15px;}
    .sidenav a {font-size: 18px;}
    .button {font-size: 10px;width: 100%;}
}


/* BREAKPOINTS */
@media only screen and (max-width: 400px) {
    
}
@media only screen and (max-width: 1550px) {
        .parallax-1-1 {
        height: auto;

    }
}
@media only screen and (max-width: 800px) {
    .nav-holder {
    display: none;
    }
    .burger {
    display: inline-block;
    float: right;
    margin-right: 10px;
    }
    .logo {float: left; width: 260px;margin-top: 7px;}
    .hed-fade { visibility: hidden; }
    .proizvod {
    display: inline-block;
    width: 90%;
    height: 90px;
    margin: 10px 5%;
    text-align: center;
    font-weight: bold;
    color: white;
    font-size: 27px;
    padding-top: 50px;
    border-radius: 15px;
    }
    .parallax-1 {
        height: 35%;
    }
    .coll-1 {
    width: 99%;
    display: block;
    text-align: left;
    margin-right: auto;
    margin-left: auto;
    text-align: left;
    }
    .coll-2 {
    width: 99%;
    display: block;
    text-align: left;
    margin-right: auto;
    margin-left: auto;
    text-align: left;
    }
    .button {
    padding: 10px 10px;
    width: calc(100% - 20px);
    display: block;
    margin: 60px 0;
}
    .button:hover {
    width: calc(100% - 20px);
    letter-spacing: 0;
    transition: 0.3s all;
}
input[type=text], textarea {
    width: 100%;
}
.prva-ug {
    position: relative;
    width: 99%;
    height: 350px;
    margin: 10px;
    padding-top: 5px;
}
    .prva-ug img {
    width: 90%;
    height: auto;
    position: absolute;
    bottom: 0px;
    left: 5%;
}
    .to-top {display: none;}
    .phone-bg { background:#649dd5; padding:3px; }
}

@media only screen and (max-width: 650px) {
    .proizvod {
    display: block;
    width: 90%;
    height: 70px;
    margin: 10px 5%;
    text-align: center;
    font-weight: bold;
    color: white;
    font-size: 24px;
    padding-top: 30px;
    border-radius: 15px;
    }

    .parallax-1 {
        height: 60%;
    }
    h1.home {
    font-size: 30px;
    margin-top: 15%;
    }
    .scroll-icon {
        display: none;
    }

    .coll-1 {
    width: 99%;
    display: block;
    text-align: left;
    margin-right: auto;
    margin-left: auto;
    text-align: left;
    }
    .coll-2 {
    width: 99%;
    display: block;
    text-align: left;
    margin-right: auto;
    margin-left: auto;
    text-align: left;
    }
    .button {
    padding: 10px 10px;
    width: calc(100% - 20px);
    display: block;
    margin: 60px 0;
    font-size: 18px;
}
input[type=text], textarea {
    width: 100%;
}
.prva-ug {
    position: relative;
    width: 99%;
    height: 270px;
    margin: 10px;
    padding-top: 5px;
}
    .prva-ug img {
    width: 90%;
    height: auto;
    position: absolute;
    bottom: 0px;
    left: 5%;
}
}