/*
Theme Name: Flatsome Child
Description: This is a child theme for Flatsome Theme
Author: UX Themes
Template: flatsome
Version: 3.0
*/

/*************** ADD CUSTOM CSS HERE.   ***************/
body #main{
    background-color: transparent;
    background-repeat: no-repeat;
}
html{
    background: rgb(241,245,244);
    background: linear-gradient(180deg, rgba(241,245,244,1) 0%, rgba(255,255,255,1) 100%);
    background-repeat: no-repeat;
}
body #wrapper{
    background-color: transparent;
    background-repeat: no-repeat;
}
#footer{
    display: none;
}
.home .container{
    padding-left: 60px;
    padding-right: 60px;
}
.home .col{
    padding: 0 60px 60px;
}
.ah-headline, .ah-words-wrapper{
    transition: 0.2s all;
}
.ah-words-wrapper i{
    font-style: normal !important;
}

.storitve h2{
    width: auto;
    font-size: 5.6rem;
    line-height: 6.6rem;
    margin-bottom: 0;
}
.storitve h2  > span:nth-child(1), .storitve h2  > span:nth-child(2), .storitve h2  > span:nth-child(3){
    color: #42716E;
    transition: 0.4s all;
}
.storitve h2  > span:nth-child(1):hover, .storitve h2  > span:nth-child(2):hover, .storitve h2  > span:nth-child(3):hover{
    color: #15504c;
}
.storitve h2  > span:nth-child(4), .storitve h2  > span:nth-child(5), .storitve h2  > span:nth-child(6){
    color: #E6B07B;
    transition: 0.4s all;
}
.storitve h2  > span:nth-child(4):hover, .storitve h2  > span:nth-child(5):hover, .storitve h2  > span:nth-child(6):hover{
    color: #e19e5b;
}
.storitve h2 span {
    display: block; /* Postavi besede eno pod drugo */
    position: relative;
}
.storitve h2 span span {
    display: block;
    transform: translateX(-100%); /* Začetna pozicija črk */
}

.home .banner .container{
    max-width: 100%;
}
#kontakt{
    position: fixed;
    z-index: 9999;
    bottom: 0;
    right: 60px;
    background: #15504c;
    padding: 15px;
    border-top-right-radius: 4px;
    border-top-left-radius: 4px;
    color: #FFF;
    font-weight: bold;
    letter-spacing: 1px;
    font-size: 1.2rem;
    line-height: initial;
    transition: 0.4s all;
}
#kontakt:hover{
    background: #e19e5b;
}
.kontakt-popup{
    display: none;
    z-index: 99999;
    position: fixed;
    top: 0;
    right: 0;
    max-width: 600px;
    height: 100%;
    box-shadow: 0 0 10px 4px #00000040;
    align-items: flex-start;
    overflow-y: auto;
}
.kontakt-popup .col{
    padding: 0 40px 40px;
}
.select-resize-ghost, .select2-container .select2-choice, .select2-container .select2-selection, input[type=date], input[type=email], input[type=number], input[type=password], input[type=search], input[type=tel], input[type=text], input[type=url], select, textarea{
    box-shadow: none;
    border-radius: 4px;
}
input[type=email]:focus, input[type=number]:focus, input[type=password]:focus, input[type=search]:focus, input[type=tel]:focus, input[type=text]:focus, select:focus, textarea:focus{
    box-shadow: none;
}
.znak{
    position: fixed;
    bottom: 20px;
    right: 20px;
    max-width: 600px;
    opacity: 0.03;
    z-index: -1;
}
.znak-sporocilo{
    position: absolute;
    top: 15px;
    left: 15px;
    max-width: 200px;
    opacity: 0.1;
}
@media only screen and (max-width: 1180px) {
/*************** ADD MOBILE ONLY CSS HERE  ***************/

    .storitve h2{
        font-size: 3.6rem;
        line-height: 4.6rem;
    }
}
@media only screen and (max-width: 850px) {
    /*************** ADD MOBILE ONLY CSS HERE  ***************/
    #masthead{
        background: #15504c0d;
    }
    .home .container{
        padding-left: 20px;
        padding-right: 20px;
    }
    .home .col{
        padding: 0 20px 20px;
    }
    .storitve h2{
        font-size: 2.8rem;
        line-height: 3.8rem;
    }
    #kontakt{
        right: 20px;
        font-size: 1rem;
        padding: 10px;
    }
    .znak{
        bottom: -30px;
        right: -60px;
        max-width: 300px;
    }
    /*.kontakt-popup{
        align-items: flex-start;
    }*/
    #masthead .show-for-medium.flex-left{
        display: none;
    }
}
@media only screen and (max-width: 490px) {
    /*************** ADD MOBILE ONLY CSS HERE  ***************/
   #logo{
       width: 200px !important;
   }
    #masthead .mobile-nav .wpml-ls-legacy-list-horizontal img{
        width: 19px;
        height: 13px;
    }
}
