/*
Theme Name: A-One Films
Theme URI: http://leibniz.ru/
Description: We are A-One!
Version: 1.0
Author: Gleb Kalinin
Author URI: http://glebkalinin.ru/



*/

/*
basic grey		#1a1818; 
light grey		#b2b2b2;

*/


* {margin: 0; padding: 0}
body {background: #fff; color: #1a1818; font: 85% helvetica,arial,sans-serif; text-align: center}
img {border: none}

a {text-decoration: none; color: #1a1818}

input {font-family: helvetica,arial,sans-serif; }

table {border-collapse: collapse}
td, th {margin: 0; padding: 0; vertical-align: top}

.clear {clear: both; height: 1px; overflow: hidden; }
.nobr {white-space: nowrap}

span.sbrace {margin-right: 0.15em}
span.hbrace {margin-left: -0.15em}

span.slaquo {margin-right: 0.44em}
span.hlaquo {margin-left: -0.44em}

span.sbdquo {margin-right: 0.4em}
span.hbdquo {margin-left: -0.4em}


#page {width: 814px; text-align: left; margin: 0 auto}

#logo {padding: 40px 0 40px 160px}
#logo img {display: block;  width: 466px; height: 79px}

#logo strong,
#logo h1 {
display: block; 
width: 484px;
height: 81px;
font: italic 21px arial,sans-serif;
position: relative;
}

#logo a span {
cursor: hand;
cursor: pointer;
}

#logo span {
display: block; 
width: 484px;
height: 81px;
position: absolute;
top: 0;
left: 0;
background: url(/i/logo.png) no-repeat;
}

/*left column*/
#column-left {width: 145px; float: left; }
#column-left a {text-decoration: none; color: #1a1818; font-style: italic;  }



#menu {list-style-type: none;  background: url(i/dots.gif) left bottom repeat-x}
#menu li {text-transform: uppercase; display: inline; font-size: 16px;  }
#menu a {display: block; padding: 5px 0; background: url(i/dots.gif) left top repeat-x}
#menu .active {font-weight: bold;}
#column-left a:hover {color: #555;}

#search {outline: 1px solid #c7c9ca; padding: 0 10px; margin: 27px 0}
#search.gay {outline: auto 5px -webkit-focus-ring-color;}
#search input {outline: none !important; }
#search .sbmt {display: block; width: 13px; height: 14px; float: right; margin-top: 5px }
#s {border-width: 0; border-style: none; width: 100px; float: left; font-style: italic; color: #b2b2b2; font-size: 12px; padding: 4px 0}

#s.focus, #s:focus {color: #000;}

#extra-links {list-style-type: none}
#extra-links a, .wp-tag-cloud a {color: #b2b2b2; background-repeat: no-repeat; font-size: 12px; font-style: italic; text-decoration: none}
#extra-links a {display: block}
#rss {background-image: url(i/rss.gif); padding: 4px 0 15px 45px}
#lj {background-image: url(i/lj.png); padding: 4px 0 30px 45px}
#twitter {background-image: url(i/twitter.png); padding: 10px 0 30px 45px}

/*main column*/

#column-main {width: 484px; min-height: 500px; background: url(i/dots.gif) left top repeat-x; margin: 0 15px; padding: 5px 0 0 0; float: left;}
#column-main.inner {}

#column-main .pagetitle, #column-main h2, #column-right h2, #column-main h3#comments {font-style: italic; font-weight: normal; font-size: 16px; text-transform: uppercase; }
#column-main h2, #column-right h2, #column-main h3#comments {padding: 5px 0;}

h1.pagetitle {margin: 0 0 15px !important; padding-bottom: 0 !important;}

/*.page h1.pagetitle  {padding: 0 !important}*/



#column-main h2, .inner .post h1 {font-size: 16px; font-weight: bold; text-transform: uppercase; padding: 0; margin: 0 0 10px}
.inner .post h1 {font-style: italic !important}
#film-page h3 {font-style: italic; margin: 15px 0 5px; font-size: 14px}

#column-right {float: left; width: 145px;}
#column-right h2 {background: url(i/dots.gif) left top repeat-x; margin: 0 0 20px;}

.wp-tag-cloud {list-style-type: none; margin: 0; padding: 0}
.wp-tag-cloud li {display: inline}
.wp-tag-cloud li:after {content: "/"; margin-left: 2px; color: #b2b2b2;}
.wp-tag-cloud a {font-size: 12px !important}
.wp-tag-cloud a:hover {color: #1a1818 }

.all {font-style: italic; font-weight: bold; font-size: 12px; margin-top: 7px}
.all a {font-size: 12px !important;  color: #b2b2b2;}
.all a:hover {color: #1a1818 }

.themes .wp-tag-cloud li {}
.themes .wp-tag-cloud a {color: #1a1818 !important; white-space: nowrap; font-size: 14px }


/* main page */
.index-item {width: 235px; margin: 0 14px 22px 0; float: left; position: relative}
.index-item p {font-size: 12px; margin-bottom: 5px}
.index-item p a {text-decoration: underline}
.index-item.even {margin-right: 0;}
.index-item img {display: block; width: 235px; height: 107px; margin-bottom: 12px}
.veryimportant {width: auto !important;}
.veryimportant img {height: 207px !important; float: left !important; margin-right: 15px;}
em.cat {display: block; text-transform: uppercase; color: #b2b2b2 }
.index-item:hover .edit {display: block; z-index: 200; position: absolute; right: 0; top: 0;}
.index-item:hover .edit a:hover {background: red}

/*post stuff*/
.post {margin: 0 20px 50px 0}
.entry a {text-decoration: underline;}

.category a {font-size: 11px; font-style: italic; text-transform: uppercase; color: #b2b2b2}

.entry {margin: 0 0 5px}

.entry p {margin: 0 0 20px}

.comments {float: right; width: 28px; height: 33px; background: url(i/comments.png)}
.comments a {display: block; padding: 5px 0 0 0; text-align: center; font-style: italic; color: #b2b2b2; text-decoration: none !important}
.comments a:hover {color: #1a1818}

p.date, .comment-meta {color: #b2b2b2 !important; font-style: italic; font-size: 12px; }
p.date {padding-top: 10px }

.edit {float: right; display: none; }
.edit a {background: #000; padding: 2px; color: #fff; font-size: 11px; -moz-border-radius: 5px; -webkit-border-radius: 5px; padding: 5px;}
.post:hover .edit, .page:hover .edit {display: block}



/* films */

#film-page {margin: 27px 0 0 0}
#film-page a {text-decoration: underline;}
#film-page ol {margin: 10px 0 10px 25px}
.film-cover-normal {float: left; width: 249px; display: block; margin: 0 0 27px}
.film-data {float: left; width: 235px; font-style: italic; font-size: 12px}
#film-page h2, .film-data h1 {font-size: 16px; font-style: italic; margin: 0 0 17px}
#film-page h2 {text-transform: uppercase; clear: both; margin-top: 20px}
#film-page .cast, #film-page .site, #film-page .afisha {margin: 15px 0}

.film-block {margin: 20px 0 40px}
.synopsis p, .festivals p {margin: 0 0 10px}

.gallery {margin: 0 0 50px}
.gallery a img {-moz-opacity: .9; -webkit-opacity: .9; }
.gallery a:hover img {-moz-opacity: 1; -webkit-opacity: 1; }
.gallery img {display: block; float: left; margin: 0 14px 14px 0; background: #d8d7d7; font: 11px arial,helvetica,sans-serif; color: #6C6C6C; width: 152px; height: 113px;}
.gallery img.thrd {margin-right: 0}


.film-item {width: 152px; float: left; margin: 0 14px 15px 0; position: relative;}
.film-item.thrd {margin-right: 0}
.film-item .img {height: 217px; margin: 0 0 10px}
#column-main .film-item h2 {font-style: italic; font-size: 12px; text-transform: none;}
p.distr {font-size: 11px; font-style: italic; margin: 0; position: absolute; top: 200px; right: 0px; background: #000; color: #fff; padding: 2px 4px}

.pro {clear: both; float: right;}
.back, .pro {margin: 50px 0 20px; font-size: 11px }
.back a, .pro a {text-decoration: underline}



#feedburner-form {margin: 0 0 40px}
#feedburner-form .sbmt {font-style: italic; color: #1a1818; font-size: 12px;}
#feedburner-form .txt {font-style: italic; color: #1a1818; font-size: 12px; border: 1px solid #c7c9ca; padding: 5px; width: 130px; display: block; margin: 0 0 10px}
/*.js #subscr-submit {display: none}*/

.filter {display: none; margin: 3px 0 0 0;}
.filter {float: right; font-size: 11px;}
.filter i {display: none;}
.filter a {cursor: pointer; border-bottom: 1px dashed #000; padding: 2px 0px; margin: 0 5px;}
.filter a.active {background: #000; border-radius: 3px; -webkit-border-radius: 3px; color: #fff; border-bottom: 0; margin: 0 2px; padding: 2px 3px;}


#footer {clear: both; margin: 240px 0 0 0px; padding: 15px 0 60px 0; clear: both; color: #999; font-size: 12px; font-style: italic; background: url(i/footer-dog.gif) right top no-repeat}
#footer a {color: #999;}

#footer p {
	margin: 0 0 10px;
}

#footer .info {
float: left;
background: url(i/dots.gif) left top repeat-x;
width: 484px; padding-top: 30px;
}

#lz {width: 155px; float: left; font-size: 11px; padding-top: 53px}
#lz a {text-decoration: underline}



h3#comments {margin: 30px 0 0}

.commentlist li, #commentform input, #commentform textarea {
	font-size: 12px;
	}
.commentlist li ul li {
	font-size: 1em;
}

.commentlist li {
	font-weight: bold;
}

.commentlist li .avatar { 
	float: right;
	border: 1px solid #eee;
	padding: 2px;
	background: #fff;
	}

.commentlist cite, .commentlist cite a {
	font-weight: bold;
	font-style: normal;
	font-size: 1.1em;
	}

.commentlist p {
	font-weight: normal;
	text-transform: none;
	}


.commentmetadata {
	font-weight: normal;
	color: red
	}


code {
	font: 1.1em 'Courier New', Courier, Fixed;
	}

acronym, abbr, span.caps
{
	font-size: 0.9em;
	letter-spacing: .07em;
	}

}

#wp-calendar #prev a, #wp-calendar #next a {
	font-size: 9pt;
	}

#wp-calendar a {
	text-decoration: none;
	}

#wp-calendar caption {
	font: bold 1.3em 'Lucida Grande', Verdana, Arial, Sans-Serif;
	text-align: center;
	}

#wp-calendar th {
	font-style: normal;
	text-transform: capitalize;
	}
/* End Typography & Colors */






/* Begin Images */
p img {
	padding: 0;
	max-width: 100%;
	}

/*	Using 'class="alignright"' on an image will (who would've
	thought?!) align the image to the right. And using 'class="centered',
	will of course center the image. This is much better than using
	align="center", being much more futureproof (and valid) */

img.centered {
	display: block;
	margin-left: auto;
	margin-right: auto;
	}

img.alignright {
	padding: 4px;
	margin: 0 0 2px 7px;
	display: inline;
	}

img.alignleft {
	padding: 4px;
	margin: 0 7px 2px 0;
	display: inline;
	}

.alignright {
	float: right;
	}

.alignleft {
	float: left
	}
/* End Images */



/* Begin Lists

	Special stylized non-IE bullets
	Do not work in Internet Explorer, which merely default to normal bullets. */

html>body .entry ul {
	margin-left: 0px;
	padding: 0 0 0 30px;
	list-style: none;
	padding-left: 10px;
	text-indent: -10px;
	}

html>body .entry li {
	margin: 7px 0 8px 10px;
	}

.entry ul li:before, #sidebar ul ul li:before {
	content: "\00BB \0020";
	}

.entry ol {
	padding: 0 0 0 35px;
	margin: 0;
	}

.entry ol li {
	margin: 0;
	padding: 0;
	}

.postmetadata ul, .postmetadata li {
	display: inline;
	list-style-type: none;
	list-style-image: none;
	}

#sidebar ul, #sidebar ul ol {
	margin: 0;
	padding: 0;
	}

#sidebar ul li {
	list-style-type: none;
	list-style-image: none;
	margin-bottom: 15px;
	}

#sidebar ul p, #sidebar ul select {
	margin: 5px 0 8px;
	}

#sidebar ul ul, #sidebar ul ol {
	margin: 5px 0 0 10px;
	}

#sidebar ul ul ul, #sidebar ul ol {
	margin: 0 0 0 10px;
	}

ol li, #sidebar ul ol li {
	list-style: decimal outside;
	}

#sidebar ul ul li, #sidebar ul ol li {
	margin: 3px 0 0;
	padding: 0;
	}
/* End Entry Lists */



/* Begin Form Elements */


.entry form { /* This is mainly for password protected posts, makes them look better. */
	text-align:center;
	}

select {
	width: 130px;
	}

#commentform input {
	width: 170px;
	padding: 2px;
	margin: 5px 5px 1px 0;
	}

#commentform {
	margin: 5px 10px 0 0;
	}
#commentform textarea {
	width: 100%;
	padding: 2px;
	}
#respond:after {
		content: "."; 
	    display: block; 
	    height: 0; 
	    clear: both; 
	    visibility: hidden;
	}
#commentform #submit {
	margin: 0 0 5px auto;
	float: right;
	}
/* End Form Elements */



/* Begin Comments*/
.alt {
	margin: 0;
	padding: 10px;
	}

.commentlist {
	padding: 0;
	text-align: justify;
	}

.commentlist li {
	margin: 15px 0 10px;
	padding: 5px 0 10px 0;
	list-style: none;

	}
.commentlist li ul li { 
	margin-left: 10px;
}

.commentlist p {
	margin: 10px 5px 10px 0;
}
.children { padding: 0; }

#commentform p {
	margin: 5px 0;
	}

.nocomments {
	text-align: center;
	margin: 0;
	padding: 0;
	}

.commentmetadata {
	margin: 0;
	display: block;
	}
/* End Comments */






/* Begin Calendar */
#wp-calendar {
	empty-cells: show;
	margin: 10px auto 0;
	width: 155px;
	}

#wp-calendar #next a {
	padding-right: 10px;
	text-align: right;
	}

#wp-calendar #prev a {
	padding-left: 10px;
	text-align: left;
	}

#wp-calendar a {
	display: block;
	}

#wp-calendar caption {
	text-align: center;
	width: 100%;
	}

#wp-calendar td {
	padding: 3px 0;
	text-align: center;
	}

#wp-calendar td.pad:hover { /* Doesn't work in IE */
	background-color: #fff; }
/* End Calendar */



/* Begin Various Tags & Classes */
acronym, abbr, span.caps {
	cursor: help;
	}

acronym, abbr {
	border-bottom: 1px dashed #999;
	}

blockquote {
	margin: 15px 30px 0 10px;
	padding-left: 20px;
	border-left: 5px solid #ddd;
	}

blockquote cite {
	margin: 5px 0 0;
	display: block;
	}

.center {
	text-align: center;
	}

.hidden {
	display: none;
	}

hr {
	display: none;
	}

a img {
	border: none;
	}

.navigation {
	display: block;
	text-align: center;
	margin-top: 10px;
	margin-bottom: 60px;
	}
/* End Various Tags & Classes*/



/* Captions */
.aligncenter,
div.aligncenter {
	display: block;
	margin-left: auto;
	margin-right: auto;
}

.wp-caption {
	border: 1px solid #ddd;
	text-align: center;
	background-color: #f3f3f3;
	padding-top: 4px;
	margin: 10px;
	-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;
}
/* End captions */


/*lightbox*/
#lightbox{
	position: absolute;
	left: 0;
	width: 100%;
	z-index: 100;
	text-align: center;
	line-height: 0;
	}

#outerImageContainer{
	position: relative;
	background-color: #fff;
	width: 250px;
	height: 250px;
	margin: 0 auto;
	}

#imageContainer{
	}

#loading{
	position: absolute;
	top: 40%;
	left: 0%;
	height: 25%;
	width: 100%;
	text-align: center;
	line-height: 0;
}
#hoverNav{
	position: absolute;
	top: 0;
	left: 0;
	height: 100%;
	width: 100%;
	z-index: 10;
}
#imageContainer>#hoverNav{ left: 0;}
#hoverNav a{ outline: none;}

#prevLink, #nextLink{
	width: 49%;
	height: 100%;
	background: transparent url(/i/blank.gif) no-repeat; /* Trick IE into showing hover */
	display: block;
}
#prevLink { left: 0; float: left;}
#nextLink { right: 0; float: right;}
#prevLink:hover, #prevLink:visited:hover { background: url(/i/prev.gif) left 50% no-repeat; }
#nextLink:hover, #nextLink:visited:hover { background: url(/i/next.gif) right 50% no-repeat; }

html>body #nextLink:hover, html>body #nextLink:visited:hover { background: url(/i/next.png) right 50% no-repeat; }
html>body #prevLink:hover, html>body #prevLink:visited:hover { background: url(/i/prev.png) left 50% no-repeat; }

/*** START : next / previous text links ***/
#nextLinkText, #prevLinkText{
color: #FF9834;
font-weight:bold;
text-decoration: none;
}
#nextLinkText{
padding-left: 20px;
}
#prevLinkText{
padding-right: 20px;
}
/*** END : next / previous text links ***/
/*** START : added padding when navbar is on top ***/

.ontop #imageData {
    padding-top: 5px;
}

/*** END : added padding when navbar is on top ***/

#imageDataContainer{
	display: none;
	}

#imageData{
	display: none;
	}
#imageData #imageDetails{ width: 70%; float: left; text-align: left; }	
#imageData #caption{ font-weight: bold;	}
#imageData #numberDisplay{ display: block; clear: left; padding-bottom: 1.0em;	}
#imageData #bottomNavClose{ width: 66px; float: right;  padding-bottom: 0.7em;	}
#imageData #helpDisplay {clear: left; float: left; display: block; }

#overlay{
	position: absolute;
	top: 0;
	left: 0;
	z-index: 90;
	width: 100%;
	height: 600px;
	background-color: #fff;
	filter:alpha(opacity=80);
	-moz-opacity: 0.8;
	opacity: 0.8;
	display: none;
}
	

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

* html>body .clearfix {
	display: inline-block; 
	width: 100%;
}

* html .clearfix {
	/* Hides from IE-mac \*/
	height: 1%;
	/* End hide from IE-mac */
}	

#lightboxIframe {
	display: none;
}

#credit {text-indent: -10000px}



/* cinespana */

.festival-item {clear: both; margin-bottom: 35px;  }
.showing {width: 232px; float: left; line-height: 150%; margin-bottom: 20px}
.showing.spb {float: right;}
.showing a {text-decoration: none}
.showing a:hover {text-decoration: underline}

#post-852 .media {margin-bottom: 30px;}

.media {position: relative}
.basic-info {position: absolute; bottom: 13px; left: 10px}
.basic-info h2 a, .basic-info span  {background: #fff; text-decoration: none; padding: 3px;}
.basic-info p {font-size: 85%; line-height: 145%; margin-bottom: 0}

.post#post-413,.post#post-852 {margin-right: 0 !important}
#post-413 .date, #post-852 .date {display: none}


.infosupport-logo {margin-bottom: 10px; clear: both}
.infosupport-logo img {float: left }


.files {
    width: 100%;
    margin: 30px 0;
}
.files a {text-decoration: underline; font-weight: bold}

.files td {border-width: 1px 0; border-style: solid; border-color: #ccc; padding: 7px 7px 7px 0; font-size: 12px}
.files td.filetype {padding-right: 0}
.files td.filetype img {margin: 0 4px 0 0; vertical-align: -2px}
.files tr:nth-child(2) td {background: #eee}
