/*
Theme Name: Dan Vojtech
Theme URI:
Author: Studio Kutululu
Author URI: http://www.kutululu.cz/
Description: 
Version: 1.0
License: 
License URI:
Text Domain: danvojtech

*/
* {
	margin: 0;
	padding: 0;
}
html {
    position: relative;
    min-height: 100%;
    height: 100%;
}
body {
    font-family: Montserrat Light;
    font-weight: 400;
    font-style: normal;
    color: #ffffff;
    font-size: 14px;
    line-height: 1.4;
    height: 100%;
    overflow: hidden;
}
body,
body {
  position: fixed;
  overflow: hidden;
  width: 100%;
}
.text-hairline { font-family: 'Montserrat Hairline'; font-weight: 400; font-style: normal; }
.text-light { font-family: 'Montserrat Light'; font-weight: 400; font-style: normal; }
.text-normal { font-family: 'Montserrat'; font-weight: 400; font-style: normal; }
.text-bold { font-family: 'Montserrat Bold'; font-weight: 700; font-style: normal; }
.text-black { font-family: 'Montserrat Black'; font-weight: 400; font-style: normal; }

h1 {
	margin-bottom: 0.6em;
	color: #ffffff;
}
h2, h3 { margin-top: 0.4em;
	margin-bottom: 0.8em;
	color: #ffffff;
}

h1 { font-size: 40px; font-family: 'butlerregular', Georgia-Regular; font-weight: normal;}
h2 { font-size: 100px; font-family: 'butlerregular', Georgia-Regular; font-weight: normal;}
h3 { font-size: 16px; font-family: 'Montserrat Bold'; font-weight: 700; font-style: normal;}
h4 { font-size: 16px; font-family: 'Montserrat Light'; font-weight: 400; font-style: normal;}

.front-page h2 { /* stejny margin padding nahore i dole aby byla cara uprostred */
    margin-top: 0.5em;
    margin-bottom: 0.5em;
    display: inline-block;
}
p {
	margin-bottom: 1em;
    margin-top: 1em;
}

ul {
	margin-bottom: 1em;
}
a, a:link, a:visited {
    color: #ffffff; 
    text-decoration: none;
}

a:hover, a:active, a:focus, a.active {
    text-decoration: none;
    color: #ba005d;
}
a:hover h2, a:active h2, a:focus h2, a.active h2 {
    color: #ba005d;
}

a:focus {outline: none;}

img { border: none; }

p b, p strong {
	font-family: 'Montserrat Bold';
	font-weight: 700;
	font-style: normal;
}

.pull-left, .left {	float: left; }

.pull-right, .right { float: right; }
.hide, .hidden { display: none !important; }
.show-block { display: block !important; }
.show-inline { display: inline !important; }
.show-inline-block { display: inline-block !important; }
.invisible { visibility: hidden; }
.clear { clear: both; }

/* ---=== ===--- */

#body-wrapper {
    background-color: transparent;
    /*url('/wp-content/themes/danvojtech/img/bcg.jpg') 50% 0*/
    background-repeat: no-repeat;
    background-size: cover;
    height: 100%;
    position: relative;
    overflow: auto;
}
#body-wrapper.page-opened {
    overflow: hidden;
}
#body-wrapper.trans {
    webkit-transition: all 0.7s ease-out;
    -moz-transition: all 0.7s ease-out;
    -ms-transition: all 0.7s ease-out;
    -o-transition: all 0.7s ease-out;
    transition: all 0.7s ease-out;
}
#content {
    margin: 5px;
}
#content > .wrapper {
    padding: 80px 0;
}
#logo, #logo:link, #logo:visited {
    background: transparent url('/wp-content/themes/danvojtech/img/DV-logo.png') 0 0 no-repeat;
    display: block;
    position: absolute;
    left: 40px;
    top: 40px;
    height: 81px;
    width: 150px;
    overflow: hidden;
    z-index: 60;
    background-size: 150px 162px;
    /*opacity: 0.2;*/
}
#logo:hover, #logo:active, #logo:focus {
    background-position: 0 -81px;
}
#logo * {
    display: none;
}

.node-page a.node-title {
    display: inline-block;
    line-height: 1;
}
.node-page .node-title.title-left {
    margin-left: 35%;
}
.node-page .node-title.title-right {
    margin-left: 53%;
}

.node-page .node-body {
    display: none;
    /*max-height: 0;*/
    /*transition: height 0.5s ease-out;*/
    background: #000000;
}
.no-js .node-page .node-body {
    display: block;
}
.node-page .node-body.node-opened {
}
#node-page-modal-line {
    position: absolute;
    border-top: 5px solid #ba005d;
    height: 0;
}
#node-page-modal-line.trans {
    webkit-transition: all 0.3s ease-out;
    -moz-transition: all 0.3s ease-out;
    -ms-transition: all 0.3s ease-out;
    -o-transition: all 0.3s ease-out;
    transition: all 0.3s ease-out;
}
#node-page-modal-wrapper {
    position: absolute;    
    left: 0;
    right: 0;
    top: 0;
    height: 0;
    z-index: 50;
}
#node-page-modal-wrapper.opened {
    height: 100%;
    top: -5px !important;
}
#node-page-modal {
    background: #000000;
    position: relative;
    /*position: absolute;
    left: 0;
    right: 0;
    top: 0;*/
    /*transition: all 1s ease-out;*/
    overflow-x: hidden;
    overflow-y: hidden;
    /*height: 0;*/
    border-top: 5px solid #ba005d;
    height: 100%;
}
.staticdiff {
    /*height: 100%;*/
}
.staticdiff.trans, #node-page-modal-wrapper.trans {
    webkit-transition: all 0.7s ease-out;
    -moz-transition: all 0.7s ease-out;
    -ms-transition: all 0.7s ease-out;
    -o-transition: all 0.7s ease-out;
    transition: all 0.7s ease-out;
}
#node-page-modal-wrapper .titleup, #node-page-modal-wrapper .titledown {
    position: absolute;
    margin-left: 0; 
    overflow: hidden;
}
#npm_contentup {
    position: absolute;
    left: 5px; /* #content + >.wrapper */
    right: 5px;
    top: 0;
}
#npm_contentdown {
    position: absolute;
    left: 5px;
    right: 5px;
    bottom: 0;
}
a.node-page-close, a.node-page-close:link, a.node-page-close:visited {
    background: transparent url('/wp-content/themes/danvojtech/img/cross-big.png') 0 0 no-repeat;
    display: block;
    position: fixed;
    top: 5px;
    right: 0;
    width: 54px;
    height: 54px;
    background-size: 54px 108px;
    z-index: 15;
}
a.node-page-close:hover, a.node-page-close:active, a.node-page-close:focus, a.node-page-close.active {
    background-position: 0 -54px;
}

#node-page-modal .photo-bcg {
    position: fixed;
    top: 15%;
    height: 70%;
    left: 30%;
    width: auto;
}
#node-page-modal .photo-content {
    background: #000000;
    min-height: 100%;
    margin-left: 40%;
    position: relative;
    width: 60%;
    padding: 4%;
    box-sizing: border-box;
}
#node-page-modal .fp-top {
    display: block;
    box-sizing: border-box;
    height: 0;
    left: 0;
    position: absolute;
    top: 0;
    width: 100%;
    z-index: 10;
}
#node-page-modal .fp-bottom {
    display: block;
    box-sizing: border-box;
    height: 0;
    left: 0;
    position: absolute;
    bottom: 0;
    width: 100%;
    z-index: 10;
}
#node-page-modal-wrapper.opened2 #node-page-modal .fp-top,
#node-page-modal-wrapper.opened2 #node-page-modal .fp-bottom {
    position: fixed;
    height: 15%;
}
#node-page-modal .fp-top > .wrapper, #node-page-modal .fp-bottom > .wrapper {
    height: 100%;
    background-color: #000000;
}
#node-page-modal .full-content {
    margin: 0 auto;
    max-width: 800px;
}

#node-page-modal .gallery-thumb {
    float: left;
    position: relative;
}
#node-page-modal .gallery-thumb.youtube-video .play-video {

    bottom: 20%;
    display: inline-block;
    height: 60%;
    left: 0;
    margin-left: auto;
    margin-right: auto;
    position: absolute;
    right: 0;
    top: 20%;
    width: auto;
    /*::after {
    
    content: url('/wp-content/themes/danvojtech/img/play-video.png');
    top: 20%;
    display: block;
    position: absolute;*/
    
}
/*#node-page-modal .gallery-thumb:hover:before, #node-page-modal .gallery-thumb:active:before,
#node-page-modal .gallery-thumb:focus:before, #node-page-modal .gallery-thumb.active:before {*/
#node-page-modal .gallery-thumb .mask{
    /*content: " ";*/
    display: block;
    position: absolute;
    top: 12px;
    bottom: 12px;
    left: 12px;
    right: 12px;
    background: rgba(0,0,0,0.4);
}
#node-page-modal .gallery-thumb img {
    display: block;
    width: 100%;
    height: auto;
}
#node-page-modal .gallery-thumb .hover-title {
    position: absolute;
    left: 12px;
    right: 12px;
    text-align: center;
    color: #ffffff;
    text-decoration: line-through;
}
#node-page-modal .reference-thumb {
    float: left;
    position: relative;
}
#node-page-modal .reference-thumb.resize {
    visibility: hidden;
}
#node-page-modal .reference-thumb .mask{
    /*content: " ";*/
    display: block;
    position: absolute;
    top: 12px;
    bottom: 12px;
    left: 12px;
    right: 12px;
    background: rgba(0,0,0,0.4);
}
#node-page-modal .reference-thumb img {
    display: block;
    /*width: 100%;*/
    height: auto;
}
#node-page-modal .reference-thumb .hover-title {
    position: absolute;
    left: 12px;
    right: 12px;
    text-align: center;
    color: #ffffff;
    text-decoration: line-through;
}
#node-page-modal .reference-thumb span {
    overflow: hidden;
    display: block;
}
#node-page-modal .ref-clients {
    display: none;
/*    position: fixed;
    bottom: 5px;
    left: 5px;
    background: #000000;
    padding: 0 10px;*/
}
#node-page-modal .ref-clients-body {
    display: none;
/*    position: fixed;
    bottom: 5px;
    left: 5px;
    background: #000000;
    padding: 2%;
    min-width: 300px;
    overflow: auto;*/
}
#footer-right .ref-clients {
    background: #000000;
    padding: 0 10px;
    margin-right: 10px;
    display: inline-block;
}
#footer-right .ref-clients-body {
    background: #000000;
    /*padding: 2% 0 2% 2%;*/
    min-width: 300px;
    /*overflow: auto;*/
    display: none;
    padding-top: 2%;
}
#footer-right .ref-clients-body.opened + .ref-clients {
    color: #ba005b;
}
#footer-right .ref-clients-body > .wrapper {
    padding-right: 1%;
}
#footer-left .news-info-body > .wrapper {
    padding-right: 5px;
}
.antiscroll-wrap {
/*    display: block;*/
    width: 100%;
}
.scroll-box {
    box-sizing: border-box;
    padding: 0 10px;
}
#footer-left .scroll-box {
    padding: 0 10px;
}
.antiscroll-inner {
    overflow-x: hidden;
}
.antiscroll-scrollbar {
    background: #b3b3b3;
    border-radius: 0;
}

.ref-clients-body-close, .news-info-body-close {
    background: transparent url('/wp-content/themes/danvojtech/img/cross-small.png') 0 0 no-repeat;
    background-size: 20px 40px;
    position: absolute;
    top: 0;
    right: 10px;
    width: 20px;
    height: 20px;
    overflow: hidden;
}
.ref-clients-body-close:hover, .ref-clients-body-close:focus,
.ref-clients-body-close:active, .ref-clients-body-close.active,
.news-info-body-close:hover, .news-info-body-close:focus,
.news-info-body-close:active, .news-info-body-close.active
{
    background-position: 0 -20px;
}
#footer {
}
#footer-left {
    position: fixed;
    bottom: 5px;
    max-width: 50%;
    left: 5px;
    /* background: #000000; */
    line-height: 20px;
    color: #ffffff;
    z-index: 101;
    /*padding: 0 10px;*/
}
.news-info-body {
    display: none;
    background: #000000;
    padding-top: 10px;
}
.news-info {
    background: #000000;
    padding: 0 10px;
    display: inline-block;
}
.news-info-body.opened + .news-info {
    color: #ba005b;
}
#footer-right {
    position: fixed;
    bottom: 5px;
    /*max-width: 50%;*/
    right: 5px;
    z-index: 100;
    line-height: 20px;
    color: #ffffff;
    margin-left: 50px;
}
#footer-right.page-opened {
    margin-left: 5px;
}
#footer-right > .wrapper {
    background: #000000;    
    padding: 0 10px;
    display: inline-block;
}
#page_up, #page_up:link, #page_up:visited {
    /* */
    background: transparent url('/wp-content/themes/danvojtech/img/arrows.png') 0 -210px no-repeat;
    background-size: 70px 700px;
    position: fixed;
    top: 20px;
    left: 50%;
    width: 70px;
    height: 70px;
    overflow: hidden;
    margin-left: -22px;
    z-index: 100;
}
#page_up.grey, #page_up.grey:link, #page_up.grey:visited {
    background-position: 0 -350px;
}
#page_up:hover, #page_up:active, #page_up.active,
#page_up.grey:hover, #page_up.grey:active, #page_up.grey.active{
    background-position: 0 -280px;
}
#page_down, #page_down:link, #page_down:visited {
    background: transparent url('/wp-content/themes/danvojtech/img/arrows.png') 0 0 no-repeat;
    background-size: 70px 700px;
    position: fixed;
    bottom: 45px;
    left: 50%;
    width: 70px;
    height: 70px;
    overflow: hidden;
    margin-left: -22px;
    z-index: 96;
}
#page_down.grey, #page_down.grey:link, #page_down.grey:visited {
    background-position: 0 -140px;
}
#page_down:hover, #page_down:active, #page_down.active,
#page_down.grey:hover, #page_down.grey:active, #page_down.grey.active {
    background-position: 0 -70px;
}
.no-js #page_up, .no-js #page_down {
    display: none !important;
}

/* ---=== magnific popup ===--- */
.mfp-bg {
    background: #000000;
    opacity: 1;
}
img.mfp-img {
    padding: 5px 0;
}
.mfp-title {
    position: fixed;
    left: 5px;
    bottom: 5px;
    background: #ba005d;
    text-decoration: line-through;
    text-align: center;
    padding: 0 12px;
}
button.mfp-close, button.mfp-close:link, button.mfp-close:visited {
    background: transparent url('/wp-content/themes/danvojtech/img/cross-big.png') 0 0 no-repeat;
    display: block;
   /* position: fixed;*/
    top: 5px;
    right: 0;
    width: 54px;
    height: 54px;
    opacity: 1;
    font-size: 0;
    background-size: 54px 108px;
}
button.mfp-close:hover, button.mfp-close:focus, button.mfp-close:active, button.mfp-close.active {
    background-position: 0 -54px;
    top: 5px;
}
.dv-mfp-arrow {
    background: transparent url('/wp-content/themes/danvojtech/img/arrows.png') 0 -420px no-repeat;
    background-size: 70px 700px;
    border: 0 none;
    cursor: pointer;
    display: block;
    outline: medium none;
    overflow: hidden;
    padding: 0;
    z-index: 1046;    
    height: 70px;
    width: 70px;
    margin: -55px 0 0;
    position: absolute;
    top: 50%;
    -moz-user-select: none;
}
.dv-mfp-arrow-left {
    left: 0;
}
.dv-mfp-arrow-right {
    right: 0;
    background-position: 0 -560px;
}
.dv-mfp-arrow-left:hover, .dv-mfp-arrow-left:active {
    background-position: 0 -490px;
}
.dv-mfp-arrow-right:hover, .dv-mfp-arrow-right:active {
    background-position: 0 -630px;
}

.footer-link {
	font-size: 72px;
	text-align: center;
	display: block !important;
}

/* ---=== RESPONSIVE ===--- */

@media all and (max-width: 3200px) {

}
@media all and (max-width: 2560px) {
    #node-page-modal .gallery-thumb {
        width: 16.66%;
    }

}
@media all and (max-width: 2048px) {
    #node-page-modal .gallery-thumb {
        width: 20%;
    }
}
@media all and (max-width: 1920px) {
}

@media all and (max-width: 1599px) {
    #node-page-modal .gallery-thumb {
        width: 25%;
    }
}

/* standard 1280 */
@media all and (max-width: 1279px) {
    #node-page-modal-wrapper #node-page-modal .full-content {
        /* padding-top: 120px !important; */
        padding-left: 3%;
        padding-right: 3%;
    }
}

/* standard 1024 */
@media all and (max-width: 1023px) {
    #node-page-modal .gallery-thumb {
        width: 33.33%;
    }
}

/* standard 960 */
@media all and (max-width: 959px) {
    .node-page .node-title.title-left {
        margin-left: 20%;
    }
    .node-page .node-title.title-right {
        margin-left: 38%;
    }
}
/* standard 800 */
@media all and (max-width: 799px) {
}

/* standard 720 */
@media all and (max-width: 719px) {
}

/* standard 640 */
@media all and (max-width: 639px) {
    #content {
        margin: 10% 2% 0 10%;
    }
    #logo, #logo:link, #logo:visited {
        left: 20px;
        top: 20px;
    }
    .node-page {
    }
    .node-page .node-title h2 {
        margin-left: 0 !important;
        font-size: 54px;
    }
    .node-page .node-title.title-left {
        margin-left: 0;
    }
    .node-page .node-title.title-right {
        margin-left: 0;
    }
    #npm_contentup {
        left: 10%;
    }
    #npm_contentdown {
        left: 10%;
    }
    .footer-link {
		text-align: left;
		font-size: 36px;
	}
}
/* 576 PAL */
@media all and (max-width: 576px) {
}

/* standard 480 */
@media all and (max-width: 480px) {
    /*.front-page h2 {
        font-size: 54px;
    }*/
    #node-page-modal .gallery-thumb {
        width: 50%;
    }
    #node-page-modal .reference-thumb img {
        /*width: 70%;*/
    }
}

/* standard 400 */

/* standard 360 */

/* standard 320 */

/* */
@media only screen and (-webkit-min-device-pixel-ratio: 1.5), only screen and (min-device-pixel-ratio: 1.5) {
}