.remarked-primary-widget {
  transition: width .3s ease;
}

.remarked-primary-widget__tables {
  opacity: 0;
  width: 0;
  height: 0;
  transition: width .3s ease, opacity .3s ease, height .3s ease;
  padding: 30px;
  padding-right: 20px;
  box-sizing: border-box;
  background-color: #FCEBE4;
  margin-left: 30px;
  overflow: hidden;
  border-radius: 5px;
  user-select: none;
  display: none;
}

.remarked-primary-widget__open-maps {
  cursor: pointer;
  display: none;
}

.remarked-primary-widget__wrap--tables .remarked-primary-widget {
  display: flex;
  flex-wrap: wrap;
  width: 1400px;
  padding-right: 20px;
}

.remarked-primary-widget__wrap--tables .remarked-primary-widget__container {
  flex: 0 0 570px;
}

.remarked-primary-widget__wrap--tables .remarked-primary-widget__tables {
  width: 735px;
  height: 855px;
  opacity: 1;
  display: block;
}

.remarked-primary-widget__map {
  overflow: auto;
  height: 99%;
  scrollbar-color: #F1CEBF #F6E4DC;
  scrollbar-width: thin;
}

.remarked-primary-widget__map::-webkit-scrollbar {
  width: 10px;
  height: 10px;
}

.remarked-primary-widget__map::-webkit-scrollbar-track {
  background-color: #F6E4DC;
}

.remarked-primary-widget__map::-webkit-scrollbar-thumb {
  background-color: #F1CEBF;
  border-radius: 5px;
}

/*.remarked-primary-widget__map::-webkit-scrollbar-button {
  opacity: 0;
}*/

.remarked-primary-widget__tables-buttons {
  display: flex;
  flex-wrap: wrap;
  padding-top: 10px;
  position: absolute;
  bottom: 60px;
}

.remarked-primary-widget__tables-button {
  padding: 7px 10px;
  border: 1px solid rgb(240, 112, 72);
  color: rgb(240, 112, 72);
  border-radius: 3px;
  margin-right: 3px;
  margin-bottom: 3px;
  cursor: pointer;
  transition: all .3s ease;
}

.remarked-primary-widget__tables-button--active,
.remarked-primary-widget__tables-button:hover {
  background-color: rgb(240, 112, 72);
  color: #fff;
  transition: all .3s ease;
}

.remarked-primary-widget__room {
  display: none;
  position: relative;
}

.remarked-primary-widget__room--active {
  display: block;
}

.remarked-primary-widget__table--small {
  width: 40px;
  height: 54px;
}

.remarked-primary-widget__table {
  position: absolute;
}

.remarked-primary-widget__table-num {
  position: absolute;
  left: 50%;
  top: 50%;
  transform: translate(-50%, -50%);
  cursor: pointer;
  color: #fff;
}

.remarked-primary-widget__table-price {
  position: absolute;
  top: 100%;
  left: 50%;
  transform: translateX(-50%);
  background: rgb(240, 112, 72);
  padding: 2px 8px;
  color: #fff;
  border-radius: 6px;
  z-index: 2;
  display: none;
  white-space: nowrap;
}

.remarked-primary-widget__table--active .remarked-primary-widget__table-price {
  display: block;
}

.remarked-primary-widget__table--busy svg path,
.remarked-primary-widget__table--busy svg rect {
  fill: #EA5455;
  stroke: #EA5455;
}

.remarked-primary-widget__table--closed svg path,
.remarked-primary-widget__table--closed svg rect {
  fill: #82868b;
}

.remarked-primary-widget__table--medium {
  width: 75px;
  height: 75px;
}

.remarked-primary-widget__table--active svg path,
.remarked-primary-widget__table--active svg rect {
  fill: #f07048;
  stroke: #f07048;
}

@media (max-width: 1400px) {
  .remarked-primary-widget__wrap--tables .remarked-primary-widget__container {
    flex: 0 0 470px;
  }

  .remarked-primary-widget__wrap--tables .remarked-primary-widget__tables {
    width: calc(100% - 500px);
  }

  .remarked-primary-widget__wrap--tables .remarked-primary-widget {
    width: 100%;
  }
}

@media (max-width: 850px) {
  .remarked-primary-widget__wrap--tables .remarked-primary-widget {
    width: 660px;
  }

  .remarked-primary-widget__wrap--tables .remarked-primary-widget__tables {
    width: calc(100% + 50px);
    height: 650px;
    margin: 0 -25px;
    margin-top: 30px;
    padding: 10px;
    padding-right: 20px;
  }

  /*.remarked-primary-widget__map {
    height: 80%;
  }*/

  .remarked-primary-widget__wrap--tables .remarked-primary-widget {
    display: block;
    padding-right: 45px;
  }
}

@media (max-width: 700px) {
  .remarked-primary-widget__wrap--tables .remarked-primary-widget {
    width: 100%;
  }
}

@media (max-width: 400px) {
  .remarked-primary-widget__wrap--tables .remarked-primary-widget {
    padding-right: 25px;
  }
}

.remarked-primary-widget__wrap .__notice-overlay {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  z-index: 2;
  background-color: rgba(25, 36, 49, 0.9);
  -webkit-animation-name: remarkedfadeInModal;
  animation-name: remarkedfadeInModal;
  -webkit-animation-duration: 0.5s;
  animation-duration: 0.5s;
  -webkit-animation-iteration-count: 1;
  animation-iteration-count: 1;
  display: flex;
  align-items: center;
  justify-content: center;
}

.remarked-primary-widget__wrap .__notice-modal {
  box-sizing: border-box;
  -webkit-animation-name: remarkedslideIn;
  animation-name: remarkedslideIn;
  -webkit-animation-duration: 0.5s;
  animation-duration: 0.5s;
  -webkit-animation-iteration-count: 1;
  animation-iteration-count: 1;
  background-color: #fdf7f5;
  padding: 20px;
  max-width: 320px;
  width: 100%;
  border-radius: 12px;
}

.remarked-primary-widget__wrap .__notice-modal .__title {
  font-size: 20px;
  text-align: center;
  margin-bottom: 10px;
}

.remarked-primary-widget__wrap .__notice-overlay .__close {
  position: absolute;
  right: 40px;
  top: 20px;
  cursor: pointer;
}

.remarked-primary-widget--success .remarked-primary-widget__tables {
  display: none;
}

.remarked-primary-widget__zooms {
  z-index: 1;
  display: flex;
}

.remarked-primary-widget__zoom {
  padding: 7px 10px;
  border: 1px solid rgb(240, 112, 72);
  color: #fff;
  border-radius: 3px;
  margin-right: 3px;
  cursor: pointer;
  min-width: 16px;
  text-align: center;
  min-width: 40px;
  background-color: rgb(240, 112, 72);
}