body {
	height: 100%;
	margin-left: 0;
	margin-top: 0;
	margin-bottom: 0;
	background: #ECECEC;
	font: 1.0em 'lucida sans','lucida sans unicode','gill sans','verdana',sans-serif;
	color: #5D5D5D;
}

img.topleft {
	float: left;
}

.head span {
	margin-left: 10px;
	color: #AAA;
}

.cookie_notice {
    display: none;
    position: fixed;
    z-index: 9999999;
    bottom: 0;
    left: 0;
    right: 0;
    text-align: center;
    font-size: 12px;
    font-family: 'lucida sans','lucida sans unicode','gill sans','verdana',sans-serif; 
    color: #666666;
    background: #ffffff;
    padding: 2px;
    border: 1px solid #ececec;
    border-radius: 6px;
}
/* Оформление кнопок */
.cookie_btn {
    display: inline-block;
    margin: 10px 6px 4px 6px;
    text-decoration: none;
    position: relative;
    font-size: 12px;
    padding: 2px 4px;
    color: #666666;
    font-weight: bold;
    text-transform: uppercase; 
    background: #ececec;
    border: 2px solid #ececec;
    border-radius: 4px;
}
.cookie_btn:hover {
    color: #666666;
}
.cookie_btn:after,
.cookie_btn:before {
    position: absolute;
    height: 2px;
    left: 50%;
    background: #ececec;
    bottom: -6px;
    content: "";
    transition: all 280ms ease-in-out;
    width: 0;
}
.cookie_btn:before {
    top: -6px;
}
.cookie_btn:hover:after,
.cookie_btn:hover:before {
    width: 100%;
    left: 0;
}

#container {
	margin-top:40px;
	margin-left:0;
}

.main p {
	margin: 10px 20px;
	text-align: justify;
}

.context {
	display:block;
	text-align:center;
	margin-top:20px;
	margin-bottom:20px;
}

a {
	text-decoration: none;
	color: #6f8ea4;
}

a:hover {
	text-decoration: none;
	color: #000;
}

.totop {text-align: center; margin: 30px auto;}

ul.content {
	font-size: 0.8em;
	list-style-type: none;
	margin-left: 10px;
}
	
.content li {
	padding: 4px 0 4px 20px;
	background: url('bullet.gif') no-repeat left center;
}

h1 {
	font-size: 1.5em;
	color: #333;
	font-weight: 600;
	margin: 15px 0 10px 0;
        font-style:normal;
	text-align:center;
}

h2 {
	font-size: 1.3em;
	color: #666;
	font-weight: 400;
	margin-bottom: 10px;
}

h2 span {
	margin-left: 10px;
	color: #AAA;
}

h3 {
	color: #666;
	margin-bottom: 5px;
	font-size: 1.2em;
	text-align:center;
}
	
	
h4 {
	color: #333;
	margin-bottom: 5px;
	font-size: 1em;
}

table td {font-size:0.9em; vertical-align:top;}
table H1, H2 {font-weight:normal;}

.footer {
	border: 1px solid #CCC;
	font-size: 0.7em;
	clear: both;
}

	
.footer p {
	padding: 10px;
}

.footer .footnav {
	border-bottom: 1px solid #CCC;
	padding: 10px;
	text-align: left;
}

.footnav a {
	text-decoration: none;
}
.footnav LI {
	font-size:1.3em; margin:0.5em;
}

.footnav a.first {
	font-size: 1.5em;
	font-weight: 800;
}

.linksleft {
	float: left;
	margin-right: 10px;
	width: 500px;
	padding: 0 10px 0px 0px;
	list-style-type: none;
}

.linksleft ul {
	list-style-type: none;
}

.linksleft li {
	display: inline;
	margin: 0px;
	padding: 0px;
	list-style-type: none;
}

.linksleft li a {
	padding: 4px;
	display: block;
	margin:  0;
	text-decoration:none;
}
	
	.clear50 {
	clear: left;
	padding: 25px 0;
	font-size: 0;
}

.clearer {
	clear: left; 
	line-height: 0; 
	height: 0;
	font-size: 0;
}

form p {
	font-size: 1em;
	margin-bottom: 10px;
}

form input.text, form textarea{
	width:95%;
	border:1px #CCC solid;
	color:#666;
	padding: 4px 5px;
	font:12px 'lucida sans','lucida sans unicode','gill sans','verdana',sans-serif;
	background-color: #F3F3F3;
}

form input.text:hover, form textarea:hover{
	border:1px #999 solid;
}

form input.text:focus, form textarea:focus{
	border:1px #999 solid;
	color:#666;
}

form input.button{
	margin-right:8px;
	padding:3px 5px;
	font:12px Verdana,Arial,san-serif;
}

.listpages {display: flex; justify-content: center; flex-direction: row; flex-wrap: wrap;}
.listpages_item {border: #b6b5b5 1px solid; background: #f7f7f7; height:22px; width: 22px; text-align: center; border-radius: 5px; box-shadow: 0.1em 0.1em 5px rgba(90,140,180,0.5); margin: 5px; font-size:12px; padding: 3px;}

/* LOCAL COMMON */
.afo {display: flex; width: 100%; margin: 20px auto;}
.afofilm OL LI {line-height:130%; font-size:14px; font-weight: normal; margin-left:-10px;}
.afofilm {border:#cccccc 1px solid; padding:10px; text-align: left; margin: 0px auto;}
.center {text-align:center; margin: 20px auto;}
.cytcontent, .cytlist {border:#CCC 1px solid; padding: 10px; text-align: left; margin: 3px;}
.cytcontent OL {padding:0; font-weight:normal; font-size: 1em;}
.cytcontent LI {margin-top:0.8em;}
.cytlist {font-size: 1em; line-height:180%;}
.epigraph {text-align: right; font-style: italic; margin-bottom: 1em;}
.funnyad {display: -webkit-flex; display: flex; flex-direction: column; margin: 0px auto;}
.funnyaditem {border: #a7a7a7 1px solid; text-align:center; padding: 5px; margin:10px;}

.kino {
display: flex;
flex-wrap: wrap;
align-items:center;
justify-content: center;
align-content: space-around;
}

.kinoitems {
background-image: url(//skio.ru/afofilms/img/plenka.png); background-repeat:no-repeat;
background-position:center;
width: auto;
height: 211px;
line-height: 211px;
text-align: center;
}

.kinoitems A {font-size:14px; font-weight:bold; background-color: #FFFFFF; padding: 0.5em; border:#CCC 1px solid;}
.kroshki {text-align: center; font-size: 14px;}
.list A {color:#4b6582; font-size:1.0em}
.list {font-weight:bold; font-size:1.1em; margin:20px auto; text-align: center;}
.listing LI {margin-bottom:20px; text-align:justify; margin-right:20px;}
.listitems {text-align:justify;font-size:1.2em; font-weight: lighter; line-height:180%}
.listitems A {color:#4b6582;}
.listitems LI {margin: 10px;}
.listol {font-size:larger; font-weight: lighter; line-height:180%; text-align: left; margin: 20px;}
.palindrom {line-height:150%; color:#5D5D5D; font-weight:normal; text-align: left;}
.qu {border: #999 1px dashed; background-color: #F7F7F7; font-size:14px; padding:2px; margin-top:20px; margin-bottom:20px; 
text-align: justify;}
.titlecomment {color:#7f7f82; text-align:center;}
.transl {color: #999}

/* cats */
.catlist {margin: 20px 100px; text-align: left;}
.catlist P {text-align: left; background-image: url(//skio.ru/img/cat.png); background-position: left; background-repeat: no-repeat; padding-left:40px; font-size: 16px;}
.catlist A {text-decoration: none;}
.catlist A:hover {text-decoration: underline;}
.avatar_td {border:#e7e8ec 1px solid; vertical-align: middle;}
/* cats */

/* Quotes */
.annotation {margin: 20px auto; text-align: justify; font-family: Arial, Helvetica, sans-serif; font-size: 13px;}
.annotation IMG {padding:10px;}
.qtext {text-align:justify; margin-bottom:1.2em;}
.qauthor {font-style: italic;}
.authorslist {display: flex; justify-content:center; flex-direction: row; flex-wrap:wrap;}
.letters {font-weight:bold; margin:0.9em; font-size:16pt;}
.letterauthor {display: flex; justify-content: flex-start; flex-direction: column; align-items:center;}
.authors {font-weight:bold; margin:0.8em; font-size:14pt;}
.index-descr {text-align:justify; font-size:0.9em;}
.index-list LI A {font-size:1.1em}
.afolist li {display: inline; border: #b6b5b5 1px solid; background: #f7f7f7; text-align: center; border-radius: 5px; box-shadow: 0.1em 0.1em 5px rgba(90,140,180,0.5); font-size:14px; padding: 3px;} /*Список всех категорий внизу страницы */
/* Quotes */

.refresh_button /* tests */ {background: #eef4f8; padding: 0px 8px; border: #cbd6de 2px solid; border-radius: 10px;}

/* People */
.details {font-size: 0.9em;}
.people_listing {text-align: left; font-size: 1.2em; line-height: 150%; font-weight: bold; text-align: justify; margin: 0 auto;}
.people_listing LI {border-bottom: 1px dotted; margin-bottom: 1em;}
.listing H2 {text-align: center;}
.imgleft {float:left; margin:10px; padding:5px; background-color:#e0ecf7; border:#75a8d6 1px solid; width:auto; text-align:center; font-size:12px; line-height:110%;}
.imgleft1 {float:left; margin:10px; text-align:center; font-style:italic; font-size:11px}
.imgright {float:right; margin:10px; padding:5px; background-color:#e0ecf7; border:#75a8d6 1px solid; width:auto; text-align:center; font-size:12px; line-height:110%;}
.imgright1 {float:right; margin:10px; text-align:center; font-style:italic; font-size:11px}
.imgright IMG {border: #75a8d6 2px solid}
.imgleft IMG {border: #75a8d6 2px solid}
.imgdescr {font-size:12px; font-style:italic; text-align: center; margin:20px auto;}
.annot {font-weight: bold;}
.author {font-size: 11px; font-style:italic; text-align: right; margin-top: 2em;}
/* People */
