@charset "UTF-8";
@import url("http://fonts.googleapis.com/css?family=Lato:400,400italic,700,700italic|Source+Code+Pro:400");

@-webkit-keyframes load {
	from {
		opacity: 0;
	}
	to {
		opacity: 1;
	}
}

@-moz-keyframes load {
	from {
		opacity: 0;
	}
	to {
		opacity: 1;
	}
}

@-o-keyframes load {
	from {
		opacity: 0;
	}
	to {
		opacity: 1;
	}
}

@keyframes load {
	from {
		opacity: 0;
	}
	to {
		opacity: 1;
	}
}

body {
	color: #888888;
	font-family: "Lato", sans-serif;
	font-size: 12pt;
	font-weight: 400;
	line-height: 1.75em;
}

#head {
	position: absolute;
	top: 0px; left: 0px;
	height: 250px; width: 100%;

	display: block;

	background-image: url("../images/banner/l/banner.jpg");
	background-position: center center;
	background-repeat: no-repeat;
	background-size: cover;

	z-index: 2;
}

#logo {
	position: absolute;
	top: 40px;
	height: 160px;
	background-color: white;
	width: 160px;
	margin-left: -webkit-calc(50% - 80px);
	margin-left: -moz-calc(50% - 80px);
	margin-left: -o-calc(50% - 80px);
	margin-left: calc(50% - 80px);

	background-image: url("logo.png");
	background-position: center center;
	background-repeat: no-repeat;
	background-size: 80px;

	z-index: 3;
}

.hidden {
	display: none;
}

/* =============== Menu =============== */

#menu {
	position: absolute;
	top: 250px; left: 0px;
	height: 50px; width: 100%;

	background-color: #eaeaea;

	z-index: 3;
}

#menu[style="position: fixed;"]{
	top: 0px;
}

#menu .max {
	position: relative;
	width: 60%;
	margin-left: -webkit-calc(50% - 30%);
	margin-left: -moz-calc(50% - 30%);
	margin-left: -o-calc(50% - 30%);
	margin-left: calc(50% - 30%);
}

#menu .max .menuitem {
	position: relative;
	float: left;

	height: 50px;
	width: -webkit-calc(100% / 6);
	width: -moz-calc(100% / 6);
	width: -o-calc(100% / 6);
	width: calc(100% / 6);

	text-align: center;

	padding: 8px;
	box-sizing: border-box;

	overflow: hidden;
}

#menu .max .menuitem a,
#menu .max .menuitem a:link,
#menu .max .menuitem a:hover,
#menu .max .menuitem a:active,
#menu .max .menuitem a:visited {
	text-decoration: none;
	color: #888888;
	-webkit-transition: all 0.3s;
	-moz-transition: all 0.3s;
	-o-transition: all 0.3s;
	transition: all 0.3s;
}

#menu .max .menuitem a:hover {
	color: #0ec66c;
	-webkit-transition: all 0.3s;
	-moz-transition: all 0.3s;
	-o-transition: all 0.3s;
	transition: all 0.3s;
}

#menu .max .selected {
	background-color: #0ec66c;
}

#menu .max .selected a,
#menu .max .selected a:link,
#menu .max .selected a:hover,
#menu .max .selected a:active,
#menu .max .selected a:visited {
	color: white;
}

#menu .max .touch {
	display: none;
}

/* =============== Content =============== */

#content {
	width: 60%;
	margin-left: -webkit-calc(50% - 30%);
	margin-left: -moz-calc(50% - 30%);
	margin-left: -o-calc(50% - 30%);
	margin-left: calc(50% - 30%);
	margin-top: 360px;

	z-index: 1;
}


#content .title {
	margin-bottom: 50px;
	color: #0ec66c;
	font-size: 3.5em;
	line-height: 1em;
	font-weight: 600;
}

#content .siteButton,
#content .button {
	display: inline-block;
	height: 35px;
	width: 150px;

	-moz-box-shadow: inset 0px 1px 0px 0px #ffffff;
	-webkit-box-shadow: inset 0px 1px 0px 0px #ffffff;
	box-shadow: inset 0px 1px 0px 0px #ffffff;

	background: -webkit-gradient( linear, left top, left bottom, color-stop(0.05, #f9f9f9), color-stop(1, #e9e9e9) );
	background: -moz-linear-gradient( center top, #f9f9f9 5%, #e9e9e9 100% );
	background-color: #f9f9f9;

	border-radius: 6px;
	border: 1px solid #dcdcdc;

	color: #666666;
	font-size: 14px;
	font-weight: bold;
	font-style: normal;
	text-decoration: none;
	text-align: center;
	text-shadow: 1px 1px 0px #ffffff;
}

#content .siteButton{
	margin-bottom: 60px;
}

#content .button {
	float:  right;
}

#content .siteButton:hover,
#content .button:hover {
	background:-webkit-gradient( linear, left top, left bottom, color-stop(0.05, #e9e9e9), color-stop(1, #f9f9f9) );
	background: -moz-linear-gradient( center top, #e9e9e9 5%, #f9f9f9 100% );
	background-color: #e9e9e9;
}

#content .siteButton:active,
#content .button:active {
	position:relative;
	top: 1px;
}

#content .flex {
	display: flex;
	flex-flow: row nowrap;
	align-items: flex-start;
}

#content .flex .default {
	order: 1;
	flex: 1 1 auto;
}

#content .flex .side {
	order: 2;
	flex: 1 1 auto;
	max-width: 350px;
	margin-left: 20px;
}

/* =============== Article =============== */

.flex article,
.default article {
	margin-bottom: 80px;
	border-bottom: 8px solid #eaeaea;

	-webkit-animation: load 0.5s ease-out;
	-moz-animation: load 0.5s ease-out;
	-o-animation: load 0.5s ease-out;
	animation: load 0.5s ease-out;
}


.default article a,
.flex article a,
.default article a:link,
.flex article a:link,
.default article a:hover,
.flex article a:hover,
.default article a:active,
.flex article a:active,
.default article a:visited,
.flex article a:visited {
	text-decoration: none;
	color: #0ec66c;

	-webkit--webkit-transition: all 0.3s;
	-moz-transition: all 0.3s;
	-o-transition: all 0.3s;
	transition: all 0.3s;
}

.default article a:hover,
.flex article a:hover {
	color: #10b063;
}


.default article .img {
   width: 100%;
}


.randimg img {
  width:300px;
}

.default article .img, .default article p img, .randimg img {
	background-position: center center;
	background-repeat: no-repeat;
	background-size: cover;

	box-shadow: 0px -2px 0px rgba(212, 212, 212, 1);
	border-radius: 18px;

	overflow: hidden;
}

.flex article .social,
.default article .social {
	margin-top: 50px;
}

.flex article .social div,
.default article .social div {
	height: 30px; width: 30px;
	margin-right: 8px;
	display: inline-block;

	-webkit-filter: grayscale(100%);
	-moz-filter: grayscale(100%);
	-o-filter: grayscale(100%);
	filter: grayscale(100%);

	background-repeat: no-repeat;
	background-size: 100%;

	-webkit-transition: all 0.5s;
	-moz-transition: all 0.5s;
	-o-transition: all 0.5s;
	transition: all 0.5s;
}

.flex article .social div:hover,
.default article .social div:hover {
	-webkit-filter: grayscale(0%);
	-moz-filter: grayscale(0%);
	-o-filter: grayscale(0%);
	filter: grayscale(0%);

	-webkit-transition: all 0.5s;
	-moz-transition: all 0.5s;
	-o-transition: all 0.5s;
	transition: all 0.5s;
}

.default article .social .twitter {
	background-image: url(images/twitter.png);
}

.default article .social .facebook {
	background-image: url(images/facebook.png);
}

.default article .social .mail {
	background-image: url(images/mail.png);
}

.flex article .social .edit,
.default article .social .edit {
	float: right;
	background-image: url(images/edit.png);
}

/* =============== Login =============== */

.default form {
	width: 33%;
	min-width: 300px;
}

.default input[type="email"], .default input[type="text"], .default input[type="password"] {
	width: 100%;
	height: 40px;
	margin-bottom: 10px;

	border: 3px solid #eaeaea;

	padding: 10px;
	box-sizing: border-box;

	color: #888888;
	font-family: "Lato", sans-serif;
	font-size: 10pt;
	font-weight: 400;

	-webkit-transition: all 0.3s;
	-moz-transition: all 0.3s;
	-o-transition: all 0.3s;
	transition: all 0.3s;
}

.default input[type="email"]:focus, .default input[type="text"]:focus, .default input[type="password"]:focus {
	outline: none;
	border: 3px solid #0ec66c;
	border-radius: 0px;

	-webkit-transition: all 0.5s;
	-moz-transition: all 0.5s;
	-o-transition: all 0.5s;
	transition: all 0.5s;
}

.default label {
	font-size: 12px;
}

.default input[type="submit"] {
	height: 20px; width: 100%;
	border-radius: 0px;
	border: none;
	color: white;
	background-color: #0ec66c;

	cursor: pointer;
}

/* =============== Article Cards =============== */

.cards {
	position: static;

	-webkit-animation: load 0.5s ease-out;
	-moz-animation: load 0.5s ease-out;
	-o-animation: load 0.5s ease-out;
	animation: load 0.5s ease-out;
}

.cards article {
	position: relative;
	display: inline-block;
	vertical-align: middle;
	width: 30%;
	min-width: 280px;

	border-radius: 10px;
	border: 3px solid #eaeaea;

	margin-right: 20px;
	margin-top: 40px;
	padding: 15px;
	box-sizing: border-box;
	font-size: 12pt;
}

.cards article a,
.cards article a:link,
.cards article a:hover,
.cards article a:active,
.cards article a:visited {
	text-decoration: none;
	color: #0ec66c;

	-webkit-transition: all 0.3s;
	-moz-transition: all 0.3s;
	-o-transition: all 0.3s;
	transition: all 0.3s;
}

.cards article a:hover {
	color: #10b063;
}

.cards article .img {
	width: 200px;
	height: 200px;

	margin-left: -webkit-calc(50% - 100px);
	margin-left: -moz-calc(50% - 100px);
	margin-left: -o-calc(50% - 100px);
	margin-left: calc(50% - 100px);
	margin-top: 40px;

	background-position: center center;
	background-repeat: no-repeat;
	background-size: cover;

	box-shadow: 0px -2px 0px rgba(212, 212, 212, 1);
	border-radius: 100px;

	overflow: hidden;
}

.cards article h2 {
	text-align: center;
}

.cards article p {
	text-align: center;
}

/* =============== Image select gallery =============== */

#content .select {
	position: relative;
	margin-top: 20px;
	margin-bottom: 20px;
	padding-bottom: 20px;
	border-bottom: 7px solid #eaeaea;

	-webkit-animation: load 0.5s ease-out;
	-moz-animation: load 0.5s ease-out;
	-o-animation: load 0.5s ease-out;
	animation: load 0.5s ease-out;
}

#content .select .item {
	display: inline-block;
	height: 50px;
	width: 24%;
	min-width: 240px;

	padding: 8px;
	box-sizing: border-box;

	text-align: center;
	vertical-align: middle;
}

#content .select .item a,
#content .select .item a:link,
#content .select .item a:hover,
#content .select .item a:active,
#content .select .item a:visited {
	text-decoration: none;
	color: #0ec66c;

	-webkit-transition: all 0.3s;
	-moz-transition: all 0.3s;
	-o-transition: all 0.3s;
	transition: all 0.3s;
}

#content .select .item a:hover {
	color: #10b063;
	-webkit-transition: all 0.3s;
	-moz-transition: all 0.3s;
	-o-transition: all 0.3s;
	transition: all 0.3s;
}

#content .select .selected {
	background-color: #0ec66c;
}

#content .select .selected a,
#content .select .selected a:link,
#content .select .selected a:hover,
#content .select .selected a:active,
#content .select .selected a:visited {
	color: white;
}

#content .pictures {
	-webkit-animation: load 0.5s ease-out;
	-moz-animation: load 0.5s ease-out;
	-o-animation: load 0.5s ease-out;
	animation: load 0.5s ease-out;
}


/* =============== Footer =============== */

#footer {
	position: relative;
	width: 100%;
	margin-top: 100px;

	text-align: center;
	font-size: 12pt;
	font-weight: 300;
}

#footer a,
#footer a:link,
#footer a:hover,
#footer a:active,
#footer a:visited {
	text-decoration: none;
	color: #0ec66c;

	-webkit-transition: all 0.3s;
	-moz-transition: all 0.3s;
	-o-transition: all 0.3s;
	transition: all 0.3s;
}

#footer a:hover {
	color: #10b063;
}

/* =============== Newsletter =============== */

#newsletter {
	position: fixed;
	bottom: -230px;
	right: 20px;
	width: 300px;
	height: 300px;

	border: 4px solid #eaeaea;

	padding: 15px;
	box-sizing: border-box;

	background-color: white;

	-webkit-transition: all 0.5s;
	-moz-transition: all 0.5s;
	-o-transition: all 0.5s;
	transition: all 0.5s;
}

#newsletter:hover {
	bottom: -3px;

	-webkit-transition: all 0.5s;
	-moz-transition: all 0.5s;
	-o-transition: all 0.5s;
	transition: all 0.5s;
}

#newsletter .title {
	text-align: center;
	font-weight: bold;

	-webkit-transition: all 0.5s;
	-moz-transition: all 0.5s;
	-o-transition: all 0.5s;
	transition: all 0.5s;
}

#newsletter p {
	text-align: center;
	font-size: 12pt;
}

#newsletter input[type="email"] {
	width: 100%;
	height: 40px;

	border: 3px solid #eaeaea;

	padding: 10px;
	box-sizing: border-box;

	color: #888888;
	font-family: "Lato", sans-serif;
	font-size: 10pt;
	font-weight: 400;

	-webkit-transition: all 0.3s;
	-moz-transition: all 0.3s;
	-o-transition: all 0.3s;
	transition: all 0.3s;
}

#newsletter input[type="email"]:focus {
	outline: none;
	border: 3px solid #0ec66c;
	border-radius: 0px;

	-webkit-transition: all 0.5s;
	-moz-transition: all 0.5s;
	-o-transition: all 0.5s;
	transition: all 0.5s;
}

#newsletter input[type="submit"] {
	height: 20px; width: 100%;
	border-radius: 0px;
	border: none;
	color: white;
	background-color: #0ec66c;

	cursor: pointer;
}

@media all and (max-width:1200px) {
	#menu .max, #content {
		width: 90%;
	margin-left: -webkit-calc(50% - 45%);
	margin-left: -moz-calc(50% - 45%);
	margin-left: -o-calc(50% - 45%);
	margin-left: calc(50% - 45%);
	}
}

@media all and (max-width:1000px) {
	body {
		font-size: 12pt;
	}

	#head {
		height: 150px;
		background-image: url("../images/banner/s/banner.jpg");
	}

	#logo {
		top: 30px;
		height: 90px;
		width: 90px;
	margin-left: -webkit-calc(50% - 45px);
	margin-left: -moz-calc(50% - 45px);
	margin-left: -o-calc(50% - 45px);
	margin-left: calc(50% - 45px);

		background-size: 60px;
	}

	#menu {
		top: 150px;
		height: 50px;

		-webkit--webkit-transition: all 0.3s;
		-moz-transition: all 0.3s;
		-o-transition: all 0.3s;
		transition: all 0.3s;

		overflow: hidden;
	}

	#menu .max .touch {
		display: block;
	}

	#expandmenu:checked ~ #menu {
		height: -webkit-calc(51px * 7);

		-webkit--webkit-transition: all 0.3s;
		-moz-transition: all 0.3s;
		-o-transition: all 0.3s;
		transition: all 0.3s;
	}

	#menu .max .menuitem {
		display: block;
		float: none;

		width: 100%;
	}

	#menu .max, #content {
		width: 90%;
	margin-left: -webkit-calc(50% - 45%);
	margin-left: -moz-calc(50% - 45%);
	margin-left: -o-calc(50% - 45%);
	margin-left: calc(50% - 45%);
	}

	#content .title {
		font-size: 40px;
	}

	#content {
		margin-top: 250px;
	}

	#content .flex {
		display: block;
	}

	#content .flex .side {
		margin-left: 0px;
		max-width:100%;

	}


	.default article .img {
		height: 120px;
		border-radius: 6px;
		border: none;
	}

	#newsletter {
		display: none;
	}
}
