* {
	box-sizing: border-box !important;
}

@font-face {
	font-family: "Carlito-Regular";
	src: url('fonts/Carlito-Regular.ttf'),
	url('fonts/Carlito-Regular.ttf'); /* IE */
}

body {
	background-color: #f7e9e0;
	color: black;
	font-family: "Carlito-Regular",Trebuchet MS,Tahoma,Verdana,Arial,sans-serif;
	font-size: 18px;
	letter-spacing: .03em;
	line-height: 1.3em;
	margin: 0;
	margin-top: 1em;
}
::selection {
  background-color: #d6555e;
  color: white;
}

body, #title, textarea {
  font-family: "Carlito-Regular",Trebuchet MS,Tahoma,Verdana,Arial,sans-serif;
	font-weight: normal;
}

#box, #error {
	border: solid 1px #d6555e !important;
	color: black;
}

a {
	color: #d6555e;
	text-decoration: underline;
}

a img {
	border: none !important;
}

a:active {
	background: none;
}

h1 {
	border-radius: 1em;
	color: #d6555e;
	display: block;
	font-size: 2.2em;
	overflow: hidden;
	line-height: 1.6em;
/*	margin: 0;*/
	padding: 1.3em 0;
	text-align: center;
	text-shadow: 3px 3px .1em rgba(255, 0, 0, 10%);
	width: 100%;
}

h2 {
	color: #d6555e;
	display: block;
	font-weight: lighter;
	margin: 0em 0 .25em 0;
}
.head {
	display: block;
	margin: -2.5em 0 3em 0;
	text-align: center;
	width: 100%;
}

#actions {
	clear: both;
	display: block;
	float: right;
	padding: 1em;
}

/*#active {
	border: solid 1px green;
	border-style: none none solid none;
	color: green;
}*/

#title {
	line-height: 14px;
	margin-top: 4px;
}

#title a {
	color: black;
	float: left;
	font-size: 10px;
	margin-left: 10px;
	line-height: 15px;
	text-decoration: none;
}

#title a img {
	margin-left: -8px;
}

#maincont {
	margin: 0 auto;
	overflow: hidden;
	min-width: 1000px;
}

#logo_right {
	float: right;
	margin-right: 1em;
	max-height: 50px;
}

#left, #right {
	margin-top: 1em;
	width: 49.5%;
}

#master_title {
	font-size: 3em;
	font-variant: small-caps;
	text-shadow: 1px 1px 20px #000;
	text-align: center;
	margin-bottom: 90px;
}

#signature {
	color: lightgray;
	display: block;
	margin: 2em 1em 1em 1em;
	text-align: right;
	font-style: italic;
}

/*		START menubar	*/
#menubar {
/*		border: solid 1px limegreen;*/
	display: block;
	margin: 0 auto;
	padding-top: 1em;
	max-width: 1400px;
	text-align: left;
	width: 100%;
}

#menubar img {
/*		border: solid 1px lightgreen !important;*/
	margin: 0 .3em !important;
	margin-right: 14em;
	max-height: 150px;
}

menu_links {
	display: inline-block;
	float: right;
	font-size: 1.4em;
	font-weight: bold;
	margin: 1em;
	vertical-align: top;
}

menu_links a {
	color: #5aa56d;
	margin: .5em;
	text-decoration: none;
}
menu_links a:hover {
	color: #63c0af;
	text-shadow: 0 0 1.7em #63c0af;
}


table-cont {
	background: none;
	border: none;
	display: block;
}
table-group {
	border-radius: .2em;
	display: block;
	margin-bottom: 1em;
	overflow: hidden;
	width: 100%;
}
table-item {
	display: block;
	padding: .5em !important;
	line-height: 1.4rem;
	vertical-align: bottom;
	padding-top: 0;
}
solid-row {
	flex-grow: 1;
	flex-basis: 150px;
	padding-top: .25em;
}
flexible-row {
	display: block;
	flex-basis: 100%;
	padding-top: .25em;
}

#bite {
	display: block;
	margin-left: 1em;
	padding-left: 1em;	
	width: 90%;
}

form {
	text-align: left;
	padding: 0 1em;
	margin: 0;
	width: 96% !important;
}
input, select, input[type=submit], input[type=text], input[type=password], textarea {
	border: solid 1px #d6555e;
	border-radius: .5em;
	color: #1e0a46;
	font-size: .9em;
	font-weight: bold;
	float: none !important;
	margin: 4px;
	padding: 1em;
	width: 100% !important;
}

input:active, select:active, input[type=submit]:active, input[type=text]:active, input[type=password]:active, textarea:active {
	border: solid 1px #d6555e;
}
input[type=submit] {
	background-color: #5aa56d;
	border: solid 1px #5aa56d;
	color: white;
}
input[type=submit]:hover {
	background-color: #63c0af;
	color: white;
}
textarea {
	height: 20vh;
	min-height: 150px;
	overflow-y: auto;
	padding: .6em !important;
}


#cont, #cp, #debug {
	border: solid 1px darkgray;
	overflow: hidden;
}

#cont {
	border: none;
	vertical-align: top;
}

#intcont {
	background: linear-gradient(to bottom, #f0d7c7, transparent);
	border-radius: 1em;
	border-radius: 2em;
	overflow: hidden;
	margin: 0 auto;
	margin-top: 5em;
	max-width: 1300px;
}

#title {
	display: inline-block;
	font-size: 1.7em;
	margin: 1em;
	padding: 0 0 1em 1em;
	vertical-align: bottom;
}

#output {
/*	border: solid 1px #ddf;*/
/*	box-shadow: 0 0 1em -.2em #eda2f2;*/
/*	color: white;*/
	min-height: 5em !important;
	width: 100%;
}

form, #textcont {
	display: inline-block;
	margin-left: 1em;
	text-align: justify-all;
	width: 90%;
}

#text {
	display: inline-block;
	float: right;
	vertical-align: top;
	width: 54%;
}

#photo {
	float: left;
	text-align: center;
	vertical-align: top;
	width: 45%;
}

#photo img {
	border: solid 2px #d6555e;
	border-radius: 100%;
	box-shadow: 0 0 1em -.5em #ed91f2;
	display: inline-block;
	max-width: 400px;
	width: 70%;
}

#footer {
	clear: both;
	display: block;
	font-size: .8em;
	margin: 8em 0 3em 0;
	text-align: center;
	width: 100%;
}

#footer a {
	color: black;
	text-decoration: underline;
}

#footer_logo {
	display: block;
	height: 85px;
	margin: 2em;
	max-width: 86%
}

#footer_logo img {
	float: right;
}

#error, #ok, #info {
	border-radius: .5em;
	color: black;
	line-height: 1.2em;
	min-height: 18px;
	padding: .3em 0 .5em 5em;
}

#error {
	background: url('images/error.jpg') no-repeat 10px center white;
}

#ok {
	background: url('images/tick.jpg') no-repeat 10px center white;
}

#info {
	background: url('images/info.jpg') no-repeat 10px center white;
}

#soft_break {
	display: inline;
}

.video_cont {
  height: 0;
  overflow: hidden !important;
  border-radius: 1em;
  margin: .5em 0 2em 0;
  padding-bottom: 56.25%;
/*	padding-bottom: 80vh;*/
  position: relative;
  z-index: 0;
  margin: 0 auto;
  width: 95%;
}

.video_cont iframe {
  border: solid 1px #d6555e !important;
  border-radius: .3em;
  left: 0;
  top: 0;
  position: absolute;
  overflow: hidden;
  margin: 0 auto !important;
  height: 100%;
  width: 100%;
  z-index: 0;
}


@media only screen and (max-device-width: 780px),
only screen and (max-width: 780px) {
	#maincont, #intcont {
		width: 97%;
	}

	#menubar img {
		display: block;
		margin: 0 auto !important;
		padding-top: 1.5em;
	}

	form * {
		font-size: 1.05em;
		line-height: 1.2em;
		padding: 0;
	}

	h1 {
		font-size: 3em;
	}

	#text {
		display: block;
		clear: both;
		float: none;
		font-size: 1.4em;
		line-height: 1.4em;
		width: 98%;
		padding: 5%;
	}

	#photo {
		display: block;
		clear: both;
		float: none;
		width: 100%;
	}
	#photo img {
		display: block;
		clear: both;
		margin: 0 auto;
		width: 100%;
/*		display: none;*/
	}

	menu_links {
		display: block;
		float: none;
		margin: 2em auto;
		margin-bottom: -2em;
		padding: 1em 0;
		text-align: center;
		width: 90%;
	}

	menu_links a {
		background-color: #5aa56d;
		border: solid 1px #5aa56d;
		border-radius: .5em;
		color: white;
		margin: .2em;
		padding: .7em;
	}

	menu_links a:hover {
		background-color: #63c0af;
		color: white;
	}

	#footer {
		font-size: 1.1em;
	}
}


@media only screen and (max-device-width: 640px),
only screen and (max-width: 640px) {
	#menubar img {
		display: block;
		margin: 0 auto !important;
		padding-top: .5em;
		max-height: 200px;
	}
	
	#text {
		font-size: 1.7em;
	}

	form {
		width: 95% !important;
	}
	form * {
		font-size: 1.05em;
		line-height: 1.2em;
		padding: 0;
	}

	h1 {
		font-size: 3em;
	}
}
