/* Title: Styles for screen media
--------------------------------------------- */

/* ========== Reset default browser styles ========== */
html, body, div, span,
h1, h2, h3, h4, h5, h6, p,
a, img, strong, sub, sup,
dl, dt, dd, ol, ul, li,
fieldset, form, label, legend,
table, caption, tbody, tfoot, thead, tr, th, td {
    margin: 0;
    padding: 0;
    border: 0;
    font-size: 100%;
    font: inherit;
    vertical-align: baseline;
}
ol, ul {
    list-style: none;
}
blockquote, q {
    quotes: none;
}
blockquote:before, blockquote:after,
q:before, q:after {
    content: '';
    content: none;
}
table {
    border-collapse: collapse;
    border-spacing: 0;
}

/* ========== GLOBAL styles ========== */
body {
    font: 62.5%/1.3 Tahoma, Arial, Helvetica, sans-serif;
    color: #4f4f4f;
    background: #f5f5f5;
}
.text-hide {
	text-indent: 100%;
	white-space: nowrap;
	overflow: hidden;
}

/* ---------- links --------- */
a:link, a:visited {
    text-decoration: none;
    outline: none;
    color: #000;
    font-weight: bold;
}
a:visited {
    color: #656565;
}
a:hover {
    color: #656565;
}
a img {
    border: none;
}
a img {
	border: none;
}

/* ---------- transition --------- */
a,
.voting button:hover,
.auth-box button:hover {
	-webkit-transition: all 0.2s ease-out;
	-moz-transition: all 0.2s ease-out;
	-o-transition: all 0.2s ease-out;
	transition: all 0.2s ease-out;
}

/* ========== PAGE STRUCTURE ========== */
.wrap {
	position: relative;
    max-width: 1200px;
    min-width: 1000px;
    margin: auto;
	font-size: 1.2em;
    background: url(../img/bg-aside.png) repeat-y;
}
.aside {
	 float: left;
	 width: 206px;
	 color: #fff;
	 background: #000;
 }
.main {
    margin-left: 222px;
    padding-left: 9px;
    background: #f5f5f5 url(../img/main-greyline.png) repeat-y;
}

/* ========== ASIDE STYLES ========== */

/* ---------- h3 --------- */
.aside h3 {
	margin-top: 6px;
	padding: 15px 0 16px 15px;
	font-size: 1.6em;
	line-height: 1;
	background: url(../img/aside-torch.png) no-repeat 0 -4px;
}
.aside h3 strong,
.category ul span,
.category a:hover {
	color: #e57354;
}
.aside h3 span {
	display: block;
	font-size: .7em;
}

/* ---------- category & voting --------- */
.category ul,
#voting {
	margin-left: 16px;
}
.category a {
	color: #fff;
}
.voting legend {
	margin-bottom: 8px;
	font-weight: bold;
}
.voting input {
	margin: 0 5px 0 0;
	vertical-align: top;
}
.voting button {
	width: 90px;
	height: 20px;
	margin: 12px 3px 0 0;
	cursor: pointer;
	border: 0;
	line-height: 14px;
	font-size: 11px;
	font-weight: bold;
	color: #fff;
	background: url(../img/btn-voting.png) no-repeat;
}
.voting button:hover {
	color: #e57354;
	opacity: .7;
}

/* ---------- calendar --------- */
#calendar {
	margin-left: 16px;
}
.ui-datepicker {
	width: 190px;
}
.ui-datepicker-header {
	position: relative;
}
.ui-datepicker-title {
	text-align: center;
	font-weight: bold;
}
.ui-datepicker-year {
	padding-left: 4px;
}
.ui-datepicker-prev,
.ui-datepicker-next {
	position: absolute;
	top: -2px;
	cursor: pointer;
	font-size: 14px;
	color: #e57354;
	font-weight: bold;
}
.ui-datepicker-prev {
	left: 40px;
}
.ui-datepicker-next {
	right: 40px;
}
.ui-datepicker-calendar th {
	padding: 7px;
	text-align: center;
	font-weight: normal;
}
.ui-datepicker-calendar td {
	padding: 0 2px;
	text-align: center;
}
.ui-datepicker-calendar .ui-state-default {
	display: block;
	outline: none;
	text-decoration: none;
	color: #fff;
	border: 1px solid transparent;
}
.ui-datepicker-calendar .ui-state-active {
	color: #e57354;
	border: 1px solid #e57354;
}
.ui-datepicker-other-month .ui-state-default {
	color: #565656;
}

/* ---------- banner --------- */
.banner p {
	margin: 0 12px 16px 16px;
}
.banner p strong {
	display: block;
	font-weight: bold;
}

/* ---------- validation --------- */
.validation {
	position: absolute;
	left: 24px;
	bottom: 20px;
}

/* ========== MAIN STYLES ========== */

/* ========== header ========== */

/* ---------- logo --------- */
.logo {
    height: 82px;
    padding: 26px 0 0 18px;
}
.logo .post1-logo,
.logo .post2-logo {
    display: block;
    font-size: 12px;
    color: #7d7676;
}
.logo .post1-logo {
    margin: 4px 0 -3px;
}
.logo a:hover {
	opacity: .7;
}

/* ---------- slogan --------- */
.slogan {
    position: relative;
    height: 207px;
    background: url(../img/bg-slogan.png) repeat-x;
}
.slogan .left-fold {
    position: absolute;
    left: -18px;
    top: -25px;
    width: 85px;
    height: 232px;
    background: url(../img/left-fold.png) no-repeat;

}
.slogan .heroes {
    position: absolute;
    top: -86px;
    right: 0;
    width: 464px;
    height: 291px;
    background: url(../img/slogan-heroes.png) no-repeat;
}
.slogan h2,
.slogan .in-h2 {
    position: absolute;
    font-size: 46px;
    line-height: .8;
    color: #fff;
    z-index: 20;
}
.slogan h2 span {
    display: block;
    font-size: 20px;
    text-indent: 88px;
}
.slogan .slogan-header {
    top: 20px;
    left: 12px;
}
.slogan .slogan-footer {
    top: 82px;
    left: 40px;
    font-size: 40px;
}
.slogan .slogan-footer strong {
    font-size: 20px;
}
.slogan .slogan-footer span {
    font-size: 28px;
    text-indent: 42px;
}
.slogan .in-h2 {
    top: 58px;
    left: 72px;
    font-size: 32px;
    z-index: 5;
}
.slogan .bracket {
    position: absolute;
    top: 70px;
    left: 302px;
    width: 18px;
    height: 77px;
    background: url(../img/bracket.png) no-repeat;
    z-index: 20;
}
.slogan h4 {
    position: absolute;
    top: 164px;
    width: 430px;
    height: 30px;
    line-height: 1;
    color: #fff;
    z-index: 10;
}

/* ---------- authorization --------- */
.auth-header {
    background: #d8d7d7;
}
.auth-header p {
    display: inline-block;
    width: 340px;
    margin: 7px 4.8% 0 14px;
    line-height: 1;
}
.auth-header .reg {
    display: inline-block;
    margin-top: 13px;
    vertical-align: top;
    word-spacing: 1px;
}
.reg label {
    font-weight: bold;
}
.auth-header a {
    color: #656565;
}
.auth-header a:hover {
    color: #000;
}
.auth-box {
	height: 46px;
    background: url(../img/bg-authorisation.png) repeat-x;
}
.auth-box .redress {
    display: inline-block;
    height: 22px;
    margin: 18px 11% 5px 10px;
    padding: 2px 0 0 28px;
    color: #8c8b8b;
    background: url(../img/ico-authorisation.png) no-repeat;
}
.auth-box .redress:hover {
    color: #000;
}
.auth-box form {
    display: inline-block;
}
.auth-box label {
    margin-right: 8px;
    color: #8c8b8b;
    font-weight: bold;
}
.auth-box input {
    width: 90px;
    height: 9px;
    margin-left: 8px;
    padding: 3px 4px;
    line-height: 9px;
    border: 1px solid #b7b6b6;
    font-size: 11px;
    color: #cacaca;
}
.auth-box input:focus {
    border: 1px solid #000;
    color: #000;
    outline: none;
}
.auth-box button {
    width: 47px;
    height: 18px;
    border: 1px solid #b7b6b6;
    font-size: 11px;
    color: #fff;
    cursor: pointer;
    background: #333;
}
.auth-box button:hover {
    color: #e57354;
	background: #656565;
}

/* ========== PAGE CONTENT ========== */

/* ---------- welcome --------- */
.welcome {
    padding: 0 10px;
	background: url(../img/bg-welcome.png) repeat-x;
}
.welcome h2 {
    width: 314px;
    margin: 0 0 0 2px;
    font-size: 19px;
    color: #4f4f4f;
}
.welcome span {
    font: 22px Georgia, "Times New Roman", sans-serif;
}
.welcome em {
	font: normal 22px "Times New Roman", sans-serif;
    color: #e3633c;
}
.welcome p {
    width: 75%;
    margin: 4px 0 6px 2px;
}

/* ---------- films-assortment --------- */
.films-assortment {
    padding: 20px 0;
	overflow: hidden;
	background: url(../img/divan.png) no-repeat 100% 0;
}
.films-assortment ul {
    float: left;
    width: 25%;
    padding-left: 14px;
}
.films-assortment a {
    font-weight: normal;
    color: #656565;
}
.films-assortment a:hover {
    color: #e3633c;
}

/* ---------- films-catalog --------- */
.films-item {
    padding-top: 16px;
    background: url(../img/bg-film.png) repeat-x;
}

/*films-header*/
.films-item .film-header {
    width: 379px;
    height: 56px;
    overflow: hidden;
    margin-left: -11px;
    padding: 12px 0 0 25px;
    color: #fff;
    background: url(../img/tape.png) no-repeat;
}
.film-header h3 {
    display: inline-block;
    font-size: 21px;
    line-height: 1;
	vertical-align: 10%;
}
.film-header .meta-tags {
	margin-top: -2px;
}
.film-header a {
	color: #fff;
	font-weight: normal;
}
.film-header a:hover {
	color: #de7c06;
}

/*rating*/
.film-header .rating {
    display: inline-block;
	position: relative;
    width: 80px;
	height: 16px;
    margin-left: 6px;
	background: url(../img/rating.png);
}
.rating div,
.rating span {
	position: absolute;
	top: 0;
	left: 0;
	width: 0;
	cursor: pointer;
	height: 100%;
}
.rating div {
	background: url(../img/rating.png) 0 100%;
	z-index: 11;
}
.rating span {
	display: block;
	background: url(../img/rating.png) 0 50%;
	z-index: 22;
}

/*poster*/
.films-item .poster {
    display: table-row;
}
.films-item .images {
    display: table-cell;
    padding: 0 13px 16px;
}
.films-item .description {
    display: table-cell;
    vertical-align: top;
}
.films-item .description p {
    margin-bottom: 14px;
	text-align: justify;
}

/* -- film-footer -- */
.film-footer {
	overflow: hidden;
}
.film-footer .film-metadata {
    float: left;
    height: 25px;
	padding: 0 14px;
    border-top-right-radius: 15px;
    background: #e0dfdf;
}
.film-metadata span {
    display: inline-block;
    margin-right: 5px;
    padding: 5px 0 0 20px;
    background: url(../img/ico-comment.jpg) no-repeat;
}
.film-metadata a {
    font-weight: normal;
    text-decoration: underline;
    color: #e86903;
}
.film-metadata a:hover {
    color: #362f2d;
    text-decoration: none;
}
.film-metadata .post-count {
    background-position: 0 -25px;
}
.film-metadata .view-count {
    background-position: 0 -50px;
}
.film-footer .read-more {
    float: right;
    height: 25px;
    padding: 0 15px;
    border-top-left-radius: 15px;
	line-height: 25px;
    text-align: center;
    background: #362f2d;
}
.read-more a {
    color: #fff;
}
.read-more a:hover {
    color: #e86903;
}

/* ========== FOOTER ========== */
.footer {
    padding-top: 50px;
    background: url(../img/bg-film.png) repeat-x;
}
.footer-nav {
	height: 30px;
	padding-right: 16px;
	background: #c3c1c1;
	text-align: right;
}
.footer-nav li {
	display: inline-block;
	margin-left: 24px;
	line-height: 30px;
}
.footer-nav a {
    font-weight: bold;
    color: #657574;
}
.footer-nav a:hover {
    color: #e86903;
}
.in-footer {
	overflow: hidden;
	padding: 10px 16px 8px 27px;
	background: #dad9d9;
}
#counter {
    float: left;
    margin-top: 8px;
}
.copyright {
    float: right;
    text-align: right;
}
.in-footer .design-by {
    height: 16px;
    margin-top: 10px;
    line-height: 16px;
}
.in-footer .design-logo,
.in-footer .design-contact,
.in-footer .design-logo img,
.in-footer .design-by span {
    vertical-align: middle;
}
.in-footer a {
    color: #656565;
    font-weight: normal;
}
.in-footer a:hover {
    color: #e86903;
}

/* ---------- self-clear floats --------- */
.clearfix:after {
    content: ".";
    display: block;
    height: 0;
    clear: both;
    visibility: hidden;
}

