/*
Theme Name: Elena
Theme URI: 
Author: Kolbina Marina
Author URI: 
Description: 
Version: 1.0
Text Domain: 
*/


@font-face {
  font-family:      'Calibri-Regular';
  src:          url('fonts/Calibri.eot');
  src:          url('fonts/Calibri.woff') format('woff'),
                url('fonts/Calibri.ttf') format('truetype');                
  font-weight:      normal;
  font-style:       normal;
  font-variant:small-caps;
}

@font-face {
  font-family:      'Calibri-Light';
  src:          url('fonts/Calibri-Light.eot');
  src:          url('fonts/Calibri-Light.woff') format('woff'),
                url('fonts/Calibri-Light.ttf') format('truetype');		
  font-weight:      normal;
  font-style:       normal;
  font-variant:small-caps;
}

@font-face {
  font-family:      'Calibri-Bold';
  src:          url('fonts/Calibri-Bold.eot');
  src:          url('fonts/Calibri-Bold.woff') format('woff'),
                url('fonts/Calibri-Bold.ttf') format('truetype');                
  font-weight:      bold;
  font-style:       normal;
  font-variant:small-caps;
}

@font-face {
  font-family:      'Calibri-Italic';
  src:          url('fonts/Calibri-Italic.eot');
  src:          url('fonts/Calibri-Italic.woff') format('woff'),
                url('fonts/Calibri-Italic.ttf') format('truetype');                
  font-style:       italic;
  font-variant:small-caps;
}

@font-face {
  font-family: 'TrajanPro3-Regular';
  src: url('fonts/TrajanPro3-Regular.eot');
  src: url('fonts/TrajanPro3-Regular.eot?#iefix') format('embedded-opentype'),
       url('fonts/TrajanPro3-Regular.woff2') format('woff2'),
       url('fonts/TrajanPro3-Regular.woff') format('woff'),
       url('fonts/TrajanPro3-Regular.ttf') format('truetype'),
       url('fonts/TrajanPro3-Regular.svg#TrajanPro3-Regular') format('svg');
  font-weight: normal;
  font-style: normal;
}

png, #anyblock, .anyblock {
  behavior: url(/opacity/pngfix.htc);
}

html, body, div, span, applet, object, iframe, h1, h2, h3, h4, h5, h6, p, blockquote, pre, a, abbr, acronym, address, big, cite, code, del, dfn, em, font, img, ins, kbd, q, s, samp, small, strike, strong, sub, sup, tt, var, b, u, i, center, dl, dt, dd, ol, ul, li, fieldset, form, label, legend, table, caption, tbody, tfoot, thead, tr, th, td {
  margin: 0;
  padding: 0;
  outline: 0;
  font-size: 100%;
  vertical-align: baseline;
  background: transparent;
  font-family: Georgia,sans-serif;
  font-weight: lighter;
 
}
html#img_html {
background: #000;
display: table;
height: 100%;
}
html, body {
  margin: 0;
  padding: 0;
  width: 100%;
  height: 100%;
  min-width: 320px;
}
table tr td {
    margin: 0;
    padding: 5px 10px;
    vertical-align: top;
}
body {
  line-height: 1;
  background: #330000;  
}
footer, #footer_lang {
  background: #330000;  
}
ol, ul {
  list-style: none;
}

blockquote, q {
  quotes: none;
}

blockquote:before, blockquote:after, q:before, q:after {
  content: none;
}

a {
  text-decoration: none;
  color: #24468e;
}
a:hover {
  color: #0402fc;
}
:focus {
  outline: 0;
}

ins {
  text-decoration: none;
}

del {
  text-decoration: line-through;
}

table {
    border-collapse: collapse;
    border-spacing: 0;
    margin-bottom: 15px;
}

html, body {
  margin: 0;
  padding: 0;
  height: 100%;
}

body {
    margin: 0 auto;
	min-width: 320px;
}

#body {
    margin: 0 auto;
    max-width: 1226px;
}
body {
    font-size: 13px;
}
body, html {
    height: 100%;
    margin: 0;
    padding: 0;
    position: relative;
	background: #330000; 
}
body, html {
    height: 100%;
    margin: 0 auto;
    position: relative;
	 height: auto;
}
a img {
    border: medium none !important;
}

strong, strong span {
    font-weight: bold;
}
body.hid {
    overflow-y: hidden;
}
iframe {
    padding: 20px 0;
}
#fancybox-frame {
    padding: 0;
}
.fancy-if #fancybox-right, .fancy-if #fancybox-left {
    display: none !important;
}
.category #text_single_cat > div > div {
    float: left;
    margin-top: 10px;
    text-align: center;
    width: 33%;
}
.category .fancybox img, .category a img {
    border: medium none !important;
    margin: 5px 4px;
    padding: 0;
}
.category .cat2 a img {
    border: 1px solid #ccc !important;
    margin: 0;
    padding: 4px 3px;
}
#text_single_cat h2, #text_single_cat h2 strong, #text_single_cat h2 span, #text_single_cat h2 a {
    font-family: "TrajanPro3-Regular";
    font-size: 14px;
    font-style: normal;
    line-height: 22px;
 margin: 9px auto 12px;
    width: 96%;
}
#text_single_cat div:nth-child(3n+1) {
    clear: both;
}
.post_title > a {
    color: #4f2702;
    display: block;
}
.post_title > a:hover {
color: #2a1807;
    text-decoration: underline;
}
.aligncenter {
    display: block;
    margin: 0 auto;
    text-align: center;
}
.next {
    color: #6c3a0b;
    display: block;
    font-size: 13px;
    font-style: italic;
    margin-top: -12px;
    padding-bottom: 20px;
    text-decoration: underline;
}
#content.houm {
    float: left;
    height: auto;
    position: relative;
    width: 100%;	
	}
.back {
    position: relative;
}
.back > img#back1 {
    position: absolute;
    right: 0;
    width: 45.84%;
}
.back > img, .houm img{
    height: auto;
    width: 100%;
}
.int_pr, .logo, .logo2, .menu_kn, #menu {
    position: absolute;
    z-index: 100;
}
.int_pr {
    color: #9e2f01;
    font-size: 36px;
    font-style: italic;
    left: 22%;
    max-width: 39%;
    min-width: 216px;
    opacity: 0.9;
    padding-left: 3%;
    padding-right: 5.5%;
    top: 6%;
}
.int_pr > a {
    color: #9e2f01;
}
.int_pr > a:hover {
    text-decoration: underline;
}
.logo {
    left: 13.2%;
    top: 16%;
    width: 47%;
}
.logo > a {
    display: block;
	margin-top: 2%;
    width: 25.5%;
	float: left;
}
.logo h1 {
    display: inline-block;
    margin-top: 5%;
}
.logo #logotext_ru {
    color: #330000;
    font-size: 53px;
    font-style: italic;
    font-weight: bold;
    width: 67%;
}
.logo h2 {
    margin-top: 0.7%;
}
.logo #logotext_en {
    color: #330000;
    font-size: 37px;
    font-style: italic;
    padding-left: 25%;
    width: 46%;
}

.news > div > div {
    background: url("/wp-content/themes/elena/img/back_news.png") repeat scroll left top;
    padding: 15px 10% 7px;
    width: 71%;
	height: 217px;
	position: relative;
	min-width: 129px;
}
.news .post_title > a {
    color: #330000;
    font-size: 12px;
    font-weight: bold;
    text-transform: uppercase;
}
.news h3 {
    padding-bottom: 10px;
}
.news p {
    color: #330000;
    font-size: 15.5px;
    line-height: 19px;
}
.news div > a {
    bottom: 7%;
    color: #330000;
    left: 45%;
    position: absolute;
}
.news div > a:hover {
color: #993300;
}
#fancybox-left, #fancybox-right {
    bottom: 25% !important;
    height: 50% !important;
}
.logo2 {
display: none;
}
#menu a {
    color: #330000;
    font-size: 25.9px;
    font-style: italic;
}
.houm #menu a {
    line-height: 45px;
}
#menu {
    left: 22%;
    margin-top: 25%;
}
#menu li {

}
#menu span {
    display: inline-block;
    margin-right: 15px;
}
#menu span img {
    padding-bottom: 5px;
	vertical-align: middle;
	width: 74%;
}
.logo img {
    width: auto;
}
#menu li:hover span img {
    width: 80%;
}
#menu span img, #menu li a {
  transition: all 0.1s linear 0s;
  -webkit-transition: all 0.1s linear 0s;
    -moz-transition: all 0.1s linear 0s;
    -o-transition: all 0.1s linear 0s;
    -ms-transition: all 0.1s linear 0s;
}
#text_single_cat {
    margin: 0 auto;
    width: 90%;
}
#menu li:hover a {
font-size: 28px;
}
#menu2, .menu_kn {
    display: none;
}
body footer {
background: transparent url("/wp-content/themes/elena/img/znak.jpg") no-repeat scroll 19% 30%;
    float: left;
    height: auto;
    max-height: 305px;
    padding: 70px 8% 150px 32%;
    position: relative;
    width: 57%;
}
footer > div {
    float: left;
	font-size: 16px;
    width: 33%;
}
footer #menu1 {
    width: 29%;
}
footer #menu2_2 {
    width: 38%;
}
footer a {
    color: #8b4219;
    display: block;
    padding-bottom: 20px;
}
footer a:hover {
color: #6b2208;
}
footer > div li {
padding-right: 3%;
}
footer > div#menu3 li {
padding-right: 0;
}
#footer_lang {
    float: left;
    height: 27px;
    position: relative;
    width: 100%;
	color: #8b4219;
}
.copy {
    float: left;
    height: 100%;
    min-width: 20%;
    padding-left: 11%;
	font-size: 13px;
}
#gallery-1 .gallery-caption {
    font-family: "TrajanPro3-Regular";
    font-size: 13px;
    padding: 8px 3px 13px;
}
.fancybox img {
    border: 1px solid #ccc !important;
    padding: 4px 3px;
	transition: all 0.15s linear 0s;
  -webkit-transition: all 0.15s linear 0s;
    -moz-transition: all 0.15s linear 0s;
    -o-transition: all 0.15s linear 0s;
    -ms-transition: all 0.15s linear 0s;
}
.fancybox img:hover {box-shadow: 0px 1px 4px 1px #dddeee;}
#fancybox-frame, #fancybox-content {
max-width: 904px;
 min-width: 350px;
}
#fancybox-outer {
 min-width: 350px;
}
#fancybox-frame .dsp {
display: none;
}
#fancybox-wrap {
    max-width: 923px;
}
body#images {
    background: #000;
	width: 100%;
	height: auto;
	display: table-row;
}
.post.image {
    display: table-cell;
    vertical-align: middle;
}
#vnutr .gallery img {
    border: medium none;
}
img.attachment-large {
    border: 2px solid #fff;
    display: block;
    margin: 0 auto;
	height: auto;
	  max-width: 352px;
    width: 90%;
}
article {
    padding-top: 6%;
}
#images h2 {
    color: #fff;
    font-family: "TrajanPro3-Regular";
    font-size: 18px;
    padding: 20px 20px 18px;
    text-align: center;
}
.text_catfull {
    margin: 0 auto;
    width: 71%;
	max-width: 482px;
	padding-bottom: 8px;
}
#images p {
    color: #fff;
    font-size: 14px;
    padding-bottom: 13px;
    text-align: center;
	line-height: 16px;
}
#text_single_cat.cat23 h2.post_title a, #text_single_cat.cat23 h2.post_title {
    margin: 9px 3px 1px;
}
.cat23 .img_link {
    float: left;
    width: 20%;
}
.cat23 .attachment-thumbnail.wp-post-image {
    height: auto;
    width: 80%;
}
.cat23 p {
    font-size: 13px;
}

.category #text_single_cat.cat23 > div > div {
    border-bottom: 1px solid linen;
    margin-bottom: 5px;
    margin-top: -8px;
    padding-bottom: 7px;
    text-align: left;
    width: 100%;
}
.flag_img {
    width: auto !important;
}
#lang-home {
    left: 33%;
    position: absolute;
    z-index: 1000;
	top: 18px;
}
#lang-home > a {
    margin-right: 27px;
}
.news {
    left: 13.7%;
    position: absolute;
    top: 70%;
    width: 48.5%;
}
.news > div {
    float: left;
    width: 33.3%;
	text-align: center;
}

.lang {
    float: right;
    height: 100%;
    min-width: 20%;
    padding-right: 11%;
}
#jsddm {
    bottom: 0;
    float: right;
    margin: 0;
    min-width: 100px;
    padding: 0;
}

#jsddm li {
    float: left;
    list-style: none;
	font-size: 15px;
	cursor: pointer;
}

#jsddm li a {
        display: block;
    padding: 5px 0;
    text-decoration: none;
    white-space: nowrap;
    width: 83px;
	color: #8b4219;
}

#jsddm li a:hover, #jsddm li:hover {
color: #9f5c36
}
#jsddm > li img {
    margin-right: 3px;
    padding-bottom: 2px;
}
#jsddm li .flag_img {
    margin-left: 16px;
    margin-right: 0;
    padding: 0;
}
#jsddm li ul {
    margin: -5px 0 0;
    padding: 0;
    position: absolute;
    visibility: hidden;
	top: -78px;
}

#jsddm li ul li {
    float: none;
    display: inline;
}

#jsddm li ul li a {
}
#jsddm li ul li a:hover {
}
#jsddm img {
    width: auto;
}
#jsddm li ul li a span {
    float: left;
    padding-top: 6px;
}
#jsddm li ul li a img {
    float: right;
    margin-top: 2px;
    padding-top: 6px !important;
}
#text_single img {
    height: auto;
    max-width: 100%;
	width: auto\9; /* ie8 */
}
#text_single .gallery-columns-4 img.attachment-thumbnail {
    max-width: 85%;
}
    .video embed,
    .video object,
    .video iframe {
       width: 100%;
       height: auto;
    }
.fancybox img.alignright {
    margin-left: 14px;
}
.alignright {
    float: right;
    padding-bottom: 5px;
    padding-left: 12px;
	padding-top: 10px;
}
.fancybox img.alignleft {
    margin-right: 14px;
}
.alignleft {
    float: left;
    padding-bottom: 5px;
    padding-right: 12px;
	padding-top: 10px;
}
header {
    height: 165px;
    position: relative;
    width: 100%;
	background: url("/wp-content/themes/elena/img/top_background.jpg") no-repeat scroll left top;
}
.vnutrennii .logo {
    height: 99px;
    left: 6%;
	top: 16%;
}
.vnutrennii .logo > a {
    max-width: 221px;
}
.vnutrennii #menu {
    left: 35%;
    margin-top: 36px;
}

header > div {
    height: 100%;
    margin: 0 auto;
    max-width: 921px;
    position: relative;
}
.vnutrennii .menu > ul, .vnutrennii ul.menu {
    list-style: url("/wp-content/themes/elena/img/integral_menu_vnutr.png");
	width: 547px;
}
.vnutrennii #menu span img, .vnutrennii  #menu li a {
  transition: all 0.15s linear 0s;
  -webkit-transition: all 0.15s linear 0s;
    -moz-transition: all 0.15s linear 0s;
    -o-transition: all 0.15s linear 0s;
    -ms-transition: all 0.15s linear 0s;
}
.vnutrennii #menu li a, .vnutrennii #menu li:hover a {
font-size: 18px;
vertical-align: top;
}
.vnutrennii #menu li:hover a {
color: #000;
}
.copy.home {
    padding-left: 18%;
    padding-top: 0.5%;
}
.vnutrennii #menu li {
    float: left;
    height: 27px;
    line-height: 27px;
    width: 50%;
}

.vnutrennii #menu li {
    float: left;
    height: 26px;
    line-height: 21px;
    width: 50%;
}
#vnutr {
    margin: 0 auto;
    max-width: 831px;
    padding: 34px 45px 44px 45px;
    position: relative;
	background: url("/wp-content/themes/elena/img/content_top_background.jpg") no-repeat scroll left top, url("/wp-content/themes/elena/img/content_bottom_background.jpg") no-repeat scroll left bottom, url("/wp-content/themes/elena/img/content_background_left.png") repeat-y scroll left 45px, url("/wp-content/themes/elena/img/content_background_right.png") repeat-y scroll right -67px; 
}
.gallery {
    padding-bottom: 24px;
    padding-top: 27px;
    width: 85%;
}
.coll {
    padding: 0;
}
.coll table {
    margin: 0;
}
@media (max-width:1450px) {
.logo {
    top: 14%;
}
#menu {
    margin-top: 24%;
}
.news {
    top: 65%;
}
}
@media (min-width:985px) {
section.vnutrennii {
background: url("/wp-content/themes/elena/img/left_top_background.jpg") no-repeat scroll left 165px, url("/wp-content/themes/elena/img/right_top_background.jpg") no-repeat scroll 891px 165px, url("/wp-content/themes/elena/img/left_background.jpg") repeat-y scroll left 760px, url("/wp-content/themes/elena/img/right_background.jpg") repeat-y scroll 891px 760px, #bc8340; 
}
}
#vnutr > div {
    background: #fff none repeat scroll 0 0;
    padding: 0 4% 4% 4%;
}
#text_single {
    color: #4f2702;
    font-size: 16px;
}
#text_single h2, #text_single h2 strong, #text_single h2 span, #text_single h2 a {
    font-family: "TrajanPro3-Regular";
    font-size: 15px;
    font-style: normal;
    line-height: 23px;
	margin-bottom: 2px;
margin-top: 22px;
}
#text_single h3, #text_single h3 strong, #text_single h3 span, #text_single h3 a {
    font-family: "TrajanPro3-Regular";
    font-size: 14px;
    font-style: normal;
    line-height: 23px;
	margin-bottom: 2px;
margin-top: 16px;
}
#text_single table h3 {
margin-top: 2px;
}
.alignnone {
    margin-right: 9px;
}
#text_single p, #text_single ul {
    font-size: 17px;
    line-height: 23px;
    padding-bottom: 10px;
}
#text_single ul {
    list-style: inside none disc;
    padding-left: 21px;
}
#vnutr h1 {
    font-family: 'TrajanPro3-Regular';
	color: #4f2702;
	font-size: 16px;
	padding-bottom: 21px;
}
.breadcrumbs a, .breadcrumbs span, .breadcrumbs {
    color: #d7ccba;
    font-size: 17px;
    padding-bottom: 18px;
}
.breadcrumbs a:hover {
color: #98876b;
}
.hid #fancybox-wrap {
padding-top: 0;
}
img.attachment-large {
    width: 32%;
	min-width: 160px
}
article {
    padding-top: 2.1%;
}
@media (max-width:1050px) {
.news {
    top: 60%;
}
.news > div > div {
    height: 217px;
    padding: 13px 9% 4px;
}
.news h3 {
    padding-bottom: 9px;
}
.news .post_title > a {
    font-size: 11.5px;
}
.news p {
    font-size: 13.5px !important;
	line-height: 18px;
}
.int_pr {
    font-size: 33px;
	padding-right: 4%;
	top: 5%;
	}
.vnutrennii .logo img {
    width: auto;
}
.logo img {
    width: 105px;
}
.logo #logotext_ru {
    font-size: 50px;
}
.logo #logotext_en {
    font-size: 36px;
}
.logo h2 {
    margin-top: 0;
}	
.logo {
    top: 12%;
}
.houm #menu a {
    line-height: 33px;
	font-size: 23.9px;
}
#menu {
    margin-top: 22%;
}
}
@media (max-width:1000px) {/*стили для средних экранов*/
#lang-home {
    left: 32.5%;
    top: 1.5%;
}
.news {
    left: 10.7%;
    width: 56.5%;
}
.news > div > div {
    height: 217px;
    padding: 12px 8% 2px;
	width: 79%;
}
#menu {
    left: 18%;
}
footer {
padding: 70px 8% 100px 29%;
    width: 61%;
	background: transparent url("/wp-content/themes/elena/img/znak.jpg") no-repeat scroll 16% 30%;
}
#text_single_cat h2, #text_single_cat h2 strong, #text_single_cat h2 span, #text_single_cat h2 a {
    font-size: 14px;
   margin: 7px auto 9px;
}
}



@media (max-width:984px) {
#vnutr {
margin: 0 26px;
}
section.vnutrennii {
background: url("/wp-content/themes/elena/img/left_top_background_min.jpg") no-repeat scroll left 165px, url("/wp-content/themes/elena/img/right_top_background.jpg") no-repeat scroll 891px 165px, url("/wp-content/themes/elena/img/left_background_min.jpg") repeat-y scroll left 760px, url("/wp-content/themes/elena/img/right_background.jpg") repeat-y scroll 891px 760px, #bc8340; 
}
.news span{
font-size: 13px !important
}

}
@media (max-width:962px) {
section.vnutrennii {
background: url("/wp-content/themes/elena/img/left_top_background_min.jpg") no-repeat scroll left 165px, url("/wp-content/themes/elena/img/right_top_background_min.jpg") no-repeat scroll 700px 165px, url("/wp-content/themes/elena/img/left_background_min.jpg") repeat-y scroll left 760px, url("/wp-content/themes/elena/img/right_background_min.jpg") repeat-y scroll 700px 760px, #bc8340; 
}
.int_pr {
    font-size: 32px;
    padding-right: 3.5%;
}
.news {
    left: 6.7%;
}
.vnutrennii .logo img {
    width: auto;
}
.logo img {
    width: 100px;
}
.logo #logotext_ru {
    font-size: 48px;
}
.logo #logotext_en {
    font-size: 34px;
}
.news .post_title > a {
    font-size: 10.5px;
}
.news > div > div {
    height: 217px;
    padding: 11px 5% 0;
}
.logo {
    left: 10%;
}
}
@media (max-width:900px) {
.houm #menu a {
    line-height: 44px;
}
.news > div > div {
    background: #b59256 none repeat scroll 0 0;
    height: 217px;
    padding: 11px 10% 0;
}
.news .post_title > a {
    font-size: 11.5px;
    padding-bottom: 5px;
}
.news {
    float: left;
    left: 0;
    padding-bottom: 10px;
    padding-left: 3%;
    padding-top: 10px;
    position: relative;
    width: 97%;
}
.flag_img {
    width: 24px !important;
}
#lang-home {
    top: 1.5%;
}
#menu {
    left: 14%;
    margin-top: 30%;
}
.logo {
    left: 7%;
    top: 16%;
    width: 55%;
}
#menu li:hover a {
font-size: 23px;
}
footer {
    background-position: 69% 83%;
    padding: 70px 6% 100px 15%;
    width: 78%;
}
footer #menu1, footer #menu2_2, footer > div  {
    width: 50%;
}

#text_single_cat h2, #text_single_cat h2 strong, #text_single_cat h2 span, #text_single_cat h2 a {
    font-size: 13px;
    line-height: 20px;
}
}
@media (max-width:852px) {
#vnutr {
    background: url("/wp-content/themes/elena/img/content_background_left.png") repeat-y scroll left 45px, rgba(0, 0, 0, 0) url("/wp-content/themes/elena/img/content_background_right.png") repeat-y scroll right -67px;
    padding: 0 45px 0;
}
.coll {
    float: left;
}
.vnutrennii .logo {
    left: 4%;
}
.vnutrennii .logo img {
    width: auto;
}
.vnutrennii .menu > ul, .vnutrennii ul.menu {
    width: 448px;
}
}
@media (max-width:784px) {
#vnutr {
margin: 0;
}
.gallery-item img {
    display: block;
    height: auto !important;
    width: 91% !important;
}
section.vnutrennii {
background: #bc8340; 
}
.vnutrennii #menu li a, .vnutrennii #menu li:hover a {
    font-size: 15px;
}
.vnutrennii .menu > ul, .vnutrennii ul.menu {
    width: 381px;
}
.vnutrennii .logo img {
    min-width: 200px;
}
.vnutrennii #menu li {
    height: 29px;
}
.logo #logotext_en {
    font-size: 30px;
}
.logo #logotext_ru {
    font-size: 42px;
}
.logo {
    width: 60%;
}
}
@media (max-width:760px) {

#menu a {
font-size: 24px;
}
#menu li:hover a {
font-size: 22px;
}
.logo {
    top: 14%;
}
.int_pr {
    font-size: 31px;
}
}
@media (max-width:715px) {

#menu {
    left: 9%;
}
footer {
    padding: 70px 4% 100px 10%;
    width: 86%;
}
}
@media (max-width:700px) {
.int_pr {
    font-size: 25px;
    padding-right: 1.5%;
}
.logo {
    left: 5%;
    top: 13%;
    width: 70%;
}
.logo #logotext_ru {
    font-size: 38px;
}
.logo h1 {
    margin-top: 6%;
}
.logo #logotext_en {
    font-size: 24px;
}
.news > div > div {
    height: 217px;
}
.copy.home {
    padding-left: 4%;
}
}
@media (max-width:688px) {
.vnutrennii #menu {
    display: none;
}
.vnutrennii .menu_kn {
    display: block;
}
.vnutrennii .menu_kn {
    left: 57%;
    top: 39%;
}
.vnutrennii .logo img {
    width: 221px;
}
.vnutrennii .logo {
    left: 19%;
}
.category #text_single_cat > div > div {
    width: 50%;
}
#text_single_cat div:nth-child(2n+1) {
    clear: both;
}
#text_single_cat div:nth-child(3n+1) {
    clear: none;
}
}
@media (max-width:658px) {

#menu span img, #menu li a {
  transition: none;
  -webkit-transition: none;
    -moz-transition: none;
    -o-transition: none;
    -ms-transition: none;
}
#menu li:hover a {
font-size: 20px;
}
}

@media (max-width:625px) {

#menu a {
font-size: 19px;
}
#menu li:hover a {
font-size: 19px;
}
#menu {
    left: 8%;
}
.logo {
    left: 5%;
    top: 10%;
    width: 73%;
}
.houm #menu a {
    font-weight: bold;
    line-height: 32px;
}

.logo img {
    width: 91px;
}
.logo #logotext_ru {
    font-size: 34px;
}
.logo #logotext_en {
    font-size: 21px;
}
#wpadminbar {
display: none;
}
}
@media (max-width:602px) {
.gallery {
    padding-bottom: 40px;
    padding-top: 25px;
    width: 100%;
}
#vnutr .gallery .gallery-item {
    width: 50%;
}
}
}
@media (max-width:569px) {
.vnutrennii .menu_kn {
    left: 63%;
    top: 39%;
}
header {
    height: 134px;
	background-size: cover;
}
.vnutrennii .logo > a {
    margin-top: 17px;
}
}
@media (max-width:550px) {/*стили для маленьких экранов*/
section.vnutrennii {
    background: #bc8340 none repeat scroll 0 0;
    margin-bottom: 25px;
}
footer {
    background-position: 100% 0;
}
.int_pr {
    top: 21px;
	left: 8%;
	max-width: 48%;
	min-width: 198px;
}
.int_pr {
    color: #330000;
    font-size: 23px;
    left: 18%;
    top: 14px;
	opacity: 1;
}
.int_pr > a {
    color: #330000;
}
#lang-home {
    top: 7%;
}
.logo {
    width: 74%;
}
.logo #logotext_ru {
    font-size: 30px;
}
.logo #logotext_en {
    font-size: 18px;
}
.logo h1 {
    margin-top: 7%;
}
.vnutrennii .logo {
display: block;
}
#menu {
    display: none;
}
#menu2 {
display: block;
position: relative;
}
#menu2 span {
    display: none;
}
.menu_kn {
display: block;
left: 8%;
height: 148px;
top: 35%;
}
#menu2 {
    margin-bottom: 30px;
    margin-top: 20px;
}
#menu2 li {
  background: -webkit-linear-gradient(#22130f, #502e0f, #22130f); /* For Safari 5.1 to 6.0 */
  background: -o-linear-gradient(#22130f, #502e0f, #22130f); /* For Opera 11.1 to 12.0 */
  background: -moz-linear-gradient(#22130f, #502e0f, #22130f); /* For Firefox 3.6 to 15 */
  background: linear-gradient(#22130f, #502e0f, #22130f); /* Standard syntax */
display: inline-block;
    height: 35px;
    padding-top: 15px;
    text-align: center;
    text-transform: uppercase;
    width: 100%;
}
#menu2 li a {
   color: #fff;
   font-family: 'Calibri-Regular';
   font-size: 15px;
   vertical-align: middle;
}
footer {
    max-height: 354px;
    padding-left: 4%;
    padding-top: 0;
    width: 92%;
}
footer #menu1, footer #menu2_2, footer > div  {
    width: 100%;
	text-align: center;
}
}
@media (max-width:540px) {
.menu_kn {
top: 23%;
}
.news > div {
    float: none;
    margin: 0 auto;
    width: 90%;
}
.news > div > div {
    float: left;
    height: 180px;
    margin-bottom: 10px;
    width: 76%;
}
.news .post_title > a {
    font-size: 15.5px;
    padding-bottom: 5px;
}

.news div > a {
    left: 47%;
}
.vnutrennii .logo img {
    width: 200px;
}
.vnutrennii .logo > a {
    margin-top: 20px;
}
.vnutrennii .menu_kn {
    left: auto;
    right: 0;
    top: 78%;
}
img.attachment-large {
    width: 50%;
}
}
@media (max-width:500px) {
.alignright {
    float: none;
    padding-bottom: 10px;
    padding-left: 0;
}
.alignleft {
    float: none;
    padding-bottom: 10px;
}
.logo {
    width: 92%;
	left: 4%;
}
.logo #logotext_ru {
    font-size: 24px;
}
.logo #logotext_en {
    padding-left: 12%;
}
.int_pr {
    font-size: 20px;
	left: 16%;
}
#lang-home {
    left: 24%;
    top: 6%;
}
}


@media (max-width:495px) {

.category #text_single_cat > div > div {
    width: 100%;
}
}
@media (max-width:420px) {
.menu_kn {
    top: 20%;
}
.int_pr {
    font-size: 19px;
    left: 12%;
}
#lang-home {
    left: 16%;
    top: 5.5%;
}
.logo {
    top: 9%;
}
.logo img {
    width: 73px;
}
.logo #logotext_ru {
    font-size: 19px;
}
.logo #logotext_en {
    padding-left: 1%;
}
#vnutr .gallery .gallery-item {
    width: 100%;
}
a.fancybox {
    pointer-events: none; /* делаем ссылку некликабельной */
    cursor: default;  /* устанавливаем курсор в виде стрелки */
}
a.fancybox.fancybox-iframe {
    pointer-events: auto !important; /* делаем ссылку некликабельной */
    cursor: pointer !important;  /* устанавливаем курсор в виде стрелки */
}
.int_pr {
    min-width: 178px;
}
#fancybox-wrap {
     left: -20px !important;
}
}
.views {
display:none;
}
#footer_lang > span {
    border: 1px solid #fff;
    color: #fff;
    float: left;
    padding: 10px;
}

#text_single_cat > div > span {
    float: left;
    font-size: 16px;
    padding-top: 10px;
    width: 100%;
}

#lang-home a {
    /* pointer-events: none;  делаем ссылку некликабельной */
    /* cursor: default;   устанавливаем курсор в виде стрелки */
}



/* ============== Lotos css ================= */
div.lang-01 {
	margin: 0px 20px 40px 0;
	text-align: right;
	position: relative;
}
li.lang-item {
	display: inline;
	padding-right: 20px;		
}
div.lang-01 img {
	margin: 0;
}
figcaption {
		background: none !important;
}