/*
@import url('https://fonts.googleapis.com/css2?family=Roboto:ital,wght@0,100;0,300;0,400;0,500;0,700;0,900;1,100;1,300;1,400;1,500;1,700;1,900&display=swap');
*, body {font-family: 'Roboto', sans-serif;}
*/
@import url('https://fonts.googleapis.com/css2?family=Hanken+Grotesk:ital,wght@0,100;0,200;0,300;0,400;0,500;0,600;0,700;0,800;0,900;1,100;1,200;1,300;1,400;1,500;1,600;1,700;1,800;1,900&display=swap');
* {font-family:   'Hanken Grotesk', sans-serif;}

body {    font-size: 1.2em;}
 
 .clean-block.clean-post .block-content {
    padding: 0px;
    border-radius: 30px;
}

 

.clean-block.clean-post .post-image {
    background-size: cover;
    background-repeat: no-repeat;
    width: 100%;
    height: 600px;
    border-radius: 30px; 
}

.iframe_video {
	height: 0px;
	padding-bottom: 56.2%;
	position: relative;
}
.iframe_video iframe {
	width: 100%;
	height: 100%;
	position: absolute;
}

#mlbooks {
    position: relative;
    background: whitesmoke;
    padding: 40px 10px 10px;
    border-radius: 30px;
        margin: 40px 0px;
}
#mlbooks::before {
    content: " ";
    position: absolute;
    top: 0px;
    bottom: 0px;
    width: 100px;
    left: 0;
    z-index: 999;
    background: linear-gradient(90deg, rgb(245 245 245) 0%, rgb(245 245 245) 10%, rgba(255,255,255,0) 100%);
    border-radius: 30px 0px 0px 30px;
}

#mlbooks::after {
    content: " ";
    position: absolute;
    top: 0px;
    bottom: 0px;
    width: 100px;
    right: 0;
    z-index: 999;
    background: linear-gradient(270deg, rgb(245 245 245) 0%, rgb(245 245 245) 10%, rgba(255,255,255,0) 100%);
    border-radius: 0px 30px 30px 0px;
}

@media (min-width: 992px)
.clean-block.clean-post .post-image {
    height: 600px;
}
@media (min-width: 768px)
.clean-block.clean-post .post-image {
    height: 600px;
}
.clean-block.clean-services .card h4, .clean-block.clean-services .card .h4 {
    font-weight: 600;
    font-size: 0.7em;
    margin-bottom: .8em;
}
.clean-block.clean-services .card p {
    font-size: .7em;
}

.text-start {
    
    height: calc(100vh - 230px);
    top: 30px;
    position: relative;
    border: 1px #dfdfdf solid;
    overflow-y: scroll;
}

article {text-align: justify; padding: 30px 0px;}

article h1, article h2, article h3 {text-align: left}

article p {text-indent: 40px;}
article ul li {margin-left: 80px;}

details > summary {
    padding: 5px;
    background-color: #f7f7f7;
    cursor: pointer;
    list-style: none;
    border-radius: 20px;
    padding: 20px;  
}
 
details[open]  > summary, details[open]   {
   background-color:#f2f5ff;
}
details[open]  > summary   {
   border-radius: 0px;
   padding: 0px; 
}
details[open]   {
    border-radius: 20px;
    padding: 20px; 
}

summary:before {
   content: "+ читать";
   font-size: 20px;
   font-weight: bold;
   margin: -5px 5px 0 0;
}
 
details[open] summary:before {
   content: "- скрыть";
}


    
    
.text-start::-webkit-scrollbar {
  -webkit-appearance: none;
  width: 7px;
}
.text-start::-webkit-scrollbar-thumb {
  border-radius: 4px;
  background-color: rgba(0, 0, 0, .5); /*00436b*/
  -webkit-box-shadow: 0 0 1px rgba(255, 255, 255, .5);
}
.text-start::after {
    content: " ";
    position: absolute;
    background: red;
}
.text-start::before {
    content: " ";
    position: absolute;
    background: red;
}

.lang-switch {
    position: fixed;
    bottom: 0px;
    background: white;
    left: 0;
    right: 0;
    display: flex;
    justify-content: center;
    padding: 20px;
    box-shadow: 0px 0px 15px rgb(0 0 0 / 10%);
}
.text-justify {text-align: justify;}
.medal {
    border: 0px solid black;
    background: none;
}
 
#section1 {
    background-size: contain;
    background-repeat: no-repeat;
    background-image: url(../img/ussr_map.svg);
    background-color: #f8f8f8;
    background-color: rgb(248 248 248);
    background-color: linear-gradient(135deg, rgb(248 248 248) 0%, rgb(247 247 247) 47%, rgb(100 81 157 / 22%) 100%);
}
 
 
#section2 {
        background: #f8f8f8;
    background: linear-gradient(90deg, rgb(2 0 36 / 10%) 0%, rgb(9 9 121 / 10%) 50%, rgb(0 212 255 / 10%) 100%);
}


.clean-testimonial-item h4, .clean-testimonial-item .h4 {
    font-size: .9em;
    color: #212529;
    font-weight: 600;
}



#messenger-text {
    min-height: 70px;
    display: flex;
    flex-direction: row;
    justify-content: space-evenly;
    font-weight: 900;
    font-size: 1em;
    color: #000;
    height: 70px;
    text-align: center;
    /* vertical-align: middle; */
    display: flex;
    align-items: center;
    
    }
#change-num {
    display: none;
}
.clean-block.clean-post .post-body {
    padding: 20px 20px;
}
.clean-block.dark {
background-color: #ffffff00 !important;
}
.clean-navbar .navbar-nav .nav-item {
    padding-right: 0.5rem;
}
.section {
    height: auto;
    min-height: 100vh;
    display: flex;
    flex-direction: row;
    justify-content: center;
    align-items: center; 
}
.clean-block.dark {
    background-color: #ffffff;
}
h1, h2, .h2 {
    font-weight: 900;
}


 .active {
      font-weight: bold;
    }

    a {
      text-decoration: none;
    }

    a:hover {
      text-decoration: none;
    }

    ol {
      counter-reset: item;
      padding-inline-start: 0rem;
 
    }
    ol ol{
      padding-inline-start: 2rem;
    }

    ol li {
      display: block;
            border-left:0px !important;
        border-right: 0px !important;
    }

    ol li::before {
      content: counters(item, ".") ". ";
      counter-increment: item;
    }

    ol [style*="list-style-type: lower-alpha;"] li::before {
      content: counters(item, ".", lower-alpha) ". ";
      counter-increment: item;
    }

.list-group-item a {text-align: left; color: black; text-decoration: none;}
 

.card {
 
    --bs-card-bg: #d7000000;
}
aside {
    position: sticky;
    top: 100px;}
 li.active {
      font-weight: bold;
    }
article img {
    width: 100% !important;
    border-radius: 22px;
    /* margin-left: -40px;*/
}

.list-group-item.active {
    z-index: 2;
    color: var(--bs-list-group-active-color);
    background-color: #ebebeb;
    border-color: #e5e5e5;
}
.book {
    position: relative;
    border: 0px red solid;
    width: 180px;
    height: 260px;
    margin: 0 auto;
}
.img-background { 
    height: 260px !important;
    width: 180px !important;}
.img-cover {
position: absolute;
    height: 260px !important;
    width: 180px !important;
    box-shadow: 0px 10px 20px #6f6f6f;}



.book-article {
    position: relative;
    border: 0px red solid;
    width: 360px;
    height: 600px;
    margin: 0 auto;
}
.book-article .img-background { 
    height: 520px !important;
    width: 360px !important;}
.book-article .img-cover {
position: absolute;
    height: 520px !important;
    width: 360px !important;
    box-shadow: 0px 10px 20px #6f6f6f;
    border-radius: 5px;
}
.img-responsive {
     border-radius: 0px;
}




article h2:before,  
article h3:before,   
article h3:before {
	display: block;
	content: "";
	height: 120px;
	margin: -120px 0 0;
}
.owl-nav {
     
}

.box1 {
    background: url(../img/box1-bg.jpg) 0 0 no-repeat;
    background-size: cover;
    background-position-x: right;
    text-align: left;
    display: flex;
    align-content: center;
}
.box_box {
    height: 260px;
    width: 80%;
    /* float: left; */
    padding: 15px;
    border-radius: 30px;
    position: relative;
    margin: 0 auto;
}

.box_box .indent {
    display: flex;
    justify-content: center;
    flex-direction: column;
    align-content: space-around;
    align-items: flex-start;
}
/********/
 .owl-stage-outer
{
    height: 438px;
}
.owl-nav {
    margin-top: 0px;
}

.owl-next, .owl-prev {   
    height: 40px;
    width: 40px;
    background: #f0f0f0 !important;
    color: #f0f0f0 !important;
    border-radius: 50% !important;
    margin: 10px !important;
    border: 1px grey solid !important;
opacity: 0.5;
}
.owl-next:hover, .owl-prev:hover {opacity: 0.9;}

 

.owl-next:before {
    content: '';
    width: 9px;
    height: 15px;
    top: 12px;
    display: block;
        position: relative;
    left: 14px;
    background: url(../img/arrow.svg) no-repeat;
}
.owl-prev:before {
    content: '';
    width: 9px;
    height: 15px;
    top: 12px;
    left: 14px;
    background: url(../img/arrow.svg) no-repeat;
    display: block;
        position: relative;
}

.owl-next:before {
    -webkit-transform: rotate( 180deg );
    -moz-transform: rotate(180deg);
    -ms-transform: rotate(180deg);
    -o-transform: rotate(180deg);
    transform: rotate( 180deg );
}

.wrapper-slider-reviews {
    position: relative;
}

h2.what-say-title {
    font: 500 35px/40px "Euclid Circular B","Roboto",sans-serif;
    margin-bottom: 10px;
     
    margin-top: 0px;
    margin-bottom: 80px;
}

.video-block-main {
    max-width: 620px;
    margin: auto;
    position: relative;
    box-shadow: 0px 10px 60px 30px #8c8c8c;
    border-radius: 30px;
}
.mainSlideWrapper {
    position: absolute;
    top: -100px;
    right: 0;
    left: 0;
    z-index: 99;
    max-width: 620px;
    margin: auto;
}

.play_demo {
    display: block;
    width: 60px;
    height: 60px;
    bottom: 15px;
    right: 15px;
}

.play_demo {
    position: absolute;
    
    -webkit-transition: all 0.3s ease;
    -moz-transition: all 0.3s ease;
    transition: all 0.3s ease;
    border: 2px solid rgba(255,255,255,0.95);
    border-radius: 50%;
    background: rgba(0,0,0,0.5);
}

span.play_icon.active {
    
    background-image: url(../img/play.svg);
    position: absolute;
    width: 100%;
    height: 100%;
    font-size: 0;
    top: 0;
    left: 0;
}
/********/

.btnwth { 
background: white;
    color: #005a86;
    height: 50px;
    padding: 10px;
border-radius: 10px;}




.table {
	width: 100%;
	border: none;
	margin-bottom: 20px;
}
.table  th {
	font-weight: bold;
	text-align: center;
	border: none;
	padding: 10px 15px;
	background: #d8d8d8;
	font-size: 14px;
}


.table  tr th:first-child {
	border-radius: 8px 0 0 8px;
}
.table  tr th:last-child {
	border-radius: 0 8px 8px 0;
}
.table  td {
	text-align: left;
	border: none;
	padding: 10px 15px;
	font-size: 14px;
	vertical-align: top;
}
.table  tr:nth-child(even){
	background: #f3f3f3;
}
.table tr td:nth-child(2) {line-height: 0px;
    text-align: center;}
.table  tr td:first-child {
	border-radius: 8px 0 0 8px;
}
.table  tr td:last-child {
	border-radius: 0 8px 8px 0;
}

 

/* CSS */
/* Добавление отступов к элементу с классом timeline */
.timeline {
  padding-top: 1rem;
  padding-bottom: 1rem;
  position: relative;
}
/* Создание вертикальной линии с помощью псевдоэлеметна */
.timeline::before {
  content: "";
  position: absolute;
  width: .125rem;
  height: 100%;
  background-color: #dee2e6;
  left: 2rem;
  top: 0;
}
/* добавление нижнего отступа и левого поля для элементов с классом timeline-wrapper */
.timeline-wrapper {
  margin-bottom: 1rem;
  padding-left: 4rem;
}
/* убирание у последнего элемента .timeline-wrapper нижнего отступа */
.timeline-wrapper:last-child {
  margin-bottom: 0;
}
/* стили для элементов таймлайна */
.timeline-item {
    position: relative;
    background: #ffffff;
    border-radius: 22px;
    padding: 30px 0px;
    margin-bottom: 30px;
    box-shadow: 0px 15px 30px 1px #f0f0f0;
}
/* добавление контрольных точек на вертикальную линию */
.timeline-item::before {
  content: "";
  position: absolute;
  width: .75rem;
  height: .75rem;
/*  background-color: #ff0000; */
  border-radius: .4rem;
  left: -2.3125rem;
  top: 50%;
  transform: translateY(-50%);
}
/* добавление стрелочек к элементам таймлайна */
.timeline-item::after {
  content: "";	
  position: absolute;
  width: 0;
  height: 0;
  border-top: 1rem solid transparent;
  border-bottom: 1rem solid transparent;
  border-right: 1rem solid #dee2e6;
  left: -1rem;
  top: 50%;
  transform: translateY(-50%);
}
/* стили для блока, в котором будет отображаться название статьи */
.timeline-item-header {
    display: block;
    font-weight: bold;
    padding: 0 30px;
    font-size: 1.5em;
   
}
/* оформление блока, содержащего название раздела */
.timeline-item-section {
  position: absolute;
  top: 0;
  right: 0;
  background-color: rgba(255,255,255,.4);
  padding: .3rem;
  
  border-top-right-radius: .25rem;
}
/* оформление блока, содержащего дату */
.timeline-item-date {
  display: block;
  padding:  0px 30px;
}
/* стили для блока, в который будет выводиться описание статьи */
.timeline-item-description {
  display: block;
  padding: 30px 30px 0px 30px;
}
/* стили для блока, содержащего ссылку "Перейти" */
.timeline-item-link {
  display: block;
  text-align: right;
}
/* стили для ссылки "Перейти" */
.timeline-item-link a {
  text-decoration: none;
  color: rgba(255,255,255,1);
  border-bottom: 1px dashed rgba(255,255,255,1);
}
/* стили для ссылки "Перейти" при поднесении к ней курсора или когда она находится в состоянии фокуса */
.timeline-item-link a:hover, .timeline-item-link a:focus {
  color: rgba(255,255,255,.8);
  border-bottom: 1px dashed rgba(255,255,255,.8);
}
/* для адаптивности (стили для больших экранов) */
@media (min-width: 576px) {
  /* для вывода вертикальной линии по центру */
  .timeline::before {
    left: 50%;
  }
  /* стили для нечётных элементов с классом timeline-wrapper */
  .timeline-wrapper:nth-child(odd) {
    padding-right: 2rem;
    padding-left: 15px;
  }
  /* стили для чётных элементов с классом timeline-wrapper */
  .timeline-wrapper:nth-child(even) {
    padding-left: 2rem;
    margin-left: 50%;
    /* margin-top: -2rem;*/
          margin-top: -14rem;
  }
  /* дополнительный сдвиг вверх для нечетных элементов (начиная с 3) */
  .timeline-wrapper:nth-child(2n+3) {
    margin-top: -2rem;
  }
  /* стили для псевдоэлементов ::before элементов таймлайна, расположенных в нечётных контейнерах */  
  .timeline-wrapper:nth-child(odd) .timeline-item::before {
    right: -2.5rem;
    left: unset;
  }
  /* стили для псевдоэлементов ::after элементов таймлайна, расположенных в нечётных контейнерах */
  .timeline-wrapper:nth-child(odd) .timeline-item::after {
    border-left: 1rem solid #dee2e6;
    border-right: none;
    left: unset;
    right: -1rem;
  }
}

@media only media screen (min-width: 1500px)
.container {
    max-width: 1420px !important;
}

@media only media screen (min-width: 1600px)
.container {
    max-width: 1520px !important;
}

@media only media screen (min-width: 1700px)
.container {
    max-width: 1620px !important;
}

@media only media screen (min-width: 1800px)
.container {
    max-width: 1720px !important;
}
@media only media screen (min-width: 1900px)
.container {
    max-width: 1820px !important;
}
@media only media screen (min-width: 2000px)
.container {
    max-width: 1920px !important;
}
/******************************/
.presentation-block-main {
    width: 90%;
    margin-bottom: 48px;
    max-width: 620px;
    margin: auto;
    position: relative;
    box-shadow: 0 10px 60px 30px #8c8c8c;
    border-radius: 30px;
}

