/* Ad space windows */
.ad-space {
	width: 180px;
	height: 180px;
	color: #3182C0;
	display: flex;
	align-items: center;
	justify-content: center;
	font-weight: bold;
	font-size: 1.1em;
	position: absolute;
	top: 180px;
	z-index: 10;
	box-sizing: border-box;
}
#ad-left {
	left: 0;
}
#ad-right {
	right: 0;
}
#content-wrap {
	position: relative;
	max-width: 1100px;
	margin: 0 auto;
}
/********************************************
   AUTHOR:  			Erwin Aligam 
   WEBSITE:   			http://www.styleshout.com/
	TEMPLATE NAME: 	Stylevantage - blue
   TEMPLATE CODE: 	S-0001
   VERSION:          1.0          	
 *******************************************/
 
 
/********************************************
   HTML ELEMENTS
********************************************/ 

/* top elements */
* {
	margin: 0; padding: 0;
} 
body {
	margin: 0; padding: 0;
	font: 71%/1.5em  Verdana, 'Trebuchet MS', Arial, Sans-serif;
	background: url(headerbg-blue.gif) repeat-x;
	color: #666666;	
	text-align: center;
	min-height: 100vh;
	display: flex;
	flex-direction: column;		
}

/* links */
a {
	background: inherit;
	color: #3182C0; 
}
a:hover {
	background: inherit;
	color: #72A545;
}

/* headers */
h1, h2, h3 {
	font: bold 1em 'Trebuchet MS', Tahoma, Sans-serif;
	text-transform: uppercase;
	color: #555;
}
h1 { font-size: 1.5em; }
h2 { font-size: 1.3em; }
h3 { font-size: 1.2em; text-transform: none;}

#main h1, #rightbar h1 {
	padding: 10px 0 5px 5px;
	margin: 0 0 0 10px;
	text-transform: uppercase;
	border-bottom: 1px solid #f2f2f2; 	
}	
#sidebar h1 {
	padding: 10px 0px 5px 30px;
	background: url(square_arrow.gif) no-repeat 2px 12px;
	margin: 0;
	text-transform: uppercase;	
}

p, h1, h2, h3 {
	margin: 10px 15px;
}
ul, ol {
	margin: 10px 30px;
	padding: 0 15px;	
	color: #3182C0;	
}
ul span, ol span {
	color: #666666;
}

/* images */
img {
	border: 2px solid #CCC;
}
img.float-right {
  margin: 5px 0px 5px 15px;  
}
img.float-left {
  margin: 5px 15px 5px 0px;
}
a img {  
  border: 2px solid #3791D7;
}
a:hover img {  
  border: 2px solid #806B4D !important; /* IE fix*/
  border: 2px solid #3791D7;
}

code {
  margin: 5px 0;
  padding: 10px;
  text-align: left;
  display: block;
  overflow: auto;  
  font: 500 1em/1.5em 'Lucida Console', 'courier new', monospace;
  /* white-space: pre; */
  background: #FAFAFA;
  border: 1px solid #f2f2f2;  
  border-left: 3px solid #3182C0;
}
acronym {
  cursor: help;
  border-bottom: 1px solid #777;
}
blockquote {
	margin: 15px;
 	padding: 0 0 0 32px;  	
  	background: #FAFAFA url(quote.gif) no-repeat 5px 10px !important; 
	background-position: 8px 10px;
	border: 1px solid #f2f2f2; 
	border-left: 3px solid #3182C0;  
	font-weight: bold; 
}

/* form elements */
form {
	margin:10px; padding: 0;
	border: 1px solid #f2f2f2; 
	background-color: #FAFAFA; 
}
label {
	display:block;
	font-weight:bold;
	margin:5px 0;
}
input {
	padding: 4px;
	border:1px solid #eee;
	font: normal 1em/1.5em Verdana, sans-serif;
	color:#777;
}
textarea {
	width:350px;
	padding:4px;
	font: normal 1em/1.5em Verdana, sans-serif;
	border:1px solid #eee;
	height:100px;
	display:block;
	color:#777;
}
input.button { 
	margin: 0; 
	font: bold 1em Arial, Sans-serif; 
	border: 1px solid #CCC;
	background: #FFF; 
	padding: 2px 3px; 
	color: #333;	
}

/* search form */
form.searchform {
	background: transparent;
	border: none;
	margin: 0; padding: 0;
}
form.searchform input.textbox { 
	margin: 0; 
	width: 120px;
	border: 1px solid #CCC; 
	background: #FFF;
	color: #333; 
	vertical-align: top;
}
form.searchform input.button {
	width: 55px;
	vertical-align: top;
}

/*****************/
/*    Layout     */
/*****************/
#wrap {
	margin: 0 auto;
   width: 950px;   
	text-align: left;		
	background: #FFF;
	flex: 1;	
}
#content-wrap {
	clear:both;
   margin: 0; padding:0;
	width: 950px;
}

/* header */
#header {
	position: relative;
	background: url(headerbg-blue.gif) repeat-x;
	height: 84px;	
}
#header h1#logo {
	position: absolute;
	margin: 0; padding: 0;
	font: bolder 5.5em 'Trebuchet MS', Arial, Sans-serif; /* larger logo text */
	letter-spacing: -2px;
	color: #3182C0; /* make logo text blue */
	text-transform: none; /* preserve casing in the logo text */
	/* change the values of top and Left to adjust the position of the logo*/
	top: 0; left: 5px;	
}

#header h1#logo img {
	vertical-align: middle;
	margin-right: 10px; /* add spacing between the logo image and text */
	border: none; /* remove default image border */
}

#header h2#slogan {
	position: absolute;
	margin: 0; padding: 0;
	font: bold 1em 'Trebuchet MS', Arial, Sans-serif;
	text-transform: none;
	color: #FFF;
	/* change the values of top and Left to adjust the position of the slogan*/
	top: 48px; left:65px;		
}

#header #login {
	position: absolute;
	top: 45%; /* raised slightly up */
	right: 10px;
	transform: translateY(-50%);
	display: flex;
	align-items: center;
	gap: 8px;
	font: bold 0.9em 'Trebuchet MS', Arial, Sans-serif;
}

#header #login .login-label {
	color: #FFF;
	line-height: 1.2;
}

#header #login .login-form {
	display: flex;
	flex-direction: column;
	gap: 6px;
	background: transparent;
	padding: 0;
	border-radius: 0;
}

#header #login input[type="text"],
#header #login input[type="password"] {
	display: block;
	width: 140px;
	padding: 4px 6px;
	font: normal 0.9em Verdana, Arial, Sans-serif;
	border: 1px solid rgba(255, 255, 255, 0.6);
	border-radius: 2px;
	background: rgba(255, 255, 255, 0.2);
	color: #000; /* black text for entered input */
}

#header #login input[type="submit"] {
	padding: 4px 10px;
	font: bold 0.9em Verdana, Arial, Sans-serif;
	color: #FFF;
	background: rgba(0, 0, 0, 0.2);
	border: 1px solid rgba(255, 255, 255, 0.4);
	border-radius: 4px;
	cursor: pointer;
}

#header #login input[type="submit"]:hover {
	background: rgba(255, 255, 255, 0.2);
}

#header #logout {
	position: absolute;
	top: 14px;
	right: 10px;
	font: bold 0.9em 'Trebuchet MS', Arial, Sans-serif;
}

#header #logout a {
	color: #FFF;
	text-decoration: none;
	padding: 4px 8px;
	background: rgba(0, 0, 0, 0.2);
	border-radius: 4px;
}

#header #logout a:hover {
	background: rgba(255, 255, 255, 0.2);
}

/* main column */
#main {
	float: left;
	margin-left: 10px;
	padding: 0;
	width: 49%;	
	border-left: 1px solid #f2f2f2;
}

.post-footer {
	background-color: #FAFAFA;
	padding: 5px; margin-top: 20px;
	font-size: 95%;
	border: 1px solid #f2f2f2;
}
.post-footer .date {
	background: url(clock.gif) no-repeat left center;
	padding-left: 20px; margin: 0 10px 0 5px;
}
.post-footer .comments {
	background: url(comment.gif) no-repeat left center;
	padding-left: 20px; margin: 0 10px 0 5px;
}
.post-footer .readmore {
	background: url(page.gif) no-repeat left center;
	padding-left: 20px; margin: 0 10px 0 5px;
}

/* sideabar */
#sidebar {
	float: left;
	width: 26%;
	margin: 0;	padding: 0; 
	display: inline;	
}
#sidebar ul.sidemenu {
	list-style: none;
	text-align: left;
	margin: 0 0 8px 0;	
	padding-right: 0;		
	text-decoration: none;
}
#sidebar ul.sidemenu li {
	border-bottom: 1px solid #EFF0F1;
	background: url(arrow.gif) no-repeat 2px 5px;
	padding: 2px 5px 2px 20px;	
}

* html body #sidebar ul.sidemenu li { height: 1%; }

#sidebar ul.sidemenu a {
	font-weight: bold;
	background-image: none;
	text-decoration: none;	
}

/* rightbar */
#rightbar {
	float: right;
	width: 21%;
	padding: 0;			
}

/* footer */
#footer {
	clear: both;
	background: #FFF url(footerbg.gif) repeat-x left top;
	border-top: 1px solid #F2F2F2;
	text-align: center;	
	height: 50px;
	margin-top: auto;	
}
#footer a {
	text-decoration: none;
	font-weight: bold;
}

/* menu */
#menu {
	clear: both;
	margin: 0; padding: 0;	
}
#menu ul {	
	position: relative; 
	bottom: 4px;
	margin: 0; padding: 0;	
	float: left;
	font: bold 1.4em 'Trebuchet MS', Tahoma, Arial, Sans-serif;
	width: 950px;/* 775px; */
	border: 1px solid #808080;
	border-width: 0 0 4px 0;	
	list-style: none;
}
#menu ul li{
	display: inline;	
}
#menu ul li a {	
	position: relative; bottom: -4px;
	float: left;
	color: #808080;
	padding: 0px 10px;
	text-decoration: none;
	background: white url(menudivide.gif) repeat-y right top; 
	border-bottom: 4px solid #808080; 	
}
#menu ul li a:hover{
	color: black;
	background-color: #F3F3F3; 
	border-bottom: 4px solid #3791D7;
}
#menu ul li#current a{
	color: #333;
	background-color: #F3F3F3; 
	border-bottom: 4px solid #3791D7;
}

/* experiment nav */
#experiment-nav {
	clear: both;
	margin: 0; padding: 0;	
}
#experiment-nav ul {	
	margin: 0; padding: 0;	
	font: bold 1.2em 'Trebuchet MS', Tahoma, Arial, Sans-serif;
	border: 1px solid #CCC;
	border-width: 0 0 2px 0;	
	list-style: none;
	text-align: center;
}
#experiment-nav ul li{
	display: inline-block;	
}
#experiment-nav ul li a {	
	color: #666;
	padding: 0px 10px;
	text-decoration: none;
	border-bottom: 2px solid #CCC; 	
}
#experiment-nav ul li a:hover{
	color: black;
	background-color: #FAFAFA; 
	border-bottom: 2px solid #3791D7;
}
#experiment-nav ul li#exp-current a{
	color: #333;
	background-color: #FAFAFA; 
	border-bottom: 2px solid #3791D7;
}

/* gallery */
.gallery {
	max-width: 950px;
	margin: 0 auto;
	display: flex;
	flex-wrap: wrap;
	gap: 12px;
	justify-content: center;
}
.gallery img {
	width: calc(50% - 12px);
	height: auto;
	border: 2px solid #CCC;
	box-shadow: 0 0 8px rgba(0,0,0,0.1);
}

/* Alignment classes */
.float-left   { float: left;}
.float-right  { float: right; }
.align-left   { text-align: left; }
.align-right  { text-align: right; }
.align-center { text-align: center;	}
.align-justify { text-align: justify; }

/* paragraph indentation */
.indent { text-indent: 1.5em; }

/* display classes */
.clear { clear: both; }
.block { display: block; }
.hide  { display: none; }	
.blue  {	color: #3791D7; }




