@charset "UTF-8";
/* CSS Document */
body{
	font-family: "Niramit", serif;
	background-color: #E5E5E5;
	background: linear-gradient(#fff1e7 45%,#ffddc7);
	font-size: 20px;
	cursor: url("../Media/Cursor.png")5 5,default;
}

h1,h2,h3,h4{
	  font-family: "M PLUS Rounded 1c", serif;
}

h1::after{
	content:url("../Media/Cursor.png");
	position: relative;
	bottom: 0em;
	left: 0.5em;
}

a:link,
a:visited,
a:active{
	color: #67438a;
	font-weight: bold;
	text-decoration: none;
	text-shadow: 0.5px 0.5px #666;
}

a:hover,
a:focus{
	color: #67438a;
	text-decoration: none;
	border-bottom: 3px #67438A dotted;
	transition: 0.5s ease-out;
}

/*BUTTONS*/
.button,
.button:link,
.button:visited,
.button:active{
	color: #67438a;
	background-color: #fff1e7;
	padding: 1em;
	margin-top: 0.8em;
	width: 100%;
	max-width: 400px;
	display: inline-block;
	text-align: center;
	border-radius: 8px;
	border: 2px solid #fff;
}

.button:hover,
.button:focus{
	background-color: #fff1e7;
	border-bottom:none;
	border: 2px solid #fff;

}

/*IMAGES*/
figure img{
	margin: 0;
	padding: 0;
	max-width: 100%;
	height: auto;
}
	
.left-align{
	float:left;
	margin: 0 1em 0 0;
}

.right-align{
	float:right;
	margin-right: 1em;
}

.center-align{
	float: center;
	margin: 1em;
}

figure{
	outline: #ffdcc7 4px solid;
	padding: 0;
	-webkit-box-sizing: border-box;
	-moz-box-sizing: border-box;
	box-sizing: border-box;
}

/*figure img{
	margin: 0;
	padding: 0;
	widows: 100%;
	height:auto;
}
*/


figcaption{
	color: #444;
	background-color: #fff1e7;
	text-align: center;
	font-size: 0.8em;
	line-height: 1em;
	font-style: italic;
	padding: 0.5em;
	margin: 0;
}

/*TABLE*/
table{
	border-collapse: separate;
	border-spacing: 0.5em;
}

table caption{
	font-family: "Niramit", serif;
}

th{
	font-family: "Niramit", serif;
	font-size: 1em;
	color: #444;
	background-color: #ffdcc7;
	padding: 0.5em;
}

tr{
	font-size: 1em;
	line-height: 1em;
}

td{
	vertical-align: top;
	background-color: #fff1e7;
	padding: 0.5em;
}

.table-replacement{
	display: none;
}

/*FORMS*/
label{
	font-family: "M PLUS Rounded 1c", serif;
	text-align: left;
	float: left;
	width: 25%;
}

.inputs{
	width: 70%;
	pading: 0.5em;
	-webkit-box-sizing: border-box;
	-moz-box-sizing: border-box;
	box-sizing: border-box;
	background-color: #efefef;
	border: 0px;
}

/*WRAPPER*/
#wrapper{
	max-width: 1880px;
	margin: 0 auto;
}

#header_nav{
	width: 100%;
	position: fixed;
	z-index: 99;
	box-shadow: 5px 10px 20px rgba(0,0,0,.0.25);
	opacity: 0.99;
}

#header_space{
	min-height: 210px;
}
 
header{
	background-color: #fff1e7;
	background-image: url("../Media/snailstationaryheader.png");
	background-repeat: repeat-x;
	min-height: 140px;
	padding: 1em 0;
	-webkit-box-sizing: border-box;
	-moz-box-sizing: border-box;
	box-sizing: border-box;
}

/*LOGO*/
.logo{
	/*float: left;*/
	position: absolute;
	left: 1.5em;
	top: 1.5em;
}

.logo img{
	max-width: 100%;
	height: auto;
}
.logo{
	border-bottom: none;
}

/*NAVIGATION*/
nav ul{
	margin: 0;
	padding: 0;
}

nav{
	font-size: 0.8em;
	text-transform: uppercase;
	background-color: #ffdcc7;
	padding: 1em;
	text-align: center;
	-webkit-box-sizing: border-box;
	-moz-box-sizing: border-box;
	box-sizing: border-box;
}

nav li{
	display: inline;
	margin-right: 3.5em;
}

nav li:last-child{
	margin-right: 0;
}

nav a:linked,
nav a:visited,
nav a:active{
	color: #444;

}

nav a:hover,
nav a:focus{
	color: #222;
	border-bottom: none;
}

.primary_navigation{
	
}

.mobile_menu{
	text-decoration: none;
	border-bottom: none;
	color: #4a2c65;
	background-color: #ffddc7;
	text-align: center;
	padding: 1em 0;
	display: none;
}

	nav input[type=checkbox]{
	display: none;
	}

nav input[type=checkbox]:checked-#menu{
	display: none;
}

/*CONTENT*/
main{
	background-color: #fff;
	width: 100%;
	min-height: 700px;
	margin-bottom: 1em;
	padding: 20px;
	-webkit-box-sizing: border-box;
	-moz-box-sizing: border-box;
	box-sizing: border-box;
}

.main_with_aside{
	width: 65%;
	padding: 50px;
	float: left;
	background-image: url("../Media/backgroundimage.png");
	background-repeat: no-repeat;
	background-position: top right;
}

/*CONTENT LISTS*/
main ul{
	list-style-type: none;
	list-style-position: inherit;
	list-style-image: url("../Media/Cursor.png");
}

/*ASIDE*/
aside{
	background-color: #fff;
	margin-bottom: 1em;
	padding: 20px;
	width: 33.5%;
	min-height: 250px;
	float: right;
	-webkit-box-sizing: border-box;
	-moz-box-sizing: border-box;
	box-sizing: border-box;
}

/*ENEWSLETTER ASIDE*/
.enewsletter_aside{
	background-color: #ffddc7;
	width: 100%;
	min-height: 100px;
	text-align: center;
}

/*FOOTER*/
footer{
	color: #444;
	font-size: 0.8em;
	text-transform: uppercase;
	background-color: #fff1e7;
	padding: 1em;
}

footer h1,
footer h2,
footer h3,
footer h4{
	text-align: center;
}

footer a:link,
footer a:visited,
footer a:active{
	color: #333;
}

footer a:hover,
footer a:focus{
	color: #222;
	text-decoration: underline;
	border-bottom: none;
}

footer nav{
	background-color: #fff1e7;
}

/*IMAGES GRID*/
body {
	width: 95%;
	margin: 0 auto;
	padding: 1em;
}
/*.grid {
	display: grid;
	grid-template-columns: repeat;
}*/

.column{
	display: grid;
	grid-template-columns: repeat;
}

/*CUSTOM STYLES*/
.clearfix{
	clear: both;
}

.centered_content-box{
	margig: 0 auto;
	text-align: center;
}

.content_columns{
	-webkit-column-count:3;
	-moz-column-count:3;
	column-count: 3;
	-webkit-column-gap: 1.5em;
	-moz-column-gap: 1.5em;
	column-gap: 1.5em;
}

.header_ad{
	position: absolute;
	right: 1.5em;
	top: 1.5em;
}

.header_ad a:hover,
.header_ad a:focus{
	border-bottom: none;
}

.box_drop_shadow{
	box-shadow: 5px 10px 20px#efefef;
	
}

/*MEDIA QUERIES*/
@media screen and (max-width: 1020px){
	.main_with_aside{
		width: 100%;	
		padding: 20px;
		clear: both;
		}
	
	aside{
		width: 100%;
		clear: both;
		}
	
	a i:hover{
		transition: transform 0.4s ease-out;
		transform: rotate(15deg)scale(1.1,1.1);
	}
}
	
@media screen and (max-width: 768px){
	.content_columns{
	-webkit-column-count:2;
	-moz-column-count:2;
	column-count: 2;
		}
	label{
		width: 100%;
		clear:both;
	}
	
	.inputs{
		width: 100%;
	}
	#header_nav{
		position: static;
	}
	
	#header_space{
		display: none;
	}
	
	#menu{
		display: none;
	}
	
	.mobile_menu{
		display: block;
	}
	
	.primary_navigation{
		padding: 0;
	}
	
	.primary_navigation ul{
		padding: 0;
	}
	
	.primary_navigation li{
		display: block;
		margin-right: 0;
		margin-left: 0;
		margin: 0 auto;
		padding: 0.5em;
	}
	
	.logo{
		float: none;
		text-align: center;
		position: static;
	}
	
	.header_ad{
		text-align: center;
		position: static;
	}
	
	.left-align{
		float: none;
		margin: 0 auto;
	}

	.right-align{
		float: none;
		margin: 0 auto;
	}
	}


@media screen and (max-width: 480px){
	.content_columns{
	-webkit-column-count:1;
	-moz-column-count:1;
	column-count: 1;
	}
	.main_with_aside{
		padding: 20px;
	}
	
	header{
		min-height: 100px;
	}
	
	.header_ad{
		display: none;
	}
	
	aside{
		padding: 20px;
	}
	
	table{
		display: none;
	}
	
	.table-replacement{
		display: block;
		text-align: center;
		padding: 0.5em;
		background-color: #fff1e7;
	}
	
	.table-replacement h3{
		margin-bottom: -15px;
	}
}










