*, *:after, *:before {
  box-sizing: border-box;
  padding: 0;
  margin: 0;
  transition: .5s ease-in-out;
}
html, body{
  height: 100%;
}

body {
  margin: 0px;
  font-family: 'Montserrat';
  background: #F6F6F6;
  display: flex;
  flex-direction: column;
}
ul {
  list-style: none;
  margin: 15px 0px 0px 0px;
}

a {
  text-decoration: none;
  outline: none;
  font-size: 13px;
}

header:after, .main-wrapper:after, .container:after, footer:after, .widget-posts-list li:after, #subscribe:after {
  content: "";
  display: table;
  clear: both;
}

header {
  position: fixed;
  display:flex;
  flex-wrap: wrap;
  justify-content: space-between;
  top: 0;
  background: #0a412e !important;
  padding: 5px 50px;
  width: 100%;
}
.main-wrapper{
  justify-content: space-between;
  align-items: stretch;
  padding: 60px 50px 0px 50px;
  flex: 1;
}


.container {
  margin: 0 auto;
  width: 100%;
  /* padding: 10px 15px; */
}

.logo {
  display: block;
  float: left;
  height: 50px;
 padding-top: 5px;
 padding-bottom: 5px;
}

#menu {
  float: right;
}

#menu li {
  display: inline-block;
  margin-right: 10px;
  text-align: justify;
  text-transform: uppercase;
  
}
#menu a {
  text-decoration: none;
  font-style: normal;
  color: #FFFFFF;
  display: block;
}

#menu a:hover {
  color: rgb(250, 99, 99);
}
#menu li:last-child {
  margin-right: 10;
}

#menu.active {
  position: fixed;
    max-height: 100%;
    background: #0a412e !important;
    overflow: hidden;
    top: 50px;
    right: 0;
    z-index: 999;
    width: 230px;
    height: calc(100% + 10px);
}

#menu.active li {
  display: block;
  margin-left: 15px;
  padding: 5px;
 }

 nav {
  width: 100%;
}

.nav-toggle {
  display: none;
  position: relative;
  float: right;
  width: 40px;
  height: 40px;
  
  cursor: pointer;
}


.nav-toggle span {
  display: block;
  position: absolute;
  top: 19px;
  left: 8px;
  right: 8px;
  height: 2px;
  background: white;
}

.nav-toggle span:before, .nav-toggle span:after {
  position: absolute;
  display: block;
  right: 0;
  width: 100%;
  height: 2px;
  background: white;
  content: "";
}

.nav-toggle span:before {
  top: -10px;
}

.nav-toggle span:after {
  bottom: -10px;
}


.home_item{
  width: 46%;
}

.home_item img {

  display: block;
  width: 85%;
}


.glavn_t1 {
  padding-top: 100px;
  margin-left: 40px;
  text-transform: uppercase;
  color: rgb(0, 0, 0);
  font-size: 24px;
  text-align: left;
  text-indent: 0px;
}

.glavn_t2 {
  padding-top: 50px;
  margin-left: 40px;
  text-transform: uppercase;
  color: rgb(0, 0, 0);
  font-weight: 600;
  font-size: 50px;
  text-align: left;
  margin-bottom: 0px;
  text-indent: 0px;
}

.glavn_t3 {
  text-transform: uppercase;
  margin-left: 40px;
  color: rgb(0, 0, 0);
  font-size: 18px;
  text-indent: 0px;
  }

.glavn_t4 {
  margin-top: 200px;
  margin-left: 40px;
  font-style: italic;
  font-size: 16px;
  text-align: justify;
  color: rgb(0, 0, 0);  
}

.glavn_t5 {
  margin-top: 30px;
  margin-left: 40px;
  font-style: italic;
  font-size: 16px;
  font-weight: 600;
  text-align: right;
  color: rgb(0, 0, 0);
}


hr {
  display: block;
  
  unicode-bidi: isolate;
  margin-block-start: 5px;
  margin-block-end: 5px;
  margin-inline-start: auto;
  margin-inline-end: auto;
  overflow: hidden;
  border-style: inset;
  border-width: 1px;
}

h1 {
  display: block;
  width: 100%;
  font-style: normal;
  font-weight: normal;
  font-size: 45px;
  text-transform: uppercase;
  color: #121212;
  margin-block-start: 30px;
  margin-block-end: 30px;
  margin-inline-start: 0px;
  margin-inline-end: 0px;

}

h2 {
  display: block;
  width: 100%;
  font-weight: 500;
  font-size: 24px;
  line-height: 29px;
  text-transform: uppercase;
  color: #121212;
  margin-block-start: 0px;
  margin-block-end: 20px;
  margin-inline-start: 0px;
  margin-inline-end: 0px;
}

h4 {
  display: block;
  margin-block-start: 0px;
  margin-block-end: 5px;
  margin-inline-start: 0px;
  margin-inline-end: 0px;
}

h5 {
  display: block;
  margin-block-start: 16px;
  margin-block-end: 5px;
  margin-inline-start: 0px;
  margin-inline-end: 0px;

}

p {
  text-align: justify;
  text-indent: 20px;
  font-size: 16px;

}
/* Фотогалерея */
/* Unopened lightbox */
.lightbox {
  display: none;
}

/* Opened lightbox */
.lightbox:target {
  position: absolute;
  left: 0;
  top: 0;
  width: 100%;
  height: 100%;
  display: flex;
  align-items: center;
  justify-content: center;
}

/* Lightbox content */
.lightbox figcaption {
  width: auto;
  position: relative;
  padding: 1.5em;
  background-color: rgb(248, 248, 248);
}

/* Close button */
.lightbox .close {
  position: relative;
  display: block;
}

.lightbox .close::after {
  right: -1rem;
  top: -1rem;
  width: 2rem;
  height: 2rem;
  position: absolute;
  display: flex;
  z-index: 1;
  align-items: center;
  justify-content: center;
  background-color: black;
  border-radius: 50%;
  color: white;
  content: "×";
  cursor: pointer;
}

/* Lightbox overlay */
.lightbox .close::before {
  left: 0;
  top: 0;
  width: 100%;
  height: 100%;
  position: fixed;
  background-color: rgba(0,0,0,.7);
  content: "";
  cursor: default;
}

/*  */

.item_shara {
  width: 100%;
  padding: 1px;
  padding-bottom: 15px;
}


.del {
  display: none;  
}

.raz {
  display: flex;
  width: 100%;
  cursor: pointer;
  font-style: normal;
  font-weight: 400;
  font-size: 16px;
  line-height: 17px;
  color: #039be5;
  padding-bottom: 10px;
  padding-top: 10px;
}

.raz:hover {
  color: rgb(250, 99, 99);
}

.about_elements p {
  text-align: justify;
  text-indent: 20px;
  font-size: 16px;
}

.item_shygarma {
  width: 30%;
  margin-right: 15px;
  padding-bottom: 15px;
}

.shara img{
  width: 10%;
  float:left;
  padding: 10px 10px 5px 0px;
}



.item {
  padding-bottom: 15px;
}
/* .about_f_text {
font-size: 14px;
} */

footer {
  padding: 0px 50px;
  margin-top:-50px;
 
  height:100%;
  width:100%;
  background: #293332 !important;
}
.about_f {
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  align-items:flex-end;
 
}
.about_footer{
  padding-right: 50px;
 padding-top: 10px;
 padding-bottom: 5px;
  }

.about_footer p{
color: rgb(255, 255, 255);
font-style: normal;
margin-bottom: 0px;
margin-top: 3px;
font-size: 10px;
text-indent: 0px;
}
.saittar{
  display: grid;
  grid-template-columns: repeat(5, 1fr); 
  grid-gap: 3px 20px;
}
.about_footer a{
  text-decoration: none;
  color: rgb(255, 255, 255);
  font-style: normal;
  font-size: 10px;
}
.about_footer a:hover{
color: rgb(250, 99, 99);
  }
 

.about_footer td{
  padding-right: 5px;
  
  }
/* 
.footer_logo {
 width: 80px;
 padding-bottom: 5px;
}   */
.footer_soc_seti{
  padding-bottom: 3px;
}
.soc_seti{
  height: 10px;
  padding-right: 5px;
  
}

.soc_seti:hover, .footer_logo:hover{
  opacity: 0.8;
}

.about {
  padding-bottom: 60px;
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  align-items: stretch;
  width: 100%;
  margin-bottom: 70px;
  }
.about_t {
    margin: 0;
    display: flex;
    flex-wrap: wrap;
   
    align-items: stretch;
    width: 100%;
    
    }

.about_title {
  font-weight: 600;
  font-size: 16px;
  width: 100%;
  text-transform: uppercase;
  color: #000000;
 
}

.element_title {
  font-style: normal;
  font-weight: normal;
  font-size: 16px;
  color: #000000;
}

.about_title::before {
  content: url(/images/strelka_zheltaya.png);
  display: inline-block;
  vertical-align: middle;
  margin-right: 5px;
}

.element_link {
  width: 100%;
  cursor: pointer;
  font-style: normal;
  font-weight: 400;
  font-size: 16px;
  line-height: 17px;
  color: #039be5;
}

.element_link::before {
  content: url(/images/free-pdf.png);
  display: inline-block;
  vertical-align: middle;
  margin-right: 5px;
  
}

.element_link:hover {
  color: rgb(250, 99, 99);
}

.element_img {
  padding-top: 10px;
  display: block;
  height: 90%;
}
.item_book {
  width: 30%;
  padding-top: 10px;
  padding-bottom: 30px;
}

.book_img img {
  width: 100%;
  
}
.book_elements{
  width: 100%;
}

.book_img {
  float: left;
  width: 25%;
 
  margin-right: 12px;

}
.mfp-fade.mfp-bg {
  opacity: 0;
  -webkit-transition: all 0.15s ease-out;
  -moz-transition: all 0.15s ease-out;
  transition: all 0.15s ease-out;
}

.mfp-fade.mfp-bg.mfp-ready {
  opacity: 0.8;
}

.mfp-fade.mfp-bg.mfp-removing {
  opacity: 0;
}

.mfp-fade.mfp-wrap .mfp-content {
  opacity: 0;
  -webkit-transition: all 0.15s ease-out;
  -moz-transition: all 0.15s ease-out;
  transition: all 0.15s ease-out;
}

.mfp-fade.mfp-wrap.mfp-ready .mfp-content {
  opacity: 1;
}

.mfp-fade.mfp-wrap.mfp-removing .mfp-content {
  opacity: 0;
}

.white-popup {
  padding: 40px;
  width: auto;
  text-align: justify;
}

.gallery_item {
  width: 15%;
  padding: 15px 15px;
  
 }

.gallery_item img {
  display: block;
  width: 100%;
  padding-bottom: 10px;
}

.gallery_item p {
  text-align: center;
  font-style: italic;
  text-indent: 0px;
}
.gallery_item video {
  position: relative;
 
}

.awards_item {
  width: 20%;
  padding: 15px 5px;
 }

.awards_item img {
  display: block;
  width: 100%;
 
  padding-bottom: 10px;
}

.awards_item p {
  text-align: center;
  font-style: italic;
  
}


