/*
This CSS modified by
Stan Bogdanov stanbogdanov -AT- yahoo.com
for ESNBU.org/Backstage  */

/************************************************************************************
RESET
*************************************************************************************/
html, body, address, blockquote, div, dl, form, h1, h2, h3, h4, h5, h6, ol, p, pre, table, ul,
dd, dt, li, tbody, td, tfoot, th, thead, tr, button, del, ins, map, object, blockquote, 
a, abbr, acronym, b, bdo, big, br, cite, code, dfn, em, i, img, kbd, q, samp, small, span,
strong, sub, sup, tt, var, legend, fieldset {
	margin: 0;
	padding: 0;
}

img, fieldset {
	border: 0;
}

/* set image max width to 100% */
img {
	max-width: 100%;
	height: auto;
	width: auto\9; /* ie8 */

}

.video-container {
	margin-left:auto;
	margin-right:auto;
	text-align:center;
	}
	
/* set html5 elements to block */
article, aside, details, figcaption, figure, footer, header, hgroup, menu, nav, section { 
    display: block;
}

a:active, a:focus {outline:0;} /* NO DOTTED BORDER for browsers that understand */


body {
	 background-color:#171926;
	font: 100%/*.95em/150% */  'Rambla', sans-serif;
	font-weight:400;}
 }
	
::-moz-selection {
 background: #d54e21; color: #fff; text-shadow: none;
 }
::selection {
 background: #d54e21; color: #fff; text-shadow: none; 
 }


input, textarea{
	font-family: Verdana,Geneva,Arial,sans-serif;
	font-size: 100%;
/* rounded border of input boxes and textarea */
	-khtml-border-radius: 5px;
	-moz-border-radius: 10px;
	-webkit-border-radius: 5px;
	border-radius: 5px;
	padding: 5px;
	border: 1px solid #ccc;
/* rounded border of input boxes and textarea END */
}

/* rounded focus border of input boxes and textarea */

input:focus, textarea:focus {
	outline: none; 
	-khtml-border-radius: 5px;
	-moz-border-radius: 10px;
	-webkit-border-radius: 5px;
	border-radius: 5px;
	padding: 5px;
	border: 1px solid #ccc;
/* rounded focus border of input boxes and textarea end */	


/* inset dropshade of input boxes and textarea */
	-moz-box-shadow: -1px -1px 5px #888;
	-webkit-box-shadow: -1px -1px 5px #888;
	box-shadow: -1px -1px 5px #888;
/* inset dropshade of input boxes and textarea end */

	}


/* reset webkit search input styles */
input[type=search] {
	-webkit-appearance: none;
	outline: none;
}
input[type="search"]::-webkit-search-decoration, 
input[type="search"]::-webkit-search-cancel-button {
	display: none;
}

#pagewrap {
	width: 980px;
	margin: 0 auto;
}


#header {
	position: relative;
	height: 120px;
}

/* site logo */
#site-logo {
	position: absolute;
	top: 10px;
	width:100%;
	float:left;
	font-family: 'Merriweather', serif;
}
#site-logo a {
	font: bold 30px/100% 'Merriweather', serif;
	color: #fff;
	text-decoration: none;
}

/* site description */
#site-description {
	font: 100%/130% 'Rambla', sans-serif;
	color: #fff;
	position: absolute;
	top: 55px;
}


#site-description a {
	color: /*#690;*/#7799aa;
}

#site-description a:hover {
	color: #d54e21;
}

#main-nav {
	width: 100%;
	background: #98b926;
	margin: 0;
	padding: 0;
	position: absolute;
	left: 0;
	bottom: 0;
	z-index: 100;

	/* rounded corner */
	-webkit-border-radius: 8px;
	-moz-border-radius: 8px;
	border-radius: 8px;
	/* box shadow */
	-webkit-box-shadow: inset 0 1px 0 rgba(255,255,255,.3), 0 1px 1px rgba(0,0,0,.4);
	-moz-box-shadow: inset 0 1px 0 rgba(255,255,255,.3), 0 1px 1px rgba(0,0,0,.4);
	box-shadow: inset 0 1px 0 rgba(255,255,255,.3), 0 1px 1px rgba(0,0,0,.4);
}
#main-nav li {
	margin: 0;
	padding: 0;
	list-style: none;
	float: left;
	position: relative;
}
#main-nav li:first-child {
	/*margin-left: 10px;*/
}
#main-nav a {
	line-height: 100%;
	font-weight: light;
	color: #fff;
	display: block;
	padding: 14px 15px;
	text-decoration: none;
	text-shadow: 0 -1px 0 rgba(0,0,0,.5);
}
#main-nav a:hover {
	color: #fff;
	background: /*#6d970c;*/#7799aa;
	/* gradient 
	background: -webkit-gradient(linear, left top, left bottom, from(#282828), to(#4f4f4f));
	background: -moz-linear-gradient(top,  #282828,  #4f4f4f);
	background: linear-gradient(-90deg, #282828, #4f4f4f);*/
}

/* post */
.post {
	margin-bottom: 40px;
}
.post-title {
	margin: 0 0 5px;
	padding: 0;
	font: bold 26px/120% 'Rambla' sans-serif;/*Arial, Helvetica, sans-serif;*/
}
.post-title a, .post-title a:visited {
	text-decoration: none;

}

.post-title a:hover, .post-title a:visited:hover {
	text-decoration: none;
}

.post-meta {
	margin: 0 0 10px;
	font-size: 90%;
}

/* post image */
.post-image {
	margin: 0 0 15px;
}

.edit a {
font-size:1.5em;
vertical-align:middle;
}

.edit a:hover {
text-decoration:none;
}

.wikiimage {
		border:0px;
		margin:0px 10px 10px 0px;
		float:left;
		}
		
#ytvideo {
		margin-left:auto;
		margin-right:auto;
		text-align:center;
		}		

#container { border:1px dotted #888;
  margin: 0em auto 0em auto;
  width:770px;
  text-align: justify;
  background-color:#fff;
  }
 
 #content {
	background: #fff;
	margin: 30px 0 30px;
	padding: 20px 35px;
	width: 600px;
	float: left;
	/* rounded corner */
	-webkit-border-radius: 8px;
	-moz-border-radius: 8px;
	border-radius: 8px;
	/* box shadow */
	-webkit-box-shadow: 0 1px 3px rgba(0,0,0,.4);
	-moz-box-shadow: 0 1px 3px rgba(0,0,0,.4);
	box-shadow: 0 1px 3px rgba(0,0,0,.4);
}


#sidebar {
	width: 280px;
	float: right;
	margin: 30px 0 30px;
}


 .widget {
	width:240px;
	background: #fff;
	margin: 0 0 30px;
	padding: 10px 20px;
	/* rounded corners */
	-webkit-border-radius: 8px;
	-moz-border-radius: 8px;
	border-radius: 8px;
	/* box shadow */
	-webkit-box-shadow: 0 1px 3px rgba(0,0,0,.4);
	-moz-box-shadow: 0 1px 3px rgba(0,0,0,.4);
	box-shadow: 0 1px 3px rgba(0,0,0,.4);
}

.widgettitle {
	margin: 0 0 5px;
	padding: 0;	
}
.widget ul {
	margin: 0;
	padding: 0;
}
.widget li {
	margin: 0;
	padding: 0;
	list-style: none;
	clear: both;
width:100%;
}


.widget li a{
	margin: 0;
	padding: 5px;
	list-style: none;
	clear: both;
display:block;
	border-bottom: solid 1px #eee;
	background-color:#fff;
	font-weight: 400;
	font-size: 95%;

}
.widget li  a:hover{	
	margin: 0;
	padding: 5px;
	list-style: none;
	clear: both;
display:block;
	border-bottom: solid 1px #ccc;
	background-color:#eee;
	text-decoration:none;
	font-weight:light;

}

/* searchform */
#searchform {
width: 100%;
display:block;
}

#searchform #s {
	width: 100%;
	/*float: right;*/
	background: #fff;
	border: none;
	padding: 6px 10px;
	/* border radius */
	-webkit-border-radius: 5px;
	-moz-border-radius: 5px;
	border-radius: 5px;
	/* box shadow */
	-webkit-box-shadow: inset 0 1px 2px rgba(0,0,0,.2);
	-moz-box-shadow: inset 0 1px 2px rgba(0,0,0,.2);
	box-shadow: inset 0 1px 2px rgba(0,0,0,.2);
	/* transition */
	-webkit-transition: width .7s;
	-moz-transition: width .7s;
	transition: width .7s;
}


/* flickr widget */
.widget .flickr_badge_image {
	margin-top: 10px;
}
.widget .flickr_badge_image img {
	width: 48px;
	height: 48px;
	margin-right: 12px;
	margin-bottom: 12px;
	float: left;
}

/************************************************************************************
FOOTER
*************************************************************************************/
#footer {
	clear: both;
	color: #ccc;
	font-size: 85%;
}
#footer a {
	color: #7799aa;
}

#footer a:hover {
	color: #d54e21;
}
/* Classes */

#banner {
  color: #aa0000;
  font-size: 160%;
  font-weight: normal;
  border-bottom:0px;
  width:400px;
  padding: 5px;
  margin: 0em;
}

p {
	margin: 0 0 1.2em;
	padding: 0;
}


a {
	color: #21759b;
	text-decoration: none;
	outline: none;
}
a:hover {
	text-decoration: underline;
	color: #d54e21;
}

/* headings */
h1, h2, h3{
	line-height: 1.4em;
	color: #000;
}
h1 {
	font-size: 1.6em;
	margin: 20px 0 .4em;
}

h2 {
	font-size: 1.5em;
	border-bottom: 1px solid #777;
	/*margin: 5px 0 5px;*/
		margin: 20px 0 .4em;
}

h3 {
	font-size: 1.1em;
	margin: 5px 0 0px;
}

	
hr{	border:0px;
	color:/*#cecece;*/#777;
	background-color:/*#cecece;*/#777;
	height: 1px;
	width: 100%;
	text-align: left;}
	
/* list */


ul, ol {
	margin: 1em 0 .5em 24px;
	padding: 0;
}
li {
	margin: 0 ;
	padding: 0;
}

dl {
  padding: 0em;
  margin: 0em 0em .5em 0em;
}


blockquote {
	margin-left:10px;
	padding-left:10px;
	border-left:2px solid #ccc;
}


span.box {
        border: 1px solid #ddd;
        padding: 1px 2px;
        margin: 1px;
}

blockquote {
  background: url(quote.gif) no-repeat;
  color: black;
  display: block;
  background-color: #f5f5f5;
  padding-left: 25px;
  padding-top: 5px;
  padding-bottom: 5px;
  padding-right: 5px;
  font-family: monospace;
  font-size: 14px;
  line-height:1.6;
}


table {
  background-color: #fff;
  border: 1px solid #ddd;
  width:100%;
}

 td {
  background-color: #eee;
  border: 1px solid #ccc;
  font-size: 10pt;
  line-height:140%
}



#sidebar table {
  background-color: #eee;
  border: 1px solid #ddd;
}
#sidebar td {
  background-color: #eee;
  border: 1px solid #ccc;
}

#menu {margin-left:10px;}

#wikicontrols {text-align:right;
        width: 700px;
		margin: 2px 0%;	
		margin-bottom:5px;
}

#wikicontrols a {
        color: #404040;
        background-color:transparent;
        text-decoration: none;
        border: 0px;
        padding: 1px 3px;
        font-size: 8pt;	
		margin-top:50px;
}

#wikicontrols a:hover {
		text-decoration: none;
        color: #aa0000;
		border-bottom:0px;
		background-color:transparent;
		margin-top:50px;
}


.clearfix:after { visibility: hidden; display: block; font-size: 0; content: " "; clear: both; height: 0; }
.clearfix { display: inline-block; }
.clearfix { display: block; zoom: 1; }


.dillo { display: none; }


/*Responsive*/

/************************************************************************************
smaller than 980
*************************************************************************************/
@media screen and (max-width: 980px) {

/* embedded videos */
.video embed,
.video object {
	width: 100%;
	height: auto;
	min-height: 300px;
	}
	
.video-container {
    position: relative;
    padding-bottom: 56.25%;
    padding-top: 35px;
    height: 0;
    overflow: hidden;
	
	margin-left:auto;
	margin-right:auto;
	text-align:center;
	}

.video-container iframe {
    position: absolute;
    top:0;
    left: 0;
    width: 100%;
    height: 100%;
	}
}

/************************************************************************************
smaller than 650
*************************************************************************************/
@media screen and (max-width: 650px) {

	/* embedded videos */
.video embed,
.video object {
	min-height: 250px;
	}

.video-container {
    position: relative;
    padding-bottom: 56.25%;
    padding-top: 35px;
    height: 0;
    overflow: hidden;
	
	margin-left:auto;
	margin-right:auto;
	text-align:center;
	}

.video-container iframe {
    position: absolute;
    top:0;
    left: 0;
    width: 100%;
    height: 100%;
	}
}

/************************************************************************************
smaller than 560
*************************************************************************************/
@media screen and (max-width: 480px) {

	/* disable webkit text size adjust (for iPhone) */
	html {
		-webkit-text-size-adjust: none;
	}
	
	/* embedded videos */
.video embed,
.video object {
	min-height: 250px;
	}
	
.video-container {
    position: relative;
    padding-bottom: 56.25%;
    padding-top: 35px;
    height: 0;
    overflow: hidden;

	margin-left:auto;
	margin-right:auto;
	text-align:center;
}

.video-container iframe {
    position: absolute;
    top:0;
    left: 0;
    width: 100%;
    height: 100%;
	}
}

/************************************************************************************
smaller than 480
*************************************************************************************/
@media screen  and (max-width: 360px) {
      
	/* disable webkit text size adjust (for iPhone) */
	html {
		-webkit-text-size-adjust: none;
	}
	
	/* embedded videos */
.video embed,
.video object {
	min-height: 250px;
	}
	
.video-container {
    position: relative;
    padding-bottom: 56.25%;
    padding-top: 35px;
    height: 0;
    overflow: hidden;
		
	margin-left:auto;
	margin-right:auto;
	text-align:center;
	}

.video-container iframe {
    position: absolute;
    top:0;
    left: 0;
    width: 100%;
    height: 100%;
	}

}
	

@media screen and (max-width: 320px) {
    
	/* disable webkit text size adjust (for iPhone) */
	html {
		-webkit-text-size-adjust: none;
	}
	
	/* embedded videos */
.video embed,
.video object {
	min-height: 250px;
	}
	
.video-container {
    position: relative;
    padding-bottom: 56.25%;
    padding-top: 35px;
    height: 0;
    overflow: hidden;
		
	margin-left:auto;
	margin-right:auto;
	text-align:center;
	}

.video-container iframe {
    position: absolute;
    top:0;
    left: 0;
    width: 100%;
    height: 100%;
	}
}
  

/* ============================================== */
/* Smaller devices                                */
/* Android Portrait                       240x320 */
/* ============================================== */
@media screen and (max-width:240px) {
	
	/* embedded videos */
.video embed,
.video object {
	min-height: 250px;
	}
	
		
.video-container {
    position: relative;
    padding-bottom: 56.25%;
    padding-top: 35px;
    height: 0;
    overflow: hidden;
	
	margin-left:auto;
	margin-right:auto;
	text-align:center;
	}

.video-container iframe {
    position: absolute;
    top:0;
    left: 0;
    width: 100%;
    height: 100%;
	}
}