/*
Theme Name: ilb
Author: cykma
Author URI: http://wordpress.org/
*/

/* CSS reset - best to start from scratch */

html, body {
	height: 100%
}

html, body, div, span, applet, object, iframe,h1, h2, h3, h4, h5, h6, p, blockquote, pre,a, abbr, acronym, address, big, cite, code,del, dfn, em, font, img, ins, kbd, q, s, samp,small, strike, strong, sub, sup, tt, var,b, u, i, center,dl, dt, dd, ol, ul, li, fieldset, form, label, legend, table, caption, tbody, tfoot, thead, tr, th, td {
	margin: 0;
	padding: 0;
	border: 0;
	outline: 0;
}

ol, ul, li {
	list-style: none;
}

*,
*:after,
*:before {
	box-sizing: border-box;
}

input, textarea, select {
	-webkit-appearance: none;
}

a {
	word-wrap: break-word;
	color: #3683ae;
}

a:hover, a:focus {
	color: #f04cb4;
	background-color: #daedff;
}

.highlight {
	color: #9c3175;
}

.clear {
	clear: both;
}

blockquote {
  margin-top: 10px;
  margin-bottom: 10px;
  margin-left: 10px;
  padding-left: 10px;
  color: #173546;
}

/***************************************************
 these tags below have to be declared as block level elements
for browsers to render them (E.g - bloody IE!)
****************************************************/

header, nav, footer, section {
	display: block;
}

/**********************/

body {
	font-family: 'Alef', sans-serif;
	font-size: 17px;
	color: #0d232e;
	background-color: #b3d4f2;
}

/*WARAPPER_______________________________*/

#wrapper {
	padding: 0px 0px -40px 0px;
	min-height: 100%;
	height: 100%;
}

/*HEADER_______________________________*/

header {
	width: 1144px;
	height: 40px;
	background-color: #44a1d6;
}

header > h1 a {
	display: block;
	float: left;
	width: 189px;
	height: 40px;
	background-image: url("images/logo.png");
	background-position: 100% 0%;
	/* image replacement */
	text-indent: 100%;
	white-space: nowrap;
	overflow: hidden;
}

header > h1 a:hover {
	background-position: 100% 100%;
}

/*NAVIGATION_______________________________*/

#nav{
	float: right;
	margin: 0;
	width: 900px;
	font-size: 0.9em;
	font-weight: 700;
	z-index: 10;
}

	#nav > a{
		display: none;
	}
	#nav li{
		position: relative;
	}
		#nav li a{
			display: block;
			text-decoration: none;
			text-transform: uppercase;
			color: #273847;
		}
			#nav li a:active{
				
			}

		#nav span:after{
			width: 0;
			height: 0;
			content: '';
			vertical-align: middle;
			display: inline-block;
			position: relative;
			right: -0.313em; /* 5 */
		}

			/* first level */

			#nav > ul{
				height: 40px;
			}
				#nav > ul > li{
					width: 13%;
					height: 100%;
					float: left;
				}
					#nav > ul > li > a{
						height: 100%;
						line-height: 41px;
						text-align: center;
					}
						#nav > ul > li:not( :last-child ) > a{
							border: 0;
						}
						#nav > ul > li:hover > a,
						#nav > ul:not( :hover ) > li.active > a{
							color: #daedff;
							background-color: #44a1d6;
						}


				/* second level */

				#nav li ul{
					display: none;
					position: absolute;
					top: 100%;
				}
					#nav li:hover ul{
						display: block;
						left: 0;
						right: 0;
						z-index: 200;
					}
						#nav li:not( :first-child ):hover ul{
							left: -1px;
						}
						#nav li ul a{
							padding: 0.75em; /* 15 (20) */
							text-align: center;
							font-size: 0.7em;
							background-color: #44a1d6;
							border-top: 1px solid #c7ddf9;
						}
						#nav li ul a:hover{
							color: #daedff;
							background-color: #317399;
						}

#nav .page-item-2, #nav .page-item-3  {
	background-image: url("images/downArrow.png");
	background-repeat: no-repeat;
	background-position: 95% 18px;
}



/*CONTENT_______________________________*/

#main {
	padding-bottom: 40px;
	height: auto !important;
	min-height: 100%;
	height: 100%;
	width: 1144px;
	background-color: #bfdefa;
	border-left: 26px solid #b3d4f2;
	/*It is possible to use this property to emulate the behavior of browsers that do not correctly support the CSS box model specification.*/
	  -moz-box-sizing: border-box;
       box-sizing: border-box;
}

section {
	float: left;
	min-height: 100%;
	height: 100%;
	width: 670px;
}

article {
	margin-top: 40px;
	background-color: #fefefe;
	border-bottom: 2px solid #b3d4f2;
}

article h1, h1.page-title {
	padding: 12px;
	margin-bottom: 12px;
	min-height: 23px;
	font-weight: 700;
	text-align: center;
	background-color: #daedff;
}
	article h1 a {
		color: #0d232e;
		text-decoration: none;
	}
	article h1 a:hover {
		text-decoration: underline;
	}
	
	article h2 {
		font-size: 1.17em;	
		padding: 8px 20px 0 18px;
	}
	article h3 {
		font-size: 1.07em;	
		padding: 8px 20px 0 18px;
	}
	article h4 {
		font-size: 1em;	
		padding: 8px 20px 0 18px;
	}


article p {
	padding: 2px 20px 12px 20px;
}

article img{
  	float: right;
  	margin: auto;
  	padding: 10px;
  	max-width: 100%;
}

article .more-link{
	display: inline-block;
}

article .post-edit-link {
	margin-left: 18px;
}

article ul, ol {
	margin: 1em 0 1.4em 24px;
	padding: 0;
	line-height: 140%;
}
	article li {
		margin: 0 0 .5em 0;
		padding: 0;
	}

/*FIRST POST_______________________________*/

#first, #link-page {
	margin: 81px 0 20px 0;
	width: 670px;
}

#meta {
	margin-top: 10px;
	padding: 0 0 0 22px;
	min-height: 40px;
	line-height: 40px;
	font-size: 0.8em;
	color: #3683ae;
	background-color: #daedff;
	border-right: 1px solid #b3d4f2;
}

#share {
	float: right;
	margin-top: 6px;
	margin-bottom: 4px;
	width: 120px;
}
	#fb a, #twitter a, #mail a {
		float: left;
		margin-right: 10px;
		display: block;
		width: 27px;
		height: 27px;
		background-image: url("images/meta.png");
		
		/* image replacement */
		text-indent: 100%;
		white-space: nowrap;
		overflow: hidden;
	}
	
	#fb a {
		background-position: 0% 0%;
	}
		#fb a:hover {
			background-position: 0% 100%;
		}
	
	#twitter a {
		background-position: 50% 0%;
	}
		#twitter a:hover {
			background-position: 50% 100%;
		}
	
	#mail a {
		margin: 0;
		background-position: 100% 0%;
	}
		#mail a:hover {
			background-position: 100% 100%;
		}

/*Masonry_______________________________*/

#container {
	width: 670px;
	clear: both;
}

.item {
	float: left;
	margin: 0 0 20px 10px;
	padding-bottom: 10px;
	width: 320px;
}
	.item p {
		padding: 8px 15px 4px 15px;
	}
	


/*Video Container for responsible videos_______________________________*/

.video-container {
	position: relative;
	margin: 20px;
	padding: 10% 10% 56.25% 10%;
	height: 0;
	overflow: hidden;
}

.video-container iframe,
.video-container object,
.video-container embed {
	position: absolute;
	top: 0;
	left: 0;
	width: 100%;
	height: 100%;
}


/*ARCHIVE/SEARCH RESULT_______________________________*/

#archive {
	margin: 75px 0 20px 0;
	padding-bottom: 40px;
	background-color: #fefefe;
}
	#archive h1.post-title {
		margin-bottom: -10px;
		padding: 0 20px;
		text-align: left;
		background-color: #fefefe;
	}
	
.page-post {
	background-color: transparent;
	border-bottom: none;
}

.meta-info {
	margin-top: -17px;
	padding: 0 0 0 22px;
	line-height: 40px;
	font-size: 0.8em;
	color: #3683ae;
	background-color: transparent;
}



/*PAGE_______________________________*/

#page #first {
	padding-bottom: 30px;
}

#new-search {
	margin-top: 10px;
	text-align: center;
}

#new-search input[type="submit"], #new-search input[type="text"] {
	text-align: center;
	text-transform: uppercase;
	color: #173546;
	background-color: #daedff;
	border: 1px solid #173546;
}

/*PAGEBAR_______________________________*/

.pagebar {
	padding: 0.1em 0.5em;
	margin-right: 0.1em;
	margin-bottom: 1.0em;
	font-family: 'Cutive', sans-serif;
	font-size: 0.76em;
	text-decoration: none;
	text-align: center;
}

.pagebar a, .break, .this-page, .inactive {
	display: inline-block;
	margin-bottom: 3px;
	padding: 3px 10px;
	font-weight: bold;
	text-decoration: none;
	color: #bfdefa;
	background-color: #529ac4;
}

.pagebar a:visited {
	padding: 0.2em 0.5em;
	text-decoration: none;
}

.pagebar .this-page, .pagebar a:hover {
	color: #fefefe;
	background-color: #317399;
	-webkit-transition: all 0.25s ease 0s;
	-moz-transition: all 0.25s ease 0s;
	-o-transition: all 0.25s ease 0s;
	transition: all 0.25s ease 0s;
}

.pagebar .inactive {
	color: #ccc;
}


/*LINK PAGE_______________________________*/

.link-page{
	background-color: #f1f8ff;	
}
.links{
	margin-top: -12px;	
}

.links ul {
	margin:10px 0 0 0;
}
	
	.links li {
		margin:0;
		padding:0;
		text-indent: -1.5em;
		padding-left: 1.5em;
		list-style-type:none;
		line-height:2em;
		font-size: 95%;
		border-bottom:1px dotted #b3d4f2;
	}
	.links a {
		padding:6px 2px 6px 28px;
		text-decoration:none;
		text-transform:uppercase;
	}
	.links a:hover, .links a:visited {
		background-color: transparent;
	}
.artists{
	margin: 30px 0;
}

/*DOWNLOADS_______________________________*/
.sdm_post_title{display:none}
.sdm_download_link{margin-left: 20px}

/*SIDEBAR_______________________________*/

aside {
	float: left;
	min-height: 100%;
	height: 100%;
	width: 448px;
}

#block {
	position: absolute;
	left: 1044px;
}
#light, #middle, #dark {
	display: block;
	width: 100px;
	height: 100px;
}
	#light {
		display: block;
		height: 70px !important;
		background-color: #44a1d6;
	}
	#middle {
		background-color: #3683ae;
	}
	#dark {
		background-color: #317399;
	}

#welcomes {
	float: left;
	margin: 134px 0 0 0;
	padding: 10px 0;
	width: 300px;
	background-color: #daedff;
}
	#welcomes h1 {
		margin-top: 10px;
		padding-left: 20px;
		width: 260px;
		min-height: 40px;
		line-height: 2.35em;
		font-size: 1em;
		background-color: #bfdefa;
	}
	#welcomes p {
		padding: 20px;
	}

#support {
	margin-top: 407px;
}
	#support a {
		display: block;
		width: 148px;
		height: 149px;
		background-image: url("images/donate.png");
		/* image replacement */
		text-indent: 100%;
		white-space: nowrap;
		overflow: hidden;
	}
	#support a:hover {
		background-position: bottom;
	}

#download {
	float: left;
}
	#download a {
		display: block;
		width: 120px;
		height: 120px;
		background-image: url("images/download_small.png");
		/* image replacement */
		text-indent: 100%;
		white-space: nowrap;
		overflow: hidden;
	}
	#download a:hover {
		background-position: bottom;
	}

#bases {height: 120px;}
	#bases a {
		display: block;
		width: 100%;
		text-align: center;
		text-transform: uppercase;
		line-height: 37px;
		color: #daedff;
		text-decoration: none;
	}
	#bases a:hover {
		background-color: #317399;
		-webkit-transition: all 0.25s ease 0s;
		-moz-transition: all 0.25s ease 0s;
		-o-transition: all 0.25s ease 0s;
		transition: all 0.25s ease 0s;
	}
	
	#base {
		background-color: #173546;
	}
	
	#berlin {
		background-color: #122b38;
	}
	
	#glasgow {
		background-color: #0d232e;
	}

#image {
	margin-bottom: -1px;
}

/* ResponsiveSlides.js-master */
.rimage{
	margin: 20px;
}

.rslides {
	position: relative;
	list-style: none;
	overflow: hidden;
	width: 100%;
	padding: 0;
	margin: 0;
}

	.rslides li {
		-webkit-backface-visibility: hidden;
		position: absolute;
		display: none;
		width: 100%;
		left: 0;
		top: 0;
	}
	.rslides li:first-child {
		position: relative;
		display: block;
		float: left;
	}

.rslides img {
	display: block;
	height: auto;
	float: left;
	width: 100%;
	border: 0;
}

/* /ResponsiveSlides.js-master */



#search {
	float: left;
}
	#search label {
		display: none;
	}
	#search input[type="text"] {
		width: 329px;
		text-align: center;
		text-transform: uppercase;
		font-size: 1.12em;
		height: 60px;
		color: #fefefe;
		background-color: #173546;
		border: 0 none;
	}
	#search input[type="text"]:focus {
		
	}
#searchsubmit {
	display: none;
}


#archives {
	width: 119px;
	height: 60px;
	overflow: hidden;
	background-color: #f04cb4;
}
select {
	padding: 6px 29px 0 0;
	height: 60px;
	width: 165px;
	cursor: pointer;
	text-align: center;
	text-transform: uppercase;
	font-size: 1.12em;
	color: #fefefe;
	background: transparent;
	border: 0;
	border-radius: 0;
	-webkit-appearance: none;
}


#facebook {}
	#facebook a {
		float: left;
		display: block;
		width: 149px;
		height: 100px;
		background-image: url("images/conect.png");
		background-position: 0% 100%;
		/* image replacement*/
		text-indent: 100%;
		white-space: nowrap;
		overflow: hidden;
	}
	#facebook a:hover {
		background-position: 0% 0%;
	}

#like {}

	#like a {
		float: left;
		display: block;
		width: 150px;
		height: 100px;
		background-image: url("images/conect.png");
		background-position: 50% 100%;
		/* image replacement*/
		text-indent: 100%;
		white-space: nowrap;
		overflow: hidden;
	}
	#like a:hover {
		background-position: 50% 0%;
	}
	
#email {}
	#email a {
		display: block;
		width: 149px;
		height: 100px;
		background-image: url("images/conect.png");
		background-position: 100% 100%;
		/* image replacement */
		text-indent: 100%;
		white-space: nowrap;
		overflow: hidden;
	}
	#email a:hover {
		background-position: 100% 0%;
	}


/*FOOTER_______________________________*/

footer {
	width: 1144px;
	height: 40px;
	font-family: 'Cutive', sans-serif;
	font-size: 0.76em;
	line-height: 40px;
	color: #173546;
	background-color: #44a1d6;
	clear: both;
}
#imp{
	height:40px;
	line-height:40px;
	color: black;
}

#copyright {
	float: left;
	margin-left: 38px;
}

#top {
	float: right;
}
	#top a {
		display: block;
		width: 27px;
		height: 27px;
		background-image: url("images/top.png");
		/* image replacement */
		text-indent: 100%;
		white-space: nowrap;
		overflow: hidden;
	}
	#top a:hover {
		background-position: bottom;
	}

/*COMMENT_______________________________*/

#comments {
	margin-top: 60px;
	background-color: #f1f8ff;
	width: auto;
}

	#comments h2, #respond h3 {
		padding: 12px;
		min-height: 23px;
		font-weight: 700;
		text-align: center;
		background-color: #daedff;
	}
	

/* Respond Form */

#respond form{
	margin-top:30px;
}

#respond input[type="text"],
#respond textarea {
	position: relative;
	padding: 8px;
	text-indent: 70px;
	border: 1px solid #173546;
}

#respond input[type=text] {
	display: block;
	height: 24px;
	width: 75%;
}

#respond input[type="text"]:focus,
#respond textarea:focus {
	text-indent: 0;
	z-index: 1;
}

#respond textarea {
	resize: vertical;
	width: 95%;
}

#respond input#submit {
	margin: 20px 0;
	padding: 5px 22px 5px 22px;
	background-color: #daedff;
	border: none;
}

#respond input#submit:active, #respond input#submit:hover {
	cursor: pointer;
	color: #fff;
	background: #3683ae;
}

#respond .comment-form-author,
#respond .comment-form-email,
#respond .comment-form-url,
#respond .comment-form-comment {
	position: relative;
}

	#respond .comment-form-author label,
	#respond .comment-form-email label,
	#respond .comment-form-url label,
	#respond .comment-form-comment label {
		display: inline-block;
		font-size: 0.71em;
		left: 4px;
		min-width: 60px;
		padding: 4px 6px;
		position: relative;
		top: 40px;
		z-index: 1;
	}

	#respond .comment-form-author .required,
	#respond .comment-form-email .required {
		color: #f04cb4;
		font-size: 22px;
		font-weight: bold;
		left: 75%;
		position: absolute;
		z-index: 1;
	}


#respond .comment-notes,
#respond .logged-in-as {
	font-size: 0.71em;
}

#respond p {
	margin: 0 0 -10px 0;
	padding: 0 20px;
}

#respond .form-submit {
	margin: 0;
}

.commentlist #respond {
	margin: 1.625em 0 0;
	width: auto;
}


#reply-title {
	color: #373737;
	font-size: 24px;
	font-weight: bold;
	line-height: 30px;
}

#respond #cancel-comment-reply-link {
	color: #666;
	margin-left: 10px;
	text-decoration: none;
}

#respond .logged-in-as a:hover,
#respond #cancel-comment-reply-link:hover {
	text-decoration: underline;
}

#cancel-comment-reply-link {
	position: absolute;
	top: 1.1em;
	right: 1.625em;
	color: #888;
	display: block;
	font-size: 10px;
	font-weight: normal;
	line-height: 2.2em;
	letter-spacing: 0.05em;
	text-decoration: none;
	text-transform: uppercase;
}

#cancel-comment-reply-link:focus,
#cancel-comment-reply-link:active,
#cancel-comment-reply-link:hover {
	color: #ff4b33;
}

#respond label {
	line-height: 2.2em;
}


#respond p {
	font-size: 12px;
}

p.comment-form-comment {
	margin: 0;
}

.form-allowed-tags {
	display: none;
}


/*COMMENTS_______________________________*/

#comments{
	margin: 0;
	padding: 0;
	width: 670px;
}

.comment header {
	position: relative;
	margin: 0 0 10px 0;
	padding: 4px 20px;
	overflow: hidden;
	width: auto;
	background-color: transparent;
}
	.fn {
		display: block;
	}


.comment-content{
	padding: 4px 20px;
}

.commentlist, .commentlist ul, .commentlist li{
	margin: 0;
	padding: 0;
}
.commentlist > li.comment {

}

.commentlist .children {
	list-style: none;
	margin: 0;
}
.commentlist .children li.comment {

}

.comment-meta {
	color: #666;
	font-size: 0.71em;
	margin: 0;
}
	.comment-meta a {
		font-weight: bold;
	}
	.comment-meta a:focus,
	.comment-meta a:active,
	.comment-meta a:hover {
	}
	
	.comment-meta .fn {
		font-style: normal;
	}
	
	
.commentlist .children li.comment .comment-meta {
	width: auto;
}
.commentlist .children li.comment .comment-content {
	word-wrap: break-word;
	width: auto;
}

.commentlist > li:before {
}
.commentlist > li.pingback:before {
	content: '';
}


.reply{
	border-bottom: 1px solid #b3d4f2;	
}
a.comment-reply-link {
	display: inline-block;
	margin: 20px;
	padding: 0 8px;
	font-size: 0.71em;
	text-decoration: none;
	background-color: #daedff;
}
	a.comment-reply-link:hover,
	a.comment-reply-link:focus,
	a.comment-reply-link:active {
		background: #3683ae;
		color: #fff;
	}
	a.comment-reply-link > span {
		display: inline-block;
		position: relative;
		top: -1px;
	}

.comment-awaiting-moderation{
	color: #f04cb4;
}



@media screen and (max-width: 1159px) {

	/* header and navigation */
	
	header {
		width: 100%;
	}
	
	header > h1 a {
		
	}
	
	#nav{
		position: absolute;
		right:0;
		width: auto;
	}
		#nav > ul {
			float: right;
		}
		#nav > ul > li{
			width: 107px;
		}
		
		#nav li ul a{
			padding: 0.55em; 
		}
		#nav > ul > li > ul >li{
			width: 127px;
		}
		
	/* CONTENT */
	
	#main {
		width: 100%;
		border-left: 0;
	}
	
	section {
	/*needed so the sidebar floats next to the section*/
		padding-right: 300px;
		width: auto;
	}
	
	/* image */	

	article img{
		float: none;
		padding: 10px 10px 10px 2px;
	}

	#first {
		width: 100%;
	}

	/* Masonry */

	#container {
		width: 100%;
	}
		.item {
			margin: 0 0 20px 0;
			width: 100%;
		}

		
	/* SIDEBAR */
	
	aside {
		position: absolute;
		z-index: 1;
		/*needed so the sidebar floats next to the section*/
		right: 0;
		/*needed so the sidebar floats next to the section*/
		width: 300px;
	}
	
	#block {
		display: none;
	}
		#light, #middle, #dark {
			display: none;
		}
	
	#welcomes {
		float: none;
	}
	
	#support {
		float: left;
		margin-top: 0;
	}
		#support a {
			width: 150px;
			height: 150px;
		}
	
	#download {
		float: none;
	}
		#download a {
			width: 150px;
			height: 150px;
			background-image: url("images/download.png");
		}
	
	#bases {}
		#bases a {
			width: 300px;
		}
	
	#image {
		margin-bottom: -1px;
	}
		#image img {
			width: 300px;
		}
	
	#search {
		float: none;
	}
		#search input[type="text"] {
			width: 300px;
			height: 62px;
		}
	
	#archives {
		width: 300px;
	}
	
	select {
		width: 350px;
	}
	
	#facebook a, #like a, #email a {
		width: 100px;
		height: 67px;
		background-image: url("images/conect_small.png");
	}
	
	/* FOOTER */
	
	footer {
		width: 100%;
	}
	
	
	/* comments */
	
	#comments, .comment-content{
		width: auto;
	}

		#comments section{
			float: none;
			padding-right: 0;
			width: 100%;
		}
		.children{
			width: 90%;
		}

}


@media screen and (max-width: 615px) {

	/* navigation */
	
	#nav{
		position: absolute;
		top: auto;
		right: auto;
		width: 100%
	}
		#nav > a{
			position: absolute;
			right: 0;
			width: 60px;
			height: 40px;
			text-align: left;
			text-indent: -9999px;
			background-color: #3683ae;
		}
			#nav > a:hover{
				background-color: #b3d4f2;
			}

					#nav > a:before,
					#nav > a:after{
						position: absolute;
						border: 2px solid #212f3b;
						top: 35%;
						left: 25%;
						right: 25%;
						content: '';
					}
					#nav > a:after{
						top: 60%;
					}

				#nav:not( :target ) > a:first-of-type,
				#nav:target > a:last-of-type
				{
					display: block;
				}


			/* first level */

			#nav > ul{
				height: auto;
				display: none;
				position: absolute;
				left: 0;
				right: 0;
				top: 40px;
			}
				#nav:target > ul{
					display: block;
				}
				#nav > ul > li{
					width: 100%;
					float: none;
					background-color: #44a1d6
				}
					#nav > ul > li > a{
						height: auto;
						text-align: center;
						padding: 0 0.833em; /* 20 (24) */
					}
						#nav > ul > li:not( :last-child ) > a{
							border-right: none;
							border-bottom: 1px solid #daedff;
						}


				/* second level */

				#nav li ul{
					position: static;
					padding: 1.25em; /* 20 */
					padding-top: 0;
					background-color: transparent;
				}
				
					#nav li ul a{
						border-top: 0;
						border-bottom: 1px solid #c7ddf9;
					}
					
					#nav > ul > li > ul >li{
						width: 100%;
					}
		
		
		
	/* content */
	
	section {
		float: none;
		/* padding none to get rid of the 300px padding-right of the main section*/
		padding: 0;
	}
	
	article img{
		float: right;
	  	display: block;
	  	padding: 10px;
	}

	
	/* sidebar */
	
	aside {
		float: none;
		position: static;
		margin: -100px auto 0 auto;
	}
	
	
	/* footer */
	#copyright {
		margin-left: 6px;
	}

}