/*#4764AF -  modra barva
  #FBB034 - oranžna barva
*/

*{
    margin: 0;
    padding: 0;
    overflow-x: hidden;
}

body, html {
    height: 100%;
    margin: 0;
  	padding: 0;
    background-color: #fff;
    overflow-y: auto;
}

header{
	width: 100%;
	height: auto;
    top: 0;
	position: fixed;
	z-index: 500;
}

.header-wrap{
    position: relative;
    z-index: 1000;
}

ul.topnav {
    list-style-type: none;
    margin: 0;
    padding: 0;
    overflow: hidden;
    background-color: #fff;
}

ul.topnav li {
    float: left;
}

.site-logo-name img{
    width: 200px;
    height: 40px;
}

ul.topnav li a {
    display: block;
    color: #000;
    text-align: center;
    padding: 14px 16px;
    text-decoration: none;
}

.navigacija a{
    margin-top: 10px;
}

.navigacija a:hover{
     border-bottom: 1px solid #4764AF;
}

ul.topnav li a:hover:not(.active) {background-color: #fff;}

ul.topnav li a.active {
    background-color: #4764AF; 
    color: #fff; 
    border-bottom: 1px solid #4764AF;
}

ul.topnav li.right {float: right;}

@media screen and (max-width: 600px){
    ul.topnav li.right,
    ul.topnav li {
        float: none;
    }
}

/*header ended*/

#to-top-slika{
    -ms-transform: rotate(-90deg); /* IE 9 */
    -webkit-transform: rotate(-90deg); /* Chrome, Safari, Opera */
    transform: rotate(-90deg);
    transition: top 0.2s ease-in-out;
}

#to-top-slika:hover{
    text-decoration: none;
    cursor: pointer;
    -ms-transform: rotate(0deg); /* IE 9 */
    -webkit-transform: rotate(0deg); /* Chrome, Safari, Opera */
    transform: rotate(0deg);
}

/*header end*/


.parallax-1{
	background-image: url('../img/finance.jpg'); /*background pic treba spremenit ker ni free*/

    /* Full height */
    width: 100%;
    height: 70%;
    overflow-y: hidden;

    /* Create the parallax scrolling effect */
    background-attachment: fixed;
    background-position: center;
    background-repeat: no-repeat;
    background-size: cover;
    position: relative;
}

.intro-anim{
    position: absolute;
    width: 100%;
    height: 100%;
    float: none;
    z-index: 10;
    overflow-x: hidden;
    overflow-y: hidden;
    background-color: rgba(0, 0, 0, 0.6);
}

.mages{
    display: none;
    width: 40%;
    height: 65%;
    margin-left: 30%;
    margin-right: 30%;
    margin-top: 9%;
    float: none;
    overflow-y: hidden;
    overflow-x: hidden;
}

.image{
    position: relative;
    z-index: 1001;
    width: 98%;
    height: 45%;
    color: rgba(255, 255, 255, 1);
   /*background: rgba(71, 100, 175, 0.9);*/
    border-radius: 10px;
    float: left;
    overflow-y: hidden;
    overflow-x: hidden;
    margin-bottom: 10px;
    transition: top 0.2s ease-in-out;
}

.smaller{
    height: 30%;
    text-align: center;
    margin-top: 5px;
    margin-bottom: 0;
}

.image img{
    width: 100%;
    margin: 0;
    padding-top: 40px;
    padding-right: 10px;
}

/*intro anim ended*/

.o-nas{
    color: #000;
    background-color: rgba(71, 100, 175, 1);
    text-align: center;
    padding: 25px 80px;
    text-align: justify;
    height: 70%;
    overflow-y: hidden;
}

.o-nas h3 {
    letter-spacing: 5px;
    text-transform: uppercase;
    text-align: center;
    color: #fff;
}

.o-nas p{
    display: block;
    width: 35%;
    float: left;
    color: #fff;
    margin-left: 10%;
    margin-top: 5%;
}

.o-nas img{
    display: block;
    width: 35%;
    float: right;
    margin-right: 10%;
    margin-top: 5%;
}


.parallax-2{
    background-image: url('../img/accounting-adviser.jpg');

    /* Full height */
    height: 100%;
    overflow-y: hidden;

    /* Create the parallax scrolling effect */
    background-attachment: fixed;
    background-position: center;
    background-repeat: no-repeat;
    background-size: cover;
    position: relative;
}


.napis-2 {
    position: absolute;
    left: 0;
    width: 100%;
    height: 100%;
    overflow-y: hidden;
    text-align: center;
    background: rgba(0, 0, 0, 0.3);
}

.napis-izobraz{
    position: absolute;
    left: 0;
    bottom: 0;
    width: 100%;
    height: 200px;
    overflow-y: hidden;
    text-align: center;
    color: #fff;
    background-color: rgba(71, 100, 175, 1);
}

.napis-izobraz #p1{
    width: 30%;
    float: left;
    margin-left: 13%;
    margin-top: 50px;
}

.napis-izobraz img{
    width: 100px;
    height: 100px;
    float: left;
    margin-left: 3%;
    margin-top: 50px;
}

.napis-izobraz #p2{
    width: 30%;
    float: left;
    margin-left: 3%;
    margin-top: 50px;
}

.napis-2 h3 {
    color: #000;
    margin-top: 3%;
    width: 20%;
    margin-left: 40%;
    margin-right: 40%;
    font-size: 25px;
    background-color: rgba(255, 255, 255, 0.8);
    line-height: 70px;
    letter-spacing: 10px;
}

.storitve{
    width: 100%;
    height: 100%;
    margin-top: 2%;
}

.storitev1, .storitev2, .storitev3{
    width: 30%;
    margin-top: 3%;
    height: 40%;
    margin-left: 2.4%;
    overflow-y: hidden;
    float: left;
    background-color: rgba(255, 255, 255, 0.9);
    /*border: 2px solid #4764AF;*/
    transition: top 0.2s ease-in-out;
}

.dodatn_tekst1, .dodatn_tekst2, .dodatn_tekst3{
    display: none;
    width: 100%;
    background-color: rgba(255, 255, 255, 0.9);
    transition: top 0.2s ease-in-out;
}

.storitev1 img, .storitev2 img, .storitev3 img{
    width: 100%;
    height: 75%;
    position: relative;
}

.storitev1 h4, .storitev2 h4, .storitev3 h4{
    position: relative; 
    left: 0; 
    width: 100%; 
    overflow-y: hidden;
}

.storitev1 h4 span, .storitev2 h4 span, .storitev3 h4 span{
    color: #000; 
    line-height: 30px;
    overflow-y: hidden;
}

.storitev1 p,.storitev2 p, .storitev3 p{
    width: 100%;
    margin-top: 1%;
    font-size: 16px;
    display: block;
    background-color: rgba(255, 255, 255, 0.9);
}

/*storitve end*/


.parallax-4{
    background-image: url('../img/people-office-group-team.jpg');

    /* Full height */
    height: 100%;

    /* Create the parallax scrolling effect */
    background-attachment: fixed;
    background-position: center;
    background-repeat: no-repeat;
    background-size: cover;
    position: relative;
}

.kontakt {
    position: absolute;
    left: 0;
    width: 100%;
    height: 45%;
    bottom: 0;
    text-align: center;
    background: rgba(255, 255, 255, 0.9);
}

.kontakt h3{
    color: #4764AF;
    font-size: 25px;
    line-height: 70px;
    letter-spacing: 10px;
}

.naslovni-podatki{
    text-align: center;
    height: 60%;
    width: 30%;
    color: #4764AF;
    float: left;
    margin-left: 15%;
    margin-top: 1%;
}

.naslovni-podatki a{
    color: #4764AF;
}

.lokacija-imig{
    width: 20px;
    margin-right: 10px;
    height: 20px;
}

.naslovni-podatki h4{
    padding-bottom: 5px;
    border-bottom: 2px solid #4764AF;
}

.kontaktni-podatki{
    text-align: center;
    color: #4764AF;
    height: 60%;
    width: 30%;
    float: left;
    margin-left: 8%;
    margin-top: 1%;
}

.contact-imig{
    width: 20px;
    margin-right: 10px;
    height: 20px;
}

.kontaktni-podatki h4{
    padding-bottom: 5px;
    border-bottom: 2px solid #4764AF;
}

/*footer start*/

footer{
    bottom: 0;
    height: 24%;
    width: 100%;
    color: #fff;
    font-size: 15px;
    background-color: rgba(71, 100, 175, 1);
    text-align: center;
    overflow-y: hidden;
}

.footer-container{
    width: 80%;
    overflow-y: hidden;
    height: 80%;
    margin-right: auto;
    margin-left: auto;
}

.footer-container hr{
    height: 1px;
    display: block;
    border: 0;
    border-top: 1px solid #fff;
}

.footer-container img{
    width: 220px;
    height: 40px;
    float: none;
    margin-top: 2%;
    position: relative;
}

.footer-container a{
    color: #fff;
    text-decoration: none;
}

.footer-container a:hover{
    color: #fff;
    text-decoration: underline;
}

/*slide in anims*/
.hidden{
    display: none;
}

.visible{
    opacity: 1;
}

/*slide in anims ended*/

@media screen and (max-width: 1400px){
    /*smaller screens*/
    .mages{
        width: 60%;
        height: 85%;
        margin-left: 20%;
        margin-right: 20%;
        margin-top: 7%;
    }

    .o-nas{
        height: 85%;
    }

    .o-nas p{
        display: block;
        width: 40%;
        float: left;
        margin-left: 5%;
    }

    .o-nas img{
        display: block;
        width: 40%;
        float: left;
        margin-left: 5%;
    }
    
    /*tablet storitve*/
    .parallax-2{
        background-color: #fff;
        height: 100%;
        overflow-y: hidden;
        position: relative;
    }

    .storitve{
        width: 100%;
        height: auto;
        margin-top: 5%;
    }

    #services{
        width: 70%;
        float: left;
        padding: 0;
        margin: 0;
        margin-left: 15%;
        margin-right: 15%;
        margin-top: 8%;
    }

    .storitev1{
        width: 25%;
        margin-top: 5%;
        height: 25%;
        margin-left: 6%;
    }

    .storitev2{
        width: 25%;
        margin-top: 5%;
        height: 25%;
        margin-left: 6%;
    }

    .storitev3{
        width: 25%;
        margin-top: 5%;
        height: 20%;
        margin-left: 6%;
    }

    .parallax-4{
        height: 100%;
    }

    .kontakt {
        position: relative;
        left: 0;
        width: 100%;
        height: 40%;
        text-align: center;
        background: rgba(255, 255, 255, 1);
    }

    .footer-container{
        margin-top: 2%;
    }

}

@media screen and (max-width: 768px){
    /*ipad mode*/
    .mages{
        width: 80%;
        height: 65%;
        margin-left: 10%;
        margin-right: 10%;
        margin-top: 25%;
    }

    .o-nas{
        height: 85%;
        padding: 15px 50px;
    }

    .o-nas p{
        display: block;
        width: 100%;
        float: left;
        margin-left: 2%;
        margin-right: 10%;
    }

    .o-nas img{
        display: block;
        width: 100%;
        float: left;
        margin-left: 1%;
    }
    
    /*tablet storitve*/
    .parallax-2{
        background-color: #fff;
        height: 100%;
        overflow-y: hidden;
        position: relative;
    }

    .storitve{
        width: 100%;
        height: auto;
        margin-top: 2%;
    }

    #services{
        width: 70%;
        float: left;
        padding: 0;
        margin: 0;
        margin-left: 15%;
        margin-right: 15%;
        margin-top: 5%;
    }

    .storitev1{
        width: 45%;
        margin-top: 5%;
        height: 40%;
        margin-left: 3%;
        padding: 0;
        overflow-y: hidden;
        float: left;
        /*border: 2px solid #4764AF;*/
        transition: top 0.2s ease-in-out;
    }

    .storitev2{
        width: 45%;
        margin-top: 5%;
        height: 40%;
        margin-left: 1%
        padding: 0;
        overflow-y: hidden;
        float: left;
        /*border: 2px solid #4764AF;*/
        transition: top 0.2s ease-in-out;
    }

    .storitev3{
        width: 50%;
        margin-top: 4%;
        height: 40%;
        margin-left: 25%;
        margin-right: 25%;
        padding: 0;
        overflow-y: hidden;
        float: left;
        /*border: 2px solid #4764AF;*/
        transition: top 0.2s ease-in-out;
    }

    .napis-izobraz{
        position: absolute;
        left: 0;
        bottom: 0;
        width: 100%;
        height: 200px;
        overflow-y: hidden;
        text-align: center;
        color: #fff;
        background-color: rgba(71, 100, 175, 1);
    }

    .napis-izobraz #p1{
        width: 30%;
        float: left;
        margin-left: 12%;
        margin-top: 25px;
    }

    .napis-izobraz img{
        width: 100px;
        height: 100px;
        float: left;
        margin-left: 3%;
        margin-top: 35px;
    }

    .napis-izobraz #p2{
        width: 30%;
        float: left;
        margin-left: 3%;
        margin-top: 35px;
    }

    .parallax-4{
        height: 100%;
    }

    .kontakt {
        position: relative;
        left: 0;
        width: 100%;
        height: 30%;
        text-align: center;
        top: 0;
        background: rgba(255, 255, 255, 0.9);
    }

    footer{
        /*margin-top: 1%;*/
        height: 200px;
    }

    .footer-container{
        margin-top: 3%;
    }

}

@media screen and (max-width: 415px){
    /*phone mode*/

    .o-nas{
        height: 550px;
        width: 100%;
    }

    #about{
        margin-top: 7%;
    }

    .o-nas p{
        margin-top: 4%;
        display: block;
        width: 100%;
        font-size: 11px;
        float: none;
    }

    .o-nas img{
        display: block;
        width: 100%;
        float: none;
        margin-left: 1%;
    }
    
    /*tablet storitve*/
    .parallax-2{
        background-color: #fff;
        height: 750px;
        overflow-y: hidden;
        position: relative;
    }

    .storitve{
        width: 100%;
        height: auto;
        margin-top: 5%;
    }

    #services{
        width: 70%;
        float: left;
        padding: 0;
        margin: 0;
        margin-left: 15%;
        margin-right: 15%;
        margin-top: 10%;
    }

    .storitev1{
        width: 42%;
        margin-top: 10%;
        height: 40%;
        margin-left: 5%;
        padding: 0;
        overflow-y: hidden;
        float: left;
        /*border: 2px solid #4764AF;*/
        transition: top 0.2s ease-in-out;
    }

    .storitev2{
        width: 42%;
        margin-top: 10%;
        height: 40%;
        overflow-y: hidden;
        float: left;
        /*border: 2px solid #4764AF;*/
        transition: top 0.2s ease-in-out;
    }

    .storitev3{
        width: 45%;
        margin-top: 10%;
        height: 40%;
        margin-left: 27.5%;
        margin-right: 27.5%;
        padding: 0;
        overflow-y: hidden;
        float: left;
        /*border: 2px solid #4764AF;*/
        transition: top 0.2s ease-in-out;
    }

    .storitev1 h4, .storitev2 h4, .storitev3 h4{
        font-size: 14px;
        line-height: 1px;
        margin-top: 0;
        height: 20px;
    }

    .storitev1 h4 span, .storitev2 h4 span, .storitev3 h4 span{
        width: 90%;
        font-size: 11px;
        text-decoration: underline;
    }

    .storitev1 p,.storitev2 p, .storitev3 p{
        width: 95%;
        margin-right: 2.5%;
        margin-left: 2.5%;
        font-size: 11px;
    }

    .napis-izobraz{
        position: absolute;
        left: 0;
        bottom: 0;
        width: 100%;
        height: 200px;
        overflow-y: hidden;
        text-align: center;
        color: #fff;
        background-color: rgba(71, 100, 175, 1);
    }

    .napis-izobraz #p1{
        width: 90%;
        float: left;
        margin-left: 5%;
        margin-right: 5%;
        margin-top: 35px;
        font-size: 11px;
    }

    .napis-izobraz img{
        width: 100px;
        height: 100px;
        float: left;
        margin-left: 3%;
        margin-top: 45px;
        display: none;
    }

    .napis-izobraz #p2{
        width: 90%;
        float: left;
        margin-left: 5%;
        margin-right: 5%;
        margin-top: 10px;
        font-size: 11px;
    }

    .parallax-4{
        height: 100%;
    }

    .kontakt {
        position: relative;
        left: 0;
        width: 100%;
        height: 275px;
        bottom: 0;
        text-align: center;
        background: rgba(255, 255, 255, 0.9);
    }

    #contact{
        width: 80%;
        margin-top: 5%;
        margin-left: 10%;
        margin-right: 10%;
        line-height: 30px;
        letter-spacing: 2px;
    }

    .naslovni-podatki{
        text-align: center;
        height: 60%;
        width: 40%;
        color: #4764AF;
        float: left;
        overflow-y: none;
        margin-left: 5%;
        margin-top: 1%;
    }

    .kontaktni-podatki{
        text-align: center;
        color: #4764AF;
        height: 60%;
        width: 40%;
        float: left;
        overflow-y: none;
        margin-left: 10%;
        margin-top: 1%;
    }

    .naslovni-podatki h4, .kontaktni-podatki h4{
        font-size: 12px;
    }

    .naslovni-podatki p, .kontaktni-podatki p{
        font-size: 10px;
    }

    footer{
        height: 200px;
        margin-top: 0;
    }

    .footer-container{
        margin-top: 5%;
        font-size: 12px;
    }

}


@media screen and (max-width: 330px){

    /*phone mode*/
    .mages{
        width: 80%;
        height: 85%;
        margin-left: 10%;
        margin-right: 10%;
        margin-top: 15%;
    }

    .o-nas{
        height: 600px;
        width: 100%;
    }

    .storitve{
        width: 100%;
        height: auto;
        margin-top: 5%;
    }

    .storitev1{
        width: 42%;
        margin-top: 5%;
        height: 40%;
        margin-left: 5%;
        padding: 0;
        overflow-y: hidden;
        float: left;
        /*border: 2px solid #4764AF;*/
        transition: top 0.2s ease-in-out;
    }

    .storitev2{
        width: 42%;
        margin-top: 5%;
        height: 40%;
        overflow-y: hidden;
        float: left;
        /*border: 2px solid #4764AF;*/
        transition: top 0.2s ease-in-out;
    }

    .storitev3{
        width: 45%;
        margin-top: 5%;
        height: 40%;
        margin-left: 27.5%;
        margin-right: 27.5%;
        margin-bottom: 30px;
        padding: 0;
        overflow-y: hidden;
        float: left;
        /*border: 2px solid #4764AF;*/
        transition: top 0.2s ease-in-out;
    }

    .napis-izobraz{
        position: absolute;
        left: 0;
        bottom: 0;
        width: 100%;
        height: 165px;
        overflow-y: hidden;
        text-align: center;
        color: #fff;
        background-color: rgba(71, 100, 175, 1);
    }

    .napis-izobraz #p1{
        width: 90%;
        float: left;
        margin-left: 5%;
        margin-right: 5%;
        margin-top: 12px;
        font-size: 11px;
    }

    .napis-izobraz img{
        width: 100px;
        height: 100px;
        float: left;
        margin-left: 3%;
        margin-top: 45px;
        display: none;
    }

    .napis-izobraz #p2{
        width: 90%;
        float: left;
        margin-left: 5%;
        margin-right: 5%;
        margin-top: 10px;
        font-size: 11px;
    }

    .parallax-4{
        height: 100%;
    }

    .kontakt {
        position: relative;
        left: 0;
        width: 100%;
        height: 275px;
        text-align: center;
        background: rgba(255, 255, 255, 0.9);
    }

    #contact{
        width: 90%;
        margin-left: 5%;
        margin-right: 5%;
        line-height: 30px;
        letter-spacing: 3px;
    }

    .naslovni-podatki{
        text-align: center;
        height: 60%;
        width: 40%;
        color: #4764AF;
        float: left;
        overflow-y: none;
        margin-left: 5%;
        margin-top: 1%;
    }

    .kontaktni-podatki{
        text-align: center;
        color: #4764AF;
        height: 60%;
        width: 40%;
        float: left;
        overflow-y: none;
        margin-left: 10%;
        margin-top: 1%;
    }

    .naslovni-podatki h4, .kontaktni-podatki h4{
        font-size: 10px;
    }

    .naslovni-podatki p, .kontaktni-podatki p{
        font-size: 8px;
    }

    footer{
        margin-top: 0;
        height: 200px;
    }

    .footer-container{
        margin-top: 5%;
    }

    .footer-container p{
        font-size: 12px;
    }

}