html {
	overflow-x: hidden;
	font-family: 'Roboto', sans-serif;
}

ul#foto {
	list-style-type: none;
	padding: 0;
	margin: 0;
	text-align: center;
}

/* NAVIGATION */

.logo-header {
	padding-top: 30em;
}

.logo-header p {
	padding: 10px 0;
}

.main-logo {
	position: absolute;
	top: 0;
	left: 50%;
	-webkit-transform: translateX(-50%);
	transform: translateX(-50%);
}

#slider {
	padding-top: 65px;
}

#slider ul {
	list-style: none;
	margin: 0;
	padding: 0;
}

#slider .desc {
	position: absolute;
	top: 50%;
	left: 50%;
	-webkit-transform: translateX(-50%);
	transform: translateX(-50%);
}

#slider .desc .desc_text {
	color: white;
	text-align: center;
}


/* FIRST SECTION */

.first-section {
	padding: 40px 0;
}

.first-section h3 {
	margin: 15px auto 15px auto;
	line-height: 1.8;
}

.first-section h1 {
	font-size: 20px;
}

.button {
	background-color: #3c8dc8;
	border: none;
	color: white;
	font-weight: bold;
	border-radius: 50px;
	padding: 5px 15px;
	margin: 10px auto;
}

.button:hover {
	background-color: #156aa9;
}

.section-logo-header {
	position: absolute;
	top: 50%;
	left: 50%;
	-webkit-transform: translate(-50%, -50%);
	transform: translate(-50%, -50%);
	z-index: 100;
}

.section-logo-header p {
	margin: 10px;
}

/* SECOND SECTION */

.second-section {
	display: -webkit-box;
	display: -ms-flexbox;
	display: flex;
	-webkit-box-align: stretch;
	-ms-flex-align: stretch;
	align-items: stretch;
	-ms-flex-wrap: wrap;
	flex-wrap: wrap;
}

.second-section h3 {
	font-size: 18px;
	font-weight: bold;
	line-height: 1.8;
	margin: 0 auto 15px auto;
	padding: 0 0 15px 0;
}

/* THIRD SECTION */

.third-section {
	background-color: #d3d3d366;
}

.third-section ol {
	list-style: none;
	counter-reset: li;
}

.third-section li::before {
	content: counter(li);
	color: #3c8dc8;
	display: inline-block;
	width: 1em;
	margin-left: -1em;
}

.third-section li {
	counter-increment: li;
	margin: 10px auto;
}

.third-section li:last-child {
	margin-bottom: 20px;
}

.third-section h2 {
	margin-left: 10px;
}

/* FOURTH SECTION */

.fourth-section {
	padding: 50px 0 0 0;
	width: 100%;
}



/* FOOTER */

footer {
	padding: 30px 0 10px 0;
}

.footer_menu {
	text-align: center !important;
}

.footer_menu a {
	color: black !important;
}

/* MEDIA QUERIES */

@media screen and (max-width: 500px) {

	.first-section img {
		max-width: 60%;
	}

	.section-logo-header img {
		width: 30%;
		height: 30%;
	}

	.section-logo-header p {
		font-size: 12px;
	}

	.hero {
		height: 30vh !important;
		top: 66px;
		margin-bottom: 50px;
	}

	div.navigation div img {
		display: none;
	}

	h1 {
		font-size: 25px !important;
	}

	.header__logo {
		display: none;
	}
}


@media (min-width: 501px) and (max-width: 767px) {

	.hero {
		height: 50vh !important;
		top: 66px;
		margin-bottom: 50px;
	}

	.first-section img {
		max-width: 60%;
	}

	.section-logo-header img {
		width: 40%;
	}
}

@media (min-width: 768px) and (max-width: 991px) {
	.navbar-collapse {
		visibility: hidden;
		display: none;
	}

	.logo-header {
		position: initial;
	}

	.section-logo-header img {
		width: 50%;
		height: 50%;
	}
}

@media (min-width: 900px) {
	.photo:hover {
		opacity: 1;
		-webkit-transform: scale(1.2);
		transform: scale(1.2);
		-webkit-transition-duration: 0.7s;
		transition-duration: 0.7s;
		z-index: 10000;
	}
}

/* PROGRAM */

.section-header {
	background-position: center;
	height: 50vh;
	position: relative;
	top: 66px;
	margin-bottom: 50px;
}

.program-part {
	margin: 20px auto;
}

.program-part p {
	line-height: 1.8;
	text-align: justify !important;
}

.program-part h2 {
	margin: 30px auto;
	line-height: 1.3;
	font-weight: bold;
}

.program,
.cadr,
.links,
.gallery,
.groups {
	display: -webkit-box;
	display: -ms-flexbox;
	display: flex;
	-webkit-box-align: stretch;
	-ms-flex-align: stretch;
	align-items: stretch;
	-ms-flex-wrap: wrap;
	flex-wrap: wrap;
}

.gallery_item {
	padding-bottom: 30px;
}

/* KADRA */

.people img {
	border-radius: 50%;
	margin: 20px auto;
	width: 50%;
}

.people .text-bold {
	text-transform: uppercase;
}

.text-underline,
.program-part h4 {
	padding: 15px 0 30px 0;
	margin: 30px 0;
	position: relative;
}

.text-underline:after,
.program-part h4:after {
	content: "";
	display: block;
	width: 50px;
	height: 3px;
	position: absolute;
	bottom: -1px;
	left: 50%;
	-webkit-transform: translateX(-50%);
	transform: translateX(-50%);
	background-color: #3c8dc8;
}

/* GALERIA */

.photo {
	margin: 10px auto;
	opacity: 0.8;
}

.gallery_item img {
	-webkit-transition: 500ms;
	transition: 500ms;
	/* For Firefox. */
	-webkit-column-break-inside: avoid;
	/* For Chrome & friends. */
	break-inside: avoid;
	/* For standard browsers like IE. :-) */
}

.gallery_item img:hover {
	-webkit-transform: scale(1.2);
	transform: scale(1.2);
}

.modal-img,
.model-vid {
	width: 100%;
	height: auto;
}

.modal-body {
	padding: 0px;
}

.modal-dialog {
	margin: 0 auto !important;
	text-align: center;
	vertical-align: middle;
	display: block;
	top: 50%;
	-webkit-transform: translateY(-50%) !important;
	transform: translateY(-50%) !important;
}

.modal-content {
	border: none;
}

#map {
	width: 100%;
	height: 40vh;
}

/* hover nawigacji */

.nav-link {
	display: inline-block;
	text-decoration: none;
}

.nav-link::after {
	content: '';
	color: white;
	display: block;
	width: 0;
	height: 2px;
	background: white;
	-webkit-transition: width .5s;
	transition: width .5s;
}

.nav-link:hover::after {
	color: white;
	width: 100%;
	-webkit-transition: width .3s;
	transition: width .3s;
	-webkit-transition-duration: 1s;
	transition-duration: 1s;
}

/* GENERAL */

.vertical-center {
	display: -webkit-box;
	display: -ms-flexbox;
	display: flex;
	-webkit-box-orient: vertical;
	-webkit-box-direction: normal;
	-ms-flex-direction: column;
	flex-direction: column;
	-webkit-box-pack: center;
	-ms-flex-pack: center;
	justify-content: center;
}

.pt-50 {
	padding-top: 50px;
}

.pt-20 {
	padding-top: 20px;
}

.ppb-50 {
	padding: 50px 0;
}

.ppb-25 {
	padding: 25px 0;
}

.mb-10 {
	margin-bottom: 10px;
}

.no-padding {
	padding-left: 0;
	padding-right: 0;
}

.text-center {
	text-align: center;
	margin-left: auto !important;
	margin-right: auto !important;
}

.text-bold {
	font-weight: bold;
}

.txt-center-small {
	text-align: center;
}

.text-white {
	color: white;

}

h1 {
	padding: 20px 0;
}

h2 {
	font-size: 20px !important;
	margin-top: 30px;
	margin-bottom: 30px;
}

a:hover {
	text-decoration: none !important;
}

a {
	text-decoration: none;
	color: inherit;
}

.site-content {
	padding-top: 66px;
}

/* HEADER */

.header {
	position: fixed;
	left: 0;
	right: 0;
	height: 66px;
	line-height: 66px;
	color: #fff;
	background-color: #3c8dc8;
	z-index: 1000;
}

.header__logo {
	float: left;
}

.header__logo img {
	width: 200px;
}

/* MENU */

.menu {
	float: right;
}

.menu a {
	padding: 0 10px;
}

.menu a {
	display: inline-block;
	text-decoration: none;
}

.menu a::after {
	content: '';
	color: white;
	display: block;
	width: 0;
	height: 2px;
	background: white;
	-webkit-transition: width .5s;
	transition: width .5s;
	z-index: 1000;
	margin-top: -10px;
}

.menu a:hover::after {
	color: white;
	width: 100%;
	-webkit-transition: width .3s;
	transition: width .3s;
	-webkit-transition-duration: 1s;
	transition-duration: 1s;
}

/* RESPONSIVE */

@media only screen and (max-width: 992px) {
	.menu {
		visibility: hidden;
	}
}

@media only screen and (min-width: 992px) {
	.hamburger {
		visibility: hidden;
	}
}

/* Banner */

.poster {
	color: #000000;
	padding: 10px 0;
	background-size: cover;
	background-position: 50% 50%;
	background-repeat: no-repeat;
	background-image: url("../images/monar_07.jpg");
	outline: 1px solid white;
	outline-offset: -20px;
}

.divider {
	padding: 0;
	margin: 0;
}

.divider img {
	padding: 20px 10px 0 10px;
}

.divider h1 {
	text-align: center;
	font-size: 30px;
	color: #fff;
	padding: 20px 20px 0 20px;
}

.divider p {
	padding: 0 20px 20px 20px;
	color: #fff;
	line-height: 1.5;
	font-size: 20px;
}

@media only screen and (max-width: 700px) {
	.divider h1 {
		font-size: 20px;
	}

	.divider p {
		font-size: 14px;
	}
}

/* HAMBURGER */

.sidenav {
	height: 100%;
	width: 0;
	position: fixed;
	z-index: 1;
	top: 0;
	right: 0;
	background-color: #3c8dc8;
	overflow-x: hidden;
	-webkit-transition: 0.5s;
	transition: 0.5s;
	padding-top: 60px;
}

.sidenav a {
	padding: 8px 8px 8px 32px;
	text-decoration: none;
	font-size: 15px;
	color: white;
	display: block;
	-webkit-transition: 0.3s;
	transition: 0.3s;
	line-height: 40px;
}

.sidenav a:hover {
	color: #f1f1f1;
}

.sidenav .closebtn {
	position: absolute;
	top: 5px;
	right: 10px;
	font-size: 40px;
}

#main {
	-webkit-transition: margin-left .5s;
	transition: margin-left .5s;
	padding: 16px;
}

@media screen and (max-height: 450px) {
	.sidenav {
		padding-top: 15px;
	}
	.sidenav a {
		font-size: 18px;
	}
}

.hamburger {
	float: right;
}

a.blue {
	color: #007bff !important;
}
