* {
  margin: 0;
  padding: 0;
  -ms-box-sizing: border-box;
  -o-box-sizing: border-box;
  box-sizing: border-box;
  -webkit-tap-highlight-color: rgba(0, 0, 0, 0);
}
li {
  list-style: none;
}
a {
  color: #000;
  text-decoration: none;
}
a:hover {
  text-decoration: none;
}
input,
textarea,
button,
a,
select:focus {
  outline: none;
}
html {
  scroll-behavior: smooth;
}
p,
ul {
  margin: 0;
}
@font-face {
  font-family: 'Montserrat';
  /* название одно */
  src: url('../fonts/Montserrat-Regular/fonts/Montserrat-Regular.eot');
  /* IE 9 - 11 */
  src: url('../fonts/Montserrat-Regular/fonts/Montserrat-Regular.eot?#iefix') format('embedded-opentype'), /* IE Fix for IE 6-8*/ url('../fonts/Montserrat-Regular/fonts/Montserrat-Regular.woff') format('woff');
  /* IE 9-11 & All Modern Browsers */
  src: url("../fonts/Montserrat-Regular/fonts/Montserrat-Regular.ttf") format("truetype");
  font-style: normal;
  font-weight: normal;
}
@font-face {
  font-family: 'Montserrat-bold';
  /* название одно */
  src: url('../fonts/Montserrat-Bold/fonts/Montserrat-Bold.eot');
  /* IE 9 - 11 */
  src: url('../fonts/Montserrat-Bold/fonts/Montserrat-Bold.eot?#iefix') format('embedded-opentype'), /* IE Fix for IE 6-8*/ url('../fonts/Montserrat-Bold/fonts/Montserrat-Bold.woff') format('woff');
  /* IE 9-11 & All Modern Browsers */
  src: url("../fonts/Montserrat-Bold/fonts/Montserrat-Bold.ttf") format("truetype");
  font-style: normal;
  font-weight: normal;
}
.container {
  max-width: 1000px;
  margin: 0 auto;
}
header {
  height: 67px;
  font-family: 'Montserrat';
  padding-top: 10px;
}
header .logo_head {
  width: 106px;
  position: relative;
  top: 10px;
}
header .logo_head_a {
  padding-left: 0;
}
header p,
header a {
  line-height: 40px;
  padding: 0px 10px 0px 10px;
  vertical-align: baseline;
  width: auto;
  display: block;
  color: #e70623!important;
  text-transform: none;
  text-align: left;
  text-decoration: none;
  background: rgba(0, 0, 0, 0);
  border: 0;
  border-radius: 0;
  font-family: 'Montserrat-bold';
  font-size: 16px;
  font-weight: bold;
  outline: none;
}
header .row {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
}
header .menu_div {
  display: flex;
  align-items: flex-start;
}
header .menu_head {
  display: flex;
  align-items: center;
}
header .menu_head li {
  margin-right: 10px;
  position: relative;
  top: 3px;
}
header .menu_head li:last-child {
  margin: 0;
}
header .menu_head .drop_down {
  position: relative;
  cursor: pointer;
}
header .menu_head .drop_down:after {
  content: url(../img/arr_down.svg);
  position: absolute;
  top: 2px;
  transform: scale(2);
  right: 0;
}
header .menu_head .drop_down ul {
  position: absolute;
}
header .menu_head .phone_head a {
  padding: 0px 25px;
  margin-left: 5px;
}
header .menu_head .phone_head a img {
  margin-right: 10px;
}
header .login {
  border-radius: 50px;
  border-color: #e30613!important;
  border-style: solid;
  border-width: 2px;
  display: flex;
  height: 44px;
  justify-content: center;
  align-items: center;
  padding: 0  20px;
}
header .login img {
  margin: 0 10px 0 0;
}
header .head_lang {
  display: flex;
  align-items: center;
}
header .media_btn {
  display: none;
  align-items: center;
}
header .sub-menu {
  display: none;
  z-index: 999;
  position: absolute;
  width: 250px;
  max-width: none;
  padding: 0px 0px 0px 0px;
  border: 0;
  background: #f1f1f1;
  border-radius: 0;
}
header .sub-menu a {
  display: block;
  background: #f1f1f1;
  color: #666!important;
  font-family: inherit;
  font-size: 14px;
  font-weight: normal;
  padding: 0px 10px 0px 10px;
  line-height: 35px;
  text-decoration: none;
  text-transform: none;
  vertical-align: baseline;
}
header .menu_adaptiv {
  cursor: pointer;
}
header .menu_adaptiv div {
  display: block;
  width: 30px;
  height: 4px;
  background-color: #e70623;
  border-radius: 4px;
  transition-property: transform;
  transition-duration: 0.15s;
  margin: 5px 0;
  transition-timing-function: ease;
}
footer {
  margin-top: 60px;
  background: #f12a44;
  padding: 20px 0;
  color: #ffffff;
}
footer .row {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
}

footer .block_foot .ul_foot li {
  margin-bottom: 5px;
  font-size: 13px;
  list-style-type: disc;
}

footer .block_foot .ul_foot a {
  font-family: 'Montserrat';
  color: #ffffff;
}
footer .block_foot .title_foot {
  font-family: 'Montserrat-bold';
  margin-bottom: 1.85em;
  font-size: 13px;
}
footer .block_foot .phon__foot {
  font-family: 'Montserrat-bold';
  color: #fff;
  font-size: 13px;
}
footer .block_foot .email__foot {
  font-family: 'Montserrat';
  color: #fff;
  font-size: 13px;
  line-height: 22px;
}
footer .block_foot .img_foot {
  display: flex;
  align-items: flex-end;
  margin-top: 1.85em;
}
footer .block_foot .img_foot a:first-child img {
  width: 50px;
}
footer .block_foot .img_foot a:last-child img {
  width: 130px;
  margin-left: 2.4em;
  position: relative;
  top: 8px;
}
footer .row_end_foot {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-top: 20px;
}

footer .row_end_foot img {
  width: 111px;
}
footer .row_end_foot p {
  width: 70%;
  font-family: 'Montserrat';
  font-size: 10px;
  line-height: 22px;
}

footer .row_end_foot2 {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: space-between;
  margin-top: 20px;
}

footer .row_end_foot2 p {
  font-family: 'Montserrat';
  font-size: 12px;
  line-height: 22px;
  width: 100%;  
}

a.pers_mess_top
{
  position: relative;
}

a.pers_mess_top:hover img 
{
    /*box-shadow: 2px 7px 20px #00000057; */
    background: #ffbebe;
}
    
.pers_mess_top span.pers_mess_top_counter
{
    position: absolute;
    top: -1px;
    right: 12px;
    /* height: 24px; */
    background: #e70623;
    color: #fff;
    padding: 1px 3px;
    /* padding-top: 1px !important; */
    border-radius: 4px;
    /* margin-left: 2px; */
    /* margin-top: 2px; */
    /* position: relative; */
    line-height: 1;
}

.pers_mess_top_wrap, .pers_mess_top_wrap_mob
{
    color: #000;
    font-weight: normal;
    font-size: 14px;
    position: absolute;
    right: 0;
    /*text-align: center */;
    width: 320px;
    /* border: 1px solid #0000004d; */
    border-radius: 7px;
    padding: 12px 6px 6px;
    top: 43px;
    box-shadow: 2px 7px 20px #00000057; 
    background: #f1f1f1;
    z-index:500;
    margin: 0 !important;
    font-family: 'Montserrat';
}

.pers_mess_top_wrap_mob
{
  width: 320px;
  right: -66px;  
}

.pers_mess_top_wrap .pers_mess_top_read, .pers_mess_top_wrap .pers_mess_top_unread
{ 
  border-bottom: 1px solid #0000004d;
  padding-bottom:5px;
}

.pers_mess_top_wrap .pers_mess_top_date
{
 margin-top: 6px; 
 margin-left: 24px;
 line-height: 1;
 font-size: 14px;

}

.pers_mess_top_wrap_mob .pers_mess_top_date
{
 margin-top: 12px; 
 margin-left: 24px;
 line-height: 1.5;
 font-size: 14px;
}

.pers_mess_top_wrap p
{
    color: #000 !important;
    font-weight: normal;
    font-size: 14px;
    line-height: 1;
    margin-bottom: 5px;
    font-family: 'Montserrat';    
}

.pers_mess_top_wrap_mob p
{
    color: #000 !important;
    font-weight: normal;
    font-size: 14px;
    line-height: 1.5;
    margin-bottom: 5px;
    font-family: 'Montserrat';    
}

.pers_mess_top_wrap_mob a.btn_1
{
    line-height:2.2 !important;
}   


.pers_mess_top_wrap .pers_mess_top_read p, .pers_mess_top_wrap .pers_mess_top_read .pers_mess_top_date
{
     font-size: 12px;
}


@media only screen and (max-width: 992px) {
  .container {
    width: 97%;
    margin: 0 auto;
  }
  header .menu_head {
    display: flex;
    align-items: flex-start;
    flex-direction: column;
  }
  .media_btn {
    display: flex!important;
    margin-right: 10px;
  }
  .media_btn a {
    height: auto;
    line-height: 0;
  }
  .media_btn img {
    width: 25px;
    margin-right: 20px;
  }
  header .menu_head .phone_head a {
    padding: 0;
  }
  header .menu_div {
    display: none!important;
    position: absolute;
    width: 320px;
    top: 59px;
    right: 21px;
  }
  header .logo_head {
    width: 100px;
  }
  header .menu_div_active {
    display: block!important;
    background: #fff;
    z-index: 9999;
  }
  .menu_adaptiv_active > div:nth-child(2) {
    display: none;
  }
  .menu_adaptiv_active > div:first-child {
    transform: rotate(218deg);
  }
  .menu_adaptiv_active > div:last-child {
    transform: rotate(137deg);
    bottom: 9px;
    position: relative;
  }
  header .menu_head .drop_down {
    width: 90%;
  }
  header .login {
    width: 120px;
    margin: 0 auto;
  }
  header .head_lang {
    justify-content: center;
    margin-top: 20px;
  }
  header .menu_head .drop_down ul {
    position: relative;
    width: 100%;
  }
}
@media only screen and (min-width: 300px) and (max-width: 762px) {
  footer .row {
    flex-wrap: wrap;
  }
  .block_foot {
    width: 100%;
    margin-bottom: 20px;
  }
  footer .row_end_foot {
    display: flex;
    align-items: flex-start;
    justify-content: space-between;
    margin-top: 20px;
    flex-direction: column;
  }
  footer .row_end_foot p {
    width: 100%;
    margin-top: 10px;
  }
  footer .container {
    width: 95%;
  }
}
@media only screen and (max-width: 479px) {
  header .menu_div {
    width: 100%;
    right: 0;
    padding: 0px 20px 0px 20px;
  }
}
@media only screen and (max-width: 400px) {
  header .container {
    width: 300px;
  }
}
@media only screen and (min-width: 321px) and (max-width: 479px) {
  header .container {
    width: 350px;
  }
}
@media only screen and (min-width: 480px) and (max-width: 639px) {
  header .container {
    width: 440px;
  }
}
@media only screen and (min-width: 640px) and (max-width: 767px) {
  header .container {
    width: 600px;
  }
}
@media only screen and (min-width: 768px) and (max-width: 992px) {
  header .container {
    width: 708px;
  }
}
@media only screen and (min-width: 400px) and (max-width: 762px) {
  footer .container {
    width: 85%;
  }
}
@media (min-width: 1439px) {
  .content_wrap,
  .content_container {
    width: 1170px;
  }
}
@media only screen and (min-width: 762.5px) and (max-width: 992px) {
  header .container {
    width: 50%;
  }
}
