/* ==========================================================================
   HTML5 Boilerplate styles - h5bp.com (generated via initializr.com)
   ========================================================================== */

html,
button,
input,
select,
textarea {
    color: #222;
}

body {
    font-size: 1em;
    line-height: 1.4;
	background:#290b04;
	color: #fff;
}

::-moz-selection {
    background: #b3d4fc;
    text-shadow: none;
}

::selection {
    background: #b3d4fc;
    text-shadow: none;
}

hr {
    display: block;
    height: 1px;
    border: 0;
    border-top: 1px solid #ccc;
    margin: 1em 0;
    padding: 0;
}

img {
    vertical-align: middle;
}

fieldset {
    border: 0;
    margin: 0;
    padding: 0;
}

textarea {
    resize: vertical;
}

.chromeframe {
    margin: 0.2em 0;
    background: #ccc;
    color: #000;
    padding: 0.2em 0;
}
/* ===============
    ALL: IE Fixes
   =============== */

.ie7 .title {
    padding-top: 20px;
}

/* ===== Initializr Styles ==================================================
   Author: Jonathan Verrecchia - verekia.com/initializr/responsive-template
   ========================================================================== */

body, html {
    font: 16px/26px Arial, Times New Roman;
	min-width:320px;
}
.logo {
	display:block;
    float:left;
	text-align:center;
}
h1.emelina {
    font-family: Times New Roman; 
    color: #febf01;
    font-style: italic;
	line-height: 100%;
}    
header a {
    text-transform:uppercase;
    color: #febf01;
    text-decoration:none;
    font-style:normal;
	border: none;
}
header a:hover {
    text-decoration:underline;
}
header a.white-link {
    text-transform:none;
    color: white;
    text-decoration:none;
    display:block;
}
nav ul {
    margin: 0;
    padding: 0;
}
nav ul li {
    text-align:center;
    display:list-item !important;
}
nav a, .afisha li.poster>a {
    text-align: center;
    text-decoration: none;
    color: #febf01;
    text-transform:uppercase;
    font-family:Arial;
    float:none;
    width:auto;
    text-align:center;
	line-height:100%;
}
nav a:hover,
nav a.active {
    color: white;
}
nav a:hover {
    text-decoration: underline;
}
.socialnet {
    color: white;
    font-weight: bold;
    text-shadow: -1px 1px 1px #0a0a0a;
    filter: dropshadow(color=#0a0a0a, offx=-1, offy=1);    
	opacity:0;
}
.forum {
    color: white;
    font-weight: bold;
	text-shadow: -1px 1px 1px #0a0a0a;
    filter: dropshadow(color=#0a0a0a, offx=-1, offy=1);
}
.kabinet {
    display: block;
    float: right;  
    color:#955939;
    text-shadow: -3px 3px 3px #0a0a0a;
    filter: dropshadow(color=#0a0a0a, offx=-3, offy=3);      	
}
.footer-container footer {
    color: white;
    padding: 20px 0;
}
footer a {
    text-transform:none;
    font-size:1em;
    color: #febf01;
    text-decoration:none;
    font-style:normal;
}
.copyright {
    text-align: center;
}
.copyright span {
    color: #febf01;
}
.p-block  {
    text-align:center;
    margin:100px 0 20px;
}
.p-block>img {
    clear: both;
    display: block;
    margin: 0 auto;
}
.p-block div {
    padding: 0;
	line-height: 180px;
    margin: 40px;
	text-align: center;
}
.p-block p {
	position:relative;
	text-align:center;
}
.p-block a img {
    width: 150px;
}
.p-block .single img {
    width: 630px;
}
.p-block a {
    margin: 0 4% 0 4%;
}
nav select {
  display: none;
}

.afisha {
    background: url("../img/afisha/rope.gif") no-repeat scroll center top transparent;
    margin: -15px 0 0 17px;
    padding: 15px 0 0;
    width: 200px;
	float: left;
}

.afisha ul {
    padding: 0;
	margin: 0;
}
.afisha li.poster {
    display: block;
    font-weight: bold;
    margin: 0 auto;
    text-align: center;
    width: 163px;
}
article {
    background: url("../img/transpbg35.png") repeat left top, url(../img/topframe.png) no-repeat top center, url(../img/bottomframe.png) no-repeat bottom center;
    float: left;
    font-family: "Times New Roman",Times,serif;
    font-size: 12pt;
    margin: -362px 0 0 110px;
    padding: 25px 20px 36px;
    width: 600px;
	line-height:120%;
	border-radius:10px;
	border-top:2px groove;
	border-bottom: 1px solid;
}
article div {
    overflow: auto;
	height: 555px;
}
article p {
    margin: 1em 0;
}
h2 {
    font-size: 1.2em;
}
aside {
    float: left;
    margin: -365px 0 0 90px;
    width: 105px;
}
.gallery {
    background: url("../img/transpbg35.png") repeat scroll left top transparent;
    height: 360px;
    margin: 0 auto 15px;
    text-align: center;
    width: 105px;
}
.photos {
    height: 268px;
    overflow: hidden;
    text-align: center;
}
.posrel {
    position: relative;
}
.photos a {
    display: block;
    margin: 0 0 5px;
}
body.i .copyright {
margin: 1em auto;
}
/* ==========================================================================
   Media Queries
   ========================================================================== */

@media only screen and (min-width: 135px) {

body {
    background: url("../img/bg-5.jpg") no-repeat scroll center 0 #290B04;
}
.wrapper {
    width: auto;
    margin: 0 auto;
}
nav ul, 
.socialnet, 
.forum, 
.kabinet { 
    display: none; 
}
nav select { 
    display: inline-block; 
}

/* ========================
    INTERMEDIATE: IE Fixes
   ======================== */

nav ul li {
    display: inline;
}
.oldie nav a {
    margin: 0 0.7%;
}

.logo {
    margin: 5px 0 0 10px;
    width: 70px;
}
.logo img {
    width: 45px;
}
h1.emelina {
    float: none;
    font-size: 20px;
    margin: 6px auto;
    text-align: center;
    text-shadow: -2px 2px 2px #0A0A0A;
    width: 260px;
	line-height: 115%;
	height:80px;
}
header a {
    font-size: 11px;
}
header a.white-link {
    font-size: 12px;
    margin-top: -3px;
}
nav {
    float: right;
    margin: 140px 10px 0 0;
    width: auto;
}
.copyright {
    font-size: 14px;
    line-height: 120%;
    margin-top: 205px;
}
.p-block {
    margin: 25px 0 10px;
}
.p-block img {
    width: 170px;
}
body.i {
    background: url("../img/bg-5i.jpg") no-repeat scroll center 0 #290B04;
}
body.i nav {
    margin: 10px auto;
    width: 140px;
	float:none;
}
.afisha {
    margin: 415px 0 0;
    padding: 15px 0 0;
    position: absolute;
}

article {
    float: none;
    margin: 20px;
    width: auto;
}
article div {
	height: 280px;
}
aside {
    margin: 0 0 0 60%;
}
}

@media only screen and (min-width: 550px) {
nav select {
    display: none;
}
nav ul { 
    display: block; 
}
body {
    background: #290b04 url('../img/bg-4.jpg') no-repeat center top;
}
.wrapper {
    width: 540px;
    margin: 0 auto;
}
h1.emelina {
    filter: dropshadow(color=#0a0a0a, offx=-4, offy=3);
    font-size: 18px;
    line-height: 21px;
    margin: 7px 0 12px 75px;
    text-shadow: -4px 3px 3px #0A0A0A;
    width: 350px;
	text-align: left;
	float:left;
	height:58px;
}    
header a {
    font-size:11px;
}
header a.white-link {
    font-size: 12px;
    margin-top: 0px;
}
.logo {
    margin: 3px 0 0 30px;
    width: 50px;
}
.logo img{
	width:45px;
}
.socialnet {
    display: block;
    float: right;
    font-size: 12px;
    line-height: 119%;
    margin: 97px 103px 0 0;
    text-align: center;
    width: 100px;
	opacity:0;
}
.forum {
    display: block;
    float: right;
    font-size: 12px;
    margin: 52px -70px 0 0;
}
.kabinet {
    margin: -3px -82px 0 0;
	display: inline;
}
nav a {
    font-size:13px;
}
nav, body.i nav {
    margin: 0;
    width: 110px;
	float:left;
}
nav ul li {
    margin: 1px 0 29px;
}
h3 {
    font-size: 0.8em;
}
.p-block {
    margin: 30px 0;
}
.p-block img {
    width: 200px;
}
.p-block .single img {
    width: 330px;
}
.copyright {
    margin-top: 152px;
	font-size: 14px;
}
.copy:before {
    content:"";
}
body.i {
    background: url("../img/bg-4i.jpg") no-repeat scroll center 0 #290B04;
}
.afisha {
    margin: -15px 0 0 -42px;
    padding: 15px 0 0;
    position: relative;
}
article {
    float: left;
    margin: -358px 0 0 150px;
    width: auto;
}
article div {
	height: 689px;
}
aside {
    float: left;
    margin: -364px 0 0 7px;
    width: 105px;
}
}
@media only screen and (min-width: 940px) and (min-height: 545px) {

body {
    background: #290b04 url('../img/bg-4.jpg') no-repeat center top;
}
body.i {
    background: url("../img/bg-4i.jpg") no-repeat scroll center 0 #290B04;
}
.wrapper {
    width: 540px; /* 1140px - 10% for margins */
    margin: 0 auto;
}
h1.emelina {
    filter: dropshadow(color=#0a0a0a, offx=-4, offy=3);
    font-size: 18px;
    line-height: 115%;
    margin: 7px 0 12px 75px;
    text-shadow: -4px 3px 3px #0A0A0A;
    width: 350px;
	height:58px;
}    
header a {
    font-size:11px;
}
header a.white-link {
    font-size: 12px;
    margin-top: 0px;
    border: none;
}
.logo {
    margin: 3px 0 0 30px;
    width: 50px;
}
.logo img{
	width:45px;
}
.socialnet {
    display: block;
    float: right;
    font-size: 12px;
    line-height: 119%;
    margin: 97px 103px 0 0;
    text-align: center;
    width: 100px;
	opacity:0;
}
.forum {
    display: block;
    float: right;
    font-size: 12px;
    margin: 52px -70px 0 0;
}
.kabinet {
    margin: -3px -82px 0 0;
}
nav a {
    font-size:13px;
}
nav, body.i nav {
    margin: 0;
    width: 110px;
}
nav ul li {
    margin: 1px 0 29px;
}
h3 {
    font-size: 0.8em;
}
.p-block {
    margin: 30px 0;
}
.p-block img {
    width: 200px;
}
.copyright {
    margin-top: 152px;
	font-size:14px;
}
.copy:before {
    content:"";
}
.afisha {
    margin: -15px 0 0 -42px;
}
article {
    margin: -358px 0 0 150px;
    width: auto;
}
article div {
	height: 689px;
}
aside {
    margin: -364px 0 0 7px;
    width: 105px;
}
}
@media only screen and (min-width: 940px) and (min-height: 475px) {

body {
    background: #290b04 url('../img/bg-3.jpg') no-repeat center top;
}
body.i {
    background: url("../img/bg-3i.jpg") no-repeat scroll center 0 #290B04;
}
.wrapper {
    width: 900px; 
    margin: 0 auto;
}
h1.emelina {
    filter: dropshadow(color=#0a0a0a, offx=-4, offy=3);
    font-size: 24px;
    line-height: 100%;
    margin: 29px 0 30px 152px;
    text-shadow: -4px 3px 3px #0A0A0A;
    width: 500px;
}    
header a {
    font-size:15px;
}
header a.white-link {
    font-size: 15px;
    margin-top: 0px;
    border: none;
}
.logo {
    margin: 4px 0 0 58px;
    width: 90px;
}
.logo img{
	width:60px;
}
.socialnet {
    font-size: 14px;
    margin: 0 0 0 101px;
    display: inline;
    float: none;
    text-align: left;
    width: auto;	
	opacity:0;
}
.forum {
    font-size: 14px;
    margin: 0 0 0 183px;
    display: inline;
    float: none;
}
.kabinet {
    margin: -19px 40px 0 0;
}
nav a {
    font-size:16px;
}
nav, body.i nav {
    margin: -17px 0 0 17px;
    width: 176px;	
}
nav ul li {
    margin: 1px 0 43px;
}
h3 {
    font-size: 0.8em;
}
.p-block {
    margin: 40px 0;
}
.p-block img {
    width: 250px;
}
.copyright {
    margin-top: 189px;
	font-size:13px;
}
.copy:before {
    content:"\007C";
}
.afisha {
    margin: -15px 0 0 2px;
}
article {
    margin: -266px 0 0 60px;
    width: 430px;
}
article div {
	height: 455px;
}
aside {
    margin: -266px 0 0 36px;
}
}
@media only screen and (min-width: 940px) and (min-height: 695px){

.copyright {
    width: 550px;
    margin:189px auto 0;
    line-height: 150%;
}
.copy:before {
    content:"";
}
}
@media only screen and (min-width: 1275px) and (min-height: 700px){

body {
    background: #290b04 url('../img/bg-3.jpg') no-repeat center top;
}
body.i {
    background: url("../img/bg-3i.jpg") no-repeat scroll center 0 #290B04;
}
.wrapper {
    width: 900px; 
    margin: 0 auto;
}
h1.emelina {
    filter: dropshadow(color=#0a0a0a, offx=-4, offy=3);
    font-size: 24px;
    line-height: 100%;
    margin: 29px 0 20px 152px;
    text-shadow: -4px 3px 3px #0A0A0A;
    width: 500px;
}    
header a {
    font-size:15px;
}
header a.white-link {
    font-size: 15px;
    margin-top: 0px;
    border: none;
}
.logo {
    margin: 4px 0 0 58px;
    width: 90px;
}
.logo img{
	width:60px;
}
.socialnet {
    font-size: 14px;
    margin: 0 0 0 101px;
    display: inline;
    float: none;
    text-align: left;
    width: auto;	
	opacity:0;
}
.forum {
    font-size: 14px;
    margin: 0 0 0 187px;
    display: inline;
    float: none;	
}
.kabinet {
    margin: -19px 40px 0 0;
}
nav a {
    font-size:16px;
}
nav, body.i nav {
    margin: -17px 0 0 17px;
    width: 176px;	
}
nav ul li {
    margin: 1px 0 43px;
}
h3 {
    font-size: 0.8em;
}
.p-block {
    margin: 40px 0;
}
.p-block img {
    width: 250px;
}
.copyright {
    margin-top: 189px;
}
.copy:before {
    content:"";
}
.afisha {
    margin: -15px 0 0 2px;
}
article {
    margin: -266px 0 0 60px;
    width: 425px;
}
article div {
	height: 461px;
}
aside {
    margin: -266px 0 0 40px;
}
}
@media only screen and (min-width: 1275px) and (min-height: 600px) {

body {
    background: #290b04 url('../img/bg-wide.jpg') no-repeat center top;
}
body.i {
    background: url("../img/bg-widei.jpg") no-repeat scroll center 0 #290B04;
}
.wrapper {
    width: 760px; /* 1140px - 10% for margins */
    margin: 0 auto;
}
h1.emelina {
    filter: dropshadow(color=#0a0a0a, offx=-4, offy=3);
    font-size: 22px;
    line-height: 25px;
    margin: 27px 0 8px 154px;
    text-shadow: -4px 3px 3px #0A0A0A;
    width: 500px;
	height:69px;
}    
header a {
    font-size:11px;
}
header a.white-link {
    font-size: 12px;
    margin-top: -5px;
    border: none;
}
.logo {
    margin: 5px 0 0 38px;
    width: 51px;
}
.logo img{
	width:55px;
}
.socialnet {
    font-size: 12px;
    margin: 0 0 0 114px;
    display: inline;
    float: none;
    text-align: left;
    width: auto;	
	opacity:0;
}
.forum {
    font-size: 12px;
    margin: 0 0 0 172px;
    display: inline;
    float: none;	
}
.kabinet {
    margin: -16px 21px 0 0;
}
nav a {
    font-size:13px;
}
nav, body.i nav {
    margin: -15px 0 0;
    width: 131px;
}
nav ul li {
    margin: 1px 0 36px;
}
h3 {
    font-size: 0.8em;
}
.p-block {
    margin: 30px 0;
}
.p-block img {
    width: 200px;
}
.p-block .single img {
    width: 560px;
}
.copyright {
    margin-top: 203px;
	font-size:13px;
}
.copy:before {
    content:"\007C";
}
.afisha {
    margin: -15px 0 0 -35px;
}
article {
    margin: -240px 0 0 45px;
    width: 380px;
}
article div {
	height: 434px;
}
aside {
    margin: -240px 0 0 22px;
}
}
@media only screen and (min-width: 1275px) and (min-height: 930px) {

body {
    background: #290b04 url('../img/bg-2.jpg') no-repeat center top;
}
body.i {
    background: url("../img/bg-2i.jpg") no-repeat scroll center 0 #290B04;
}
.wrapper {
    width: 1200px; 
    margin: 0 auto;
}
h1.emelina {
    font-size: 30px;
    text-shadow: -4px 3px 3px #0A0A0A;
    filter: dropshadow(color=#0a0a0a, offx=-4, offy=3);
    width: 800px;
    margin: 41px 0 41px 231px;
    line-height: 100%;
	height:86px;
}    
header a {
    font-size:17px;
}
header a.white-link {
    font-size: 16px;
    margin-top: 0px;
    border: none;
}
.logo {
    margin: 5px 0 0 71px;
    width: 90px;
}
.logo img{
	width:88px;
}

.socialnet {
    margin: 0 0 0 181px; 	
	font-size:16px;
    display: inline;
    float: none;
    text-align: left;
    width: auto;
	opacity:0;
}
.forum {
    margin: 0 0 0 281px;
    font-size:16px;
    display: inline;
    float: none;
}
.kabinet {
    margin: -29px 45px 0 0;
}
nav a {
    font-size:18px;
}
nav, body.i nav {
    margin: -25px 0 0 17px;
    width: 200px;
}
nav ul li {
    margin: 1px 0 69px;
}
h3 {
    font-size: 1em;
}
.p-block {
    margin: 60px 0;
}
.p-block img {
    width: 322px;
}
.copyright {
    margin-top: 270px;
}
.copy:before {
    content:"\007C";
}
.afisha {
    margin: -15px 0 0 17px;
}
article {
    margin: -362px 0 0 120px;
    width: 590px;
}
article div {
	height: 555px;
}
aside {
    margin: -365px 0 0 90px;
}
}
@media only screen and (min-width: 1275px) and (min-height: 950px){

.copyright {
    width: 540px;
    margin:270px auto 0;
}
.copy:before {
    content:"";
}
}

@media only screen and (min-width: 2200px) {

body {
    background: #290b04 url('../img/bg-1.jpg') no-repeat center top;
}
body.i {
    background: url("../img/bg-1i.jpg") no-repeat scroll center 0 #290B04;
}
.wrapper {
    width: 1400px; 
    margin: 0 auto;
}
h1.emelina {
    font-size: 36px; 
    text-shadow: -5px 5px 3px #0a0a0a;
    filter: dropshadow(color=#0a0a0a, offx=-5, offy=5);
    margin: 50px 0 49px 280px;
    line-height:100%;
	height:101px;
}  
header a{
    font-size:19px;
}  
header a.white-link {
    font-size:19px;
    margin-top:0px;
}
.logo {
    margin: 5px 0 0 83px;
    width: 97px;
}
.logo img{
    width:97px;
}
nav, body.i nav {
    margin: -28px 0 0 35px;
    width: 200px;
}
nav a {
    font-size:22px;
}
nav ul li {
margin: 1px 0 87px;
}
.socialnet {
    margin: 0 0 0 230px;	
    font-size:19px;
    display: inline;
    float: none;
    text-align: left;
    width: auto;
	opacity:0;
}
.forum {
    margin: 0 0 0 330px;
    font-size:19px;
    display: inline;
    float: none;	
}
.kabinet {
    margin: -34px 45px 0 0;
}
h3 {
    font-size: 1.17em;
}
.p-block {
    margin: 100px 0;
}
.p-block img {
    width: 384px;
}
.copyright {
    margin-top: 365px;
    width:100%;
}
.copy:before {
    content:"\007C";
}	
.afisha {
    margin: -15px 0 0 35px;
}
article {
    margin: -430px 0 0 158px;
    width: 710px;
}
article div {
	height: 625px;
}
aside {
    margin: -430px 0 0 108px;
}
}
@media only screen and (min-width: 2200px) and (min-height: 1070px){

.copyright {
    width: 570px;
    margin:365px auto 0;
}
.copy:before {
    content:"";
}
}

/* ==========================================================================
   Helper classes
   ========================================================================== */

.ir {
    background-color: transparent;
    border: 0;
    overflow: hidden;
    *text-indent: -9999px;
}

.ir:before {
    content: "";
    display: block;
    width: 0;
    height: 100%;
}

.hidden {
    display: none !important;
    visibility: hidden;
}

.visuallyhidden {
    border: 0;
    clip: rect(0 0 0 0);
    height: 1px;
    margin: -1px;
    overflow: hidden;
    padding: 0;
    position: absolute;
    width: 1px;
}

.visuallyhidden.focusable:active,
.visuallyhidden.focusable:focus {
    clip: auto;
    height: auto;
    margin: 0;
    overflow: visible;
    position: static;
    width: auto;
}

.invisible {
    visibility: hidden;
}

.clearfix:before,
.clearfix:after {
    content: " ";
    display: table;
}

.clearfix:after {
    clear: both;
}

.clearfix {
    *zoom: 1;
}



/* ==========================================================================
   Print styles
   ========================================================================== */

@media print {
    * {
        background: transparent !important;
        color: #000 !important; /* Black prints faster: h5bp.com/s */
        box-shadow: none !important;
        text-shadow: none !important;
    }

    a,
    a:visited {
        text-decoration: underline;
    }

    a[href]:after {
        content: " (" attr(href) ")";
    }

    abbr[title]:after {
        content: " (" attr(title) ")";
    }

    /*
     * Don't show links for images, or javascript/internal links
     */

    .ir a:after,
    a[href^="javascript:"]:after,
    a[href^="#"]:after {
        content: "";
    }

    pre,
    blockquote {
        border: 1px solid #999;
        page-break-inside: avoid;
    }

    thead {
        display: table-header-group; /* h5bp.com/t */
    }

    tr,
    img {
        page-break-inside: avoid;
    }

    img {
        max-width: 100% !important;
    }

    @page {
        margin: 0.5cm;
    }

    p,
    h2,
    h3 {
        orphans: 3;
        widows: 3;
    }

    h2,
    h3 {
        page-break-after: avoid;
    }
}

.telegram-button {
 
    position: fixed;
    right: 13px;
    bottom: 90px;
    transform: translate(-50%, -50%);
    background: #0088cc; /*цвет кнопки*/
    border-radius: 50%;
    width: 55px; /*ширина кнопки*/
    height: 55px; /*высота кнопки*/
    color: #fff;
    text-align: center;
    line-height: 53px; /*центровка иконки в кнопке*/
    font-size: 35px; /*размер иконки*/
    z-index: 9999;
}
.telegram-button a {
    color: #fff;
}
.telegram-button:before,
.telegram-button:after {
    content: " ";
    display: block;
    position: absolute;
    border: 50%;
    border: 1px solid #0088cc; /*цвет анимированных волн от кнопки*/
    left: -20px;
    right: -20px;
    top: -20px;
    bottom: -20px;
    border-radius: 50%;
    animation: animate 1.5s linear infinite;
    opacity: 0;
    backface-visibility: hidden; 
}
 
.telegram-button:after{
    animation-delay: .5s;
}
 
@keyframes animate
{
    0%
    {
        transform: scale(0.5);
        opacity: 0;
    }
    50%
    {
        opacity: 1;
    }
    100%
    {
        transform: scale(1.2);
        opacity: 0;
    }
}

@media (max-width : 800px) {  
.telegram-button {   
    bottom: 5px; /*отступ кнопки снизу от экрана*/
    left: 70px; /*отступ кнопки слева от экрана(right - справа)*/
  }
}