#content {
  padding-bottom: 0;
}

#d5_bookmark {
  padding: 20px 0 40px;  
  height: 100%;
  min-height: inherit;
  max-width: 1288px;
  margin: 0 auto;
  width: calc(100% - 36px);
}
#d5_bookmark .d3_swiper-block {
  padding: 0;
}

.bookmark-title {
  text-align: start;
  margin-bottom: 24px;
}
.register-container {
  margin-bottom: 24px;
  padding: 24px;
  background: var(--v3-color--background-white);
}

.register-text {
  color: #67676F;
}

.list-block {
  display: flex;
  flex-direction: column;
  gap: 8px;
  background: none;
  margin-bottom: 20px;
}

.list-item-wrapper {
  border-radius: 4px;
  background-color: var(--v3-color--background-white);
  transition: all 0.2s linear;
  padding: 12px 0;
}

.list-item-wrapper:hover,
.list-item-wrapper:hover .listing-item {
  background-color: var(--v3-color--background-main);
}

.list-item-wrapper.color_ {
  background-color: #FDF7E1;
}
.list-item-wrapper.color_:hover,
.list-item-wrapper.color_:hover .listing-item {
  background-color: #FFF1BE;
}

.list-item-wrapper .listing-item {
  padding-left: 0;
  margin: 0 !important;
}
html[data-dir="rtl"] .list-item-wrapper .listing-item {
  padding-left: 12px;
  padding-right: 0;
}
.list-item-wrapper .listing-item .item-link:hover,
.list-item-wrapper .listing-item .item-link:active {
  text-decoration: none;
}

.list-item-wrapper .listing-item .more-photos-container .more-photos .more-photos-image {
  margin-bottom: 0 !important;
}
.list-item-wrapper .listing-item .d3_listing-label-container {
  left: -4px;
}
html[data-dir="rtl"] .list-item-wrapper .listing-item .d3_listing-label-container {
  right: -4px;
  left: auto;
}

.list-item-wrapper .listing-item .d3_top-label-container {
  left: -4px;
}

html[data-dir="rtl"] .list-item-wrapper .listing-item .d3_top-label-container {
  right: -4px;
  left: auto;
}

.listing-item-controls {
  gap: 16px;
  padding: 0 12px 12px;
  position: relative;
}
.v3-c-btn,
.v3-c-input-checkbox {
  transition: all 0.2s linear;
}
html[data-dir="rtl"] .v3-c-btn .material-icons-round {
  padding-inline-end: 0;
  padding-inline-start: 4px;
}

.list-item-wrapper .v3-c-input-checkbox {
  align-self: center;
  padding: 12px;
}
.list-item-wrapper .v3-c-input-checkbox input:not([disabled]):hover + .checkmark {
  color: var(--v3-color--checkbox-label-hover);
}
.list-item-wrapper .v3-c-input-checkbox input:not([disabled]):hover + .checkmark::before {
  border-color: var(--v3-color--checkbox-hover);
}
.list-item-wrapper .v3-c-input-checkbox input + .checkmark {
  display: flex;
  align-items: center;
  -webkit-user-select: none;
  -moz-user-select: none;
  user-select: none;
  font-family: "Source Sans Pro", sans-serif;
  font-weight: 400;
  font-size: 16px;
  line-height: 20px;
  color: var(--v3-color--checkbox-label-default);
  cursor: pointer;
}
.list-item-wrapper .v3-c-input-checkbox input + .checkmark::before {
  content: "";
  display: inline-block;
  width: 20px;
  height: 20px;
  border: 1px solid var(--v3-color--checkbox-default);
  border-radius: 4px;
  background-repeat: no-repeat;
  background-position: center center;
  background-size: 50% 50%;
}
.list-item-wrapper .v3-c-input-checkbox input:not([disabled]):checked + .checkmark {
  color: var(--v3-color--checkbox-label-checked);
}
.list-item-wrapper .v3-c-input-checkbox input:not([disabled]):checked + .checkmark::before {
  border-color: var(--v3-color--checkbox-checked);
  background-color: var(--v3-color--checkbox-checked);
  background-image: url("data:image/svg+xml,%3Csvg width='12' height='9' viewBox='0 0 12 9' fill='none' xmlns='http://www.w3.org/2000/svg'%3E%3Cpath d='M4 6.79988L1.66666 4.46655C1.40666 4.20655 0.99333 4.20655 0.73333 4.46655C0.47333 4.72655 0.47333 5.13988 0.73333 5.39988L3.52666 8.19322C3.78666 8.45322 4.20666 8.45322 4.46666 8.19322L11.5333 1.13322C11.7933 0.873216 11.7933 0.459883 11.5333 0.199883C11.2733 -0.0601172 10.86 -0.0601172 10.6 0.199883L4 6.79988Z' fill='white'/%3E%3C/svg%3E");
}
.list-item-wrapper .v3-c-input-checkbox input:not([disabled]):checked + .checkmark:hover {
  color: var(--v3-color--checkbox-label-checked-hover);
}
.list-item-wrapper .v3-c-input-checkbox input:not([disabled]):checked + .checkmark:hover::before {
  border-color: var(--v3-color--checkbox-checked-hover);
  background-color: var(--v3-color--checkbox-checked-hover);
}
.list-item-wrapper .v3-c-input-checkbox input:disabled + .checkmark {
  color: var(--v3-color--checkbox-label-disbled);
  cursor: default;
}
.list-item-wrapper .v3-c-input-checkbox input:disabled + .checkmark::before {
  border-color: var(--v3-color--checkbox-disabled);
  background-color: var(--v3-color--checkbox-disabled);
}
.list-item-wrapper .v3-c-input-checkbox input:disabled:checked + .checkmark::before {
  background-image: url("data:image/svg+xml,%3Csvg width='12' height='9' viewBox='0 0 12 9' fill='none' xmlns='http://www.w3.org/2000/svg'%3E%3Cpath d='M4 6.79988L1.66666 4.46655C1.40666 4.20655 0.99333 4.20655 0.73333 4.46655C0.47333 4.72655 0.47333 5.13988 0.73333 5.39988L3.52666 8.19322C3.78666 8.45322 4.20666 8.45322 4.46666 8.19322L11.5333 1.13322C11.7933 0.873216 11.7933 0.459883 11.5333 0.199883C11.2733 -0.0601172 10.86 -0.0601172 10.6 0.199883L4 6.79988Z' fill='white'/%3E%3C/svg%3E");
}

.list-item-wrapper .item-auto-status {
  text-align: right;
}
.list-item-wrapper .item-auto-status span {  
  color: var(--v3-color--text-title);
}
.list-item-wrapper .item-auto-status span.color-error {
  color: var(--v3-color--text-error);
}
html[data-dir="rtl"] .list-item-wrapper .item-auto-status {
  text-align: left;
}

.actions-panel-container {
  display: flex;
  align-items: center;
  gap: 16px;
  margin-bottom: 20px;
  justify-content: space-between;
  height: 40px;
  position: relative;
  z-index: 2;
}
.actions-panel-container .select-all-btn {
  padding-inline-start: 12px;
}

.actions-panel-container .sort-by-container {
  display: flex;
  align-items: center;
  gap: 12px;
}

.actions-panel-container .sort-by-title {
  color: #363641  ;
}

.actions-panel-container .perpage-select-container {
  width: 92px;
}

.actions-panel-container [data-custom-select] {
  position: relative;
  z-index: 1;
}

.actions-panel-container [data-custom-select] .select-item span,
.actions-panel-container [data-custom-select] .select-input span
{
  overflow: hidden;
text-overflow: ellipsis;
display: -webkit-box;
-webkit-line-clamp: 1;
-webkit-box-orient: vertical;
}

.actions-panel-container .sort-by-select-container {
  width: 200px;
}

.actions-panel-container [data-custom-select] .select-dropdown-container {
  position: absolute;
  width: 100%;
}


/* Checked item control panel */
.d3_checked-item-control-panel {
  border-radius: 8px;
  padding-top: 12px;
  padding-bottom: 12px;
  padding-inline-start: 12px;
  padding-inline-end: 12px;
  display: none;
  align-items: center;
  background-color: rgba(29, 30, 34, 0.90);
  justify-content: space-between;
  gap: 16px;
  width: 100%;
  position: sticky;
  bottom: 40px;
  z-index: 1;
}

.d3_checked-item-control-panel .check-all-count-control {
  margin-inline-start: 4px;
}

.d3_checked-item-control-panel .btns-container {
  display: flex;
  align-items: center;
  gap: 16px;
}

.v3-c-input-checkbox.inverted-checkbox input:not([disabled]):checked + label::before {
  border-color: #FFFFFF;
  background-color: #FFFFFF;
  background-image: url("data:image/svg+xml,%3Csvg width='12' height='9' viewBox='0 0 12 9' fill='none' xmlns='http://www.w3.org/2000/svg'%3E%3Cpath d='M4 6.79988L1.66666 4.46655C1.40666 4.20655 0.99333 4.20655 0.73333 4.46655C0.47333 4.72655 0.47333 5.13988 0.73333 5.39988L3.52666 8.19322C3.78666 8.45322 4.20666 8.45322 4.46666 8.19322L11.5333 1.13322C11.7933 0.873216 11.7933 0.459883 11.5333 0.199883C11.2733 -0.0601172 10.86 -0.0601172 10.6 0.199883L4 6.79988Z' fill='%23161616'/%3E%3C/svg%3E");
}
.v3-c-input-checkbox.inverted input:not([disabled]):checked + label::before {
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='16' height='16' viewBox='0 0 16 16' fill='none'%3E%3Cg clip-path='url(%23clip0_9309_215638)'%3E%3Cpath fill-rule='evenodd' clip-rule='evenodd' d='M12.6667 8.66683H3.33341C2.96675 8.66683 2.66675 8.36683 2.66675 8.00016C2.66675 7.6335 2.96675 7.3335 3.33341 7.3335H12.6667C13.0334 7.3335 13.3334 7.6335 13.3334 8.00016C13.3334 8.36683 13.0334 8.66683 12.6667 8.66683Z' fill='white'/%3E%3C/g%3E%3Cdefs%3E%3CclipPath id='clip0_9309_215638'%3E%3Crect width='16' height='16' fill='white'/%3E%3C/clipPath%3E%3C/defs%3E%3C/svg%3E");
}

.v3-c-input-checkbox.inverted-checkbox input:not([disabled]):hover + label::before {
  border-color: #FFFFFF;
}

.d3_checked-item-control-panel .inverted-checkbox label {
  color: #FFFFFF !important; 
}


.empty-bookmark-container {
  background: var(--v3-color--background-white);
  gap: 32px;
  height: 100%;
  min-height: inherit;
}
.empty-bookmark-container .empty-bookmark-image {
  width: 120px;
}

.empty-bookmark-container .empty-bookmark-text-container {
  gap: 12px;
}

.empty-bookmark-text-title {
  color: #363641;
}

.empty-bookmark-text-subtitle {
  color: #67676F;
  text-align: center;
}


/* FIX RECENTLY */

.d3_swiper-block .swiper-storage {
  padding: 32px 0 0;
}

@media screen and (max-width:1200px) {
  #d5_bookmark {
    padding: 16px 0 32px;
    width: 100%;
  }

  .bookmark-title {
    padding: 0 32px;
  }
  .empty-bookmark-container {
    gap: 28px;
  }

  .empty-bookmark-container .empty-bookmark-image {
    width: 100px;
  }

  .actions-panel-container .select-all-btn {
    padding-inline-start: 32px;
  }
  .list-item-wrapper {
    padding: 12px 32px;
  }
  .list-item-wrapper .v3-c-input-checkbox {
    padding: 12px 12px 12px 0;
  }

  .d3_swiper-block .swiper-storage {
    padding: 28px 0 0 32px;
  }

  .register-container {
    margin-bottom: 20px;
    padding: 20px 32px;
  }
  .d3_checked-item-control-panel {
    bottom: 0;
    border-radius: 8px 8px 0 0;
    padding: 24px 32px;
  }
}

@media screen and (max-width:768px) {
  #d5_bookmark {
    padding: 12px 0 24px;
  }
  .bookmark-title {
    padding: 0 16px;
  }
  .actions-panel-container .select-all-btn {
    padding-inline-start: 16px;
  }
  .list-item-wrapper {
    padding: 0;
  }
  .list-item-wrapper .listing-item-container {
    flex-direction: column;
  }

  .list-item-wrapper .v3-c-input-checkbox {
    align-self: start;
    padding: 8px 16px;
  }
  .list-item-wrapper .listing-item .d3_listing-label-container {
    left: 8px;
  }

  .empty-bookmark-container {
    gap: 24px;
  }
  .empty-bookmark-container .empty-bookmark-image {
    width: 80px;
  }
  .d3_swiper-block .swiper-storage {
    padding: 24px 0 0 16px;
  }

  .register-container {
    flex-direction: column;
    margin-bottom: 16px;
    padding: 16px;
    gap: 12px;
  }

  .register-container button {
    width: 100%;
  }

  .d3_checked-item-control-panel {
    flex-direction: column;
    align-items: flex-start;
    padding: 16px;

  }
  .d3_checked-item-control-panel .btns-container {
    width: 100%;
  }
  .d3_checked-item-control-panel .btns-container [data-delete-all-bookmark] {
    width: 100%;
  }

  
  
}


