/*
Theme Name: MATHPROBLEMS theme
Theme URI: http://www.mathproblems-ks.com
Author: PROBIT
Author URI: http://www.probit-ks.com
Description: MATHPROBLEMS website
Version: 1.0
*/


body {
	font-family:MyriadPro-Regular,sans-serif;
	font-weight:normal;
	font-size:14px;
	background-color: #F5F5F5;
    margin: 0;
    text-align: center;
}
.separator
{
    clear: both;
}
img{
	border: 0px;
}
#wrapper
{
    margin:0 auto;
    width: 950px; 
    min-height: 800px;
	background-color:#FFFFFF;
	border-left:1px solid #CCCCCC;
	border-right:1px solid #CCCCCC;
}
#header
{
    float: left;
    margin: 0;
    width: 950px;
    /*height: 285px;*/
    display: inline;
}

#header #logo
{
    float:left;
    width:auto;
    height:auto;
	margin:10px;
}

#header p
{
    float:left;
	font-weight:bold;
	font-size:25px;
	margin:0;
	padding:10px;
}

#header  #search
{
	float:right;
    width:auto;
    height:50px;
}
#header  #search #searchform
{
    float: right;
    margin-top:10px; 
    margin-right: 35px;
}
#header #search #searchform #pres
{
    float: left;
	background-image: url(images/pre-search-box.png);
	background-position: left;
    background-repeat: no-repeat;
    border:0px;
    margin: 0px;
    width:5px;
    height: 24px;
}
#header #search #searchform #searchsubmit
{
    float: left;
	border:0px;
    background-image: url(images/search-button.png);
    width:21px;
    height: 24px;
    cursor: pointer;
}
#header #search #searchform #s
{
    float: left;
	background-image: url(images/search-box.png);
    background-repeat: repeat-x;
    border:0px;
    padding: 0px;
    margin: 0px;
    width:165px;
    height: 24px;
    overflow:hidden;
    text-decoration: none;
}

#banner 
{
    width: 950px;
    height: 150px;
    margin-top: 0px;
    text-align: left;
    border-bottom: 5px solid;
    border-bottom-color:#174060; 
}

#page
{
    float: left;
    display: inline;
    width: 950px;
    min-height: 500px;
}
#page #content
{
    float:left;
    display:inline;
	margin:0;
    width:670px;
    background-image:url(images/katrori.gif);
    background-repeat:no-repeat;
}
#page #content #title
{
	float: left;
    font-size: 16px;
	margin-top:20px;
	margin-left:40px;
	text-align:left;
    width: 500px;
	font-weight:bold;
    overflow: hidden;
	color: #174060;
}

#page #content #artikulli
{
	float: left;
    font-size:14px;
	margin-top:10px;
	margin-left:40px;
	text-align:left;
    width: 620px;
	color:#505050;
    overflow: hidden;
}

/*===================================================================
	Search Result
=====================================================================*/
#page #content #searchresult
{
	float: left;
	width:620px;
	height:auto;
    margin-top: 20px;
    margin-left: 40px;
	padding-bottom:15px;
    color: #6d6d6d;
    font-weight: normal;
	font-size:14px;
	text-align:left;

}
#page #content #searchresult p
{
	font-weight: normal;
    font-size: 11px;
	color: #707070;	
	text-align:left;
}
#page #content #searchresult p a
{
	color: #a9291e;
	text-align:left;
}
#page #content .search_link
{ color: #a9291e; }

#page #content #searchresult a
{
 color: #6b5d43;
 font-size:16px;
 font-weight:bold;
 text-align:left;
}
#page #content #searchresult h2.pagetitle
{
  color:#734500;
  font-weight:bold;
  font-weight:bold;
  margin-top:0px;
  margin-bottom:5px;
  padding-top:0px;
  text-align:left;
  font-size: 18px;
  color:#174060;
}

#page #content#searchresult h2 a
{
	font-weight: normal;
	font-weight:bold;
	margin-top:0px;
	padding-top:0px;
	text-align:left;
	font-size:14px;
}

#page #content #searchresult .item p
{
 font-size:14px;
 text-align:left;
}
#page #content .hilite { background:#D3E18A; }
/*===================================================================
End of Search Result
=====================================================================*/

/*===================================================================
Special Page
=====================================================================*/
#page #content #article
{
	float: left;
    font-size:14px;
	margin-top:10px;
	margin-left:0px;
	text-align:left;
    width: 650px;
	color:#505050;
    overflow: hidden;
}
#page #content #article p
{
	float: left;
    font-size:14px;
	margin-left:40px;
	text-align:left;
    width: 600px;
	color:#505050;
    overflow: hidden;
}


#page #content #article p a
{
	float: left;
	color:#8a1f27;
	text-decoration:none;
}
/*===================================================================
Special Page
=====================================================================*/


#page #sidebar
{
    float:left;
    margin-left: 10px;
    display:inline;
    width:250px;
    height:350px;
}
#page #sidebar .item
{
    float:left;
    background-image:url(images/katrori.gif);
    background-repeat:no-repeat;
}

#page #sidebar .item .title
{
	float: left;
    font-size: 16px;
	margin-top:20px;
	margin-left:40px;
	text-align:left;
    width: 200px;
	font-weight:bold;
    overflow: hidden;
	color:#174060;
}
#page #sidebar .item .title a
{
	float: left;
    font-size: 16px;
	text-align:left;
    width: 200px;
	font-weight:bold;
    overflow: hidden;
	color:#174060;
}
#page #sidebar .item .artikulli
{
	float: left;
    font-size:14px;
	margin-top:10px;
	margin-left:40px;
	text-align:left;
    width: 230px;
	color:#505050;
    overflow: hidden;
}

#footer
{
    float: left;
    display: inline;
    margin-top: 20px;
    width: 950px;
    height: 40px;
    border-top: 1px dashed;
    border-color:#CCC;
	margin-bottom:20px;
	text-align:center;
	color:#174060;
}
#footer p
{
	float:left;
	margin:0;
	margin-top:10px;
	text-align:center;
	font-size:13px;
	text-align:center;
	width: 950px;
}
#footer a
{
	float:left;
	margin-left:5px;
	margin-top:10px;
	font-weight:bold;
	font-size:13px;
}
#footer a:hover
{
	text-decoration:underline;
}
/* =Menu
-------------------------------------------------------------- */

#access {
	float: left;
    display:inline;
    width:950px;
    height:39px;
	background-image:url(images/menu_bg.gif);
	background-repeat:repeat-x;
	font-family: MyriadPro-Regular,sans-serif;
}
#access .menu-header,div.menu {
	font-size:14px;
}

#access .menu-header ul,div.menu ul {
	
	font-size: 17px;
	margin: 0;
	padding: 0;
	list-style: none;
}
#access .menu-header li,div.menu li {
	float: left;
	position:relative !important;z-index:999;
	/*border-right: 1px solid #FFFFFF;*/
}
#access a {
	display: block;
	line-height: 36px;
	padding: 0 20px;
	text-decoration: none;
    font-size:14px;
	color: #FFFFFF; 		
	text-decoration: none;
	white-space:nowrap;
}
#access ul ul {
	box-shadow: 0px 3px 3px rgba(0,0,0,0.2);
	-moz-box-shadow: 0px 3px 3px rgba(0,0,0,0.2);
	-webkit-box-shadow: 0px 3px 3px rgba(0,0,0,0.2);
	display: none;
	position: absolute;
	top: 36px;
	left: 0;
	float: left;
	width: 180px;
	z-index: 99999;
}
#access ul ul li {
	min-width: 180px;
	text-align:left;
	border-top-width:1px;
	border-top-style:outset ;

}
#access ul ul ul {
	left: 100%;
	top: 0;
}
#access ul ul a {
	background: #e1e1bd;
	line-height: 1em;
	padding: 10px;
	width: 160px;
	height: auto;
}
#access li:hover > a,
#access ul ul :hover > a {
	background-image:url(images/menu_bg_curr.gif);
	color: #776b52;
	text-decoration:underline;
}
#access ul li:hover > ul {
	display: block;
	color: #776b52;
	background-image:url(images/menu_bg_curr.gif);
}
#access ul li.current_page_item > a,
#access ul li.current-menu-ancestor > a,
#access ul li.current-menu-item > a,
#access ul li.current-menu-parent > a {
	/*background: #77B73C;*/
	background-image:url(images/menu_bg_curr.gif);
	color: #fff;
}
#access ul li a:hover {
	background-image:url(images/menu_bg_curr.gif);
	color: #fff;
}

* html #access ul li.current_page_item a,
* html #access ul li.current-menu-ancestor a,
* html #access ul li.current-menu-item a,
* html #access ul li.current-menu-parent a,
* html #access ul li a:hover {
	/*background: #ffd03a;*/
	background-image:url(images/menu_bg_curr.gif);
	color: #776b52;
}

/*site map*/
#sitemap{ 
	margin:10px 0 0 5px; 
	padding:0; 
	list-style:none;
	font-size:14px;
}

#sitemap ul{ 
	list-style:none; 
    padding: 0;
}
#sitemap ul li{
	background:url('images/bullet_lvl1.gif') no-repeat -5px 3px;
    margin: .25em 0;
    padding: 0 0 0 15px;
}
#sitemap ul li ul li{
	background:url('images/bullet_lvl2.gif') no-repeat -5px 3px;
}
#sitemap ul li ul li ul li{
	background:url('images/bullet_lvl3.gif') no-repeat -5px 3px;
}
#sitemap ul li a{
	text-decoration:none;
	padding:0px; 
	margin:0px;
}
#sitemap ul li a:hover{
	text-decoration:underline;
}
#sitemap ul li ul li a{
	text-decoration:none;
	padding:0px; 
	margin:0px;
}
/*end of site map*/

/*volumes*/
#page #content #volumes{ float:left;}
#page #content ul #volumes {
    background: #aaaaaa;
}
#page #content ul #volumes ul {
    display: none;
    padding: 5px 0 5px 10px;
    margin-bottom: 5px;
}
#page #content ul#volumes ul ul {
    
}
/*end of volumes*/


img.alignright {float:right; margin:0 0 1em 1em}
img.alignleft {float:left; margin:0 1em 1em 0}
img.aligncenter {display: block; margin-left: auto; margin-right: auto}
.alignright {float:right; }
.alignleft {float:left; }
.aligncenter {display: block; margin-left: auto; margin-right: auto}