/*
Theme Name: FreelanceFM
Theme URI: http://www.freelance-fm.ru
Author: Artyom Kanunnikov
Tags: green, white, light, three-columns, flexible-width, left-sidebar, right-sidebar
*/

html, body {
  height: 100%;
}

body {
  margin: 0;
  background: #fff;
  font-family: Verdana, Tahoma, Helvetica, Arial, sans-serif;
  font-size: 62.5%;
  color: #3C3C3C;;
}

#wrapper{
  min-width: 970px;
  position: relative;
  min-height: 95%;
}

p {
  margin: 0px 0px 10px 0px;
}

h1, h2, h3, h4, h5, h6 {
  font-family: Helvetica, Arial, Verdana, sans-serif;
  font-weight: normal;
  margin-bottom: 10px;
  color: #3C3C3C;
}

a {
  border: 0px;
  color: #003399;
  text-decoration: underline;
}


a:visited {
  color: #003399;
  text-decoration: underline;
}

a:hover {
  color: #DD4705;
  text-decoration: underline;
}


img {
  border: 0px;
}

.wp-post-image {
  padding: 5px 5px 5px 0;
  float:left;
}

hr {
  color: #FFF;
  height: 0px;
  border: 1px dotted #ccc;
  margin-top: 3px;
  margin-bottom: 3px;
}

code {
  font: 12px Monaco, "Lucida Console", "Courier New", "Courier", monospace;
  padding: 15px;
  border: #cde9a7 1px solid;
  background: #e9ffcb;
  display: block;
}

#header_line {
  position: relative;
  clear: both;
  height: 20px;
  line-height: 20px;
  color: #FFFFCC;
  padding: 0 15px 0 15px;
  font-size: 110%;
  background: #eee;
}

#header_line img{
  margin: 4px 2px 0 0;
}



#header {
  color: #FFFFCC;
  clear: both;
  height: 100px;
  background: #545584 url(img/header_back.gif) left repeat-x;
  border-top: 10px #545584 solid;
  margin-bottom: 15px;
}

#header h1 {
  font-family: "Trebuchet MS", "Myriad Pro", Verdana, Tahoma, Arial, Helvetica;
  letter-spacing: -1px;
  font-size: 250%;
  padding: 12px 0px 0px 0px;
  margin: 0;
  line-height: 90%;
}

#header h2 {
  font-family: "Trebuchet MS", "Myriad Pro", Verdana, Tahoma, Arial, Helvetica;
  font-size: 160%;
  padding: 1px 0px 0px 0px;
  margin: 0px;
}

#header a, #header a:hover, #header a:active, #header a:visited {
  color: #FFFFCC;
  text-decoration: none;
  border: 0;
}

#header a img {
  border: 0;
}

#header-logo {
  float: left;
  width: 111px;
  height: 100px;
  border: 0;
}

#header-logo-gravatar {
  margin: 11px 0 0 27px;
}

#header-title {
  margin: 0 0 0 126px;
  text-align: left;
  height: 65px;
  border: 0;
}

#header-navi {
  border: 0px;
  height: 40px;
  font-size: 130%;
  padding: 23px 0 0 0;
  margin-left: 300px;
  vertical-align: middle;
}

#header ul {
  margin: 0;
  padding: 0;
  float: left;
}


/* Navigation */
#header-navi ul li {
  line-height: 25px;
  text-align: center;
  float: left;
  list-style: none;
  background: #eeeeee url(img/menu_arrow.gif) left no-repeat;
}


#header-navi li a {
  padding: 0px 12px;
  text-decoration: underline;
}

#header-navi li a:hover {
  color: #FF3300;
  text-decoration: underline;
}

#header-navi a, #header-navi a:active, #header-navi a:visited {
  font-size:12px;
  color: #FF3300;
  text-decoration: underline;
  display: block;
  font-weight: bold;
}

/* Drop-down menus */
#dropmenu, #dropmenu ul {
  margin:0;
  padding:0;
  list-style-type:none;
  list-style-position:outside;
  position:relative;
  z-index:300;
  width:100%;
}

#dropmenu a {
  display:block;
  padding:0.25em 1em;
  text-decoration:none;
}

#dropmenu a:hover {
  background: #F7F7F7 url(img/menu_arrow.gif) left no-repeat;
}

#dropmenu li {
  float:left;
  position:relative;
}

#dropmenu ul {
  position:absolute;
  display:none;
  width:13px; /*auto*/
  top:1.9em;
  border:0px solid #84ad5b;
}

#dropmenu li ul {
  width:15.3em;
  top:auto;
  background:#eeeeee;
}

#dropmenu li ul a {
  width:  14.6em;
  height: auto;
  float:  left;
  text-align: left;
}

#dropmenu .current_page_item {
  background: #ffffff;
}

#dropmenu .current_page_item a{
  color: #FF3300;
  background: url(img/menu_arrow_current.gif) left no-repeat;
}

#dropmenu .current_page_item a:hover{
  background: #ffffff url(img/menu_arrow_current.gif) left no-repeat;
}


/* Sub-menu */
#dropmenu ul ul {
  top:auto;
}

#dropmenu li ul ul {
  left: 15.3em;
  margin:0px 0 0 0px;
}


#dropmenu li:hover ul ul, #dropmenu li:hover ul ul ul, #dropmenu li:hover ul ul ul ul {display:none;}
#dropmenu li:hover ul, #dropmenu li li:hover ul, #dropmenu li li li:hover ul, #dropmenu li li li li:hover ul {display:block;}
/* Drop-down menus */


#content-wrapper {
  margin-bottom: 1em;
  float: right;
  width: 79%;
  display: inline;
}

#content {
  width: 73%;
  float: left;
  font-size: 120%;
  line-height: 150%;
  display: inline;
  margin: 5px 0 0 0;
}


#content a {
  text-decoration:underline;
  color: #003399;
}

#content a:visited {
  text-decoration:underline;
  color: #3C3C3C;
}

#content a:hover {
  text-decoration:underline;
  color: #DD4705;
}


#content h1 {
  margin-top: 0;
  font-size: 150%;
  line-height: 105%;
}

#content h2 {
  font-size: 120%;
  line-height: 120%;
  font-weight: bold;
}

#content h3 {
  font-size: 110%;
  line-height: 120%;
  font-weight: bold;
}

#content blockquote {
  background-color: #e9ffcc;
  border-left: 3px solid #cde9a7;
  margin: 0 0 5px 15px;
  padding: 5px 10px 1px 8px;
}

#content h1 a:hover, #content a:hover h1,
#content h2 a:hover, #content a:hover h2,
#content h3 a:hover, #content a:hover h3 {
  text-decoration: underline;
}

#content .pagetitle {
  margin-bottom: 20px;
  border-bottom: 1px dotted #688848;
}

#content ul, #content ol {
  padding: 0 0 0 20px;
}

#content ul {
  list-style: square;
}

#content ul li, #content ol li {
  margin: 3px 0 3px 0;
  padding: 0;
}

#sidebar-left {
  list-style: none;
  float: left;
  width: 18%;
  margin: 5px 0 0 15px;
  font-size: 110%;
  display: inline;
}

#sidebar-right {
  list-style: none;
  float: right;
  width: 23%;
  margin: 5px 15px 0 0;
  font-size: 110%;
  display: inline;
}

#sidebar-left h2, #sidebar-right h2 {
  margin-top: 0px;
  font-size: 120%;
  font-weight: bold;
  color: #3C3C3C;
  background-color: #fff;
  border-top: 0px solid #545584;
  border-bottom: 1px solid #3C3C3C;
  padding: 1px 0 1px 10px;
}

#sidebar-left h2 a, #sidebar-right h2 a{
  color: #cde9a7;
  text-decoration: none;
}

#sidebar-left ul, #sidebar-right ul {
  list-style: none;
  margin: 0 0 15px 0;
  padding: 0;
}

#sidebar-left ul li, #sidebar-right ul li {
  margin: 0 0 15px 0;
}

#sidebar-left ul ul, #sidebar-right ul ul {
  padding: 0 0 0 10px;
}

#sidebar-left ul ul li, #sidebar-right ul ul li {
  margin: 0 0 6px 0;
}

#postmeta {
  font-size: 80%;
  margin-bottom: 30px;
  padding-bottom: 3px;
  border-bottom: 1px dotted #688848;
  color: #688848;
  clear: both;
  line-height: 100%;
}

#postmeta p {
  line-height: 100%;
}

#postmeta img {
  vertical-align: middle;
  margin: 0 4px 0 0;
}

#postmeta .editlink {
  float: right;
  margin-top: 5px;
}

.postnav {
  width: 86%;
  float: left;
  list-style: none;
  line-height: 110%;
  margin-top: -10px;
  margin-bottom: 20px;
  padding: 0;
}

.postnav li.left {
  display: block;
  float: left;
  padding: 0;
  margin: 0;
}

.postnav li.right {
  display: block;
  float: right;
  padding: 0;
  margin: 0;
}

#comments {

}

#comments ul li, #comments ol li {
  margin-bottom: 40px;
  border-bottom: 1px dotted #688848;
}

#comment-area {

}

#comment-form {

}

.commenter {
  color: #688848;
}

.comment-moderation {
  color: red;
}

.comment-info {

}

#footer {
  position: relative;
  clear: both;
  height: 34px;
  line-height: 17px;
  color: #3C3C3C;
  padding: 0 15px 0 15px;
  font-size: 110%;
  background: #eee;
}

#footer a {
  color: #003399;
  text-decoration: underline;
}

#footer a:hover {
  color: #DD4705;
  text-decoration: underline;
}

#footer p {
  margin: 0;
}

#footer-left {
  float: left;
  text-align: left;
  padding: 0 0 0 10px;
}

#footer-right {
  float: right;
  text-align: right;
  padding: 2px 10px 0 0;
}

.hasFloat:after {
  content: "";
  display: block;
  clear: both;
}

#searchform input {
  font-family:Tahoma, Arial, Helvetica, sans-serif;
  font-size:12px;
  background-color:#3C3C3C;
  margin: 0 0 3px 0;
  padding: 2px 4px 2px 4px;
  border:#3C3C3C 1px solid;
  color:#fff;
}
                   
#searchform input:hover {
  cursor:pointer;
  background-color:#3C3C3C;
  border:#3C3C3C 1px solid;
  color:#fff;
}

#searchform #s {
  font-family:Tahoma, Arial, Helvetica, sans-serif;
  font-size:12px;
  margin: 0 0 3px 0;
  background-color:#fff;
  padding: 3px 4px 3px 4px;
  border:#3C3C3C 1px solid;
  color:#3C3C3C;
}

#searchform #s:hover {
  background-color:#fff;
  color:#3C3C3C;
}

img#wpstats {
  width: 0px;
  height: 0px;
  padding: 0px;
  border: none;
  overflow: hidden;
}

.aligncenter,
div.aligncenter {
   display: block;
   margin-left: auto;
   margin-right: auto;
}

.alignleft {
   float: left;
}

.alignright {
   float: right;
}

.wp-caption {
   border: 1px solid #ddd;
   text-align: center;
   background-color: #f3f3f3;
   padding-top: 4px;
   margin: 5px 10px 5px 0px;
   /* optional rounded corners for browsers that support it */
   -moz-border-radius: 3px;
   -khtml-border-radius: 3px;
   -webkit-border-radius: 3px;
   border-radius: 3px;
}

.wp-caption img {
   margin: 0;
   padding: 0;
   border: 0 none;
}

.wp-caption p.wp-caption-text {
   font-size: 11px;
   line-height: 17px;
   padding: 0 4px 5px;
   margin: 0;
}




/* Right sidebar menu */
ul.children li { padding: 5px 0 0 0!important; }

