/*	CSS-Framework

	Version		: 0.3.1
	Author		: Aleksej Romanovskij (http://css-framework.ru)
	License		: Creative Commons Attribution 3.0 Unported License (http://creativecommons.org/licenses/by/3.0/)

------------------------------ */
		
/* Utilites
------------------------------ */

* { margin: 0; padding: 0; }

.admitad img { border: none!important; margin: 0!important; padding: 0px!important; }

*:focus { outline: none; }
.hidden { display: none; }
.show { display: block!important; }
.no-margin { margin: 0!important; }
.no-padding { padding: 0!important; }
.no-bg { background: none!important; }
.no-border, a img { border: none!important; }
.container:after, .columns:after { content: "."; display: block; height: 0; clear: both; visibility: hidden; }
.img-repl { text-indent: -9999px; overflow: hidden; display: block; }
.cc { clear: both; }

/* Цвета */
.color_1 { color: #cc3300; } /* цвет красный */


/* Main styles
------------------------------ */

html { height: 100%; color: #000; background: #fff; font: 0.75em/1.5 Tahoma, Verdana, Arial, Helvetica, sans-serif; }
body { height: auto !important; height: 100%; min-height: 100%; } /* body height 100% */

#page { width: 1022px; margin: 0 auto; background: #efefef; padding: 0; border: 1px solid black; }

a { color: #cc3300; }
a:visited {  }
a:hover { text-decoration: none;  }
a:active {  }
			
/* Layout Boxs
------------------------------ */

.page-layout { margin-right: 0px; }
.layout-box { float: left; margin: 0; }

.lb-1 { width: 1022px; } /* 100% */
.lb-2 { width: 750px; } /* 75% */
.lb-3 { width: 511px; } /* 50% */
.lb-3.search, .lb-3.menu { background: #7c7985; height: 52px; }
.lb-4 { width: 240px; } /* 25% */

.lb-logo { width: 250px; }
.lb-img { width: 772px; }

.lb-related { width: 175px; margin: 5px; float: left; } /* похожее видео */

.lb-left { width: 262px; background: #dbdade; } /* левая колонка */
.lb-center { width: 578px; background: #efefef; } /* центр */
.lb-right { width: 182px; background: #dbdade; } /* правая колонка */

/* Шапка */
.head { min-height: 90px; background: #464646; padding: 0!important; }
.head #logo { border: none!important; margin: 15px 0 0 15px!important; }

.lastVideo img { float: left; margin: 0 5px 0 5px!important; padding: 1px!important; }
.lastVideo a { text-decoration: none; color: #464646; }
.lastVideo a:hover { text-decoration: underline; }
.lastVideo .container { margin-bottom: 5px; }

/* Подвал */
.footer { height: 52px; background: #464646; color: #fff; }
.footer img { float: left; margin: 0 10px 0 0; }
.footer .footerText { float: left; margin-top: 6px; }
.footer a { color: #fff; }

/* Horizontal Menu
------------------------------ */

.menu-h { overflow: hidden; margin-left: 2px!important; }
.menu-h li { float: left; list-style: none; padding: 0 1px;  }
.menu-h a { font-family: Arial; padding: 7px; color: #fff; text-decoration: none; display: block; font-size: 1.1em; text-transform: uppercase; }
.menu-h a:hover, .menu-h a.current { background: #cc3300; }
			
/* Vertical Menu
------------------------------ */

.menu-v { border-top: 1px solid #ccc; margin-left: 2px!important; }
.menu-v li { padding: 2px 0; list-style: none; border-bottom: 1px solid #ccc; }
.menu-v li ul { padding-left: 1em; margin-top: 2px; }
.menu-v li li { border: none; border-top: 1px solid #ccc; }
.menu-v a { text-decoration: none; display: block; color: #cc3300; font-weight: bold;  }
.menu-v a:hover { text-decoration: underline; }
			
/* Content elements
------------------------------ */

.content h1, .content h2, .content h3, .content h4 { font: 1.7em Tahoma, Arial, Helvetica, sans-serif; margin-bottom: .5em; }
.content h2 { font-size: 1.5em; }
.content h3 { font-size: 1.2em; font-weight: bold; margin: 3px 0; }
.content h3 a { color: #cc3300; }
.content h4 { font-size: 1.1em; font-weight: bold; }
.content h1 { font-size: 1.3em!important; font-weight: bold; }
.content em { color: grey; font-size: 0.9em; margin: 0; }

blockquote { margin-left: 10em; padding-left: 1em; border-left: 2px solid #ccc; }
code, pre { font: 1.2em/1 "Courier New", Courier, monospace; padding: 1px 2px; background: #eee; }
pre { border: 1px dashed #aaa; line-height: 1.7em; padding: 5px; font-size: .9em; background: #eee; margin: 0; }
strong {  }
em {  }
sup, sub { vertical-align: baseline; position: relative; }
sup { top: -0.4em; }
sub { bottom: -0.3em; }

hr { color: #ccc; background-color: #ccc; height: 1px; border-width: 0px; }

.em { font-style: italic; }
.strong { font-weight: bold; }

.content ul, .content ol { margin-left: 3em; line-height: 1.3em; }
.content ul li, .content ol li { margin-bottom: .2em; }

.content dl {  }
.content dl dt { margin-bottom: .2em; font-weight: bold; }
.content dl dd { padding-left: 5em; margin-bottom: .4em; }

.icons a, .icon { padding: 1px 0 1px 20px; background-repeat: no-repeat; background-position: left center; }

.content p, .content ul, .content ol, .content dl, .content table, blockquote, pre, .columns, .content img, hr { margin-bottom: 11px; }

.box { margin: 11px; }

/* Text align, float
------------------------------ */

.a-left { text-align: left; }
.a-center { text-align: center; }
.a-right { text-align: right; }

.f-left { float: left; }
.f-right { float: right; }

/*	Tables
------------------------------ */

table { border-collapse: collapse; width: 100%; }
table th, table td { border: 1px solid #ccc; padding: 2px 3px; vertical-align: top; }
table th { background: #f4f4f4; }
table td {  }

.game table { border-collapse: collapse; margin-top: 5px; float: left; width: 350px; }
.game table th, table td { border: 1px solid #ccc; padding: 3px 3px; vertical-align: top; }
.game table th { background: #f4f4f4; }
.game table td { background: #fff; color: grey;  }

/*	Columns
------------------------------ */

.columns {  }
.w-5, .w-10, .w-15, .w-20, .w-25, .w-30, .w-35, .w-40, .w-45, .w-50, .w-55, .w-60, .w-65, .w-70, .w-75, .w-80, .w-85, .w-90, .w-95, .w-100, .w-33, .w-66, .w-38, .w-62 { float: left;  }

.col-content { padding-right: 6px; }
.col-first { padding-left: 0!important; }
.col-last { padding-right: 0!important; }

.w-5 { width: 5%; }
.w-10 { width: 10%; }
.w-15 { width: 15%; }
.w-20 { width: 20%; }
.w-25 { width: 25%; }
.w-30 { width: 30%; }
.w-35 { width: 35%; }
.w-40 { width: 40%; }
.w-45 { width: 45%; }
.w-50 { width: 50%; }
.w-55 { width: 55%; }
.w-60 { width: 60%; }
.w-65 { width: 65%; }
.w-70 { width: 70%; }
.w-75 { width: 75%; }
.w-80 { width: 80%; }
.w-85 { width: 85%; }
.w-90 { width: 90%; }
.w-95 { width: 95%; }
.w-100 { width: 100%; }

.w-33 { width: 33%; }
.w-66 { width: 66%; }

.w-38 { width: 38%; }
.w-62 { width: 62%; }

/* Images
------------------------------ */

.content img { padding: 5px; border: 1px solid #ccc!important; margin-top: .4em; }
.content img.null-image { padding: 0!important; border: none!important; margin: 0!important; }
img.f-left { margin-right: 1em; }
img.f-right { margin-left: 1em; }

/* Content Form
------------------------------ */

.content form.login { padding: 10px 0; }
.content form.comments { padding: 10px 0; }
.content fieldset { margin-bottom: 1em; border: none; }
.content legend { margin-top: -1px; padding-bottom: 1em; font-size: 1.1em; font-weight: bold; }

.content .f-row { overflow: hidden; margin-bottom: .5em; }
.content label { float: left; text-align: right; width: 25.99%; padding: 0 2%; }
.content label.comment { float: left; text-align: right; width: 100px; padding: 0 2%; }
.content .f-inputs { padding-left: 30%; }

.f-actions { padding-top: 1em; border-top: 1px solid #ccc; }

/* Inputs
------------------------------ */

input { vertical-align: middle }
.i-checkbox { margin-top: 3px; }
.i-text { width: 250px; padding: 2px; font: 1em sans-serif; }
.i-textarea { width: 500px; height: 100px; padding: 2px; font: 1em sans-serif; }
.i-login { width: 130px; padding: 1px; font: 1em sans-serif; }
.i-search { width: 300px; padding: 5px; font: 1.2em sans-serif; background: #cc3300; border: 1px solid #cc3300; color: #fff; }
.button { padding: 0.25em 1.2em; width: auto; overflow: visible; cursor: pointer; }



.content .game { margin-bottom: 5px; }
.content .game .under-game img { float: left; margin: 0 5px 0 0!important; border: none!important; }
.content .game .ratio span { font-size: 1.2em; color: green; }
.content .game .ratio  a{ text-decoration: none; }
.content .game .ratio  a:hover { text-decoration: underline; }

.content .pages { font-size: 1.2em; }
.content .pages .current { margin: 3px 10px 0 10px; }
.content .pages a {  margin: 3px 10px 0 10px; }

.content .game_info { padding-top: 20px; }
.content .game_info .one { padding: 5px; color: grey; background: #fff; margin: 0 1px 1px 0; }

#videoEmbed { margin: 5px 0; border: 1px solid black; }

.content .nav_center { margin: 10px 0 0 0; font-size: 1.5em; }
.content .nav_link { margin: -40px 25px 0 25px; font-size: 3em; }
.content .nav_link a { text-decoration: none; }
.content .nav_link a:hover { text-decoration: underline; }

/* Комментарии */
.content .comment { padding: 5px; margin: 7px 0; }
.content .comment .info { margin: 2px 0 10px 0; font-size: 1em; }
.content .comment span { color: #cc3300; }
.content .comment.one { background: #fff; }
.content .comment.two { background: #dbdade; }
.content .comment a { border-bottom: 1px dotted #cc3300; text-decoration: none; }
.content .comment a:hover { border-bottom: 1px solid #cc3300; text-decoration: none; }
.content .comment p.error { border: 1px solid #ec4300; background: #ffd880; padding:1px 5px; }
.content .comment p.success { border: 1px solid #4cd800; background: #a4ff7c; padding:5px; }

#myGallery { text-align: left; margin: 0 auto; }

.game-menu  { margin: -9px 0 5px 0; }
.game-menu a { background: #7c7985; color: #fff; display: block; float: left; margin: 0 4px 0 0; padding: 2px 5px 5px 5px; border-bottom: 1px solid #afabb7; }
.game-menu a.current, .game-menu a:hover { background: #cc3300; text-decoration: none; border-bottom: 1px solid #ff6600; }

/* Стили для заголовков (в центре и в колонках)
------------------------------ */

.headers.column {  background: #4b4b4b; font-size: 1.2em; padding: 10px; color: #fff; border-bottom: 1px solid #afabb7; border-top: 1px solid #afabb7; margin: 0; }
.headers.center { background: #cc3300; font-size: 1.2em; padding: 10px; color: #fff; border-bottom: 1px solid #ff6600; border-top: 1px solid #ff6600; }
.headers.center a  { color: #fff; }

/* Стили для колонок
------------------------------ */

.column.content { background: #efefef; padding: 4px; margin: 0 0 10px 0; }			
.column.menu { margin: 10px 2px; }	
.column.content .num { font-size: 1.4em; padding-right: 5px; }
a.column.menu { color: #cc3300; font-size: 1.0em; }

/* Каталог игр по буквам */
.games-catalog { margin-bottom: 7px; text-align: center;}
.games-catalog a { font-size: 1.2em; text-decoration: none; padding: 1px 3px; }
.games-catalog a:hover, .games-catalog a.current { font-size: 1.2em; background: #cc3300; color: #ffffff; }

/* Стили страницы с обзором */
#review p { font-size: 1.1em; text-align: justify; }
#review p:first-letter { font-weight: bold; color: #cc3300; }
#rating { margin: 5px 0; font-size: 1.6em; }

#relatedReviews li { font-weight: bold; margin: 5px 0; }

#waiting { background: url('../i/ajax-loader.gif') no-repeat; padding-left:43px; position:relative; top:3px; left:5px; }

.http { height: 70px; padding-left: 70px; background: url('../i/http2.png') left top no-repeat; }
.http3 { min-height: 20px; padding-left: 25px; background: url('../i/http3.png') left top no-repeat; }
.files { background: url('../i/files.png') right top no-repeat; }

.affImg { border: none!important; margin: 0!important; padding: 2px!important; }
.headAdImg { border: 1px solid #464646!important; margin: 0!important; padding: 4px!important; }

.lastComments { font-size: 11px;  }
.lastComments .link { color: #cc3300; font-size: 12px; }

.buyGameLink { float: left; width: 310px; margin: 0 0 10px 0; padding: 5px 0 5px 40px; background: url('../i/korzina.png') left top no-repeat; }
