.highlight { color: rgb(242, 242, 242) } 

/* PORTFOLIO */

#portfolio .tile .text {
	top: 50%;
	transform: translateY(-50%);
}

#portfolio-header {
	display: table;
	padding-bottom: 20px;
	margin: 0 auto;
	font-size: 18px;
}
#portfolio-header ol {
	font-size: 16px;
	margin: 0;
}
#portfolio-header ol li {
}
#portfolio-footer {
	width: 100%;
	padding: 10px 0;
	text-align: center;
}

/* slider */

#portfolio #slider-container {
	margin: 0 auto;
}
#portfolio #slider {
	position: relative;
	width: 100%;
	height: calc(100% - 70px);
	margin: 0 auto;
	padding-bottom: 70px;
	box-sizing: content-box;
}

#slider-content-wrap {
	position: relative;
	overflow: hidden;
	width: 100%;
	height: 100%;
	background-color: rgb(0,0,0);
}
#slider-content {
	position: absolute;
	left: 0;
	transform: none;
	height: 100%;
}
#slider-content .item {
	float: left;
	height: 100%;
}
#slider-content .item iframe {
	width: 100%;
	height: 100%;
}

#slider-pages {
	position: absolute;
	width: 100%;
	height: 70px;
	border-top: 1px solid rgb(20, 20, 20);
	background-color: rgba(50, 50, 50, .6);
	box-shadow: 0px 5px 7px -4px rgb(0,0,0);
	transition: .2s 0s box-shadow;
	cursor: default;
	-webkit-user-select: none;
	-moz-user-select: none;
	-ms-user-select: none;
	user-select: none;
}
#slider-pages:hover {
	box-shadow: 0px 5px 7px -4px rgb(0,0,0), 0 25px 25px -25px inset rgba(90, 90, 90, .6);
}

#slider #arr-l, #slider #arr-r {
	position: absolute;
	width: 70px;
	height: 70px;
	padding: 12px;
	background-color: transparent;
	background-image: none;
	transition: .2s 0s background ease-in-out;
	font-size: 25px;
	text-align: center;
	cursor: pointer;
	transition: .2s 0s text-shadow;
}
#slider #arr-l { left: 0; }
#slider #arr-r { right: 0; }
#slider #arr-l:hover {
	text-shadow: 2px 2px var(--theme2);
} .ie #slider #arr-l:hover { text-shadow: 2px 2px rgb(220, 20, 60); }
#slider #arr-r:hover {
	text-shadow: -2px 2px var(--theme2);
} .ie #slider #arr-r:hover { text-shadow: 2px 2px rgb(220, 20, 60); }

#slider #count-number {
	display: table;
	margin: 15px auto;
	font-size: 22px;
	letter-spacing: 5px;
	color: rgba(120, 120, 120, .6);
}

#slider #progress-bar {
	position: absolute;
	bottom: 0;
	width: calc(100% - 16px);
	height: 5px;
	margin: 5px 8px;
	background-color: rgba(90, 90, 90, .6);
}
#slider #progress-bar span {
	display: block;
	width: 0;
	height: 100%;
	background-color: rgba(120, 120, 120, .9);
	transition: .24s 0s width;
}

@media only screen and (max-width: 768px) {
	#portfolio .sec-main .tile .text {
		top: 0;
		transform: none;
		height: calc(100% - 80px);
	}
}
@media only screen and (max-width: 767px) {
	#portfolio #slider {
	}
}

/* - PORTFOLIO - */


/* KOSZTY */

#koszty-table-toggle {
	display: table;
	position: relative;
	margin: 20px auto;
	padding: 10px 0;
	font-size: 22px;
	color: rgb(120, 120, 120);
	font-weight: 600;
	text-align: center;
	cursor: pointer;
	-webkit-user-select: none;
	-moz-user-select: none;
	-ms-user-select: none;
	user-select: none;
}
#koszty-table-toggle div {
	position: absolute;
	height: 1px;
	background-color: var(--theme2);
	transition: .2s 0s width ease-in-out;
} .ie #koszty-table-toggle div { background-color: rgb(220, 20, 60); }
#koszty-table-toggle div:nth-child(1) { width: 50%; bottom: 5px; }
#koszty-table-toggle div:nth-child(2) { width: 40%; bottom: 0; }
#koszty-table-toggle:hover div:nth-child(1) { width: 100%; }
#koszty-table-toggle:hover div:nth-child(2) { width: 60%; }
#koszty-table-container {
	display: none;
	position: fixed;
	top: 0;
	left: 0;
	width: 100vw;
	height: 100vh;
	z-index: 100;
}
#koszty-bg {
	position: absolute;
	top: 0;
	left: 0;
	width: 100vw;
	height: 100vh;
	background-color: rgba(12, 12, 12, .5);
	box-shadow: inset 0px 0px 20px 6px rgb(0,0,0);
}
#koszty-button {
	display: block;
	position: fixed;
	top: -68px;
	left: calc(100vw - 80px);
	width: 50px;
	height: 50px;
	overflow: hidden;
	cursor: pointer;
	transition: .3s 0s ease-in-out;
	transition-property: top, left;
}
#koszty-button span {
	display: block;
	position: absolute;
	top: 50%;
	left: 50%;
	width: 70%;
	height: 1px;
	background-color: rgb(242, 242, 242);
}
#koszty-button span:nth-child(1) { transform: translateX(-50%) rotateZ(45deg); }
#koszty-button span:nth-child(2) { transform: translateX(-50%) rotateZ(-45deg); }
#koszty-button.move {
	top: 100px;
}
#koszty-tile {
	position: absolute;
	top: 100px;
	left: 0;
	width: 0;
	max-height: calc(100vh - 180px);
	padding: 15px 10px 25px 10px;
	border: 3px inset rgba(190, 190, 210, .8);
	border-radius: 2px;
	overflow: scroll;
	background-color: rgba(36, 36, 36, .9);
	transition: .3s 0s ease-in-out;
	transition-property: width, left, transform;
}
#koszty-table-container.reveal #koszty-tile {
	left: 50%;
	width: 800px;
	transform: translateX(-50%);
}
#koszty-tile::-webkit-scrollbar { width: 10px; height: 15px; }
#koszty-tile::-webkit-scrollbar-thumb { background-color: rgba(170, 170, 170, .8); }
#koszty-tile::-webkit-scrollbar-thumb:hover { background-color: rgba(220, 220, 220, 1); }
#koszty-table {
	width: 700px;
	margin: 0 auto;
}
@media only screen and (max-width: 991px) {
	#koszty-table-container.reveal #koszty-tile {
		left: 102px;
		width: calc(100vw - 204px);
		transform: none;
	}
}
@media only screen and (min-width: 991px) {
	#koszty-tile {
		overflow-x: hidden;
	}
}
@media only screen and (max-width: 990px) { #koszty-table { width: 535px; } }
@media only screen and (max-width: 767px) { #koszty-table { width: 490px; } }
@media only screen and (max-width: 670px) { #koszty-table { width: 405px; } }
@media only screen and (min-height: 700px) and (min-width: 991px) {
	#koszty-tile {
		overflow-y: hidden;
	}
}

#koszty-table table tr:nth-child(odd) {
	background-color: rgba(72, 57, 48, .9);
}
#koszty-table table tr th {
	padding: 6px;
	border: 1px solid rgba(242, 242, 242, .8);
	background-color: rgba(20, 20, 20, .9);
	text-align: center;
}
#koszty-table table tr td {
	min-width: 80px;
	padding: 4px;
	border: 1px solid rgba(154, 175, 183, .8);
}

@media only screen and (max-width: 767px) {
	#koszty-button {
		left: calc(100vw - 60px);
	}
	#koszty-button.move {
		top: 15px;
	}
	#koszty-tile {
		top: 70px;
	}
	#koszty-table-container.reveal #koszty-tile {
		left: 62px;
		width: calc(100vw - 140px);
	}
}
@media only screen and (max-width: 575px) {
	#koszty-table-container.reveal #koszty-tile {
		left: 0;
		width: 100%;
	}
}

#koszty .sec-main .text p {
	font-size: 15px;
	color: rgb(150, 150, 150);
}

#koszty-text-wrap {
	position: relative;
	overflow: hidden;
	margin: 10px 0;
	border: 2px solid rgba(180, 180, 180, .85);
	box-shadow: inset 0 0 2px rgb(10, 10, 10);
}
#koszty-text-wrap hr {
	width: 40%;
	margin: 0 auto 5px auto;
	background-color: rgb(240, 240, 240);
}
#koszty-text-shadow {
	position: absolute;
	bottom: -1px;
	width: 100%;
	height: 1px;
	box-shadow: 0px 0px 15px 25px rgb(40, 40, 40);
	background-color: transparent;
}
#koszty-text {
	width: 100%;
	height: 100%;
	padding: 15px 4px 20px 4px;
	overflow-y: scroll;
}
.ie #koszty-text .highlight { padding-bottom: 30px; }
@media only screen and (min-width: 767px) {
	#koszty-end {
		padding: 10px 0 5px 0;
	}
}

/* - KOSZTY - */

/* TERMINY */
#terminy .tile .text {
	font-size: 18px;
}
/* - TERMINY - */


/* TECHNIKA */
#technika .tile .text {
	font-size: 18px;
}
/* - TECHNIKA -  */


/* KONTAKT */
#kontakt .tile .text {
	font-size: 20px;
}
@media only screen and (max-width: 767px) {
	#kontakt .tile .text { display: table; padding-top: 30px; }
}
.select-all { user-select: all; }
.select-all span { padding: 0 4px; }
/* - KONTAKT - */

@media only screen and (max-width: 490px) {
	#terminy .tile .text, #technika .tile .text, #koszty .tile .text p { font-size: 13px; }
	#kontakt .tile .text { font-size: 15px; }
	#koszty .tile .text #koszty-table-toggle { font-size: 19px; }
	#koszty .tile .text h5 { font-size: 16px; padding: 0 0 40px 0; }
}


/* O MNIE */
#o-mnie { border: none; }
#o-mnie, #o-mnie .sec-content { min-height: 100vh; max-height: none; height: auto; }
#o-mnie .tile { position: relative; padding: 130px 0 40px 0; height: auto; }
@media only screen and (max-width: 767px) {
	#o-mnie .tile { padding: 20px 0; }
}
@media only screen and (min-width: 768px) { #o-mnie .sec-header { top: 140px; } #o-mnie .section-nav { top: 430px; } }

#o-mnie .o-lang { color: var(--theme1); }
.ie #o-mnie .o-lang { color: rgb(255, 120, 0); }

#social-media {
	width: 100%;
	padding: 8px 0;
}
#social-media div {
	position: relative;
	display: table;
	margin: 0 auto;
	padding: 4px;
	border-radius: 3px;
	background-color: rgb(242, 242, 242);
	box-shadow: 0 12px 5px -5px rgb(20, 20, 20);
	font-size: 1.5em;
}
#social-media div a {
	padding: 3px;
	margin: 0 8px;
	color: rgb(100, 100, 100);
	transition: color .1s;
}
#social-media div a:hover i { background-color: rgb(250, 250, 250); }
#social-media div a#fb-icon:hover { color: rgb(59, 89, 152); }
#social-media div a#yt-icon:hover { color: rgb(196, 48, 43); }
/* - O MNIE - */

footer {
	text-align: center;
	background-color: rgb(20, 20, 20);
	color: rgb(120, 120, 120);
	cursor: default;
}
footer a {
	color: inherit;
}
footer a:hover {
	color: rgb(140, 160, 170);
	text-decoration: none;
}
footer small::selection {
	background-color: transparent;
	color: var(--theme1);
} .ie footer small::selection { color: rgb(255, 120, 0); }