/* 1. Typografia */
/* 2. Sekcje strony głównej */

/* 1. Typografia */

html {
	font-size: 16px;
}

@media (max-width: 991px) {
	html {
		font-size: 14px;
	}
}

body {
	background-color: white;
	font-family: "Montserrat", sans-serif;
	font-weight: 400;
	line-height: 1.45;
	color: #333;
}

p {
	margin-bottom: 1.25em;
}

.home h1,
.home h2,
.home h3,
.home h4,
.home h5,
.home h6 {
	margin: 0rem 0 1rem;
}

h1,
h2,
h3,
h4,
h5 {
	margin: 2.75rem 0 1rem;
	font-family: "Montserrat", sans-serif;
	font-weight: 900;
	line-height: 1.15;
}

h1 {
	margin-top: 0;
	font-size: 4.209em;
}

h2 {
	font-size: 3.157em;
}

h3 {
	font-size: 2.369em;
}

h4 {
	font-size: 1.777em;
}

h5 {
	font-size: 1.333em;
}

.sub h1 {
	font-size: 3.157em;
	margin-top: 0px;
}

small,
.text_small {
	font-size: 0.75em;
}

h1 span,
h2 span,
h3 span,
h4 span,
h5 span,
h6 span {
	color: #00519c;
}

a {
	transition: 0.15s ease-in-out;
}

a:hover {
	text-decoration: none;
}

.btn {
	background: #00519c;
	border: #00519c;
	border-radius: 0px;
	font-weight: 900;
	text-transform: uppercase;
	padding: 1rem 2rem;
}

.img-responsive {
	max-width: 100%;
	height: auto;
}

.empresas .vertical-center {
	margin-top: 30px;
}

.empresas h3 {
	margin-top: 0px;
}

.vertical-center {
	display: flex;
	align-items: center;
	flex-flow: row wrap;
}

/* 2. Sekcje strony głównej */

.navbar {
	top: 0;
	z-index: 99;
	height: 9rem;
	width: 100%;
	color: white;
	transition: all 0.2s;
	padding: 0;
}

.navbar-collapse {
	flex-grow: 0;
}

.navbar-brand {
	font-size: 1rem;
	display: flex;
	align-items: stretch;
	padding-top: 1.125rem;
	padding-bottom: 1.125rem;
}

.navbar-brand .opis strong {
	display: block;
}

.navbar-brand .opis {
	margin-left: 1.5rem;
	padding-left: 1.5rem;
	border-left: 1px solid white;
	display: flex;
	justify-content: center;
	flex-direction: column;
	transition: all 0.2s;
}

.navbar-brand img,
footer .stopka img {
	width: 5rem;
	transition: all 0.2s;
}

.navbar-expand-lg .navbar-nav .nav-link {
	padding-right: 1.5rem;
	padding-left: 1.5rem;
}

.navbar.affix {
	background: black;
	height: 5rem;
}

.navbar.affix .navbar-brand img {
	width: 2.5rem;
}

.navbar.affix .opis {
	display: none;
}

header {
	overflow: hidden;
	width: 100%;
	height: 100vh;
	position: relative;
}

.sub header {
	height: 70vh;
}

header .slogan {
	position: absolute;
	top: 0;
	left: 0;
	z-index: 50;
	height: 100%;
	width: 100%;
	display: flex;
	align-items: center;
	justify-content: center;
	text-align: center;
	pointer-events: none;
}

header .slogan h1 {
	color: white;
}

header .slogan h1 span {
	font-weight: 400;
	display: block;
	color: white;
}

header::before {
	content: "";
	display: block;
	position: absolute;
	top: 0;
	left: 0;
	z-index: 20;
	width: 100%;
	height: 30vh;
	background: linear-gradient(to bottom, rgba(0, 0, 0, 0.8) 0%, rgba(0, 0, 0, 0) 100%);
	pointer-events: none;
}

header .swiper-container {
	width: 100%;
	height: 100%;
}

header .swiper-container::before,
.w-50 .swiper-container::before {
	content: "";
	display: block;
	position: absolute;
	top: 0;
	left: 0;
	z-index: 20;
	width: 100%;
	height: 100%;
	background: #00000030;
	pointer-events: none;
}

header .swiper-slide,
.w-50 .swiper-slide {
	text-align: center;
	font-size: 18px;
	background: #fff;
	/* Center slide text vertically */
	display: -webkit-box;
	display: -ms-flexbox;
	display: -webkit-flex;
	display: flex;
	-webkit-box-pack: center;
	-ms-flex-pack: center;
	-webkit-justify-content: center;
	justify-content: center;
	-webkit-box-align: center;
	-ms-flex-align: center;
	-webkit-align-items: center;
	align-items: center;
}

.swiper-container img {
	align-self: center;
	object-fit: cover;
	min-width: 100%;
	height: 100vh;
	position: relative;
	z-index: 10;
}

.w-50 .swiper-container img {
	height: auto;
}

.swiper-container-horizontal > .swiper-pagination-bullets,
.swiper-pagination-custom,
.swiper-pagination-fraction {
	bottom: 30px;
}

.swiper-scale-effect .swiper-slide-cover {
	transition: 8.5s ease-out;
	transform: scale(1.08);
}

.swiper-scale-effect .swiper-slide.swiper-slide-active .swiper-slide-cover {
	transform: scale(1);
}

section {
	padding: 6.25rem 0;
}

.bg-light {
	background: #f2f2f2 !important;
}

#cursos {
	text-align: center;
}

#cursos .box {
	display: flex;
	align-items: center;
	z-index: 1;
	position: relative;
	margin-top: 2rem;
	overflow: hidden;
	height: 230px;
}

/*
#cursos .box span {
  position: absolute;
      color: white;
      background: url(../img/nakladka.svg);
      bottom: 0;
      height: 2.5rem;
      background-repeat: no-repeat;
      background-size: contain;
      background-position: bottom;
      left: 25px;
      right: 25px;
      display: flex;
      align-items: center;
      justify-content: center;
      z-index: 2;
}
*/

#cursos span {
	font-weight: bold;
	font-size: 1.125rem;
	text-transform: uppercase;
	display: block;
	margin-bottom: 0.5rem;
}

#cursos img {
	margin-bottom: 1.5rem;
}

/*

#cursos .box a {
  position: absolute;
  width: 100%;
  height: 100%;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  z-index: 3;
}

*/

#cursos .box:hover img {
	transform: scale(1.1);
}

#eventos .news {
	display: flex;
	align-items: flex-start;
	justify-content: space-between;
	margin-bottom: 2.5rem;
}

#eventos .news .data {
	border: 2px solid #e2e2e2;
	padding: 1rem;
	text-align: center;
	margin-right: 2rem;
	font-size: 0.75rem;
	font-weight: 900;
}

#eventos .news .data span {
	font-size: 1.875rem;
	line-height: 1;
}

#eventos .news .news-body {
	width: 100%;
}

#eventos .news .news-body a {
	color: black;
}

#eventos .news .news-body a:hover {
	color: #0069d9;
}

#eventos .news .news-body .info {
	opacity: 0.48;
}

.gallery {
	padding-top: 0px;
}

.gallery a {
	width: 100%;
	display: flex;
	align-items: center;
	justify-content: center;
	overflow: hidden;
	margin-bottom: 30px;
	position: relative;
	color: white;
}

.gallery a img {
	transition: 1s;
	height: 100%;
	min-width: 100%;
}

.gallery a:hover img {
	transform: scale(1.05);
}

.gallery a .caption {
	position: absolute;
	width: 80%;
	height: 0%;
	display: flex;
	align-items: center;
	justify-content: center;
	background: #00519ce0;
	color: white;
	z-index: 99;
	opacity: 0;
	transition: all 0.4s;
}

.gallery a:hover .caption {
	opacity: 1;
	height: 80%;
}

.empresas {
	margin-right: 15px;
	margin-left: 15px;
}

footer {
	overflow: hidden;
}

footer .contacto {
	padding: 6.25rem 0;
	background: #00519c;
}

footer .contacto img {
	width: 36px;
	height: 36px;
	margin-right: 15px;
}

footer .contacto a {
	color: white;
}

footer .contacto:after {
	content: "";
	display: inline-block;
	width: 50vw;
	min-height: 500vh;
	background: #00519c;
	background-repeat: no-repeat;
	position: relative;
	position: absolute;
	top: 0;
	left: auto;
	right: 0;
	z-index: -1;
}

footer .contacto,
footer .contacto h3 {
	color: white;
}

.person img {
	border-radius: 50%;
	padding: 10px;
	background: white;
	box-shadow: 0px 10px 20px #00000020;
}

.person .d-block {
	position: relative;
}

.person .d-block::after {
	content: "";
	display: block;
	z-index: 2;
	position: absolute;
	bottom: -10px;
	right: -10px;
	border-radius: 50%;
	height: 120px;
	width: 120px;
	background: linear-gradient(45deg, #00519c, #00519ccc);
}

.person .d-block::before {
	content: "";
	display: block;
	z-index: 3;
	position: absolute;
	bottom: -10px;
	right: -10px;
	height: 120px;
	width: 120px;
	background: url("/img/logo.svg") center top 22px no-repeat;
	background-size: 50%;
}

.person:nth-of-type(2) .d-block::after {
	background: linear-gradient(45deg, #E5202A, #E5202Acc);
}

.person:nth-of-type(3) .d-block::after {
	background: linear-gradient(45deg, #FFCC33, #FFCC33cc);
}

@media (max-width: 991px) {
	h1,
	h2,
	h3,
	h4,
	h5 {
		margin: 1.563em 0 1rem;
	}
	h1 {
		font-size: 3.052em;
	}
	h2 {
		font-size: 2.441em;
	}
	h3 {
		font-size: 1.953em;
	}
	h4 {
		font-size: 1.563em;
	}
	h5 {
		font-size: 1.25em;
	}
	.sub h1 {
		font-size: 2.441em;
	}

	.navbar-collapse {
		background: black;
	}
}

@media only screen and (max-width: 576px) {
	section {
		padding: 4rem 0;
	}

	footer .contacto {
		padding: 4rem;
	}
	footer .contacto:after {
		content: none;
	}
	footer .col-md-7 {
		padding: 4rem;
	}
	footer .w-50 {
		width: 80% !important;
		height: 40vh !important;
	}
	.swiper-container {
		height: 100%;
	}

	.navbar .navbar-brand {
		padding-left: 2rem;
	}

	.navbar-brand .opis {
		display: none;
	}

	.navbar-toggler {
		margin-right: 2rem;
	}
}
