@font-face {
    font-family: 'open_sanslight';
    src: url('../fonts/opensans-light-webfont.eot');
    src: url('../fonts/opensans-light-webfont.eot?#iefix') format('embedded-opentype'),
    url('../fonts/opensans-light-webfont.woff2') format('woff2'),
    url('../fonts/opensans-light-webfont.woff') format('woff'),
    url('../fonts/opensans-light-webfont.ttf') format('truetype'),
    url('../fonts/opensans-light-webfont.svg#open_sanslight') format('svg');
    font-weight: normal;
    font-style: normal;
}

@font-face {
    font-family: 'open_sansregular';
    src: url('../fonts/opensans-regular-webfont.eot');
    src: url('../fonts/opensans-regular-webfont.eot?#iefix') format('embedded-opentype'),
    url('../fonts/opensans-regular-webfont.woff2') format('woff2'),
    url('../fonts/opensans-regular-webfont.woff') format('woff'),
    url('../fonts/opensans-regular-webfont.ttf') format('truetype');
    font-weight: normal;
    font-style: normal;
}

* {
    padding: 0;
    margin: 0;
}


body {
    background: #828282;
    text-align: center;
    opacity: 0;
    height: 100%;
    justify-content: center;
    align-items: center;
    display: flex;
    flex-direction: column;
    position: relative;
}


ul {
    list-style-type: none;
    margin: 0 !important;
    padding: 0 !important;
}

#container {
    width: 100%;
}

@media only screen and (min-width: 992px) {
    #container {
        min-width: 960px;
    }
    .container {
        width: 960px;
    }
}

.container .row h2 {
    display: block;
    text-align: left;
    font-family: open_sanslight;
    line-height: 20px;
    font-weight: 400;
    font-size: 30px;
    color: #fff;
    padding: 4px 0 34px 0;
}

.portrait .container .row h2 {
    padding: 1em 0;
}
.portrait .container .row#portfolio h2 {
    text-align: center;
}

.portrait .container .row#portfolio {
    padding-bottom: 4em;
}


/*#overlay00 { position: absolute; left:0; top:0; z-index: 102; width: 100%; height: 100%; background: url(../img/dalsi/bg.png) 0 0 no-repeat;}*/
.overlay01 {
    position: absolute;
    left: 0;
    bottom: 0;
    z-index: 100;
    width: 100%;
    height: 349px;
    background: url('img/dalsi/overlay-01.png') repeat-x 0 100%;
}

.overlay02 {
    position: absolute;
    right: 233px;
    bottom: 41px;
    z-index: 105;
}

.overlay03 {
    position: fixed;
    left: 0.5em;
    bottom: 0.5em;
    z-index: 300;
}

.overlay04 {
    position: absolute;
    width: 961px;
    height: 460px;
    left: 358px;
    bottom: 342px;
    z-index: 115;
}
.overlay05 {
    position: fixed;
    z-index: 130;
    right: 1em;
    bottom: 0.5em;
}

.content-all {
    overflow: auto;
    position: absolute;
    z-index: 115;
    height: 525px;
}

.portrait .content-all h2 {
    text-align: center;
}

@media only screen and (min-width: 576px) {

    .overlay05 {
        right: 44px;
    }
    .content-all {
        bottom: 160px;
    }
}





.content li {
    float: left;
    margin: 0;
    margin-right: 39px;
    margin-left: 0;
}

.content li.photos {
    float: left;
    margin: 0 2px 0 0;
}

.content li:first-of-type {
    margin-left: 0;
}

.content li:last-of-type {
    margin-right: 0;
}

.content li img {
    cursor: pointer;
}

.content li h4 {
    font-family: open_sanslight, sans-serif;
    color: rgba(255, 255, 255, 0.7);
    font-size: 0.75em;
    font-weight: 700;
    line-height: 1.25em;
    text-align: left;
    display: block;
    margin: 1.5em 0 0 1px;
}

.content li p {
    font-family: open_sanslight, sans-serif;
    color: rgba(255, 255, 255, 0.7);
    font-size: 0.75em;
    font-weight: 400;
    text-align: left;
    display: block;
    margin: 2px 0 0 1px;
}

.content li a {
    font-family: open_sanslight, sans-serif;
    color: rgba(255, 255, 255, 0.7);
    font-size: 0.75em;
    font-weight: 400;
    text-align: left;
    display: block;
    margin: 14px 0 41px 1px;
}

.content li:hover h4,
.content li:hover p,
.content li:hover a {
    color: rgba(255, 64, 64, 1);
}

.content.cp ul {
    margin: 0 0 10px 0;
}

.portrait .content {
    padding: 0 0 6em 0;
}

.portrait .content ul {

}

.portrait .content li {
    margin: 0;
    padding: 0 0 1em 0;
}
.portrait .content li h4 {
    margin: 0.5em 0 0 1px;
}


#overlay04 h2, .content-all h2 {
    display: block;
    text-align: left;
    font-family: open_sanslight, sans-serif;
    line-height: 1.25em;
    font-weight: 400;
    font-size: 1.875em;
    color: #ffffff;
    padding: 4px 0 34px 0;
    margin-left: -2px;
}

.content-all h2.nadpis1 {
    float: left;
}

.content-all h2.nadpis2 {
    float: left;
    margin-left: 11px;
}

.portrait .content-all .nadpisy {
    display: block;
    width: 297px;
}

.txt1 {
    float: left;
    text-align: right;
    display: block;
    padding: 1.25em 0.9375em;
    font-family: open_sanslight, sans-serif;
    color: rgba(255, 255, 255, 0.4);
    font-size: 0.875em;
    font-weight: 400;
    line-height: 1.25em;
}

.txt2 {
    font-family: open_sanslight, sans-serif;
    font-size: 1.5em;
    font-weight: 400;
    line-height: 1.25em;
    color: #ffffff;
    margin: 0 1em 0 0;
    text-decoration: none;
    display: inline-block;
    padding: 0;
    text-shadow: #000 0 0 5px;

}

@media only screen and (min-width: 992px) {
    margin: 0 1.25em 0 0;
}

.txt2:active,
.txt2:hover,
.txt2.active {
    color: #ff2020;
}

.txt3 {
    font-family: open_sanslight, sans-serif;
    margin: 0 0 2px 0;
    font-size: 0.9375em;
    font-weight: 400;
    line-height: 1.625em;
    color: #ffffff;
    text-align: left;
    display: block;
}

.txt3.b {
    font-weight: 600;
}

.txt4 {
    font-family: open_sanslight, sans-serif;
    font-size: 1em;
    font-weight: 400;
    height: 14px;
    margin: -5px 0 22px 0px;
    color: #ffffff;
    text-align: left;
    display: block;
}

.txt4.lh {
    letter-spacing: 8px;
}

a:hover.txt4 {
    color: #ff351a;
}

.txt5 {
    font-family: open_sanslight, sans-serif;
    font-size: 0.75em;
    font-weight: 400;
    color: #ffffff;
    text-align: right;
    display: block;
    padding: 0.2em;
}

.clearer {
    clear: both;
}

#logo {
    display: block;
    background: url(../img/dalsi/logo.png) 0 24px no-repeat;
    width: 130px;
    height: 52px;
    color: #000;
    font-family: open_sansregular;
    font-size: 0.8125em;
    font-weight: bold;
    letter-spacing: 15px;
    text-decoration: none;
}

#logo:hover {
    background: url(../img/dalsi/logo-hover.png) 0 24px no-repeat;
    color: #ff2020;
}

.projekty {
    display: block;
    cursor: pointer;
    text-decoration: none;
}

.projekty img {
    width: 17.3125em;
    height: 18.5625em;
    border: solid 1px rgba(255, 255, 255, 0.2);
    margin: 0.5em;
}

.projekty:hover img {
    border: solid 1px rgba(255, 0, 0, 0.2);
}

#design.projekty {
    margin: 0;
}

.projekty > span {
    display: block;
    text-align: center;
    color: rgba(255, 255, 255, 1);
    font-family: open_sanslight, sans-serif;
    font-size: 1.75em;
    font-weight: 400;
    line-height: 1.25em;
    margin-top: -1.5em;
    z-index: 150;
    width: 276px;
}

#architektura > span {
    padding-left: 6px;
    letter-spacing: 6px;
}

#interier > span {
    padding-left: 17px;
    letter-spacing: 17px;
}

#design > span {
    padding-left: 25px;
    letter-spacing: 25px;
}


#href-projekty:hover .nadpis1 {
    color: #ff2020;
}

a.projekty .hover,
a:hover.projekty .nohover,
.content li .hover,
.content li:hover .nohover {
    display: none;
}

a.projekty .nohover,
a:hover.projekty .hover,
.content li .nohover,
.content li:hover .hover {
    display: block;
}


.content-all li .ram {
    position: absolute;
    display: block;
    margin: 0;
    padding: 0;
    height: 297px;
    background: #000;
    opacity: 0;
    z-index: 200;
    cursor: pointer;
}

.atelier {
    width: 520px;
    margin: 15px 0 0 0;
    padding: 8px 0 0 0;
}

.kontakt {
    width: 480px;
    margin: 15px 0 0 0;
}

.atelier img {
    float: left;
    margin: 14px 0 0 4px;
}

.kontakt img {
    float: left;
}

#foto {
    margin-top: 0;
    margin-right: 15px;
}

.topS {
    margin-top: 15px;
}

.topM {
    margin-top: 45px;
}

.fleft {
    float: left;
    margin: 0 0 0 30px;
}

.popis {
    font-family: open_sanslight, sans-serif;
    color: #fff;
    z-index: 300;
    text-align: left;
    padding: 1em;
    position: absolute;
    top:0;
    left:0;
}

.popis h2 {
    font-size: 1.125em;
    padding: 0 0 5px 0;
    font-weight: 600;
}

.popis h3 {
    font-size: 1em;
    padding: 0 0 4px 0;
    font-weight: 400;
}

.popis article {
    font-family: open_sanslight, sans-serif;
    padding: 10px 0 3px 0;
    font-size: 0.8125em;
}

.fotorama {
    top: 0em;
    position: absolute;
}

.zavrit {
    position: absolute;
    width: 24px;
    height: 24px;
    background-image: url(../img/dalsi/zavrit.png);
    background-position: 0 0;
    background-repeat: no-repeat;
    opacity: 1;
    right: 0.3em;
    top: 0.5em;
    z-index: 999999;
    cursor: pointer;
}

.zavrit:hover {
    background-position: 0 -24px;
    opacity: 0.8
}

/* */

#mCSB_1_scrollbar_horizontal {
    width: 900px;
    margin-left: 0;
    margin-top: 25px;
    opacity: 0;
}

/* 1st scrollbar dragger style... */
#mCSB_1 .mCSB_1_scrollbar .mCSB_dragger .mCSB_dragger_bar {
    background-color: #fff;
    background-color: rgba(255, 255, 255, 0.80);
    filter: "alpha(opacity=80)";
    -ms-filter: "alpha(opacity=80)";
}

#mCSB_1 .mCSB_scrollTools .mCSB_dragger:hover .mCSB_dragger_bar {
    background-color: #fff;
    background-color: rgba(255, 255, 255, 0.90);
    filter: "alpha(opacity=90)";
    -ms-filter: "alpha(opacity=90)";
}

#mCSB_1 .mCSB_scrollTools .mCSB_dragger:active .mCSB_dragger_bar,
#mCSB_1 .mCSB_scrollTools .mCSB_dragger.mCSB_dragger_onDrag .mCSB_dragger_bar {
    background-color: #fff;
    background-color: rgba(255, 255, 255, 1);
    filter: "alpha(opacity=100)";
    -ms-filter: "alpha(opacity=100)";
}

#mCSB_1 .mCSB_dragger {
    width: 297px;
}

#supersized {
    position: absolute !important;
}