html, body{height:100%}
body {position:relative; color:#141D28; font-family:'LatoLatin',Arial,sans-serif; font-size:16px}

/* Wrappers */
.proj-wrapper {padding:0 20px}

/* Navbar */
#webnav {background:linear-gradient(to bottom, rgba(0, 0, 0, 0.9), rgba(0, 0, 0, 0))}
.navbar-default {-webkit-transition:all .35s; -moz-transition:all .35s; -o-transition:all .35s; transition:all .35s; padding:30px 0; background:none; border:none}
.navbar-default .navbar-nav > li > a, .navbar-default a, .navbar-default a span {color:#FFF; font-size:15px}
.navbar-default .navbar-nav > .active > a, .navbar-default .navbar-nav > .active > a:hover {background:none}
.navbar-default .navbar-nav > li > a:hover {color:#AE8400}
.navbar-default .navbar-nav > li > a.ico-home span {display:none; visibility:hidden}
.navbar-default .navbar-nav > li > a.ico-home {background:url(../img/ico-home2.png) no-repeat center 15px; padding:25px}
.navbar-default .navbar-nav > li > a.ico-home:hover {background:url(../img/ico-home2.png) no-repeat center 15px}
.navbar-default .navbar-nav > li {border-bottom:2px solid #AE8400; text-align:center}
.navbar-default .navbar-nav > li > a img.top-logo {max-width:150px; width:150px}
.navbar-default .navbar-nav > li > a.navigation-logo {margin-top:-20px}
.navbar-default .navbar-nav > li.logo1 {display:none; visibility:hidden}
.navbar-default .navbar-nav > li.logo2 {display:inline; visibility:visible}
.navbar-default .navbar-nav > li#nav-logo-center {border:none}
.navbar-default .navbar-nav > li#nav-logo-center.active > a {background:none}
.navbar-default .navbar-nav > .active > a, .navbar-default .navbar-nav > .active > a:focus, .navbar-default .navbar-nav > .active > a:hover {background-color:transparent}
.navbar-default .navbar-nav > li > a:focus, .navbar-default .navbar-nav > li > a:hover {color:#AE8400}

/* Navbar affix */
.affix#webnav {background-color:#141D28}
.navbar-default.affix {padding:10px 0 0 0; background-color:#141D28}
.navbar-default.affix .navbar-nav > li > a, .navbar-default.affix a, .navbar-default.affix a span, .navbar-default.affix .navbar-nav > li > a:focus {color:#FFF}
.navbar-default.affix .navbar-nav > .active > a, .navbar-default.affix .navbar-nav > li > a:hover, .navbar-default.affix .navbar-nav > .active > a:focus {background:none; color:#AE8400}
.navbar-default.affix .navbar-nav > li {border-bottom:2px solid #AE8400; text-align:center}
.navbar-default.affix .navbar-nav > li > a.ico-home span {display:none; visibility:hidden}
.navbar-default.affix .navbar-nav > li > a.ico-home {background:url(../img/ico-home2.png) no-repeat center 15px; padding:25px}
.navbar-default.affix .navbar-nav > li > a img.top-logo {max-width:120px; width:120px}
.navbar-default.affix .navbar-nav > li > a.navigation-logo {margin-top:-10px}
.navbar-default.affix .navbar-nav > li.logo1 {display:inline; visibility:visible}
.navbar-default.affix .navbar-nav > li.logo2 {display:none; visibility:hidden}
.navbar-default.affix .navbar-nav > li#nav-logo-center {border:none}
.navbar-default.affix .navbar-nav > li#nav-logo-center.active > a {background:none}

/* Typography */
h1 {font-family:'Aller',Arial,sans-serif; font-size:32px; text-transform:uppercase; color:#141D28; padding:155px 0 20px 0; background:url(../img/h1.png) no-repeat 0 170px}
h1 span {background:#FFF url(../img/pegas.png) no-repeat center 0; padding:105px 30px 0 30px}
#movie h1 {color:#FFF; background:none}
h2 {font-family:'Aller',Arial,sans-serif; font-size:24px; text-transform:uppercase; text-align:center; color:#AE8400; padding:10px 0}
h2.video-nadpis {margin-top:40px}
h3 {font-family:'Aller',Arial,sans-serif; font-size:20px; text-transform:uppercase; text-align:center; color:#141D28; padding:10px 0}
p {text-align:justify}
footer p {font-size:15px; padding:30px 0; color:#999}
a {color:#141D28}
a:hover {color:#AE8400}
a.link-pudorys {cursor:pointer}
ul.makler {list-style:none; margin:20px 0; padding:0}
ul.makler li:nth-child(1) {font-size:22px}
ul.makler li a {color:#AE8400}
ul.makler li a:hover {color:#141D28; text-decoration:none}
.proj-wrapper a, .stacktable a {text-decoration:underline}
.table > tbody > tr.danger > td, .table > tbody > tr.danger > th, .table > tbody > tr > td.danger, .table > tbody > tr > th.danger, .table > tfoot > tr.danger > td, .table > tfoot > tr.danger > th, .table > tfoot > tr > td.danger, .table > tfoot > tr > th.danger, .table > thead > tr.danger > td, .table > thead > tr.danger > th, .table > thead > tr > td.danger, .table > thead > tr > th.danger {background-color:#F75E5E; color:#FFF}

/* Table */
.custom-table {margin:30px 0}
.resp-table {margin:30px 0}
.table-hover tbody tr:hover td, .table-hover tbody tr:hover th, .custom-table tr.highlighted, .resp-table tr.highlighted {background-color:#DCE9EF !important}

/* Video */
.video-wrapper {position:relative; width:100%; height:0; margin:30px 0; padding-bottom:56.25%}
.video {position:absolute; top:0; left:0; width:100%; height:100%}

/* Googlemap */
#map {margin-top:40px; height:450px}

/* Carousel */
#pudorysy, .galerie {margin:30px 0}
#pudorysy p {color:#AE8400; text-shadow:none; font-size:20px}
#pudorysy p span {background-color:#FFF; padding:20px}
.carousel-inner > .item > img {margin:0 auto}
#intro {height:92%}
header.carousel {height:100%}
header.carousel .item, header.carousel .item.active, header.carousel .carousel-inner {height:100%}
header.carousel .fill {width:100vw; height:100vh; background-attachment:fixed; background-position:center; background-repeat:no-repeat; background-size:cover; -webkit-background-size:cover; -moz-background-size:cover; -o-background-size:cover}

/* Video */
.movie {padding-top:230px; min-height:500px; color:white; text-align:center}
#top-video-container {width:100%; max-height:500px; min-height:500px; overflow:hidden; position:absolute; top:0}
#top-video {width:100%; margin:auto; position:absolute; top:0; left:0; bottom:0; right:0}

#nav-logo-left {position:absolute; top:5px; left:15px; display:none; height:40px}
@media all and (max-width:767px) {
  #nav-logo-left {display:block}
  .movie {padding-top:150px; height:auto; min-height:0; background-image:url(../data/obrazky/01.jpg); background-size:cover; background-position:center}
  #top-video-container {height:auto; min-height:0}   
}

/* Modal */
@media all and (min-width:768px) {
  .modal-dialog {width:400px}
}  
.modal-backdrop {background:none}
.modal.in .modal-dialog {position:fixed; top:70px; left:35px; margin:0}
.pdf-pudorys {position:absolute; top:17px; left:150px}
.pdf-pudorys a, a.pdf {color:red; background:url(../img/ico-pdf.png) no-repeat top left; padding-left:20px; text-decoration:underline}
.pdf-pudorys a:hover, a.pdf:hover {color:#141D28}
.modal-open {overflow:scroll}