/*
Автор адаптации: MaVL
ICQ: 575481570
E-mail: samglav@mail.ru
Все вопросы по шаблону на: http://mvcreative.do.am/forum/9
*/

/* ##################################
 GENERAL
 ################################## */

html, body, p, ul, ol, li, h1, h2, h3, h4, h5, h6, img, hr, form {
 margin: 0px;
 padding: 0px;
 border: none;
 list-style: none;
}

body {
 margin: 0 0 40px;
 padding: 0px;
 color: #fff;
 background: #131313 url("/img/bg-body.jpg") no-repeat center top;
 background-attachment: fixed;
 font-family: "Helvetica Neue", Helvetica, Arial, sans-serif;
 font-size: 11px;
 line-height: 22px;
}

p, ul, ol {
 padding: 0 0 20px;
}

a {
 color: #fff;
}

a.none {
 text-decoration: none;
}

a.none:hover {
 text-decoration: underline;
}

small {
 font-size: 10px;
 font-weight: normal;
}

/* ##################################
 HEADINGS
 ################################## */

h1, h2, h3 {
 margin: 0 0 20px;
 padding: 0px;
}

.display-text h2 {
 font-size: 18px;
 font-weight: normal;
 text-transform: uppercase;
}

.latest-post h3 {
 margin: 0px;
 font-size: 14px;
 font-weight: normal;
 text-transform: uppercase;
}

#footer h3 {
 margin: 0 0 10px;
 font-size: 14px;
 font-weight: normal;
 text-transform: uppercase;
}


/* ##################################
 BUTTONS
 ################################## */

.btn, .more-link {
 display: block;
 float: left;
 width: auto;
 height: 20px;
 line-height: 20px;
 margin: 0px;
 padding: 0 0 0 10px;
 color: #fff;
 text-decoration: none;
 clear: both;
}

#red .btn, #red .more-link {
 background: url("/img/btn-red/bg-btn.png") no-repeat left top;
}

#blue .btn, #blue .more-link {
 background: url("/img/btn-blue/bg-btn.png") no-repeat left top;
}

#green .btn, #green .more-link {
 background: url("/img/btn-green/bg-btn.png") no-repeat left top;
}

#grey .btn, #grey .more-link {
 background: url("/img/btn-grey/bg-btn.png") no-repeat left top;
}

.btn span, .more-link span {
 display: block;
 height: 20px;
 line-height: 20px;
 padding: 0 25px 0 0;
}

#red .btn span, #red .more-link span {
 background: url("/img/btn-red/bg-btn-span.png") no-repeat right top;
}

#blue .btn span, #blue .more-link span {
 background: url("/img/btn-blue/bg-btn-span.png") no-repeat right top;
}

#green .btn span, #green .more-link span {
 background: url("/img/btn-green/bg-btn-span.png") no-repeat right top;
}

#grey .btn span, #grey .more-link span {
 background: url("/img/btn-grey/bg-btn-span.png") no-repeat right top;
}


/* ##################################
 INPUTS
 ################################## */

input.text, textarea.text {
 width: 75%;
 background: #2c2c2c;
 border: none;
 height: 14px;
 padding: 8px 10px;
 color: #fff;
 font-size: 11px;
 font-family: "Helvetica Neue", Helvetica, Arial, sans-serif;
}

input {
 background: #2c2c2c;
 border: 1px solid #333333;

 padding: 8px 10px;
 color: #fff;
 font-size: 11px;
 font-family: "Helvetica Neue", Helvetica, Arial, sans-serif;
}

textarea {
 background: #2c2c2c;
 border: 1px solid #333333;
 padding: 8px 10px;
 color: #fff;
 font-size: 11px;
 font-family: "Helvetica Neue", Helvetica, Arial, sans-serif;
}

textarea.text {
 width: 95%;
 height: 150px;
}

button.button {
 background: none;
 border: none;
 height: 30px;
 color: #fff;
}

input.button {
 height: 30px;
 border: 1px solid #870120;
 -moz-border-radius: 10px;
 -webkit-border-radius: 10px;
 color: #fff;
}

#red input.button {
 background: url("/img/btn-red/bg-input-button.png") repeat-x left top;
}

#blue input.button {
 background: url("/img/btn-blue/bg-input-button.png") repeat-x left top;
}

#green input.button {
 background: url("/img/btn-green/bg-input-button.png") repeat-x left top;
}

#grey input.button {
 background: url("/img/btn-grey/bg-input-button.png") repeat-x left top;
}


/* ##################################
 LISTS
 ################################## */

#content ul, #content ol {
 margin-left: 10px;
 padding-left: 10px;
}

#content li ul {
 padding-top: 0;
 padding-bottom: 0;
}

#content ul li {
 list-style: square;
}

#content ol li {
 list-style: decimal;
}

#content ol li li {
 list-style: lower-latin;
}

#content ol li li li {
 list-style: lower-roman;
}


/* ##################################
 OTHER HTML
 ################################## */

blockquote, address {
 margin-left: 10px;
 padding-left: 10px;
 border-left: 5px solid #2c2c2c;
}

code, pre {
 font-family: "Courier New", Courier, serif;
 overflow: auto;
}

pre {
 margin: 0 0 20px;
 padding: 10px;
 background: #2c2c2c;
 overflow: auto;
}

dl {
 margin: 0 0 10px;
}

dt {
 font-weight: bold;
}

dd {
 padding: 0 0 10px;
}


/* ##################################
 BASIC LAYOUT
 ################################## */

#wrap {
 width: 880px;
 margin: 0 auto 80px;
}

#header {
 position: relative;
 height: 140px;
 margin: 0 0 40px;
 background: url("/img/bg-divider.png") repeat-x bottom left;
 z-index: 2;
}

#content-wrap {
 height: 1%;
}

#content {
 float: left;
 width: 600px;
 overflow: hidden;
}

#content-wide {
 overflow: hidden;
}

#sidebar {
 float: right;
 width: 240px;
 margin: 0 0 20px;
}


/* ##################################
 HEADER
 ################################## */

#logo {
 position: absolute;
 bottom: 30px;
 left: 0px;
}

#logo h1 {
 float: left;
 width: auto;
 margin: 0px;
 padding: 14px 0 0 10px;
 color: #5c5c5c;
 font-size: 11px;
 font-weight: normal;
 text-shadow: 1px 1px 0px #000;
}

#logo img {
 float: left;
}

#menu {
 position: absolute;
 right: 0px;
 bottom: 40px;
 margin: 0px;
 padding: 0px;
 font-size: 14px;
 line-height: 14px;
 text-transform: uppercase;
}


/* ##################################
 FOOTER
 ################################## */

.box-footer {
 float: left;
 width: 240px;
 margin: 0 40px 0 0;
}

#footer-about {
 float: right;
 width: 240px;
 margin: 0px;
}

#about-img {
 position: relative;
 float: right;
 width: auto;
 margin: 0 0 10px 10px;
}

#footer li {
 margin: 0 0 5px;
 padding: 0 0 5px;
 border-bottom: 1px dotted #3c3c3c;
}

#footer a {
 text-decoration: none;
}

#footer #footer-social p {
 padding: 0px;
 margin: 0 0 15px;
}

#footer #footer-social a {
 padding: 5px 0 5px 30px;
}

#footer #rss a {
 background: url("/img/icons/icon-rss.png") no-repeat left center;
}

#footer #twitter a {
 background: url("/img/icons/icon-twitter.png") no-repeat left center;
}

#footer #flickr a {
 background: url("/img/icons/icon-flickr.png") no-repeat left center;
}

#footer #facebook a {
 background: url("/img/icons/icon-facebook.png") no-repeat left center;
}

#footer #myspace a {
 background: url("/img/icons/icon-myspace.png") no-repeat left center;
}

#footer #linkedin a {
 background: url("/img/icons/icon-linkedin.png") no-repeat left center;
}

#footer #lastfm a {
 background: url("/img/icons/icon-lastfm.png") no-repeat left center;
}

#footer #delicious a {
 background: url("/img/icons/icon-delicious.png") no-repeat left center;
}

#footer #stumble a {
 background: url("/img/icons/icon-stumble.png") no-repeat left center;
}

#footer #digg a {
 background: url("/img/icons/icon-digg.png") no-repeat left center;
}

#footer #wong a {
 background: url("/img/icons/icon-wong.png") no-repeat left center;
}

#footer #technorati a {
 background: url("/img/icons/icon-technorati.png") no-repeat left center;
}

#footer #ff a {
 background: url("/img/icons/icon-friendfeed.png") no-repeat left center;
}

#footer #google a {
 background: url("/img/icons/icon-google.png") no-repeat left center;
}

#footer #mixx a {
 background: url("/img/icons/icon-mixx.png") no-repeat left center;
}

#footer #netvibes a {
 background: url("/img/icons/icon-netvibes.png") no-repeat left center;
}

#footer #reddit a {
 background: url("/img/icons/icon-reddit.png") no-repeat left center;
}

#footer #vimeo a {
 background: url("/img/icons/icon-vimeo.png") no-repeat left center;
}

#footer #youtube a {
 background: url("/img/icons/icon-youtube.png") no-repeat left center;
}

#subfooter {
 margin: 40px 0 0;
 padding: 20px 0 0;
 background: url("/img/bg-divider.png") repeat-x left top;
 color: #5c5c5c;
}

#subfooter a {
 color: #5c5c5c;
}

#subfooter p {
 text-align: center;
}

/* ##################################
 SIDEBAR
 ################################## */

.box-sidebar {
 margin: 0 0 20px;
}

.box-sidebar h3 {
 margin: 0 0 10px;
 padding: 0px;
 text-decoration: none;
 font-size: 12px;
 font-weight: normal;
 text-transform: uppercase;
}

.toggle h3 {
 height: 30px;
 line-height: 30px;
 margin: 0px;
 padding: 0 10px;
 cursor: pointer;
}

.toggle h3 a {
 text-decoration: none;
}

#red .toggle-open {
 background: #2c2c2c url("/img/btn-red/bg-toggle-open.png") no-repeat right top;
}

#red .toggle-close {
 background: #2c2c2c url("/img/btn-red/bg-toggle-close.png") no-repeat right top;
}

#blue .toggle-open {
 background: #2c2c2c url("/img/btn-blue/bg-toggle-open.png") no-repeat right top;
}

#blue .toggle-close {
 background: #2c2c2c url("/img/btn-blue/bg-toggle-close.png") no-repeat right top;
}

#green .toggle-open {
 background: #2c2c2c url("/img/btn-green/bg-toggle-open.png") no-repeat right top;
}

#green .toggle-close {
 background: #2c2c2c url("/img/btn-green/bg-toggle-close.png") no-repeat right top;
}

#grey .toggle-open {
 background: #2c2c2c url("/img/btn-grey/bg-toggle-open.png") no-repeat right top;
}

#grey .toggle-close {
 background: #2c2c2c url("/img/btn-grey/bg-toggle-close.png") no-repeat right top;
}

.totoggle {
 padding: 10px 0 0;
}

.box-sidebar ul {
 margin: 0 0 -5px;
 padding: 0 5px 5px;
}

.box-sidebar ul ul {
 margin: 0 0 0 20px;
 padding: 0px;
}

.box-sidebar li {
 margin: 0 0 5px;
 padding: 0 0 5px;
 border-bottom: 1px dotted #3c3c3c;
}

.box-sidebar li li {
 margin: 0px;
 padding: 0px;
 border-bottom: none;
 list-style: square;
}

.box-sidebar li a {
 text-decoration: none;
}

.box-sidebar p {
 padding: 0px;
}


/* ##################################
 BOXES
 ################################## */

.box1-top, .box2-top, .box3-top {
 height: 20px;
}

.box1-top {
 background: url("/img/bg-box1-top.png") no-repeat left top;
}

.box2-top {
 background: url("/img/bg-box2-top.png") no-repeat left top;
}

.box3-top {
 background: url("/img/bg-box3-top.png") no-repeat left top;
}

.box1, .box2, .box3 {
 position: relative;
}

.box1 {
 padding: 20px 40px 0;
 background: url("/img/bg-box1.png") repeat-y left top;
}

.box2 {
 padding: 20px 40px;
 background: url("/img/bg-box2.png") repeat-y left top;
}

.box3 {
 padding: 0 20px;
 background: url("/img/bg-box3.png") repeat-y left top;
}

.box1-bot, .box2-bot, .box3-bot {
 height: 20px;
 clear: both;
}

.box1-bot {
 background: url("/img/bg-box1-bot.png") no-repeat left bottom;
}

.box2-bot {
 background: url("/img/bg-box2-bot.png") no-repeat left bottom;
}

.box3-bot {
 background: url("/img/bg-box3-bot.png") no-repeat left bottom;
}


/* ##################################
 HOME DISPLAY
 ################################## */

#home-display {
 position: relative;
 height: 280px;
 margin: 0 0 40px;
 background: url("/img/bg-home-display.png") no-repeat left top;
 z-index: 1;
}

.display-img {
 position: relative;
 float: left;
 width: 520px;
 margin: 0 40px 20px 0;
}

.display-text {
 float: right;
 width: 240px;
}

.ribbon {
 position: absolute;
 bottom: -1px;
 left: -1px;
 z-index: 20;
}


/* ##################################
 IMAGE OVERLAY
 ################################## */

.overlay1 {
 position: absolute;
 top: 0px;
 left: 0px;
 width: 520px;
 height: 200px;
 background: url("/img/bg-overlay1.png") no-repeat left top;
 z-index: 10;
}

.overlay2 {
 position: absolute;
 top: 0px;
 left: 0px;
 width: 240px;
 height: 90px;
 background: url("/img/bg-overlay2.png") no-repeat left top;
 z-index: 10;
}

.overlay3 {
 position: absolute;
 top: 0px;
 left: 0px;
 width: 90px;
 height: 90px;
 background: url("/img/bg-overlay3.png") no-repeat left top;
 z-index: 10;
}

.overlay4 {
 position: absolute;
 top: 0px;
 left: 0px;
 width: 240px;
 height: 180px;
 background: url("/img/bg-overlay4.png") no-repeat left top;
 z-index: 10;
}

/* ##################################
 HOME
 ################################## */

#latest-posts {
 margin: 0 0 40px;
}

.space {
 height: 20px;
 clear: both;
}

.latest-post {
 position: relative;
 width: 490px;
 margin: 0 0px 20px 0px;
}

.first {
 margin-left: 0px;
 clear: left;
}

.latest-post img {
 margin: 0 0 10px;
}

.meta {
 padding: 0 0 10px;
 color: #5c5c5c;
 font-style: italic;
}

.meta a {
 color: #5c5c5c;
}


/* ##################################
 POST / PAGE
 ################################## */

.post {
 margin: 0 0 40px;
}

.post-img {
 position: relative;
 margin: 0 0 20px;
}

.post h2 {
 margin: 0 0 10px;
 font-size: 14px;
 font-weight: normal;
 text-transform: uppercase;
}

#page .post h2 {
 margin: 0 0 20px;
}

#screenshots h2 {
 margin: 0 0 -20px;
}

.screenshot {
 position: relative;
 float: left;
 width: 240px;
 margin: 40px 40px 0 0;
}

#screenshots .alt {
 margin: 40px 0 0;
}


/* ##################################
 PAGING
 ################################## */

#paging {
 margin: 0 0 40px;
 text-transform: uppercase;
}

#paging a {
 text-decoration: none;
}

#paging .box1,
#paging .box2 {
 padding: 0 40px;
}

.wp-pagenavi .pages {
 float: right;
 width: auto;
}

.wp-pagenavi a, .wp-pagenavi .current {
 display: block;
 float: left;
 width: 20px;
 height: 20px;
 line-height: 20px;
 margin-right: 5px;
 text-align: center;
}

#red .wp-pagenavi .current {
 background: url("/img/btn-red/bg-paging-current.png") no-repeat center center;
}

#blue .wp-pagenavi .current {
 background: url("/img/btn-blue/bg-paging-current.png") no-repeat center center;
}

#green .wp-pagenavi .current {
 background: url("/img/btn-green/bg-paging-current.png") no-repeat center center;
}

#grey .wp-pagenavi .current {
 background: url("/img/btn-grey/bg-paging-current.png") no-repeat center center;
}


/* ##################################
 COMMENTS
 ################################## */

#comments-list, #trackbacks-list {
 margin: 0 0 40px;
}

#comments-list .box2, #trackbacks-list .box2 {
 padding: 20px 40px 0;
}

#comments-list p, #trackbacks-list p {
 padding: 0 0 10px;
}

#comments-list ol, #trackbacks-list ol {
 margin: 0px;
 padding: 0px;
}

#comments-list ol li, #trackbacks-list ol li {
 list-style: none;
 clear: both;
}

.comment-img {
 position: relative;
 float: left;
 width: 90px;
 margin: 0 0 40px;
}

.comment-text {
 float: right;
 width: 410px;
 margin: 0 0 30px;
}

.trackback-text {
 padding: 0 0 20px;
}

.moderation {
 color: #5c5c5c;
 font-style: italic;
}


/* ##################################
 COMMENTFORM
 ################################## */

#commentform {
 margin: 0 0 40px;
}

#commentform #logout {
 position: absolute;
 top: 20px;
 right: 40px;
}

#commentform input.text, #commentform textarea.text {
 width: 500px;
 margin: 0 0 20px;
 overflow: auto;
}

#commentform input.fielderror, #commentform textarea.fielderror {
 color: #5c5c5c;
}

#commentform button {
 height: 30px;
 line-height: 30px;
 margin: 0px;
 padding: 0 0 0 20px;
 color: #fff;
 text-align: center;
 border: 0px;
 overflow: visible;
}

#red #commentform button {
 background: url("/img/btn-red/bg-button.png") no-repeat left top;
}

#blue #commentform button {
 background: url("/img/btn-blue/bg-button.png") no-repeat left top;
}

#green #commentform button {
 background: url("/img/btn-green/bg-button.png") no-repeat left top;
}

#grey #commentform button {
 background: url("/img/btn-grey/bg-button.png") no-repeat left top;
}

#commentform button span {
 position: relative;
 display: block;
 height: 30px;
 line-height: 30px;
 margin: 0px;
 padding: 0 20px 0 0;
 white-space: nowrap;
}

#red #commentform button span {
 background: url("/img/btn-red/bg-button-span.png") no-repeat right top;
}

#blue #commentform button span {
 background: url("/img/btn-blue/bg-button-span.png") no-repeat right top;
}

#green #commentform button span {
 background: url("/img/btn-green/bg-button-span.png") no-repeat right top;
}

#grey #commentform button span {
 background: url("/img/btn-grey/bg-button-span.png") no-repeat right top;
}

#commentform button::-moz-focus-inner { /* fixing default firefox padding */
 padding: 0px;
 border: none;
}

@media screen and (-webkit-min-device-pixel-ratio:0) {
 /* Safari and Google Chrome only - fix margins */
 #commentform button span {
 margin-top: -1px;
 margin-right: -3px;
 }
}

#commenterror {
 height: 20px;
 line-height: 20px;
 margin: 20px 0 0;
 padding: 0 0 0 30px;
 background: url("/img/bg-commenterror.png") no-repeat left center;
}


/* ##################################
 SEARCHFORM
 ################################## */

.searchform {
 width: 200px;
}

#search-text {
 display: inline;
 float: left;
 width: 150px;
 font-size: 12px;
 text-transform: uppercase;
}

#search-submit {
 float: right;
 width: 30px;
}

#red #search-submit {
 background: url("/img/btn-red/bg-search-submit.png") no-repeat right top;
}

#blue #search-submit {
 background: url("/img/btn-blue/bg-search-submit.png") no-repeat right top;
}

#green #search-submit {
 background: url("/img/btn-green/bg-search-submit.png") no-repeat right top;
}

#grey #search-submit {
 background: url("/img/btn-grey/bg-search-submit.png") no-repeat right top;
}

#searcherror {
 height: 20px;
 line-height: 20px;
 margin: 0 0 10px;
 padding: 0 0 0 30px;
 background: url("/img/bg-searcherror.png") no-repeat left center;
}

#searchform input.fielderror {
 color: #5c5c5c;
}


/* ##################################
 404
 ################################## */

.searchform {
 margin: 0 0 20px;
}


/* ##################################
 WORDPRESS CSS
 ################################## */

.aligncenter,
div.aligncenter {
 display: block;
 margin: 0 auto;
}

.aligncenter {
 margin-bottom: 20px!important;
}

.alignleft {
 float: left;
 width: auto;
 margin: 0 10px 10px 0;
}

.alignright {
 float: right;
 width: auto;
 margin: 0 0 10px 10px;
}

.wp-caption {
 padding: 4px 0;
 background: #2c2c2c;
 border: 1px solid #3c3c3c;
 text-align: center;
}

.wp-caption img {
 float: none;
 margin: 0px;
 padding: 0px;
 border: none;
}

.wp-caption p.wp-caption-text {
 padding: 0px;
 margin: 0px;
}


/* ##################################
 WIDGET CSS
 ################################## */

#calendar_wrap table {
 width: 100%;
}

#calendar_wrap td {
 text-align: center;
}

#wp-calendar caption {
 margin: 0 0 10px;
 padding: 2px;
 border-bottom: 1px dotted #3c3c3c;
}

#tag_cloud {
 line-height: normal;
}

#content #tag_cloud {
 margin: 0 0 20px;
}

#flickr_badge_wrapper {
 padding: 0 5px 10px;
}

.flickr_badge_image {
 float: left;
 margin: 15px 10px 0;
}


/* ##################################
 CLEARING
 ################################## */

.clear {
 clear: both;
}

.clearfix:after {
 content: " ";
 display: block;
 clear: both;
 visibility: hidden;
 line-height: 0;
 height: 0;
}

.clearfix {
 display: inline-block;
}

html[xmlns] .clearfix {
 display: block;
}

* html .clearfix {
 height: 1%;
}
.panelk {margin: 5px -15px; padding:18px 20px;background: url("/img/bg.png") no-repeat 0 0; }