body {
	/* background-color: #89ADB6; */
	margin: 0px;
	font-family: Arial, Helvetica, sans-serif;
	font-size: small;
	
	background-image: url('content/img/bg.png');
	background-repeat: no-repeat;
	background-attachment: fixed; 
	background-size: 100% 100%;
	color: white;

	width:80%;
	margin-left:auto;
	margin-right:auto;
}

.sitelogo {
	width: 100%;
}

.sitelogotile {
	vertical-align: top;
	/* width: 6vw; */
	/* width: 100px; */
	width: 64px;
}

.top, .left, .right, .main, .bottom {
	padding-left: 2px;
	padding-top: 2px;
	padding-right: 2px;
	padding-bottom: 4px;
	#border: solid 1px black;
}

.adminbar {
	background-color: red;
	color: yellow;
}

.top {
	border-bottom: 1px solid white;
}

.top span {
	font-size: medium;
}

.left {
	float: left;
	width: 100%;
	border-bottom: 1px solid white;
}

.main {
	float: left;
	width: 70%; /* The width is 60%, by default - 70 pri horizontalnim menu */
	/* border-left: 1px solid black; */
	border-right: 1px solid white;
	/* background-color: #99BDC6; */
	padding-left: 6px;
	padding-right: 6px;
	min-height: 85vh;
}

.right {
	float: left;
	display: inline-block;
	max-width: 28%; /* The width is 19%, by default, using value of 20% (i.e. 100% for all columns together) makes this column to wrap due to paddings and border */
	min-width: 100px;
	min-height: 80vh;
	border: none;
}

.bottom {
	clear: left;
	border-top: 1px solid white;
	font-size: small;
}

/* Use a media query to add a breakpoint at 800px: */
@media screen and (max-width: 800px) {
	.left, .main, .right, #newsregion, #newsarea, .menuitemblock {
		width: 100%; /* The width is 100%, when the viewport is 800px or smaller */
		min-width: 100%;
		display: block;
		float: none;
	}

	.main {
		/* border-left: none; */
		border-right: none;
	}

	.right {
		border-top: 1px solid white;
	}
}

/* bez tohoto se pri zuzovani okna pravy panel hodi pod vse ostatni, ale zustane uzky, dokud se sirka okna nezmensi pod 800px - proc? */
/* The width is 100%, when the viewport is 800px or smaller */
/*
*/
@media screen and (max-width: 1090px) {
	.right, #newsregion, #newsarea {
		/*
		width: 96vw;
		min-width: 96vw;
		*/
		width: 100%;
		min-width: 100%;
		display: block;
		float: left;
	}
}

h1 {
	font-size:1.8vw;
	margin: 0px;
}

#newsregion {
	display: inline-block;
	/*max-width: 28vw;*/
	width: 28vw;
	min-width: 100%;
	max-width: 100%;
}

#newsregion p {
}

#newsregion application {
	/*width: 500px;*/
}

#newsarea {
	display: inline-block;
	min-height: 80vh;
	width: 100%;
	min-width: 28vw;
}

#newsregion a {
	color: #b0b0ff;
	text-decoration: none;
}

#newsregion a:hover {
	color: #ffb0b0;
	text-decoration: underline;
	text-decoration-style: dotted;
}

.tox-promotion { 
	display: none !important; 
}
.tox-tinymce .tox-notification--promotion {
	display: none !important;
}

.tile {
	display: inline-block;
}

.linknormal {
	color: #A9AFF9;
	font-size: 1.0em;
	text-decoration: none;
	font-weight: normal;
}

a.linknormal:hover {
	color: #f18b00;
	font-size: 1.0em;
	text-decoration: underline;
	text-decoration-style: dotted;
	font-weight: normal;
}

.linknoticeable {
	color: #090F69;
	font-size: 1.0em;
	text-decoration: underline;
	font-weight: bold;
}

a.linknoticeable:hover {
	color: #a13b00;
	font-size: 1.1em;
	text-decoration: underline;
	font-weight: bold;
}

.unobtrusive {
	text-decoration: none;
	color: white;
}

a.inactive {
	pointer-events: none;
	cursor: default;
}

.chapter {
	/* color: #715117; */
	color: #c1a167;
	font-weight: 800;
	font-size:medium;
	padding-top: 4px;
	padding-bottom: 8px;
}

.marker {
	color: #715117;
	font-weight: 800;
	display: inline;
}

.text {
	/* color: black; */
	color: white;
	padding-bottom: 6px;
}

.text_nobottom {
	color: white;
	padding-bottom: 0px;
}

.menuitemblock {
	display: inline-block;
	padding-right: 10px;
	max-width: 16vw;
	vertical-align: top;
}

.mainmenuitem {
	/* color: #090F69; */
	color: #c9cF99;
	font-weight: 800;
	font-size:medium;
	padding-top: 4px;
	padding-bottom: 8px;
}

.mainmenuitem_inactive {
	/* color: #f2f2f2; */
	color: #f2f2f2;
	font-weight: 800;
	font-size:medium;
	padding-top: 4px;
	padding-bottom: 8px;
}

.menuitemblock a:hover .mainmenuitem {
	color: white;
}

.right_title {
	font-size: medium;
	font-weight: 800;
	padding-top: 4px;
	padding-bottom: 0px;
}

.caption {
	text-align: left;
	font-style: italic;
	font-family: monospace, monospace;
	padding-bottom: 6px;
}

.caption_inside {
	position: relative;
	top: -50px;
	left: 0px;
	width: 100%;
	text-align: center;
	font-style: italic;
	font-family: monospace, monospace;
	color: #d8d8d8;
	white-space: nowrap;
	overflow: hidden;
	text-overflow: ellipsis;
	padding-top: 16px;
	padding-bottom: 16px;
	background-color: rgba(0,0,0,0.6);
}

.image_envelope {
	width: 65vw;
	padding-top: 18px;
}

.image_envelope img {
	width: 100%;
}

.mwidth_608 {
	max-width: 608px;
}

.mwidth_750 {
	max-width: 750px;
}

.mwidth_teammember {
	max-width: 200px;
}

.news-save {
	text-align: right;
	padding-top: 6px;
}

.button-save-news {
	font-size: larger;
	color: brown;
	border-radius: 8px;
}

.superbold {
	font-weight: 800;
}