@import url("https://fonts.googleapis.com/css?family=Rubik:300,400,400i,500,500i,700,700i,900&display=swap");
@import url("https://fonts.googleapis.com/css?family=Rubik:300,400,400i,500,500i,700,700i,900&display=swap");

body,
html {
  padding: 0;
  margin: 0;
}
.color.transparent {
  background-color: transparent;
  background-image: url(none.png);
  background-position: center;
  background-repeat: no-repeat;
  background-size: 80%;
}
.main-menu {
  top: 0;
  left: 0;
  height: 79px;
  margin-bottom: 20px;
}
.main-menu .row {
  box-shadow: 0px 5px 5px #00000033;
}
.main-menu .row .logo {
  display: block;
  text-decoration: none;
  padding: 10px 0;
}
.main-menu .row .logo img {
  height: 100%;
}
.main-menu .row .back {
  height: 100%;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  text-decoration: none;
  color: #333;
  text-transform: uppercase;
  font-size: 10px;
  font-weight: bold;
}
.main-menu .row .back:hover {
  color: #ff5e13;
}
.main-menu .row .back i.fa {
  font-size: 35px;
}
.main-menu .row .title {
  margin-left: 20px;
  height: 100%;
  color: #333;
  font-size: 45px;
  font-weight: bold;
  padding-top: 8px;
  text-transform: uppercase;
}
.full-height {
  height: calc(100vh - 109px);
}
.field {
  border: 3px dashed #ddd;
  position: relative;
}
.field .controls {
  position: absolute;
  top: -3px;
  right: -3px;
}
.field .controls button {
  border: 3px solid #ff5e13;
  background-color: #ff5e13;
  color: #fff;
  font-size: 20px;
}
.field .controls button:hover {
  color: #333;
  background-color: #fff;
}
.field .rotation {
  position: absolute;
  pointer-events: none;
  top: 0;
  right: 0;
  width: 100%;
  height: 100%;
}
.field .rotation .left {
  pointer-events: all;
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  left: 10px;
}
.field .rotation .right {
  pointer-events: all;
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  right: 10px;
}
.field .rotation .up {
  pointer-events: all;
  position: absolute;
  top: 10px;
  transform: translateX(-50%);
  left: 50%;
}
.field .rotation .down {
  pointer-events: all;
  position: absolute;
  bottom: 10px;
  transform: translateX(-50%);
  left: 50%;
}
.field .plane {
  pointer-events: none;
  width: 100%;
  height: 100%;
  overflow: hidden !important;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-direction: column;
}
.field .plane[data-cursor=orange] {
  cursor: url(cursor_orange.svg), auto;
}
.field .plane[data-cursor=brown] {
  cursor: url(cursor_brown.svg), auto;
}
.field .plane[data-cursor=yellow] {
  cursor: url(cursor_yellow.svg), auto;
}
.field .plane[data-cursor=red] {
  cursor: url(cursor_red.svg), auto;
}
.field .plane[data-cursor=green] {
  cursor: url(cursor_green.svg), auto;
}
.field .plane[data-cursor=white] {
  cursor: url(cursor_white.svg), auto;
}
.field .plane[data-cursor=blue] {
  cursor: url(cursor_blue.svg), auto;
}
.field .plane[data-cursor=black] {
  cursor: url(cursor_black.svg), auto;
}
.field .plane[data-cursor=dark] {
  cursor: url(cursor_dark.svg), auto;
}
.field .plane[data-cursor=grey] {
  cursor: url(cursor_grey.svg), auto;
}
.field .plane[data-cursor=transparent] {
  cursor: url(cursor_transparent.svg), auto;
}
.field .plane .line {
  display: flex;
  flex-direction: row;
}
.field .plane .line .block {
  pointer-events: all;
  width: 100px;
  height: 100px;
  margin: 3px;
  background-position: center;
  background-size: contain;
  background-repeat: no-repeat;
}
.field .plane .line .block:hover {
  opacity: 0.7;
}
.field .save {
  text-decoration: none;
  cursor: pointer;
  position: absolute;
  bottom: -3px;
  right: 203px;
  width: 200px;
  border: 3px solid #ff5e13;
  background-color: #fff;
  color: #ff5e13;
  text-transform: uppercase;
  font-weight: bold;
  padding: 10px 20px;
  text-align: center;
}
.field .save:hover {
  background-color: #ff5e13;
  color: #fff;
}
.field .order {
  width: 200px;
  text-decoration: none;
  cursor: pointer;
  position: absolute;
  bottom: -3px;
  right: -3px;
  border: 3px solid #ff5e13;
  background-color: #ff5e13;
  color: #fff;
  text-transform: uppercase;
  font-weight: bold;
  padding: 10px 20px;
}
.field .order:hover {
  background-color: #fff;
  color: #ff5e13;
}
.settings {
  padding: 15px;
  background-color: #eee;
  overflow-y: auto;
}
.settings .price {
  margin-bottom: 0;
  padding-bottom: 0;
  font-weight: bold;
}
.settings .underprice {
  color: #999;
}
.settings .thickness {
  padding-bottom: 15px;
  overflow-y: auto;
}
.settings .thickness > div {
  margin-right: 3px;
  margin-top: 3px;
  padding: 3px 10px;
  text-align: center;
  float: left;
  display: block;
  cursor: pointer;
  font-size: 13px;
  background-color: #ff5e13;
  color: #fff;
}
.settings .thickness > div.chosen {
  background-color: #fff;
  color: #ff5e13;
}
.settings .thickness > div:hover {
  background-color: #fff;
  color: #ff5e13;
}
.settings .description {
  font-size: 14px;
  margin-bottom: 0;
}
.settings .help {
  margin-top: 10px;
  font-size: 14px;
}
.settings label {
  width: 30%;
  margin-top: 5px;
}
.settings label.long {
  width: 70%;
  margin-bottom: 10px;
}
.settings input {
  width: 80px;
}
.settings button.build {
  border-radius: 0;
  border: 3px solid #ff5e13;
  background-color: #ff5e13;
  color: #fff;
  font-weight: bold;
  margin-top: 10px;
  font-size: 12px;
}
.settings button.build:hover {
  background: #fff;
  color: #ff5e13;
}
.settings .chosen-color {
  display: inline-block;
  transform: translateY(3px);
  width: 15px;
  height: 15px;
}
.settings .colors {
  margin-bottom: 40px;
}
.settings .colors.symbols {
  overflow-y: auto;
}
.settings .colors .color {
  cursor: pointer;
  float: left;
  width: 20px;
  height: 20px;
  transition: 0.2s ease all;
}
.settings .colors .color:hover {
  transform: scale(1.2);
}
.settings .colors .symbol,
.settings .colors .image {
  -webkit-user-select: none;
  -moz-user-select: none;
  -ms-user-select: none;
  user-select: none;
  cursor: pointer;
  float: left;
  width: 30px;
  height: 30px;
  border: 0.5px solid #666;
  color: #666;
  border-radius: 2px;
  display: flex;
  align-items: center;
  justify-content: center;
  margin: 1px;
}
.settings .colors .symbol img,
.settings .colors .image img {
  width: 100%;
}
.settings .colors .symbol:hover,
.settings .colors .image:hover {
  background-color: #666;
  color: #fff;
}
#overlay {
  z-index: 998;
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  display: none;
  background-color: #000000aa;
}
.modal {
  position: fixed;
  top: 100px !important;
  left: 50% !important;
  transform: translateX(-50%);
  text-align: center;
  max-width: 500px;
  height: unset !important;
  padding: 30px;
  background-color: #fff;
}
.modal .close {
  position: absolute;
  top: 10px;
  right: 15px;
  cursor: pointer;
  font-size: 22px;
}
.modal .close:hover {
  color: #ff5e13;
}
.modal form {
  display: flex;
  flex-direction: column;
  align-items: center;
}
.modal form h3 {
  margin-bottom: 20px;
  color: #ff5e13;
  font-weight: bold;
}
.modal form input {
  margin-top: 10px;
  display: block;
  border-radius: 0px;
  border: none;
  border-bottom: 1px solid #aaa;
  padding: 5px;
  width: 70%;
}
.modal form input.error {
  border-bottom: 1px solid red;
}
.modal form button {
  margin-top: 20px;
  border: 3px solid #ff5e13;
  background-color: #ff5e13;
  color: #fff;
  font-size: 18px;
  padding: 10px 30px;
}
.modal form button:hover {
  color: #ff5e13;
  background-color: #fff;
}

.modal-window {
  width: 400px;
  max-width: 90%;
  overflow: visible;
  padding: 30px 27px 35px;
  text-align: left;
}

.modal-window .close {
  margin-right: 0px !important;
  margin-top: 0px !important;
  margin-bottom: -10px;
  border-radius: 50%;
  background-color: #b7b7b7;
  padding: 5px 7px;
  text-shadow: none;
  font-size: 1.2rem;
  position: relative;
  right: -10px;
  top: -10px;
  opacity: 1;
  color: #585858;
  transition: 0.5s;
  width: 30px;
  height: 30px;
  line-height: 0;
  position: absolute;
  text-align: center;
}

.modal-window .close:hover {
  background-color: #b3b3b3;
  color: #000000;
}

.modal-window .modal-body span {
  color: #000000;
  margin-bottom: 0;
}

.modal-window .modal-body {
  padding: 10px 27px 35px;
}

.modal-window .modal-body button, .modal-window form button {
  border-radius: 5px;
  cursor: pointer;
  min-width: 180px;
  max-width: 100%;
  padding: 6px 32px;
  margin-left: auto;
  margin-right: auto;
  display: block;
  transition: 0.3s;
}

.modal-window .delimiter {
  height: 1px;
  width: calc(100% + 54px);
  background-color: #ebebeb;
  margin: 15px -27px 20px;
}

.modal-window .form-group {
  margin-bottom: 1rem;
}

.modal-window .form-group label {
  text-transform: uppercase;
  display: inline-flex;
  align-items: flex-start;
  gap: 3px;
  color: #000000;
  cursor: pointer;
  font-size: 14px;
  font-weight: 400;
  margin-bottom: 0;
}

.modal-window .form-group .form-control {
  background-color: #f6f6f6;
  outline: none;
  margin-top: 5px;
}

.modal-window .form-group .form-control:focus {
  outline: none;
  box-shadow: none;
}

.modal-window .modal-title {
  font-size: 16px;
  color: #000000;
  font-family: "Rubik", sans-serif;
  font-weight: 400;
  margin-bottom: 9px;
  display: block;
  text-transform: uppercase;
}

.modal-window form input {
  width: 100%;
  background-clip: padding-box;
  border: 1px solid #ced4da;
  border-radius: .25rem;
  transition: border-color .15s ease-in-out, box-shadow .15s ease-in-out;
}

.modal-window form input.error {
  border: 1px solid red;
  background-color: #ffe5e5 !important;
}

.small-note {
  font-size: 14px;
}