/* Reset */
* { font-size: 16px; }

/* Mechanics */
html, body { height: 100%; min-height: 100%; }

body {
	position: relative;
}

#content {
	position: absolute;
	top: 0;
	bottom: 0;
	left: 0;
	right: 0;
}

#content {
	padding: 3em;
	box-sizing: border-box;
	display: table;
	height: 100%;
	width: 100%;
}

.content-row {
	display: table-row;
}

.content-cell {
	display: table-cell;
	vertical-align: middle;
	overflow: hidden;
}

.content-wrapper-primary, .content-wrapper-secondary {
	margin: 0 auto;
}
.content-wrapper-primary {
	width: 100%;
}
.content-wrapper-secondary {
	width: 80%;
}

.content-spacer {
	height: 3em;
}

.content-max-height {
	height: 100%;
}

.header-left, .header-right {
	overflow: hidden;
}

.header-left {
	float: left;
	background: #FFF;
}

.header-right {
	float: right;
}

#logo {
	margin: 0 2em 0 0;
	font-size: 16px;
}

#logo img {
	display: block;
	height: 10em;
}

#contacts, #languages {
	float: left;
	margin: 0;
	padding: 0;
}

#contacts li {
	display: inline-block;
	line-height: 3em;
	margin-right: 1.5em;
}

#contacts li:last-child {
	margin-right: 0;
}

#contacts i {
	font-family: "fontello";
	margin-right: 0.25em;
}

#languages {
	list-style-type: none;
	padding-left: 3em;
}

#languages li {
	display: inline-block;
	margin-right: 1em;
}

#languages li:last-child {
	margin-right: 0;
}

#languages a {
	display: block;
	height: 1.25em;
	width: 2.5em;
	margin: 0.875em 0;
	background: no-repeat center center;
	-webkit-background-size: cover;
	-moz-background-size: cover;
	-o-background-size: cover;
	background-size: cover;
    opacity: 0.5;
}

#languages a.selected, #languages a:hover {
    opacity: 1;
}

footer .content-row, footer .content-cell {
	width: 100%;
}

#sponsors {
	text-align: center;
	margin-bottom: 2em;
}
.sponsor {
	display: inline-block;
	height: 1.5em;
	margin-right: 1em;
}
.sponsor:last-child {
	margin-right: 0;
}

#copyright {
	text-align: center;
	line-height: 1.5em;
}

#advertisement {
	text-align: center;
	padding-bottom: 3em;
}

#advertisement-message, #advertisement-info {
	display: block;
font-family: "Liberty TL";
}

#advertisement-message {
	font-size: 2em;
	padding-bottom: 0.5em;
}

#advertisement-info {
	font-size: 0.85em;
	font-style: bold;
}

#menu {
	overflow: hidden;
	text-align: center;
}

.menu-item {
	display: inline-block;
	width: calc(25% - 0.8em);
	margin-right: 1em;
}

.menu-item:last-child {
	margin-right: 0;
}

.menu-item-image {
	width: 100%;
	background: no-repeat center center;
	-webkit-background-size: contain;
	-moz-background-size: contain;
	/*-o-background-size: cover;*/
	background-size: contain;
}
.menu-item-image img{
	width: 100%;
	max-width: 350px;
}
/*
.menu-item-name {
	display: block;
	margin: 1em 1em 0 1em;
	text-align: center;
}

.menu-item-image-outline {
	border-radius: 50%;
	border: solid 3px white;
	padding: 3px;
}

.menu-item-image-outline .menu-item-image {
	border-radius: 50%;
	box-sizing: border-box;
}
*/
/* Colors */
body {
	background: url("../img/background.jpg") no-repeat center center fixed;
	-webkit-background-size: cover;
	-moz-background-size: cover;
	-o-background-size: cover;
	background-size: cover;
	color: white;
}

#content {
	background: rgba(50,40,30,0.65);
}

#advertisement {
	text-shadow: 0px 1px 2px rgba(50,40,30,1);
}

#advertisement-message {
	line-height: 1.5em;
}

#advertisement-info {
	color: #f4dfac;
}

#contacts {
	text-shadow: 0px 1px 2px rgba(50,40,30,1);
}

#contacts i {
	color: #f4dfac;
}

.menu-item  {
	color: white;
	text-decoration: none;

}

.menu-item-name {
	text-shadow: 0px 1px 2px rgba(50,40,30,1);
}

.menu-item:hover {
	color: #f4dfac;
}

.menu-item:hover .menu-item-image-outline {
	border-color: #f4dfac;
}

.menu-item-name {
	font-size: 1.1em;
}

#copyright span, #copyright a {
	font-size: 0.75em;
}

#copyright span {
	color: white;
	opacity: 0.5;
}

#copyright a {
	opacity: 0.75;
	text-decoration: none;
	color: #f4dfac;
}

#copyright:hover span, #copyright:hover a {
	opacity: 1;
}

@media(max-width: 1140px) {
	#content {
		padding: 2.5em;
	}
	.content-wrapper-secondary {
		width: 85%;

	}
	.content-spacer {
		height: 2.5em;
	}
	.menu-item {
		width: calc(20% - 0.6em);
		margin-right: 0.75em;
	}
	.menu-item-name {
		font-size: 1em;
	}
}

@media(max-width: 960px) {
	#content {
		padding: 2em;
	}
	.content-wrapper-secondary {
		width: 90%;
	}
	.content-spacer {
		height: 2em;
	}
}

@media(max-width: 880px) {
	.menu-item {
		width: calc(50% - 0.5em);
		margin-right: 0;
	}
	.menu-item:nth-child(odd) {
		margin-right: 1em;
	}
	.menu-item:last-child {
		margin-right: 0;
	}
	.menu-item-name {
		margin: 1.5em;
	}

	.menu-item-image-outline {
		border-radius: 0px;
		padding: 0;
		border-width: 0px;
	}

	.menu-item-image-outline .menu-item-image {
		border-radius: 5px;
	}
	.header-left, .header-right {
		float: none;
		width: 100%;
		text-align: center;
	}

	#logo {
		display: inline-block;
		margin: 0;
		padding-bottom: 2em;
	}

	#logo img {
		height: 4em;
	}
	#languages {
		padding: 0;
	}
	#contacts, #languages {
		float: left;
		display: block;
		width: 100%;
	}
}

@media(max-width: 640px) {
	#logo img {
		height: 5em;
	}
	.content-wrapper-secondary {
		width: 70%;
	}
	.menu-item {
		width: 100%;
		margin-right: 0;
	}
	.menu-item-name {
		margin: 2em;
	}
	.menu-item-name {
		font-size: 1.25em;
	}
}

@media(max-width: 480px) {
	.content-wrapper-secondary {
		width: 90%;
	}
}

.link{
  background-color:none;
  color:#f4dfac;

	/* mouse over link */

	}
			a:hover {
	    color: none;
	}

	/* selected link */

	a:active {
	    color: none;

		}

		a:link {
			    text-decoration: none;
			}

			a, a:visited {
	    color: inherit;
	}
