@import url(//fonts.googleapis.com/css?family=Lato:400,700);

/*------------------------------------*\
   PAGE
\*------------------------------------*/
body { margin: 0px; font-family: "Lato", 'Helvetica', sans-serif; font-size: 12pt;}

h1 a, h2 a, h3 a, h4 a, h5 a, h6 a { text-decoration: none; color:black; }
a:hover { text-decoration: underline; }
small.gray { float:right; font-size:small; color:gray; }

#respond {display:none;}

#wrap {
   width: 945px; margin: auto; 
}
#headimg {
   width: 945px; height: 223px;
   background: #fff url('../../uploads/2013/11/header-trans.png') no-repeat top left;
}
      
hr {height:1px;border-width:0;color:#ccc;background-color:#ccc;clear:both;}

#spacer {clear:both; padding:5px;}

#footer {color: grey; text-align:right;
   text-transform:uppercase; font-size: small; }
   
   
#sidebar {display:none;}   

.subpages-excerpt, .subpages-image, .subpages-text a,  .subpages-text {margin: 0px;}

.subpages-excerpt {margin-bottom: 20px;}

.subpages-text a {
	color: black; font-weight: bold; text-decoration: none;
}
.subpages a:hover {
	text-decoration: underline;
}

.post-edit-link {
	border-width: 0px;
	float:right;
	
   	float: left;
	text-decoration:none !important;
	text-align:center;
	background:#aaa;
	padding: 9px;
	color:#fff;
	font-weight:bold;
	font-size: 11px;
	-moz-border-radius: 3px;
	border-radius: 3px;
   
	text-shadow: 1px 1px 0px #666;
}
.post-edit-link:hover {
   background:#909090;
}

   
/*------------------------------------*\
   NAV
\*------------------------------------*/
#nav {
   /* Clear floats */
   clear: both;
   margin: 0px;
   margin-top:5px;
   margin-bottom:20px;
   padding: 0px;
}
#nav ul {
   list-style:none;
   font-weight:bold;
   margin: 0px;
   padding: 0px;
   width:100%;
   /* Bring the nav above everything else--uncomment if needed. */
   position:relative;
   z-index:5000000;
}

#s {
	border-width: 0px;
	float:right;
	
	font-family: Arial,Helvetica,sans-serif; font-size: 11pt;
	
   	float: left;
	text-decoration:none !important;
	text-align:center;
	width: 117px; background:#aaa;
	padding-top: 9px;
	padding-bottom: 9px;
	color:#fff;
	font-weight:bold;
	font-size: 11px;
	-moz-border-radius: 3px;
	border-radius: 3px;
}

.body-link:link {color:#34495E;text-decoration:underline;}      /* unvisited link */
.body-link:visited {color:#2C3E50;}  /* visited link */
.body-link:hover {background-color:#34495E;color:#fff;text-decoration:none;}  /* mouse over link */
.body-link:active {background-color:#2C3E50;color:#ccc;}  /* selected link */

.body-link {
	padding: 3px;
	-webkit-transition: all 200ms ease;
	-moz-transition: all 200ms ease;
	-ms-transition: all 200ms ease;
	-o-transition: all 200ms ease;
	transition: all 200ms ease;
}

#nav li {
   float:left;
   margin-right:20px; 
   position:relative;
}
#nav a {
   	display:block;
   	float: left;
	text-decoration:none !important;
	text-align:center;
	width: 117px; background:#aaa;
	padding-top: 9px;
	padding-bottom: 9px;
	color:#fff;
	text-transform:uppercase;
	font-weight:bold;
	font-size: 11px;
	-moz-border-radius: 3px;
	border-radius: 3px;  
}

#nav a:hover {
   	background: #c0392b!important;
	-webkit-transition: all 200ms ease;
	-moz-transition: all 200ms ease;
	-ms-transition: all 200ms ease;
	-o-transition: all 200ms ease;
	transition: all 200ms ease;
}



/*--- DROPDOWN ---*/
#nav ul ul{
   background:#fff; /* Adding a background makes the dropdown work properly in IE7+. Make this as close to your page's background as possible (i.e. white page == white background). */
   background:rgba(255,255,255,0); /* But! Let's make the background fully transparent where we can, we don't actually want to see it if we can help it... */
   list-style:none;
   position:absolute;
   left:-9999px; /* Hide off-screen when not needed (this is more accessible than display:none;) */
   margin-top:30px;
   
   display: none; /* don't display it cos Juri doesn't want it */
}
#nav ul ul li{
   padding-top:1px; /* Introducing a padding between the li and the a give the illusion spaced items */
   float:none;
}
#nav ul ul a{
   white-space:nowrap; /* Stop text wrapping and creating multi-line dropdown items */
   width: 200px;
   text-transform:none;
}
#nav li:hover ul{ /* Display the dropdown on hover */
   left:0; /* Bring back on-screen when needed */
}
#nav li:hover a{ /* These create persistent hover states, meaning the top-most link stays 'hovered' even when your cursor has moved down the list. */
   background:red;
}
#nav li:hover ul a { /* The persistent hover state does however create a global style for links even before they're hovered. Here we undo these effects. */
   text-decoration:none;
   background:#909090;
   border:solid 1px #fff
}
#nav li:hover ul li a:hover{ /* Here we define the most explicit hover states--what happens when you hover each individual link. */
   background:red;
}