/*
Author: Danijel Bilic
Version: 1.0
*/

/* Table of Content
==================================================
  1. Animations
  2. Document Setup (body, common classes, etc)


/* CSS3 Animations
================================================== */

/* =========================================================== 
    2. Document Setup (body, common classes, structure etc)
============================================================ */

/* #General
================================================== */
body {
    font: 15px/26px "Roboto", Arial, sans-serif;
    color: #444;

}

textarea {
    height: 13em;
    border: 1px solid #01579B
}

.btn-large {
    border: 1px solid #fff;
}

#games img {
    width: 100%;
    height: 250px;
}

.page-id-29  h2{

    font-size: 30px;
}



/* Loading
================================================== */
#qLoverlay {
    background-color: #01579b;
    position: fixed;
    z-index: 666999;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
}

.queryloader__overlay__bar {
    top: 0px !important;
}

#qLpercentage {
    line-height: 46px;
    margin-top: -23px !important;
}

a.btn-large  img{
    vertical-align: middle;
}

/* Typography
================================================== */

.row {
    margin: 0 !important;
}

h1{
    font-size: 45px;
    font-weight: 900;
    line-height: normal;
    margin: 0; 
    color: #ffffff;
    text-decoration: underline;
}

h2{
    font-size: 40px;
    text-align: center;
    font-weight: 900;
}

h3 {
    font-size: 23px;
}

p {
    font-size: 16px;
}
.icon {
    height: 60px;
    width: 60px;
    margin: 0 auto;
    display: block;
    margin-bottom: -25px;
}

.block-icon {
    height: 60px;
    width: 60px;
    display: block;
    float: left;
}

input[type=text], input[type=password], input[type=email], input[type=url], 
input[type=time], input[type=date], input[type=datetime-local], 
input[type=tel], input[type=number], input[type=search], 
textarea.materialize-textarea{
    border-bottom: 1px solid #01579B;
}


.input-field label {
    color: #01579B;
    font-size: 18px;
} 

.input-field label.active {
    font-size: 14px;
    color: #01579B;
}

.light-blue {
    color: #ffffff;
    background-color: rgba(0, 42, 66, 0.86) !important;
}

/* Header
================================================== */
#logo img {
    width: 60%;
    margin: 5px 0;
    padding-top: 5px;
}

.disabled {
    background-color: rgb(0, 146, 202) !important;
    color: #ffffff !important;
    font-size: 20px;
}
header{
    position: relative;   
    border-bottom: 1px solid #fff;
    background-color: rgb(0, 146, 202);
}

nav{
    background-color: transparent;
    box-shadow: none;
    float: right;
}

nav ul li{
    display: inline-block;
    position: relative;
    background: #0092CA;

}

/*nav ul {
    float: right;
}*/

header section .row {
    padding: 0 !important;
}

nav ul a {
    font-size: 1.2rem;
    display: block;
    font-weight: 400;
    color: #ffffff;
}

nav ul li > ul.sub-menu {
    display: none;
}

nav ul li:hover > ul.sub-menu {
    display: block;
    background-color: #5273CE;
    position: absolute;
    z-index: 999;
    width: 250px;

}

nav ul li:hover > ul.sub-menu li {
    width: 100%;
}
nav ul li:hover > ul.sub-menu a {
    width: 100%;
    display: block;
    color: #ffffff;
    border-bottom: 1px solid #ffffff;
    line-height: 35px;
    font-weight: normal;
    font-size: 18px;
    margin: 0;
    text-transform: inherit;;
    text-transform: 
    padding: 10px;

}

nav ul li:hover > ul.sub-menu li > ul.sub-menu{
    display: none;
}

nav ul li > ul.sub-menu li > ul.sub-menu {
    display: none;
}

nav ul li > ul.sub-menu > li:hover > ul.sub-menu{
    display: block;
    margin-left: 250px;
    position: absolute;
    background-color: #5273CE;
    width: 250px;
    top: 0px !important;
}


nav ul li > ul li > ul.sub-menu li > ul.sub-menu {
    display: none;
}

nav ul li > ul li > ul.sub-menu li:hover > ul.sub-menu {
    margin-left: 250px;
    position: absolute;
    background-color: #5273CE;
    width: 250px;
    top: 40px;
    display: block;
}


.firstPage {
    background: #F5F5F5;
}

/* Home
================================================== */

.content-top h2 {
    font-weight: 600;
    margin: 0;
    padding: 40px 0 0 0;
    font-size: 30px;
}

.content-top{
    width: 90%;
    margin: 0 auto;
    text-align: center
}

.content-top p{
    font-size: 18px;
    color: #808080;
}

.product-home-block {
    text-align: center;
    background: #fff;
    padding: 20px;
    border-radius: 4px;
    text-align: center;
    box-shadow: 0 19px 38px rgba(0,0,0,0.10), 0 15px 12px rgba(0,0,0,0.02);
    min-height: 345px;
    margin: 60px 0;
}

.content-top h3 {
    font-size: 13px;
    letter-spacing: .06em;
}


/* Single Product
================================================== */
#single-product {
    padding: 30px 0 50px 0;
}

#single-product h2{
    text-align: left;
    font-weight: 500;
    text-transform: capitalize;
    border-bottom: 1px solid #000;
    line-height: 50px;
font-size: 30px;
}

#single-product h3 {
    font-weight: 500;
    border-bottom: 1px solid #000;
}


.big-table tbody > tr:nth-child(2n){
    background-color: transparent;
    color: #000;

}

.mechanical-block tbody > tr:nth-child(2n) }{
    background-color: transparent;
}

.mechanical-block tbody > tr td:nth-child(1) {
    padding-left: 20px;
    position: relative;
}

.mechanical-block tbody > tr td:nth-child(1):before {
    content: '';
    display: inline-block;
    width: 10px;
    height: 10px;
    -moz-border-radius: 15px;
    -webkit-border-radius: 15px;
    border-radius: 15px;
    background-color: rgba(43, 59, 103, 0.56);
    position: absolute;
    left: 0;
    top: 11px;
}

tbody tr:hover {
    background-color: transparent;
}

td{
    border-radius: 0 !important;
}

/* Contact Forma
================================================== */
#kontact {
    background-image: url(images/kontact.jpg);
    background-repeat: no-repeat;
    background-position: center;
    height: 300px;
    width: 100%;
    display: table;
}

#kontact h2 {
    color: #ffffff;
    margin: 0;
    padding: 30px 0;
    font-size: 55px;
    letter-spacing: 2px;
    display: table-cell;
    vertical-align: middle;
}

.contact-page h2 {
    text-transform: uppercase;
}

.contact-forma {
    padding-bottom: 33px;
    overflow: hidden;
}

input[type="submit"] {
    background-color: #01579B;
    padding: 10px 15px;
    color: #ffffff;
    border-color: transparent;
    width: 100px;
    border-radius: 4px;
    margin-left: 10px;
    margin-top: 20px;
    margin-bottom: 20px;
}


/* Menu
================================================== */


#menu-toggle-wrapper {
    display: none;
    top: 15px;
    right: 0;
    position: absolute;
    width: 75px;
    height: 45px;
    z-index: 99;
}
#menu-toggle-wrapper.open {
    top: 7px;
}
#menu-toggle {
    display: none;
    position: absolute;
    top: 50%;
    right: 25px;
    width: 23px;
    height: 2px;
    background: #fff;
}
#menu-toggle:before {
    content: '';
    position: absolute;
    right: 0;
    width: 100%;
    height: 2px;
    background: #fff;
    -webkit-transform-origin: center center;
    -moz-transform-origin: center center;
    -ms-transform-origin: center center;
    -o-transform-origin: center center;
    transform-origin: center center;
}
#menu-toggle:after {
    content: '';
    position: absolute;
    right: 0;
    width: 100%;
    height: 2px;
    background: #fff;
    -webkit-transform-origin: center center;
    -moz-transform-origin: center center;
    -ms-transform-origin: center center;
    -o-transform-origin: center center;
    transform-origin: center center;
}
#menu-toggle:before {
    top: -9px;
}
#menu-toggle:after {
    top: -18px;
}
#menu-toggle-wrapper.open #menu-toggle {
    -webkit-transform: rotate(45deg) translate(0, 0);
    -moz-transform: rotate(45deg) translate(0, 0);
    -ms-transform: rotate(45deg) translate(0, 0);
    -o-transform: rotate(45deg) translate(0, 0);
    transform: rotate(45deg) translate(0, 0);
    background: #f1f1f1;
}
#menu-toggle-wrapper.open #menu-toggle:before {
    -webkit-transform: rotate(90deg) translate(9px, 0);
    -moz-transform: rotate(90deg) translate(9px, 0);
    -ms-transform: rotate(90deg) translate(9px, 0);
    -o-transform: rotate(90deg) translate(9px, 0);
    transform: rotate(90deg) translate(9px, 0);
    background: #f1f1f1;
}
#menu-toggle-wrapper.open #menu-toggle:after {
    -webkit-transform: rotate(90deg) translate(9px, 0);
    -moz-transform: rotate(90deg) translate(9px, 0);
    -ms-transform: rotate(90deg) translate(9px, 0);
    -o-transform: rotate(90deg) translate(9px, 0);
    transform: rotate(90deg) translate(9px, 0);
    display: none;
}
#menu-toggle, #menu-toggle:before {
    -webkit-transition: all .3s cubic-bezier(0.585, -.6, .43, 1.65);
    -moz-transition: all .3s cubic-bezier(0.585, -.6, .43, 1.65);
    -ms-transition: all .3s cubic-bezier(0.585, -.6, .43, 1.65);
    -o-transition: all .3s cubic-bezier(0.585, -.6, .43, 1.65);
    transition: all .3s cubic-bezier(0.585, -.6, .43, 1.65);
}

.proizvod-block{
    background-color: #0092CA;
    border: 1px solid #ddd;
    border-radius: 1px;
    margin-bottom: 25px;
    padding: 15px 0 0 0;
    min-height: 110px;
    position: relative
}

.proizvod {
        margin-bottom: 70px;
    box-shadow: 8px 8px 14px rgba(0, 0, 0, 0.29);

}

.proizvod img {

    margin: 0 auto;
    display: block;

}

.proizvod-block a{
    color: #fff;
    font-weight: 400;
    text-align: left;
    font-size: 20px;
    display: block;
    margin: 0 10px;
    line-height: normal;
}

.proizvod-block h2 {
    margin: 0;
    text-transform: capitalize;
}

.proizvod-block a.read-more {
    color: #fff;
    font-weight: 400;
    font-size: 17px;
    font-style: italic;
    text-align: right;
    border-bottom: 1px solid transparent;
    margin: 5px 10px 0 10px;
    border-top: 1px solid #fff;
    padding: 5px;
    position: absolute;
    width: 93%;
    bottom: 0;
}

.proizvod-block img{
    width: 100%;
}

footer{
    background-color: #23475B;
    color: #fff;
    font-size: 14px;
    position: absolute;
    width: 100%;
}

.portofolio {
	    float: right;
    margin-top: 15px;
    font-size: 16px;
}

/* Proizvodi
================================================== */
h2.title{
    border-bottom: 1px solid #000;
    text-align: left;
    font-weight: 400;
}

/* Responsiv
================================================== */

@media only screen and (min-width: 320px) and (max-width: 500px){
    header {
        height: 83px;
    }
    h1, h2 {
        line-height: normal;
    }

    a.btn-large{
        min-width: 200px;
        margin-bottom: 10px;
        width: 50%;
        margin: 10px auto;
        float: none;
        display: block;
        padding: 0;
    }
    .fotokredit-button {
        width: 100%;
    }
    .financie img {
        display: none;
    }
    .info img, .trgovina-block img{
        display: none;
    }
    .info p {
        margin: 0;
    }
    .trgovina-block {
        margin-bottom: 20px;
    }
    .backgorund-bg {
        background-image: none;
        height: 300px;
    }
    .fotokredit-button > .btn-large:first-child {
        margin-right: auto !important;
    }
    .video-content .owl-stage-outer {
        width: 99%;
        overflow: hidden;
    }
    .backgorund-bg h1 {
        padding: 0;
        font-size: 50px;
    }
    .top-fotokredit {
        width: 100%;
        right: auto;
    }
    table {
        display: none;
    }
}

@media only screen and (min-width: 501px) and (max-width: 800px){
    .fotokredit-button {
        width: 65%;
    }
    .backgorund-bg {
        background-image: none;
        height: 350px;
        padding-top: 25px
    }
    .backgorund-bg h1 {
        padding: 0;
        margin-bottom: 20px;
    }
    .top-fotokredit {
        width: 100%;
        right: 0;
    }
    .fotokredit-button > .btn-large:first-child {
        margin-right: 0;

    }
    .video-content .owl-stage-outer {
        width: 99%;
        overflow: hidden;
    }
    table {
        display: none;
    }
     header {
        height: 83px;
    }
}

@media only screen and (min-width: 801px) and (max-width: 1200px){
    .backgorund-bg {
        background-position: 35% 50%;
    }
    .top-fotokredit {
        width: 60%;
        right: 0;
    }
    .video-content .owl-stage-outer {
        width: 99%;
        overflow: hidden;
    }

}


@media only screen and (max-width: 985px) {
    .pitanja a {
        width: 100%; 
    }
    .block-img img {
        display: none;
    }
    .text-block {
        margin: 0;
    }
    a.btn-large {
        min-width: 200px;
        margin-bottom: 10px;
    }
    #menu-toggle {
    display: block;
    }
    #menu-toggle-wrapper {
        display: block;
    }
    #menu {
        display: none;
    }

    .open #menu {
        display: block !important;
        background-color: #01579b;
        position: absolute;
        width: 300px;
        right: 0;
        top: 84px;
    }

    .open nav ul li {
        display: block;
        width: 100%;
    }

    .open nav ul li a {
        line-height: 35px;
        padding: 10px 0;
        font-size: 18px;
        text-align: center;
        border-bottom: 1px solid #ffffff;
    }

    .text-block {
        min-height: auto;
        margin-bottom: 20px;
    }

    #block-all h3 {
        line-height: normal;
        border-bottom: none;
    }

    #block-all .icon {
        margin-top: 0;
        float: none;
    }
}

@media only screen and (min-width: 801px) and (max-width: 1100px) {
    .block-img img {
        display: none;
    }
    .pitanja a {
        width: 100%; 
    }
    .text-block {
            margin: 0;
            min-height: auto;
    }
    #block-all h3 {
        line-height: normal;
        border-bottom: none;
    }
    #block-all .icon {
        margin-top: 0;
        float: none;
    }
}



