body{
	font-family: Calibri, Arial, Helvetica, sans-serif;
	margin:0;
	overflow-x: hidden;
	color: rgba(0, 0, 0, 0.7);
}

a{color:inherit;text-decoration: none;}
footer a:hover {text-decoration: underline;}

header {position: relative;}

.grid {background:url('data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAAAQAAAACCAYAAAB/qH1jAAAACXBIWXMAAAsTAAALEwEAmpwYAAAAB3RJTUUH4AgZFg01PEeHWgAAABtJREFUCNdjjI+Pt2dgYOhlgAImJE4xAwMDAwBDIgLtwLbiogAAAABJRU5ErkJggg==');}

@font-face {
	font-family: 'Agency FB';
	src: url('fonts/agency-fb.eot') format('embedded-opentype'),
		 url('fonts/agency-fb.ttf') format('truetype');
}

footer {
	color: white;
	font-weight: bold;
	font-size: 18px;
	text-shadow: black 0 0 5px;
	margin: 30px 25px 0;
	padding: 20px 2%;
	/*background: url(images/bg2.png);*/
	border: #7f7f7f 1px solid;
	overflow: hidden;
}

#head{
	position: relative;
	padding-top: 20px;
	width: 100%;
}

#head_title{
	padding: 0 25px;
	position: relative;
	font-family: 'Agency FB';
	font-size: 85px;
	white-space: nowrap;
	color: rgba(0, 0, 0, 0.7);
}

.logo_title, .logo {
	display: inline-block;
	vertical-align: middle;
}

.info_box {
	text-align: end;
	position: absolute;
	width: 100%;
}

.info_menu {
	width: 155px;
  padding-right: 25px;
}

.info {
	margin-left: 1em;
	display: inline-block;
	text-align: center;
	vertical-align: middle;
}

.info_text {
	font-size: 1.2em;
	font-weight: bold;
}

.header_grid{
	color: white;
	font-weight: bold;
	font-size: 23px;
	border: #7f7f7f 1px solid;
	border-radius: 5px;
	padding: 5px;
	margin-right: 15px;
	text-shadow: black 0px 0px 5px;
}

#menu {
	position: absolute;
	right: 25px;
	top: 150px;
	display: flex;
}

.btn {
	display: inline-block;
	cursor: pointer;
	white-space: nowrap;
	padding: 5px 10px;
	margin: 5px;
	color: white;
	font-weight: bold;
	font-size: 20px;
	border-radius: 5px;
	transition: box-shadow .1s ease-in-out;
	-webkit-transition: box-shadow .1s ease-in-out;
	-moz-transition: box-shadow .1s ease-in-out;
	-o-transition: box-shadow .1s ease-in-out;
	box-shadow: rgba(0,0,0,0.2) 0 0 0px 0px, rgba(0,0,0,0.1) 0 0px 0px, inset 0px 4px 20px 0px rgba(0,0,0,0) !important;
}

.btn:hover {
	box-shadow: rgba(0,0,0,0.2) 0 0 6px 1px, rgba(0,0,0,0.1) 0 5px 6px, inset 0px 4px 20px 0px rgba(0,0,0,0) !important;
}

.btn:active {
	box-shadow: rgba(0,0,0,0.2) 0 0 0px 0px, rgba(0,0,0,0.1) 0 0px 0px, inset 0px 4px 20px 0px rgba(0,0,0,0.25) !important;
}

.btn_orange{background: #e36c0a;}
.btn_blue{background:#00b0f0;}
.btn_red{background:#ff0000;}
.btn_green{background:#00b050;}
.btn_yellow{background:#ffff00;color: #5e5e5e!important;}
.btn_grey{background:#808080;}
.btn_contact{display: none;}


.btn.btn_red:after {
	content: "";
	display: inline-block;
	border-width: 8px 7px 2px;
	border-style: solid;
	border-color: white transparent transparent;
}

#separator {
	text-align: center;
	border: #7f7f7f 1px solid;
	margin: 25px;
	color: white;
	font-weight: bold;
	padding: 5px 0;
	font-size: 18px;
	text-shadow: black 0 0 5px;
}

main {
	/*overflow: hidden;*/
	font-size: 18px;
	position: relative;
	/*margin: 0 25px;*/
	display: inline-block;
	width: 100%;
	box-sizing: border-box;
	padding: 0 25px;
}

article > h1 {font-size: 1.2em;}

article > h1:after {
	content: "";
	display: block;
	height: 10px;
	background: url(images/bg2.png);
	border: #7f7f7f 1px solid;
}

.content_title {
	white-space: nowrap;
	padding: 5px 10px;
	margin: 5px;
	color: white;
	font-weight: bold;
	font-size: 20px;
	border-radius: 5px;
}

#content, #content_img{
	box-sizing: border-box;
	display: inline-block;
	vertical-align: top;
	width: 49%;
}

#content_img {
	position: relative;
}

#content_img img {
	margin:auto;
	max-width: 100%;
	border-radius: 20px;
	box-sizing: border-box;
	border: 1px solid rgba(0,0,0,.2);
}

#content{
	position: relative;
	padding: 5px 0 0 2%;
}

.photo{
	width: 100%;
	border-radius: 20px;
}

#content i {
	font-size:16px;
}

.sub-menu {
	display: none;
	margin: 10px 0 0 -10px;
	padding: 0;
	list-style: none;
	line-height: 2em;
	position: absolute;
	background: red;
	border-radius: 5px;
	z-index: 100;
	box-shadow: rgba(0,0,0,0.2) 0 0 6px 1px, rgba(0,0,0,0.1) 0 5px 6px, inset 0px 4px 20px 0px rgba(0,0,0,0) !important;
}

.sub-menu:before {
	content: "";
	position: absolute;
	top: -10px;
	height: 15px;
	width: 117px;
	z-index: -10;
}

.sub-menu-item {
	/* padding: 0 1em; */
}

.sub-menu-item:nth-child(odd) {
	background: rgba(255, 255, 255, 0.25);
}

.sub-menu-link {
	color: white;
	display: block;
	position: relative;
	padding: 0 1em;
}

.sub-menu-link:hover:before {
	content: "\2023";
	position: absolute;
	left: .15em;
	font-size: 1.5em;
}

#mobile{
	display: none;
	position: absolute;
	right: 0;
	top: 0;
	padding: 50px 20px 0 0;
	font-size: 60px;
}
#imagepop{
	position: fixed;
	z-index: 1000;
	width: 100%;
	height: 100%;
	background: rgba(0,0,0,0.2);
}

#imagepop img{
	display:block;
	margin: 60px auto;
	background: white;
	border: 1px solid #9E9E9E;
	border-radius: 20px;
	box-shadow: rgba(0,0,0,0.2) 0 0 6px 1px, rgba(0,0,0,0.1) 0 5px 6px, inset 0px 4px 20px 0px rgba(0,0,0,0) !important;
}

q:before{content: open-quote;}
q:after{content: close-quote;}

cite:before{content: " - "}
cite{color: gold;white-space: nowrap;}

/*
.sub-menu-link:hover:before {
	content: "";
	position: absolute;
	top: .7em;
	left: .25em;
	border-width: 6px 8px;
	border-style: solid;
	border-color: transparent transparent transparent white;
}
*/
@media only screen and (max-width: 1150px) {
	.tablet_fix {
		display: none;
	}
}

@media only screen and (max-width: 1000px) {

	.mobile_fix {
		display: none;
	}

	.content_title{
		display: block;
		text-align: center;
	}

	#content_img{
		overflow: hidden;
		max-height: 350px;
	}

	#content_img:before {
		content: "";
		display: block;
		position: absolute;
		height: 100%;
		width: 100%;
		background: linear-gradient(transparent 300px, white);
	}

	#content, #content_img{
		width: 100%;
		float: none;
	}

	#info{position: static;}

	.info_2{display: none;}

	#head_title{
		text-align: center;
	}

	#menu{
		position: relative;
		margin: 0 auto;
		width: 830px;
		right: 0;
		top: 0;
	}

	#separator{margin: 10px 25px;}
}

@media only screen and (max-width: 800px) {
	.grid{image-rendering:pixelated;}

	.mobile_menu{
		display: flex!important;
	}

	#mobile{
		display: block;
	}

	#info{display: none;}

	.btn_contact{display: block;}

	#menu{
		display: none;
		flex-direction: column;
		width: inherit;
		text-align: center;
	}

	.info_box {display: none;}

	#head_title{text-align: left;}

	.logo {
		width: 20vw;
		height: 20vw;
	}

	.logo_title {
		font-size: 10vw;
	}
}
/*
@media only screen and (max-width: 600px) {
	.logo{
		height: 42px;
		width: 45px;
	}

	#mobile{
		font-size: 20px;
	}

	.logo_title{
		font-size: 40px;
		line-height: 45px;
	}

	#head{height: inherit;padding: 10px 15px 0;}

	#head_title{display: flex;}

	main{padding: 0 10px;}

	#separator{margin: 10px;}
	footer{margin: 30px 10px 0;}
	#imagepop img{width:100%;}
}
*/
#error {text-align: center;}

.loader {
  position: absolute;
  color: #ffffff;
  text-indent: -9999em;
  margin: 50%;
  /* position: relative; */
  font-size: 11px;
  -webkit-transform: translateZ(0);
  -ms-transform: translateZ(0);
  transform: translateZ(0);
  -webkit-animation-delay: -0.16s;
  animation-delay: -0.16s;
  z-index: -1;
}
.loader:before,
.loader:after {
  position: absolute;
  top: 0;
  content: '';
}
.loader:before {
  left: -1.5em;
  -webkit-animation-delay: -0.32s;
  animation-delay: -0.32s;
}
.loader:after {
  left: 1.5em;
}
@-webkit-keyframes load1 {
  0%,
  80%,
  100% {
    box-shadow: 0 0;
    height: 4em;
  }
  40% {
    box-shadow: 0 -2em;
    height: 5em;
  }
}
@keyframes load1 {
  0%,
  80%,
  100% {
    box-shadow: 0 0;
    height: 4em;
  }
  40% {
    box-shadow: 0 -2em;
    height: 5em;
  }
}
