#masthead section{
    border-bottom: none;
}
#category-switch{
    /*height: 30px;*/
}
#category-switch a{
    display: inline-block;
    margin: 0 1em;
    font-size: 1rem;
    text-transform: uppercase;
}
#category-switch a:hover, #category-switch a.active{
    color: #4a95d6;
}
#portfolio-head{
    position: fixed;
    left: 0;
    right: 0;
    top: 40px;
    background: #fff;
    z-index: 20;
    padding-bottom: 0;
}
    #portfolio{
        position:relative;
        text-align: center;
        font-size: 0;
        margin: 0px auto 0;
        height: 2000px;
    }
    #portfolio .virgin{
        opacity: 0.01;
        
    }
    #portfolio > .portfolio-obj{
        display: inline-block;
        position: absolute;
        margin: 0px 0 47px;
        width: 265px;
        min-height: 253px;
        background-color: #f6f6f588;
        overflow: hidden;
        -webkit-transition: all 0.6s ease;
        transition: all 0.6s ease;
        z-index: 2;
    }
    #portfolio > .portfolio-obj.hidden{
        opacity: 0;
        z-index: 0;
        pointer-events: none;
    }
    #portfolio > .portfolio-obj > .text{
        position: absolute;
        left: 0;
        right: 0;
        bottom: 0;
        top: 0;
        font-size: 14px;
        text-align: left;
        color: #fff;
        padding: 1rem;
        opacity: 1;
        color: rgba(255,255,255,0);
        -webkit-transition: all 0.5s ease;
        transition: all 0.5s ease;
        z-index: 3;
    }
    #portfolio > .portfolio-obj > .text > *{
        position: relative;
        z-index: 2;
    }
    #portfolio > .portfolio-obj img{
        width: 100%;
    }
    #portfolio > .portfolio-obj > .text:before{
        content: "";
        position: absolute;
        left: -100%;
        width: 100%;
        bottom: 0;
        top: 0;
        -webkit-transition: all 0.5s ease;
        transition: all 0.5s ease;
        z-index: 0;
        background: #4a95d6;
    }
    #portfolio > .portfolio-obj:hover > .text:before{
        left: 0;
    }
    #portfolio > .portfolio-obj > .svg{
        position: absolute;
        z-index: 2;
        top: 10%;
        left: 25%;
        right: 25%;
        bottom: 10%;
    }
    #portfolio > .portfolio-obj:not(.perzist) > .overlay{
        position: absolute;
        z-index: 1;
        top: 0%;
        left: 0%;
        right: 0%;
        bottom: 0%;
        background: rgba(0,0,0,0.2);
    }

    #portfolio > .portfolio-obj > .link_title{
        position: absolute;
        z-index: 2;
        top: 50%;
        left: 5%;
        right: 5%;
        color: #fff;
        -webkit-transform: translateY(-50%);
        transform: translateY(-50%);
        font-size: 30px;
    }
    .small{
        font-size: 0.725em;
    }
    #portfolio > .portfolio-obj.perzist > .svg{
        z-index: 4;
    }
    #portfolio > .portfolio-obj.perzist > .svg svg{
        width: 100%;
        height: 100%;
    }
    #portfolio > .portfolio-obj.perzist:hover > .svg svg *{
        fill: #ffffff;
    }
    #portfolio > .portfolio-obj:hover > .text{
        opacity: 0.99;
        color: #fff;
    }
    .portfolio-obj .info{
        font-size: 12px;
    }
    .portfolio-obj .category{
        font-size: 12px;
        text-align: right;
    }
    .portfolio-obj.category-27 .title, .portfolio-obj.category-5 .title{
        color: #fff;
        text-shadow: 0 0 16px rgba(0,0,0,0.8);
    }
    .portfolio-obj .title{
        font-size: 16px;
        margin-bottom: 0.6em;
        transition:all 0.3s ease;
    }
    .portfolio-obj:hover .title{
        text-shadow: 0 0 0 rgba(0,0,0,0) !important;
    }
    .portfolio-obj.ppl .title{
        font-size: 24px;
        text-transform: uppercase;
    }
    
    #portfolio > .portfolio-obj > .text > .foot{
        position: absolute;
        bottom: 1em;
        left: 1em;
    }
    #portfolio > .portfolio-obj.perzist .title{
        display: none;
    }
    #portfolio > .portfolio-obj.perzist .info{
        position: absolute;
        left: 1rem;
        bottom: 1rem;
        right: 1rem;
    }

    .entry-content h1, h1 {
        font-size: 50px;
        line-height: 54px;
        font-weight: bold;
        margin: 0rem auto;
        margin-top: 2rem;
    }
    

    @media screen and (max-width: 600px){
        #portfolio > .portfolio-obj{
            min-height: 130px;
            width: 132px;
            height: auto !important;
        }
        #portfolio > .portfolio-obj > .link_title{
            font-size: 16px;
        }
        #portfolio > .portfolio-obj > .text > .info, #portfolio > .portfolio-obj > .text > .perex{
            display: none;
        }
        .entry-content h1, h1 {
            font-size: 36px;
            line-height: 32px;
        }
    }


    #our-people{
        font-size: 16px;
        margin: auto;
        max-width: 1100px;
        display: none;
    }
    .ppl-container{
        padding-bottom: 5em;
        max-width: 62%;
        margin-left: 19%;
        -webkit-transition: all 0.5s ease;
        transition: all 0.5s ease;
        font-size: 18px;
    }
    .ppl-container .text strong{
        color: var( --e-global-color-primary );
    }
    .ppl-container.hidden2, .ppl-container.hidden{
        display: none;
    }
    .ppl-container img{
        width: 90%;
        max-width: 520px;
    }
    .ppl-container h4{
        padding: 0.6em 0 0;
        font-weight: 100;
        text-transform: uppercase;
    }
    .halved > div{
        float: left;
        left: 66%;
        margin: 0;
        box-sizing: border-box;
        -webkit-box-sizing: border-box;
    }
    .halved > div:last-child{
        width: 34%;
    }
    .halved:after{
        content: "";
        display: block;
        clear: both;
    }


   .ppl-container h4 + p{
        padding-bottom: 1.4em;
    }
    #subcat{
        display: none;
        position: fixed;
        top: 280px;
        right: 50%;
        margin-right: 200px;
        width: 320px;
        opacity: 0;
        font-size: 2rem;
        -webkit-transition: all 0.5s ease;
        transition: all 0.5s ease;
    }
    #subcat > div{
        padding: 0.2em 0;
        border-bottom: 1px solid;
    }
    #subcat a{
        opacity: 0.6;
    }
    #subcat a.active, #subcat a:hover{
        opacity: 1;
    }
    #subcat.active{
        opacity: 1;
        display: block;
    }
    #subcat.active ~ .ppl-container{
        margin-left: 38%;
    }
    
    #portfolio-head .subcat-dropdown a{
        display: block;
        overflow: hidden;
        max-height: 0;
        transition: all 0.25s ease;
        white-space: nowrap;
        padding: 0 2em;
        background: #fff;
    }
    #portfolio-head .subcat-dropdown .container{
        position: absolute;
        top: 0;
        left: 0;
    }
    #portfolio-head .subcat-dropdown{
        display: inline-block;
        vertical-align: top;
        text-align: left;
        position: relative;
    }
    #portfolio-head a.active + .subcat-dropdown a{
        max-height: 2em;
        padding: 0 2em 0.5em;
    }
    #portfolio-head a{
        vertical-align: top;
    }
    #portfolio{
        margin-top: unset !important;
        /*margin-top: -100px;*/
    }
    @media screen and (max-width: 768px){
		/* SDIGI Uprava z max height */
		.entry-content h2, h2 {
            font-size: 36px;
            line-height: 40px;
            margin-bottom: -1rem;
            margin-top: 1rem;
        }
        #portfolio-head .subcat-dropdown{
            display: block;
            text-align: center;
        }
        #portfolio-head .subcat-dropdown .container{
            position: relative;
        }
        #portfolio-head a.active + .subcat-dropdown{
            padding-top: 1.6em;
        }
        #subcat.active ~ .ppl-container{
            margin: auto;
        }
        #subcat.active{
            display: none;
        }
    }

    @media screen and (max-height: 760px){
        #portfolio{
            margin-top: -66px !important;
            /*margin-top: -100px;*/
        }
        #portfolio-head{
            padding: 0.4rem 0;
            top:60px;
        }
        #subcat{
            font-size: 1.4rem;
            top: 210px;
        }
    }
    @media screen and (max-width: 600px){
        #portfolio > .portfolio-obj.ppl{
            overflow: visible;
        }
        #portfolio > .portfolio-obj.ppl .text:before{
            display: none;
        }
        #portfolio > .portfolio-obj.ppl > .text{
            bottom: auto;
            top: 100%;
            padding: 0;
            color: #000;
        }
        .portfolio-obj.ppl .title{
            font-size: 16px;
            line-height: 16px;
            margin: 0.3em 0;
        }
        .ppl-container{
            max-width: 88% !important;
        }
        #portfolio > .portfolio-obj > .text > .info{
            display: block;
        }
        .elementor-element-30e75d2{
            padding-bottom:3em !important;
        }
    }

 