img {
  vertical-align: middle;
}

.header_right-scroll {
  display: flex;
  flex: 1;
  width: 100%;
  overflow-x: scroll;
  height: 100%;
}

.hr {
  border: solid 1px #1d1d1d;
}

.scroll-x {
  width: 100%;
}

::-webkit-scrollbar {
  width: 3px;
  height: 3px;
}

::-webkit-scrollbar-thumb {
  background: #888;
  border-radius: 10px;
}

.flex {
  display: flex;
}

.flex-col {
  flex-direction: column;
}

.overflow-auto {
  overflow: auto;
}

.mt-auto {
  margin-top: auto;
}

.w-full {
  width: 100%;
}

.h-full {
  height: 100%;
}

.items-center {
  align-items: center;
}

.justify-between {
  justify-content: space-between;
}

.mr-10 {
  margin-right: 10px;
}

.mt-10 {
  margin-top: 10px;
}

.mt-12 {
  margin-top: 12px;
}

.mt-18 {
  margin-top: 18px;
}

.mt-15 {
  margin-top: 15px;
}

.mb-15 {
  margin-bottom: 15px;
}

.mb-20 {
  margin-bottom: 20px;
}

.mt-40 {
  margin-top: 40px;
}

.mr-3 {
  margin-right: 3px;
}

.control-btn {
  display: flex;
  justify-content: center;
  align-items: center;
  width: 51px;
  height: 40px;
  border-radius: 3px;
}

.mini-panel {
  min-width: 68px;
  background: #2a2a2a;
}

.mini-panel ul {
  display: flex;
  flex-direction: column;
  align-items: center;
}

.mini-panel ul li a {
  display: block;
  width: 100%;
  padding: 13px 20px;
}

.mini-panel ul li a:hover {
  background: #353535;
}

.mini-panel ul li a.active {
  background: #353535;
}

.mini-panel ul li a.active img {
  filter: brightness(2);
}

.mini-panel ul li a:hover img {
  filter: brightness(2);
}

.content {
  display: flex;
  height: 100%;
}

.medium-panel {
  display: flex;
  flex-direction: column;
  min-width: 250px;
  max-width: 250px;
  background: #2a2a2a;
  margin: 0 0 0 2px;
  transform: translateX(-500px);
  position: absolute;
  left: 68px;
  height: calc(100vh - 65px);
  top: 65px;
  transition: 0.3s;
  z-index: 20;
}

.medium-panel.active {
  position: relative;
  height: calc(100vh - 65px);
  transform: translateX(0);
  left: unset;
  top: unset;
}

.medium-panel__header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 17px 15px;
}

.medium-panel__header-title {
  font-size: 14px;
  line-height: 16px;
  text-transform: uppercase;
  color: #e1e1e1;
  cursor: pointer;
}

.medium-panel__body1 {
  padding: 0 10px;
}

.medium-panel__body2 {
  padding: 0 15px;
}

.front-blocks {
  display: flex;
  flex-wrap: wrap;
}

.front-block__wrapper {
  margin: 0 5px 20px 5px;
}

.front-block__box {
  position: relative;
  width: 105px;
  height: 105px;
  border-radius: 3px;
}

.front-block__box.active {
  border: 1.5px solid #2d8ce4;
}

.front-block__box.active::before {
  content: "";
  position: absolute;
  width: 100%;
  height: 100%;
  background: linear-gradient(
    0deg,
    rgba(45, 140, 228, 0.4),
    rgba(45, 140, 228, 0.4)
  );
  box-shadow: 0px 4px 8px rgba(0, 0, 0, 0.04), 0px 0px 2px rgba(0, 0, 0, 0.06),
    0px 0px 1px rgba(0, 0, 0, 0.04);
}

.front-block__title {
  margin-top: 10px;
  font-size: 14px;
  line-height: 16px;
  display: flex;
  align-items: center;
  color: #e1e1e1;
}

.front-block__box--upload {
  border: 1px dashed #3f3f3f;
  display: flex;
  align-items: center;
  justify-content: center;
}

.front-block__box--upload span {
  max-width: 54px;
  text-align: center;
  text-transform: uppercase;
  color: #4b4b4b;
  font-weight: 500;
  font-size: 14px;
  line-height: 18px;
}

.file-name {
  font-size: 16px;
  line-height: 19px;
  display: flex;
  align-items: center;
  color: #868686;
}

.file-name img {
  margin: 0 0 0 8px;
}

.header_center ul li.active {
  filter: brightness(2);
}

.wrapper_main2 {
  height: calc(100vh - 65px);
}

.work-space {
  width: 100%;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  margin: 0 0 0 2px;
  position: relative;
  overflow: hidden;
}

.edit-file-block2 {
  background: #fff;
  border-radius: 3px;
  object-fit: contain;
  pointer-events: all;
  position: relative;
  margin: auto;
}
.edit-file-block2 img{
  position: absolute;
  left: 0;
  top: 0;
  width: 100%;
  height: 100%;
}
.document-wrapper {  
  height: 100%;  
  overflow: auto;  
  position: relative;
  display: flex;
}
.edit-file-block2 img{
  pointer-events: none;
}
.footer .active {
  color: #e1e1e1;
}

.select-front-name {
  flex: 1;
  font-size: 14px;
  line-height: 16px;
  color: #868686;
}

.footer {
  padding: 10px 15px;
}

.standart_checkbox {
  position: relative;
  display: inline-flex;
  align-items: center;
  cursor: pointer;
  position: relative;
}

.standart_checkbox input {
  opacity: 0;
  width: 0;
  height: 0;
}

.standart_checkbox__check {
  position: relative;
  cursor: pointer;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background: #1d1d1d;
  -webkit-transition: 0.4s;
  transition: 0.4s;
  border-radius: 21px;
  min-width: 36px;
  width: 36px;
  height: 21px;
  /* margin: 0 15px 0 0; */
}

input:checked + .standart_checkbox__check {
  background: #2d8ce4;
}

.standart_checkbox__check:before {
  position: absolute;
  content: "";
  height: 15px;
  width: 15px;
  left: 3px;
  bottom: 3px;
  background: #818181;
  box-shadow: 0px 4px 8px rgb(0 0 0 / 4%), 0px 0px 2px rgb(0 0 0 / 6%),
    0px 0px 1px rgb(0 0 0 / 4%);
  -webkit-transition: 0.4s;
  transition: 0.4s;
  border-radius: 50%;
}

input:checked + .standart_checkbox__check:before {
  background: #ffffff;
  -webkit-transform: translateX(16px);
  -ms-transform: translateX(16px);
  transform: translateX(16px);
}

.footer .grid {
  margin-right: 14px;
  vertical-align: middle;
}


.edit-tools a {
  padding: 15px 16px;
  font-size: 16px;
  line-height: 19px;
  display: flex;
  align-items: center;
  text-transform: capitalize;
  color: #e1e1e1;
}

.edit-tools a img {
  margin-right: 13px;
}

.edit-tools a.notactive {
  color: #818181;
}

.edit-tools li:hover {
  background: #353535;
}

.edit-tools li:hover a {
  color: #e1e1e1;
}

.edit-tools li:hover img {
  filter: brightness(2);
}

.input-group .title {
  display: block;
  margin-bottom: 10px;
  font-weight: 500;
  font-size: 14px;
  line-height: 16px;
  color: #818181;
}

/* select on js */
.select {
  position: relative;
  width: 100%;
  z-index: 1000;
}

.select__trigger {
  display: flex;
  background-color: #2a2a2a;
  border: 1px solid #4f4f4f;
  box-sizing: border-box;
  border-radius: 3px;
  cursor: pointer;
  align-items: center;
  width: 100%;
  font-size: 14px;
  padding: 11px 12px;
  user-select: none;
  justify-content: space-between;
  color: #e1e1e1;
}

.select__trigger::after {
  content: "";
  width: 15px;
  height: 15px;
  background-size: cover;
  background-image: url("../img/chevron-down.svg");
}

.select__trigger:focus {
  outline: none;
}

.select_show .select__trigger::after {
  transform: rotate(180deg);
}

.select__dropdown {
  display: none;
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  max-height: 10rem;
  overflow-y: auto;
  z-index: 10;
  background: #2a2a2a;
  border-radius: 3px;
  border: 1px solid #4f4f4f;
}

.select_show .select__dropdown {
  display: block;
}

.select_show .select__backdrop {
  display: block;
}

.select__items {
  margin: 0;
  padding: 0;
  list-style: none;
}

.select__item {
  padding: 11px 12px;
  font-size: 14px;
}

.select__item_selected {
  background: #353535;
  color: #fff;
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.select__item:hover {
  background: #353535;
  cursor: pointer;
  transition: 0.2s background-color ease-in-out;
  color: #fff;
}

.select__backdrop {
  position: fixed;
  z-index: -1;
  left: 0;
  right: 0;
  top: 0;
  bottom: 0;
  display: none;
  background-color: transparent;
}

/* select on js */

.size2 .size_item {
  margin: 0;
}

.size2 .size_item:not(:last-child) {
  margin: 0 10px 0 0;
}

.size2 .size_item.half {
  width: 105px;
}

.size2 .size_item.third {
  width: 70px;
}


.checkbox-item__title {
  font-weight: 500;
  font-size: 14px;
  line-height: 16px;
}

.checkbox-big .standart_checkbox__check {
  min-width: 46px;
  width: 46px;
  height: 26px;
}

.checkbox-big .standart_checkbox__check:before {
  height: 20px;
  width: 20px;
}

.checkbox-big input:checked + .standart_checkbox__check:before {
  background: #ffffff;
  -webkit-transform: translateX(20px);
  -ms-transform: translateX(20px);
  transform: translateX(20px);
}

.range-input-wrapper .value {
  font-weight: 500;
  font-size: 14px;
  line-height: 16px;
  color: #e1e1e1;
}

.range-input-wrapper .range {
  display: flex;
  align-items: center;
  position: relative;
  width: 100%;
  height: 2px;
  background: #4f4f4f;
  border-radius: 18px;
}

.range-input-wrapper .rage-full {
  width: 50%;
  height: 2px;
  background-color: #2d8ce4;
}

.range-input-wrapper .range__btn {
  position: absolute;
  left: 50%;
  cursor: pointer;
  width: 12px;
  height: 12px;
  background: #2d8ce4;
  border: 2px solid #2a2a2a;
  border-radius: 50%;
}

.started_project_inner-small {
  position: absolute;
  bottom: 60px;
  left: 17px;
}

.started_project_inner-small .started_project_upload {
  width: 60px;
  height: 60px;
  margin: 0 10px 10px 0;
  background-color: #1d1d1d;
}

.started_project_inner-small .dz-message {
  font-size: 12px;
}

.started_project_inner-small .started_project_item .started_project_position {
  margin: 0;
  font-size: 12px;
  z-index: 10;
}

.dropzone-small .dz-preview .dz-remove {
  font-size: 11px;
}

.range-input-wrapper .label-title {
  font-weight: 500;
  font-size: 14px;
  line-height: 16px;
  color: #818181;
}

.project_action .btn.w-full {
  width: 100%;
}

.started_project_upload .dropzone-small .dz-preview .dz-success-mark,
.started_project_upload .dropzone-small .dz-preview .dz-error-mark {
  display: none;
}

.dropzone-small-img {
  width: 60px;
  height: 60px;
  border: 1px solid #3f3f3f;
  border-radius: 3px;
  display: flex;
  justify-content: center;
  align-items: center;
}

.started_project_item.selected .dropzone.dropzone-small,
.started_project_item.selected .dropzone-small-img {
  border: 1px solid #a50b0b;
}

.started_project_item.selected .started_project_position {
  color: #e1e1e1;
}

.started_project_position {
  cursor: pointer;
}

.header_center.open-panel {
  margin-left: 80px;
}
