@font-face {
  font-family: 'Roboto';
  font-style: normal;
  font-weight: 300;
  font-stretch: normal;
  src: url(https://fonts.gstatic.com/s/roboto/v47/KFOMCnqEu92Fr1ME7kSn66aGLdTylUAMQXC89YmC2DPNWuaabVmQiA8.ttf) format('truetype');
}
@font-face {
  font-family: 'Roboto';
  font-style: normal;
  font-weight: 400;
  font-stretch: normal;
  src: url(https://fonts.gstatic.com/s/roboto/v47/KFOMCnqEu92Fr1ME7kSn66aGLdTylUAMQXC89YmC2DPNWubEbVmQiA8.ttf) format('truetype');
}
@font-face {
  font-family: 'Roboto';
  font-style: normal;
  font-weight: 700;
  font-stretch: normal;
  src: url(https://fonts.gstatic.com/s/roboto/v47/KFOMCnqEu92Fr1ME7kSn66aGLdTylUAMQXC89YmC2DPNWuYjalmQiA8.ttf) format('truetype');
}
body {
  overflow: hidden;
}
.main {
  font-family: 'Roboto', sans-serif;
}
.input-group * {
  border-radius: 0.25rem !important;
}
.input-group * + * {
  margin-left: 10px!important;
}
input[type="color"] {
  cursor: pointer;
  -webkit-appearance: none;
  border: 1px solid #ced4da !important;
  background: #fff;
  max-width: 38px!important;
  height: 38px;
  padding: 6px;
  border-radius: 50%!important;
}
input[type="color"]::-webkit-color-swatch-wrapper {
  padding: 0px;
}
input[type="color"]::-webkit-color-swatch {
  border: none;
  border-radius: 50%;
}
input[type="color"]::-moz-focus-inner {
  border: none;
  padding: 0px;
  border-radius: 50%;
}
input[type="color"]::-moz-color-swatch {
  border: none;
  border-radius: 50%;
}
input[type="color"]:hover,
input[type="color"]active,
input[type="color"]focus {
  border: 1px solid #5ccc2b !important;
}
.btn-apply {
  padding: 0 5px;
  height: 38px;
  width: 38px;
  display: flex;
}
.btn-apply:before {
  margin: 0 auto;
  content: "";
  display: inline-block;
  background: url("../img/tool-icon-4.png");
  background-position: center;
  background-size: cover;
  width: 28px;
  height: 28px;
}
.form-control {
  font-size: 14px;
  min-height: 38px;
}
.form-control:active,
.form-control:focus {
  border: 1px solid #5ccc2b !important;
}
.form-control,
.btn {
  box-shadow: none!important;
}
.btn {
  color: white;
  border: none;
  background: #5ccc2b !important;
}
.btn img {
  pointer-events: none!important;
}
.btn:not(.active):hover,
.btn:not(.disabled):hover,
.btn:not(.active):active,
.btn:not(.disabled):active {
  background: #71e02f !important;
}
.sidebar__tools .btn-info {
  background-color: #2b8ecc !important;
}
.sidebar__tools .btn-info:hover,
.sidebar__tools .btn-info:active,
.sidebar__tools .btn-info:focus {
  background: #30a5d4 !important;
}
.sidebar__tools .btn-danger {
  background-color: #f64444 !important;
}
.sidebar__tools .btn-danger:hover,
.sidebar__tools .btn-danger:active,
.sidebar__tools .btn-danger:focus {
  background: #f12b2b !important;
}
.sidebar__tools .btn-default {
  background-color: #ccc !important;
}
.sidebar__tools .btn-default:hover,
.sidebar__tools .btn-default:active,
.sidebar__tools .btn-default:focus {
  background: #aaa !important;
}
.theme-dark .sidebar__tools .btn-default {
  background-color: #333 !important;
}
.theme-dark .sidebar__tools .btn-default:hover {
  background: #666 !important;
}
.rotate {
  animation-name: cog;
  animation-duration: 10s;
  animation-iteration-count: infinite;
  animation-timing-function: linear;
}
@keyframes cog {
  from {
    transform: rotate(0deg);
  }
  to {
    transform: rotate(360deg);
  }
}

@font-face {
  font-family: 'Roboto';
  font-style: normal;
  font-weight: 300;
  font-stretch: normal;
  src: url(https://fonts.gstatic.com/s/roboto/v47/KFOMCnqEu92Fr1ME7kSn66aGLdTylUAMQXC89YmC2DPNWuaabVmQiA8.ttf) format('truetype');
}
@font-face {
  font-family: 'Roboto';
  font-style: normal;
  font-weight: 400;
  font-stretch: normal;
  src: url(https://fonts.gstatic.com/s/roboto/v47/KFOMCnqEu92Fr1ME7kSn66aGLdTylUAMQXC89YmC2DPNWubEbVmQiA8.ttf) format('truetype');
}
@font-face {
  font-family: 'Roboto';
  font-style: normal;
  font-weight: 700;
  font-stretch: normal;
  src: url(https://fonts.gstatic.com/s/roboto/v47/KFOMCnqEu92Fr1ME7kSn66aGLdTylUAMQXC89YmC2DPNWuYjalmQiA8.ttf) format('truetype');
}
.editor-grab {
  cursor: grab!important;
  cursor: -webkit-grab !important;
}
.editor-grabbing {
  cursor: grabbing!important;
  cursor: -webkit-grabbing !important;
}
.editor.editor-grab .seat {
  opacity: 1!important;
}
.editor {
  background-image: url("../img/dots.png");
  background-repeat: repeat;
  background-position: 19px 19px;
  background-size: 25px 25px;
  width: calc(100% - 258px - 42px);
  margin-left: 42px;
  height: 100vh;
  overflow: hidden;
}
.theme-dark .editor {
  background-image: url("../img/dots-dark.png");
}
.editor .selected rect {
  fill: rgba(0, 120, 215, 0);
  stroke: #0078d7;
  cursor: move;
}
.editor .selected rect.overlapping {
  fill: rgba(255, 43, 43, 0.1);
  stroke: #ff2b2b;
}
.editor .canvas {
  width: 100%;
  height: 100vh;
}
.editor .canvas .seat:hover {
  opacity: 0.8;
}
.editor .canvas .seat:active {
  opacity: 0.5;
}
.editor .canvas .seat.disabled {
  opacity: 0.8;
  pointer-events: none;
}
.editor .seat-info {
  background: #fff;
  color: black;
  border-radius: 5px;
  position: absolute;
  top: 0;
  left: 0;
  z-index: 1;
  transition: 0.2s;
  opacity: 0.99;
  pointer-events: none;
  border: 3px solid #eee;
  font-size: 14px;
  padding: 10px;
  font-weight: 300;
  line-height: 1.5;
}
.editor .seat-info__category,
.editor .seat-info__row,
.editor .seat-info__seat {
  font-weight: 600;
}
.editor .seat-info.d-none {
  display: block!important;
  opacity: 0;
}
.editor .seat-info:before {
  content: " ";
  position: absolute;
  top: -11px;
  left: calc(50% - 11px);
  display: block;
  width: 16px;
  height: 16px;
  transform: rotate(45deg);
  background: #eee;
  z-index: 0;
}
.editor .grid-info {
  color: black;
  position: absolute;
  top: 0;
  left: 0;
  z-index: 1;
  transition: 0.1s;
  opacity: 0.99;
  pointer-events: none;
  font-size: 14px;
  font-weight: 300;
  line-height: 1.5;
  padding: 3px 10px;
  border: 2px solid #eee;
  background: rgba(255, 255, 255, 0.9);
}
.editor .grid-info.d-none {
  display: block!important;
  opacity: 0;
}
.editor .grid-info.border-lt {
  border-radius: 0px 10px 10px 10px;
}
.editor .grid-info.border-lb {
  border-radius: 10px 10px 10px 0px;
}
.editor .grid-info.border-rt {
  border-radius: 10px 0px 10px 10px;
}
.editor .grid-info.border-rb {
  border-radius: 10px 10px 0px 10px;
}
@media (max-width: 767px) {
  .editor {
    width: calc(100% - 42px);
    margin-left: 42px;
  }
}

.editor .canvas #seats #temp {
  opacity: 0.5;
}

@font-face {
  font-family: 'Roboto';
  font-style: normal;
  font-weight: 300;
  font-stretch: normal;
  src: url(https://fonts.gstatic.com/s/roboto/v47/KFOMCnqEu92Fr1ME7kSn66aGLdTylUAMQXC89YmC2DPNWuaabVmQiA8.ttf) format('truetype');
}
@font-face {
  font-family: 'Roboto';
  font-style: normal;
  font-weight: 400;
  font-stretch: normal;
  src: url(https://fonts.gstatic.com/s/roboto/v47/KFOMCnqEu92Fr1ME7kSn66aGLdTylUAMQXC89YmC2DPNWubEbVmQiA8.ttf) format('truetype');
}
@font-face {
  font-family: 'Roboto';
  font-style: normal;
  font-weight: 700;
  font-stretch: normal;
  src: url(https://fonts.gstatic.com/s/roboto/v47/KFOMCnqEu92Fr1ME7kSn66aGLdTylUAMQXC89YmC2DPNWuYjalmQiA8.ttf) format('truetype');
}
.sidebar {
  width: 258px;
  background: #f7f7f7;
  color: black;
  min-height: 100vh;
  max-height: 100vh;
  overflow-y: auto;
  padding: 25px;
  transition: 0.3s;
  /*TRASH*/
}
.sidebar__headers {
  margin-top: 10px;
  margin-bottom: 3px;
}
.sidebar__header {
  font-size: 13px;
  font-weight: 300;
  width: 50%;
}
.sidebar__header + .sidebar__header {
  padding-left: 5px;
}
.sidebar::-webkit-scrollbar {
  position: absolute;
  width: 6px;
  height: 6px;
}
.sidebar::-webkit-scrollbar-track {
  position: absolute;
  background: rgba(92, 204, 43, 0.3);
}
.sidebar::-webkit-scrollbar-thumb {
  position: absolute;
  background: rgba(92, 204, 43, 0.5);
}
.sidebar::-webkit-scrollbar-thumb:hover {
  position: absolute;
  background: rgba(92, 204, 43, 0.7);
}
.sidebar__logo {
  margin: 10px 0 40px;
  display: none;
}
.sidebar__logo-desc {
  display: block;
  text-transform: uppercase;
  line-height: 1;
  margin-top: 10px;
  letter-spacing: 2.8px;
  font-weight: 300;
  font-size: 14px;
}
.sidebar__logo-sign img {
  width: 90%;
}
.sidebar__tools {
  position: absolute;
  left: calc(258px);
  top: 0;
  height: 100vh;
  padding: 5px;
  max-width: 44px;
  background: #f7f7f7;
  border-left: 1px solid #ddd;
  border-right: 1px solid #ddd;
  transition: 0.3s;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  box-shadow: 7px 0 36px rgba(154, 147, 140, 0.2);
}
.sidebar__tools .input-group * + * {
  margin: 5px 0 0 0;
  margin-left: 0 !important;
  margin-right: 0 !important;
}
.sidebar__tools hr {
  margin: 12px 0!important;
}
.sidebar__tools-top {
  display: flex;
}
.sidebar__tools-middle {
  display: flex;
  align-content: center;
  flex-direction: column;
}
.sidebar__tools-middle .sidebar__zoom-btn {
  margin-top: 3px;
  margin-bottom: 2px;
}
.sidebar__tools-middle .sidebar__zoom-btn .zoom-fit img {
  pointer-events: none!important;
}
.sidebar__tools-bottom {
  display: flex;
  flex-direction: column;
}
.sidebar__tools-bottom .btn {
  width: 32px;
  height: 32px;
  padding: 0;
}
.sidebar__tools-bottom .btn + .btn {
  margin-top: 5px;
}
.sidebar__tools-bottom .btn img {
  width: 100%;
  max-width: 25px;
}
.sidebar__tools .sidebar__remove-button.disabled {
  pointer-events: none;
  opacity: 0.5;
}
.sidebar__tool_btn {
  opacity: 0.5;
  width: 32px;
  height: 32px;
  padding: 0;
}
.sidebar__tool_btn img {
  width: 100%;
  max-width: 25px;
  pointer-events: none;
}
.sidebar__tool_btn.active {
  opacity: 1;
}
.sidebar__zoom {
  margin-top: 20px;
}
.sidebar__zoom-btn {
  width: 32px;
  height: 32px;
  display: flex;
  padding: 0;
  text-align: center;
  border-radius: 50px!important;
  display: block;
}
.sidebar__categories {
  margin-top: 0;
}
.sidebar__categories-tab {
  display: none;
}
.sidebar__categories-tab.active {
  display: block;
}
.sidebar__categories-headers-container {
  margin-top: 10px;
}
.sidebar__categories-header {
  font-size: 14px;
  font-weight: 300;
  width: 50%;
}
.sidebar__categories-nav-tabs {
  display: flex;
  border: none;
  margin-top: 15px;
  margin-bottom: 12px;
  font-weight: 300;
  font-size: 12px;
  padding: 0;
}
.sidebar__categories-nav-tabs-link {
  color: black!important;
  margin-right: 10px;
  padding: 10px 0 5px;
  text-decoration: none!important;
}
.sidebar__categories-nav-tabs-link.active {
  color: #75c40e !important;
  border-bottom: 1px solid #75c40e;
}
.sidebar__categories-nav-tabs-link:hover:not(.active) {
  border-bottom: 1px solid #888;
}
.sidebar__categories-nav-tabs-link.disabled {
  pointer-events: none;
  opacity: 0.5;
}
.sidebar__categories-form > * {
  width: 100%;
}
.sidebar__categories .apply-to-select.disabled {
  pointer-events: none;
}
.sidebar #categories option.hidden {
  display: none;
}
@media (max-width: 767px) {
  .sidebar {
    margin-left: -258px;
  }
  .sidebar__tools {
    left: 0;
  }
}
.numeration {
  margin-top: 25px;
}
.numeration.disabled {
  opacity: 0.5;
  pointer-events: none;
}
.numeration__submit {
  width: 100%;
  margin-top: 10px;
}
.numeration.invalid:after {
  display: block;
  width: 100%;
  content: "Wrong data";
  color: #dc3545;
  margin-top: 12px;
  font-size: 14px;
  font-weight: 300;
}
.numeration.valid:after {
  display: block;
  width: 100%;
  content: "Numeration applied";
  color: #75c40e;
  margin-top: 12px;
  font-size: 14px;
  font-weight: 300;
}
.theme-dark .sidebar {
  background: #091117;
  color: white;
}
.theme-dark .sidebar__categories-nav-tabs-link {
  color: white!important;
}
.theme-dark .form-control {
  border-color: transparent!important;
}
.theme-dark input[type="color"],
.theme-dark input[type="color"] * {
  border-color: transparent!important;
}
.theme-dark input[type="color"]::-webkit-color-swatch-wrapper,
.theme-dark input[type="color"] *::-webkit-color-swatch-wrapper {
  border: none;
}
.theme-dark .sidebar__tools {
  background: #0e1922;
  border-left: 1px solid #0e1922;
  border-right: 1px solid #0e1922;
  box-shadow: none!important;
}
.theme-dark .sidebar__tools hr {
  border-color: rgba(255, 255, 255, 0.4);
}
.theme-switch-button {
  width: 32px;
  height: 32px;
  padding: 0;
  color: white;
  display: flex;
  justify-content: center;
  align-items: center;
  font-size: 22px;
  line-height: 1;
}
.theme-switch-button__icon {
  display: flex;
  justify-content: center;
  align-items: center;
  width: 100%;
  height: 100%;
}
