@font-face {
  font-family: Lato;
  src: url(fonts/Lato/Lato-Hairline.ttf) format('truetype'), url(fonts/Lato/lato-hairline-webfont.svg) format('svg'), url(fonts/Lato/lato-hairline-webfont.woff) format('woff');
  font-weight: 100;
  font-style: normal;
}
@font-face {
  font-family: Lato;
  src: url(fonts/Lato/Lato-Thin.ttf) format('truetype'), url(fonts/Lato/lato-thin-webfont.svg) format('svg'), url(fonts/Lato/lato-thin-webfont.woff) format('woff');
  font-weight: 200;
  font-style: normal;
}
@font-face {
  font-family: Lato;
  src: url(fonts/Lato/Lato-Light.ttf) format('truetype'), url(fonts/Lato/lato-light-webfont.svg) format('svg'), url(fonts/Lato/lato-light-webfont.woff) format('woff');
  font-weight: 300;
  font-style: normal;
}
@font-face {
  font-family: Lato;
  src: url(fonts/Lato/Lato-Regular.ttf) format('truetype'), url(fonts/Lato/lato-regular-webfont.svg) format('svg'), url(fonts/Lato/lato-regular-webfont.woff) format('woff');
  font-weight: 400;
  font-style: normal;
}
@font-face {
  font-family: Lato;
  src: url(fonts/Lato/Lato-Medium.ttf) format('truetype'), url(fonts/Lato/lato-medium-webfont.svg) format('svg'), url(fonts/Lato/lato-medium-webfont.woff) format('woff');
  font-weight: 500;
  font-style: normal;
}
@font-face {
  font-family: Lato;
  src: url(fonts/Lato/Lato-Semibold.ttf) format('truetype'), url(fonts/Lato/lato-semibold-webfont.svg) format('svg'), url(fonts/Lato/lato-semibold-webfont.woff) format('woff');
  font-weight: 600;
  font-style: normal;
}
@font-face {
  font-family: Lato;
  src: url(fonts/Lato/Lato-Bold.ttf) format('truetype'), url(fonts/Lato/lato-bold-webfont.svg) format('svg'), url(fonts/Lato/lato-bold-webfont.woff) format('woff');
  font-weight: 700;
  font-style: normal;
}
@font-face {
  font-family: Lato;
  src: url(fonts/Lato/Lato-Heavy.ttf) format('truetype'), url(fonts/Lato/lato-heavy-webfont.svg) format('svg'), url(fonts/Lato/lato-heavy-webfont.woff) format('woff');
  font-weight: 800;
  font-style: normal;
}
@font-face {
  font-family: Lato;
  src: url(fonts/Lato/Lato-Black.ttf) format('truetype'), url(fonts/Lato/lato-black-webfont.svg) format('svg'), url(fonts/Lato/lato-black-webfont.woff) format('woff');
  font-weight: 900;
  font-style: normal;
}
@font-face {
  font-family: SourceSansPro;
  src: url(fonts/SourceSansPro/SourceSansProRegular.ttf) format('truetype'), url(fonts/SourceSansPro/sourcesanspro-regular-webfont.svg) format('svg'), url(fonts/SourceSansPro/sourcesanspro-regular-webfont.woff) format('woff');
  font-weight: 400;
  font-style: normal;
}
@font-face {
  font-family: SourceSansPro;
  src: url(fonts/SourceSansPro/SourceSansProLight.ttf) format('truetype'), url(fonts/SourceSansPro/sourcesanspro-light-webfont.svg) format('svg'), url(fonts/SourceSansPro/sourcesanspro-light-webfont.woff) format('woff');
  font-weight: 300;
  font-style: normal;
}
@font-face {
  font-family: SourceSansPro;
  src: url(fonts/SourceSansPro/SourceSansProBold.ttf) format('truetype'), url(fonts/SourceSansPro/sourcesanspro-bold-webfont.svg) format('svg'), url(fonts/SourceSansPro/sourcesanspro-bold-webfont.woff) format('woff');
  font-weight: 700;
  font-style: normal;
}
body {
  font-family: Lato, Arial, sans-serif;
  font-weight: 400;
}
.standart-button {
  position: relative;
  width: 7.375rem;
  height: 2rem;
  box-sizing: border-box;
  border-radius: 0.2rem;
  border-style: solid;
  border-width: 1px;
  outline: none;
  overflow: hidden;
  text-overflow: ellipsis;
  font-family: Lato, Arial, sans-serif;
  font-weight: 900;
  font-size: 0.75rem;
  text-transform: uppercase;
  text-align: center;
  vertical-align: middle;
  background-color: #fff;
  border-color: #4eb7a8;
  box-shadow: 0 0.2rem 0 #28a290;
  color: #4eb7a8;
}
.standart-button:hover {
  background-color: #4eb7a8;
  color: #fff;
  cursor: pointer;
}
.standart-button:active {
  bottom: -0.25rem;
  box-shadow: none;
  border-style: solid;
  border-width: 1px;
}
.standart-button_size_small {
  width: 4.875rem;
  height: 1.375rem;
  font-size: 0.625rem;
  box-shadow: 0 0.125rem 0 #28a290;
}
.standart-button_fullWidth {
  width: 100%;
}
.standart-button_color_orange {
  border-color: #e75735;
  box-shadow: 0 0.2rem 0 #bf3e1f;
  color: #e75735;
}
.standart-button_color_orange:hover {
  background-color: #e75735;
}
.standart-button_color_orange.standart-button_size_small {
  box-shadow: 0 0.125rem 0 #bf3e1f;
}
.standart-button:disabled {
  border-color: #f2f2f2;
  box-shadow: 0 0.2rem 0 #e5e5e5;
  color: #f2f2f2;
}
.standart-button:disabled:hover {
  background-color: #f2f2f2;
}
.standart-button:disabled.standart-button_size_small {
  box-shadow: 0 0.125rem 0 #e5e5e5;
}
.standart-button:disabled:hover {
  background-color: #fff;
}
.standart-button #button__ripple {
  position: absolute;
  width: 4rem;
  height: 4rem;
  border-radius: 100%;
  background-color: #fff;
  animation: ripple 0.7s forwards;
  pointer-events: none;
}
@-moz-keyframes ripple {
  0% {
    transform: scale(0, 0);
    opacity: 1;
  }
  20% {
    opacity: 1;
  }
  100% {
    opacity: 0;
    transform: scale(1, 1);
  }
}
@-webkit-keyframes ripple {
  0% {
    transform: scale(0, 0);
    opacity: 1;
  }
  20% {
    opacity: 1;
  }
  100% {
    opacity: 0;
    transform: scale(1, 1);
  }
}
@-o-keyframes ripple {
  0% {
    transform: scale(0, 0);
    opacity: 1;
  }
  20% {
    opacity: 1;
  }
  100% {
    opacity: 0;
    transform: scale(1, 1);
  }
}
@keyframes ripple {
  0% {
    transform: scale(0, 0);
    opacity: 1;
  }
  20% {
    opacity: 1;
  }
  100% {
    opacity: 0;
    transform: scale(1, 1);
  }
}
.arrow-button {
  padding: 0;
  box-sizing: content-box;
  width: 2.75rem;
  height: 2.75rem;
  border-radius: 100%;
  border-style: solid;
  border-width: 0.1875rem;
  outline: none;
  cursor: pointer;
  background-color: #fff;
  display: flex;
  align-items: center;
  justify-content: space-around;
  border-color: #4eb7a8;
  color: #4eb7a8;
}
.arrow-button__arrow {
  width: 0.875rem;
  height: 0.875rem;
  transform: translateX(-0.25rem) rotate(-45deg);
  border-bottom: 0.1875rem solid #4eb7a8;
  border-right: 0.1875rem solid #4eb7a8;
}
.arrow-button:hover {
  background-color: #4eb7a8;
}
.arrow-button:hover .arrow-button__arrow {
  border-color: #fff;
}
.arrow-button_color_orange {
  border-color: #e75735;
}
.arrow-button_color_orange .arrow-button__arrow {
  border-color: #e75735;
}
.arrow-button_color_orange:hover {
  background-color: #e75735;
}
.arrow-button_orientation_left .arrow-button__arrow {
  transform: translateX(0.25rem) rotate(135deg);
}
.arrow-button:disabled {
  border-color: #e5e5e5;
  background-color: #e5e5e5;
}
.arrow-button:disabled .arrow-button__arrow {
  border-color: #fff;
}
.percentages {
  width: 6.25rem;
  height: 6.25rem;
  background-color: #fff;
  font-family: Lato, Arial, sans-serif;
  font-weight: 300;
  font-size: 2.9rem;
  color: #9d9d9d;
  display: flex;
  align-items: center;
  justify-content: space-around;
  position: relative;
}
.percentages__svg {
  transform: rotate(-90deg);
}
.percentages__circle {
  fill: #fff;
  stroke: #e75735;
  stroke-width: 0.31rem;
  animation-name: start;
  animation-duration: 3s;
}
.percentages__number {
  position: absolute;
  top: 0;
  left: 0;
  width: 6.25rem;
  height: 6.25rem;
  line-height: 6.25rem;
  text-align: center;
}
@-moz-keyframes start {
  from {
    stroke-dashoffset: 300;
  }
  to {
    stroke-dashoffset: 0;
  }
}
@-webkit-keyframes start {
  from {
    stroke-dashoffset: 300;
  }
  to {
    stroke-dashoffset: 0;
  }
}
@-o-keyframes start {
  from {
    stroke-dashoffset: 300;
  }
  to {
    stroke-dashoffset: 0;
  }
}
@keyframes start {
  from {
    stroke-dashoffset: 300;
  }
  to {
    stroke-dashoffset: 0;
  }
}
.pie-chart {
  width: 6.25rem;
  height: 6.25rem;
  background-color: #fff;
  display: flex;
  align-items: center;
  justify-content: space-around;
  position: relative;
}
.pie-chart__svg {
  transform: rotate(-90deg);
}
.pie-chart__circle {
  fill: none;
  stroke-width: 1rem;
}
.pie-chart_color_lightgray {
  stroke: #e5e5e5;
}
.pie-chart_color_orange {
  stroke: #e75735;
}
.pie-chart_color_blue {
  stroke: #4eb7a8;
}
.pie-chart_color_gray {
  stroke: #747474;
}
.slider {
  position: relative;
  font-family: Lato, Arial, sans-serif;
  font-weight: 700;
  width: 100%;
}
.slider__view {
  position: absolute;
  width: 2.2rem;
  height: 1.5rem;
  background-color: #4eb7a8;
  border-radius: 0.31rem;
  top: 0;
  left: 50%;
  color: #fff;
  text-align: center;
  line-height: 1.5rem;
}
.slider__view::after {
  content: '';
  bottom: -0.125rem;
  left: 1rem;
  position: absolute;
  width: 0.31rem;
  height: 0.31rem;
  background-color: inherit;
  transform: rotate(-45deg);
}
.slider__line {
  background-color: #4eb7a8;
  width: 0.625rem;
  height: 0.31rem;
  border-radius: 0.31rem;
  position: absolute;
  top: 2.44rem;
  left: 0;
  pointer-events: none;
}
.slider__input {
  -webkit-appearance: none;
  -moz-appearance: none;
  width: 100%;
  margin: 0;
  padding-top: 2.44rem;
  background-color: transparent;
}
.slider__input:focus {
  outline: none;
}
.slider__input::-webkit-slider-runnable-track {
  width: 100%;
  height: 0.31rem;
  border-radius: 0.31rem;
  background-color: #e5e5e5;
  cursor: pointer;
}
.slider__input::-webkit-slider-thumb {
  -webkit-appearance: none;
  margin-top: -0.5rem;
  height: 1.25rem;
  width: 1.25rem;
  border-radius: 0.625rem;
  background: #4eb7a8;
  cursor: pointer;
}
.slider__input::-moz-range-track {
  width: 100%;
  height: 0.31rem;
  border-radius: 0.31rem;
  background-color: #e5e5e5;
  cursor: pointer;
}
.slider__input::-moz-range-thumb {
  margin-top: -0.5rem;
  height: 1.25rem;
  width: 1.25rem;
  border-radius: 0.625rem;
  background: #4eb7a8;
  cursor: pointer;
  border: none;
}
.slider__numbers {
  padding: 0.44rem 0.125rem 0 0.125rem;
  color: #e5e5e5;
  font-size: 0.625rem;
  display: flex;
  justify-content: space-between;
}
.slider_color_orange .slider__view,
.slider_color_orange .slider__line {
  background-color: #e75735;
}
.slider_color_orange .slider__input::-webkit-slider-thumb {
  background: #e75735;
}
.slider_color_orange .slider__input::-moz-range-thumb {
  background: #e75735;
}
.stages {
  width: 100%;
  display: flex;
  align-items: center;
  justify-content: space-around;
}
.stages__circle {
  width: 1.8rem;
  height: 1.8rem;
  border-radius: 0.9rem;
  background-color: #e5e5e5;
  color: #8e8d8d;
  z-index: 2;
  font-family: Lato, Arial, sans-serif;
  font-weight: 700;
  flex: 0 0 1.8rem;
}
.stages__text {
  text-align: center;
  line-height: 1.8rem;
}
.stages__line {
  flex: 2 2 1rem;
  margin: -0.31rem;
  height: 0.31rem;
  background-color: #e5e5e5;
}
.stages_color_orange {
  background-color: #e75735;
  color: #fff;
}
.stages_color_blue {
  background-color: #4eb7a8;
  color: #fff;
}
.search {
  display: flex;
  width: 100%;
  height: 1.75rem;
  padding: 0;
  border: none;
}
.search__input {
  display: block;
  box-sizing: border-box;
  flex: 1 1 3rem;
  height: 100%;
  padding: 0 0 0 0.8rem;
  margin-right: 0;
  background-color: #e5e5e5;
  outline: none;
  border-radius: 0.2rem 0 0 0.2rem;
  border: none;
  font-family: SourceSansPro, Arial, sans-serif;
  font-weight: 400;
  font-size: 0.875rem;
  color: #8e8d8d;
}
.search__input_notfound {
  background-color: #e75735;
}
.search__input_notfound::-webkit-input-placeholder {
  color: #fff;
}
.search__input_notfound::-moz-placeholder {
  color: #fff;
}
.search__submit {
  -webkit-appearance: none;
  -moz-appearance: none;
  flex: 0 0 2.0625rem;
  height: 100%;
  margin: 0;
  padding: 0;
  background-color: #e75735;
  border-radius: 0 0.2rem 0.2rem 0;
  border: none;
  outline: none;
  background-image: url(img/lupa.png);
  background-repeat: no-repeat;
  background-position: center;
}
.select {
  position: relative;
  width: 100%;
  height: 1.75rem;
  padding: 0;
  border: none;
}
.select__select {
  width: 100%;
  height: 100%;
  -webkit-appearance: none;
  -moz-appearance: none;
  background-color: #e5e5e5;
  outline: none;
  border-radius: 0.2rem;
  border: none;
  padding: 0 1rem;
  font-size: 0.875rem;
  color: #8e8d8d;
  font-family: SourceSansPro, Arial, sans-serif;
  font-weight: 400;
}
.select__arrow {
  position: absolute;
  width: 2.0625rem;
  height: 100%;
  background-color: #4eb7a8;
  top: 0;
  right: 0;
  pointer-events: none;
  border-radius: 0 0.2rem 0.2rem 0;
}
.select__arrow::after {
  content: '';
  position: absolute;
  width: 25%;
  height: 25%;
  top: 25%;
  right: 35%;
  border-bottom: 0.125rem solid #fff;
  border-left: 0.125rem solid #fff;
  transform: rotate(-45deg);
}
.user-profile {
  display: flex;
  justify-content: space-between;
  width: 100%;
  height: 5.875rem;
  font-family: Lato, Arial, sans-serif;
  font-weight: 400;
}
.user-profile__photo {
  margin-right: 0.69rem;
}
.user-profile__block {
  position: relative;
  background-color: #e5e5e5;
  color: #fff;
  height: 100%;
  padding: 0.75rem 0.625rem;
  box-sizing: border-box;
  text-align: center;
  flex: 1 0 5rem;
  border-radius: 0.625rem;
}
.user-profile__block::before {
  content: '';
  position: absolute;
  width: 0.625rem;
  height: 0.625rem;
  background-color: inherit;
  transform: rotate(-45deg);
  top: calc(50% - 0.375rem);
  left: -0.3125rem;
}
.user-profile__name {
  font-size: 1.125rem;
}
.user-profile__prof {
  font-family: Lato, Arial, sans-serif;
  font-weight: 900;
  font-size: 0.69rem;
  text-transform: uppercase;
}
.user-profile__social-bar {
  padding: 0.625rem;
  box-sizing: border-box;
  width: 100%;
  height: auto;
  display: flex;
  align-items: center;
  justify-content: space-around;
}
.user-profile__icon-fb {
  width: 1.56rem;
  height: 1.56rem;
  background: url(img/icon1.png) no-repeat center;
}
.user-profile__icon-twitter {
  width: 1.56rem;
  height: 1.56rem;
  background: url(img/icon2.png) center no-repeat;
}
.user-profile__icon-dribbble {
  width: 1.56rem;
  height: 1.56rem;
  background: url(img/icon3.png) no-repeat center;
}
.user-profile_color_blue {
  background-color: #4eb7a8;
}
.user-profile_color_orange {
  background-color: #e75735;
}
.news {
  width: 100%;
  height: 13.25rem;
  border-radius: 0.2rem;
  color: #fff;
  background-color: #8e8d8d;
  background-repeat: no-repeat;
  background-size: contain;
  font-family: Lato, Arial, sans-serif;
  font-weight: 400;
  overflow: hidden;
}
.news__img {
  width: 5.94rem;
  height: 100%;
}
.news__text {
  float: right;
  width: calc(100% - 5.94rem);
  height: 100%;
  padding: 0 1.25rem;
  box-sizing: border-box;
  background-color: #4eb7a8;
  font-size: 0.75rem;
  border-top-right-radius: 0.2rem;
  border-bottom-right-radius: 0.2rem;
}
.news__title {
  margin: 0.94rem 0;
  font-size: 1.56rem;
  font-family: Lato, Arial, sans-serif;
  font-weight: 300;
}
.news__date {
  font-size: 0.625rem;
  font-family: Lato, Arial, sans-serif;
  font-weight: 900;
  text-transform: uppercase;
}
.news_color_orange .news__text {
  background-color: #e75735;
}
.events {
  width: 100%;
  height: 13.25rem;
  border-radius: 0.2rem;
  color: #fff;
  background-color: #8e8d8d;
  background-repeat: no-repeat;
  background-size: contain;
  overflow: hidden;
}
.events__img {
  width: 5.94rem;
  height: 100%;
}
.events__text {
  float: right;
  width: calc(100% - 5.94rem);
  height: 100%;
  padding: 0 1.25rem;
  box-sizing: border-box;
  background-color: #4eb7a8;
  font-size: 0.75rem;
  border-top-right-radius: 0.2rem;
  border-bottom-right-radius: 0.2rem;
}
.events__date {
  font-family: Lato, Arial, sans-serif;
  font-weight: 300;
  font-size: 1.875rem;
  text-align: center;
  display: flex;
  align-items: flex-end;
}
.events__date .events__date-day {
  font-size: 4.375rem;
}
.events__date .events__date-month {
  margin-bottom: 0.625rem;
}
.events__title {
  font-size: 0.75rem;
  font-family: Lato, Arial, sans-serif;
  font-weight: 900;
  text-transform: uppercase;
  margin-bottom: 0;
}
.events__description {
  font-family: Lato, Arial, sans-serif;
  font-weight: 400;
  margin-top: 0.31rem;
}
.events__button-container {
  margin: 0 auto;
  width: 8rem;
}
.events_color_orange .events__text {
  background-color: #e75735;
}
.map {
  width: 100%;
  border-radius: 0.2rem;
  font-family: Lato, Arial, sans-serif;
  font-weight: 400;
}
.map__element {
  height: 12.67rem;
  width: 100%;
  background-color: #8e8d8d;
  border-top-left-radius: 0.2rem;
  border-top-right-radius: 0.2rem;
}
.map__down {
  width: 100%;
  height: 4.375rem;
  background-color: #e75735;
  padding: 1.25rem;
  color: #fff;
  box-sizing: border-box;
  border-radius: 0 0 0.2rem 0.2rem;
}
.map__message {
  font-family: Lato, Arial, sans-serif;
  font-weight: 300;
  font-size: 1.875rem;
  width: 30%;
  height: 100%;
  line-height: 100%;
  margin: 0 1.25rem 0 0;
  float: left;
  overflow: hidden;
  text-overflow: ellipsis;
}
.map__address {
  font-family: Lato, Arial, sans-serif;
  font-weight: 900;
  font-size: 0.75rem;
  float: left;
  height: 1.875rem;
  width: calc(70% - 5rem);
  overflow: hidden;
  line-height: 1.875rem;
  vertical-align: middle;
}
.map__icon-location {
  float: right;
  height: 100%;
  width: 1.875rem;
  background: url(img/icon4.png) no-repeat center;
}
.map__icon-marker {
  float: right;
  height: 100%;
  width: 1.875rem;
  background: url(img/icon5.png) no-repeat center;
}
.calendar {
  width: 17.44rem;
  color: #fff;
  font-family: Lato, Arial, sans-serif;
  font-weight: 400;
  text-align: center;
  overflow: hidden;
  cursor: default;
  border-radius: 0.2rem;
}
.calendar__day {
  font-family: Lato, Arial, sans-serif;
  font-weight: 300;
  height: 6.81rem;
  line-height: 6.81rem;
  font-size: 5rem;
  background-color: #e75735;
}
.calendar__month {
  position: relative;
  height: 2.69rem;
  font-family: Lato, Arial, sans-serif;
  font-weight: 300;
  font-size: 1.625rem;
  line-height: 2.69rem;
  background-color: #d03c19;
}
.calendar__month .calendar__button-left,
.calendar__month .calendar__button-right {
  position: absolute;
  top: 0;
  height: 2.69rem;
  width: 2.69rem;
}
.calendar__month .calendar__button-left:hover,
.calendar__month .calendar__button-right:hover {
  background-color: rgba(0,0,0,0.1);
}
.calendar__month .calendar__button-left::before,
.calendar__month .calendar__button-right::before {
  content: '';
  position: absolute;
  top: calc(50% - 0.31rem);
  width: 0.625rem;
  height: 0.625rem;
  border-right: 0.2rem solid #fff;
  border-bottom: 0.2rem solid #fff;
}
.calendar__month .calendar__button-left {
  left: 0;
}
.calendar__month .calendar__button-left::before {
  transform: rotate(135deg);
  left: calc(50% - 0.31rem);
}
.calendar__month .calendar__button-right {
  right: 0;
}
.calendar__month .calendar__button-right::before {
  transform: rotate(-45deg);
  right: calc(50% - 0.31rem);
}
.calendar__year {
  height: 2.5rem;
  font-family: Lato, Arial, sans-serif;
  font-weight: 300;
  font-size: 1.875rem;
  line-height: 2.5rem;
  background-color: #e75735;
}
.calendar__days-week {
  font-family: Lato, Arial, sans-serif;
  font-weight: 900;
  font-size: 0.625rem;
  height: 1.69rem;
  line-height: 1.69rem;
  background-color: #d03c19;
  border: none;
  border-collapse: collapse;
  vertical-align: middle;
}
.calendar__days-week .calendar__cell {
  width: 2.491428571428572rem;
}
.calendar__days {
  margin: 0 -0.0625rem;
  background-color: #f2f2f2;
  color: #fff;
  font-family: SourceSansPro, Arial, sans-serif;
  font-weight: 400;
  font-size: 1.25rem;
  width: 17.565rem;
  border-collapse: collapse;
}
.calendar__days .calendar__cell {
  border: 0.0625rem solid #fff;
  width: calc(17.565rem / 7);
  height: calc(17.565rem / 7);
  box-sizing: border-box;
}
.calendar__days .calendar__days-month {
  color: #8e8d8d;
}
.calendar__days .calendar__today {
  background-color: #e75735;
  color: #fff;
}
.calendar__button-today {
  font-family: Lato, Arial, sans-serif;
  font-weight: 900;
  height: 3.06rem;
  line-height: 3.06rem;
  background-color: #e5e5e5;
  color: #8e8d8d;
  border-bottom-left-radius: 0.2rem;
  border-bottom-right-radius: 0.2rem;
}
.calendar__button-today:hover {
  background-color: #e75735;
  color: #fff;
}
.messaging {
  width: 100%;
  border-radius: 0.2rem;
  font-family: Lato, Arial, sans-serif;
  font-weight: 400;
}
.messaging__top {
  font-family: SourceSansPro, Arial, sans-serif;
  font-weight: 300;
  color: #fff;
  height: 7.25rem;
  background-color: #28a290;
  border-top-left-radius: 0.2rem;
  border-top-right-radius: 0.2rem;
}
.messaging__name {
  background-color: #4eb7a8;
  text-align: center;
  height: 5.125rem;
  line-height: 5.125rem;
  border-top-left-radius: 0.2rem;
  border-top-right-radius: 0.2rem;
  font-size: 2.19rem;
  margin: 0;
  width: 100%;
  overflow: hidden;
  text-overflow: clip;
  word-wrap: normal;
}
.messaging__img {
  margin-top: -0.75rem;
  display: flex;
  align-items: flex-end;
  justify-content: space-around;
  z-index: 3;
}
.messaging__photo {
  z-index: 1;
}
.messaging__chat {
  width: 1.25rem;
  height: 1.38rem;
  background: url(img/Chat.png) no-repeat;
  z-index: 3;
  margin-bottom: 0.31rem;
}
.messaging__camera {
  width: 1.55rem;
  height: 1.25rem;
  background-image: url(img/Camera.png);
  z-index: 3;
  margin-bottom: 0.31rem;
}
.messaging__bottom {
  font-family: Lato, Arial, sans-serif;
  font-weight: 700;
  font-size: 0.625rem;
  letter-spacing: 0.0625rem;
  background-color: #f2f2f2;
  min-height: 3.75rem;
  padding: 3.87rem 1.38rem 1.625rem;
  color: #8e8d8d;
  position: relative;
  border-bottom-left-radius: 0.2rem;
  border-bottom-right-radius: 0.2rem;
}
.messaging__buble {
  position: relative;
  background-color: #fff;
  border-radius: 0.625rem;
  padding: 1.25rem;
  margin-bottom: 1.0625rem;
}
.messaging__buble::before {
  content: '';
  position: absolute;
  width: 0.625rem;
  height: 0.625rem;
  background-color: inherit;
  transform: rotate(-45deg);
  top: -0.375rem;
  left: calc(50% - 0.375rem);
}
.messaging__message {
  padding: 1.0625rem;
  margin-bottom: 1rem;
  border-radius: 0.625rem;
  width: 100%;
  height: 5.5rem;
  box-sizing: border-box;
  background-color: #e5e5e5;
  border: 0.2rem solid #e5e5e5;
  color: #8e8d8d;
  -webkit-appearance: none;
  resize: none;
  overflow: auto;
  outline: none;
}
.messaging__message:focus {
  border: 0.2rem solid #fff;
}
.messaging__button {
  width: 100%;
  margin: 0;
}
.messaging__clearfix {
  height: 0;
  clear: both;
}
.messaging_color_orange .messaging__top {
  background-color: #bf3e1f;
}
.messaging_color_orange .messaging__name {
  background-color: #e75735;
}
.video {
  position: relative;
  width: 100%;
  height: 21rem;
  min-width: 200px;
  min-height: 100px;
  background-color: #000;
  border-radius: 0.2rem;
  font-family: Lato, Arial, sans-serif;
  font-weight: 400;
  color: #fff;
}
.video_full {
  position: fixed;
  top: 10vh;
  left: 10vw;
  width: 80vw;
  height: 80vh;
  z-index: 10;
}
.video_full::before {
  content: '';
  width: 100vw;
  height: 100vh;
  position: fixed;
  top: 0;
  left: 0;
  background-color: rgba(0,0,0,0.5);
  z-index: -1;
}
.video__text {
  padding: 1.6rem 2.5rem;
  box-sizing: border-box;
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
}
.video__text_hide {
  display: none;
}
.video__title {
  font-size: 2.2rem;
  margin-bottom: 2.2rem;
  font-family: Lato, Arial, sans-serif;
  font-weight: 300;
}
.video__src {
  font-size: 1.1rem;
}
.video__video {
  width: 100%;
  height: 100%;
}
.video__controls {
  display: flex;
  position: absolute;
  bottom: 0;
  left: 0;
  width: 100%;
  height: 3rem;
  background-color: rgba(0,0,0,0.5);
  border-bottom-right-radius: 0.2rem;
  border-bottom-left-radius: 0.2rem;
  overflow: hidden;
}
.video__button {
  flex: 0 0 3rem;
  height: 3rem;
  background-color: transparent;
  background: url(img/play.svg) center no-repeat;
}
.video__button:hover {
  background-color: rgba(255,255,255,0.1);
}
.video__button_play {
  background: url(img/pause.svg) center no-repeat;
}
.video__slider {
  flex: 1 1;
  margin: -1.2rem 1.25rem 0 1.25rem;
}
.video__button-full {
  flex: 0 0 3rem;
  height: 3rem;
  background: #e75735 url(img/fullScreen.svg) no-repeat center;
  border-bottom-right-radius: 0.2rem;
}
.video__button-full:hover {
  background-size: 2.75rem;
}
.photo {
  width: 5.875rem;
  height: 5.875rem;
  border-radius: 100%;
  box-sizing: border-box;
  border: 0.31rem solid #e5e5e5;
  background: #e5e5e5 no-repeat center;
  text-align: center;
  line-height: 5.875rem;
  color: #fff;
}
.main-header {
  display: flex;
  width: 100%;
  min-height: 3.125rem;
  padding: 0.625rem calc(50% - 348px);
  box-sizing: border-box;
  background-color: #e75735;
  font-family: Lato, Arial, sans-serif;
  font-weight: 700;
  color: #fff;
}
@media (max-width: 696px) {
  .main-header {
    padding: 0.625rem;
  }
}
.main-header__logo {
  width: 1.875rem;
  height: 1.875rem;
  background: url(img/icon3.png) center no-repeat;
}
.main-header__nav {
  flex: 1 1;
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  flex-wrap: wrap;
  min-height: 1.875rem;
  margin: 0 1.25rem;
  overflow: hidden;
}
.main-header__link {
  flex: 1 1;
  text-decoration: none;
  margin: 0;
  padding: 0.25rem;
  text-align: center;
  font-size: 1.375rem;
  line-height: 1.375rem;
  color: #fff;
}
.main-header__link:hover {
  border-radius: 0.2rem;
  background-color: #bf3e1f;
}
.input-string {
  width: 100%;
  height: 1.75rem;
  display: flex;
}
.input-string__input {
  flex: 1 1 1rem;
  width: 1rem;
  height: 100%;
  padding: 0 0.8rem;
  margin-right: 0.5rem;
  background-color: #e5e5e5;
  border-radius: 0.2rem;
  border: none;
  outline: none;
  font-family: SourceSansPro;
  font-size: 0.875rem;
  line-height: 100%;
  color: #8e8d8d;
}
.input-string__input + .input-string__status {
  position: relative;
  flex: 0 0 4.5rem;
  height: 100%;
  margin: 0;
  background-color: #e5e5e5;
  border-radius: 0.25rem;
  font-family: Lato;
  font-weight: 900;
  font-size: 0.625rem;
}
.input-string__input + .input-string__status::before {
  position: absolute;
  content: '';
  top: calc(1.75rem / 4);
  left: -0.15rem;
  width: calc(1.75rem / 2);
  height: calc(1.75rem / 2);
  background-color: inherit;
  transform: rotate(-45deg);
}
.input-string__input + .input-string__status::after {
  position: absolute;
  content: '';
  width: 4.5rem;
  height: 1.75rem;
  text-transform: uppercase;
  color: #fff;
  text-align: center;
  line-height: 1.75rem;
}
.input-string__input:invalid + .input-string__status {
  background-color: #e75735;
}
.input-string__input:invalid + .input-string__status::after {
  content: 'error';
}
.input-string__input:valid + .input-string__status {
  background-color: #4eb7a8;
}
.input-string__input:valid + .input-string__status::after {
  content: 'thanks!';
}
.textarea {
  -webkit-appearance: none;
  -moz-appearance: none;
  display: block;
  box-sizing: border-box;
  width: 100%;
  height: 5.5rem;
  padding: 0.5rem 0.8rem;
  background-color: #e5e5e5;
  border-radius: 0.2rem;
  border: none;
  outline: none;
  resize: none;
  overflow: hidden;
  font-family: SourceSansPro, Arial, sans-serif;
  font-size: 0.875rem;
  color: #8e8d8d;
}
.radio {
  position: relative;
  -webkit-appearance: none;
  -moz-appearance: none;
  background-color: #e5e5e5;
  width: 1.5rem;
  height: 1.5rem;
  border-radius: 0.75rem;
  border: none;
  outline: none;
  padding: 0;
  margin: 0;
}
.radio::before {
  content: '';
  position: absolute;
  top: 0.5rem;
  left: 0.44rem;
  width: 0.5rem;
  height: 0.25rem;
  border-bottom: 0.125rem solid #8e8d8d;
  border-left: 0.125rem solid #8e8d8d;
  transform: rotate(-45deg);
}
.radio:checked {
  background-color: #4eb7a8;
}
.radio:checked::before {
  border-color: #fff;
}
.checkbox {
  -webkit-appearance: none;
  -moz-appearance: none;
  box-sizing: border-box;
  height: 1.5rem;
  padding: 0.125rem;
  width: 3.75rem;
  border: none;
  outline: none;
  cursor: pointer;
  position: relative;
  -webkit-transition: 0.15s;
  border-radius: 0.75rem;
  background-color: #e5e5e5;
}
.checkbox::after {
  content: '';
  position: absolute;
  width: 1.25rem;
  height: 1.25rem;
  border-radius: 0.625rem;
  top: 0.125rem;
  left: 0.125rem;
  background-color: #fff;
  transition: all 0.5s;
}
.checkbox::before {
  position: absolute;
  top: 0;
  left: 0.625rem;
  width: 100%;
  height: 100%;
  line-height: 1.5rem;
  font-family: Lato, Arial, sans-serif;
  font-weight: 900;
  font-size: 0.7rem;
  text-align: center;
  text-transform: uppercase;
  color: #fff;
  content: 'off';
  transition: all 0.5s;
  padding: 0;
  margin: 0;
}
.checkbox:checked {
  background-color: #4eb7a8;
}
.checkbox:checked::after {
  left: 2.375rem;
}
.checkbox:checked::before {
  content: 'on';
  left: -0.625rem;
}
body {
  margin: 0;
  padding: 0;
  background-color: #f2f2f2;
  min-height: 100vh;
  display: flex;
  flex-direction: column;
}
body main {
  flex: 1;
  display: flex;
  flex-wrap: wrap;
  align-items: flex-start;
  justify-content: space-around;
  margin: 0 auto;
  width: 696px;
  padding: 20px;
  box-sizing: border-box;
  background-color: #fff;
}
@media (max-width: 712px) {
  body main {
    margin: 0;
    width: 100%;
  }
}
@media (min-width: 1000px) {
  body main {
    margin: auto;
    width: 696px;
  }
}
body main:before {
  content: attr(date-title);
  color: #e5e5e5;
  margin-bottom: 1.2rem;
  width: 100%;
  height: 1.5rem;
  line-height: 1.5rem;
  text-align: center;
  font-size: 1.2rem;
}
body main .friends-container {
  width: 100%;
}
body main .friends-container__list-friends {
  float: left;
  width: 45%;
}
body main .friends-container__list-item {
  width: 100%;
  height: 3rem;
  font-size: 1.6rem;
  font-family: SourceSansPro, Arial, sans-serif;
  color: #fff;
  text-align: center;
  line-height: 3rem;
  display: inline-block;
  margin-bottom: 0.5rem;
  background-color: #4eb7a8;
}
body main .friends-container__list-item_color_orange {
  background-color: #e75735;
}
body main .friends-container__container {
  float: right;
  width: 50%;
}
body main .friends-container__messages {
  margin-bottom: 20px;
  display: none;
}
body main .friends-container__radio {
  -webkit-appearance: none;
  -moz-appearance: none;
  display: none;
}
body main .friends-container__radio:checked + .friends-container__messages {
  display: block;
}
body footer {
  width: 100%;
  height: 1.2rem;
  padding: 0.6rem 0;
  background-color: #e75735;
}
