@import "magnific-popup/magnific-popup.css";
@import "datatables/datatables.min.css";
@import "chosen/chosen.min.css";

body {
	background-color: #C0C0C0;
	font-family: Verdana, serif;
	font-size: small;
}

a {
	color: #005380; /* color of links */
}

th {
	color: #FFF; /* text color of tables header */
	background-color: #005380; /* background color of tables header */
}

.wrapper {
	margin: 20px auto;
	border: 1px solid black;
	max-width: 1500px;
	background-color: white;
	box-shadow: 0 0 5px 1px rgba(0, 0, 0, 0.75);
	display: grid;
	grid-template-columns: 260px 1fr;
	column-gap: 24px;
}

.header {
	position: relative;
	background-position: top left;
	background-repeat: no-repeat;
	grid-column: 1/3;
	border-bottom: 3px solid #c41230; /* line on the bottom of header */
}

.left-menu {
	margin-bottom: 24px;
	white-space: nowrap;
	grid-column: 1;
	grid-row: 2;
}

.content {
	padding: 0 24px 15px 0;
	grid-row: 2;
	grid-column: 2;
	overflow: hidden;
}

.footer {
	padding: 15px 24px;
	color: #FFF; /* text color of footer */
	background-color: #005380; /* background color of footer */
	border-top: 3px solid #c41230; /* line on the top of footer */
	grid-row: 3;
	grid-column: 1/3;
}

@media only screen and (max-width: 1000px) {
	.wrapper {
		width: 100%;
		margin: 0;
		border: none;
		grid-template-columns: 1fr;
	}

	.header {
		grid-column: 1;
	}

	.content {
		padding-left: 24px;
		grid-column: 1;
		grid-row: 2;
	}

	.left-menu {
		grid-column: 1;
		grid-row: 3;
	}

	.footer {
		grid-column: 1;
		grid-row: 4;
	}

	.header .header-logo {
		display: none !important;
	}
	.header .header-subtitle {
		display: none !important;
	}
}

/*title*/
.header h1 {
	margin: 0;
	display: flex;
	align-items: center;
	min-height: 120px;
}

.header h1 a {
	font-size: 27px; /* text size of header */
	color: #c41230; /* text color of header */
	text-decoration: none;
	padding-left: 27px;
}

.header .header-logo {
	display: inline-block;
	vertical-align: middle;
	margin: 10px 1ex 10px 0;
}

.header .header-title {
	display: flex;
	flex-direction: column;
}

.header .subtitle {
	color: #005380; /* color of subtitle */
	font-size: 22px; /* text size of header */
	padding-top: 4px;
}

/*language*/
.header .languages {
	position: absolute;
	top: 0;
	right: 0;
	font-size: 14px;
	padding: 10px;
}

.header .languages a {
	padding: 4px 4px;
}

/* menu */
.menu-block {
	border: 1px #D8D8D8 solid;
	border-bottom-width: 0;
	margin-bottom: 0;
}

.menu-block h3 {
	margin: 0;
	background-color: #005380; /*  background color of menu header */
	color: #FFF; /*  text color of menu header */
	height: 32px;
	border-bottom: 1px #D8D8D8 solid;
	padding: 0 15px;
	text-align: left;
	font-size: small;
	line-height: 32px;
}

.menu-block * {
	margin: 0;
	padding-left: 0;
}

.menu-block li {
	list-style-type: none;
}

.menu-block a {
	display: block;
	background: linear-gradient(to bottom, #f6f6f6 0%, #e0e0e2 100%);
	background-position: top;
	background-repeat: repeat-x;
	height: 31px;
	line-height: 28px;
	padding: 0 15px;
	text-decoration: none;
	color: black;
	overflow: hidden;
	text-overflow: ellipsis;
}

.menu-block .current > a {
	font-weight: bold;
}

.menu-block a:hover, div.menu-block li.selected a {
	background: linear-gradient(to bottom, #dadada 0%, #b5b6b8 100%);
}

/*content*/
.content H1, .content H2 {
	color: #005380; /* color of heading */
	margin-top: 15px;
}

.content H3 {
	color: #005380; /* color of heading */
	font-size: 18px;
	line-height: 32px;
	padding-top: 5px;
	margin-top: 1em;
	margin-bottom: 0.75em;
}

/*zpravy o vysledku akci*/
.messages.list {
	padding-left: 5px;
}

.messages {
	margin: 10px 0;
}

.messages li{
	padding: 1px 0;
	font-weight: bold;
}

.messages li.good{
	color: #7AA743;
}

.messages li.bad{
	color: tomato;
}

/*stranky s formulari*/

.messages.detail {
	margin: 18px 0;
	padding-left: 142px;
}

.admin-form fieldset {
	border: 1px #D8D8D8 solid;
	padding:  20px;
	display: grid;
	grid-template-columns: auto 1fr;
	row-gap: 1em;
	column-gap: 1em;
}

.admin-form fieldset legend {
	position: relative;
	padding: 0 5px;
	margin: 0;
	font-weight: bold;
}

.admin-form fieldset > label {
	display: flex;
	justify-content: flex-end;
	grid-column: 1/2;
	white-space: nowrap;
}

.admin-form input.send-btn {
	grid-column: 2/3;
	border: 1px solid rgb(128, 128, 128);
	background-color: rgb(220,220,220);
	height: 28px;
	text-align: center;
	width: 150px;
	padding: 0;
}

.admin-form a.pic-preview {
	margin-left: 10px;
}

.admin-form a.pic-preview img {
	height: 22px;
}

/*stranky se seznamy*/
.admin-list {
	border-collapse: collapse!important;
	border: 1px #D8D8D8 solid;
}

.admin-list th ,
.admin-list td {
	border: 1px #D8D8D8 solid;
}

/*prihlasovaci stranka*/
#login {
	margin: 0 auto;
	padding: 25px 0 50px;
	width: 400px;
}

#login .messages.auth {
	padding-left: 102px;
}

#login input {
	width: 200px;
	margin-right: 0;
}

#login label {
	width: 90px;
}

#login input.send-btn {
	margin: 10px 0 0 105px;
	width: 100px;
}

input[type="hidden"]{
	display: none;
}

/*stranka s logy*/
#update-progress {
	width: 100%;
	height: 650px;
	border: 1px #D8D8D8 solid;
}
.logs {
	padding: 0 0 10px 5px;
}

.logs li * {
	display: inline;
}
