/* КОНТЕЙНЕР ДЛЯ СОДЕРЖИМОГО КАБИНЕТА */
.cabinet-index {
  margin: 25px 0;
  overflow: hidden;
}
@media (max-width: 567px) {
  .cabinet-index {
    margin: 0;
  }
}
@media (min-width: 568px) and (max-width: 767px) {
  .cabinet-index {
    margin: 0;
  }
}
@media (min-width: 768px) and (max-width: 1023px) {
  .cabinet-index {
    margin: 0;
  }
}
@media (min-width: 1024px) and (max-width: 1199px) {
  .cabinet-index {
    margin: calc(100vw / 1024.0 * 668.0 * 1.0 / 12.0) 0;
  }
}
.cabinet-index-user {
  position: relative;
  margin-bottom: 25px;
  overflow: hidden;
}
/*** КАБИНЕТ ДЛЯ ГОСТЯ ***/
/* КУСОК СОДЕРЖИМОГО С КОЛОНКАМИ */
.cabinet-index-part {
  overflow: hidden;
}
/* ЧЕТЫРЕ КОЛОНКИ С СОДЕРЖИМЫМ */
.cabinet-index-col1,
.cabinet-index-col2,
.cabinet-index-col3,
.cabinet-index-col4 {
  width: 296px;
  float: left;
  overflow: hidden;
  margin: 0 2px;
}
@media (max-width: 567px) {
  .cabinet-index-col1 {
    display: none;
  }
}
@media (min-width: 568px) and (max-width: 767px) {
  .cabinet-index-col1 {
    display: none;
  }
}
@media (min-width: 768px) and (max-width: 1023px) {
  .cabinet-index-col1 {
    display: none;
  }
}
@media (min-width: 1024px) and (max-width: 1199px) {
  .cabinet-index-col1 {
    display: none;
  }
}
@media (min-width: 568px) and (max-width: 767px) {
  .cabinet-index-col2 {
    width: calc(100vw * 6.0 / 12.0);
    margin: 0;
  }
}
@media (min-width: 768px) and (max-width: 1023px) {
  .cabinet-index-col2 {
    width: calc(100vw * 3.0 / 12.0);
    margin-left: calc(100vw * 1.0 / 12.0 * 0.5);
  }
}
@media (min-width: 1024px) and (max-width: 1199px) {
  .cabinet-index-col2 {
    width: calc(100vw * 5.0 / 16.0);
    margin-left: calc(100vw * 1.0 / 16.0);
  }
}
@media (min-width: 568px) and (max-width: 767px) {
  .cabinet-index-col3 {
    width: calc(100vw * 5.0 / 12.0);
    margin: 0;
    margin-left: calc(100vw * 1.0 / 12.0);
  }
}
@media (min-width: 768px) and (max-width: 1023px) {
  .cabinet-index-col3 {
    width: calc(100vw * 4.0 / 12.0);
    margin-left: calc(100vw * 1.0 / 12.0 * 0.5);
  }
}
@media (min-width: 1024px) and (max-width: 1199px) {
  .cabinet-index-col3 {
    width: calc(100vw * 4.0 / 16.0);
    margin-left: calc(100vw * 1.0 / 16.0);
  }
}
.cabinet-index-col4 {
  width: 200px;
}
@media (min-width: 568px) and (max-width: 767px) {
  .cabinet-index-col4 {
    display: none;
  }
}
@media (min-width: 768px) and (max-width: 1023px) {
  .cabinet-index-col4 {
    width: calc(100vw * 3.0 / 12.0);
    margin-left: calc(100vw * 1.0 / 12.0 * 0.5);
  }
}
@media (min-width: 1024px) and (max-width: 1199px) {
  .cabinet-index-col4 {
    width: calc(100vw * 3.0 / 16.0);
    margin-left: calc(100vw * 1.0 / 16.0);
  }
}
.cabinet-index-col-twice {
  width: 596px;
  /* col1 296px + col1 margin 2px + col2 margin 2px + col2 296px */
  float: left;
  overflow: hidden;
  margin: 0 2px;
}
/* БАЗОВЫЙ КЛАСС ДЛЯ КАРТИНОК */
.cabinet-info-block {
  width: 100%;
  background-size: cover;
  background-position: center center;
  background-repeat: no-repeat;
  box-sizing: border-box;
  position: relative;
}
.cabinet-info-content {
  position: absolute;
  top: 0;
  bottom: 0;
  left: 0;
  right: 0;
  padding: 40px 40px 0 40px;
  background-color: transparent;
  transition-property: background-color;
  transition-duration: 250ms;
}
.cabinet-info-title {
  font-size: 26px;
}
.cabinet-info-desc {
  opacity: 0;
  pointer-events: none;
  transition-property: opacity;
  transition-duration: inherit;
}
.cabinet-info-block > .pm-button {
  position: absolute;
  right: 0;
  bottom: 0;
}
.cabinet-info-block.shown .cabinet-info-content {
  background-color: white;
  background-color: rgba(255, 255, 255, 0.9);
}
.cabinet-info-block.shown .cabinet-info-desc {
  pointer-events: auto;
  opacity: 1;
}
/* КОЛОНКА 2 */
.cabinet-index-titlewrap {
  /* + .alm-valign-center */
  padding: 27px 60px;
  background-color: #EA7F00;
}
@media (max-width: 567px) {
  .cabinet-index-titlewrap {
    display: none;
  }
}
@media (min-width: 568px) and (max-width: 767px) {
  .cabinet-index-titlewrap {
    display: none;
  }
}
@media (min-width: 768px) and (max-width: 1023px) {
  .cabinet-index-titlewrap {
    padding: 0 30px;
    height: calc(100vw / 768.0 * 924.0 * 2.0 / 16.0 - 25px);
    margin-bottom: 25px;
  }
}
@media (min-width: 1024px) and (max-width: 1199px) {
  .cabinet-index-titlewrap {
    padding: 0 60px;
    height: calc(100vw / 1024.0 * 668.0 * 2.0 / 12.0 - 8px);
    margin-bottom: 16px;
  }
}
.cabinet-index-title {
  width: 100%;
  height: 42px;
  line-height: 42px;
  background-color: white;
  margin: 0;
  padding: 0;
  text-align: center;
  font-size: 16px;
}
.cabinet-info-discount {
  height: 122px;
  background-image: url('../i/cabinet/discount.png');
}
@media (max-width: 567px) {
  .cabinet-info-discount {
    display: none;
  }
}
@media (min-width: 568px) and (max-width: 767px) {
  .cabinet-info-discount {
    display: none;
  }
}
@media (min-width: 768px) and (max-width: 1023px) {
  .cabinet-info-discount {
    height: calc(100vw / 768.0 * 924.0 * 4.0 / 16.0);
  }
}
@media (min-width: 1024px) and (max-width: 1199px) {
  .cabinet-info-discount {
    height: calc(100vw / 1024.0 * 668.0 * 4.0 / 12.0 - 8px);
  }
}
/* КОЛОНКА 3 */
.cabinet-register-plz {
  height: 218px;
  background-color: #b4acb5;
  background-image: url('../i/cabinet/register-plz.png');
  background-size: cover;
  background-position: center center;
  background-repeat: no-repeat;
}
@media (max-width: 567px) {
  .cabinet-register-plz {
    display: none;
  }
}
@media (min-width: 568px) and (max-width: 767px) {
  .cabinet-register-plz {
    display: none;
  }
}
@media (min-width: 768px) and (max-width: 1023px) {
  .cabinet-register-plz {
    height: calc(100vw / 768.0 * 924.0 * 6.0 / 16.0);
  }
}
@media (min-width: 1024px) and (max-width: 1199px) {
  .cabinet-register-plz {
    height: calc(100vw / 1024.0 * 668.0 * 6.0 / 12.0);
  }
}
/* КОЛОНКА 4 */
.cabinet-laptop20 {
  height: 218px;
  background-color: #f3ca4c;
  background-image: url('../i/cabinet/laptop20.png');
}
@media (min-width: 768px) and (max-width: 1023px) {
  .cabinet-laptop20 {
    height: calc(100vw / 768.0 * 924.0 * 6.0 / 16.0);
  }
}
@media (min-width: 1024px) and (max-width: 1199px) {
  .cabinet-laptop20 {
    height: calc(100vw / 1024.0 * 668.0 * 6.0 / 12.0);
  }
}
/*** КАБИНЕТ ДЛЯ ЗАРЕГИСТРИРОВАННОГО ***/
/* БЛОК С ДЕЙСТВИЯМИ */
.cabinet-actions {
  position: absolute;
  right: 0;
  top: 0;
  width: 300px;
}
.cabinet-action-btn {
  display: block;
  width: 100%;
  height: 55px;
  line-height: 55px;
  font-size: 16px;
  background-color: #ccc;
  text-align: center;
  cursor: pointer;
  margin: 0;
  padding: 0;
  border: 0;
  font-family: inherit;
  font-weight: inherit;
  font-style: inherit;
  color: inherit;
  text-decoration: none;
}
.cabinet-action-btn.btn-main {
  background-color: #f4b542;
}
.cabinet-action-btn.btn-light {
  background-color: #f3eee9;
}
.cabinet-title {
  height: 47px;
  line-height: 47px;
  border-bottom: 4px solid #f4b542;
  font-size: 32px;
  font-weight: 200;
  width: 580px;
  margin: 4px auto 0;
  padding: 0 10px;
}
.cabinet-data-line {
  width: 600px;
  margin: 0 auto 40px;
  overflow: hidden;
  font-size: 16px;
  line-height: 23px;
}
.cabinet-data-line-first {
  margin: 13px auto 20px;
}
.cabinet-data-column {
  width: 200px;
  margin-right: 100px;
  float: left;
}
.cabinet-data-column-wide {
  width: 265px;
  margin-right: 35px;
  float: left;
}
.cabinet-data-title {
  border-bottom: 1px solid #d88628;
}
.cabinet-data-underline {
  display: inline-block;
  line-height: 21px;
  vertical-align: bottom;
  border-bottom: 1px solid #d88628;
}
.cabinet-requisites-link {
  display: inline-block;
  vertical-align: bottom;
  border-bottom: 1px solid #d88628;
  line-height: 21px;
  padding-top: 8px;
  color: inherit;
  text-decoration: none;
  cursor: pointer;
  width: 100%;
  box-sizing: border-box;
  background-image: url('../i/edit-requisites.png');
  background-repeat: no-repeat;
  background-position: right bottom;
  background-size: 22px 29px;
}
.cabinet-edit-input-text {
  font-size: 16px;
  line-height: 22px;
  border: 0;
  border-bottom: 1px solid #d88628;
  box-sizing: border-box;
  margin: 0;
  padding: 0 16px 0 0;
  font-family: inherit;
  font-weight: inherit;
  font-style: inherit;
  background-color: transparent;
  color: inherit;
  vertical-align: bottom;
  background-image: url('../i/cabinet-edit-icon.png');
  background-repeat: no-repeat;
  background-position: right bottom;
  background-size: 12px 15px;
}
.cabinet-data-column .cabinet-edit-input-text {
  width: 100%;
}
.cabinet-data-column .cabinet-data-line-label {
  width: 136px;
  display: inline-block;
}
.cabinet-data-column .cabinet-data-line-value {
  width: 64px;
  display: inline-block;
}
textarea.cabinet-edit-input-text {
  overflow-x: hidden;
}
/* Если четыре блока ниже объединить, то почему-то не работает */
.cabinet-edit-input-text.error::-webkit-input-placeholder {
  color: #c15c00;
  opacity: 1;
  text-overflow: ellipsis;
}
.cabinet-edit-input-text.error::-moz-placeholder {
  color: #c15c00;
  opacity: 1;
  text-overflow: ellipsis;
}
.cabinet-edit-input-text.error:-moz-placeholder {
  color: #c15c00;
  opacity: 1;
  text-overflow: ellipsis;
}
.cabinet-edit-input-text.error:-ms-placeholder {
  color: #c15c00;
  opacity: 1;
  text-overflow: ellipsis;
}
/* Полоска с прогрессом */
.cabinet-progressbar-title,
.cabinet-progressbar-text,
.cabinet-progressbar-link {
  font-weight: 400;
  font-size: 15px;
  line-height: 1.1;
}
.cabinet-progressbar-link {
  color: #d88628;
  text-decoration: none;
}
.cabinet-progressbar-link:hover {
  text-decoration: underline;
}
.cabinet-progressbar-legend {
  overflow: hidden;
  font-size: 16px;
}
.cabinet-progressbar-legend > div {
  float: left;
  text-align: center;
}
.cabinet-progressbar-legend > div:first-child {
  text-align: left;
}
.cabinet-progressbar-legend > div:last-child {
  text-align: right;
  float: right;
}
.cabinet-progressbar-legend.legend-2 > div {
  width: 50%;
}
.cabinet-progressbar-legend.legend-3 > div {
  width: 33.3%;
}
.cabinet-progressbar-legend.legend-4 > div {
  width: 25%;
}
.cabinet-progressbar {
  width: 100%;
  background-color: #ddd;
  overflow: hidden;
}
.cabinet-progressbar-progress {
  margin-top: 49px;
  height: 6px;
  background-color: #f4b542;
}
