/*
Theme Name: Design 37
Theme URI: http://www.inspirelight.net/
Description: InspireLight Design 37
Author: Kenneth Kwee
*/

/* Body */
* {
	font-family: 'Lato', sans-serif;
	font-weight: 400;
}
body {
	margin: 0;
}
body, p, div, td, th {
	font-size: 16px;
}
html,
body,
body > .container {
	height: 100%;
}
body > .container {
	height: auto;
	min-height: 100%;
	max-width: 1200px;
	margin: 0 auto;
}

/* Header */
#header {
	background: 
		url('ds37-top-x.svg') 80% -175px repeat-x,
		url('ds37-top-y.svg') 30% -180px repeat-x,
		url('ds37-top-z.svg') 80% -185px repeat-x;
	transition: 0.4s 0s background ease;
	height: 160px;
	width: 100%;
	margin: 0;
}
#header > div {
	min-width: 350px;
	max-width: 1200px;
	margin: 0 auto;
}
#brand {
	background: url('ds37-logo.svg') left 30px top 10px / auto 89px repeat-y;
	transition: 0.4s 0s all ease;
}
#brand:hover {
	background-position: left 30px top 188px;
	transition: 0.5s 0s all ease;
}
#brand img {
	width: 260px;
	height: 60px;
	border: 0;
}

#header + .container {
	margin-top: -25px;
}


#header.affix {
	position: fixed;
	top: 0;
	z-index: 99;

	background-position: 
			90% -240px,
			20% -250px,
			90% -265px;
	transition: 0.4s 0s all ease;
	height: 70px;
}
#header.affix #brand {
	background-size: auto 50px;
	background-position: 10px 5px;
	float: left;
}
#header.affix #brand:hover {
	background-position: 10px 105px;
	transition: 0.5s 0s all ease;
}
#header.affix #brand img {
	height: 33px;
	width: 164px;
}
#header.affix div.menu {
	margin: 0 20px;
	float: right;
	padding-top: 8px;
}
#header.affix + .container {
	margin-top: 135px;
}


/* Footer */
footer {
	background:
		url('ds37-footer.svg') left top repeat-x,
		url('ds37-footer-jazz.svg') -230px -210px no-repeat,
		#333;
	min-height: 415px;
	clear: both;
	padding-top: 65px;
	border-bottom: 3px solid #62c6ed;
	animation: footer 30s linear infinite;
}
@keyframes footer {
	0% { background-position: 0 top, -230px -210px; }
	100% { background-position: -1920px top, -230px -210px; }
}
footer * {
	font-size: 13px;
}
footer a {
	color: #62c6ed;
}
footer a:hover {
	color: #ffe01c;

	-moz-text-decoration-style: dotted;
	-webkit-text-decoration-style: dotted;
	text-decoration-style: dotted;
}
.footer-map {
	padding-top: 10px;
	margin-left: 30px;
	min-height: 330px;
	color: #fff;
	font-weight: 300;
}
.footer-copy {
	color: #fff;
	margin: 1em 0 1em 45px;
	clear: both;
}
.footer-sitemap > ul > li {
  display: block; float: left; width: auto;
  padding-right: 0.5em;
  height: 9em;
}
.footer-sitemap > ul > li > a {
	color: #fff;
}
.footer-sitemap > ul,
.footer-sitemap > ul > li > ul {
  list-style-type: none;
  text-indent: 0; padding: 0; margin: 0;
}
.footer-sitemap > ul > li > ul > li {
  display: block; float: none; width: auto; height: auto;
}
.footer-brand {
	background: url('ds37-logo.svg') left top / 150px auto no-repeat;
	width: 150px;
	height: 35px;
	margin-left: 13px;
}

sup {
	font-size: 60%;
}

/* Navigation */
div.menu {
	text-align: center;
	margin: 7px 0 50px 0;
}
div.menu * {
	font-weight: 300;
}
div.menu > ul {
	list-style: none;
	margin: 0;
	padding: 0;
}
div.menu > ul > li {
	display: inline-block;
	margin-left: 0em;
}
div.menu > ul > li:first-child {
	margin-left: 0;
}
div.menu a {
	color: #fff;
	text-decoration: none;
	transition: 0.1s 0s all ease-in-out;
	padding: 5px 15px;
	border-radius: 60% 100%;
}
div.menu a:hover {
	color: #313131;
	text-decoration: underline;
	transition: 0.3s 0s all ease-in-out;

	-moz-text-decoration-style: dotted;
	-webkit-text-decoration-style: dotted;
	text-decoration-style: dotted;

	background: #fff;
	border-radius: 100% 60%;
}
@media screen and (max-width: 850px) {
	#header {
		background-position: 
			50% -190px,
			50% -200px,
			50% -215px;
		transition: 0.4s 0s all ease;
		height: 130px;
	}
	#brand {
		background: url('ds37-logo.svg') left 30px top 10px / auto 67px repeat-y;
		transition: 0.4s 0s all ease;
	}
	#brand:hover {
		background-position: left 30px top 144px;
		transition: 0.5s 0s all ease;
	}
	#header.affix + .container {
		margin-top: 105px;
	}

	#brand img {
		width: 210px;
		height: 50px;
	}
	div.menu {
		margin-top: 0;
	}
}
@media screen and (min-width: 1100px) {
	#header {
		height: 220px;
	}
	#brand {
		background: url('ds37-logo.svg') left 0 top 20px / auto 116px repeat-y;
		transition: 0.4s 0s background ease;
	}
	#brand:hover {
		background-position: left 0 top 252px;
		transition: 0.5s 0s all ease;
	}
	#header.affix + .container {
		margin-top: 195px;
	}

	#brand img {
		width: 260px;
		height: 90px;
	}

	div.menu {
		font-size: 18px;
	}
}

@media screen and (min-width: 1300px) and (max-width: 1499px)
, screen and (min-width: 1700px) and (max-width: 1899px) {
	#header {
		background-position: 
			70% -135px,
			30% -130px,
			80% -125px;
		transition: 0.7s 0s background-position ease;
	}
}
@media screen and (min-width: 1100px) and (max-width: 1299px)
, screen and (min-width: 1500px) and (max-width: 1699px)
, screen and (min-width: 1900px) {
	#header {
		background-position: 
			30% -135px,
			80% -130px,
			40% -125px;
		transition: 0.7s 0s background-position ease;
	}
}

/* Content */
.container div {
	font-weight: 400;
	color: #222;
}
.container a {
	font-weight: 400;
	color: #62c6ed;
	text-decoration: none;
	transition: 0.3s 0s all ease-in-out;
}
.container h1, .container h1 a {
	font-size: 48px;
	text-transform: uppercase;
	color: #62c6ed;
	font-weight: 200;
	text-align: center;
	text-decoration: none;
	transition: 0.3s 0s all ease-in-out;
	margin-top: 20px;
	padding-top: 20px;
}
h2 {
	text-transform: uppercase;
	color: #313131;
	margin-top: 0;
	font-weight: 200;
}
p + h2 {
	margin-top: 40px;
}

.post {
	margin-bottom: 50px;
}
.container a:hover {
	color: #313131;
	text-decoration: underline;
	transition: 0.1s 0s all ease-in-out;

	-moz-text-decoration-style: dotted;
	-webkit-text-decoration-style: dotted;
	text-decoration-style: dotted;
}
.post {
	min-width: 600px;
}
.post > .post-meta + img {
	margin-bottom: 1em;
	width: 100%;
}
.post-meta {
	text-align: center;
}

.thumbs {
	margin: 1em auto;
	height: 254px;
	overflow: hidden;
	text-align: center;
}
.thumbs > div > div {
	width: 130px;
	height: 122px;
	display: inline-block;
	margin: 0 7px;
	white-space: nowrap;
	overflow: hidden;
	text-overflow: ellipsis;
	text-align: center;
}

.pager > * {
	display: inline-block;
	padding: 3px 5px;
	color: #343434;
}



/****************************
 * Comments
*****************************/

/* Header */
#comments h3 span, #respond h3 span {
  color: #313131; background: #eee;
  padding: 0.4em 8px; }
#comments h3 {
  margin: 0.3em 0; }
#respond h3 {
  margin: 1em 0 1em; }
div.comment-body div.comment-author img.avatar {
  float: right; }
div.comment-body div.comment-author span.says {
  display: none; }
div.comment-body div.comment-author cite.fn {
  font-size: 13pt; color: #313131;
  margin-bottom: 4px; font-style: normal; font-weight: bold; }
div.comment-body div.comment-meta {
  font-size: 8pt; color: #313131;
  margin-bottom: 4px; }

#comments .navigation {
  clear: both;
  margin: 0.5em 0; height: 1em; }
#comments .navigation .alignleft {
  float: left; }
#comments .navigation .alignright {
  float: right; margin-right: 5px;
}

ol.commentlist {
  list-style: none; padding: 0; margin: 0;
  clear: both; float: left; }
ol.commentlist li.comment {
  margin: 0 4px 4px 0;
  float: left; display: inline; overflow: auto; }

#respond textarea#comment {
  width: 217px; height: 175px; }
#respond textarea#comment, #respond input, ol.commentlist li.comment {
  background: #eee; color: #313131;
  border: 0; }
#respond textarea#comment, ol.commentlist li.comment {
  padding: 8px 8px 2px;
  width: 217px; height: 175px; }
#respond input {
  padding: 0.25em 8px; }
#respond p {
  margin-bottom: 5px; }
#respond .cancel-comment-reply {
  display: none; }
#respond form {
  margin: 0; }