@font-face {
  font-family: 'Source Sans Pro';
  src: url('../src/fonts/SourceSansPro-Regular.ttf') format('truetype');
  font-weight: normal;
  font-style: normal;
}

@font-face {
  font-family: 'Source Sans Pro';
  src: url('../src/fonts/SourceSansPro-Bold.ttf') format('truetype');
  font-weight: bold;
  font-style: normal;
}

@font-face {
  font-family: 'Source Sans Pro';
  src: url('../src/fonts/SourceSansPro-Italic.ttf') format('truetype');
  font-weight: normal;
  font-style: italic;
}

@font-face {
  font-family: 'Source Sans Pro';
  src: url('../src/fonts/SourceSansPro-BoldItalic.ttf') format('truetype');
  font-weight: bold;
  font-style: italic;
}



:root {
  --colorDark: #1E3240;
  --colorBlue: #396B8D;
  --colorLightGreen: #CFDC8C;
  --colorGreen: #AFC53F;
  --colorOrange: #FF9244;
  --colorWhite: #FFFFFF;
  --colorGrey: #D9D9D9;
  --colorLightGray: #F7F7F7;
  --colorGreyText: #B9B9B9;
  --colorLightGray05: rgba(247, 247, 247, 0.6);

  --heightMobMenu: 300px;
}


html {
  --text-shadow-color: #000000;
  --text-ui-color: #ffffff;
}

body,
html {
    height: 100%;
    margin: 0;
    padding: 0;
    font-family: 'Source Sans Pro', sans-serif;
    font-weight: normal;
    font-style: normal;
    font-size: 14px;
    color: #444444;
    display: flex;
    justify-content: center;
    /* align-items: center; */
    width: 100%;
    position: fixed;
    top: 0;
    left: 0;
    overflow: hidden;
}


/* img loader */
img {
    max-width: 100%;
    height: auto;
    vertical-align: middle;
    display: inline-block;
}

* {
    touch-action: manipulation;
}

*,
*::before,
*::after {
    box-sizing: border-box;
}

.frame {
    top: 0;
    position: absolute;
    left: 0;
    padding: 1rem;
}

.frame__title {
    font-size: 1rem;
    display: inline-block;
}

.frame__links {
    display: inline-block;
    margin: 0 2rem;
    text-transform: lowercase;
}

.frame__links a {
    display: inline-block;
    margin: 0 0.25rem;
    text-decoration: none;
    color: red;
}

.frame__links a:focus,
.frame__links a:hover {
    text-decoration: underline;
}





.options {
    position: absolute;
    left: 0;
}

.option {
    background-size: cover;
    background-position: 50%;
    background-color: white;
    margin-bottom: 3px;
    padding: 10px;
    height: 55px;
    width: 55px;
    display: flex;
    justify-content: center;
    align-items: center;
    cursor: pointer;
}

.option:hover {
    border-left: 5px solid white;
    width: 58px;
}

.option.--is-active {
    border-right: 3px solid red;
    width: 58px;
    cursor: default;
}

.option.--is-active:hover {
    border-left: none;
}

.option img {
    height: 100%;
    width: auto;
    pointer-events: none;
}

.info {
    padding: 0 1em;
    display: flex;
    justify-content: flex-end;
}

.info p {
    margin-top: 0;
}

.tray {
    width: 100%;
    height: 50px;
    position: relative;
    overflow-x: hidden;
}

.tray__slide {
    position: absolute;
    display: flex;
    left: 0;
    /*   transform: translateX(-50%);
  animation: wheelin 1s 2s ease-in-out forwards; */
}

.tray__swatch {
    content: "";
    transition: 0.1s ease-in;
    height: 50px;
    min-width: 50px;
    flex: 1;
    box-shadow: 0px 4px 10px rgba(0, 0, 0, 0.3);
    background-size: cover;
    background-position: center;
}

.tray__swatch:nth-child(5n+5) {
    margin-right: 20px;
}

/* Content list */

.content_list {
    width: 100%;
    height: 50px;
    position: relative;
    overflow-x: hidden;
}

.content_list_slide {
  position: absolute;
  display: flex;
  left: 0;
  /*   transform: translateX(-50%);
animation: wheelin 1s 2s ease-in-out forwards; */
}

/* .content_list_wrap {
  display: flex;
  flex-wrap: wrap;
} */

.content_grid_list {
    width: 100%;
    height: 90px;
    position: relative;
    overflow-x: hidden;
}

.content_grid_list_slide {
    display: grid;
    position: absolute;
    grid-template-rows: min-content 1fr;
    grid-template-columns: repeat(10, 9.1%);

    width: 100%;
    top: 0px;
    /*   transform: translateX(-50%);
  animation: wheelin 1s 2s ease-in-out forwards; */
}

.controls {
  position: absolute;
  align-content: center;
  width: 230px;
  /* margin-left: auto; */
  margin-right: 0;
  bottom: 20px;
  right: 20px;
  z-index: 2;
}

.controls__menu {
  background-color: rgba(0, 0, 0, 0.4);;
  border-radius: 10px;
  padding: 10px 10px 0;
  margin-bottom: 8px;
  color: var(--text-ui-color);
  text-shadow: 1px 1px 0 var(--text-shadow-color), -1px -1px 0 var(--text-shadow-color), 1px -1px 0 var(--text-shadow-color), -1px 1px 0 var(--text-shadow-color);
  width: 100%;
}

.btn_group {
  display: flex;
}

.hide-show-btn {
  flex: 1 1 auto;
  width: 100%;
  background-color: rgba(17, 17, 17, 0.5);
  border-radius: 6px;
  padding: 10px;
  color: var(--text-ui-color);
  text-shadow: 1px 1px 0 var(--text-shadow-color), -1px -1px 0 var(--text-shadow-color), 1px -1px 0 var(--text-shadow-color), -1px 1px 0 var(--text-shadow-color);
  text-align: center;
  cursor: pointer;
}

.fx_btn {
  width: 50px;
  margin-left: 4px;

  display: none;  /* видалити, якщо треба відобразити кнопку FX */
}

.fx_btn--off {
  text-shadow: none;
  color: rgb(209, 209, 209);
}

.hidden {
  display: none;
}

.drag-notice {
  display: flex;
  justify-content: center;
  align-items: center;
  padding: 2em;
  width: 15em;
  height: 5em;
  box-sizing: border-box;
  font-size: 0.9em;
  font-weight: 800;
  text-transform: uppercase;
  text-align: center;
  color: #ffffff;
  border-radius: 1em;
  background: #00000080;
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  z-index: 5;
}

.drag-notice.start {
  -webkit-animation: popout 0.25s 1.3s forwards;
  animation: popout 0.25s 1.3s forwards;
}


.content_list_swatch {
  content: "";
  background-size: cover;
  transition: 0.1s ease-in;
  box-shadow: 0px 2px 5px rgba(0, 0, 0, 0.3);
  text-align: center;
  font-family: 'Source Sans Pro', sans-serif;
  /* font-size: 22px; */
  font-size: 14px;
  color: #ffffff;
  display: flex;
  flex: 0 0 30px;
  justify-content: center;
  align-items: center;
  height: 30px;
  width: 30px;
  background-color: #bbbbbb;
  background-image: none;
  border-radius: 4px;
  margin-right: 5px;
  margin-bottom: 5px;
  border: 1px solid #000;
  cursor: pointer;
  color: var(--text-ui-color);
  text-shadow: 1px 1px 0 var(--text-shadow-color), -1px -1px 0 var(--text-shadow-color), 1px -1px 0 var(--text-shadow-color), -1px 1px 0 var(--text-shadow-color);
}

.content_list_swatch.active {
  transform: scale(1.05);
  -moz-transform: scale(1.05);
  -webkit-transform: scale(1.05);
  -o-transform: scale(1.05);
  -ms-transform: scale(1.05);

  -webkit-transition: transform .5s ease-in-out;
  -moz-transition: transform .5s ease-in-out;
  -ms-transition: transform .5s ease-in-out;
  border-width: 2px;
}

.content_list_swatch:hover {
    border: 1px solid #3a72a780;
}

.content {
  display: flex;
  margin-bottom: 10px;
}

.content__section {
  width: 100%;
  display: flex;
  /* flex-wrap: wrap; */
  /* justify-content: center; */
}

.content--bordered {
  padding: 5px;
  border: 1px solid #ffffff;
}

.content__title {
  max-width: 60px;
  width: 100%;
  flex: 0 0 auto;
  padding: 0 4px 0 4px;
  color: var(--text-ui-color);
  text-shadow: 1px 1px 0 var(--text-shadow-color), -1px -1px 0 var(--text-shadow-color), 1px -1px 0 var(--text-shadow-color), -1px 1px 0 var(--text-shadow-color);
  display: flex;
  align-items: center;
}

.content__label {
  flex: 0 0 auto;
  padding: 0 4px 0 4px;
  color: var(--text-ui-color);
  text-shadow: 1px 1px 0 var(--text-shadow-color), -1px -1px 0 var(--text-shadow-color), 1px -1px 0 var(--text-shadow-color), -1px 1px 0 var(--text-shadow-color);
  display: flex;
  align-items: center;
  cursor: pointer;
}

.content__list {
  display: flex;
  flex: 1;
  /* min-width: 85px; */
  /* text-align: center; */
  /* align-items: center; */
  /* justify-content: center; */
}

.content__list_item {
  display: flex;
  flex-wrap: wrap;
  width: 100%;
  justify-content: flex-start;
}

.load_btn {
  flex: 1 1 auto;
  width: 100%;
  color: var(--text-shadow-color);
  font-weight: bold;
  text-shadow: 1px 1px 0 var(--text-ui-color), -1px -1px 0 var(--text-ui-color), 1px -1px 0 var(--text-ui-color), -1px 1px 0 var(--text-ui-color);
}

.ui-input-slider {
  /* margin-top: 8px; */
  /* width: 100%; */
  cursor: pointer;
}

.ui-color-picker {
  height: 30px;
  width: 30px;
  /* border-radius: 50%; */
  cursor: pointer;
  box-shadow: 0px 2px 5px rgba(0, 0, 0, 0.3);
}

.ui-checkbox {
  height: 25px;
  width: 25px;
  border-radius: 5px;
  cursor: pointer;
  box-shadow: 0px 2px 5px rgba(0, 0, 0, 0.3);
}

.ui-image-button {
  height: 38px;
  width: 38px;
  /* border-radius: 50%; */
  cursor: pointer;
  box-shadow: 0px 2px 5px rgba(0, 0, 0, 0.3);
  background-size: cover;
  border-radius: 5px;
}

.ui-text-button {
  height: 30px;
  /* width: 38px; */
  /* border-radius: 50%; */
  cursor: pointer;
  box-shadow: 3px 3px 5px 2px rgba(0, 0, 0, 0.3);
  border: 1px solid rgb(55, 58, 55);
  background-color: rgba(108, 108, 108, 0.8);
  border-radius: 5px;
  display: flex;
  align-items: center;
  justify-content: center;
  margin: 5px;
}

.ui-button-active {
  border: 3px solid rgb(0, 201, 104);
  border-radius: 5px;
  box-shadow: 2px 2px 0px rgba(0, 0, 0, 0.3);
}

.textLabel {
  color: rgb(0, 13, 255);
  font-size: 16px;
  font-family: 'Source Sans Pro', sans-serif;

  flex: 1 1 auto;
  width: auto; 
  background-color: rgba(17, 17, 17, 0.5);
  border-radius: 6px;
  padding: 5px 7px;
  color: var(--text-ui-color);
  text-shadow: 1px 1px 0 var(--text-shadow-color), -1px -1px 0 var(--text-shadow-color), 1px -1px 0 var(--text-shadow-color), -1px 1px 0 var(--text-shadow-color);
  text-align: center;
}

.loading {
  position: fixed;
  display: flex;
  justify-content: center;
  align-items: center;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  z-index: 25;
  background-color: #FFFFFF;
}

.loading.with_menu {
  right: 280px;
}

#menu__wrapper.disabled {
  pointer-events: none;
}

.loading.invisible {
  display: none;
}

.loader {
  width: 256px;
  height: 256px;
  object-fit: contain;
}

@-webkit-keyframes popout {
  to {
      -webkit-transform: scale(0);
      transform: scale(0);
  }
}

@keyframes popout {
  to {
      -webkit-transform: scale(0);
      transform: scale(0);
  }
}

@-webkit-keyframes wheelin {
  to {
      -webkit-transform: translateX(0);
      transform: translateX(0);
  }
}

@keyframes wheelin {
  to {
      -webkit-transform: translateX(0);
      transform: translateX(0);
  }
}

@media (max-width: 960px) {
  .options {
      top: 0;
  }

  .info {
      padding: 0 1em 1em 0;
  }

  .info__message {
      display: flex;
      align-items: flex-end;
  }

  .info__message p {
      margin: 0;
      font-size: 0.7em;
  }

  .frame {
      left: auto;
      right: 0;
      padding-left: 6rem;
  }

  .frame__links {
      display: block;
      margin: 0;
      text-align: right;
  }
}

@media (max-width: 600px) {
  .info {
      flex-direction: column;
      justify-content: center;
      align-items: center;
      padding: 0 1em 1em;
  }

  .info__message {
      margin-bottom: 1em;
  }

  .controls {
    position: absolute;
    right: auto;
    bottom: 0;
    width: 100%;
    padding: 8px;
    margin: 6px;
  }

  .content__list_item {
    justify-content: space-around;
  }
}

@media (max-width: 100000px) {
  .info {
      padding: 1em 2em;
  }

  .info__message {
      display: none;
  }

  .options {
      bottom: 50px;
  }

  .option {
      margin-bottom: 1px;
      padding: 5px;
      height: 45px;
      width: 45px;
      display: flex;
  }

  .option.--is-active {
      border-right: 2px solid red;
      width: 47px;
  }

  .option img {
      height: 100%;
      width: auto;
      pointer-events: none;
  }

  .loader {
    width: 256px;
    height: 256px;
    object-fit: contain;
  }
}


/* ##################################################### */


.canvas__container {
  display: flex;
  flex: 1;
  height: 100vh;
  /* width: 100vw; */
  width: calc(100vw - 280px);

  position: absolute;
  top: 0;
  left: 0;
}

.canvas__container--open {
  flex: 1;
  width: 100vw;
}

.canvas {
  width: 100%;
  height: 100%;
  z-index: 1;
  flex: 1;
}

li, a, ul { 
  list-style-type: none;
  margin: 0;
  padding: 0;
  text-decoration: none;
  color: inherit;
}


#toggleIcon {
  width: 10px;
  height: 14px;
  transition: transform 0.6s ease-in-out;
}

.rotated {
  transform: rotate(180deg);
}

.menu__wrapper {
  display: flex;
  position: absolute;
  right: 0;
}

.menu__hider {
  cursor: pointer;
  width: 30px;
  height: 60px;
  position: relative;
  background-color: var(--colorLightGray);
  border: 1px solid var(--colorGrey);
  border-radius: 2px 0px 0px 2px;
  border-width: 1px 0px 1px 1px;
  z-index: 2;
  display: flex;
  align-items: center;
  justify-content: center;

  transition: all 0.3s ease-out;
}

.menu__hider:hover {
  background-color: var(--colorGreen);
}

.menu__container {
  display: flex;
  flex-direction: column;
  flex-grow: 1;
  width: 280px;
  z-index: 1;
  /* transition: width 0.3s ease-out, opacity 0.3s ease-out; */
  transition: transform 0.3s ease-out;
}

.menu {
  width: 100%;
  height: calc(100vh - 60px - 50px - 60px);
  overflow-y: auto;
  overflow-x: hidden;
  position: relative;
  background-color: var(--colorLightGray);
  
  z-index: 1;

  /* transition: width 0.3s ease-out, opacity 0.3s ease-out; */
}

.footer__container {
  display: flex;
  flex-direction: column;
}

.menu__amount {
  width: 100%;
  height: 50px;
  /* overflow: hidden; */
  color: var(--colorGreen);
  background-color: var(--colorDark);
  display: flex;
  justify-content: center;
  align-items: center;
  font-family: 'Source Sans Pro', sans-serif;
  font-weight: 600;
  font-size: 24px;
  line-height: 30px;
}

.menu__pdf {
  width: 100%;
  height: 60px;
  color: var(--colorWhite);
  background-color: var(--colorOrange);
  display: flex;
  justify-content: center;
  align-items: center;
  font-family: 'Source Sans Pro', sans-serif;
  font-weight: 600;
  font-size: 20px;
  line-height: 25px;
  cursor: pointer;
  transition: all 0.3s ease-out;
}

.menu__pdf:hover {
  background-color: var(--colorGreen);
}

.menu__hider--open {
  /* transform: translateX(calc(100% - 30px)); */
  transform: translateX(calc(280px));
}

.menu--open {
  /* width: 0; */
  /* overflow: hidden; */
  transform: translateX(100%);
}

.tabs-container {
  border: 1px solid var(--colorGrey);
  background-color: var(--colorLightGray);
}

.tabs-header {
  position: sticky;
  top: 0px;
  margin: 0 10px;
  z-index: 3;
  background-color: var(--colorLightGray);
}

.tabs {
  display: flex;
  flex: 1;
  width: 100%;
  height: 60px;
  justify-content: center;
  align-items: center;
}

.tabs li {
  display: flex;
  flex: 1;
  box-sizing: border-box;
  height: 60px;
}

.tabs li a {
  display: flex;
  position: relative;
  /* opacity: 0.7; */
  transition: all 0.1s ease-in-out;
  width: 100%;
  justify-content: center;
  align-items: center;
  border-bottom: 3px solid var(--colorGrey);
  font-weight: 400;
  font-size: 16px;
  color: var(--colorDark);
}

.tabs li.active a {
  border-bottom: 3px solid var(--colorGreen); 
}

.tabs li a:hover {
  /* opacity: 1; */
  font-weight: bold;
  border-bottom: 4px solid var(--colorGreen);
}
.tabs-content {
  position: relative;
  z-index: 2;
  padding: 0 18px;
  width: 100%;
}
.tabs-panel {
  display: none;
}
.tabs-panel.active {
  display: block;
}

.tab__title {
  font-weight: 700;
  font-size: 16px;
  text-align: center;
  margin: 12px 0;
  color: var(--colorDark);
}



.card {
  display: flex;
  flex-direction: column;
  /* flex: 1; */
  /* width: 100%; */
}

.card.invisible {
  display: none;
}
.card__title {
  font-weight: 400;
  font-size: 16px;
  line-height: 20px;
  margin-left: 2px;
}

.title_small {
  font-weight: 400;
  font-size: 13px;
  line-height: auto;
  margin-bottom: -5px;
  text-align: center;
}

.section__title {
  font-weight: bold;
  font-size: 16px;
  text-align: center;
  margin-top: 4px;
  margin-bottom: 12px;
  color: var(--colorDark);
}

.section__subtitle {
  font-weight: 400;
  font-size: 16px;
  line-height: 20px;
  margin-top: 8px;
  margin-left: 2px;
  color: var(--colorDark);
}

.section__subtitle.invisible {
  display: none;
}

.section__empty {
  height: 10px;
  border: 1px solid var(--colorLightGray);
}

.section__line {
  /* height: 2px; */
  border: 1px solid var(--colorGreen);
  margin: 12px 0 6px;
}

.card__content {
  display: flex;
  width: 100%;
  /* justify-content: center; */
}

.card__content.vertical {
  flex-direction: column;
}

.card__container {
  width: 100%;
  /* margin: 6px 2px 8px; */
  margin: 6px 2px 20px;
}

.card__container.inner{
  margin-bottom: 6px;
}

.card__checkbox-container {
  display: flex;
  align-items: center;
  justify-content: space-between;
  /* text-align: center; */
  font-weight: 600;
  font-size: 12px;
  line-height: 120%;
  height: 38px;
  width: 100%;
  border: 1px solid var(--colorGrey);
  border-radius: 2px;
  color: var(--colorDark);
  /* cursor: pointer; */
  margin: 6px 2px 0;
  padding: 0 8px 0 0;

  transition: all 0.3s;
}

.card__checkbox-container-noborder {
  border: none;
}

.card__checkbox-wrapper {
  display: flex;
  align-items: center;
}

.card__checkbox {
  position: absolute;
  z-index: -1;
  opacity: 0;
}

.card__checkbox+label {
  display: inline-flex;
  align-items: center;
  user-select: none;
}

.card__checkbox+label::before {
  content: '';
  display: inline-block;
  width: 16px;
  height: 16px;
  flex-shrink: 0;
  flex-grow: 0;
  border: 2px solid var(--colorGrey);
  border-radius: 2px;
  margin: 10px 14px 10px 8px;
  background-repeat: no-repeat;
  background-position: center center;
  background-size: 50% 50%;
}

.card__checkbox:checked+label::before {
  border-color: var(--colorGreen);
  background-image: url("../src/ui/check.png");
  background-size: 14px;
}

.card__checkbox-label {
  cursor: pointer;
}

.card__checkbox-container:hover .card__price-text {
  color: var(--colorOrange);
}

.card__container.vertical {
  margin: 4px 2px 2px;
  padding-right: 4px;
}

.card__container.vertical:last-child {
  margin-bottom: 12px;
  /* margin-bottom: 20px; */
}

.card__container.invisible {
  display: none;
}

.card__button {
  display: flex;
  align-items: center;
  justify-content: center;
  text-align: center;
  font-style: normal;
  font-weight: 400;
  font-size: 12px;
  line-height: 120%;
  height: 38px;
  width: 100%;
  border: 1px solid var(--colorGreen);
  border-radius: 2px;
  color: var(--colorDark);
  cursor: pointer;
  transition: all 0.3s;

  padding: 6px;
}

.card__button:hover {
  background-color: var(--colorBlue);
  color: var(--colorLightGray);
}

.card__button-img {
  width: 24px;
  height: 24px;
  object-fit: cover;
  border-radius: 50%;
  border: 1px solid var(--colorDark);
  margin: 8px;
}

.card__button-text {
  /* margin-left: 8px; */
  padding: 0 6px 0 0;
}

.card__button--active{
  border: 1px solid var(--colorDark);
  background-color: var(--colorDark);
  color: var(--colorLightGray);
  font-weight: 400;

  pointer-events: none;
}

.card__button--active:hover{
  background-color: var(--colorBlue);
}

.card__button--active.usable {
  pointer-events: auto;
}

.card__description {
  display: flex;
  align-items: center;
  justify-content: center;
  text-align: center;
  font-weight: 600;
  font-size: 12px;
  padding: 4px;
  /* margin: -14px 2px 20px; */
  margin: 6px 2px 20px;
  border: 1px solid var(--colorGreen);
  border-radius: 2px;
  color: var(--colorOrange);
}

.card__description_inner {
  margin-bottom: 0;
  /* margin-top: -14px; */
}

.kitchen45_model_text {
  color: var(--colorDark);
  margin-right: 10px;
}

.card__description.invisible {
  display: none;
}

.card__price-text {
  color: var(--colorDark);
  /* padding: 0 8px; */
  transition: color 0.3s;
}

.card__price-text--active {
  color: var(--colorOrange);
}

.card__button--active .card__price-text {
  color: var(--colorOrange);
}

.card__button:hover .card__price-text {
  color: var(--colorOrange);
}

.card-invisible {
  display: none;
}

.card.card-disabled .card__checkbox-container {
  color:#bbbbbb;
}

.card.card-disabled .card__price-text {
  color:#bbbbbb;
}

.card.card-disabled .card__checkbox-label{
  cursor: auto;
}

.card-inner {
  border-bottom: none;
  padding-bottom: 0px;
}

.clickable {
  cursor: pointer;
}

/*  ################################################### */ 


.tbl-info {
  display: none;
  position: fixed;
  left: 0;
  top: 0;
  width: 100%;
  height: 100%;
  vertical-align: middle;
  font-weight: 400;
  overflow-y: auto;
  box-sizing: border-box;
  z-index: 20;
  background-color: rgba(0, 0, 0, 0.75);
  justify-content: center;
  align-items: center;
}

.tbl-info.active {
  display: flex;
}

.tbl-info * {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

.tbl-info-box {
  position: relative;
  display: grid;
  align-items: center;
  justify-content: center;
  vertical-align: middle;
  width: 560px;
  height: 480px;
  margin: auto;
  background-color: var(--colorDark);
  z-index: 2;
}

.tbl-info-box.pdf {
  background-color: var(--colorWhite);
}

.tbl-info-overlay {
  position: absolute;
  width: 100%;
  height: 100%;
  z-index: 1;
}

.tbl-info-item {
  display: none;
}

.tbl-info-item-qr.active {
  display: flex;
}

.tbl-info-item-share.active {
  display: flex;
}

.tbl-info-item-pdf.active {
  display: flex;
}

.tbl-info-item-arview.active {
  display: flex;
}

.tbl-info-item p {
  font-weight: 400;
  font-size: 12px;
  line-height: 15px;
  color: #FFFFFF;
  max-width: 242px;
}

.tbl-info-item p:not(:last-child) {
  margin-bottom: 16px;
}

.tbl-info-close {
  position: absolute;
  right: 24px;
  top: 24px;
  cursor: pointer;
  z-index: 2;
}

.tbl-info-close svg path {
  transition: .3s;
}

.tbl-info-close:hover svg path {
  fill: var(--colorOrange);
}

.tbl-info-sharing {
  display: flex;
  flex-direction: column;
  align-items: center;
}

.tbl-info-sharing-title {
  display: flex;
  align-items: center;
  font-weight: 400;
  font-size: 16px;
  line-height: 20px;
  color: #FFFFFF;
  margin-bottom: 30px;
}

.tbl-qr-title {
  display: flex;
  align-items: center;
  font-weight: 400;
  font-size: 14px;
  line-height: 18px;
  color: #FFFFFF;
  margin-bottom: 30px;
}

.tbl-qr-img {
  display: flex;
  align-items: center;
  justify-content: center;
}

.tbl-info-sharing-window {
  display: flex;
  align-items: center;
  justify-content: center;
}

.tbl-info-sharing-window input {
  height: 48px;
  width: 308px;
  padding: 11px 7px;
  border: 1px solid var(--colorDark);
  border-right: none;
  font-weight: 400;
  font-size: 14px;
  line-height: 18px;
  outline: none;
  color: var(--colorBlue);
  background: var(--colorWhite);
}

.tbl-info-pdf {
  display: flex;
  flex-direction: column;
  align-items: center;
  width: 100%;
}

.tbl-info-pdf-form-container {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  
}

/* .tbl-info-pdf-form-container > * {
  flex-grow: 1;
} */

.tbl-info-pdf-form-container input {
  display: flex;
  flex-grow: 1;
  height: 50px;
  width: 100%;
  padding: 10px 10px;
  border: none;
  font-weight: 400;
  font-size: 15px;
  line-height: 19px;
  outline: none;
  color: var(--colorBlue);
  background: var(--colorWhite);
}

.tbl-info-pdf-title {
  display: flex;
  flex-grow: 1;
  justify-content: center;
  align-items: center;
  text-align: center;
  font-weight: 700;
  font-size: 32px;
  /* line-height: 45px; */
  color: var(--colorDark);
  margin-bottom: 20px;
  width: 100%;
  max-width: 400px;
}

.tbl-info-pdf-subtitle {
  display: flex;
  flex-grow: 1;
  justify-content: center;
  align-items: center;
  font-weight: 400;
  font-size: 16px;
  line-height: 20px;
  color: var(--colorDark);
  margin-bottom: 20px;
  /* width: 100%; */
  width: 475px;
}

.tbl-info-pdf-form-group-btn {
  flex-grow: 1;
  margin-top: 18px;
  padding: 10px 20px;
  width: 100%;
  height: 56px;
  color: var(--colorDark);
  background-color: var(--colorGreen);
  border: none;
  font-weight: 600;
  font-size: 16px;
  line-height: 20px;
  cursor: pointer;
}

.tbl-info-ARview-form-group-btn {
  flex-grow: 1;
  margin-top: 18px;
  padding: 10px 20px;
  width: calc(100vw - 60px);
  margin-left: 30px;
  margin-right: 30px;
  height: 56px;
  color: var(--colorDark);
  background-color: var(--colorGreen);
  border: none;
  font-weight: 600;
  font-size: 16px;
  line-height: 20px;
  cursor: pointer;
}

.tbl-info-ARview-title {
  display: flex;
  flex-grow: 1;
  justify-content: center;
  align-items: center;
  text-align: center;
  font-weight: 700;
  font-size: 32px;
  color: var(--colorLightGray);
  margin-bottom: 20px;
  width: calc(100vw - 60px);
  margin-left: 30px;
  margin-right: 30px;
}

.tbl-info-ARview-container {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  flex-grow: 1;
}

.tbl-info-pdf-form-group-btn:disabled {
  background-color: var(--colorGrey);
  cursor: not-allowed;
  color:var(--colorDark);
}

.form-group {
  display: flex;
  justify-content: center;
  margin-bottom: 10px;
  border: 1px solid var(--colorGrey);
  border-radius: 3px;
  width: 100%;
}

.form-group label {
  display: flex;
  align-items: center;
  justify-content: start;
  padding: 0 10px 0 12px;
  width: 200px;
  font-weight: 400;
  font-size: 15px;
  line-height: 19px;
}

.input-error {
  border: 2px solid red;
  border-radius: 3px;
}

.input-success {
  border: 2px solid var(--colorGreen);
  border-radius: 3px;
}

.input-success-noborder {
  border: none;
}

.tbl-info-sharing-icon-container {
  display: flex;
  justify-content: center;
  align-items: center;
  cursor: pointer;
  height: 48px;
  width: 48px;
  background: var(--colorWhite);
  border: 1px solid var(--colorDark);
  border-width: 1px 1px 1px 0;
}

.tbl-info-sharing-icon {
  display: flex;
  justify-content: center;
  align-items: center;
  cursor: pointer;
}

.tbl-info-sharing-btn {
  display: flex;
  justify-content: center;
  align-items: center;
  min-width: 159px;
  height: 40px;
  border: 1px solid var(--colorDark);
  flex-shrink: 0;
  font-weight: 400;
  font-size: 14px;
  line-height: 18px;
  color: #FFFFFF;
  padding: 5px;
  text-decoration: none;
  transition: .3s;
}

.tbl-info-sharing-btn:hover {
  color: var(--colorGreen);
}

.tbl-buttons-container {
  display: flex;
  align-items: center;
  justify-content: center;
  position: absolute;
  top: 6px;
  left: 50%;
  width: 300px;
  transform: translateX(-50%);
  z-index: 2;
}

.tbl-buttons-nav-container {
  display: flex;
  flex-direction: column;
  position: absolute;
  bottom: 6px;
  left: 50%;
  transform: translateX(-50%);
  z-index: 2;
}

.tbl-buttons-nav-container .hidden {
  display: none;
}

.tbl-buttons-nav-container-floor {
  display: flex;
}

.navgroup_btnwrapper {
  display: flex;
}

.navgroup_title_floor {
  width: 60px;
  font-weight: bold;
}

.non-active {
  display: none;
}

.tbl-window-logo {
  display: flex;
  align-items: center;
  justify-content: center;
  position: relevant;
  width: 105px;
  height: 44px;
  /* top: 8px; */
  margin: 2px;
  border: 1px solid var(--colorLightGray);
  background-color: var(--colorLightGray);
  
  cursor: pointer;
  user-select: none;

  transition: .3s linear;
}

.tbl-window-logo-icon {
  display: flex;
  align-items: center;
  justify-content: center;
  position: relative;
  width: 24px;
  height: 24px;
  margin-left: 5px;
}

.tbl-window-logo-text {
  display: flex;
  align-items: center;
  justify-content: center;
  position: relative;
  text-align: center;
  font-weight: 400;
  font-size: 10px;
  padding: 6px;
}

.tbl-window-logo:hover {
  background-color: var(--colorGreen);
  border: 1px solid var(--colorDark);
}

.tbl-info-close.pdf svg path{
  fill: var(--colorDark);
}

.nav_btn {
  background-color: var(--colorLightGray05);
}

/* ------------------------------------------- */
@media only screen and (max-width: 665px), only screen and (-webkit-device-pixel-ratio: 3) and (max-width: 1170px) {
  body,
  html {
    flex-direction: column;
  }

  .canvas__container {
    /* ! РОЗРАХУНОК ВИСОТИ КАНВАСУ для Mobile */
    height: calc(100vh - var(--heightMobMenu) + 30px); 
    width: 100%;
  }

  .menu__wrapper {
    display: flex;
    /* flex: 1; */
    flex-direction: column;
    width: 100%;
    /* height: 360px; */
    right: auto;
    bottom: 0;
    justify-content: center;
  }

  .menu__hider {
    align-self: flex-end;
    height: 30px;
    width: 60px;
    border-width: 1px 1px 1px 1px;
    border-radius: 2px 2px 0px 0px;
    margin-bottom: -1px;
  }

  .menu__hider--open {
    transform: translateY(calc(var(--heightMobMenu) - 30px));
  }

  .menu__hider-icon {
    transform: rotate(90deg);
  }

  .menu--open {
    /* height: 0;
    overflow: hidden; */
    transform: translateY(100%);
  }


  .canvas__container--open {
    flex: 1;
    height: 100vh;
  }
  
  .rotated {
    transform: rotate(270deg);
  }

  .menu__container {
    flex: 1;
    width: 100%;
    
    /* transition: height 0.3s ease-out, opacity 0.3s ease-out; */
    transition: transform 0.3s;
  }

  .menu {
    width: 100%;
    /* ! РОЗРАХУНОК ВИСОТИ 'рухомого' МЕНЮ для Mobile */
    /* ! 60 = висота нижніх кнопок */
    /* ! 42 = висота табів */
    /* ! 30 = висота кнопки згортання */
    height: calc(var(--heightMobMenu) - 60px - 42px - 30px);
    overflow-y: scroll;
  }

  .tabs {
    display: flex;
    flex: 1;
    width: 100%;
    height: 42px;
    justify-content: center;
    align-items: center;
  }

  .tabs li a {
    border-bottom: 2px solid var(--colorGrey);
  }

  .tabs li.active a {
    border-bottom: 2px solid var(--colorGreen); 
  }
  
  .tabs-header {
    position: sticky;
    top: 0px;
    margin: 0;
    z-index: 3;
    
  }

  .tabs li {
    display: flex;
    flex: 1;
    box-sizing: border-box;
    height: 42px;
  }

  .footer__container {
    flex-direction: row;
  }

  .menu__amount {
    height: 60px;
  }

  #nav-container45 .tbl-buttons-nav-container-floor {
    display: flex;
    flex-direction: column;
  }

  #nav-container45 .tbl-buttons-nav-container-floor img {
    display: none;
  }

  #nav-container45 .tbl-buttons-nav-container-floor:nth-child(2) {
    margin-bottom: 10px;
  }

  #nav-container45 .navgroup_title_floor {
    margin: 0;
  }

  #nav-container45 .navgroup_btnwrapper {
    width: calc(100vw - 45px);
  }

  #nav-container45 .navgroup_btnwrapper .nav_btn {
    height: auto;

  }

  .tbl-info-box {
    width: 100%;
    height: 100%;
    margin: auto;
    z-index: 2;
  }
  
  .tbl-info-sharing-title {
    margin-bottom: 50px;
  }
  
  .tbl-info-sharing-window input {
    height: 44px;
    width: 230px;
  }
  
  .tbl-info-sharing-icon-container {
    height: 44px;
    width: 44px;
  }
  
  .nav_btn {
    display: flex;
    flex-direction: column;
    height: 60px;
    justify-content: start;
  }
  
  .tbl-window-logo {
    width: 70px;
  }
  
  .tbl-window-logo-text {
    padding: 2px;
  }
  
  .tbl-buttons-nav-container {
    position: fixed;
    left:6px;
    bottom: calc(var(--heightMobMenu) - 24px);
    transform: translateX(0);
    width: 280px;
  }
  
  .tbl-buttons-nav-container.nav-hidden {
    bottom: 6px;
  }
  
  .tbl-info-pdf-subtitle {
    width: 100%;
  }
  
  .tbl-info-pdf-form-container {
    margin: 0 22px;
  }

  .loading.with_menu {
    right: 0;
    bottom: calc(var(--heightMobMenu) - 28px);
  }
}

/* ------------------------------------------- */



.tbl-window-logo-text span:not(:last-child) {
  font-weight: 700;
  margin-right: 4px;
}

/* !  ################################################### */ 
/* ! ##############    STYLES FOR DEMO    ############## */ 
/* ! ################################################### */ 

/* #button_0_1_0, #button_0_1_1 {
  display: none;
}

.tabs-panel .card:nth-child(n+5) {
  display: none;
}

.footer__container {
  display: none;
} */
