/*
* Common
*/

* {
  box-sizing: border-box;
  -webkit-tap-highlight-color: transparent;
  -webkit-overflow-scrolling: touch;
}
body, html {
  width: 100%;
  height: 100%;
  margin: 0;
  padding: 0;
	-moz-osx-font-smoothing: grayscale;
	-webkit-font-smoothing: antialiased;
  background-color: #fff;
  cursor: default;
  font-family: SourceSansPro;
  font-weight: 400;
  font-size: 20px;
  color: #494E52;
}

/*
* Fonts
*/

@font-face {
  font-family: 'Raleway';
  src: url(../fonts/Raleway-Black.ttf) format('truetype');
  font-weight: 900;
}
@font-face {
  font-family: 'Raleway';
  src: url(../fonts/Raleway-Bold.ttf) format('truetype');
  font-weight: 700;
}
@font-face {
  font-family: 'Raleway';
  src: url(../fonts/Raleway-SemiBold.ttf) format('truetype');
  font-weight: 600;
}
@font-face {
  font-family: 'Raleway';
  src: url(../fonts/Raleway-Regular.ttf) format('truetype');
  font-weight: 400;
}
@font-face {
  font-family: 'SourceSansPro';
  src: url(../fonts/SourceSansPro-Bold.ttf) format('truetype');
  font-weight: 700;
}
@font-face {
  font-family: 'SourceSansPro';
  src: url(../fonts/SourceSansPro-SemiBold.ttf) format('truetype');
  font-weight: 600;
}
@font-face {
  font-family: 'SourceSansPro';
  src: url(../fonts/SourceSansPro-Regular.ttf) format('truetype');
  font-weight: 400;
}
@font-face {
  font-family: 'SourceSansPro';
  src: url(../fonts/SourceSansPro-Italic.ttf) format('truetype');
  font-weight: 400;
  font-style: italic;
}
@font-face {
  font-family: 'MakcmIcons';
  src: url('../fonts/makcm-icons.ttf') format('truetype');
  font-weight: normal;
  font-style: normal;
}

/*
* Text
*/

a {
  text-decoration: none;
}
h1,
h2,
h3,
h4,
h5,
h6 {
  margin: 0;
}
h1,
h2,
h3,
h4 {
  font-family: Raleway;
  color: #212325;
  margin: 0;
}
h5,
h6 {
  color: #494E52;
  margin: 0;
}
h1 {
  font-size: 32px;
  font-weight: 900;
}
h2 {
  font-size: 24px;
  font-weight: 700;
}
h3 {
  font-size: 20px;
  font-weight: 900;
}
h4 {
  font-size: 20px;
  font-weight: 600;
}
h5 {
  font-family: SourceSansPro;
  font-size: 20px;
  font-weight: 600;
}
h6 {
  font-family: SourceSansPro;
  font-size: 18px;
}
p {
  color: #212325;
  font-size: 20px;
  line-height: 34px;
  margin: 0;
}

/*
* Containers
*/

.content-container {
  display: flex;
  flex-direction: row;
  max-width: 1248px;
  margin: 0 auto;
  margin-bottom: 48px;
  padding-top: 90px;
}
.main-page-content {
  width: 1248px;
  margin: 0 auto;
}

.personal-menu-wrap {
  display: flex;
  flex-direction: column;
}

@media (max-width: 1023px) {
  .personal-menu-wrap > aside:not(:first-child) {
    display: none;
  }
}

.content-aside-sidemenu {
  flex: 1;
  padding-right: 32px;
}
.wysiwyg-content-wrapper {
  display: -webkit-box;
  display: -webkit-flex;
  display: -ms-flexbox;
  display: flex;
  -webkit-box-orient: vertical;
  -webkit-box-direction: normal;
  -webkit-flex-direction: column;
      -ms-flex-direction: column;
          flex-direction: column;
  -webkit-box-flex: 1;
  -webkit-flex: 1;
      -ms-flex: 1;
          flex: 1;
}
.landing-container {
  padding-bottom: 48px;
}
/*
* Shared styles
*/

/* Default text styles */
.date-text {
  font-weight: 400;
  font-size: 16px;
  color: #6E747A;
}
.default-text {
  font-weight: 400;
  font-size: 20px;
  line-height: 34px;
  color: #494E52;
}

/* Static pages header */
.header-with-faq-button {
  width: 100%;
  max-width: 100%;
  display: flex;
  flex: 1;
  flex-direction: row;
  justify-content: space-between;
  align-items: flex-start;
}

@media (max-width: 1023px) {
  .header-with-faq-button {
    margin-top: 32px;
    flex-direction: column;
    align-items: flex-start;
  }
}

@media (max-width: 767px) {
  .header-with-faq-button {
    flex-direction: column;
    align-items: flex-start;
  }
}

.header-with-faq-button > h2 {
  margin: 0 !important;
  max-width: 600px;
  line-height: 40px;
}
.header-with-faq-button > a {
  border: none !important;
}
.header-with-faq-button .faq-button {
  position: relative;
  display: flex;
  flex-direction: row;
  align-items: center;
  height: 28px;
  user-select: none;
  cursor: pointer;

  font-family: SourceSansPro;
  font-size: 20px;
  color: #212325;
  white-space: nowrap;
  line-height: 40px;
}
@media (max-width: 1023px) {
  .header-with-faq-button > .faq-button {
    margin-top: 10px;
  }
}
.header-with-faq-button .faq-button:before {
  font-family: MakcmIcons;
  content: '\e917';
  font-size: 28px;
  font-weight: 400;
  width: 28px;
  height: 28px;
  line-height: 28px;
  margin-right: 5px;
}
.header-with-faq-button .faq-button:hover {
  color: #D60029;
}
.header-with-faq-button .faq-button:hover:before {
  color: #D60029;
}
/* Animated underline */
.tabbar-container {
  display: flex;
  flex-direction: row;
  position: relative;
  align-items: flex-start;
}
.tabbar-container > .tabbar-item {
  font-size: 20px;
  color: #212325;
  transition: all .3s, width none;
}
.tabbar-container > .tabbar-item:not(:last-child) {
  margin-right: 32px;
}
.tabbar-container > .tabbar-item:not(.active):hover {
  color: #D60029;
}
.tabbar-container > .tabbar-item.active {
  font-weight: 700;
}
.tabbar-container > .cursor {
  position: absolute;
  height: 4px;
  background: #D60029;
  bottom: -10px;
  left: 0;
  transition: all .3s;
}
/* Collapsible items */
.collapsible {
  overflow: hidden;
  transition: height 0.3s;
}
.collapsible .collapsible-button span {
  position: relative;
  transition: all 0.2s;
}
.collapsible.wysiwyg {
  background-image: linear-gradient(to bottom, rgba(179, 189, 199, 0.5) 100%, rgba(179, 189, 199, 0.5) 0%);
  background-position: left 11px bottom 37px;
  background-size: 6px 6px;
  background-repeat: no-repeat;
  padding-bottom: 37px;
}
.collapsible.wysiwyg .collapsible-button {
  display: flex;
  font-family: SourceSansPro;
  font-weight: 600;
  font-size: 20px;
  color: #494E52;
  line-height: 28px;
  transition: color 0.2s;
  cursor: pointer;
  user-select: none;
}
.collapsible.wysiwyg .collapsible-button .collapsible-icon {
  width: 28px;
  height: 28px;
  min-width: 28px;
  margin-right: 12px;
  transform: rotate(90deg);
  transition: all 0.2s;
}
.collapsible.wysiwyg .collapsible-button .collapsible-icon:before {
  font-family: MakcmIcons;
  content: '\e91b';
  font-size: 24px;
  font-weight: 400;
  width: 28px;
  height: 28px;
  text-align: center;
  line-height: 28px;
}
.collapsible.wysiwyg .collapsible-content {
  position: relative;
  padding-left: 40px;
  opacity: 1;
  transition: all 0.3s;
}

.collapsible-content {
  display: none;
}
.collapsible.wysiwyg:not(.collapsed) .collapsible-content {
  padding-top: 25px;
}
.collapsible.wysiwyg .collapsible-content:before {
  content: '';
  position: absolute;
  left: 13px;
  top: 0;
  bottom: 14px;
  width: 2px;
  opacity: 0.3;
  background-image: linear-gradient(to bottom, rgba(179, 189, 199, 0.5) 62.5%, rgba(255,255,255,0) 0%);
  background-position: left;
  background-size: 2px 8px;
  background-repeat: repeat-y;
}
.collapsible.wysiwyg .collapsible-button:hover {
  color: #D60029;
}
.collapsible.wysiwyg .collapsible-button:hover .collapsible-icon:before {
  color: #D60029;
}
.collapsible.wysiwyg.collapsed {
  background-image: linear-gradient(to bottom, rgba(179, 189, 199, 0) 100%, rgba(179, 189, 199, 0) 0%);
}
.collapsible.wysiwyg.collapsed .collapsible-button .collapsible-icon {
  transform: rotate(0deg);
}
.collapsible.wysiwyg.collapsed .collapsible-content {
  opacity: 0;
}
/* News-like cards */
.card {
  display: block;
  transition: all .3s;
  box-shadow: inset 1px 1px 0 0 #E5E5E5,
              inset -1px -1px 0 0 #E5E5E5;
}
.card:hover {
  box-shadow: inset 1px 1px 0 0 transparent,
              inset -1px -1px 0 0 transparent,
              0 20px 22px -10px rgba(0, 0, 0, 0.2);
}
/* Yandex browser video button hiding */
::-webkit-media-controls-picture-in-picture-button {
  display: none;
}
input::-ms-clear {
  display: none;
}
select::-ms-expand {
  display: none;
}
/* Region selection popover */
.city-select-popover {
  position: relative;
  cursor: pointer;
  overflow: hidden;
  white-space: nowrap;
}
.city-select-popover > .city-select-popover-value {
  display: flex;
  align-items: center;
  font-size: 20px;
  color: #212325;
  padding-right: 28px;
  position: relative;
  text-align: end;
}
.city-select-popover > .city-select-popover-value:after {
  font-family: MakcmIcons;
  content: '\E90A';
  position: absolute;
  top: 50%;
  right: 0;
  color: #212325;
  font-size: 28px;
  transform: translate(0, -50%);
}
.city-select-popover > .city-select-popover-list {
  position: absolute;
  top: 0;
  left: 0;
  display: none;
}
.city-select-popover > select {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  opacity: 0;
  display: none;
  z-index: 1;
  -webkit-appearance: menulist-button;
}
/* Buttons */
.common-button {
  display: inline-block;
  height: 48px;
  padding: 0px 32px;
  font-family: SourceSansPro;
  font-weight: 700;
  font-size: 16px;
  color: #FFFFFF;
  line-height: 48px;
  transition: background-color 0.2s;
  border: none;
  outline: none;
  cursor: pointer;
}
.common-button.lightblue {
  background-color: #0075D4;
}
.common-button.lightblue:hover {
  background-color: #008CFF;
}
/* Region selection modal */
.region-selection-modal {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background-color: rgba(0, 0, 0, 0.2);
  align-items: center;
  justify-content: center;
  z-index: 15;
  display: flex;
}
.region-selection-modal .city-list {
  position: relative;
  width: 936px;
  height: 514px;
  padding: 30px 40px;
  display: flex;
  flex-direction: column;
  background-color: #FFFFFF;
  box-shadow: 0 4px 12px 0 rgba(0, 0, 0, 0.2);
}
.region-selection-modal .city-list .city-select-close {
  position: absolute;
  top: 42px;
  right: 40px;
  opacity: 0.5;
  width: 20px;
  height: 20px;
  cursor: pointer;
}
.region-selection-modal .city-list .city-select-close:hover {
  opacity: 1;
}
.region-selection-modal .city-list .city-select-close::before, .city-select-close::after {
  position: absolute;
  left: 15px;
  content: ' ';
  height: 20px;
  width: 2px;
  background-color: #212325;
}
.region-selection-modal .city-list .city-select-close::before {
  transform: rotate(45deg);
}
.region-selection-modal .city-list .city-select-close::after {
  transform: rotate(-45deg);
}
.region-selection-modal .city-list .popup-header {
  margin-top: 14px;
  margin-bottom: 30px;
}
.region-selection-modal .city-list .city-list-items {
  display: flex;
  flex-direction: column;
  flex-wrap: wrap;
  height: 100%;
}
.region-selection-modal .city-list .city-list-items .city-list-item {
  font-weight: 400;
  font-size: 16px;
  color: #494E52;
  margin-bottom: 22px;
  max-width: 256px;
  cursor: pointer;
}
.region-selection-modal .city-list .city-list-items .city-list-item.priority {
  font-weight: 600;
}
/* Vue */
[v-cloak] {
  display: none;
}

/* Working time comment*/
.attention {
  margin-right: 2px;
  font-weight: 700;
}

/* Media queries */
@media (max-width: 1311px) {
  h1 {
    font-size: 20px;
  }
  h2 {
    font-size: 18px;
  }
  h3,
  h4,
  h5 {
    font-size: 16px;
  }
  .content-container {
    width: 100%;
    padding: 48px 56px;
    box-sizing: border-box;
  }
  .main-page-content {
    width: 100%;
    padding: 0px 32px;
  }
  .tabbar-container > .tabbar-item {
    font-size: 16px;
  }
}
@media (max-width: 1241px) {
  .city-select-popover > .city-select-popover-value {
    font-size: 16px;
  }
  .city-select-popover > .city-select-popover-value:after {
    line-height: 20px;
  }
  .default-text {
    font-size: 16px;
    line-height: 24px;
  }
}
@media (max-width: 1023px) {
  .content-aside-sidemenu {
    padding-right: 0px;
  }
  h1 {
    font-size: 20px;
  }
  .main-page-content, .content-container {
    width: 100%;
  }
  .content-container {
    padding: 34px 20px 0;
    flex-direction: column-reverse;
  }
  .city-select-popover {
    width: 100%;
    height: 100%;
    border: 1px solid #E5E5E5;
  }
  body.blind-version .city-select-popover {
    border: 1px solid #000000;
  }
  .city-select-popover > .city-select-popover-value {
    display: flex;
    align-items: center;
    min-height: 40px;
    line-height: 20px;
    white-space: normal;
    text-align: start;
    padding: 5px 40px 5px 12px;
  }
  .city-select-popover > .city-select-popover-value:after {
    right: 6px;
    height: 40px;
    line-height: 40px;
  }
  .city-select-popover > select {
    display: block;
  }
  .collapsible.wysiwyg .collapsible-button {
    font-size: 16px;
  }
}
/* Blind verion */
body.blind-version {
  color: #000000;
}
body.blind-version h1,
body.blind-version h2,
body.blind-version h3,
body.blind-version h4 {
  color: #000000;
}
body.blind-version h5,
body.blind-version h6 {
  color: #000000;
}
body.blind-version p {
  color: #000000;
}
body.blind-version .date-text {
  color: #000000;
}
body.blind-version .default-text {
  color: #000000;
}
body.blind-version .header-with-faq-button .faq-button {
  color: #000000;
}
body.blind-version .header-with-faq-button .faq-button:before {
  color: #000000 !important;
}
body.blind-version .tabbar-container > .cursor {
  background-color: #000000 !important;
}
body.blind-version .tabbar-container > .tabbar-item:not(.active):hover {
  color: #000000;
}
body.blind-version .date-text {
  color: #000000;
}
body.blind-version .default-text {
  color: #000000;
}
body.blind-version .common-button {
  background: #000000;
  color: #FFFFFF;
}
body.blind-version .common-button.lightblue {
  background: #000000;
}
body.blind-version .common-button.lightblue:hover {
  background: #000000;
}
body.blind-version .collapsible.wysiwyg {
  background-image: linear-gradient(to bottom, rgba(0, 0, 0, 1) 100%, rgba(0, 0, 0, 1) 0%);
}
body.blind-version .collapsible.wysiwyg .collapsible-button {
  color: #000000;
}
body.blind-version .collapsible.wysiwyg .collapsible-content:before {
  opacity: 1;
  background-image: linear-gradient(to bottom, rgba(0, 0, 0, 1) 62.5%, rgba(255, 255, 255, 0) 0%);
}
body.blind-version .collapsible.wysiwyg .collapsible-button:hover {
  color: #000000;
}
body.blind-version .collapsible.wysiwyg .collapsible-button:hover .collapsible-icon:before {
  color: #000000;
}
body.blind-version .collapsible.wysiwyg.collapsed {
  background-image: linear-gradient(to bottom, rgba(0, 0, 0, 0) 100%, rgba(0, 0, 0, 0) 0%);
}
body.blind-version .card {
  box-shadow: inset 1px 1px 0 0 #000000,
              inset -1px -1px 0 0 #000000;
}
body.blind-version .card:hover {
  box-shadow: inset 3px 3px 0 0 #000000,
              inset -3px -3px 0 0 #000000,
              0 20px 22px -10px rgba(0, 0, 0, 0.2);

}
body.blind-version .city-select-popover > .city-select-popover-value {
  color: #000000;
}
body.blind-version .city-select-popover > .city-select-popover-value:after {
  color: #000000;
}
body.blind-version .common-button {
  color: #000000 !important;
  background-color: #FFFFFF !important;
  border: 1px solid #000000;
}
body.blind-version .common-button:hover {
  color: #FFFFFF !important;
  background-color: #000000 !important;
}
body.blind-version .region-selection-modal {
  background-color: rgba(0, 0, 0, 0.5);
}
body.blind-version .region-selection-modal .city-list .city-select-close {
  opacity: 1;
}
body.blind-version .region-selection-modal .city-list .city-select-close::before,
body.blind-version .region-selection-modal .city-list .city-select-close::after {
  background-color: #000000;
}
body.blind-version .region-selection-modal .city-list .city-list-items .city-list-item {
  color: #000000;
}

@media print {
  .sidemenu,
  .navigation-mobile,
  .authorization-wrap,
  #menu-float {
    display: none !important;
  }
}