* {
	box-sizing: border-box;
}

html,
body {
	height: 100%;
}

body {
	margin: 0;
	padding-top: 1rem;
	font-family: Arial, Helvetica, sans-serif;
	font-size: 12px;
	color: #555555;
	background: url(/images/bg_pattern.jpg) repeat-x left top #f0efed;
}

nav {
	display: flex;
	flex-direction: row;
	align-items: center;
	font-size: 16px;
}
nav ul {
	margin: 0;
	padding: 0;
	list-style: none;
}
nav ul:after {
	content: "";
	display: table;
	clear: both;
}
nav a {
	text-decoration: none;
	display: block;
	transition: 0.3s linear;
}
.topmenu > li {
	float: left;
	position: relative;
	background: white;
	margin-right: 0.5rem;
	height: 3rem;
	display: flex;
	flex-direction: row;
	align-items: center;
	border-radius: 0.25rem;
	box-shadow: 0.5rem 0.5rem 0.5rem #cbcbcc;
}
.topmenu > li:first-child {
	border-left: 0;
}
.topmenu > li > a {
	margin: 0 1rem;
	color: #555555;
}
.topmenu > li > a.active,
.submenu > li > a.active {
	color: red;
}
.submenu a:hover {
	color: grey;
}
.topmenu .fa,
.submenu .fa {
	margin-left: 5px;
	color: inherit;
}
.submenu {
	position: absolute;
	top: 100%;
	left: -1px;
	z-index: 5;
	min-width: max-content;
	background: white;
	border-top: 1px solid #cbcbcc;
	border-left: 1px solid #cbcbcc;
	border-right: 1px solid #cbcbcc;
	border-radius: 0.25rem;
	box-shadow: 0.5rem 0.5rem 0.5rem #cbcbcc;
	visibility: hidden;
	opacity: 0;
	transform-origin: 0% 0%;
	transform: rotateX(-90deg);
	transition: 0.3s linear;
}
.submenu li {
	position: relative;
}
.submenu li a {
	color: #282828;
	padding: 1rem;
	border-bottom: 1px solid #cbcbcc;
}
nav li:hover > .submenu {
	transform: rotateX(0deg);
	visibility: visible;
	opacity: 1;
}

select.nav {
	color: #555555;
	background-color: #fff;
	border-radius: 0.25rem;
	border: 1px solid #ced4da;
	transition: border-color 0.15s ease-in-out, box-shadow 0.15s ease-in-out;
}

@media (min-width: 768px) {
	div.nav {
		justify-content: left;
	}
	nav.nav {
		justify-content: end;
	}
	select.nav {
		display: none;
	}
}
@media (max-width: 991.98px) {
	div.nav,
	nav.nav {
		justify-content: center;
	}
}
@media (max-width: 767.98px) {
	nav.nav {
		display: none;
	}
	select.nav {
		display: inline-block;
		margin: 0 auto;
		width: fit-content;
	}
}

.carousel {
	height: 40vh;
}

.carousel-inner,
.carousel-item,
.carousel-item img {
	height: 100%;
}

.carousel-item img {
	width: 100%;
	object-fit: cover;
}

.carousel-caption {
	bottom: 0;
	padding: 0;
}

h5.link, h6.link {
	font-weight: bold;
	font-style: italic;
	margin-bottom: 1rem;
}

a.link,
a.link:hover,
a.link:visited {
	color: #555555;

	padding-left: 1rem;
}
hr.link {
	margin: 0.25rem 0;
}
a.btn.grey {
	background-color: #ececec;
	font-size: 14px;
	color: #555555;
}
a.btn.grey:hover {
	background-color: #ced4da;
	color: black;
}
div.right {
	display: flex;
	flex-direction: row;
	justify-content: end;
}
p {
	margin: 5px 0;
}
.white,
a.white:hover {
	color: white;
}
.orange {
	background-color: #ffa200;
	color: white;
	border-radius: 0.5rem;
}
.green {
	background-color: #75a400;
	color: white;
	border-radius: 0.5rem;
}
.blue {
	background-color: #009bda;
	color: white;
	border-radius: 0.5rem;
}
.pogoda {
	display: flex;
	flex-direction: column;
	align-items: center;
}
footer {
	background-color: #393939;
	color: #a3a3a3;
	padding: 1rem;
}
div.footer {
	display: flex;
	flex-direction: row;
	justify-content: space-between;
}
table {
	table-layout: fixed;
	width: 100%;
	border-collapse: collapse;
	border-spacing: 0;
	border: 0;
}
.vm {
	vertical-align: middle;
}
td {
	padding: 0;
}
th {
	text-align: center;
}
.bigger {
	font-weight: bold;
	font-size: medium;
}

.bg2 {
	background: url(/images/bg2.png) repeat;
}
.bg1 {
	background: url(/images/bg1.png) repeat;
}

.nav-tabs {
	border-bottom: 3px solid #009bda;
}
.nav-tabs .nav-link.active {
	color: white;
	background-color: #009bda;
	border-color: #009bda #009bda #009bda;
	cursor: pointer;
}

a {
	text-decoration: none;
}
