
html {
    box-sizing: border-box;
}

*,
*::after,
*::before{
    box-sizing: inherit;
}

a {
    color: #000;
    text-decoration: none;
}

p{
    margin-bottom: 1em; /* Отступ снизу */  
}
@font-face{
    font-family: 'Proxima Nova';
    src: url('../fonts/ProximaNova-Semibold.eot');
    src: url('../fonts/ProximaNova-Semibold.eot?iefix') format('eot'),
    url('../fonts/ProximaNova-Semibold.woff') format('woff'),
    url('../fonts/ProximaNova-Semibold.ttf') format('truetype'),
    url('../fonts/ProximaNova-Semibold.svg#webfont') format('svg');
    font-weight: normal;
    font-style: bold;
  }
body {
    font-family: 'Lato', sans-serif;
    line-height: 24px;
    font-weight: 400;
    color: #4a6385;
    font-size: 14px;
    
}
.container {
    max-width: 1170px;
    margin: 0 auto;
    padding: 0 15px;
}
.container h1{
    
    letter-spacing: .2rem;  
}
figcaption .title strong {
    font-family: Caveat;   
}

.href_on_top {
    position: fixed;
    bottom: 10px;
    right: 10px;
    height: 50px;
    opacity: 0.5; 
}


  

/*кнопка при активности и наведении*/
li a.active {
	
	color:#ff0014;
	border-radius: 10px;
    padding: 10px;
    font-weight: bold;
}
li a:hover:not(.active ){
	color:#4a6385;
}
.header__inner {
    display: flex;
    justify-content: space-between;
    align-items: center;
    height: 87px;
}

.title__inner {
    display: flex;
    justify-content: space-between;
    text-align: left; 
}

.title_text {
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    
}

.img_title__inner {
    padding-top: -30px;
}

.btn__menu {
    width: 40px;
    display: none;
    
}

.btn__menu div {
    height: 5px;
    background-color: #000;
    margin-bottom: 5px;
}


/*аккордеон*/
.accordion {
    background-color: #3c84e5;
    color: #fff;
    cursor: pointer;
    padding: 10px;
    width: 100%;
    border: #fff 2px;
    text-align: left;
    outline: none;
    font-size: 15px;
    transition: 0.4s;
  }
  
  .active, .accordion:hover {
    background-color: #c4cdda;
    border: #216ccf;
    border-width: 1px;
    
  }
  
  .panel {
    padding: 0 18px;
    display: none;
    background-color: white;
    overflow: hidden;
  }
  @media (max-width:767px){
    .top{
        padding: 70px 0px 0px 0px;  
    }  
}
.top {
  background: url(img/Rectangle2_1.webp);
    padding-top: 100px;
    padding-bottom: 80px;
}

.top__inner {
    display: flex;
}

.top-info_header, a, p {
    color: #fff;
    
}

.price__desc_header, p {
    color: #fff;
    padding: 20px; 

}
.center{	
    clear:both;
   }
IMG.fig {
    float: left; /* Обтекание картинки по левому краю */
    padding-right: 15px; /* Отступ слева */
    
   }
.top-info{
    height: 120px;
}

.top-info, a {
    max-width: 555px;
    margin-right: 35px;
    color: fff;
}

.top-info__title {
    font-family: Press Start 2P, 'Roboto', sans-serif;
    font-weight: 900;
    font-size: 48px;
    line-height: 52px;
    text-transform: uppercase;
}
top-info__title, a {
    margin: 0;
    padding: 0;
}

.top-info__descr {
    font-size: 19px;
    font-weight: 700;
    line-height: 52px;
    margin-bottom: 35px;
}

.top-info__descr span{
    font-size: 20px;
    line-height: 24px;
    display: block;
    font-weight: 400;
}
  /* цвет для блока скачать учебник
  --------------------------- */
.fon{
    display: inline-block;
    background-color: #fff;
    color: #000;
    padding: 5px;
}
  /* Base for lists & temas
  --------------------------- */
  .tema {
    border-top: 1px solid black;
}
  

  LI {
    margin-bottom: .8em;
    }
    /*3 блока spisok*/
.top-info_wrapper {
	display: grid;
    grid-gap: 5px;
	grid-template-columns: repeat(1, minmax(330px, 1fr));
    grid-template-rows: repeat(2, 330px);
  }
  
.top-info__list {
    margin-bottom: 5px;
}

.top-info__list li{

    line-height: 24px;
    margin-bottom: 3px;
    position: relative;
    padding-left: 24px;
}

.top-info__list li::before {
    content: "";
   background-image: url(img/5747.png);
    width: 13px;
    height: 13px;
    position: absolute;
    left: 0;
    top: 50%;
    transform: translateY(-50%);
}

.top-info__btn {
    color: #fff;
    text-transform: uppercase;
    border: 3px solid #fff;
    padding: 13px 44px;
    border-radius: 30px;
    margin-bottom: 45px;
    background-color: #267ae9;
}

.top-info__btn-descr {
    margin-top: 25px;
}

.top-images__dox {
    position: relative;
}

.top-images__circle {
    width: 230px;
    height: 230px;
    background-color: #fff;
    border-radius: 50%;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    color: #212121;
    position: absolute;
    top: -40px;
    right: -100px;
}

.top-images__title {
    margin-bottom: 10px;
    text-align: left;
    width: 138px;
}

.top-images__price {
    font-size: 54px;
    font-weight: 700;
    margin-bottom: 5px;
}

.top-images__date {
    text-align: right;
    width: 138px;
}

.price {
    padding: 50px 0 80px;
}

.title {
    text-align: center;
    font-family: 'Roboto', sans-serif;
    font-size: 40px;
    line-height: 50px;
    font-weight: 700;
    color: #2f3f54;
    
}
.title span {
    color: #267ae9;   
}
.title strong {
    color: #267ae9; 
    font-size: 25px;  
}

.price__desc {
    text-align: left;
    max-width: 100%;
}
.price__desc, h1, p{
    margin-top: 20px;
}
.price__desc a{
    color: #267ae9;   
    padding: 5px;
}
.img_title__inner {
    margin: 0px 0 35px;
}
.price__desc p{
    color:#2f3f54  ;   
}
div#one{
    width:300px;
  }
  
  div#one img{
    width:300px;
    height:180px;
  }
  
  p.article{
    font-weight:bold;
  }
/***read more button style***/

.read-more-state {
    display: none;
  }
  
  .read-more-target {
    opacity: 0;
    max-height: 0;
    font-size: 0;
    transition: .25s ease;
  }
  
  .read-more-state:checked ~ .read-more-wrap .read-more-target {
    opacity: 1;
    font-size: inherit;
    max-height:999em;
  }
  
  .read-more-state ~ .read-more-trigger:before {
    content: 'Подробнее';
  }
  
  .read-more-state:checked ~ .read-more-trigger:before {
    content: 'Свернуть';
  }
  
  .read-more-trigger {
    cursor: pointer;
    display: inline-block;
    padding: 0 .5em;
    color: #ffffff;
    background-color: #3FA5F9;
    font-size: .9em;
    line-height: 2;
    border: 1px solid #ddd;
    border-radius: .25em;
    margin-left: 10px;
      margin-bottom: 10px;
  }
  
  p.read-more-wrap{
      text-align: justify;
  }
.price__items {
    display: flex;
    justify-content: space-between;
}
.price-item {
    max-width: 360px;
    box-shadow: 0px 21px 49px 1px rgba(41, 44, 61, 0.15);
    padding: 0 50px 60px;
    position: relative;
    overflow: hidden;
    font-family: 'Roboto', sans-serif;
}
.price-item__numder {
    width: 265px;
    color: #fff;
    background-color: #267ae9;
    height: 465px;
    border-radius: 136px;
    position: absolute;
    top: -370px;
    font-weight: 700;
    font-size: 33px;
    display: flex;
    align-items: flex-end;
    justify-content: center;
    padding-bottom: 40px;
}
.price-item__numder span {
    font-size: 16px;
}
.price-item__images {
    padding-top: 120px;
    text-align: center;
    padding-bottom: 44px;
   
}
.price-item__title {
    font-size: 31.3px;
    line-height: 40px;
    font-weight: 700;
    color: #267ae9;
    margin-bottom: 20px;
}
.price-item_text {
    color: #4a6385;
    margin-bottom: 50px;
    font-family: 'Lato', sans-serif;
}
.price-item__list {
    margin-bottom: 75px;
}
.price-item__list li {
    font-size: 16px;
    line-height: 24px;
    margin-bottom: 12px;
    font-weight: 400;
    padding-left: 34px;
    position: relative;
}
.price-item__list li::before {
    content: "";
    background-image: url(img/price_icon.png);
    width: 15px;
    height: 12.3px;
    position: absolute;
    left: 0;
    top: 50%;
    transform: translateY(-50%);
}
.price-item__btn {
    font-size: 17px;
    color: #fff;
    background-color: #267ae9;
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    text-align: center;
    padding: 20px 10px;
}
.tooltiptext{
    width: 200px;
}
.reviews {
    padding: 120px 0;
    background-color: #fafafa;
}
.reviews-slider {
    margin-top: 166px;
    display: flex;
    flex-wrap: wrap-reverse;/*перескакивают на следующую строку*/
}
.reviews-slider .slick-dots {
    display: flex;
    justify-content: center;
}
.reviews-slider .slick-dots li {
    margin: 0 8px;
}
.reviews-slider .slick-dots li.slick-active button{
    background-color: #fff;
    border: 2px solid #267ae9;
}
.reviews-slider .slick-dots button{
    font-size: 0;
    width: 10px;
    height: 10px;
    border-radius: 50%;
    padding: 0;
    background-color: #267ae9;
}
.reviews-slider .slick-list {
    margin: 0 -50px;
}
.reviews-slider .slick-slide {
    margin: 0 50px;
    padding-bottom: 70px;
}
.reviews-box {
    display: flex;
    box-shadow: 0px 21px 49px 1px rgba(41, 44, 61, 0.15);
padding: 10px;
}
.reviews-box__images {
    display: flex;
    background-color: #267ae9;
    width: 193px;
    min-height: 350px;
    align-items: center;
    justify-content: center;
}
.reviews-box__content {
    background-color: #fff;
    width: 350px;
    font-size: 16px;
    line-height: 26px;
    padding: 0 20px;
    display: flex;
    flex-direction: column;
    justify-content: center;
}
.reviews-box__text {
    margin-bottom: 30px;
}
.reviews-box__author {
    font-weight: 700;
}
.reviews-box__author span{
    color: #267ae9;
    font-family: 'Roboto', sans-serif;
}
.logos {
    margin: 98px 0 80px;
}
.logos__inner {
    display: flex;
    justify-content: space-evenly;

}

/*-----------------------------Footer----------------------------*/

.footer {
    padding: 80px 0 125px;
    background: url(img/base_1.png);
}

.footer__inner {
    display: flex;
    justify-content: space-between;
}

.footer-col__logo {
    width: 244px;
}

.footer__text {
    margin-top: 30px;
    font-size: 13px;
    line-height: 22px;
    padding-bottom: 30px;
    border-bottom: 1px solid rgba(255, 255, 255, 0.05);
    color: #718db2;
}
.footer__title {
    font-family: 'Roboto', sans-serif;
    font-size: 16px;
    line-height: 1.2;
    font-weight: 400;
    color: #d0e4ff;
    margin-bottom: 30px;
}

.footer-menu {
    width: 160px;
}

.footer__list a {
    color: #718db2;
    font-size: 13px;
    margin-bottom: 8px;
}

.footer-form {
    width: 270px;
}

.footer-form input, textarea {
    border: 1px solid rgba(255, 255, 255, 0.05);
    background-color: transparent;
    height: 38px;
    display: block;
    width: 100%;
    padding-left: 10px;
    color: #718db2;
    font-size: 11px;
    font-family: 'Lato', sans-serif;
    font-weight: 400;
    
}

.footer-form input::placeholder, textarea::placeholder {
    color: #718db2;
    font-size: 11px;
    font-family: 'Lato', sans-serif;
    font-weight: 400;
}

.footer-form textarea {
    padding: 12px;
    height: 85px;
    resize: none;
    margin-bottom: 10px;
}

.footer-form button{
    text-transform: uppercase;
    color: #fff;
    font-family: 'Roboto', sans-serif;
    font-size: 13px;
    border: none;
    background-color: #2575e7;
    padding: 10px 12px;
    cursor: pointer;
}

/*группирование блоков аудио*/
figure {
    border: thin #c0c0c0 solid;
    display: flex;
    flex-flow: column;
    max-width: 100%;
    margin: 10px;
    float:left;
}
img {
    max-width: 100%;
    max-height: 100%;
}
figcaption {
    background-color: #fff;
    color: #222;
    font: italic smaller sans-serif;
    padding: 3px;
    text-align: left;
    max-width:220px;
}

/*меню*/

a {
    font-size: 1.25em;
    text-decoration: none;
    padding: 20px 1px 0;
  }
  .wrapper{
   
    overflow: hidden;
    display: flex;
    flex-direction: column;
  }
  .content{
    max-width: 1200px;
  }
  .header {
    padding: 80px; /* немного отступов */
    text-align: center; /* текст по центру */
    background: #36808a; /* зеленый фон */
    color: white; /* белый цвет текста */
  }
  
  /* Увеличить размер шрифта элемента <h1> */
  .header h1 {
    font-size: 40px;
  }
  /* Стиль верхней панели навигации */
  .navbar {
    overflow: hidden; /* Скрыть переполнение */
    background-color: #2f3f54; /* Темный цвет фона */
    position: sticky;/* фиксация меню сверху */
    position: -webkit-sticky;
    top: 0;
  }
  
  /* Стиль ссылок на панели навигации */
  .navbar a {
    float: left; /* Убедитесь, что ссылки остаются бок о бок */
    display: block; /* Измените отображение на блок, по причинам отзывчивости (см. ниже) */
    color: white; /* Белый цвет текста */
    text-align: center; /* Текст по центру */
    padding: 14px 20px; /* Добавить некоторые отступы */
    text-decoration: none; /* Удалить подчеркивание */
  }
  
  /* Выровненная по правому краю ссылка */
  .navbar a.right {
    float: right; /* Переместите ссылку вправо */
  }
  
  /* Изменение цвета при наведении / наведении курсора мыши */
  .navbar a:hover {
    background-color: #ddd; /* Серый цвет фона */
    color: black; /* Черный цвет текста */
  }
  /* Обеспечения правильного выбора размера */
  * {
    box-sizing: border-box;
  }
   td{
    border:1px solid #a76d47;
    padding: 5px;
  }
