html, body {
display: block;
width: 100%;
height:100%;
margin: 0;
padding: 0;
box-sizing: border-box;
}
body {
background: url('fonas.jpg') top left repeat;
}
#main {
display: flex;
height: auto; /*100%;*/
width: 100%;
margin: 0;
box-sizing: border-box;
padding: 20px;
justify-content: center;
align-items: center;
}
.section {
box-sizing: border-box;
width: 100%;
margin: 0 auto;
padding: 20px;
max-width: 1040px;
}
	#content {
	display: block;
	box-sizing: border-box;
	width: 100%;
	max-width: 1200px;
	padding: 0 20px;
	margin: 20px auto;
	font: 400 17px "Roboto","Helvetica Neue",Helvetica,sans-serif;
	color: #000000;
	}
	#content a, #text a {color:#336699;}

#domain, #list, #contact, #form {
box-sizing: border-box;
background-color: #FFFFFF;
padding: 10px;
text-align: center;
border: 2px solid #CDCDCD;
border-radius: 5px;
}
	#list {
	display: flex;
	flex-wrap: wrap;
	width: 100%;
	margin-bottom: 20px;
	}
		#list div {
		box-sizing: border-box;
		flex: 1 1 calc(25% - 20px);
		max-width: calc(25% - 20px);
		margin: 10px;
		padding: 10px;
		background-color: #FFFFFF;
		border: 2px solid #DDDDDD;
		border-radius: 4px;
		text-align: center;
		font-size: 14px;
		line-height: 20px;
		}
		#list div a img {
		display: block;
		clear: both;
		padding: 4px 6px;
		margin: 0 auto 5px auto;
		border-radius: 4px;
		max-width: 100%;
		}
			#list div a img.dark {
			background-color: #555555;
			}
	#domain {
	padding: 20px 0px;
	margin-bottom: 20px;
	font-size: 25px;
	text-transform: uppercase;
	overflow-wrap: anywhere;
	}
	#form {
	border:0;
	}
	#text {
	display: block;
	box-sizing: border-box;
	width: 100%;
	max-width: 1200px;
	margin: 20px auto;
	background-color: #FFFFFF;
	border: 2px solid #CDCDCD;
	border-radius: 5px;
	padding: 20px;
	text-align: left;
	font: 400 14px "Roboto","Helvetica Neue",Helvetica,sans-serif;
	color: #555555;
	}
	#text p {
	margin-bottom: 20px;
	}
	.rounded {-moz-border-radius:5px; -webkit-border-radius:5px; border-radius:5px; outline:0; -webkit-appearance:none;}
	.shadow {box-shadow:4px 4px 8px #666666; -moz-box-shadow:4px 4px 8px #666666; -webkit-box-shadow:4px 4px 8px #666666;}
	.transparent {opacity:0.95; filter:alpha(opacity=95); -moz-opacity:0.95;}
	.transparent2 {opacity:0.90; filter:alpha(opacity=90); -moz-opacity:0.90;}
	.hidden {display:none;}
.clearfix:after {visibility:hidden; display:block; font-size:0; content:" "; clear:both; height:0;}
.clearfix {display: inline-block; }
* html .clearfix {height: 1%; }
.clearfix {display: block; }

a {color:#666;text-decoration:none;}
a:hover {text-decoration:underline;}

.c {display:block; margin:0 auto; width: 100%; max-width: 600px;}
.k {float:left; width:200px; height:24px; line-height:30px; text-align:right; font-size:15px; padding-right:10px; margin-bottom:7px;}
.d {float:left; clear:right; width:220px; height:24px; line-height:24px; clear:right; text-align:left; margin-bottom:10px;}
.d input {width:200px; height:28px; font-size:15px; padding:4px 4px; border: 2px solid #BBB;box-sizing: border-box; border-radius: 4px;}
#button { width:200px; font-size: 13px; height:30px; color: #333; background-color: #ffea3c; border: 2px solid #BBB; font-weight:bold;}


@media only screen and (max-width: 800px) {
	#list div {
	box-sizing: border-box;
	flex: 1 1 calc(50% - 20px);
	max-width: calc(50% - 20px);
	}
}
@media only screen and (max-width: 500px) {
	#list div {
	box-sizing: border-box;
	flex: 1 1 calc(100% - 20px);
	max-width: calc(100% - 20px);
	}
}

