


/* Start:/bitrix/templates/20therunet/styles.css*/
.event-video_list img, .event-photo_list img {
  height: auto !important;
  width: auto !important;
}
h2.years-item_title {cursor: pointer;}

.banners {
		position: absolute;
		left: 0;
		padding: 20px 20px 20px 50px;
		top: 200px;
		background: url('/bitrix/templates/20therunet/images/banners-bg.png');
}
.banners>a {
	display: block;
	text-align: center;
}
.banners>a.f {
	margin-bottom: 10px;
}

.org h5 {color: #fff; margin-bottom: 5px;}
.org {
  bottom: 80px;
  left: 0px;
  position: absolute;
  right: 0px;
	background: url('/bitrix/templates/20therunet/images/org-bg.png');
	padding: 20px 20px 0;
}
.org ul.org_list {
  list-style: none outside none;
  margin: 0 0 20px;
  padding: 0;
  text-align: justify;
}
.org ul.org_list:after {
  content: "";
  display: inline-block;
  height: 0;
  overflow: hidden;
  visibility: hidden;
  width: 100%;
}
.org ul.org_list li {
  display: inline-block;
  vertical-align: middle;
}
.org h5, .org ul.org_list li a{
  -moz-opacity: 0.70;
  opacity: 0.70;
  -ms-filter:"progid:DXImageTransform.Microsoft.Alpha"(Opacity=70);
}
.org ul.org_list li a:hover {
  -moz-opacity: 1;
  opacity: 1;
  -ms-filter:"progid:DXImageTransform.Microsoft.Alpha"(Opacity=100);
}

@media (max-width: 1024px) {
  .org,.banners{display: none;}
}

.ui-helper-hidden-accessible, .ui-helper-hidden-accessible {display: none;}
ul.ui-autocomplete {list-style: none; list-style-type: none; padding: 0; margin: 0;}
ul.ui-autocomplete li a{display: block; padding: 3px 20px;}
ul.event-person_list li .ui-autocomplete-input, ul.event-org_list li .ui-autocomplete-input {margin-top: 5px;}
ul.event-person_list input, .event-org_list input {border: 1px solid #000;}
ul.event-person_list input:focus, .event-org_list input:focus {border-color:#629F52; color: #07070C; background: #FFFFFF;}
.link-add {
  color: #629F52;
  font-family: 'Solomon_Sans_Regular',Arial,'Helvetica Neue',Helvetica,sans-serif;
  margin: 0 0 0 10px;
}
.alert{padding: 15px; margin-bottom: 20px; border: 1px solid #fff;}
.alert-error {
  background-color: #F2DEDE;
  border-color: #EBCCD1;
  color: #B94A48;
}
.cboxIframe {background-color:transparent!important;}


/* End */



/* Start:/bitrix/templates/20therunet/template_styles.css*/
/* ==========================================================================
   Browser Reset
   ========================================================================== */

article, aside, details, figcaption, figure, footer, header, hgroup, main, nav, section, summary {
    display: block;
}

audio, canvas, video {
    display: inline-block;
    *display: inline;
    *zoom: 1;
}

audio:not([controls]) {
    display: none;
    height: 0;
}


/* ==========================================================================
   Browser Reset / Base
   ========================================================================== */

html {
    font-size: 100%;
    -webkit-text-size-adjust: 100%;
    -ms-text-size-adjust: 100%;
}

html, button, input, select, textarea {
    font-family: sans-serif;
}

body {
    margin: 0;
}

/* ==========================================================================
   Browser Reset / Links
   ========================================================================== */

:active, :hover, :focus  {
    outline: 0;
}

/* ==========================================================================
   Browser Reset / Lists
   ========================================================================== */

dl, menu, ol, ul {
    margin: 15px 0;
}

dd {
    margin: 0 0 0 40px;
}

menu, ol, ul {
    padding: 0 0 0 40px;
}

nav ul, nav ol {
    list-style: none;
}

/* ==========================================================================
   Browser Reset / Embedded content
   ========================================================================== */

img {
    border: 0;
    -ms-interpolation-mode: bicubic;
    vertical-align: middle;
    max-width: 100%;
}

svg:not(:root) {
    overflow: hidden;
}

/* ==========================================================================
   Browser Reset / Figures
   ========================================================================== */

figure {
    margin: 0;
}

/* ==========================================================================
   Browser Reset / Forms
   ========================================================================== */

form {
    margin: 0;
}

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

legend {
    border: 0;
    padding: 0;
    white-space: normal;
    *margin-left: -7px; 
}

button, input, select, textarea {
    font-size: 100%;
    margin: 0;
    vertical-align: baseline;
    *vertical-align: middle;
}

button, input {
    line-height: normal;
}

button, select {
    text-transform: none;
}

button, html input[type="button"], input[type="reset"], input[type="submit"] {
    -webkit-appearance: button;
    cursor: pointer;
    *overflow: visible; 
}

button[disabled], html input[disabled] {
    cursor: default;
}

input[type="checkbox"], input[type="radio"] {
    box-sizing: border-box;
    padding: 0;
    *height: 13px;
    *width: 13px;
}

input[type="search"] {
    -webkit-appearance: textfield;
    -moz-box-sizing: content-box;
    -webkit-box-sizing: content-box;
    box-sizing: content-box;
}

input[type="search"]::-webkit-search-cancel-button, input[type="search"]::-webkit-search-decoration {
    -webkit-appearance: none;
}

button::-moz-focus-inner, input::-moz-focus-inner {
    border: 0;
    padding: 0;
}

textarea {
    overflow: auto;
    vertical-align: top;
    resize: vertical;
}

/* ==========================================================================
   Browser Reset / Tables
   ========================================================================== */

table {
    border-collapse: collapse;
    border-spacing: 0;
}

/* ==========================================================================
   Typography
   ========================================================================== */

@font-face {
    font-family: 'Solomon_Sans_Regular';
    src: url('/bitrix/templates/20therunet/fonts/solomon_sans_normal-webfont.eot');
    src: url('/bitrix/templates/20therunet/fonts/solomon_sans_normal-webfont.eot?#iefix') format('embedded-opentype'),
         url('/bitrix/templates/20therunet/fonts/solomon_sans_normal-webfont.woff') format('woff'),
         url('/bitrix/templates/20therunet/fonts/solomon_sans_normal-webfont.ttf') format('truetype'),
         url('/bitrix/templates/20therunet/fonts/solomon_sans_normal-webfont.svg#solomon_sans_normalregular') format('svg');
    font-weight: normal;
    font-style: normal;
}

@font-face {
    font-family: 'Solomon_Sans_Bold';
    src: url('/bitrix/templates/20therunet/fonts/solomon_sans_bold-webfont.eot');
    src: url('/bitrix/templates/20therunet/fonts/solomon_sans_bold-webfont.eot?#iefix') format('embedded-opentype'),
         url('/bitrix/templates/20therunet/fonts/solomon_sans_bold-webfont.woff') format('woff'),
         url('/bitrix/templates/20therunet/fonts/solomon_sans_bold-webfont.ttf') format('truetype'),
         url('/bitrix/templates/20therunet/fonts/solomon_sans_bold-webfont.svg#solomon_sans_boldbold') format('svg');
    font-weight: normal;
    font-style: normal;
}

@font-face {
	font-family: 'Archive';
	src: url('/bitrix/templates/20therunet/fonts/Archive.eot?') format('eot'), 
	     url('/bitrix/templates/20therunet/fonts/Archive.otf')  format('opentype'),
	     url('/bitrix/templates/20therunet/fonts/Archive.woff') format('woff'), 
	     url('/bitrix/templates/20therunet/fonts/Archive.ttf')  format('truetype'),
	     url('/bitrix/templates/20therunet/fonts/Archive.svg#Archive') format('svg');
}

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

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

h1, h2, h3, h4, h5, h6 {
    font-family: 'Solomon_Sans_Bold', Arial, 'Helvetica Neue', Helvetica, sans-serif;
    font-weight: normal;
}

h1 {
    font-size: 28px;
    line-height: 32px;
    margin: 0 0 15px;
}

h2 {
    font-size: 24px;
    line-height: 28px;
    margin: 0 0 15px;
}

h3 {
    font-size: 20px;
    line-height: 24px;
    margin: 0 0 15px;
}

h4 {
    font-size: 16px;
    line-height: 20px;
    margin: 0 0 15px;
}

h5 {
    font-size: 14px;
    line-height: 18px;
    margin: 0 0 15px;
}

h6 {
    font-size: 12px;
    line-height: 16px;
    margin: 0 0 15px;
}

abbr[title] {
    border-bottom: 1px dotted;
    cursor: help;
}

b, strong {
    font-family: 'Solomon_Sans_Bold', Arial, 'Helvetica Neue', Helvetica, sans-serif;
    font-weight: normal;
}

blockquote {
    margin: 15px 0;
}

dfn {
    font-style: italic;
}

hr {
    -moz-box-sizing: content-box;
    box-sizing: content-box;
    display: block;
    height: 1px;
    border: 0;
    border-top: 1px solid #E9E8E4;
    margin: 20px 0;
    padding: 0;
}

mark {
    background: #ff0;
    color: #000;
}

p, pre {
    margin: 0 0 15px;
}

code, kbd, pre, samp {
    font-family: monospace, serif;
    _font-family: 'courier new', monospace;
    font-size: 1em;
}

pre {
    white-space: pre;
    white-space: pre-wrap;
    word-wrap: break-word;
}

q {
    quotes: none;
}

q:before,
q:after {
    content: '';
    content: none;
}

small {
    font-size: 80%;
}

sub, sup {
    font-size: 75%;
    line-height: 0;
    position: relative;
    vertical-align: baseline;
}

sup {
    top: -0.5em;
}

sub {
    bottom: -0.25em;
}

a {
    text-decoration: none;
}

a:hover {
    text-decoration: underline;
}

/* ==========================================================================
   Author's custom styles
   ========================================================================== */

html, body {
    height: 100%;
}

body {
    font: 15px/20px 'Solomon_Sans_Regular', Arial, 'Helvetica Neue', Helvetica, sans-serif;
    color: #07070c;
    background: #F7F6F3;
    background: #07070C;
    overflow: auto;
    overflow-x: hidden;
}

.js {
    overflow: hidden;
}

#loading {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    min-height: 100%;
    height: 100%;
    z-index: 999;
    background: #000;
}

#loading span {
    display: block;
    width: 24px;
    height: 24px;
    background: url('/bitrix/templates/20therunet/images/loading.gif') 0 0 no-repeat;
    position: absolute;
    top: 50%;
    left: 50%;
    margin: -12px 0 0 -12px;
}

/* ==========================================================================
   Custom-elemetns
   ========================================================================== */

.custom-text {
    background: none;
    border: 1px solid #07070C;
    width: 100%;
    font: 15px/30px 'Solomon_Sans_bold', Arial, 'Helvetica Neue', Helvetica, sans-serif;
    color: #919199;
    height: 60px;
    padding: 15px 25px;
    -moz-box-sizing: border-box;
    -webkit-box-sizing: border-box;
    box-sizing: border-box;
    -webkit-border-radius: 0;
    -moz-border-radius: 0;
    border-radius: 0;
    box-shadow: none;
    max-width: 100%;
}

.custom-text.no-focus:focus {
    background: none;
}

.custom-text:focus {
    border-color: #629F52;
    color: #07070c;
    background: #fff;
}

.custom-textarea {
    background: none;
    border: 1px solid #07070C;
    width: 100%;
    font: 20px/30px 'Solomon_Sans_Regular', Arial, 'Helvetica Neue', Helvetica, sans-serif;
    color: #919199;
    height: 30px;
    padding: 15px 25px;
    -moz-box-sizing: border-box;
    -webkit-box-sizing: border-box;
    box-sizing: border-box;
    -webkit-border-radius: 0;
    -moz-border-radius: 0;
    border-radius: 0;
    box-shadow: none;
    resize: none;
    overflow: hidden;
    max-width: 100%;
}

.custom-textarea:focus {
    border-color: #629F52;
    color: #07070c;
}

.btn-add {
    display: block;
    width: 58px;
    height: 58px;
    line-height: 58px;
    border: 1px solid #629F52;
    text-align: center;
    margin: 25px 0 0;
}

.btn-add:hover {
    background: #629F52;
}

.btn {
    display: -moz-inline-box;
    display: inline-block;
    *display: inline;
    *zoom: 1;
    vertical-align: middle;
    height: 60px;
    padding: 0 60px;
    text-align: center;
    border: none;
    background: #E1E0DF;
    font: 16px/1 'Solomon_Sans_Bold', Arial, 'Helvetica Neue', Helvetica, sans-serif;
    text-transform: uppercase;
    color: #919199;
    max-width: 100%;
}

.btn:hover {
    background: #D2F4C1;
    color: #07070c;
}

.link-remove {
    color: #df1f3f;
    font-family: 'Solomon_Sans_Regular', Arial, 'Helvetica Neue', Helvetica, sans-serif;
    margin: 0 0 0 10px;
}

/* ==========================================================================
   Icons
   ========================================================================== */

.icon-vk, .icon-fb, .icon-tw, .btn-toggle {
    display: block;
    width: 36px;
    height: 36px;
    margin: 0 auto;
    border-radius: 3px;
    position: relative;
    text-indent: -9999px;
    -webkit-transition: .2s all ease;
    -moz-transition: .2s all ease;
    transition: .2s all ease; 
}

.btn-toggle {
    display: none;
    position: absolute;
    top: 5px;
    left: 50%;
    margin: 0 0 0 -18px;
}

.btn-toggle:hover:after {
   background-position: -30px -167px;
}

.icon-vk:hover {
    background: #3E6898;
}

.icon-fb:hover {
    background: #3C5A98;
}

.icon-tw:hover {
    background: #2BA8DE;
}

/* -- */

.icon-vk:after, .icon-fb:after, .icon-tw:after, .btn-toggle:after {
    content: ' ';
    display: block;
    text-indent: -9999px;
    background: url('/bitrix/templates/20therunet/images/icons.png') 0 0 no-repeat;
    position: absolute;
    top: 50%;
    left: 50%;
}

.btn-toggle:after {
    background-position: 0 -167px;
    width: 25px;
    height: 20px;
    margin: -10px 0 0 -12px;
}

.icon-vk:after {
    width: 18px;
    height: 22px;
    background-position: 0 -1px;
    margin: -11px 0 0 -9px;
}

.icon-vk:hover:after {
    background-position: 0 -31px;
}

.icon-fb:after {
    width: 12px;
    height: 25px;
    background-position: -23px 0;
    margin: -13px 0 0 -6px;
}

.icon-fb:hover:after {
    background-position: -23px -30px;
}

.icon-tw:after {
    width: 26px;
    height: 22px;
    background-position: -40px -1px;
    margin: -11px 0 0 -13px;
}

.icon-tw:hover:after {
    background-position: -40px -31px;
}

/* --- */

.icon-flag, .icon-person, .icon-org, .icon-video, .icon-photo, .icon-play:after, .icon-plus {
    display: -moz-inline-box;
    display: inline-block;
    *display: inline;
    *zoom: 1;
    vertical-align: middle;
    position: relative;
    background: url('/bitrix/templates/20therunet/images/icons.png') 0 0 no-repeat;
}

.icon-flag {
    width: 12px;
    height: 16px;
    background-position: -71px 0
}

.icon-flag:hover, .icon-flag.active {
    background-position: -90px 0;
}

.icon-person {
    width: 8px;
    height: 16px;
    background-position: -71px -21px;
}

.icon-person:hover, .icon-person.active {
    background-position: -90px -21px;
}

.icon-org {
    width: 13px;
    height: 16px;
    background-position: -71px -42px;
}

.icon-org:hover, .icon-org.active {
    background-position: -90px -42px;
}

.icon-video {
    width: 14px;
    height: 10px;
    background-position: -71px -82px;
}

.icon-video:hover, .icon-video.active {
    background-position: -90px -82px;
}

.icon-photo {
    width: 16px;
    height: 14px;
    background-position: -68px -63px;
}

.icon-photo:hover, .icon-photo.active {
    background-position: -90px -63px;
}

.icon-play {
    display: block;
    position: absolute;
    top: 50%;
    left: 50%;
    width: 64px;
    height: 64px;
    border-radius: 50%;
    margin: -32px 0 0 -32px;
    background: rgba(0,0,0,0.7);
}

.icon-play:after {
    content: ' ';
    display: block;
    width: 28px;
    height: 32px;
    background-position: -110px -37px;
    position: absolute;
    top: 50%;
    left: 50%;
    margin: -16px 0 0 -10px;
}

.icon-plus {
    width: 32px;
    height: 32px;
    background-position: -71px -98px;
}

.btn-add:hover .icon-plus, .btn-add_large:hover .icon-plus {
    background-position: -71px -136px;
}


.icon-remove {
    display: block;
    width: 64px;
    height: 64px;
    margin: 0;
    position: absolute;
    top: 50%;
    left: 50%;
    margin: -32px 0 0 -32px;
    background: rgba(7,7,12,0.7);
    border-radius: 50%;
    text-indent: -9999px;
    cursor: pointer;
}
.icon-remove:after {
    content: ' ';
    display: block;
    width: 24px;
    height: 24px;
    background:  url('/bitrix/templates/20therunet/images/icons.png') 0 -60px no-repeat;
    position: absolute;
    top: 50%;
    left: 50%;
    margin: -12px 0 0 -12px;
}

.icon-remove:hover:after {
    background-position: -29px -60px;
}


/* ==========================================================================
   Scrollbar
   ========================================================================== */

.mCSB_container{
    width:auto;
    margin-right:25px;
    overflow:hidden;
}
.mCSB_container.mCS_no_scrollbar{
    margin-right:0;
}
.mCS_disabled>.mCustomScrollBox>.mCSB_container.mCS_no_scrollbar,
.mCS_destroyed>.mCustomScrollBox>.mCSB_container.mCS_no_scrollbar{
    margin-right:30px;
}
.mCustomScrollBox>.mCSB_scrollTools{
    width:16px;
    height:100%;
    top:0;
    right:0;
}
.mCSB_scrollTools .mCSB_draggerContainer{
    position:absolute;
    top:0;
    left:9px;
    bottom:0;
    right:0; 
    height:auto;

    margin: 3px 0;
}
.mCSB_scrollTools a+.mCSB_draggerContainer{
    margin:20px 0;

}
.mCSB_scrollTools .mCSB_draggerRail{
    width:1px;
    height:100%;
    margin:0 auto;
}
.mCSB_scrollTools .mCSB_dragger{
    cursor:pointer;
    width:100%;
    height:30px;
}
.mCSB_scrollTools .mCSB_dragger .mCSB_dragger_bar{
    width:3px;
    height:100%;
    margin:0 auto;

    text-align:center;
}
.mCSB_scrollTools .mCSB_buttonUp,
.mCSB_scrollTools .mCSB_buttonDown{
    display:block;
    position:relative;
    height:20px;
    overflow:hidden;
    margin:0 auto;
    cursor:pointer;
}
.mCSB_scrollTools .mCSB_buttonDown{
    top:100%;
    margin-top:-40px;
}

/* default scrollbar */

.mCustomScrollBox>.mCSB_scrollTools{
    opacity:0.75;
    filter:"alpha(opacity=75)"; -ms-filter:"alpha(opacity=75)"; /* old ie */
}
.mCustomScrollBox:hover>.mCSB_scrollTools{
    opacity:1;
    filter:"alpha(opacity=100)"; -ms-filter:"alpha(opacity=100)"; /* old ie */
}
.mCSB_scrollTools .mCSB_draggerRail{
    background:#000;
    background:rgba(0,0,0,0.4);
    filter:"alpha(opacity=40)"; -ms-filter:"alpha(opacity=40)"; /* old ie */
}
.mCSB_scrollTools .mCSB_dragger .mCSB_dragger_bar{
    background:#4F4F51; 
}
.mCSB_scrollTools .mCSB_dragger:hover .mCSB_dragger_bar{
    border: 1px solid #fff;
    box-shadow: 0 0 0 1px #4F4F51;
}
.mCSB_scrollTools .mCSB_dragger:active .mCSB_dragger_bar,
.mCSB_scrollTools .mCSB_dragger.mCSB_dragger_onDrag .mCSB_dragger_bar{
    border: 1px solid #fff;
    box-shadow: 0 0 0 1px #4F4F51;
}

/* ==========================================================================
   Modal Colorbox
   ========================================================================== */
/* ==========================================================================
   Modal Colorbox
   ========================================================================== */

#colorbox, #cboxOverlay, #cboxWrapper {
    z-index: 100 !important;
}

#colorbox, #cboxOverlay, #cboxWrapper{position:absolute; top:0; left:0; z-index:9999;}
#cboxWrapper {max-width:none;}
#cboxOverlay{position:fixed; width:100%; height:100%;}
#cboxMiddleLeft, #cboxBottomLeft{clear:left;}
#cboxContent{position:relative;}
#cboxLoadedContent{overflow: visible !important; -webkit-overflow-scrolling: touch;}
#cboxTitle{margin:0;}
#cboxLoadingOverlay, #cboxLoadingGraphic{position:absolute; top:0; left:0; width:100%; height:100%;}
#cboxPrevious, #cboxNext, #cboxClose, #cboxSlideshow{cursor:pointer;}
.cboxPhoto{float:left; margin:auto; border:0; display:block; max-width:none; -ms-interpolation-mode:bicubic;}
.cboxIframe{width:100%; height:100%; display:block; border:0;}
#colorbox, #cboxContent, #cboxLoadedContent{box-sizing:content-box; -moz-box-sizing:content-box; -webkit-box-sizing:content-box;}

/* 
    User Style:
    Change the following styles to modify the appearance of Colorbox.  They are
    ordered & tabbed in a way that represents the nesting of the generated HTML.
*/

#cboxOverlay{background:rgba(0,0,0,0.9);}
#colorbox{outline:0;}
#cboxTopLeft,
#cboxTopRight,
#cboxBottomLeft, 
#cboxBottomRight, 
#cboxMiddleLeft, 
#cboxMiddleRight, 
#cboxTopCenter, 
#cboxBottomCenter,
#cboxTitle,
#cboxCurrent {
    display: none !important;
}
#cboxContent{/*background:#fff;*/overflow: visible !important;}
.cboxIframe{background:#fff;}
#cboxError{padding:40px; border:1px solid #ccc; background: #FAF9F5; white-space: nowrap; width: 200px; margin: 0 auto;text-align: center; font-weight: 700; font-size: 15px;}
#cboxLoadedContent{}
#cboxLoadingOverlay{background:url('/bitrix/templates/20therunet/images/loading_background.png') no-repeat center center;}
#cboxLoadingGraphic{background:url('/bitrix/templates/20therunet/images/loading.gif') no-repeat center center;}

    
#cboxPrevious, #cboxNext, #cboxSlideshow, #cboxClose {border:0; padding:0; margin:0; overflow:visible; width:auto; background:none; }
    
#cboxPrevious:active, #cboxNext:active, #cboxSlideshow:active, #cboxClose:active {outline:0;}


#cboxClose {
    display: block;
    width: 64px;
    height: 64px;
    margin: 0;
    position: fixed;
    top: 20px;
    right: 20px;
    background: rgba(7,7,12,0.7);
    border-radius: 50%;
    text-indent: -9999px;
}
#cboxClose:after {
    content: ' ';
    display: block;
    width: 24px;
    height: 24px;
    background:  url('/bitrix/templates/20therunet/images/icons.png') 0 -60px no-repeat;
    position: absolute;
    top: 50%;
    left: 50%;
    margin: -12px 0 0 -12px;
}

#cboxClose:hover:after {
    background-position: -29px -60px;
}

.event-edit {
    display: block;
    width: 64px;
    height: 64px;
    margin: 0;
    position: absolute;
    bottom: 5%;
    right: 5%;
    background: rgba(7,7,12,0.7);
    border-radius: 50%;
    text-indent: -9999px;
    display: none;
}
.event-edit:after {
    content: ' ';
    display: block;
    width: 17px;
    height: 17px;
    background:  url('/bitrix/templates/20therunet/images/icons.png') -46px -89px no-repeat;
    position: absolute;
    top: 50%;
    left: 50%;
    margin: -9px 0 0 -9px;
}

.event-edit:hover:after {
    background-position: -46px -111px;
}

#cboxPrevious, #cboxNext {
    display: block;
    width: 64px;
    height: 64px;
    margin: -32px 0 0;
    position: fixed;
    top: 50%;
    background: rgba(7,7,12,0.7);
    border-radius: 50%;
    text-indent: -9999px;
    display: none;
    z-index: 99999;
}

.no-fixed-supported #colorbox {
    text-align: center;
}

.no-fixed-supported #cboxPrevious, .no-fixed-supported #cboxNext, .no-fixed-supported #cboxClose {
    position: relative;
}

.no-fixed-supported #cboxPrevious, .no-fixed-supported #cboxNext, .no-fixed-supported #cboxClose{
    margin: 0;
    top: 100px;
}

.no-fixed-supported #cboxClose {
    top: 20px;
}

#cboxPrevious {
    left: 20px;
}

#cboxNext {
    right: 20px;
}

#cboxPrevious:after, #cboxNext:after {
    content: ' ';
    display: block;
    width: 18px;
    height: 34px;
    background:  url('/bitrix/templates/20therunet/images/icons.png') 0 0 no-repeat;
    position: absolute;
    top: 50%;
    left: 50%;
    margin: -16px 0 0 0;
}

#cboxPrevious:after {
    background-position: 0 -89px;
    margin-left: -12px;
}

#cboxNext:after {
    background-position: -23px -89px;
    margin-left: -6px;
}

#cboxPrevious:hover:after {
    background-position: 0 -128px;
}

#cboxNext:hover:after {
    background-position: -23px -128px;
}

/* ==========================================================================
   Header
   ========================================================================== */

.header {
    background: #b0cb1d url('/bitrix/templates/20therunet/images/bg-header.jpg') left top no-repeat;
    width: 280px;
    padding: 0 30px;
    height: 100%;
    min-height: 100%;
    float: left;
    position: relative;
    z-index: 99;
/*    -webkit-transition: .2s all ease;
    -moz-transition: .2s all ease;
    transition: .2s all ease; */
/*    -moz-background-size: 100%;
    -webkit-background-size: 100%;
    -o-background-size: 100%;
    background-size: 100%;*/
}

.header hr {
    border-color: #fff;
    margin: 25px 0;
}

.header a {
    color: #faf9f5;
}

.header a:hover {
    text-decoration: none;
    color: #E86C22;
}


.logo {
    font: 60px/70px 'Solomon_Sans_Regular', Arial, 'Helvetica Neue', Helvetica, sans-serif;
    display: block;
    margin: 0;
    padding: 95px 0 0;
    color: #fff;
}

.social {
    margin: 0;
    padding: 0;
    list-style: none;
    position: absolute;
    left: 30px;
    right: 30px;
    bottom: 0;
    text-align: justify;
    text-justify: newspaper;
    zoom:1;
    text-align-last: justify;
}

.social:after {
    width: 100%; 
    height: 0px;
    visibility: hidden;
    overflow: hidden;
    content: '';
    display: inline-block;
}

.social > li {
    display: -moz-inline-box;
    display: inline-block;
    *display: inline;
    *zoom: 1;
    vertical-align: middle;
}

/* ==========================================================================
   Main
   ========================================================================== */

.main {
    overflow: hidden;
}

.years {
    width: 100%;
    overflow: hidden; 
    height: 100%;
    position: relative;
}

.years-carousel {
    margin: 0;
    padding: 0;
    list-style: none;
    white-space: nowrap;
    min-height: 100%;
    cursor: default;
}

.years-carousel > li {
    display: -moz-inline-box;
    display: inline-block;
    *display: inline;
    *zoom: 1;
    vertical-align: top;
    position: relative;
    width: 344px;
    white-space: normal;
    margin: 0 -4px 0 0 !important;
    background: #faf9f5;
    box-shadow: inset -10px 0 20px #e1e1e5;
    height: 100%;
}

.years-carousel > li:after {
    content: ' ';
    display: block;
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(7,7,12,0.2);
    opacity: 0;
    visibility: hidden;
    -webkit-transition: all .2s ease-out;
    -moz-transition: all .2s ease-out;
    -ms-transition: all .2s ease-out;
    -o-transition: all .2s ease-out;
    transition: all .2s ease-out;
}

.years-carousel:hover > li:after {
    opacity: 1;
    visibility: visible;
}

.years-carousel:hover > li:hover:after {
    opacity: 0;
    visibility: hidden;
}

.years-carousel-prev, .years-carousel-next, .event-add-link, .artifact-add-link {
    display: block;
    width: 64px;
    height: 64px;
    margin: -32px 0 0;
    position: absolute;
    top: 50%;
    background: rgba(7,7,12,0.7);
    border-radius: 50%;
    text-indent: -9999px;
    display: none;
    -webkit-transition: all .2s ease-out;
    -moz-transition: all .2s ease-out;
    -ms-transition: all .2s ease-out;
    -o-transition: all .2s ease-out;
    transition: all .2s ease-out;
}

.years-carousel-prev.disabled, .years-carousel-next.disabled {
    opacity: 0;
}

.years-carousel-prev {
    left: 20px;
}

.years-carousel-next, .event-add-link, .artifact-add-link {
    right: 20px;
}

.years-carousel-prev:after, .years-carousel-next:after, .event-add-link:after, .artifact-add-link:after {
    content: ' ';
    display: block;
    width: 18px;
    height: 34px;
    background:  url('/bitrix/templates/20therunet/images/icons.png') 0 0 no-repeat;
    position: absolute;
    top: 50%;
    left: 50%;
    margin: -16px 0 0 0;
}

.years-carousel-prev:after {
    background-position: 0 -89px;
    margin-left: -12px;
}

.years-carousel-next:after, .event-add-link:after, .artifact-add-link:after {
    background-position: -23px -89px;
    margin-left: -6px;
}

.years-carousel-prev:hover:after {
    background-position: 0 -128px;
}

.years-carousel-next:hover:after, .event-add-link:hover:after, .artifact-add-link:hover:after {
    background-position: -23px -128px;
}

.event-add-link, .artifact-add-link {
  bottom: 20px;
  display: inline;
  top: auto;
  background: rgba(13,92,30,0.7);
}
.artifact-add-link {
	bottom: 100px;
	background: rgba(255,0,0,0.7);
}
.event-add-link:after, .artifact-add-link:after {
  width: 32px;
  margin-left: -15px;
  background-position: -71px -136px;
}
.event-add-link:hover:after{
  background-position: -71px -98px;
}
.artifact-add-link:hover:after {
	background-position: -71px -136px;
}
/* --- */

.years-item {
    padding: 21px 27px;
}


.years-item_title {
    display: block;
    border-bottom: 1px solid #4F4F51;
    font-size: 23px;
    line-height: 27px;
    color: #07070c;
    margin: 0;
    padding: 0 0 20px;
}

.years-item_content {
    overflow: auto;
    margin: 25px -3px 25px 0;
}

.years-event {
    min-height: 457px;
    border-top: 1px solid #4F4F51;
    position: relative;
    top: -1px;
    padding: 27px 0 0;
    margin: 0;
    display: block;
    text-decoration: none;
    color: #07070c;
}

.years-event:hover {
    text-decoration: none;
    color: #808080;
}

.years-event:hover .years-event_image {
    opacity: 0.7;
}

.years-event:first-child {
    padding: 0;
}

.years-event_image {
    display: block;
    width: 100%;
    margin: 0 0 24px;
    overflow: hidden;
}

.years-event_image img {
    width: auto;
}

.years-event_date {
    display: block;
    margin: 0 0 12px;
    font: 15px/18px 'Solomon_Sans_Bold', Arial, 'Helvetica Neue', Helvetica, sans-serif;
}

.years-event_title {
    font-size: 23px;
    line-height: 27px;
    margin: 0 0 10px;
}

.years-event_title a {
    color: #07070c;
    display: block;
}


/* ==========================================================================
   Modal event
   ========================================================================== */ 

.event {
    padding: 20px;
    max-width: 740px;
    margin: 20px auto;
    background: #FAF9F5;
    position: relative;
}

.event-head {
    overflow: hidden;
    border-bottom: 1px solid #4F4F51;
    padding: 7px 0 24px;
    margin: 0 0 27px;
}
.event-head>a{color: #000;text-decoration:underline;font-weight:bold;}

.event-author {
    float: right;
    position: relative;
    padding: 0 0 0 30px;
}

.event-author:after {
    content: ' ';
    display: block;
    background: url('/bitrix/templates/20therunet/images/icons.png') -47px -133px no-repeat;
    width: 12px;
    height: 13px;
    position: absolute;
    top: 50%;
    margin: -7px 0 0;
    left: 0;
}

.event-author a {
    color: #07070c;
}

.event-year {
    margin: 3px 15px 0 0;
    font-size: 15px;
    display: -moz-inline-box;
    display: inline-block;
    *display: inline;
    *zoom: 1;
    vertical-align: top;
}

.event-filter {
    margin: 0;
    padding: 0;
    list-style: none;
    display: -moz-inline-box;
    display: inline-block;
    *display: inline;
    *zoom: 1;
    vertical-align: top;
    line-height: 20px;
}

.event-filter > li {
    display: -moz-inline-box;
    display: inline-block;
    *display: inline;
    *zoom: 1;
    vertical-align: middle;
    margin: 0 15px;
}

.event-content {
    font-size: 20px;
    line-height: 30px;
}

.event-image {
    margin: 0 0 20px;
}

.event-date {
    display: block;
    margin: 0 0 12px;
    font: 15px/18px 'Solomon_Sans_Bold', Arial, 'Helvetica Neue', Helvetica, sans-serif;
}

.event-title {
    font-size: 42px;
    line-height: 44px;
    margin: 0 0 20px;
}
.event-title a {color: #000; text-decoration: underline;}

.event-person, .event-org, .event-video, .event-photo{font: 15px/24px 'Solomon_Sans_Bold', Arial, 'Helvetica Neue', Helvetica, sans-serif;  }
.event-person, .event-org{
    position: relative;
    margin: 6px 0 0;
    padding: 0 0 0 25px;
    width: 40%;
    font: 15px/24px 'Solomon_Sans_Bold', Arial, 'Helvetica Neue', Helvetica, sans-serif;  
}

.event-person {
    float: left;   
}

.event-org {
    float: right;
}

.event-person:after, .event-org:after {
    content: ' ';
    display: block;
    background: url('/bitrix/templates/20therunet/images/icons.png') 0 0 no-repeat;
    position: absolute;
    top: 3px;
    left: 0;
}

.event-person:after {
    width: 8px;
    height: 16px;
    background-position: -90px -21px;
}

.event-org:after {
    width: 13px;
    height: 16px;
    background-position: -90px -42px;
}



.event-person_list, .event-org_list {
    margin: 0;
    padding: 0;
    list-style: none;
}

/* --- */

.event-video, .event-photo {
    
}

.event-video_head, .event-photo_head {
    font-size: 15px;
    line-height: 21px;
    display: block;
    margin: 0 0 20px;
    padding: 0 0 0 24px;
    position: relative;
}

.event-video_head:after, .event-photo_head:after {
    content: ' ';
    display: block;
    background: url('/bitrix/templates/20therunet/images/icons.png') 0 0 no-repeat;
    position: absolute;
    top: 0;
    left: 0;
}

.event-video_head:after {
    width: 14px;
    height: 10px;
    top: 5px;
    background-position: -90px -82px;
}

.event-photo_head:after {
    width: 16px;
    height: 14px;
    top: 2px;
    background-position: -90px -63px;
}

.event-video_list, .event-photo_list {
    margin: 0 0 -10px -20px;
    padding: 0;
    list-style: none;
}

.event-video_list > li, .event-photo_list > li {
    width: 360px;
    height: 230px;
    display: -moz-inline-box;
    display: inline-block;
    *display: inline;
    *zoom: 1;
    vertical-align: top;
    margin: 0 -4px 20px 20px;
    position: relative;
}

.btn-add_large {
    display: block;
    height: 158px;
    border: 1px solid #80B173;
    text-align: center;
    vertical-align: top;
    color: #629f52;
    font-size: 15px;
    line-height: 32px;
    padding: 70px 0 0;
}

.btn-add_large .icon-plus {
    margin: 0 0 10px;
}

.btn-add_large b {
    display: block;
}

.btn-add_large mark {
    display: block;
    background: none;
    color: #919199;
}


.btn-add_large:hover {
    text-decoration: none;
    background: #80B173;
    color: #fff;
}

.btn-add_large:hover mark {
    color: #fff;
}


.event-video_list img, .event-photo_list img {
    display: block;
    width: 100%;
    height: 230px;
}

.event-video_list a, .event-photo_list a {
    display: block;
    position: relative;
}


.event-footer {
    overflow: hidden;
}

.event-footer p {
    margin: 0;
}

.event-footer a {
    color: #808080;
    text-decoration: underline;
}

.event-footer a:hover {
    text-decoration: none;
}



/* ==========================================================================
   Modal event add
   ========================================================================== */ 

.event-add {
    padding: 20px 40px;
    max-width: 740px;
    margin: 20px auto;
    background: #FAF9F5;
    position: relative; 
}


.bg-yellow {
    background: #F5F3C1;
}

.bg-green {
    background: #D2F4C1;
}

.event-add-head {
    padding: 20px 40px;
    width: 100%;
    margin: -20px 0 30px -40px;
}

.event-add-head_title {
    font-size: 20px;
    line-height: 24px;
    display: block;
    border-bottom: 1px solid #4F4F51;
    padding: 0 0 24px;
    margin: 0 0 30px;
}

.event-caption {
    color: #919199;
    margin: 0;
    line-height: 24px;
    padding: 6px 0;
}


.row {
    display: inline-block;
    width: 100%;
    margin: 10px 0;
}

.row-field {
    float: left;
    width: 360px;
    margin: 0 0 0 20px;
}

.row .row-field:first-child {
    margin: 0;
}


.event-add-date {
    width: 260px;
    margin: 0 0 30px;
    position: relative;
}

.event-add-date:after {
    content: ' ';
    display: block;
    border-top: 5px solid #919199;
    border-left: 5px solid transparent;
    border-right: 5px solid transparent;
    position: absolute;
    top: 50%;
    right: 20px;
    margin: -3px 0 0;
}


.event-add-heading {
    margin: 0 0 30px;
}

.event-add-heading .custom-textarea {
    border: none;
    padding: 0;
    color: #07070c;
    font: 42px/50px 'Solomon_Sans_bold', Arial, 'Helvetica Neue', Helvetica, sans-serif;
}

.event-add-text .custom-textarea {
    border: none;
    padding: 0;
    color: #07070c;
}

.event-add .event-person, .event-add .event-org {
    float: none;
}

.event-add-footer {
    text-align: center;
}


.event-add .event-person, .event-add .event-org {
    width: auto;
}

/* ==========================================================================
   Media Queries
   ========================================================================== */

/* Landscape phone to portrait tablet */
@media (max-height: 760px) {
	.banners {display: none;}
}
@media (max-height: 550px) {
	.org {display: none;}
}

@media (min-width: 768px) and (max-width: 979px) {

   .header {
        width: 50px;
        background-position: -100% 0;
        padding: 0;
   }

   .header-section {
        display: none;
   }

   .social {
        text-align: center;
        left: 0;
        right: 0;
        bottom: 0;
   }

   .social:after {
        display: none;
   }

   .social > li {
        display: block;
        width: 40px;
        margin: 0 auto 10px;
   }

   .btn-toggle {
        display: block;
   }

   body.active .header {
        width: 280px;
        padding: 0 30px;
        background-position: right 0;
   }

   body.active .header-section {
        display: block;
   }

   body.active .social {
        text-align: justify;
        left: 30px;
        right: 30px;
   }

   body.active .social:after {
        display: inline-block;
   }

   body.active .social > li {
        display: -moz-inline-box;
        display: inline-block;
        *display: inline;
        *zoom: 1;
        vertical-align: middle;
        width: auto;
        margin: 0;
    }

    .event, .event-add {
        max-width: 540px;
    }

    .event-video_list > li, .event-photo_list > li {
        width: 260px;
        height: 160px;
        display: -moz-inline-box;
        display: inline-block;
        *display: inline;
        *zoom: 1;
        vertical-align: top;
        margin: 0 -4px 20px 20px;
    }

    .event-video_list img, .event-photo_list img {
        height: 160px;
    }

    .btn-add_large {
        height: 130px;
        padding: 30px 0 0;
    }
        
}

/* Landscape phones and down */
@media (max-width: 767px) {

    .event-add-heading .custom-textarea {
        font-size: 24px;
        line-height: 28px;
    }

    .js {
        overflow: visible;
    } 
    
    .header {
        width: auto;
        padding: 75px 25px;
        min-height: 0;
        height: auto;
        float: none;
				background-position: left -40px;
    }

    .header-section {
        display: block;
        margin: 0 0 20px;
    }

    .btn-toggle {
        display: none;
    }


    .logo br {
        display: none;
    }

    .social {
        position: relative;
        left: -10px;
        right: 0;
        bottom: -90px;
        text-align: left;
    }

    .social > li {
        margin: 0 0 20px 20px;
    }

    .social > li:first-child {
        margin-left: 0;
    }

    .years-carousel {
        white-space: normal;
    }

    .years-carousel > li {
        width: auto;
        margin: 0 !important;
    }

    .event, .event-add {
        max-width: 360px;
    }

    .event-video_list, .event-photo_list {
        margin-left: -10px;
    }

    .event-video_list > li, .event-photo_list > li {
        width: 175px;
        height: 100px;
        display: -moz-inline-box;
        display: inline-block;
        *display: inline;
        *zoom: 1;
        vertical-align: top;
        margin: 0 -4px 10px 10px;
    }

    .event-video_list img, .event-photo_list img, .btn-add_large {
        height: 100px;
    }

    .btn-add_large {
        height: 90px;
        padding: 10px 0 0;
        line-height: 20px;
        font-size: 13px;
    }

    .event-author {
        float: none;
        display: block;
        margin: 0 0 10px;
    }

    .event-footer .pull-right, .event-footer .pull-left {
        float: none;
    }

    .years-carousel-prev, .years-carousel-next {
        top: auto;
        bottom: 0;
        margin: 0;
        width: 50%;
        border-radius: 0;
        background: #000;
    }

    .years-carousel-prev {left: 0; border-right: 1px solid #FAF9F5;}
    .years-carousel-next {right: 0; border-left: 1px solid #FAF9F5;}

    .years-carousel-prev.disabled, .years-carousel-next.disabled {
        opacity: 0.2;
        cursor: default;
    }
    
    .years {
        padding: 0 0 64px;
        height: auto;
        background: #FAF9F5;
    }
    
}

/* Landscape phones and down */

@media (max-width: 480px) {

    

    .event, .event-add {
        max-width: 280px;
        padding: 15px;
    }

    .event-add-date {
        width: 280px;
    }

    .custom-text {
        width: 280px;
    }

    .btn {
        padding: 0;
        width: 100%;
    }

    .event-video_list, .event-photo_list {
        margin: 0;
    }
    
    .event-video_list > li, .event-photo_list > li {
        width: 100%;
        height: 140px;
        display: -moz-inline-box;
        display: inline-block;
        *display: inline;
        *zoom: 1;
        vertical-align: top;
        margin: 0 0 10px 0;
    }

    .event-video_list img, .event-photo_list img {
        height: 140px;
    }

    .btn-add_large {
        height: 110px;
        padding: 30px 0 0;

    }

    .btn-add_large .icon-plus {
        margin-bottom: 5px;
    }

}

@media (max-width: 320px) { 
    .event, .event-add {
        max-width: 280px;
    }

    .custom-text {
        width: 280px;
    }
}

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

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

.clearfix:after {
    clear: both;
}

.clearfix {
    *zoom: 1;
}

.pull-left { 
    float: left;
}

.pull-right {
    float: right;
}

.text-left { 
    text-align: left;
}
.text-right { 
    text-align: right;
 }
.text-center { 
    text-align: center;
}

.inline { 
    display: -moz-inline-box;
    display: inline-block;
    *display: inline;
    *zoom: 1;
    vertical-align: top;
}

.transition { 
    -webkit-transition: all .2s ease-out;
    -moz-transition: all .2s ease-out;
    -ms-transition: all .2s ease-out;
    -o-transition: all .2s ease-out;
    transition: all .2s ease-out;
}

.text-shadow { 
    text-shadow: 1px 1px 0 #666;
}

.text-overflow {
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
}

.image { 
    overflow: hidden;
    display: table;
    vertical-align: middle;
    text-align: center; 
    width: 170px; 
    height: 90px; 
    position:relative;
}

.chronicle {
	list-style: none;
	list-style-type: none;
	padding: 0;
	margin: 50px 0 0;
}
.chronicle li{
	width: 270px; 
	background-color: #dddddd;
	margin: 0 20px 30px;
	display: inline-block;
	line-height: 175px;
	text-align: center;
	font-family: 'Archive';
	font-size: 50px;
}
.chronicle li.disabled {
	-moz-opacity: 0.60;
	opacity: 0.60;
	-ms-filter:"progid:DXImageTransform.Microsoft.Alpha"(Opacity=60);
}
.chronicle li, .chronicle li a {
	color: #fff;
	height: 175px;
}
.chronicle li a {
	display: block;
	text-decoration: none;
}
.chronicle-item .videowrapper {
    float: none;
    clear: both;
    width: 100%;
    position: relative;
    padding-bottom: 56.25%;
    padding-top: 25px;
    height: 0;
}
.chronicle-item .videowrapper iframe {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
}
/* End */
