body,
h1,
h2,
h3,
h4,
h5,
h6,
.h1,
.h2,
.h3,
.h4,
.h5,
.h6 {
  font-family: "Noto Sans",Helvetica, Arial, sans-serif!important;
}
body {
 /*padding: 50px;*/
  font-size: 14px/*"Lucida Grande", Helvetica, Arial,Centory Gothic, sans-serif*/;
  /*display: flex;
  flex-direction: column;
  min-height: 100vh;*/
}



a {
  color: #00B7FF;
}
footer a{color:#fbf6e9!important;}
.p-10{
  padding-left:10rem;
  padding-right:10rem;
}
@media (max-width: 576px) {
  .container-fluid{padding-left:3rem!important; padding-right:3rem!important;}
}
/*FOR EVENTS*/
.month{
  background: #6091ba;
  color: #fff;
  display: block;
  font-size: 13px;
  text-transform: uppercase;
}
.date-number{
  clear: left;
  display: block;
  padding-top: 5px;
  font-size: 15px;
  font-family: 'open sans', arial, sans-serif;
  font-weight: 500;
}
.date-label{
  background: #f5f5f5;
  display: inline-block;
  width: 70px;
  height: 60px;
  text-align: center;
  font-size: 13px;
}
.event-item{
  position: relative;
  padding-left: 80px;
  border-bottom: 1px solid #e8e8e8;
  padding-bottom: 10px;
  margin-bottom: 15px;
}
.event-item .date-label{
 background: #d4d5d6;
  position: absolute;
  left: 0;
}
.event-item h2.title{
  margin-bottom:20px;
  font-size:12px;
}
.section-heading .line{
  /*border-top: 2px solid #6091ba*/
  display: inline-block;
  padding: 0 15px;
  padding-top: 5px;
}
.section-heading{
  font-size: 22px;
  font-weight: 300;
  line-height: 2;
  margin-top: 0;
  color: #2f506c;
}
.details h2{
  font-family: 'open sans', arial, sans-serif;
  font-weight: 300;}

/* style menu */
/*.navbar-brand {
  width: 70px;
  height: 50px;
  background: inherit;
  background-size: 50px;
}
.nav-tabs {
  display: inline-block;
  border-bottom: none;
  padding-top: 15px;
  font-weight: bold;
}
.nav-tabs > li > a,
.nav-tabs > li > a:hover,
.nav-tabs > li > a:focus,
.nav-tabs > li.active > a,
.nav-tabs > li.active > a:hover,
.nav-tabs > li.active > a:focus {
  border: none;
  border-radius: 0;
}
.nav-list { border-bottom: 1px solid #eee; }
.nav-list > li {
  padding: 20px 15px 15px!important;
  border-left: 1px solid #eee!important;
}
.nav-list > li:last-child { border-right: 1px solid #eee !IMPORTANT; }
.nav-list > li > a:hover { text-decoration: none; }
.nav-list > li > a > span {
  display: block;
  font-weight: normal;
  text-transform: uppercase;!important;
}*/
.mega-dropdown { position: static !important; }
.mega-dropdown-menu {
  padding: 20px 15px 15px;
  text-align: center;
  width: 100%;
}

.tab-pane ul li img { max-width: 120px }

a{color:#000000!important;}

.list-inline>li {
  display: inline-block;}

.logo {
  display: block;
 margin: 0 auto;
  max-width: 100%;
  height:auto;
}

.masonry {
  display: flex;
  width: 100%;
}

.masonry--h {
  flex-flow: row wrap;
}
.masonry--h
{
  margin-left: -8px; /* Adjustment for the gutter */
  counter-reset: brick;
}
.masonry-brick {
  overflow: hidden;
  /*border-radius: 5px;*/
 margin: 0 0 8px 8px;  /* Some Gutter */
 /*background-color: #f5f5f5;*/
  border:1px solid #e2e0e0;
  /*color: white;*/
  position: relative;
}

.masonry-brick:after {
  position: absolute;
  top: 50%;
  left: 50%;
  z-index: 5000;
  transform: translate(-50%, -50%);
  counter-increment: brick;
  /*content: counter(brick);*/
  content: {{item.data.title}};
  transition: font-size .25s, opacity .25s ease-in-out;
  font-weight: 700;
  opacity: .5;
  font-size: 1.25em;
}
.masonry-brick--h {
  flex: auto;
 /* height: 250px;*/
  height:auto;
  min-width: 250px;
}
@media only screen and (min-width: 1024px) {
  /* Horizontal masonry bricks on desktop-sized screen */
  .masonry-brick--h:nth-child(4n+1) {
    width: 200px;
  }
  .masonry-brick--h:nth-child(4n+2) {
    width: 200px;
  }
  .masonry-brick--h:nth-child(4n+3) {
    width: 200px;
  }
  .masonry-brick--h:nth-child(4n+4) {
    width: 200px;
  }
}
@media only screen and (max-width: 1023px) and (min-width: 768px) {
  /* Horizontal masonry bricks on tabled-sized screen */
  .masonry-brick--h:nth-child(4n+1) {
    width: 200px;
  }
  .masonry-brick--h:nth-child(4n+2) {
    width: 250px;
  }
  .masonry-brick--h:nth-child(4n+3) {
    width: 120px;
  }
  .masonry-brick--h:nth-child(4n+4) {
    width: 280px;
  }
}

.main-h {

  /* Your container needs a fixed height, and it
   * needs to be taller than your tallest column. */
  height: 3000px;
  /*height:auto;*/

  /* Optional */
  display: flex;
  flex-direction: column;
  flex-wrap: wrap;
  align-content: space-between;
  /*background-color: #f7f7f7;*/
  border-radius: 3px;
  /*padding: 20px;*/
  /*width: 60%;*/
  /*margin: 40px auto;*/
  counter-reset: items;
}

.item-m {
  width: 48%;
  /* Optional */
  position: relative;
  margin-bottom: 5%;
  /*border-radius: 3px;*/
 /* background-color: #a1cbfa;*/
 /* border: 1px solid #4290e2;*/
 /* box-shadow: 0 2px 2px rgba(0,90,250,0.05),   0 4px 4px rgba(0,90,250,0.05),   0 8px 8px rgba(0,90,250,0.05),   0 16px 16px rgba(0,90,250,0.05);*/
  color: #fff;
  padding: 15px;
  box-sizing: border-box;
}

/*.item-m::before {
  counter-increment: items;
  content: counter(items);
}*/

/* Re-order items into 3 rows */
.item-m:nth-child(3n+1) { order: 1; }
.item-m:nth-child(3n+2) { order: 2; }
.item-m:nth-child(3n)   { order: 3; }

/* Force new columns */
/*.main-h::before,
.main-h::after {
  content: "";
  flex-basis: 100%;
  width: 0;
  order: 2;
}*/
.navbar {
  -webkit-transition:padding 0.2s ease;
  -moz-transition:padding 0.2s ease;
  -o-transition:padding 0.2s ease;
  transition:padding 0.2s ease;
  background:#535353;
}
.navbar-light .navbar-nav .nav-link {
  color: #666;
}
.navbar-light .navbar-nav .nav-link:hover {
  color: #376180;
}
.affix {
  padding-top: 0.4em !important;
  padding-bottom: 1.2em !important;
  -webkit-transition:padding 0.2s linear;
  -moz-transition:padding 0.2s linear;
  -o-transition:padding 0.2s linear;
  transition:padding 0.2s linear;
}
.nav .nav-link {
  position: relative;
  display: inline-block;
  /*margin: 15px 25px;*/
  outline: none;
  color: #fff;
  text-decoration: none;
  text-transform: uppercase;
  letter-spacing: 1px;
  font-weight: 400;
  text-shadow: 0 0 1px rgba(255,255,255,0.3);
  font-size: 0.9em;
}
/*dropdown menu*/
/*@media only screen and (min-width: 768px) {
  .dropdown:hover .dropdown-menu {
    display: block;
    margin-top: 0;
  }
}*/
/*for menuru.html*/
.dropdown:hover .dropdown-menu {
  display: block;
  margin-top: 0;
}
.dropdown-menu {
 /* width:570px!important;*/
  /*width:auto;*/
  width:300px;
  /*background-color: transparent !important;*/
  background-color: #535353;
  /*background-clip: padding-box;*/
  border: none!important
}
.dropdown-item {
  display: inline-block!important;
  padding: 0.3rem 0.6rem;

}
footer{
  background-color:#535353!important;
  color:#CFCFCF;
}
.top{
  margin-top:100px;
}
.bottom-fade {
  z-index: 2;
  position: absolute;
  bottom: 0;
  left: 0;
  width: 100%;
  min-height: 8em;
  text-align: center;
  margin: 0; padding: 30px 0;
  background-image: linear-gradient(to bottom, transparent, white);
}
.sourse-link{

}
.nav-fill{
	text-align:right;
}
.person{
  display:flex;
  flex-wrap: row wrap;
  justify-content: flex-start;
  align-items: center;
}
.nav-item{
  text-align:left!important;

}
.d-flex{
  display:flex;
}
.full-text:before{
  content:url(/img/down-button.png);
}
.all-item-button{
  content: '';
  cursor: pointer;
  transition: .2s;
  transition-timing-function: ease-in-out;
}
.all-item-button.open{
  transform: rotate(180deg);
}
#full-text {
  height: 300px;
  overflow: hidden;
}

input[type="checkbox"] {
  display: none;
}

input[type="checkbox"]:checked + #full-text {
  height: auto;

}
input[type="checkbox"]:checked + #full-text:after{
  content:'';
  background: none! important;
  z-index: 2;
  position: absolute;
  bottom: 0;
  left: 0;
  width: 100%;
  min-height: 8em;
}

label {
  order: 1;
  color: #e2e3e5;
  font-size: 18px;
  cursor: pointer;
  z-index: 50;
  position: absolute;

  bottom:-20px;
  right:150px;
    }

label:hover{
  color:#6c757d;
}


#full-text:after {
  content:'';
  z-index: 2;
  position: absolute;
  bottom: 0;
  left: 0;
  width: 100%;
  min-height: 8em;
  text-align: center;
  margin: 0;
  padding: 30px 0;
  background-image: linear-gradient(to bottom, transparent, white);
}

a{
  color:#2b669a!important;
}

.dsDate{
  margin-bottom:80px;
  margin-top:4px;
  margin-right:6px;
  width:96px;
  height:78px;
  display: inline-block;
  float: left;
  border-radius: 8px;
  border: 1px solid #CFCFCF;
}
.cyrilic li:nth-child(1)::before { content: 'а) '; }
.cyrilic li:nth-child(2)::before { content: 'б) '; }
.cyrilic li:nth-child(3)::before { content: 'в) '; }
.cyrilic{list-style-type:none;}

ul{list-style-type:none;}

.dropdown-item:active {
    background-color: #4e555b!important;
}

.photo {
  /* width: 80%;*/
  box-shadow: 1px 0px 11px 3px #b9b9b9;
}

.death{
  border-width: 4px;
  border-style: solid;
  border-color: #555555;
}

 .bodyNews img{max-width:100%;}
 .body_content{height:75vh;}

 .gallery_item{
   text-align:center;
   font-style:italic;
   margin-bottom:5rem;
 }

.all-item-button{
  content: '';
  cursor: pointer;
  transition: .2s;
  transition-timing-function: ease-in-out;
}
.all-item-button.open{
  transform: rotate(180deg);
}
