@import url('https://fonts.googleapis.com/css?family=Fira+Sans+Extra+Condensed');

@font-face {
    font-family: 'Aprior';
    src: url(../fonts/aprior_normal-webfont.woff) format('woff'),
         url(../fonts/aprior_normal-webfont.woff2) format('woff2');
    font-weight: normal;
    font-style: normal;
}

html {
    font-family: ProximaNova,-apple-system,BlinkMacSystemFont,"Segoe UI",Roboto,"Helvetica Neue",Arial,sans-serif;
}

body {
    background: #f9f9f9;
    font-size: 14px;
    line-height: 1.3em;
    color: #333
}
.w{
    min-height: 100%;
    margin-bottom: -60px;
}
figure{margin: 0}
section {
    background: #f9f9f9;
}

section.first {
    background: transparent;
}
section.start{
  margin-top:170px;
}
a{color: #333}

h2 {
    font-size: 32px;
    font-weight: normal;
    margin-bottom: 20px;
    color: #333;
    line-height: 1em
}
.animated h2{background: #f44336;
    color: #fff;
    padding: 5px 14px;}
.summary{padding: 5px 14px; background: #777; color: #eee;}
h3 {font-size: 24px;}
h4{font-size: 18px;}
.md {
    font-size: 18px;
    font-style: italic;
    font-family: serif;
    line-height: 20px;
}
ul{padding: 18px;}
.list ul a, .list p a{text-decoration: none; border-bottom: 1px dashed #000; color: #000}
q {
    quotes: "“" "”";
}

header {
    z-index: 1
}

header.pfx>div {
    background-color: #eae6e7;

}

nav {
    z-index: 1
}

.nav i.zmdi {
    font-size: 24px;
    cursor: pointer;
}
li.dropdown.active{
  background: #d3d3d3;
}
.redcolor {
    color: #f44336;
}

p {
    margin-bottom: 10px;
}

.hi .big {
    font-size: 18px;
    font-style: italic;
    font-family: serif;
    line-height: 20px;
}
#logo{width: 107px;}
#menu a {
    color: #777;
}
#menu a:hover {
    color: #000;
}
#menu ul li ul li{display: block; width: 100%; float: left;}
.name {
    font-weight: normal;
    color: #fff;
    z-index: 3
}

.portret {
    border-radius: 50%;
    padding: 3px;
    background: #eae6e7
}

.intro {
    font-size: 0.9em;
    line-height: 1.2em;
    border-left: 2px solid #777;
}

.intro strong {
    color: #777;
    font-weight: 300;
}

h1,h2,h3, nav {
    font-family: 'Fira Sans Extra Condensed', sans-serif;
    font-weight: normal;
}

.name, h1 {
    font-size: 25px;
}

.name {
    padding: 25px 14px;
    background: #f44336;
    font-family: 'Aprior'
}

.dropdown .zmid {
    cursor: pointer;
}

li.dropdown {
    padding-right: 18px;
}
ul.nav.top li.active ul {
    background: #d3d3d3;
    display: block;
    position: absolute;
    width: 250px;
    padding: 20px 0;
}

.mbut {
    display: inline-flex;
    line-height: 23px;
    color: #777;
    font-weight: bolder;
    border: 2px solid #f44336;
    border-radius: 3px;
}

#foto .pab {
    top: 240px;
}

#foto .more.pab {
    top: 75%;
}

#foto img {
    z-index: -1;
    width: 100%;
}

#foto  {
    font-size: 12px;

    color: #333
}

#foto .zmdi {
    font-size: 12px;
    line-height: 21px;
}

#foto a .zmdi-chevron-down.big {
    font-size: 64px;
    color: #f44336;
}

section.sec {
    padding-top: 80px;
}


.text {
    background: #fff;
}

.right p {
    font-size: }
section{width: 100%;
    float: left;
}

#work .w25 span {
    text-transform: uppercase;
    font-size: 12px;
    font-weight: bold;
}

.hi {
    color: #fff;
    background: #607D8B;
}

.hi h2 {
    color: #fff;
}

.prof {
    background: #f9f9f9
}

strong.big {
    font-size: 4em;
    line-height: 1.5em;
    color: #f44336;
}

#work .zmdi.big {
    font-size: 3em;
    color: #777
}
#work .w25{padding: 70px 0;}
#work .w25 a {
    background: #708090;
    color: #fff
}

#work .w25 a:hover {
    background: #f44336;
    color: #fff;
    box-shadow: 1px 1px 2px #777
}

#cms strong {
    font-size: 1.8em;
    line-height: 32px;
    font-weight: normal;
    color: #777
}

.on {
    display: block;
    height: 24px;
}

.off {
    display: none;
}

.open .on {
    display: none;
    
}

.open .off {
    display: block;
    height: 24px;
}
/*zapisi*/
.list{margin:0 107px; }
.list article{background: #fff;}
.big .zmdi, a.big{font-size: 32px; color: #777}
#lhc_status_container_page{background: rgba(76, 175, 80, 0.17); font-size:16px;}
#online{    background: url(/img/bric.png);
}
ul.pagination li a{ padding: 10px 15px; float: left; margin-right: 5px; border: none; text-align: center;}
ul.pagination li.active a{ background: #eae6e7; color: #f44336 }
a.title{color: #333; text-decoration: none;
}
.pt{background: #fff;
}
.article{margin-bottom: 60px;}
footer{background:#708090; height: 60px;}
@media (min-width:1025px) {
    .right {
        margin-left: 250px;
    }
}

@media (max-width:1024px) {
    .list{margin:0 20px; }
    .ws900 {
        width: 90%;
    }

    .right,.menu {
        width: 100%;
        min-width: 250px;
    }

    header .dn {
        display: block;
    }

    .header {
        padding: 0
    }

    .menu {
        position: fixed;
        background: #dcdcdc;
        width: 260px;
        left: -260px;
        margin-top: 80px;
    }
    ul.nav.top li.active ul{display: block; position: relative;width: 250px; padding:0;}

    .w90,.w75 {
        width: inherit;
    }
#folio_on .pab{margin: 0;}
    #menu {
        margin: 0px;
        height: 100vh;
        background: #f5f5dc;
    }

    .navi {
        height: 100%;
        width: 250px;
        left: 0;
        top: 0;
        z-index: 2;
        position: fixed;
        overflow-y: auto;
        overflow-x: visible;
        transform: translate(-250px,0);
        transition: 0.3s;
    }

    .navi.active {
        transform: translate(0,0);
        transition: 0.6s;
    }

    #menu ul.nav {
        margin-top: 20vh;
    }

    #menu ul.nav li {
        display: block;
        float: left;
        width: 100%;
    }

    #menu .dropdown {
        padding-right: 0
    }

    .text .ws250 {
        width: 100%;
    }

    .m40 {
        margin: 25px;
    }

    .w25 {
        width: 50%;
    }
}

@media (max-width:760px) {
    #foto {
        margin-top: 80px;
    }

    .ws600 {
        width: 90%;
    }
    .w50{width: 100%;}
}

@media (max-width:500px) {
    #foto {
        margin-top: 151px;
    }

    .intro {
        position: absolute;
        left: 0;
        width: auto;
        display: block;
        padding: 5px;
        bottom: 0;
        margin-left: 15px;
    }

    #foto img {
        position: inherit;
    }

    section.first {
        margin-top: 0;
    }

    .w25 {
        width: 100%;
    }

    section.sec {
        padding-top: 160px;
    }

    .intro strong {
        font-size: 14px;
        line-height: 1.3em;
        margin-bottom: 10px;
        min-width: 220px;
    }

    header .w90>div.full {
        height: 150px;
    }
}
}

@media (max-width:400px) {
    h2 {
        font-size: 24px;
    }
}
