/*
Theme Name: Sols 24/7
Theme URI: http://www.sols247.org/
Description: Your new theme
Version: 2.0
Author: Anna Filippova
Author URI: http://www.annafilippova.com
*/


.aligncenter {
      display:block;
      margin:0px auto 20px auto;
	text-align: center;
	}

.alignright {
        margin:0px;
	float: right;
        padding: 0px 25px 20px 25px;
	}
	
.alignleft {
        margin:0px;
	float: left;
        padding: 0px 25px 20px 25px;
	}

hr {
	display: none;
	}

a img {
	border: none;
	}

a , a:link {
color: #435f20;
}

a:visited {
color: #4e5f39;
font-style: italic;
}

a:hover {
color: #ffc114;
}

.navigation {
	display: block;
	text-align: center;
	margin-top: 10px;
	margin-bottom: 60px;
	}

body{
font-size: 80%;
font-family: arial, sans-serif;
color: #363636;
background-color: #ffffff;
}

ul,li{
list-style-type:square;
}

#wrap {
width:1058px;
background-color: #ffffff;
background-image: url('images/header.jpg');
background-repeat: no-repeat;
background-position:top left;
margin:0px;
padding:0px;
position:absolute;
top:0px;
left:0px;
}

#main {
width: 800px;
position:relative;
top: 160px;
left: 0px;
}


#page {
width: 600px;
float:right;
margin:0px;
padding:0px;
}

#page h2{
padding:20px 0px 20px 0px;
margin:0px;
color: #435f20;
border-bottom:1px solid #ffc114;
margin-bottom:10px;
}

#page h3{
padding:30px 0px 10px 0px;
margin:0px;
color: #435f20;
}

#page h3.posttitle{
padding:30px 0px 10px 0px;
margin:0px;
}

#page p {
text-align:justify;
}

#page p.pmainpage{
margin-top:0px;
padding-top:0px;
}

#page strong {
color: #435f20;
}

#archive{
width:320px;
float:left;
}


#welcome{
width: 320px;
float:left;
}

#latestnews{
width:260px;
float:right;
}

#headlines {
width: 260px;
float:right;
}

.content{
background-color: #e7efbc;
padding: 10px;
-moz-border-radius: 10px;
}

#archive img{
border:1px solid;
padding:2px;
max-width:300px;
width: expression(document.body.clientWidth > 302? "300px" : "auto");
}


#sidebar {
float:left;
width: 150px;
margin:0px;
padding:0px;
margin-left:20px;
margin-top:30px;
}

#sidebar ul, #sidebar li{
padding:0px;
margin:0px;
list-style-type:none;
}

#sidebar li.buttons{
padding-bottom:20px;
text-align:center;
margin:0 auto;
}

#footer {
margin:0px;
padding:0px;
margin-top:25px;
border-top:1px solid #ffc114;
padding-top:25px;
margin-bottom:25px;
padding-bottom:25px;
width:800px;
display: block;
}

strong.sponsorship{
color: #000000;
padding: 6px 5px 6px 5px;
background-color: #e7efbc;
border-left:5px solid #b4ba92;
border-bottom:1px solid #b4ba92;
margin: 20px 0px 20px 0px;
}

.buttons h2{
padding:5px 0px 5px 0px;
margin:0px;
color: #435f20;
border-bottom:1px solid #ffc114;
margin-bottom:5px;
}


/*-------- Pop out Menus ------------- */

#menu {
width: 130px; /* set width of menu */
background-color: #ffffff;
text-align:center;
margin:0px auto 30px auto;
} 

#menu ul { /* remove bullets and list indents */
list-style: none;
margin: 0;
padding: 0;
border-top:1px solid #435f20;
}

/* style, color and size links and headings to suit */
#menu a, #menu h2 {
font-size: 85%;
font-weight: bold;
font-family:arial, helvetica, sans-serif;
display: block;
margin: 0;
padding: 5px 6px;
text-transform: uppercase;
text-align: left;
}

#menu h2 {
color: #fff;
background: #000;
text-transform: uppercase;
font-style:roman;
}

#menu a {
color: #ffffff;
background-color: #8ac342;
border-left:5px solid #435f20;
border-bottom:1px solid #435f20;
border-right:1px solid #435f20;
text-decoration: none;
font-style:roman;
}

#menu a:visited{
font-style:normal;
}

#menu ul ul a {
color: #ffffff;
background-color: #a2cc6c;
border-left:5px solid #435f20;
border-bottom:1px solid #435f20;
border-right:1px solid #435f20;
text-decoration: none;
font-style:normal;
}

#menu a:hover {
color: #000000;
background-color: #ffbe00;
border-left:5px solid #9d7500;
border-bottom:1px solid #9d7500;
border-right:1px solid #9d7500;
font-style:normal;
}

#menu li {
/* make the list elements a containing block for the nested lists */
position: relative;
z-index: 100000000;
} 

#menu ul ul {
position: absolute;
top: 0;
left: 100%; /* to position them to the right of their containing block */
width: 100%; /* width is based on the containing block */
z-index: 100000000;
}

div#menu ul ul,
div#menu ul ul ul,
div#menu ul ul ul ul,

div#menu ul li:hover ul,
div#menu ul li:hover ul ul,
div#menu ul li:hover ul ul ul
{display: none;}

div#menu ul li:hover ul,
div#menu ul ul li:hover ul,
div#menu ul ul ul li:hover ul
{display: block;}


input.submit{
border: 1px solid #9d7500;
background-color: #ffbe00;
-moz-border-radius: 5px;
padding:3px;
color: #000;
text-align:center;
width:120px;
margin-top:5px;
}