/* Header */
.header {display:flex; align-items:center; -webkit-transition:all .3s; -moz-transition:all .3s; -ms-transition:all .3s; -o-transition:all .3s; -o-transition:all .3s; transition:all .3s}
.navbar-fixed-top {position:fixed;top:0;z-index:999}
.navbar {-webkit-transition: all .3s ease-in-out; -moz-transition: all .3s ease-in-out; -o-transition: all .3s ease-in-out; transition: all .3s ease-in-out}

/* Bg */
.nn-bg {padding:100px 15px; position:relative}
.nn-bg-caption {padding-top:120px; text-align:center}
.nn-bg-caption h1 {font-size:3rem; font-weight:700; color:#FFF; margin:0}
.nn-bg-caption h1::after {content: ""; display: block; width: 50px; border-top: 6px solid #AE8400; margin: 15px auto}
.nn-bg-caption h2 {color:#AE8400; font-weight:700; margin-top:.5rem}
.nn-bg-caption p {font-size:1.6rem; color:#FFF; margin:2rem 0}

/* Content */
.nnco {padding:30px 15px 50px 15px}
.nn-content {background-color:#FFF; border:1px solid rgba(0,0,0,.125); border-radius:.25rem; padding:25px 50px 50px 50px}
.nn-content h2 {color:#17202B; margin:3rem 0 2rem 0; font-weight:700; text-align:center}
.nn-content h2::after {content: ""; display: block; width: 50px; border-top: 6px solid #AE8400; margin: 15px auto}
.nn-content h3 {margin:4rem 0 2rem 0; font-weight:700; text-align:center}
.nn-content h3::after {content: ""; display: block; width: 50px; border-top: 6px solid #E5E5E5; margin: 15px auto}
.nn-content ol li::marker {color:#AE8400}
.nn-content ul li::marker {color:#EAEAEA}

/* 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%}
.vid {width:100%}

/* Pegas sections */
.pegas-s {padding:50px 0; text-align:center}
.pegas-sb {padding:25px 0; text-align:center}
.pegas-s h1, .pegas-s h2 {text-align:center; font-weight:700; font-size:2.3rem; margin:3rem 0 3rem 0}
.pegas-s h1::after, .pegas-s h2::after {content: ""; display: block; width: 50px; border-top: 6px solid #AE8400; margin: 15px auto}
.pegas-s h3 {text-align:center; font-weight:700; font-size:2rem; margin:3rem 0 2rem 0}
.pegas-s h3::after {content: ""; display: block; width: 50px; border-top: 6px solid rgba(0,0,0,.125); margin: 15px auto}
.pegas-s h4 {text-align:center; font-weight:700; font-size:1.4rem; margin:2rem 0 1rem 0}
.pegas-s p {font-size:1.25rem}
.pegas-s .proj-icon {font-size:3rem; color:#FFF}
.pegas-s .proj-title {font-size:1.6rem; color:#FFF}
.pegas-s .proj-subtitle {color:#FFF}
.pegas-sb .proj-subtitle-dark {color:#17202B; text-align:left}
.pegas-s .d-proj-title {font-weight:700}
.pegas-s .loc-icon {font-size:2rem}

.pegas-gold, .pegas-cube-gold {background-color:#AE8400}
.pegas-cube-dark {background-color:#0C1723}
.pegas-blue {background-color:#17202B}
.pegas-gray {background-color:#E5E5E5}

.pegas-dark-25 {background-image:url(../img/motiv-dark.png); background-repeat: no-repeat; background-position:25% center !important}
.pegas-dark-50 {background-image:url(../img/motiv-dark.png); background-repeat: no-repeat; background-position:50% center !important}
.pegas-dark-75 {background-image:url(../img/motiv-dark.png); background-repeat: no-repeat; background-position:75% center !important}
.pegas-light-25 {background-image:url(../img/motiv-light.png); background-repeat: no-repeat; background-position:25% center !important}
.pegas-light-50 {background-image:url(../img/motiv-light.png); background-repeat: no-repeat; background-position:50% center !important}
.pegas-light-75 {background-image:url(../img/motiv-light.png); background-repeat: no-repeat; background-position:75% center !important}

.pegas-gold h2::after {border-top: 6px solid rgba(0,0,0,.125)}
.pegas-gold h3::after {border-top: 6px solid rgba(0,0,0,.125)}
.pegas-gold h4 {color:#FFF}
.pegas-blue h1, .pegas-blue h2, .pegas-blue strong {color:#FFF}
.pegas-blue p {color:rgba(255,255,255,0.75)}
.pegas-blue p.nabdop a {color:#AE8400}
.pegas-blue p.nabdop a:hover {color:#FFF}

.pegas-form-l {text-align:left}
.pegas-form p a {color:#17202B}
.pegas-form p a:hover {text-decoration:none}
.pegas-form textarea {height:100px !important}
.pegas-form label {margin-left:10px}

.pegas-cube-flex {display:flex; flex-direction:row; align-items:center}
.pegas-cube-flex .display-7 {font-size:1.8rem; font-weight:700; line-height:1.3; color:#FFF !important}
.pegas-cube-flex p {padding:35px 50px}
.pegas-cube-flex .display-h {font-weight:700; font-size:2.3rem; margin:2rem 0 2rem 0; color:#FFF}
.pegas-cube-flex .display-h::after {content: ""; display: block; width: 50px; border-top: 6px solid #AE8400; margin: 15px 0}
.pegas-cube-gold p, .pegas-cube-gold p strong, .pegas-cube-gold .display-7 {color:#17202B !important}

.pegas-cube {padding:50px}
.pegas-cube h2 {font-weight:700; font-size:2.3rem; margin:1rem 0 3rem 0}
.pegas-cube h2::after {content: ""; display: block; width: 50px; border-top: 6px solid #AE8400; margin: 15px 0}

.pegas-bg-01 {background-image:url(../img/01.png); background-repeat: no-repeat; background-position:0 0}
.pegas-bg-02 {background-image:url(../img/02.png); background-repeat: no-repeat; background-position:0 0}
.pegas-bg-03 {background-image:url(../img/03.png); background-repeat: no-repeat; background-position:0 0}

/* Tooltips */
#pegas-tooltip {
	position: absolute;
	width: auto;
	z-index: 10;
	opacity: 0.9;
	span {
		display: inline-block;
		color: #17202B;
		background-color: #FFF;
		padding: 0.5em 0.8em;
	}
}
#pegas-tooltip-dark {
	position: absolute;
	width: auto;
	z-index: 10;
	opacity: 0.9;
	span {
		display: inline-block;
		color: #FFF;
		background-color: #17202B;
		padding: 0.5em 0.8em;
	}
}
#pegas-tooltip h2, #pegas-tooltip-dark h2 {font-size:1.8rem; margin:0 !important}
#pegas-tooltip em {font-style:normal; color:#dc3545; font-weight:700} 
#pegas-tooltip u {font-style:normal; color:#AE8400; font-weight:700; text-decoration:none}
#pegas-tooltip i {font-style:normal; color:#198754; font-weight:700} 

/* Tables */
.pegas-blue table thead th {background-color:#AE8400; vertical-align:middle}
.pegas-blue table tbody th, .pegas-blue table tbody td {vertical-align:middle}
.pegas-blue table tbody tr:nth-child(even) td, .pegas-blue table tbody tr:nth-child(even) th {background-color:rgba(255,255,255,0.05)}
.pegas-blue table tbody tr:nth-child(odd) td, .pegas-blue table tbody tr:nth-child(odd) th {background-color:rgba(0,0,0,0.25)}
.pegas-blue table tbody tr:hover td, .pegas-blue table tbody tr:hover th {background-color:#AE8400; opacity:1}
.pegas-blue table tbody td.tl {text-align:left}
.pegas-gray table tbody tr:nth-child(even) td, .pegas-gray table tbody tr:nth-child(even) th {background-color:rgba(255,255,255,0.5)}
.pegas-gray table tbody td, .pegas-gray table tbody th {text-align:left; vertical-align:middle}

/* Googlemap */
#map {width:100%; height:500px}
.mapinfo {padding:15px}
.mapinfo p {font-size:1rem; line-height:2rem}

/* Footer */
.bg-nn {background-color:#17202B !important}
.footer {padding:50px 0}
.footer p {color:#FFF}
.footer p.text-gray::after {content: ""; display: block; width: 38px; border-top: 3px solid rgba(255,255,255,0.16); margin: 5px 0 5px}
.footer p a:hover {color:#FFF}
.footer-links a {text-transform:uppercase; color:#FFF; text-decoration:none}
.footer-links a:hover {color:#AE8400 !important}
.copyright {padding:20px 0 10px 0; background-color:#0C1723}
.copyright p {color:rgba(255,255,255,0.25)}
.soc-icons a {font-size:1.5rem; margin-right:10px}

/* Sticky Bar */
.stickybar {display:block; top:150px; right:0; bottom:auto; left:auto; position:fixed; z-index:1000}
.stickybar p {padding:0; margin:5px 0}
.stickybar a {display:block; padding:10px; font-size:0.9rem; border-color:#AE8400; background-color:#AE8400}
.stickybar a i {font-size:2rem}

/* Modal */
#pegasmodal p.modal-title, #pegaslocmodal p.modal-title, #pegasvizumodal0 p.modal-title, #pegasvizumodal1 p.modal-title, #pegasvizumodal2 p.modal-title, #pegasvizumodal3 p.modal-title {font-weight:700}
#pegasmodal h2, #pegaslocmodal h2 {color:#17202B; text-align:center; font-weight:700; font-size:2.3rem; margin:1rem 0 1rem 0}
#pegasmodal h2::after, #pegaslocmodal h2::after {content: ""; display: block; width: 50px; border-top: 6px solid #AE8400; margin: 15px auto}
#pegasmodal p, #pegaslocmodal p {color:#17202B}

/* Colorize */
.bw {-webkit-filter: grayscale(100%); -webkit-transition: .3s ease-in-out; -moz-filter: grayscale(100%); -moz-transition: .3s ease-in-out; -o-filter: grayscale(100%);  -o-transition: .3s ease-in-out; filter: grayscale(100%); transition: .3s ease-in-out}
.bw:hover {-webkit-filter: grayscale(0%); -webkit-transition: .3s ease-in-out; -moz-filter: grayscale(0%); -moz-transition: .3s ease-in-out; -o-filter: grayscale(0%); -o-transition: .3s ease-in-out; filter: grayscale(100%); transition: .3s ease-in-out}

/* Typography */
a, button {font-weight:700; -webkit-transition:all .3s; -moz-transition:all .3s; -ms-transition:all .3s; -o-transition:all .3s; -o-transition:all .3s; transition:all .3s}
a {color:#AE8400}
a:hover {color:#17202B}
strong, .btn {font-weight:700}
button {text-transform:uppercase}
.display-8 {font-size:1.8rem; font-weight:700; line-height:1.3; color:#17202B !important}
.text-left {text-align:left}
.text-gray {color:rgba(255,255,255,0.32) !important}
.vizu-link {text-transform:none !important}
.wrap-link {overflow-wrap:break-word; word-wrap: break-word}
.btn-pegas-primary {text-transform:uppercase; background-color:#AE8400; border:2px solid #AE8400; color:#FFF}
.btn-pegas-primary:hover {background-color:#17202B; border:2px solid #17202B; color:#FFF}
.btn-pegas-secondary {text-transform:uppercase; background-color:#17202B; border:2px solid #17202B; color:#FFF}
.btn-pegas-secondary:hover {background-color:#FFF; border:2px solid #FFF; color:#17202B}

body {font-size:1.25rem; font-family:'Encode Sans Condensed', sans-serif}
.img-sm {max-width:80%}
.link-pudorys, .link-poloha {color:#FFF}
.link-pudorys:hover, .link-poloha:hover {color:#FFF}
.carousel-control-prev-icon, .carousel-control-next-icon {background-color:rgba(0,0,0,0.25)}
.splide__pagination {display:none}

/* Navbar */
.logoleft {display:none; height:40px}
.logocent {width:120px}
.nav-link {color:#FFF; font-weight:700; padding:.2rem 0 .2rem 0 !important}
.nav-link-logo {display:block; border:none}
.navbar-nav {margin:10px auto}
.navbar-nav li {display:flex; flex-direction:row; align-items:center; margin:0 20px}
.nav-link:hover, .bg-white .nav-link:hover, .bg-white .active .nav-link, .nav-item .active {color:#AE8400 !important}
.bg-white .nav-link {color:#17202B}
.navbar {border-bottom:2px solid #AE8400}

/* Large devices (desktops, less than 1200px) */
@media (max-width: 1199.98px) {
    .img-sm {max-width:80%}
}

/* Medium devices (tablets, less than 992px) */
@media (max-width: 991.98px) {  
    .img-sm {max-width:50%}
    .logoleft {display:block}
    .nav-link-logo {display:none}
    .navbar-nav li {margin:0}
    .nav-link {padding:.5rem 0 !important}
}

/* Small devices (landscape phones, less than 768px) */
@media (max-width: 767.98px) {
    .img-sm {max-width:70%}
    .logoleft {display:block}
    .nav-link-logo {display:none}
    .navbar-nav li {margin:0}
    .nav-link {padding:.5rem 0 !important}
}

/* Extra small devices (portrait phones, less than 576px) */
@media (max-width: 575.98px) {
    .img-sm {max-width:70%}
    .nn-bg {padding:100px 15px 60px 15px}
    .nn-bg-caption {padding-top:50px}
    .nn-bg-caption h1 {font-size:2rem}
    .nn-bg-caption p {font-size:1.25rem; line-height:1.6rem}
    .nn-content {padding:0 25px 25px 25px}
    .logo {width:80px}
    .stickybar {bottom:75px; top:auto}
    .stickybar span {display:none; visibility:hidden}
    .logoleft {display:block}
    .nav-link-logo {display:none}
    .navbar-nav li {margin:0}
    .nav-link {padding:.5rem 0 !important}
}