* {
  margin: 0;
  padding: 0;
}

a,
p,
h1,
h2,
h3,
h4,
h5,
h6,
ol,
ul {
  margin: 0 !important;
  padding: 0;
}

a {
  text-decoration: none;
  color: inherit;
}

li {
  list-style-type: none;
}

.laber_inputs,
.form_title,
.welcome_message {
  font-family: Arial, Helvetica, sans-serif;
}


/* width */
::-webkit-scrollbar {
  width: 4px;
}

/* Track */
::-webkit-scrollbar-track {
  background: #fff;
}

/* Handle */
::-webkit-scrollbar-thumb {
  background: #F2F2F2;
}

/* Handle on hover */
::-webkit-scrollbar-thumb:hover {
  background: #F2F2F2;
}

button,
input {
  outline: none;
}

body {
  background-color: rgba(218, 218, 218, 0.16);
}

.wrapper {
  background-color: rgba(218, 218, 218, 0.16);
  min-height: 100vh;
}

.wrapper_admin {
  height: 100vh;
}

.main_content {
  display: flex;
  flex-direction: column;
  min-height: 100vh;
  align-items: center;
}

.main_content {
  background-color: #fff;
  -webkit-box-shadow: 0px 4px 8px 0px rgba(0, 0, 0, 0.16);
  -moz-box-shadow: 0px 4px 8px 0px rgba(0, 0, 0, 0.16);
  box-shadow: 0px 4px 8px 0px rgba(0, 0, 0, 0.16);
}

.btn-light {
  background-color: #F2F2F2;
  font-weight: 600;
}

.btn-secondary {
  color: black;
  background-color: #E5E5E5;
  border-color: #E5E5E5;
}

.dropdown-menu-dark {
  background-color: #E5E5E5;
}

.dropdown-menu {
  min-width: 0;
}

.dropdown .btn {
  display: flex;
  align-items: center;
  padding: 7px;
}

.navbar {
  border-bottom: 1px solid #ccc;
  padding: 10px 48px;
  width: 100%;
}

.content {
  padding: 10px 48px;
}

.message_wrapper {
  text-align: center;
  width: 100%;
  margin-bottom: 12px;
}

.message_wrapper p {
  color: #727272;
  font-size: 16px;
}

.message_wrapper a {
  color: #1300F0;
}

.selected_images {
  flex: 1;
  display: flex;
  flex-direction: column;
  /* margin: 10px 30px; */
  width: 100%;
  overflow: auto;
  align-self: start;
  min-height: 450px;
  max-height: 600px;

}

.selected_images_content {
  height: 100%;
  flex: 1;
  display: flex;
  flex-wrap: wrap;
  border: 2px dashed #DADADA;
  border-radius: 8px;
  margin: 0px 18px;
  overflow: auto;
}

/* .selected_images_wrapper{} */



.image_item,
.image_result_item {
  width: 100px;
  height: 100px;
  border-radius: 12px;
  background-color: rgba(0, 0, 0, 0.25);
  margin: 12px;
  -webkit-box-shadow: 0px 0px 5px 0px rgba(0, 0, 0, 0.25);
  -moz-box-shadow: 0px 0px 5px 0px rgba(0, 0, 0, 0.25);
  box-shadow: 0px 0px 5px 0px rgba(0, 0, 0, 0.25);
  cursor: pointer;
  position: relative;
  overflow: hidden;
}

.error_info {
  position: absolute;
  top: 8px;
  right: 8px;
  width: 28px;
  height: 28px;
  border-radius: 14px;
  display: none;
  justify-content: center;
  align-items: center;
  background-color: #FF000A;
  color: white;
}

.error_info_table {
  width: 28px !important;
  height: 28px;
  border-radius: 14px;
  display: flex;
  align-items: center;
  background-color: #FF000A;
  color: white;
}

.error_info_table div {
  display: none;
}

.error_info_table i {
  font-size: 10px;
  margin-right: 2px;
}

.error_info i {
  font-size: 14px;
}

.image_item img,
.image_result_item img {
  border-radius: 12px;
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.modal-header,
.modal-footer {
  border: none;
}

.sign_in_modal_title {
  text-align: center;
  color: #343434;
  font-size: 28px;
  margin-bottom: 20px;
}

.modal-content {
  -webkit-box-shadow: 0px 4px 12px 0px rgba(0, 0, 0, 0.12);
  -moz-box-shadow: 0px 4px 12px 0px rgba(0, 0, 0, 0.12);
  box-shadow: 0px 4px 12px 0px rgba(0, 0, 0, 0.12);
  border: none;
}

.sign_in_button {
  background-color: #D8232A;
  border-color: #D8232A;
}

.sign_in_button:hover {
  background-color: #D8232A;
  border-color: #D8232A;
}

.sign_in_button:focus {
  background-color: #D8232A;
  border-color: #D8232A;
}

.continue_button,
.choose_button {
  display: flex;
  justify-content: center;
  align-items: center;
  min-width: 150px;
}

.continue_button i,
.choose_button i {
  margin-left: 12px;
}

.dropdown_category {
  margin: 0 10px;
  width: none;
}

.select_wrapper {
  margin: 10px 0 18px 0;
}

.validation_message,
.validation_message_empty {
  display: none;
  justify-content: center;
  align-items: center;
  color: #D8232A;
  margin-bottom: 10px;
}

.validation_message i,
.validation_message_empty i {
  margin-right: 10px;
}


.message_sign_in {
  display: flex;
  justify-content: center;
  align-items: center;
  color: #4200FF;
  margin-bottom: 20px;
}

.admin_nav_bar .log_out_admin {
  margin: 0 10px;
}

.log_out {
  display: none;
  align-items: center;
  white-space: nowrap;
}

.sign_in {
  white-space: nowrap;
}

.log_out i {
  margin-left: 6px;
}

.admin_main {
  margin-top: 26px;
  display: flex;
  justify-content: space-between;
  /* height: 70%; */
}

.admin_main .nav-pills .nav-link.active,
.nav-pills .show>.nav-link {
  background-color: #F2F2F2;
  color: #000;
}

.nav-link {
  cursor: pointer;
}

.admin_main .nav-link {
  color: #000;
  margin: 10px 0;
}

.users_content {
  padding-left: 24px;
  overflow: auto;
}

.users_header .input-group {
  width: none;
}

.table {
  margin-top: 48px;
  background-color: transparent;
  --bs-table-active-bg: transparent;
}

.table thead {
  color: red;
}

.table tbody {
  border-style: none;
}

.table table {
  border-collapse: none;

}

.table>:not(:first-child) {
  border: none;
}

.table table td,
.table table th {
  border: none;
}

.admin_footer_buttons .add_new_user i {
  margin: 0 4px;
}

.admin_footer_buttons .add_new_user {
  color: #DADADA;
  border-color: #DADADA;
  color: black;
}

.message_actions {
  color: #399EE8;
}

.message_actions p {
  display: none;
}

.admin_footer {
  padding-bottom: 24px;
}

.table_actions {
  display: flex;
  justify-content: flex-end;
}

.table_actions button {
  background-color: transparent;
  border-color: transparent;
}

.display_none {
  display: none;
}

tbody tr {
  /* background-color: rgba(218, 218, 218, 0.16); */
  background-color: transparent;
  border-bottom: 0px solid transparent;
  border-style: hidden;
}

.table>:not(caption)>*>* {
  border-bottom: 0px solid transparent;
}

.table_tr_even {
  background-color: #F2F2F2;
}


.download_button_wrapper {
  margin: 12px 0;
  display: flex;
  flex-direction: column;
  align-items: flex-start;
}

.net_button,
.delete_button {
  margin: 12px 0;
  color: #343434;
  text-decoration: none;
  font-weight: bold;
}

.modal_preview label {
  margin: 4px 0;
}

.preview_image_ready_body {
  display: flex;
  justify-content: space-between;
  align-items: flex-start;
}

.modal_preview .modal-dialog {
  max-width: 922px;
}

.preview_image_ready_body {
  width: 100%;
}

.selected_admin_language img {
  width: 32px;
}

.selected_language,
.languages_list img {
  width: 32px;
}

.preview_left,
.preview_right {
  width: 50%;
  display: flex;
  justify-content: center;
}

.preview_left img {
  width: 100%;
}

.preview_right {
  flex-direction: column;
  align-items: flex-start;
  padding: 24px;
}

.preview_left {
  position: relative;
  overflow: hidden;
}

.mask_wrapper {
  width: 50%;
}


.images_pagination {
  display: flex;
  align-items: center;
  justify-content: center;
}

#file_input {
  display: none;
}

.continue_select_button i {
  margin-left: 12px;
}

.images_pagination .preview_items_count {
  margin: 0px 6px;
}

.maskHoleComponent,
.maskMeatComponent {
  display: flex;
  justify-content: center;
  align-items: center;
}

.mask_item {
  display: flex;
  justify-content: center;
  align-items: center;
  /* font-size: 18px; */
  font-size: 0.7vw;
  font-weight: 500;
  color: #000000;
}

.callapse_settings_button,
.callapse_grid_button {
  width: 100%;
  display: flex;
  justify-content: space-between;
  margin: 12px 0;
  background-color: #F2F2F2;
  border-radius: 6px;
  padding: 12px;
  cursor: pointer;
}

#collapse_grid {
  background-color: #F2F2F2;
}

#collapse_grid .card {
  background-color: #F2F2F2;
  /* border-bottom-right-radius: 6px 6px;
  border-bottom-left-radius: 6px 6px; */
  border: none;
}

#collapse_grid .card-body {
  padding: 0 1rem;
}

.grid_size_title {
  margin-bottom: 12px;
}

.callapse_grid_button {
  margin: 12px 0 0 0;
  /* border-top-left-radius: 6px 6px;
  border-top-right-radius: 6px 6px;
  border-bottom-right-radius: 0;
  border-bottom-left-radius: 0; */
}

.callapse_settings_button p,
.callapse_grid_button p {
  font-weight: 600;
}

.settings_wrapper,
.settings_grid {
  width: 100%;
}

.edition_language_selector_wrapper {
  position: relative;
  display: flex;
  justify-content: flex-end;
  z-index: 999;
}

.edition_selected_language {
  position: absolute;
  top: 4px;
  right: 40px;
}

.edition_selected_language img {
  width: 32px;
}

.select_images_screen {
  display: none;
}

.select_images_wrapper {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  border: 2px dashed #D8232A;
  margin: 26px;
  padding: 24px;
  text-align: center;
  border-radius: 8px;
}

.select_dragover {
  background-color: rgba(216, 35, 42, 0.1);
}

.downolad_file_image {
  margin-top: 48px;
}

.select_images_wrapper h2 {
  color: #343434;
}

.select_images_wrapper h3 {
  color: #343434;
}

.first_screen_wrapper {
  display: flex;
  flex-direction: column;
  width: 100%;
}

.first_screen_bottom {
  display: flex;
  flex-direction: column;
  justify-content: flex-end;
  align-items: flex-end;
}

.first_screen_bottom button {
  margin-right: 24px;
  margin-bottom: 24px;
}

.select_files_button {
  margin-top: 48px;
  margin-bottom: 24px;
}

.select_images_wrapper p {
  color: #727272;
}

.images_result_wrapper {
  display: none;
  flex-direction: column;
  width: 100%;
  height: 100%;
  padding: 24px 48px;
}

.images_results_wrapper {
  height: 100%;
  flex: 1;
  display: flex;
  flex-wrap: wrap;
  align-content: flex-start;
  border-radius: 8px;
  margin: 18px 0;
  overflow: auto;
}


.image_error_item {
  display: flex;
  justify-content: center;
  flex-direction: column;
  align-items: center;
  position: relative;
  width: 100px;
  height: 100px;
  border-radius: 12px;
  background-color: rgba(0, 0, 0, 0.25);
  margin: 12px;
  -webkit-box-shadow: 0px 0px 5px 0px rgb(0 0 0 / 25%);
  -moz-box-shadow: 0px 0px 5px 0px rgba(0, 0, 0, 0.25);
  box-shadow: 0px 0px 5px 0px rgb(0 0 0 / 25%);
  cursor: pointer;
  position: relative;
  background: linear-gradient(180deg, #F36666 0%, #D8383E 100%);
}

.image_error_item_remove {
  position: absolute;
  top: 6px;
  right: 12px;
  color: #fff;
}

.image_name_error {
  width: 80px;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
  margin-top: 4px !important;

}

.image_preview_name {
  width: 100%;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
  margin-bottom: 12px;
}

.image_error_item p {
  color: #fff;
  background: rgba(255, 255, 255, 0.3);
  padding: 2px 4px;
  border-radius: 3px;
  font-weight: 600;
  font-size: 14px;
}

/*edition language dropdown*/
.dropdown_edition_language {
  position: relative;
  display: inline-block;
}

.dropdown_edition_language-content {
  display: none;
  position: absolute;
  right: 25px;
  background-color: #f9f9f9;
  width: 70px;
  box-shadow: 0px 8px 16px 0px rgba(0, 0, 0, 0.2);
  padding: 12px 16px;
  z-index: 1;
}

.dropdown_edition_language:hover .dropdown_edition_language-content {
  display: block;
}

.dropdown_edition_language-content li {
  margin-top: 3px;
}

.dropdown_edition_language-content li img {
  width: 32px;
}

.dropdown_edition_language span {
  display: flex;
  align-items: center;
  justify-content: space-between;
  background-color: #fff;
  border: 1px solid #DADADA;
  border-radius: 4px;
  padding: 12px 26px 12px 12px;
}

.dropdown_edition_language i {
  margin-left: 12px;
}

.selected_edition_language_flag {
  width: 32px;
  margin-left: 12px;
}

/*edition language dropdown end*/

/* ignore onClose modal when click outside */
/* .modal {
  pointer-events: none;
}

.modal-dialog {
  pointer-events: all;
} */

/*  test mask result */
.content_test {
  position: relative;
  width: 50%;
}

.content_test img {
  width: 100%;
}


.wrapper_test {
  display: flex;
  justify-content: flex-start;
}

.modal_cropper .modal-body {
  width: 100%;
}

.modal_cropper .modal-body img {
  width: 50%;
}

.modal_preview .modal-body {
  padding: 0px;
}

.settings_meat_color_selector,
.settings_hole_color_selector {
  position: relative;
  margin: 12px 0;
}

.editGroupModal_title {
  padding-bottom: 24px;
}

.meat_selected_color,
.hole_selected_color {
  position: absolute;
  width: 16px;
  height: 16px;
  background-color: red;
  border-radius: 8px;
  top: 8px;
  left: 12px;
}

.form-select-sm {
  padding-left: 2.5rem;
}

.range_wrapper {
  display: flex;
  flex-direction: column;
  margin: 20px 0;
}

.view_mode_message {
  margin-bottom: 6px;
}

.range_wrapper input {
  background: linear-gradient(to right, #D8232A 0%, #D8232A 50%, #F2F2F2 50%, #F2F2F2 100%);
  border-radius: 8px;
  height: 7px;
  width: 100%;
  outline: none;
  transition: background 450ms ease-in;
  -webkit-appearance: none;
}

input[type=range]::-webkit-slider-thumb {
  box-shadow: 0.5px 0.5px 2px #000000;
  height: 16px;
  width: 16px;
  border-radius: 8px;
  background: #fff;
  cursor: pointer;
  -webkit-appearance: none;
}

/* grid_size_range */
#grid_size_range {
  background: linear-gradient(to right, #D8232A 0%, #D8232A 15%, #000 15%, #000 100%);
  border-radius: 8px;
  height: 7px;
  width: 100%;
  outline: none;
  transition: background 450ms ease-in;
  -webkit-appearance: none;
}

/* grid_size_range end */

.range_hole_message,
.range_meat_message {
  display: flex;
  justify-content: space-between;
}

.grid_wrapper {
  overflow: hidden;
  display: flex;
  position: absolute;
}


.gridItem {
  width: 14px;
  height: 14px;
  border: 1px solid rgba(0, 0, 0, 0.3);
  background-color: transparent;
}

.modal_divider {
  width: 100%;
  height: 1px;
  background-color: #DADADA;
  margin: 12px 0;
}

.view_mode_wrapper {
  width: 60%;
  display: flex;
  justify-content: space-between;
  padding: 4px;
  background-color: #F2F2F2;
  border-radius: 6px;
}

.view_mode_wrapper button {
  width: 50%;
  border: none;
  outline: none;
}

.view_mode_active {
  background-color: #fff;
}

.view_model_table_wrapper {
  width: 100%;
  border: 1px solid #F2F2F2;
  border-radius: 6px;
  display: flex;
  flex-wrap: wrap;
}

.table_item {
  width: 16.67%;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  border: 1px solid #F2F2F2;
}

.table_item div {
  padding: 12px;
  width: 100%;
  text-align: center;
}

.table_item_index {
  background-color: #F2F2F2;
  font-weight: 600;
}

.table_item_value {
  display: flex;
  justify-content: center;
  align-items: center;
  background-color: #fff;
  font-weight: 700;
}

.persent_value {
  font-size: 20px;
  font-weight: 600;
  margin: 12px 0;
}

.persent_value span {
  color: red;
}

.button_text {
  padding-left: 8px;
}

.download_images_colection,
.download_button {
  display: flex;
  justify-content: flex-start;
  align-items: center;
  white-space: nowrap;
}

.button_loading {
  display: none;
}

.sign_in_admin-content {
  background-color: #fff;
  border-radius: 24px;
  padding: 48px;
}

.users_header>div {
  margin-bottom: 24px;
}

.sign_in_sign_in_admin_title {
  font-size: 24px;
}

.message_right {
  text-align: end;
}

.percent_element {
  display: none;
  border-radius: 25px;
  padding: 7px;
  position: absolute;
  background-color: white;
}


/*
loading stles
*/
.loader {
  width: 100%;
  margin: 0 auto;
  border-radius: 25px;
  height: 15px;
  position: relative;
  background-color: #F2F2F2;
}

.loader:before {
  content: '';
  border-radius: 25px;
  position: absolute;
}

.loader .loaderBar {
  position: absolute;
  border-radius: 25px;
  top: 0;
  right: 100%;
  bottom: 0;
  left: 0;
  height: 15px;
  background: #D8232A;
  width: 0;
  animation: borealisBar 2s linear infinite;
}

.modal_loading .modal-content {
  padding: 25px;
}

.modal_loading .modal-title,
.modal_loading .modal-body {
  width: 100%;
  text-align: center;
}

.addGroupModal i {
  padding: 0 8px;
}

.active_saved_text {
  display: block;
}

.active_settings_arrow {
  transform: rotate(180deg);
}

.sign_in_wrapper {
  width: 100%;
  height: 100vh;
  display: flex;
  justify-content: center;
  align-items: center;
}

.sign_in_admin-content {
  width: 50%;
}

.empty_result {
  width: 100%;
  display: none;
  justify-content: center;
}

.average_percentage_wrapper {
  display: none;
  background-color: rgba(255, 255, 255, 0.8);
  padding: 16px;
  text-align: start;
}

@keyframes borealisBar {
  0% {
    left: 0%;
    right: 100%;
    width: 0%;
  }

  10% {
    left: 0%;
    right: 75%;
    width: 25%;
  }

  90% {
    right: 0%;
    left: 75%;
    width: 25%;
  }

  100% {
    left: 100%;
    right: 0%;
    width: 0%;
  }
}

/*loading stayle end*/

/*  test mask result end*/

@media screen and (max-width: 992px) {
  .admin_main {
    display: flex;
    flex-direction: column;
  }


  .first_screen_bottom {
    padding: 0 24px;
  }

  .first_screen_bottom button {
    width: 100%;
    margin: 0;
    margin-bottom: 24px;

  }

  .admin_footer {
    display: flex;
    flex-direction: column;
  }

  .navbar .container {
    display: flex;
    flex-direction: column;
    align-items: center;
  }

  .navigation_admin {
    width: 100%;
  }

  .users_content {
    width: 100%;
    padding: 0;
    margin: 24px 0;
  }

  .admin_footer_buttons {
    width: 100%;
  }

  .preview_image_ready_body {
    flex-direction: column;
    align-items: center;
  }

  .preview_left,
  .preview_right {
    width: 100%;

  }

  .nav_bar_actions {
    justify-content: center !important;
  }

  .main_header {
    display: flex;
    flex-direction: column;
    align-items: flex-start;
  }

  .select_wrapper {
    flex-direction: column;
    align-items: flex-start !important;
  }

  .select_wrapper>* {
    margin: 6px 0;
  }

  .continue_button,
  .choose_button,
  .dropdown_category {
    width: 100%;
  }

  .id_user_from {
    width: 100% !important;
  }

  .mask_item {
    font-size: 2.8vw;
  }
}

@media screen and (max-width: 576px) {
  .language_edition_wrapper {
    flex-direction: column;
  }

  .language_edition_wrapper h3 {
    margin: 12px !important;
  }

  .edition_language_selector_wrapper {
    width: 100%;
  }

  .sign_in_admin-content {
    width: 80%;
  }

  .view_mode_wrapper {
    width: 100%;
  }
}


/* preloader */
#preloader {
  overflow: hidden;
  background-color: #2a2a2a;
  left: 0;
  right: 0;
  top: 0;
  bottom: 0;
  position: fixed;
  z-index: 99999;
  color: #fff;
}

#preloader .jumper {
  left: 0;
  top: 0;
  right: 0;
  bottom: 0;
  display: block;
  position: absolute;
  margin: auto;
  width: 50px;
  height: 50px;
}

#preloader .jumper>div {
  background-color: #fff;
  width: 10px;
  height: 10px;
  border-radius: 100%;
  -webkit-animation-fill-mode: both;
  animation-fill-mode: both;
  position: absolute;
  opacity: 0;
  width: 50px;
  height: 50px;
  -webkit-animation: jumper 1s 0s linear infinite;
  animation: jumper 1s 0s linear infinite;
}

#preloader .jumper>div:nth-child(2) {
  -webkit-animation-delay: 0.33333s;
  animation-delay: 0.33333s;
}

#preloader .jumper>div:nth-child(3) {
  -webkit-animation-delay: 0.66666s;
  animation-delay: 0.66666s;
}

@-webkit-keyframes jumper {
  0% {
    opacity: 0;
    -webkit-transform: scale(0);
    transform: scale(0);
  }

  5% {
    opacity: 1;
  }

  100% {
    -webkit-transform: scale(1);
    transform: scale(1);
    opacity: 0;
  }
}

@keyframes jumper {
  0% {
    opacity: 0;
    -webkit-transform: scale(0);
    transform: scale(0);
  }

  5% {
    opacity: 1;
  }

  100% {
    opacity: 0;
  }
}