* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
    font-family: 'Roboto', sans-serif;

}

/*----------------------------header-----------------------------*/

header {

    height: 70px;
    background-color: #938b89;
    padding: 10px 0;
}

.menu-wrap {
    display: flex;
    justify-content: space-between;
    padding: 0 25px;
}
.logo-img {
    height: 50px;
}
.menu-icon {
    font-size: 2.4em;
    color: #ffffff;
    line-height: 50px;
}
nav {
    position: absolute;
    background-color: #523d56;
    top:70px;
    left:0;
    width: 100%;
    z-index: 2;
}
nav ul {
    list-style-type: none;
    max-height: 0px;
    overflow: hidden;
    transition: all 0.5s;
}
nav ul li {
    padding: 0 15px;
}
nav ul li a {
    display: inline-block;
    padding: 14px;
    color: #ffffff;
    text-decoration: none;
    letter-spacing: 0.05em;
}
nav ul li a:hover, nav ul li a:focus {
    color: #FF4500;
}
#checkbox {
    display: none;
}
#checkbox:checked ~ nav ul {
    max-height: 220px;
    padding: 10px 22px;
    transition: all 0.5s;
}

@media (min-width: 768px) { 
    .menu-icon {
        display: none;
    }
    nav {
        position: relative;
        top: -10px;
        background-color: transparent;
    }
    nav ul {
        max-height: 50px;
        padding: 15px ;
        text-align: right;
    }
    nav ul li {
        display: inline-flex;
        padding-left: 40px;
    }

}



/*--------------------------header 1-----------------------------*/

.header1 {
  background: #304854;

  

}


/*----------------------------------h-----------------------------*/


h1{
    margin-bottom: 0.1rem;
    font-weight: 1000;
    line-height: 1.2;
    text-align: left;
    padding: 0px 10px 0px;
    color: #ffffff;
}

h2{ margin-bottom: 0.1rem;
    font-weight: 500;
    line-height: 1.2;
    text-align: left;
    padding: 0px 10px 0px;
    color: #ffffff;
}


h3{margin-bottom: 0.5rem;
    font-weight: 1500;
    line-height: 1.2;
    text-align: left;
    padding: 0px 0px 30px;
    color: #FF4500; 
    }

h4{ margin-bottom: 0.5rem;
    font-weight: 1000;
    line-height: 1.5;
    text-align: left;
    padding: 0px 0px 20px;
    color: #ffffff;
    }


h5{ margin-bottom: 0.5rem;
    font-weight: 1000;
    line-height: 1.5;
    text-align: left;
    padding: 40px 0px 10px;
    color: #ffffff;
    }

/*---------------------image adaptive-----------------------------*/
.responsive {
  width: 100%;
  height: auto;

}


/*-------------------------------arrow-----------------------------*/
.arrow {
  border: solid #FF4500;
  border-width: 0 3px 3px 0;
  margin: 0px 10px 2px 0px;
  display: inline-block;
  padding: 3px;
}

.rightarrow {
  transform: rotate(-45deg);
  -webkit-transform: rotate(-45deg);
}

.arrow1 {
  border: solid #FF4500;
  border-width: 3px 3px 3px 3px;
  margin: 10px 10px 0px 0px;
  display: inline-block;
  padding: 2px;
}


.rightarrow1 {
  transform: rotate(0deg);
  -webkit-transform: rotate(0deg);
}

.arrow2 { 
padding-right: 15px; 
background: url(images/arrow.png) no-repeat right center; 
text-decoration: none; 
}

.arrow2:hover { 
background: url(images/arrowhover.png) no-repeat right center; 
color: #FF4500; 
}

.more {color: #6f5358;
 font-style: italic; 
}



.arrow3 { 
padding-right: 15px; 
background: url(images/arrow.png) no-repeat right center; 
text-decoration: none; 
}

.arrow3:hover { 
background: url(images/arrowhover.png) no-repeat right center; 
color: #FF4500; 
}





/*--------------------------text p--------------------------------*/
p{
color:#000000;
padding:0px 0 16px 0;
text-align:justify;
margin:0px;
line-height:20px;
font-size:14px;
font-weight:normal;
}

p1{
color:#ffffff;
padding:0px 0 16px 0;
text-align:left;
margin:0px;
line-height:20px;
font-size:14px;
font-weight:normal;
}


p3{
color:#FF4500;
padding:0px 0 16px 0;
text-align:left;
margin:0px;
line-height:20px;
font-size:12px;
font-weight:normal;
}








/*-------------------------blockquote---------------------------------*/
blockquote { 
margin: 0px 20px 20px 0; 
padding: 5px 5px 5px 20px; 
border-left: 1px solid #FF4500; 
}

/*-------------------------------line----------------------------------*/
.line { 
    border-left: 2px solid #FF4500; /* Параметры линии */ 
    margin-left: 0px; /* Отступ слева */
    padding-left: 15px; /* Расстояние от линии до текста */
text-align:left;

   }

#more {
  display: none;
}


* {
  box-sizing: border-box;
}

/*---------------------kolonki----------------------------*/
.row {
  display: flex;
  flex-wrap: wrap;
  background-color: #304854; 
}


.side {
  flex: 50%; 
  background-color: #ffffff; 
  padding: 45px; 
}


.main {
  flex: 25%;
  background-color: #DDD3C7; 
  padding: 45px; 
}



.plus {
  flex: 10%; 
  background-color: #523d56; 
  padding: 45px; 
}


/*---------------------tablichki--------------------------*/

* {
  box-sizing: border-box;
}

.columns {
  float: left;
  width: 33.3%;
  padding: 8px;
}


.pr {
  list-style-type: none;
  border: 1px solid #eee;
  margin: 0;
  padding: 0;
  -webkit-transition: 0.3s;
  transition: 0.3s;
}


.pr:hover {
  box-shadow: 0 8px 12px 0 rgba(0,0,0,0.5)
}


.pr .header {
  background-color: #ffffff;
  color: white;
  font-size: 16px;
}


.pr li {
  border-bottom: 1px solid #ffffff;
  padding: 16px;
  text-align: center;
}


.pr .grey {
  background-color: #eee;
  font-size: 18px;
font-weight:bold;
}

/*-----------------адаптивная раскладка колонок---------------*/
@media only screen and (max-width: 600px) {
  .columns {
    width: 100%;
  }
}

@media screen and (max-width: 700px) {
  .row {
    flex-direction: column;
  }
}


@media screen and (max-width: 400px) {
  .navbar a {
    float: none;
    width: 100%;
  }
}


/*-----------------------------pagination---------------------------*/
.pagination a {
  color: black;
  float: center;
  padding:  8px 16px;
  
  text-decoration: none;
  transition: background-color .3s;
}

.pagination a.active {
  background-color: #123338;
  color: white;
}

.pagination a:hover:not(.active) {
  background-color: #DDD3C7;
}




/*----------------------breadcrumb------------------------*/
ul.breadcrumb {
  padding: 10px 16px;
  list-style: none;
  background-color: #eee;
}


ul.breadcrumb li {
  display: inline;
  font-size: 14px;
}


ul.breadcrumb li+li:before {
  padding: 8px;
  color: black;
  content: "/\00a0";
}

ul.breadcrumb li a {
  color: #0275d8;
  text-decoration: none;
}

ul.breadcrumb li a:hover {
  color: #01447e;
  text-decoration: underline;
}


/*----------------------------spoiler_content---------------------------*/
.spoiler_wrap {
    position: relative;
    min-height: 30px;
    margin-bottom: 15px;
}

.spoiler_title {
    width: 100%;
    position: absolute;
    top: 0;
    left: 0;
    margin: 0;
    height: 50px;
    z-index: 1;
        font-weight: 600;
        font-size: 16px;
}

.toggle:checked~.spoiler_title,
.spoiler_title:hover {
    color: #FF4500;
}

.icon {
    height: 12px;
    position: absolute;
    width: 24px;
    right: 0;
    top: 11px;
    z-index: 2;
}

.icon:before,
.icon:after {
    background: #333;
    content: '';
    height: 4px;
    right: 0;
    position: absolute;
    top: 0;
    width: 12px;
    transition: transform 500ms ease;
}

.toggle:checked~.icon:before,
.toggle:checked~.icon:after {
    background: #EA2816;
}

.toggle:not(:checked)~.icon:before {
    transform: rotate(180deg);
}

.toggle:not(:checked)~.icon:after {
    transform: rotate(90deg);
}

.toggle {
    width: 100%;
    height: 40px;
    margin: 0;
    opacity: 0;
    cursor: pointer;
    position: absolute;
    top: 0;
    z-index: 3;
}

.border {
    height: 55px;
    border-bottom: 1px solid #333;
}

.toggle:checked~.border {
    border-bottom: 1px solid #FF4500;
}

.spoiler_content {
    padding: 15px 0 0 0;
    height: 0;
    overflow: hidden;
    z-index: -1;
    position: relative;
    opacity: 0;
    transition: .4s ease;
}

.toggle:checked~.spoiler_content {
    height: auto;
    opacity: 1;
    z-index: 2;
}





/*---------------------------slideshow-------------------------------*/

.slideshow {
    width: 100%;
    height: 370px;
    position: relative;
    overflow: hidden;
    background: #123338;
    margin: 0px 0;
}
.slideshow-item {
    width: 100%;
    height: 100%;
    position: absolute;
    opacity: 0;
    animation: slideanim 28s infinite;
    pointer-events: none;
}
.slideshow-item:nth-child(1),
.slideshow-item:nth-child(1) img {
    animation-delay: 0;
}
.slideshow-item:nth-child(2),
.slideshow-item:nth-child(2) img {
    animation-delay: 7s;
}
.slideshow-item:nth-child(3),
.slideshow-item:nth-child(3) img {
    animation-delay: 14s;
}
.slideshow-item:nth-child(4),
.slideshow-item:nth-child(4) img {
    animation-delay: 21s;
}
.slideshow-item img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    animation: zoom 28s infinite;
}
.slideshow-item-text {
    max-width: 100%;
    position: absolute;
    bottom: 20px;
    left: 10px;
    color: #fff;
    padding: 20px 30px;
    font-family: 'Roboto', sans-serif;   
}



@keyframes slideanim {
    12.5%{
        opacity: 1;
        pointer-events: auto;
    }
    25%{
        opacity: 1;
        pointer-events: auto;
    }    
    37.5%{
        opacity: 0;
    }
}
@keyframes zoom {
    100%{
        transform: scale(1.3);
    }    
}
@media screen and (max-width: 1100px){
    .slideshow-item-text{
        max-width: 95%;
    }
}
@media screen and (max-width: 456px){
    .slideshow-item-text {
        bottom: 0;
        left: 0;
        max-width: 100%;
    }
    .slideshow-item-text h5 {
        font-size: 18px;
    }
    .slideshow-item-text p {
        font-size: 13px;
    }
}
/*---------------------------vertical-menu-----------------------------*/

.vertical-menu {
  width: 100%; 
}

.vertical-menu a {
  background-color: #ffffff;
  color: black;
  display: block;
  padding: 12px; 
  text-decoration: none;
}

.vertical-menu a:hover {
  background-color: #ccc;
}

.vertical-menu a.active {
  background-color: #04AA6D; 
  color: white;
}

.vertical-menu1 {
  width: 100%; 
}

.vertical-menu1 a {
  background-color: #ffffff;
  color: black;
  display: block;
  padding: 12px;
  text-decoration: none;
}

.vertical-menu1 a:hover {
  background-color: #ccc;
}

.vertical-menu1 a.active {
  background-color: #04AA6D; 
  color: white;
}


/*---------------------------btn-up-------------------------------*/
body {
      min-height: 500px;
    }

    .btn-up {
      position: fixed;
      background-color: #ccc;
      right: 8px;
      bottom: 30px;
      cursor: pointer;
      display: flex;
      align-items: center;
      justify-content: center;
      width: 30px;
      height: 30px;
    }

    .btn-up::before {
      content: "";
    width: 30px;
    height: 30px;
    background-size: 100% 100%;
      background-image: url(images/up.svg);
    }

    .btn-up_hide {
      display: none;
    }

    @media (hover: hover) and (pointer: fine) {
      .btn-up:hover {
        background-color: #FF4500;
      }
    }



/*----------------------btn-group button cyan--------------------------*/

.btn-group button {
background-color: #ccc;
  border: 3px solid #6f5358;
  border-radius: 75px 75px 75px 75px; 
  color: white; 
  padding: 10px 10px;
  cursor: pointer;
  width: 100%;
  display: block;
  
  cursor: pointer;
  width: 100%;
  display: block;
}

.btn-group button:not(:last-child) {
  border-bottom: none;
}

.btn-group button:hover {
  background-color: #0088cc;
}




/*---------------------btn-group button green--------------------------*/

.btn-group2 button {
background-color: #ccc;
  border: 3px solid #6f5358;
  border-radius: 75px 75px 75px 75px; 
  color: white; 
  padding: 10px 10px;
  cursor: pointer; 
  width: 100%;
  display: block;
  cursor: pointer; 
  width: 100%; 
  display: block; 
}

.btn-group2 button:not(:last-child) {
  border-bottom: none; 
}

.btn-group2 button:hover {
  background-color: #43d854;
}

/*---------------------btn-group button orange--------------------------*/

.btn-group3 button {
background-color: #B4B4B4;
  border: 3px solid #523d56;
  border-radius: 75px 75px 75px 75px; 
  color: white; 
  padding: 10px 10px; 
  cursor: pointer;
  width: 100%; 
  display: block;
  
  cursor: pointer; 
  width: 100%;
  display: block;
}

.btn-group3 button:not(:last-child) {
  border-bottom: none;
}

.btn-group3 button:hover {
  background-color: #d87343;
}



/*---------------------------footer-------------------------------*/
.footer {
  padding: 40px; 
  text-align: left; 
  background: #123338 
}



/*---------------------------navigation right-------------------------------*/
#mySidenav a {
  position: fixed; 
  right: -90px; 
  transition: 0.3s; 
  padding: 10px; 
  width: 125px; 
  text-decoration: none;
  font-size: 14px; 
  color: white; 
  border-radius: 70px 0px 0px 70px; 
}

#mySidenav a:hover {
  right: 0; 

}


#phone {
  top: 160px;
  background-color:  #B4B4B4;
}

#phone:hover {
  background-color: #d87343;
}


#whatsapp{
  top: 230px;
  background-color: #B4B4B4; 
}
#whatsapp:hover {
  background-color: #43d854;
}


#telegram {
  top: 300px;
  background-color: #B4B4B4; 
}
#telegram:hover {
  background-color: #0088cc;
}





