:root {
  /* background */
  --c-yellow: #f7941d;
  --c-violet: #1b75bc;
  --c-black: #000;
  --c-white: #fff;
  --c-light-green: #00a79e;
  --c-grey: #c9c9ce;
  --c-light-grey: #f2f2f2;

  /* text */
  --txt-lips: #615e9b;
  --txt-violet: #8b89ab;
  --txt-grey: #53565a;
  --txt-orange: #ed740c;
  --txt-black: #000;
}

/* Common */
* {
  box-sizing: border-box;
}

body {

  font-size: 18px;
  font-weight: 500;
  margin: 0;

  position: relative;
}


img {
  display: block;
  max-width: 100%;
  height: auto;
}

.main-screen {

}

.visually-hidden {
  position: absolute;
  width: 1px;
  height: 1px;
  margin: -1px;
  border: 0;
  padding: 0;

  white-space: nowrap;
  clip-path: inset(100%);
  clip: rect(0 0 0 0);
  overflow: hidden;
}

/* hide lips */
.not-active {
  opacity: 0;
  pointer-events: none;
}

.tool {
  display: flex;
  justify-content: space-between;
  margin-bottom: 10px;
}

/* .tool:not(:last-child) {
  margin-bottom: 15px;
} */

.main-screen .label {
  font-size: 15px;
  color: var(--txt-black);
  display: flex;
     font-weight: 300;
  align-items: center;
}
.main-screen .label span{
     font-weight: 300;
	
}
.label__subtext {
  margin-left: 10px;
  font-size: 15px;
}

.tooltip {
  position: relative;
  display: flex;
  margin-left: 10px;
}

.tooltip__text {
visibility: hidden;
    opacity: 0;
    position: absolute;
    top: 0;
    left: 50%;
    border: 1px solid #000;
    font-size: 14px;
    line-height: 1.5;
    transform: translate(-50%, -105%);
    width: 285px;
    background-color: #fff;
    color: #000;
    border-radius: 5px;
    text-align: center;
    padding: 10px;
    z-index: 2;
    transition: all 200ms linear;
}

.tooltip__img:hover ~ .tooltip__text {
  visibility: visible;
  opacity: 1;
}

.select {
  width: 50px;
  /* margin-left: 17px; */
  padding-left: 5px;
  border: none;
  font-size: 14px;
  background: none;
  border: 1px solid var(--c-violet);
  border-radius: 20px;
  height: 28px;
  
}

.input {
    font-family: "Inter Tight", sans-serif;
  color: var(--txt-black);
  max-width: 110px;
  padding: 6px 13px;
  margin-left: 5px;
  height: 32px;
  text-align: right;
    background: #F7FFF7;
  border-radius: 5px;
  font-size: 14px;
  font-weight: 500;
  border: 1px solid var(--c-black);
  outline-color: var(--c-light-green);
      text-align: center;
transition: all 0.9s cubic-bezier(.19, 1, .22, 1);
}
.input:hover{
    background: #c9c9c9;	
}
.pos-length .input{
max-width: 120px;	
}
.title {
  color: var(--txt-grey);
  margin-bottom: 12px;
  /* margin-top: 40px; */
}
/* -------------------------------- */
.start-screen {
    display: flex;
    flex-wrap: wrap;
    padding: 40px 0;
}

.main__container {
  width: 100%;
  display: flex;
    background: #F7FFF7;
}

.tools__container {
  width: 480px;
  width: 580px;
  margin-right: 66px;
}

.tools__main {
}

.right__container {
  flex-grow: 1;
}

.canvas__container {
  /* min-height: 700px; */
  /*height: 80vh;*/
    background: #F7FFF7;
  position: relative;
  overflow: hidden;
     aspect-ratio: 1 / 1;
     /*height: 80%;*/
}

.canvas {
}

.canvas-3d {
  position: absolute;
  top: 0;
}
.select--lips {
  margin-left: 0;
}

/* Kонтейнер на Start screen */
.type__container {
  display: flex;
  flex-direction: column;
}

.start-screen__title {
  font-size: 24px;
  margin-bottom: 90px;
  text-align: center;
}

.type__wrapper {
  display: flex;
}

.type {
  display: flex;
  flex-direction: column;
  align-items: center;
}

.type:not(:last-child) {
  margin-right: 100px;
}

.type__title {
  font-size: 14px;
  margin-bottom: 20px;
}

.type__img {
  cursor: pointer;
  padding: 10px;
  border: 2px solid transparent;
  border-radius: 7px;
}

.type__img:hover {
  border-color: var(--c-light-green);
}
.type__img_active{
    pointer-events: none;
    background: #000;
}
.type__img_active .config_step_1_item_number {
    color: #fff;
}
.type__img_active .config_step_1_item_title {
    color: #fff;
}
/* ------------------------------------ */

/* Змінний контейнер на Waste options */
.waste__container {
  /* margin-top: 15px; */
}

.title--waste {
  margin-top: 0;
}

.waste__images {
  display: flex;
  justify-content: space-between;
  margin-bottom: 20px;
}

.waste__images_2 {
  display: grid;
  grid-template-columns: repeat(2, calc(50% - 5px));
  grid-gap: 10px;
}

.waste__type {
  display: flex;
  flex-direction: column;
  align-items: center;
  padding: 5px;
  border-radius: 7px;
  border: 2px solid rgba(0, 0, 0, 0);

      transition: all 0.9s cubic-bezier(.19, 1, .22, 1);
}

.waste__type:hover:not(.waste__type--is-active) {
  background:#c9c9c9;
  color:#000;
    cursor: pointer;
}

.waste__title {
  text-transform: uppercase;
  font-size: 9px;
  margin-top: 3px;
}

.waste__type--is-active {
  background:#000;
  color:#fff;
}

.waste__img {
  width: 75px;
}
.waste__img_2 {
  width: 100%;
}
/* ------------------------ */

.waste__title--channel {
  text-transform: none;
  font-size: 14px;
}

.grate-length-wr {
display: flex;
    width: 100%;
    justify-content: space-between;
}
.grate-length-wr > .input {
  background-color: var(--c-light-grey);
}
.tool--pos .grate-length-wr{
    display: grid;
    width: 100%;
    justify-content: space-between;
    grid-template-columns: repeat(2, calc(50% - 10px));
    grid-gap: 20px;
}
.grate-length-wrapper {

  display: flex;
  flex-direction: column;
  align-items: center;
  
  
    
}
.tool--pos .grate-length-wrapper{
	width: 100%;
}
.grate-length-subtext,
.pos-subtext {
  color: var(--txt-orange);
  font-size: 14px;
  text-align: center;
}
/* ------------------------ */

.pos-wrapper {
  margin-top: 15px;
}

.title-btns-wrap {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 15px;
  flex-wrap: wrap;
}

.title--pos {
  display: flex;
  align-items: center;
  color: var(--txt-black);
  font-size: 15px;
     font-weight: 300;
}

.pos__subtext {
    font-weight: 300;
  margin-left: 5px;
}

.btns-container {
  display: flex;
}

.is-btns-shown .title--pos {
  flex-direction: column;
  margin-right: 10px;
  min-width: 167px;
  
    display: grid;
}

.is-btns-shown .pos__subtext {
  margin-left: 0;
  font-size: 14px;
  display: block;
     font-weight: 300;
}

.pos-btn {
  padding: 6px 0;
  cursor: pointer;
     text-transform: uppercase;
  font-size: 14px;
  color: var(--txt-black);
  border-radius: 5px;
  background: none;
  border: 1px solid var(--c-black);
  transition: all 0.9s cubic-bezier(0.19, 1, 0.22, 1);
  width: 110px;
  display: flex;
  justify-content: center;
  align-items: center;
     height: 33px;
}

.pos-btn:not(:last-child) {
  margin-right: 5px;
}

.pos-btn--active {
  background-color: var(--c-black);
    color: #fff;
}

.pos-btn:hover:not(.pos-btn--active) {
  background-color: #c9c9c9;
}

.tool--pos {
  justify-content: initial;
  margin-bottom: 0;
}

.pos-length {
  display: flex;
  align-items: center;
     justify-content: space-between;
}

.pos-width {
  display: flex;
  align-items: center;
     justify-content: space-between;
}

.label--pos {
  font-size: 15px;
  font-weight: normal;
}

.input--pos {
  width: 120px;
}

/* Lips */
.lips__wrapper {
  margin-bottom: 24px;
}
.lips__container{
    display: grid;
    grid-gap: 10px;	
}
.lips__type {
    display: flex;
    align-items: center;
    justify-content: space-between;
    display: grid;
    grid-template-columns: 180px 1fr;
    grid-gap: 20px;
}

.lips__title_wr {
  display: flex;
  align-items: center;
  flex-grow: 1;
  justify-content: space-between;
}

.lips__title {
  font-size: 15px;
      font-weight: 300;
}

.lips_checkbox_wr {
  display: flex;
  align-items: center;
}

.lips__tools {
  display: flex;
  align-items: center;
     font-weight: 300;
}

.lips__tools_item {
    display: flex;
    align-items: center;
    justify-content: space-between;
}

.lips__checkbox-text {
  font-size: 14px;
}

.lips__checkbox {
  margin-right: 5px;
  margin-left: 5px;
}

.toggle__bgd {
    position: relative;
    width: 90px;
    height: 32px;
    margin-left: 5px;
    margin-right: 5px;
    display: flex;
    justify-content: center;
    align-items: center;
    text-transform: uppercase;
    border-radius: 5px;
    cursor: pointer;
    background: #F7FFF7;
    border: 1px solid #000;
        font-size: 14px;
}

.toggle {
  position: absolute;
  left: 0;
  top: 0;
  width: 100%;
  height: 100%;
  font-size: 14px;
  display: flex;
  justify-content: center;
  border-radius: 5px;
  align-items: center;
  background: var(--c-black);
     transition: all 0.9s cubic-bezier(.19, 1, .22, 1);
     color: #fff;
     text-transform: uppercase;
  opacity: 0;
}

.lips__checkbox:checked + .toggle__bgd > .toggle {
  opacity: 1;
}

.lips__label {
  margin-right: 5px;
  font-size: 15px;
      font-weight: 300;
}
/* -------------------------- */

/* Buttons */
.buttons__container {
  display: flex;
    justify-content: center;
}

.buttons__container--2d3d {
  justify-content: center;
}

.button {
  display: block;
    padding: 16px 20px;
  cursor: pointer;
  font-size: 12px;
  color: #000;
  border-radius: 5px;
  font-weight: 500;
  text-transform: uppercase;
 border: 1px solid #000;
    background: #F7FFF7;
  position: relative;
  transition: all 0.9s cubic-bezier(0.19, 1, 0.22, 1);
  margin-right: 10px;
    font-family: "InputSans", sans-serif;

}
.button:last-child{
  margin-right: 0px;
	
}
.button:hover {
  background: #000;
  color: #fff;
}
.button svg{
margin-left: 30px;	
}
.button path{
	transition: all 0.9s cubic-bezier(0.19, 1, 0.22, 1);
	
}
.button:hover path{
	fill:#fff;
}
/* .button:not(:last-child) {
  margin-right: 15px;
} */

.button--back {
  margin-bottom: 28px;
  background: none;
  border: 1px solid var(--c-light-green);
  padding-left: 30px;
  color:#000;
}

.button--back:before {
  content: "";
  position: absolute;
  background: url(../images/arrow_left.svg) no-repeat;
  width: 6px;
  height: 11px;
  left: 15px;
  top: 0;
  bottom: 0;
  margin: auto;
}


.change_view_wr {
  display: flex;
}

.change_view {
  display: block;
  padding: 9px 20px;
  cursor: pointer;
  font-size: 15px;
  color: var(--txt-grey);
  border-radius: 25px;
  font-weight: 500;
  text-transform: uppercase;
  background: none;
  border: 1px solid var(--c-light-green);
  position: relative;
  margin-right: 15px;
  transition: all 0.9s cubic-bezier(0.19, 1, 0.22, 1);
}

.change_view:hover {
  background: var(--c-yellow);
}

.change_view_active {
  background: var(--c-light-green);
  /*pointer-events: none;*/
}

.change_view:last-child {
  margin: 0;
}

.tools__cont {
  /* display: inline-block; */
}

.dropdown {
  position: relative;
}

.dropdown--position {
  min-width: 90px;
}

.dropdown--position ~ .input {
  margin-left: 25px;
}

.dropdown_title {
  font-size: 14px;
  color: var(--txt-black);
  text-transform: uppercase;
  position: relative;
  padding: 0 9px 0 12px;
  border: 1px solid var(--c-black);
  cursor: pointer;
  height: 32px;
  display: flex;
  align-items: center;
  border-radius: 5px;
  z-index: 1;
  min-width: 90px;
  justify-content: center;
  overflow: hidden;
  transition: all 0.9s cubic-bezier(0.19, 1, 0.22, 1);
}
.tool .dropdown_title{
	 min-width: 110px;
}
.dropdown:hover .dropdown_title{
    background: #c9c9c9;	
}
.dropdown_title_text {
  margin-right: 6px;
  position: relative;
  z-index: 1;
  pointer-events: none;
}

.dropdown_arrow_img {
  width: 14px;
 
  transition: all 0.3s ease-out;
  pointer-events: none;
}

.open_dropdown .dropdown_arrow_img {
  transform: rotate(90deg);
}

.option_wrap {
  position: absolute;
    background: #F7FFF7;
  border: 1px solid var(--c-black);
  border-radius: 5px;
  left: 0;
  top: 100%;
  padding: 7px;
  z-index: 2;
  opacity: 0;
  transform: translateY(30px);
  pointer-events: none;
  transition: all 0.9s cubic-bezier(0.19, 1, 0.22, 1);
}

.dropdown_top .option_wrap {
  top: auto;
  bottom: 100%;
  transform: translateY(-30px);
}

.open_dropdown .option_wrap {
  opacity: 1;
  transform: translateY(0px);
  pointer-events: auto;
}

.option_wr {
  max-height: 150px;
  overflow: auto;
}

.option_wr--high {
  max-height: 200px;
}

.option_wr--high .option_item {
  width: 65px;
}

.option_grid {
  display: grid;
  grid-template-columns: auto;
  grid-gap: 5px;
}

.option_grid_big {
  display: grid;
  grid-template-columns: repeat(auto-fill, 45px);
  max-width: 150px;
  grid-gap: 5px;
}

.option_item {
  cursor: pointer;
  font-size: 15px;
  color: var(--txt-black);
  border-radius: 5px;
  font-weight: 500;
  /* text-transform: uppercase; */
  background: none;
  border: 1px solid var(--c-black);
  position: relative;
  transition: all 0.9s cubic-bezier(0.19, 1, 0.22, 1);
  width: 43px;
  height: 25px;
  display: flex;
  justify-content: center;
  align-items: center;
}

.option_item--orientation {
  width: auto;
  padding: 0 10px;
}

.option_item--position {
  width: 100px;
  padding: 0 10px;
}

.option_item:hover {
  background: #c9c9c9;
  /* pointer-events: none; */
}

.option_item_active {
  background: var(--c-black);
  color:#fff;
}

.option_item_disabled {
  background: var(--c-grey);
  border: none;
  pointer-events: none;
}

.lips-hide-wrapper {
    align-items: center;
    width: 100%;
    display: grid;
    grid-template-columns: 180px 180px;
    justify-content: space-between;
}

/* FORM */
.form__container {
  width: 406px;
  margin-left: auto;
  margin-right: auto;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  padding-bottom: 40px;
  padding-top: 40px;
}

.form__container > .form_close_button {
  margin-right: 0;
  padding: 0;
  position: absolute;
  display: flex;
  justify-content: center;
  align-items: center;
  top: 20px;
  right: 20px;
  width: 30px;
  height: 30px;
  border-radius: 50%;
}

.form__title {
  font-size: 15px;
  margin-bottom: 50px;
}

.input__container {
  /*width: 345px;*/
  display: flex;
  flex-direction: column;
  margin-bottom: 20px;
}

.input__container input {
  height: 42px;
  padding-left: 17px;
  font-size: 16px;
  border-radius: 20px;
  border: 1px solid var(--c-violet);
  background-color: transparent;
  color: var(--txt-grey);
  margin-bottom: 6px;
}

.input__container input:not(:last-child) {
  margin-bottom: 6px;
}

.input__container input::placeholder {
  color: var(--txt-violet);
}

.button--upload {
  font-size: 18px;
  font-weight: 500;
  padding-right: 33px;
  line-height: 1;
}

.button--upload:after {
  content: "";
  position: absolute;
  transform: rotate(180deg);
  background: url(../images/arrow_right_dark.svg) no-repeat;
  width: 8px;
  height: 13px;
  right: 20px;
  top: 0;
  bottom: 0;
  margin: auto;
}

.input_file_container {
  display: flex;
  align-items: center;
  height: 42px;
  padding-left: 17px;
  margin-bottom: 6px;
  font-size: 16px;
  border-radius: 20px;
  border: 1px solid var(--c-violet);
  justify-content: space-between;
}

.input_file_placeholder {
  color: var(--txt-violet);
  opacity: 0.5;
}

.input_file_label,
.input_file_container label {
  position: relative;
  padding: 8px 26px 8px 18px;
  margin-right: 3px;
  margin-left: auto;
  border-radius: 25px;
  white-space: nowrap;
  color:#fff;
  text-transform: uppercase;
  background-color: var(--c-violet);
  cursor: pointer;
  transition: all 0.9s cubic-bezier(0.19, 1, 0.22, 1);
}

.input_file_container label:hover {
  background: #ec008c;
}

.input_file_label:after,
.input_file_container label:after {
  content: "";
  position: absolute;
  transform: rotate(180deg);
  background: url(../images/arrow_right_yellow2.svg) no-repeat;
  width: 7px;
  height: 12px;
  right: 15px;
  top: 0;
  bottom: 0;
  margin: auto;
}

.input_file_container label:hover:after {

}

.input_file_container span {
  position: absolute;
  opacity: 0;
  height: 0;
  width: 0;
  pointer-events: none;
}

.conf_send_wr {
  position: relative;
  display: inline-block;
  background: var(--c-light-green);
  border-radius: 25px;
  overflow: hidden;
  transition: all 0.9s cubic-bezier(0.19, 1, 0.22, 1);
}

.conf_send_wr:hover {
  background: #ec008c;
}

.conf_send {
  color: #fff;
  font-size: 18px;
  text-transform: uppercase;
  background: none;
  padding: 9px 20px;
  padding-right: 40px;
  display: inline-block;
  border: none;
  cursor: pointer;
  position: relative;
}

.conf_send_wr:after {
  content: "";
  position: absolute;
  background: url(../images/arrow_right_yellow2.svg) no-repeat;
  height: 17px;
  width: 18px;
  right: 18px;
  top: 0;
  bottom: 4px;
  margin: auto;
  pointer-events: none;
  transform: rotate(180deg);
  background-size: contain;
}

.configrator_wr form {
  text-align: center;
}
.configrator_wr .wpcf7-response-output{
	color:#000;
}

/* -----------2 phase---------------------------- */
.drain-tools-container {
    padding: 20px 20px 15px 20px;
  margin-bottom: 15px;
  border: 1px solid var(--c-black);
  border-bottom-left-radius: 5px;
  border-bottom-right-radius: 5px;
  border-top-left-radius: 5px;
}
.grate-num-btns-wrap{
    display: flex;
    justify-content: space-between;	
    align-items: flex-start;
}
.grate-num-btns-cont {
  display: flex;
  height: 47px;
}

.grate-num {
  position: relative;
  display: flex;
  padding: 0px 20px;
  margin-left: 5px;
  margin-bottom: -1px;

  font-size: 12px;
  text-transform: uppercase;
  line-height: 1;
  border-top: 1px solid var(--c-black);
  border-right: 1px solid var(--c-black);
  border-left: 1px solid var(--c-black);
  border-bottom: 1px solid #fff;
  border-top-left-radius: 5px;
  border-top-right-radius: 5px;
      align-items: center;
     font-family: "InputSans", sans-serif;
}

.grate-num:hover {
  cursor: pointer;
}

.grate-num-add {
	margin-left: 5px;
    font-size: 14px;
    line-height: 1;
    color: #000;
    border-top-left-radius: 5px;
    border-top-right-radius: 5px;
    border: 1px solid var(--c-black);
    border-bottom: 0;
    width: 47px;
    display: flex;
    justify-content: center;
    align-items: center;
  cursor: pointer;
      transition: all 0.9s cubic-bezier(.19, 1, .22, 1);
}

.grate-num-add:hover {
    background: #c9c9c9;
}

.grate-num > svg {
  fill: #000;
  margin-left: 14px;
  margin-right: -13px;
  margin-top: -2px;
}

.delete-txt {
  display: none;
  color: var(--txt-black);
  position: absolute;
  right: -45px;
  top: 10px;
      z-index: 1;
}

.grate-num > svg:hover {
  fill: #c9c9c9;
}

.grate-num > svg:hover ~ .delete-txt {
  display: block;
}

.backdrop {
  overflow-y: scroll;
  display: none;
  position: fixed;
  top: 0;
  left: 0;
z-index: 200;
  width: 100%;
  height: 100%;
     background-color: rgb(0 0 0 / 80%);
}

.msg-content {
  display: none;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  position: absolute;
  width: 405px;
  height: 175px;
  top: 50%;
  left: 50%;
  border-radius: 5px;
  transform: translate(-50%, -50%);
  border: 1px solid #000;
  background: #fff;
}

.msg-close {
    width: 40px;
    height: 40px;
    border-radius: 4px;
    border: 1px solid #fff;
    z-index: 1;
    cursor: pointer;
    position: absolute;
    display: flex;
    justify-content: center;
    align-items: center;
    left: 100%;
    bottom: 100%;
    background: #000;
    transition: all 0.9s cubic-bezier(.19, 1, .22, 1);
}
.msg-close:hover{
 background: #c9c9c9;	border: 1px solid #000;
	
}

.msg-close > svg {
    width: 44%;
    height: auto;
    transition: all 0.9s cubic-bezier(.19, 1, .22, 1);
    stroke: #fff;
}

.msg-close:hover svg{
	stroke:#000;
}
.msg-text {
  color: var(--txt-black);
  font-size: 20px;
  font-weight: 500;
}

.msg-btns-wrap {
  display: flex;
  margin-top: 20px;
}

.msg-btn {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 125px;
  height: 40px;
  border-radius: 5px;
	border: 1px solid #000;
  cursor: pointer;
      transition: all 0.9s cubic-bezier(.19, 1, .22, 1);
}

.msg-btn-no {
  margin-right: 9px;
  color: var(--c-black);
}

.msg-btn-yes {
  background-color: var(--txt-black);
  color: var(--c-white);
}

.msg-btn-yes > svg {
  fill: var(--c-white);
  margin-left: 7px;
  transform: translateY(-2px);
  transition: all 0.9s cubic-bezier(.19, 1, .22, 1);
}
.msg-btn:hover{
    background: #c9c9c9;	
    color: #000;
}
.msg-btn:hover svg{
	fill:#000;
}
.alert-content {
  display: none;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  position: absolute;
  width: 40%;
  top: 50%;
  left: 50%;
  padding: 30px;
  border-radius: 5px;
  transform: translate(-50%, -50%);
  border: 1px solid #000;
    background: #fff;
    color: #000;
}

.alert-text {
  user-select: none;
  line-height: 1.5;
     text-align: center;
}

.alert-ok {
  display: flex;
  align-items: center;
    border: none;
  justify-content: center;
  margin-top: 20px;
  width: 125px;
  height: 40px;
  border-radius: 5px;
  cursor: pointer;
  background-color: #000;
  user-select: none;
  color:#fff;
  text-align: center;
  transition: all .9s cubic-bezier(.19,1,.22,1);
  border: 1px solid #000;
}
.alert-ok:hover{
	background: #c9c9c9;
	color:#000;
}
.tools_change_btn_wr{
    display: inline-grid;
    grid-gap: 10px;
    grid-template-columns: auto auto auto;
    margin-bottom: 40px;
}
.tools_change_btn{
	font-size: 14px;
	text-transform: uppercase;
	padding: 8.5px 20px;
	border-radius: 5px;
	border: 1px solid #000;
	cursor: pointer;
	  transition: all .9s cubic-bezier(.19,1,.22,1);
}
.tools_change_btn:hover{
	color: #fff;
	background: #000;
}
.tools_change_btn_active{
	color: #fff;
	background: #000;
	pointer-events:none;	
}
@media screen and (max-width: 1023px) {
  .is-btns-shown .title--pos {
    margin-bottom: 5px;
  }

  .title-btns-wrap {
    justify-content: normal;
  }

  .start-screen {
    display: block;
    padding: 40px 10px;
  }

  .type__wrapper {
    display: block;
  }

  .type:not(:last-child) {
    margin-right: 100px;
    margin: 0;
    margin-bottom: 30px;
  }

  .start-screen__title {
    margin-bottom: 33px;
  }

  .type__title {
    font-size: 20px;
    margin-bottom: 11px;
  }

  .main-screen {
    padding: 20px;
  }

  .main__container {
    display: block;
  }

  .buttons__container {
    display: grid;
    grid-template-columns: repeat(2, calc(50% - 5px));
    grid-gap: 10px;
  }

  .lips__type {
    display: block;
    margin-bottom: 25px;
    border-bottom: 1px solid #c9c9ce;
    padding-bottom: 10px;
  }

  .option_wrap {
    left: auto;
    right: 0;
  }

  .button--back {
    font-size: 13px;
  }

  .tools__cont {
    display: block;
  }

  .tools__container {
    margin-bottom: 35px;
    width: auto;
  }

  .button {
    font-size: 12px;
    margin-right: 0 !important;
  }

  .button--long {
    grid-column-start: 1;
    grid-column-end: 3;
  }

  .lips__label {
    margin-left: 0;
  }

  .lips-hide-wrapper {
    width: 100%;
    justify-content: space-between;
  }

  .lips__title_wr {
    margin-bottom: 10px;
  }

  .waste__images {
    display: grid;
    grid-template-columns: auto auto;
    grid-gap: 5px;
    justify-content: initial;
  }

  .waste__img {
    width: auto;
    max-width: 67%;
  }

  .lips-hide-wrapper.not-active {
    overflow: hidden;
    height: 0;
  }

  .form__container {
    width: 90%;
    padding-top: 66px;
  }

  .input__container {
    width: 100%;
  }

  .waste__images_2 {
    width: 100%;
  }

  .canvas__container {
    height: 90vmin;
  }
}
@media screen and (max-width: 768px) {
	.main-screen {padding: 0px;}
	.tools_change_btn {font-size: 13px;padding: 8.5px 7px;}
	.tools__container{margin: 0;}
	.label {font-size: 14px;}
	.label__subtext {margin-left: 6px;font-size: 15px;}
	.input {max-width: 90px;}
	.grate-num-btns-cont {height: 47px;}
	.grate-num {padding: 0px 14px;        white-space: nowrap;}
	.waste__images {grid-template-columns: auto auto auto;}
	.is-btns-shown .pos__subtext{display: inline-block;}
	.is-btns-shown .title--pos {width: 100%;display: block;        margin-right: 0;margin-bottom: 10px;}
	.tool--pos .grate-length-wr{grid-template-columns: auto;justify-content: normal;	}
	.lips__wrapper {margin-top: 10px;margin-bottom: 0;}
	.lips-hide-wrapper{display: grid;grid-template-columns: auto;grid-gap: 10px;justify-content: normal;	}
	.toggle__bgd{margin-right: 0;    width: 90px;}
	.tool .dropdown_title{min-width: 90px;	}
	.lips__type{border:none;        margin: 0;padding: 0;}
	.buttons__container{display: flex;flex-wrap: wrap;}
	.grate-num > svg {margin-left: 7px;margin-right: -9px;}
	.alert-content{width: 90%;	}
	.alert-text {line-height: 1.2;font-size: 15px;}
	
	
	
	
	
	
	
	
	
	
	
	
	
	
}