/*
Theme Name: SouthOssetia 19.09.2019
Theme URI: 
Author: the WordPress team
Author URI: http://wordpress.org/
Description: The 2013 theme for WordPress takes us back to the blog, featuring a full range of post formats, each displayed beautifully in their own unique way. Design details abound, starting with a vibrant color scheme and matching header images, beautiful typography and icons, and a flexible layout that looks great on any device, big or small.
Version: 2.0
License: GNU General Public License v2 or later
License URI: http://www.gnu.org/licenses/gpl-2.0.html
Tags: black, brown, orange, tan, white, yellow, light, one-column, two-columns, right-sidebar, fluid-layout, responsive-layout, custom-header, custom-menu, editor-style, featured-images, microformats, post-formats, rtl-language-support, sticky-post, translation-ready, accessibility-ready
Text Domain: twentythirteen

This theme, like WordPress, is licensed under the GPL.
Use it to make something cool, have fun, and share what you've learned with others.
*/

/* http://meyerweb.com/eric/tools/css/reset/
   v2.0 | 20110126
   License: none (public domain) */
@font-face {
    font-family: 'Montserrat';
    src: local('Montserrat Hairline'), local('Montserrat-ExtraLight'), url('fonts/Montserrat-ExtraLight.ttf') format('truetype');
    font-weight: 100;
    font-style: normal;
}
@font-face {
    font-family: 'Montserrat';
    src: local('Montserrat Light'), local('Montserrat-Light'), url('fonts/Montserrat-Light.ttf') format('truetype');
    font-weight: 300;
    font-style: normal;
}
@font-face {
    font-family: 'Montserrat';
    src: local('Montserrat'), local('Montserrat-Regular'), url('fonts/Montserrat-Regular.ttf') format('truetype');
    font-weight: 400;
    font-style: normal;
}
@font-face {
    font-family: 'Montserrat';
    src: local('Montserrat Bold'), local('Montserrat-Bold'), url('fonts/Montserrat-Bold.ttf') format('truetype');
    font-weight: 700;
    font-style: normal;
}
@font-face {
    font-family: 'Montserrat';
    src: local('Montserrat Black'), local('Montserrat-Black'), url('fonts/Montserrat-Black.ttf') format('truetype');
    font-weight: 900;
    font-style: normal;
}
/*

@font-face {
    font-family: KairosSans;
    font-display: swap;
    src: url(fonts/Montserrat-VariableFont_wght.ttf) format("truetype");
}**/


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, 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,
article, aside, canvas, details, embed,
figure, figcaption, footer, header, hgroup,
menu, nav, output, ruby, section, summary,
time, mark, audio, video {
	margin: 0;
	padding: 0;
	border: 0;
	font-size: 100%;
	font: inherit;
	vertical-align: baseline;
}
em{font-style:italic!important;}
/* HTML5 display-role reset for older browsers */
article, aside, details, figcaption, figure,
footer, header, hgroup, menu, nav, section {
	display: block;
}
body {
	line-height: 1;
}
ol, ul {
	list-style: none;
}
#content ol, #content ul {
    margin-bottom: 22px;
}
blockquote, q {
	quotes: none;
}
blockquote:before, blockquote:after,
q:before, q:after {
	content: '';
	content: none;
}
table {
	border-collapse: collapse;
	border-spacing: 0;
}
h1,h2,h3,h4,h5,h6{
    color: #0c1a62;
    /*font-family: 'Open Sans', sans-serif;*/
    font-family: 'Montserrat',sans-serif;
}

b, strong{font-weight: 600;}
i{font-style: italic}


html {
  /*background: url('../img/html_bg.jpg') repeat-x 0 0;
  font: normal 14px/17px 'Open Sans', sans-serif;*/
    background-color: #f7f7f7;
  font-family: 'Montserrat',sans-serif;
  height: 100%;
}

html, body {
  min-height: 100%;
  height: 100%;
}

* {
  outline: none;
}

a {
  text-decoration: none;
  color: #0c1a62;
}

a:hover {
  color: #8188ac;
}

p {
  margin-bottom: 0;
  padding-bottom: 22px;
}

.fr {
  float: right;
}

.fl {
  float: left;
}

.clr {
    clear: both !important;
    font-size: 0;
    display: block;
}

.inline {
  display: inline !important;
}
#main{
    max-width: 1382px;
    width: 100%;
    margin: 0 auto;
}
#header{
    margin: 0 auto;
    padding: 19px 0;
}
#logo {
	position: relative;
    background: url(/wp-content/uploads/2022/03/logotip.jpeg) no-repeat;
    background-size: 117px;
    /* background-size: contain; */
    background-position: 74px;
    padding: 20px 0 20px 210px;
    float: left;
	transition-property: background-size;
	transition-duration: .15s;
	transition-timing-function: ease-in-out;
}
#logo h1{
    /*font-family: 'Open Sans', sans-serif;*/
    font-weight: 800;
    /*font-size: 32px;*/
    /*font-size: 35px;*/
    /*font-size: 28px;*/
    font-size: 29px;
    letter-spacing: -1px;
}
#logo h2{
    /*font-family: 'Open Sans', sans-serif;*/
    font-weight: 600;
    /*font-size: 16px;*/
    /*font-size: 21px;*/
    font-size: 17px;
    position: relative;
    transform: scaleY(.7);

    padding-top: 2px;
    letter-spacing: 2.3px;
}
#menu{
    float: right;
    padding: 30px 76px;
}
#menu span{
    display: inline-block;
    /*float: right;*/
    color: #0c1a62;
    /*font-family: 'Open Sans', sans-serif;*/
    font-size: 18px;
    font-weight: 600;
    margin: 0 0 0 34px;
    padding: 4px 0;
}
#menu span.burger{
    background: url(images/burger.png) no-repeat right;
    padding: 4px 36px 4px 0;
    cursor: pointer;
}
#menu span.xxx{
    background: url(images/xxx.png) no-repeat left;
    padding: 4px 0 4px 18px;
    cursor: pointer;
    color: #5a5a5a;
    display: none;
}
#leftscrollbutton{
    display: none;
    background-color: #f7f7f7;
    width: 49px;
    position: absolute;
    padding: 12px 0 0 0;
}
#leftscrollbutton .home a{
    background: url(images/logo.png) no-repeat;
    background-size: cover;
    width: 49px;
    height: 49px;
    display: block;
}
#leftscrollbutton .menu{
    background: url(images/burger.png) no-repeat center center;
    width: 49px;
    height: 49px;
}
#dropmenu{
    display: none;
    background: url(images/iron.png) repeat-y;
    width: 100%;
}
#dropmenuin{
    width: 1275px;
    margin: 0 auto;
    background-color: #ffffff;
    border-top: 2px solid #eeeeee;
    border-left: 2px solid #eeeeee;
    border-right: 2px solid #eeeeee;
}
#themenu{
    width: 500px;
    float: left
}
#themenu ul{
    list-style: none;
    padding: 48px 36px;
}
#themenu li{
    margin: 0 0 35px 0;
}
#themenu ul a{
    display: block;
    font-size: 22px;
    font-weight: 600;
    padding: 0 0 0 38px;
}
#themenu ul a:hover, #themenu li.curr a{
    background: url(images/ironlist.png) no-repeat left;
    color: #b00000;
}
#themenu li.curr {
    background: url(images/ironlist2.png) no-repeat 324PX 0;
}
#menu-content{
    float: left;
    width: 750px;
}
#menu-content > div{
    padding: 48px 0;
    display: none;
}
#menu-content > div >h2{
    color: #5a5a5a;
    font-size: 32px;
    font-weight: 600;
    padding: 0 36px;
}
#menu-content .sublinks{
    padding: 25px 36px;
}
.sublinks a{
    padding: 0 27px 10px 0;
    font-weight: 600;
    color: #0c1a62;
    line-height: 210%;
}
.sublinks div{display: inline}


#menu-content .post{
    border-top: 2px solid #eeeeee;
    padding: 19px 28px;
}
#menu-content .postimg{
    float: right;
    width: 239px;
    height: 146px;
    overflow: hidden;
}
#menu-content .title{
    float: left;
    width: 430px;
    text-align: left;
    display: block;
    padding: 20px 0 0 0;
}
#menu-content .title h2{
    text-align: left;
}
#menu-content .cats{
    padding: 12px 0 0 0;
    float: left;
    width: 430px;
}
#menu-content .date{
    float: left;
    padding-top: 15px;
    display: none;
}
#menu-content .views{
    margin-top: 15px;
    display: none;
}
#menu-content .social{
    clear: both;
    float: left;
    display: block;
    width: 136px;
    height: 16px;
    padding-top: 13px;
    display: none;
}



#lookarea{
    /*background: url(images/iron.png) repeat-y;*/
    width: 100%;
}
#lookarea > div{
    width: 1275px;
    margin: 0 auto;
    background-color: #ffffff;
    border-top: 2px solid #eeeeee;
    border-left: 2px solid #eeeeee;
    border-right: 2px solid #eeeeee;
}
#redline{
    font-size: 12px
}
#redline-in{
    padding: 13px 10px;
}
#redline a{color: red}
.marquee {
  overflow: hidden;
}

#mainpost{
    width: 993px;
    float: left;
    border-right: 3px solid #eeeeee;
    overflow: hidden;
}
#mainpost .vsocial{
    display: block;
    float: right;
    width: 16px;
    height: 193px;
    padding: 70px 0 0 0;
    background: url(images/postsocial.png) no-repeat bottom;
    margin: 0 0 0 40px;
}
#mainpost .vsocial a{
    display: block;
    width: 16px;
    height: 16px;
    margin: 0 0 22px 0;
}
#mainpost .postimg{
    float: right;
	margin-left: 19px;
}
#mainpost .postimg img{
    width: 437px;
    height: 292px;
}
#mainpost .title{
    float: right;
    text-align: center;
    width: 437px;
    height: 292px;
    display: flex;
    align-items: center;
}
#mainpost .title h2{
    font-size: 36px;
    line-height: 120%;
}
#mainpost .date{
    display: block;
    clear: both;
	padding-top: 4px;
}
#mainpost .postmeta{
    clear: both;
}
#mainpost .cats{
    float: left;
}
#mainpost .views{
    float: right;
}
#popravki
{
    float: left;
    width: 271px;
    /*height: 332px;*/
    min-height: 350px;
    overflow: hidden;
    padding-top: 19px;
    border-left: 1px solid #eeeeee;
}
#popravki .post
{
    padding: 0 19px 19px 19px;
}
#popravki .title {
    height: 156px;
    display: flex;
    align-items: center;
}
#infograf
{
    float: left;
    width: 271px;
    /*height: 332px;*/
    overflow: hidden;
    padding-top: 19px;
    border-left: 1px solid #eeeeee;
}
#mainside
{
    float: left;
    width: 278px;
    height: 369px;
    display: grid;
    grid-template-rows: repeat(2, 1fr);
    overflow: hidden;
}
#mainside > div
{
    padding: 14px 16px;
    display: grid;
    align-content: center;
    text-align: center;
    border-bottom: 2px solid #eeeeee;
}
#mainside > div:last-child
{
    border-bottom: none;
}
#mainside h3 {
    margin-top: 8px;
    font-size: 16px;
}
#mainside img {
    max-width: 95px;
}
#competition
{
    float: left;
    width: 240px;
    /*height: 332px;*/
    overflow: hidden;
    padding: 19px;
}
#infograf h2.cattitle
{
    text-align: right;
    background: url(images/infograf.png) no-repeat right;
    padding: 12px 35px 8px 0;
    font-size: 16px;
    width: 200px;
    margin: 0 auto 12px auto;
    text-transform: uppercase;
    font-weight: 600;
}
#competition h2.cattitle
{
    text-align: right;
    padding: 12px 0 8px 0;
    font-size: 16px;
    margin: 0 auto 12px auto;
    text-transform: uppercase;
    font-weight: 600;
}
#infograf .post,
#competition .post
{
    padding: 0 19px 19px 19px;
}
#competitionf .postimg
{
	min-height: 268px;
}
#infograf .postimg
{
	margin-bottom: 16px;
}
#infograf .title
{display: none}
#infograf .cats,
#competition .cats
{display: none}
#infograf .social
{display: none}
#infograf .date
{
	clear: both;
	float:left;
	padding-top: 4px;
}
#competition .date
{
    clear: both;
    float:left;
    padding-top: 10px;
}
#infograf .views
{
    margin: 5px 0 0 0;
}

#competition .views
{
    margin: 10px 0 0 0;
}
#twohor{
    width: 662px;
    float: left;
    overflow: hidden;
}
#twohor .post{
    float: left;
    border-right: 2px solid #eeeeee;
    width: 291px;
	height: 372px;
}
#twohor .postimg img{
    width: 291px;
    height: 179px;
}
#twohor .title{
    height: 156px;
    display: flex;
    align-items: center;
}
#twohor .title h2{
    font-size: 20px;
    text-align: center;
}
#horizon2 .postmeta{
    /*height: 23px;*/
    overflow: hidden
}
#horizon2 .cats{float: left;}
#horizon2 .social{display: none}
#horizon2 .date{
	display: block;
    clear: both;
	padding-top: 4px;
	float: left;
}
#horizon2 .views{float: right}
#polk .date{display: none}

#twovertical{
    width: 331px;
    float: left;
    overflow: hidden;
}
#twovertical .post{
    /*border-bottom: 2px solid #eeeeee;*/
    display: block;
}
#twovertical .post:first-child{
    border-bottom: 2px solid #eeeeee;
}
#twovertical .postimg{display: none}
#twovertical .title {
    height: 135px;
    display: flex;
    align-items: center;
}
#twovertical .title h2{
    font-size: 20px;
    text-align: center;
}

#polk,#some-post{
    float: left;
    width: 19%;
    overflow: hidden;
    padding: 16px;
    border-left: 2px solid #eeeeee;
    height: 392px;
    text-align: center;
}

#some-post{
	display:flex;
	justify-content:center;
	align-items:flex-start;
	padding-top: 30px;
}

#polk h2.cattitle{
    text-align: right;
    background: url(images/polk.png) no-repeat right;
    padding: 12px 35px 8px 0;
    font-size: 16px;
    width: 200px;
    margin: 0 auto 12px auto;
    text-transform: uppercase;
    font-weight: 600;
}
#polk .post{
    padding: 0 19px 19px 19px;
}
#polk .postimg{
    text-align: center;
    height: 216px;
    overflow: hidden
}
#polk .postimg img{
    width: 213px;
}
#polk .title{
    height: 85px;
}
#polk .title h2{
    font-size: 20px;
}
#polk .cats{display: none}

#photohorizon .post{
    padding: 0;
}
#photohorizon > div{
    float: left;
    width: 421px;
}
#photohorizon .postimg{
    height: 280px;
    overflow: hidden
}
#photohorizon .postimg img{
    width: 424px;
}
#photohorizon .title{
    height: 140px;
    padding: 0 19px;
}
#photohorizon .title h2{
    font-size: 20px;
}
#photohorizon .postmeta{
    padding: 0 19px 19px 19px; 
    height: 23px;
    overflow: hidden
}
#photohorizon .cats{float: left; max-width: 80%}
#photohorizon .social{display: none}
#photohorizon .date{
	float: left;
	clear: both;
	padding-top: 4px;
}
#photohorizon .views{float: right}

#foto, #video {
    border-right: 2px solid #eeeeee;
}
#foto .postimg{
    background: url(images/fotofon.png) no-repeat center center;
    background-size: cover;
}
#photohorizon #video{
	width: 429px;
}
#video .postimg{
    background: url(images/videofon.png) no-repeat center center;
    display: flex;
    align-items: center;
	justify-content: center;
    background-size: cover;
}
#foto .postimg img, #video .postimg img{
    opacity: 0.8;
}
#foto .postimg img:hover, #video .postimg img:hover{
    opacity: 0.4;
}

#horizon3 .cats{float: left; max-width: 80%}
#horizon3 .social{display: none}
#horizon3 .date{
	clear: both;
	padding-top: 4px;
	float: left;
}
#horizon3 .views{float: right}

#mainpost2{
    width: 938px;
    float: left;
    overflow: hidden;
}
#mainpost2 .postimg{
    float: right;
    margin-right: 25px
}
#mainpost2 .postimg img{
    width: 437px;
    /*height: 292px;*/
}
#mainpost2 .title{
    float: right;
    text-align: center;
    width: 415px;
    height: 292px;
    display: flex;
    align-items: center;
    margin: 0 20px 0 0;
}
#mainpost2 .title h2{
    font-size: 36px;
    line-height: 120%;
}
#mainpost2 .date{
    clear: both;
	padding-top: 4px;
	float: left;
}
#mainpost2 .postmeta{
    clear: both;
    padding-top: 10px;
}
#mainpost2 .cats{
    float: left;
}
#mainpost2 .views{
    float: right;
}
#twovertical2{
    width: 330px;
    float: left;
    overflow: hidden;
	border-left: 2px solid #eeeeee;
    text-align: center;
}
#twovertical2 .post:first-child{
    border-bottom: 2px solid #eeeeee;
}
/*#twovertical2 .postimg{display: none}**/
#twovertical2 img {
    max-width: 105px;
    margin: 0 auto;
}
#twovertical2 .title {
    /*height: 120px;*/
    display: flex;
    align-items: center;
}
#twovertical2 .title h2{
    font-size: 20px;
    text-align: center;
}
#calendarin{
    padding: 62px;
}
#calendar #date{
    float: left;
    width: 85px;
    margin-right: 100px;
    text-align: center;
}
#calendar .day{
    font-size: 72px;
    font-weight: 700;
    text-align: right;
}
#calendar .month{
    font-size: 24px;
}
#calendar #baragbon{
    float: left;
    /*font-family: 'Open Sans', sans-serif;*/
    width: 950px;
}
#calendar #baragbon h2{
    font-size: 32px;
    font-weight: 600;
    color: #000;
    margin-bottom: 18px;
}
#calendar #baragbon a{
    color: #c5c5c5;
    font-size: 18px;
    display: block;
}
#therest #restleft{
    float: left;
    width: 938px;
}
#therest #restleft .post{
    border-bottom: 2px solid #eeeeee;
    border-right: 2px solid #eeeeee;
    padding: 23px 28px 15px 28px;
}
#therest #restleft .postimg{
    float: left;
    width: 239px;
    height: 146px;
    overflow: hidden;
	padding: 0 25px 0 0;
}
#therest #restleft .title{
    float: left;
    width: 530px;
    text-align: left;
    display: block;
    padding: 20px 0 0 0;
}
#therest #restleft .title h2{
    text-align: left;
}
#therest #restleft .cats{
    padding: 12px 0 0 0;
    float: left;
    width: 530px;
}
#therest #restleft .date{
    float: left;
    padding-top: 15px;
}
#therest #restleft .views{
    margin-top: 15px;
}
#therest #restleft .social{
    clear: both;
    float: left;
    display: block;
    width: 136px;
    height: 16px;
    padding-top: 13px;
}
#restright{
    float: left;
    width: 337px;
}
#restright .post{
    border-bottom: 2px solid #eeeeee;
}
#restright .postimg{display: none}
#restright .title{
    min-height: 120px;
    justify-content: flex-start;
}
#restright .title h2{
	text-align: left;
	overflow: hidden;
    text-overflow: ellipsis;
    display: -webkit-box;
    -webkit-line-clamp: 4;
    -webkit-box-orient: vertical;
}
#restright .cats{
    height: 23px;
    overflow: hidden;
    margin-bottom: 21px;
}
#restright .date{
    float: left;
}
#restright .views{
    float: right;
}
#more{clear: both}
#morein{
    width: 90%;
    height: 46px;
    margin: 0 auto;
    /*background: url(images/uzorniz.png) repeat-x;*/
}
#more-button span{
    width: 260px;
    background: #fff;
    /*font-family: 'Noto Sans', sans-serif;*/
    font-size: 12px;
    font-weight: bold;
    text-transform: uppercase;
    text-align: center;
    color: #727272;
    padding: 17px 0;
    margin: 0 auto;
    cursor: pointer;
    display: block;
}
#more-button span.load{
	background: #fff url(images/load.gif) no-repeat center !important;
	height: 25px;
    padding: 10px 0;
    font-size: 0px;
    width: 25px;
}
#lookarea #more{
    border-top: none;
    border-bottom: 2px solid #eeeeee;
}
#lookarea #more-index{
    border-bottom: 2px solid #eeeeee;
}

#footer{
    padding: 0 0 0 11px;
    padding: 0 0 0 11px;
}
#foomenu{
    text-align: center;
    padding: 34px 54px;
}
#foomenu a{
    color: #262626;
    /*font-family: 'Noto Sans', sans-serif;*/
    font-size: 14px;
    font-weight: bold;
    padding: 0 20px;
}
#foosocial{
    width: 210px;
    height: 33px;
    margin: 0 auto;
    background: url(images/bigsocial2.png) no-repeat; 
}
#foosocial > div{
    float: left;
    margin: 0 12px 0 0;
}
#foosocial a{
    display: block;
    width: 33px;
    height: 33px;
}
#copy{
    color: #262626;
    /*font-family: 'Noto Sans', sans-serif;*/
    font-size: 14px;
    text-align: center;
    padding: 37px 0 40px 0;
}

.flash a{
    background: url(images/flash.png) no-repeat;
    padding: 0 0 0 15px;
    background-position: 0;
}

#contentblock{
    width: 938px;
    float: left;
    border-right: 2px solid #eeeeee;
}
#content .post{
    padding: 29px 54px;
}
#content .title{
    text-align: left;
    justify-content: flex-start;
    border-bottom: 2px solid #eeeeee;
}
#content .title h2{
    text-align: left;
    font-size: 32px;
    padding: 0 0 26px 0;
}
#content .date{
    float: left;
    width: 60%;
    padding: 13px 0 7px 0;
}
#content .social{
    float: right;
    display: block;
    width: 86px;
    height: 16px;
    padding: 13px 0 0 0;
}
#content .cats{
    float: left;
    width: 60%;
    padding-bottom: 13px;
}
#content .postimg img{
    width: 100%;
}

.postcontent{
    /*font-family: 'Noto Sans', sans-serif;*/
    /*font-size: 14px;*/
	font-size: 20px;
    line-height: 160%;
    padding: 26px 0 0 0;
}

#contentblock #therest .post{
    border-top: 2px solid #eeeeee;
    padding: 19px 28px;
}
#contentblock #therest .post:first-child{
    border-top: 2px solid #eeeeee;
}
#contentblock #therest .postimg{
    float: left;
    width: 239px;
    height: 146px;
    overflow: hidden;
	padding: 0 25px 0 0;
}
#contentblock #therest .title,
#content .comission__sub .title {
    float: left;
    width: 530px;
    text-align: left;
    display: block;
    padding: 20px 0 0 0;
},
#contentblock #therest .title h2{
    text-align: left;
}
#contentblock #therest .cats{
    padding: 12px 0 0 0;
    float: left;
    width: 530px;
}
#contentblock #therest .date{
    float: left;
    padding-top: 15px;
}
#contentblock #therest .views{
    margin-top: 15px;
}
#contentblock #therest .social,
#content .comission__sub .social {
    clear: both;
    float: left;
    display: block;
    width: 136px;
    height: 16px;
    padding-top: 13px;
}
#sidebar{
    width: 331px;
    float: left;
}
#sidebar .post{
    border-bottom: 2px solid #eeeeee;
}
#sidebar .postimg{display: none}
#sidebar .title{
    min-height: 120px;
    margin-bottom: 5px;
    justify-content: flex-start;
}
#sidebar .title h2{text-align: left;}
#sidebar .cats{
    height: 23px;
    overflow: hidden;
    margin-bottom: 21px;
}
#sidebar .date{
    float: left;
}
#sidebar .views{
    float: right;
}
#content .index-post .title{
    align-items: flex-start;
    border-bottom: none;
}
#content .index-post .title h2{
    /*color: #5a5a5a;
    text-transform: uppercase;
    font-weight: 600;*/
	text-decoration: none;
    color: #0c1a62;
	
	text-transform: none;
	font-weight: normal;
	font-size: 32px;
    font-family: 'Montserrat', sans-serif;
}
#content .comission__sub .title {
    padding-top: 0;
}
#contentblock #therest.sub .title {
    /*font-size: 20px;
    font-weight: 500;*/
    padding-bottom: 20px;
}
#content .comission__sub .post {
    padding-left: 0;
    padding-right: 0;
    border-bottom: 2px solid #eee;
}
#content .index-post .title .up{
    padding: 6px 0 0 30px;
}
.subcats,
.subposts{
    border-bottom: 2px solid #eeeeee;
    line-height: 150%;
}
.subcats > div > a,
.subposts > div > a{
    padding: 0 27px 10px 0;
    font-weight: 600;
    color: #0c1a62;
}
.subcats > div{
    padding-bottom: 30px;
}
.subposts > div {padding-bottom: 10px;}


/* posts */
.post{
    padding: 19px;
}
.vsocial{display: none}
.title{
    display: flex;
    align-items: center;
    justify-content: center;
    overflow: hidden;
}
.title h2{
    line-height: 120%;
    /*text-align: center;*/
    font-size: 20px;
}
.postimg img{width: 239px}
.postmeta{
    /*font-family: 'Open Sans', sans-serif;*/
    font-size: 11px;
    color: #c5c5c5;
}
.postmeta a{color: #c5c5c5;}
.social{
    background: url(images/socialhor2.png) no-repeat left bottom;
    display: none;
}
.social div{
    float: left;
    margin: 0 14px 0 0;
}
.social a{
    display: block;
    width: 16px;
    height: 16px;
}
.views{
    background: url(images/eye.png) no-repeat right;
    padding: 0 19px 0 0;
    float: right;
    opacity: 0;
    visibility: hidden;
}
a.up{
    display: block;
    color: #c0c0c0;
}
a.up span, .uparrow{
    font-size: 20px;
}


#pigpic{
	background-position: top;
	background-repeat: no-repeat;
	max-width: 990px;
	max-height: 660px;
	width: 830px;
	height: 557px;
}
#pigpic img{
	width: 100%;
}
#pigpic span{
	background: url(images/controls.png) no-repeat;
	width: 61px;
	height: 61px;
	display: block;
	margin: 220px 0 0 0;
}
#pigpic .galleft{
	float: left;
	width: 61px;
	height: 507px;
	opacity: 0.3;
	cursor: pointer;
}
#pigpic .galleft span{
	background-position: 0 0;
}
#pigpic .galright{
	float: right;
	width: 61px;
	height: 507px;
	opacity: 0.3;
	cursor: pointer;
	text-align: right;
}
#pigpic .galright span{
	background-position: -61px 0;
}
#pigpic .galleft:hover, #pigpic .galright:hover{
	opacity: 0.8;
}
.gallery{
	overflow-y: hidden; 
	overflow-x: auto; 
}
.galpanel{
	background: #fff;
	text-align: center;
	padding: 4px 0 0 0;

}
.gallery-item{
	padding: 0;
	margin: 0px;
	border: 0px solid #4d4d4d;
	display: inline;
}
.gallery-item div{
	display: inline;
	padding: 0;
	margin: 0;
	width: 150px;
	overflow: hidden;
}
.gallery-item img{
	width: 150px;
	border: 0;
	margin: 0;
	padding: 0;
}
.lite-galpanel{
	padding: 6px 0 12px 0;
}
.lite-gallery-item{
	display: block;
	float: left;
	width: 32%;
	min-width: 170px;
	margin: 0 3px 12px 0;
}
.lite-gallery-item a{
	display: block;
	border: 1px solid #eeeeee;
	padding: 3px;
	width: 170px;
	margin: 0 auto;
}
.lite-gallery-item a:hover{
	background-color: #eeeeee;
}
.lite-gallery-item img{
	width: 170px;
	border: 0;
	margin: 0;
	padding: 0;
}


#content .category-foto .postimg{ display: none; }
#content .category-video .postimg{ display: none; }
#content .category-infografika .postimg{ display: none; }
#content .category-infografika img{ width:100%; height: auto;}

#searchform input{
	font-size: 22px;
	color: #5a5a5a;
	border: 1px solid #eeeeee;
	width: 80%;
	padding: 10px;
}

.mobfoto{
    display: none
}

.dots {
  align-self: center;
  list-style: none;
  margin: 0;
  padding: 0 0 30px 0;
  display: flex;
  justify-content: center;
  clear: both;
}
.dots li {
  margin-right: 6px;
}
.dots li:before {
  content: '';
  height: 12px;
  width: 12px;
  display: inline-block;
  background: #f2f2f2;
  border-radius: 6px;
  cursor: pointer;
  transition: all 300ms ease;
}
.dots li.active:before {
  width: 12px;
  background: #fc0;
}

/* holidays */
.b-holidays {
  overflow: hidden;
  width: 104%;
  position: relative;
  left: -1em;
}

.b-holidays.b-celebs {
  left: auto;
  overflow: visible;
  position: static;
  width: auto;
}

.b-celebs > ul {
  margin-left: 25%;
}

.b-celebs > ul > li {
  margin-bottom: 30px;
}

.b-celebs dl {
  margin-top: 25px;
}

.b-celebs dt {
  border-bottom: 1px solid #d1d3d4;
  color: #5A595B;
  float: left;
  font-weight: bold;
  line-height: 1.5;
  padding-right: 25px;
  text-align: right;
  width: 100px;
}

.b-celebs .holiday {
  border-bottom: 1px solid #FFCBCB;
  color: #DB1C1C;
}

.b-celebs dd {
  line-height: 1.5;
  margin-left: 160px;
  position: relative;
}

.b-celebs dd:before,
.b-celebs dd:after {
  content: "";
  display: table;
}

.b-celebs dd:after {
  clear: both;
  margin-bottom: 20px;
}

.b-celebs .month-title {
  font-size: 16px;
  font-weight: bold;
}

.b-holidays .b-holidays_month {
  margin: 0 0 1em 1em;
  padding-left: 115px;
  position: relative;
}

.b-holidays .b-holidays_month dl {
  margin-bottom: 1.5em;
}
.b-holidays .b-holidays_month dl dt {
  border-bottom: 1px solid #d1d3d4;
  color: #5A595B;
  position: absolute;
  left: 0;
  padding-left: 10px;
  width: 90px;
  font-weight: bold;
}

.b-holidays .b-holidays_month dl.desc dt {
  border-bottom: #ffcbcb 1px solid;
  color: #db1c1c;
}

.b-holidays_month dl.desc span {
  color: #1a5ebe;
  cursor: pointer;
}

.b-holidays_month dl.desc span:hover,
.b-holidays.b-celebs a:hover {
  border-bottom: #d00 1px dashed;
  color: #d00;
  cursor: pointer;
}

.hidden {
  display: none;
}

.b-holiday-description {
  right: 0;
  position: absolute;
  background: #414042;
  color: #fff;
  padding: 12px 20px 20px;
  -moz-border-radius: 5px;
  -webkit-border-radius: 5px;
  -khtml-border-radius: 5px;
  border-radius: 5px;
  -webkit-box-shadow: 0 0 7px #414042;
  -moz-box-shadow: 0 0 7px #414042;
  box-shadow: 0 0 7px #414042;
  width: 555px;
  line-height: 21px;
  z-index: 99;
  top: 15% !important;
}

.b-celebs .b-holiday-description {
  right: auto;
  left: 0;
  top: 30px !important;
}
.b-holiday-description .b-close, .b-holiday-description .b-close:hover {
    position: relative;
    top: -3px;
    left: 542px;
    width: 22px;
    height: 22px;
    right: 15px;
	cursor: pointer;
	    z-index: 120;
    display: block;
    overflow: hidden;
	background: url(images/controls.png?v1) no-repeat -239px 0;
}

@media screen and (max-width: 1295px){
    #mainside img {
        max-width: 200px;
    }
    #twovertical2 img {
        max-width: 200px;
    }
    #calendar #date
    {
        margin-bottom: 15px;
    }
    .dtfoto{display: none}
    .mobfoto{
        display: block;
        width: 100%;
        overflow: hidden;
    }
    .mobfotoin{
        width: 1200px;
        position: relative;
    }
    #lookarea .mobfotoin .post{
        float: left;
        border-bottom: none;
    }
    
    
    #main{
        width: 100%;
        overflow: hidden;
    }
    #header{
        /*background: #fff url(images/mobnizuzor.png) repeat-x bottom;*/
        padding: 9px 19px;
        margin: 0 0 12px 0;
    }
    #logo{
        background-position: left;
		padding: 0px 0 0 76px;
		width: 260px;
		/* padding-top: 6px; */
		padding-top: 10px;
		padding-bottom: 10px;
		background-size: 65px!important;
    }
	#logo h1{
	    /*font-size: 14px;*/
        /*font-size: 11px;*/
        font-size: 15px;
        padding-top: 2px;
        padding-top: 3px;
	}
	#logo h2{
        padding: 0;
        /*padding-top: 1px;*/
        font-size: 10px;
		line-height: 130%;
        letter-spacing: 0;


        padding-top: 2px;
        /*font-size: 4.35px;*/
        font-size: 8px;
	}
    #menu{
        padding: 22px 0;
    }
    #menu span{
        width: 25px;
        height: 20px;
        /*font-size: 0px;*/
		color: transparent;
        padding: 0 !important;
        margin: 0 0 0 28px;
    }
	#menu span.xxx {
		color: transparent
	}
    #menu span.search{
        background: url(images/poisk.png) no-repeat center center;
        margin-left: 0;
    }
	#menu span.search a{display:block; height: 20px;width: 25px;color: transparent;}
    #leftscrollbutton{
        visibility: hidden;
    }
    #lookarea{
        width: 100%;
    }
    #lookarea .post{
        border-bottom: 2px solid #eeeeee;
    }
    #lookarea .postimg{
        float: none !important;
        width: auto !important;
        height: auto !important;
        max-width: 460px;
        margin: auto;
    }
    #lookarea .postimg img{
        width: 100% !important;
        height: auto !important;
    }
    #lookarea .title{
        width: auto !important;
        height: auto !important;
        padding: 9px 0;
        float: none !important;
    }
    #lookarea > div{
        border-left: none;
        border-right: none;
        border-bottom: 2px solid #eeeeee;
    }
    #lookarea > div, #horizon1 > div, #horizon2 > div, #horizon3 > div, #photohorizon > div, #therest > div, #contentblock{
        width: auto !important;
        height: auto !important;
        float: none !important;
        border-left: none !important;
        border-right: none !important;
    }
    /*#redline, #calendar{display: none}*/
    #mainpost .vsocial{display: none}
    #calendar #baragbon {width: auto;}
    #calendarin {padding: 3rem;}
    #infograf h2.cattitle, #competition h2.cattitle, #polk h2.cattitle{width: auto;}
    #infograf, #competition, #polk {
        padding: 19px; 
    }
    #infograf .post, #competition .post, #polk .post{
        padding: 0;
        border-bottom: none;
    }
    #twohor .post{
        float: none;
        width: auto;
        border-right: none;
    }
    #twovertical{display: none;}
    #polk .postimg{height: auto}
    #mainpost2 .title{margin: 0;}
    #sidebar{display: none;}
    #menu-content{display: none;}
    #dropmenuin, #themenu{
        width: auto;
        float: none;
    }
    
    #content .post{
        padding: 19px 0;
    }
    #content .title{padding: 0 25px;}
    #content .postimg{padding: 0 19px 9px 19px;}
    #content .postmeta,
    a.up{
        padding: 0 19px;
    }
    #content .postcontent{
        padding: 0;
    }
    #content .postcontent > p, 
    #content .postcontent > div,
	#content .postcontent > form,
    #content .postcontent > ul,
    #content .postcontent > ol
    {
        padding-left: 19px;
        padding-right: 19px
    }
	

    #content .date{width: auto}
    #content .cats{width: auto; clear: both}
    
    
    #pigpic{
        background-size: contain;
        width: auto;
        height: 260px;
    }
    #pigpic .galright, #pigpic .galleft{
        height: 250px;
    }
    #pigpic span{margin-top: 95px;}
    

	#searchform input{width: 90%;}
    
}


@media screen and (max-width: 640px){
    #calendar #baragbon h2
    {
        font-size: 24px;
    }
    #calendar .day
    {
        font-size: 64px;
    }
}
.ui-loader{display:none;}




.sa_hover_container
{
	position: relative;
}
.sa_hover_container a
{
	position: absolute;
	display:block;
	width:100%;
	height:100%;
}
.new-year
{
    background-color: #1b1133;
}
.new-year > .banner
{
    max-width: 1275px;
    width: 100%;
    height: 140px;
    margin: 0 auto;
    background-position: top center;
    background-size: cover;
    background-repeat: no-repeat;
}
@media (max-width: 540px) {
    .new-year > .banner
    {
        height: 25vw;
        background-size: 220%;
    }
}

@media screen and (max-width: 374px) {
    #logo {
        padding-left: 0;
        background: none;
    }
}

#contentblock #therest .title.no-postimg {
    width: 100%!important;
    max-width: 800px;
}

a.btn_attached {
    display: inline-block;
    margin-bottom: 32px;
    padding: 6px 16px;
    background-color: transparent;
    border: solid 1px #0c1a62;
    color: #0c1a62;
    transition: .3s;
}
a.btn_attached:hover {
    background-color: #0c1a62;
    color: #fff;
    transition: .3s;
}

#content .category-documents .title h2 {
    padding-bottom: 16px;
}
#content .category-documents .date,
#content .category-documents .social {
    padding-top: 6px;
}
#content .category-documents .postcontent {
    padding-top: 0;
}


.events {
    width: 150px;
    height: 150px;
    display: flex;
    flex-direction: column;
    align-items: center;
	justify-content: space-between;
}

.events svg {
    width: 100px;
    height: 100px;
    border: 3px solid rgb(93, 88, 88);
    outline: 2px solid rgb(203, 174, 11);
    outline-offset: -10px;
    border-radius: 50%;
}

.events svg:hover {
    box-shadow: 0px 0px 6px 1px rgb(57, 194, 173);
}

.events svg:active {
    box-shadow: 0px 0px 3px 0px #1c2221;
}

.events p {
	padding-bottom: 10px;
    text-transform: none;

    font-size: 16px;
    font-weight: normal;
    font-family: 'Montserrat', sans-serif;

    color: #0c1a62;
}
