/*   
Theme Name: Ajenci Theme
Theme URI: http://ajenci.com.ua
Description: Theme for 8hr.com.ua
Author: BeWeb Group team
Author URI: http://beweb.kiev.ua
Version: 1

*/

* {padding:0px; margin:0px;}

html, body {   margin: 0;   padding: 0;   width: 100%;   height: 100%; }
body {   min-height: 100%;   height: auto !important;   height: 100%;   position: relative; }


body { font-family:Arial, Helvetica, sans-serif; font-size:13px; }
table {border-collapse:collapse}
ul { list-style:none }

.submit { cursor:pointer; padding:0px!important}
img.left { float:left; margin-right:20px; margin-bottom:20px; }
img.alignleft { float:left; margin-right:20px; margin-bottom:20px; }
.clear {clear:both;display:block;overflow:hidden;width:100%;height:1px;}

#main-wrapper { min-width:1004px; padding-bottom:110px}

#top {  height:8px; background:url('images/top-bg.gif') repeat-x; overflow:hidden; margin-bottom:1px}
#head { height:160px; }

/* accurat gum for IE*/
* html #head .slogan { width:500px; position:absolute; left:0px; background-color:#FFFFFF}
* html #head .contact { position:absolute; right:0px}

* html #menu-wrapper .search { position:absolute; right:0px; z-index:1 }

/*------------------*/

#head .logo { height:160px; width:240px; float:left; position:relative; background-color:#FFFFFF; z-index:100 }
#head .slogan {height:160px; margin-right:220px; margin-left:240px; position:relative}
#head .contact { height:160px; float:right; display:inline; width:220px; background:url('images/uho.gif') no-repeat right top;}

#head .logo a { display:block; width:146px; height:110px; background:url('images/logo.gif') no-repeat; margin-left:30px; margin-top:29px; }
#head .slogan p { position:absolute; left:0px; top:0px; }
#head .slogan p.slogtxt { color:#eb7630; font-weight:bold; font-size:25px; margin-left:10px; margin-top:53px; }
#head .slogan p.about { color:#565553; margin-left:42px; margin-top:85px; }
#head .slogan p.about span { color:#0080d4; font-weight:bold;}

#head .contact div { text-align:right; margin-right:40px; background:url('images/contact-line.gif') no-repeat right center; padding-right:10px; margin-top:34px; color:#565553; font-size:11px;}
#head .contact p.tel { margin:2px 0px; }
#head .contact div a { color:#0080d4 }
#head .contact div span.tel { font-size:20px; color:#565553; font-weight:bold }
#head .contact div span.tel span { font-size:15px; vertical-align:top;}

#menu-wrapper { border-bottom:1px solid #0184ca }
#menu-wrapper2 {background-color:#f26f37; height:57px; border-bottom:3px solid #FFFFFF}
#menu-wrapper .menu { float:left }
#menu-wrapper .menu ul { margin-left:14px; width:600px; background-color:#f26f37; z-index:100; position:relative }
#menu-wrapper .menu ul li { float:left;}
#menu-wrapper .menu ul li, #menu-wrapper .menu ul li a, #menu-wrapper .menu ul li span { font-size:18px; font-family: Arial Narrow, Arial, Helvetica, sans-serif; color:#FFFFFF; font-weight:bold; line-height:57px; padding:0px 10px;}
#menu-wrapper .menu ul li.act span, #menu-wrapper .menu ul li a { display:block; background:none; text-decoration:underline }
#menu-wrapper .menu ul li.act span, #menu-wrapper .menu ul li a:hover { background:url('images/menu-act.gif') no-repeat center bottom; text-decoration:none }

#menu-wrapper .menu ul .current_page_item a {
font-size:18px;
font-family: Arial Narrow, Arial, Helvetica, sans-serif;
color:#FFFFFF;
font-weight:bold;
line-height:57px;
padding:0px 10px;
display:block;
text-decoration:none !important;
background:url('images/menu-act.gif') no-repeat center bottom !important;
}

#menu-wrapper .search { float:right; height:57px; padding-top:13px; margin-right:4px; width:228px; *width:230px; }
#menu-wrapper .search input { vertical-align:middle }
#menu-wrapper .search input.text { height:21px; margin-right:1px; padding-top:4px; border:1px solid #FFFFFF  }
#menu-wrapper .search input.text { background:#ffffff url('images/search-ico.gif') 7px 7px no-repeat; padding-left:25px; width:120px; color:#404040; }

#content .search { height:57px; padding-top:13px; margin-right:4px; width:228px; *width:230px; }
#content .search input { vertical-align:middle; border: #f26f37 1px solid;  float: left; }
#content .search input.text { height:21px; margin-right:1px; padding-top:4px; border:1px solid #0080d4 !important;}
#content .search input.text { padding-left:5px; width:120px; color:#404040; }


#content-wrapper { margin-top:27px; }
#content-wrapper #second-menu { width:286px; float:left; font-size:14px; color:#0080d4; font-family: Arial Narrow, Arial, Helvetica, sans-serif; }
#content-wrapper #content { margin-left:333px; margin-right:20px; color:#404040; padding-top:5px;}

#content-wrapper #second-menu .menu {background-color:#f7fbfe; }
#content-wrapper #second-menu a {color:#0080d4; text-decoration:none}
#content-wrapper #second-menu ul li a {
	display: block;
}
#content-wrapper #second-menu a:hover {color: #eb7630;}
#content-wrapper #second-menu ul { margin-right:7px; }
#content-wrapper #second-menu ul ul {
margin:0px;
margin-bottom:4px;
display: none;
}
#content-wrapper #second-menu ul li:hover ul {
display: block;
}
#content-wrapper #second-menu ul li:hover a, #content-wrapper #second-menu ul li:hover ul li:hover a {
color: #eb7630;
}
#content-wrapper #second-menu ul li:hover ul li a {
color: #0080d4;
}
#content-wrapper #second-menu ul .current_page_parent ul {
display: block;
}
#content-wrapper #second-menu ul .current_page_parent a {
color: #eb7630;
}
#content-wrapper #second-menu ul .current_page_parent ul li a {
color: #0080d4;
}
#content-wrapper #second-menu ul .current_page_parent ul .current_page_item a {
color: #eb7630;
}
#content-wrapper #second-menu li.last { border:none }
#content-wrapper #second-menu ul li { font-weight:bold; line-height:31px; border-bottom:1px solid #c1e0f5; padding-left:23px;}
#content-wrapper #second-menu ul li li { font-weight:normal; height:25px; line-height:25px; border:none; padding-left:17px}
#content-wrapper #second-menu .current_page_item a { color: #eb7630; }
#content-wrapper #second-menu .current_page_item ul li a { color:#0080d4; }
#content-wrapper #second-menu .contact-form { margin-top:70px; width:180px; padding-left:33px; font-family:Arial, Helvetica, sans-serif}
#content-wrapper #second-menu .contact-form p{ color:#404040; font-size:11px; margin-bottom:13px; }
#content-wrapper #second-menu .contact-form p.header{ color:#dd3626; font-size:14px }
#content-wrapper #second-menu .contact-form input, #content-wrapper #second-menu .contact-form select, #content-wrapper #second-menu .contact-form textarea { margin:0px; margin:5px 0px; color:#808080; font-size:11px; padding-left:5px; }
#content-wrapper #second-menu .contact-form input.text { width:168px; height:13px;}
#content-wrapper #second-menu .contact-form input.single { width:168px; height:13px;}
#content-wrapper #second-menu .contact-form select { width:176px }
#content-wrapper #second-menu .contact-form textarea { width:168px; height:100px;  }


#content-wrapper #content p { margin:15px 0px }
#content-wrapper #content h2 { font-size:30px; font-weight:bold }
#content-wrapper #content h3 { font-size:13px; }
#content-wrapper #content input.text { width:470px; }
#content-wrapper #content input.single { width:470px; }
#content-wrapper #content select { width:479px; }
#content-wrapper #content textarea { width:472px; height:100px }
#content-wrapper #content input, #content-wrapper #content select, #content-wrapper #content textarea { margin:6px 0px; padding-left:5px; color:#808080; font-size:11px; }

#content-wrapper #content .diploms { margin-top:20px; width:99% }
#content-wrapper #content .diplom { width:320px; height:380px; float:left;}

#footer { height:100px; background:url('images/flag.jpg') no-repeat 110px bottom; width: 100%;   position: absolute;  bottom: 0; }
#footer p { position:absolute; left:250px; top:51px; color:#565553; font-size:11px }
#footer strong { font-weight:normal; color:#dd3626 }
#footer a { display:block; position:absolute; left:134px; top:40px; width:82px; height:25px;}

fieldset, .linklove {
display: none;
}

ol {
list-style: none;
font-weight: normal;
margin: 0;
padding: 0;
}

ol li {
background: none;
border: none;
margin: 0;
padding: 0;
}

.navigation {
margin: 30px 0;
}

.navigation a {
color: #0080d4;
}

a.more-link {
color: #eb7630 !important;
}

.post {
margin: 20px 0 30px 0 !important;
}

.post h3 a {
color: #eb7630;
}

.post small {
margin: 5px 0;
display: block;
}

.post p {
margin: 10px 0 0 0 !important;
}