/*
Theme Name: RainFolio
Theme URI: http://rainfolio.sultanaev.ru
Description: Spring emotion WordPress theme
Author: Alex Sultan aka ShuffleXP
Author URI: http://themeforest.net/user/shufflexp
Version: 1.0
*/

body {
  background: #8a8e8f url(images/rain.jpg) no-repeat fixed center top;
  margin: 0px;
  padding: 0px;
  font-family: Arial, Helvetica, sans-serif;
  color: #666666;
  font-size: 12px;
  line-height: 150%;
}

p {
  margin: 10px 0;
  padding: 0;
  line-height: 175%;
}

.footer {
	color: #717D7D;
  font-size: 10px;
}

.footer a:link {
color: #717D7D;
text-decoration: none; 
}
.footer a:hover {
color: #717D7D;
text-decoration: underline;
}
.footer a:visited {
color: #717D7D;
}


a,
li.current_page_item li a,
li.current-cat li a {
  color: #2383b8;
  text-decoration: none;
}

a:hover,
li.current_page_item a,
li.current_page_item li a:hover,
li.current-cat a,
li.current-cat li a:hover {
  color: #ff4800;
}

img {
  border: none;
}

strong {
  color: #333;
}

blockquote {
  border-left: 2px solid #ccc;
  padding-left: 20px;
  font-size: 11px;
  font-style: italic;
  font-family: Georgia, Arial;
  margin: 20px 0 20px 0;
  line-height: 175%;
}

code, pre {
  display: block;
  background: #eeeeee;
  border: 1px solid #d9d9d9;
  padding: 10px;
  color: #2383b8;
  -moz-border-radius: 5px;
  -webkit-border-radius: 5px;
}

#wrap {
  width: 960px;
  margin: 0 auto;
  margin-bottom: 100px;
}

.alignleft {
  float: left;
}

.alignright {
  float: right;
}

h1, h2, h3 {
  font-family: "Trebuchet MS", Helvetica;
}

h1 {
  font-size: 24px;
}

h2 {
  font-size: 20px;
}

h2.title {
  font-size: 24px;
  font-weight: normal;
  color: #999;
  padding: 0;
  margin: 0 0 25px 0;
}

h3 {
  font-size: 18px;
  font-weight: normal;
}

h4 {
  font-size: 13px;
  font-weight: bold;
  margin: 0 0 15px 0;
}

h5 {
  font-size: 12px;
}

small {
  font-size: 11px;
  color: #999;
  line-height: 100%;
}

/*

Header styles

*/

#head {
  position: relative;
  height: 94px;
  background: transparent url(images/header_1.png) no-repeat;
  margin: 0 0 6px 0;
}

#logo {
  position: absolute;
  left: 30px;
  bottom: 16px;
}

#logo h1 {
  display: block;
  margin: 0;
  text-indent: -9999px;
}

#logo h1 a {
  display: block;
  text-decoration: none;
  width: 288px;
  height: 50px;
  background: transparent url(images/logo_1.png) no-repeat;
}

#tagline {
  position: absolute;
  width: 250px;
  padding: 0 0 0 15px;
  margin: 0 0 0 300px;
  left: 30px;
  bottom: 24px;
  border-left: 1px solid #ccc;
  font-size: 16px;
  color: #999;
  line-height: 110%;
}

.header-icons {
  position: absolute;
  right: 24px;
  bottom: 14px;
}

.header-icons ul {
  float: right;
  margin: 0;
  padding: 0;
}

.header-icons li {
  display: inline;
  float: left;
}

.header-icons a {
  float: left;
  overflow: hidden;
  height: 0;
  width: 25px;
  padding: 25px 0 0 0;
  margin: 0 0 0 12px;
}

#rss-feed a {
  background: transparent url(images/header_icons.png) no-repeat 0 0;
}

#rss-feed a:hover {
  background: transparent url(images/header_icons.png) no-repeat 0 -25px;
}

#twitter a {
  background: transparent url(images/header_icons.png) no-repeat -50px 0;
}

#twitter a:hover {
  background: transparent url(images/header_icons.png) no-repeat -50px -25px;
}

#email a {
  background: transparent url(images/header_icons.png) no-repeat -25px 0;
}

#email a:hover {
  background: transparent url(images/header_icons.png) no-repeat -25px -25px;
}

#facebook a {
  background: transparent url(images/header_icons.png) no-repeat -75px 0;
}

#facebook a:hover {
  background: transparent url(images/header_icons.png) no-repeat -75px -25px;
}

#myspace a {
  background: transparent url(images/header_icons.png) no-repeat -100px 0;
}

#myspace a:hover {
  background: transparent url(images/header_icons.png) no-repeat -100px -25px;
}

/*

MENU TOP & BOTTOM

*/

#menu-top,
#menu-bottom {
  width: 900px;
  padding: 0 30px 0 30px;
  margin: 0 0 7px 0;
  height: 28px;
}

#menu-top ul,
#menu-bottom ul {
  display: block;
  float: left;
  clear: left;
  margin: 0;
  padding: 0;
  list-style: none;
}

#menu-top ul li,
#menu-bottom ul li {
  display: inline;
  float: left;
  margin: 0 10px 0 0;
}

#menu-top ul li a,
#menu-bottom ul li a {
  display: block;
  padding: 0 0 0 8px;
  font-size: 18px;
  color: #fff;
  background: transparent url(images/menu_sprites.png) no-repeat 0px -56px;
  font-family: "Trebuchet MS", Helvetica;
}

#menu-top ul li.current_page_item a,
#menu-top ul li.current-cat a,
#menu-bottom ul li.current_page_item a,
#menu-bottom ul li.current-cat a {
  background: transparent url(images/menu_sprites.png) no-repeat 0px -84px;
}

#menu-top ul li a span,
#menu-bottom ul li a span {
  display: block;
  height: 23px;
  padding: 5px 13px 0px 5px;
  background: transparent url(images/menu_sprites.png) no-repeat right 0;
  cursor: pointer;
}

#menu-top ul li.current_page_item a span,
#menu-top ul li.current-cat a span,
#menu-bottom ul li.current_page_item a span,
#menu-bottom ul li.current-cat a span {
  background: transparent url(images/menu_sprites.png) no-repeat right -28px;
}

#menu-top ul li a:hover,
#menu-bottom ul li a:hover {
  background: transparent url(images/menu_sprites.png) no-repeat 0 -84px;
}

#menu-top ul li a:hover span,
#menu-bottom ul li a:hover span {
  background: transparent url(images/menu_sprites.png) no-repeat right -28px;
}

#searchform {
  float: right;
  padding: 0 0 0 8px;
  background: transparent url(images/menu_sprites.png) no-repeat 0 -56px;
}

#searchform div {
  clear: none;
  float: left;
  display: block;
  float: left;
  background: transparent url(images/menu_sprites.png) no-repeat right 0;
  font-family: "Trebuchet MS", Helvetica;
}

#searchform input#s {
  display: block;
  float: left;
  background: none;
  border: none;
  font-size: 14px;
  height: 22px;
  width: 200px;
  color: #fff;
  padding: 6px 0 0 3px;
}

#searchform #searchsubmit {
  display: block;
  float: left;
  height: 28px;
  width: 30px;
  border: none;
  background: transparent url(images/menu_sprites.png) no-repeat 0 -112px;
  text-indent: -9999px;
  cursor: pointer;
  padding: 28px 0 0 0;
  overflow: hidden;
}

#searchform #searchsubmit:hover {
  background: transparent url(images/menu_sprites.png) no-repeat -28px -112px;
}

/*

FEATURED AREA

*/

#featured {
  position: relative;
  height: 230px;
  background: transparent url(images/featured_bg.png) no-repeat;
  margin: 0 0 13px;
  padding: 28px 35px 29px 35px;
}

#about {
  float: left;
  width: 382px;
  color: #fff;
  padding: 0;
  margin: 10px 0 0 10px;
  text-align: right;
  font-size: 13px;
}

#about h1 {
  display: block;
  margin: 0 0 80px 0;
  font-size: 27px;
  font-weight: normal;
}

#slides {
  height: 230px;
  width: 459px;
  overflow: hidden;
  margin-left: 431px;
}

.featured-item {
  position: relative;
  height: 230px;
  width: 459px;
  z-index: 100;
}

.featured-item .featured-image {
  position: absolute;
  line-height: 0;
  font-size: 1px;
}

.featured-item .description {
  position: absolute;
  top: 0;
  left: 0;
  background: transparent url(images/featured_bg_1px.png) repeat;
  height: 230px;
  width: 459px;
  z-index: 101;
  display: none;
}

.description .content {
  position: absolute;
  bottom: 0;
  padding: 20px;
}

.description .content h2,
.description .content a {
  font-weight: normal;
  color: #fff;
}

.description .content a:hover {
  color: #ff4800;
}

.description .content p {
  color: #ddd;
  padding: 0;
  margin: 0;
  font-size: 12px;
}

.jFlowPrev {
  position: absolute;
  top: 10px;
  left: 10px
}

.jFlowNext,
.jFlowPrev {
  position: absolute;
  top: 10px;
  font-size: 40px;
  line-height: 25px;
  color: #999;
  cursor: pointer;
}

.jFlowPrev {
  left: 10px;
}

.jFlowNext {
  right: 10px;
}

.jFlowNext:hover,
.jFlowPrev:hover {
  color: #fff;
}

#jFlowSlide {
  float: right;
}

/*

MAIN AREA

*/

#main {
  margin: 0 0 6px 0;
}

#main img {
  background: #eeeeee;
  border: 1px solid #d9d9d9;
  line-height: 0px;
  padding: 4px;
  -moz-border-radius: 5px;
  -webkit-border-radius: 5px;
}

img.alignleft {
  margin: 5px 10px 5px 0;
}

img.alignright {
  margin: 5px 0 5px 10px;
}

#main a:hover img {
  border-color: #2383b8;
  background-color: #c2dff0;
}

#frontpage #main-top {
  height: 37px;
  width: 100%;
  background: transparent url(images/content_top_wide.png) no-repeat;
}

#frontpage #main-bottom {
  clear: both;
  height: 39px;
  width: 100%;
  background: transparent url(images/content_bottom_wide.png) no-repeat;
}

#frontpage #main-content {
  background: transparent url(images/content_tile_wide.png) repeat-y;
  padding: 5px 50px 0 50px;
}

#frontpage #content-left {
  float: left;
  width: 440px;
  margin: 0 40px 0 0;
}

#frontpage #content-right {
  float: left;
  width: 380px;
}

#inside #main-top {
  height: 37px;
  width: 100%;
  background: transparent url(images/content_top_divided.png) no-repeat;
}

#inside #main-bottom {
  clear: both;
  height: 39px;
  width: 100%;
  background: transparent url(images/content_bottom_divided.png) no-repeat;
}

#inside #content-left {
  float: left;
  width: 560px;
  padding: 5px 0 0 0;
}

#inside #content-right {
  float: right;
  width: 240px;
}

#inside #content-left h3 {
  font-size: 20px;
}

#inside #main-content {
  background: transparent url(images/content_tile_divided.png) repeat-y;
  padding: 0 30px 0 50px;
}

#frontpage .project {
  font-size: 11px;
  clear: both;
  width: 100%;
  margin: 20px 0;
}

#frontpage .project h3 {
  font-size: 14px;
  font-weight: bold;
  padding: 0;
  margin: 0 0 10px 0;
}

#frontpage .project .project-image {
  float: left;
  line-height: 0;
}

#frontpage .project img {
  background: #eeeeee;
  border: 1px solid #d9d9d9;
  line-height: 0px;
  padding: 5px;
}

#frontpage .project .description {
  float: right;
  margin: 0;
  padding: 0;
  width: 260px;
}

.container {
  margin: 0 0 30px 0;
}

#frontpage .post {
  margin: 0 0 1px 0;
}

#inside .post {
  margin: 0 0 60px 0;
}

.meta {
  width: 100%;
  height: 16px;
  clear: both;
  padding: 0 0 5px 0;
  font-size: 11px;
}

.meta div {
  float: left;
}

.meta .post-date {
  width: 65px;
}

.meta .post-comments {
  width: 75px;
  text-align: right;
}

.meta .mid-line {
  height: 50%;
  border-bottom: 1px solid #cccccc;
  width: 235px;
}

#frontpage .meta .mid-line {
  width: 235px;
}

#inside .meta .mid-line {
  width: 420px;
}

.post .bottom {
  width: 100%;
  height: 24px;
  color: #fff;
  font-family: Helvetica, Arial, sans-serif;
  font-size: 11px;
  font-weight: bold;
  margin: 20px 0 0 0;
}

.post .bottom a {
  color: #fff;
}

.post .bottom a:hover {
  color: #2383b8;
}

.post .bottom .categories {
  float: left;
  clear: left;
  background: #ccc;
  -moz-border-radius: 5px;
  -webkit-border-radius: 5px;
  width: 408px;
  height: 21px;
  padding: 5px 0 0 12px;
}

.post .bottom .more-link {
  float: right;
  width: 108px;
  height: 21px;
  padding: 5px 0 0 12px;
  -moz-border-radius: 5px;
  -webkit-border-radius: 5px;
  background: #2383b8;
}

.post .bottom .more-link:hover {
  color: #fff;
  background: #ff4800;
  -moz-border-radius: 5px;
  -webkit-border-radius: 5px;
}

/*

RIGHT SIDEBAR

*/

#inside #content-right {
  width: 240px;
  font-size: 13px;
}

#inside #content-right .widget {
  margin: 0 0 40px 0;
}

#inside #content-right h2 {
  height: 25px;
  color: #fff;
  background: url(images/widget_head_1.png) no-repeat;
  margin: 0 0 15px 0;
  padding: 7px 0 0 10px;
  font-weight: normal;
}

#inside #content-right .widget ul {
  padding: 0 10px 0 10px;
  margin: 10px 0 10px 0;
  list-style: none;
}

#inside #content-right .widget li {
  margin: 10px 0 10px 0;
  padding: 0;
}

#inside #content-right .widget li ul {
  margin: 0;
  padding: 0 10px 0 10px;
  border-left: 1px solid #aaa;
}

/*

WIDGETS STYLES

*/

#testimonial blockquote {
  background: transparent url(images/quoteclose.gif) no-repeat scroll right bottom;
  margin: 15px 0 15px 5px;
  padding: 0 5px 0 0;
  border: none;
}

#testimonial blockquote p {
  background: transparent url(images/quoteopen.gif) no-repeat scroll left top;
  padding-left: 30px;
}

.widget_tag_cloud div {
  text-align: center;
}

/*
	Comment-Styles
*/

ul#comments {
  padding: 0;
  margin: 0;
  list-style: none;
  font-size: 12px;
}

ul#comments li {
  float: left;
  clear: both;
  width: 100%;
  margin: 0 0 20px 0;
}

#comments .the-comment,
#comments .meta {
  margin-left: 80px;
  height: auto;
  width: auto;
  clear: none;
}

#comments p {
  padding: 0;
  margin: 0 0 10px 0;
  font-size: 11px;
}

#comments .author {
  float: left;
  width: 70px;
  clear: left;
  line-height: normal;
  text-align: center;
}

.comments-add-left {
  float: left;
  width: 170px;
  margin-right: 20px;
}

#commentform label {
  display: inline;
  margin-top: 10px;
}

#commentform input#author,
#commentform input#email,
#commentform input#url {
  display: inline;
  width: 150px;
  border: 1px solid #ccc;
  background: #fafafa;
  -moz-border-radius: 5px;
  -webkit-border-radius: 5px;
  color: #666;
  padding: 7px;
  margin-bottom: 7px;
}

#commentform textarea#comment {
  width: 350px;
  height: 70px;
  border: 1px solid #ccc;
  background: #fafafa;
  -moz-border-radius: 5px;
  -webkit-border-radius: 5px;
  color: #666;
  padding: 7px 5px 7px 5px;
  margin: 0 0 22px 0;
}

#commentform input#submit {
  -moz-border-radius: 5px;
  -webkit-border-radius: 5px;
  border: 1px solid #ccc;
  background: #2383b8;
  color: #666;
  padding: 7px 14px 7px 14px;
  border: none;
  color: #fff;
  font-size: 11px;
}

#commentform input#submit:hover {
  color: #fff;
  background: #ff4800;
  -moz-border-radius: 5px;
  -webkit-border-radius: 5px;
  cursor: pointer;
}

/*

MISC

*/

.wpcf7 .your-name input,
.wpcf7 .your-email input {
  display: inline;
  width: 150px;
  border: 1px solid #ccc;
  background: #fafafa;
  -moz-border-radius: 5px;
  -webkit-border-radius: 5px;
  color: #666;
  padding: 7px;
  margin-bottom: 7px;
}

#contactform-add-left {
  float: left;
  width: 170px;
  margin-right: 20px;
}

.wpcf7 .your-subject input {
  display: inline;
  width: 350px;
  border: 1px solid #ccc;
  background: #fafafa;
  -moz-border-radius: 5px;
  -webkit-border-radius: 5px;
  color: #666;
  padding: 7px;
  margin-bottom: 7px;
}

.wpcf7 .your-message textarea {
  width: 350px;
  height: 70px;
  border: 1px solid #ccc;
  background: #fafafa;
  -moz-border-radius: 5px;
  -webkit-border-radius: 5px;
  color: #666;
  padding: 7px;
  margin: 0 0 22px 0;
  font-size: 11px;
  line-height: 150%;
}

.wpcf7 input[type="submit"] {
  -moz-border-radius: 5px;
  -webkit-border-radius: 5px;
  border: 1px solid #ccc;
  background: #2383b8;
  color: #666;
  padding: 6px;
  margin: 18px 0 0 0;
  border: none;
  color: #fff;
  font-size: 13px;
  width: 164px;
}

.wpcf7 input[type="submit"]:hover {
  color: #fff;
  background: #ff4800;
  -moz-border-radius: 5px;
  -webkit-border-radius: 5px;
  cursor: pointer;
}

.clear {
  clear: both;
}