@import url('https://fonts.googleapis.com/css2?family=Roboto:wght@300;400;500;700&display=swap');

* {
  box-sizing: border-box;
}

body {
  padding-top: 73px;
}

html,
body {
  margin: 0;
  height: 100%;
  font-family: 'Roboto', sans-serif;
  background: #ffffff;
}


/*Header*/
.header__container {
  -webkit-box-shadow: 0px 0px 21px 0px rgb(190 200 223 / 31%);
  -moz-box-shadow: 0px 0px 21px 0px rgba(190, 200, 223, 0.31);
  box-shadow: 0px 0px 21px 0px rgb(190 200 223 / 31%);
  background: #fff;
  height: auto;
  display: flex;
  justify-content: space-between;
  align-items: start;
  overflow: hidden;
  min-height: 73px;
  margin-bottom: 5px;
  position: fixed;
  top: 0;
  width: 100%;
  z-index: 10;
}

.header__wrap {
  display: flex;
  margin-left: 20px;
  width: 100%;
}

.header__logo {
  margin-right: 80px;
  display: flex;
  align-items: start;
  cursor: pointer;
  padding-top: 27px;
  margin-left: 15px;
}

.header__search {
  width: 100%;
  padding-right: 50px;
  padding-top: 10px;
  padding-bottom: 10px;
  margin-top: 3px;
}

.header__icons {
  display: flex;
  padding-right: 40px;
  align-items: center;
  padding-top: 23px;
}

.header__msg {
  cursor: pointer;
}

.header__flag {
  cursor: pointer;
  margin-left: 30px;
}

.header__admin {
  background: #F07F7C;
  border-radius: 90px;
  height: 32px;
  width: 32px;
  display: flex;
  align-items: center;
  cursor: pointer;
  justify-content: center;
  margin-left: 30px;
}

.header__msg span {
  color: #DCDCDC;
  font-size: 20px;
}

.header__flag span {
  color: #DCDCDC;
  font-size: 20px;
}

.header__admin span {
  font-size: 20px;
  color: #363636;
}

/*header search*/
.search_div {
  align-items: center;
  display: flex;
  height: auto;
  z-index: 3;
  background: #fff;
  border: 1px solid transparent;
  box-shadow: 0 2px 5px 1px rgb(64 60 67 / 16%);
  border-radius: 24px;
  max-width: 590px;
  padding-right: 18px;
  justify-content: end;
  width: 100%;
  position: relative;
  overflow: hidden;
  min-height: 44px;
}

.search_div:hover {
  background-color: #fff;
  box-shadow: 0 2px 8px 1px rgb(64 60 67 / 24%);
  border-color: rgba(223, 225, 229, 0);
}

.search_div i {
  position: absolute;
  color: #DCDDE0;
  font-size: 22px;
}

#txt_search_slide2,
.body__search__textarea {
  width: 100%;
  height: 100%;
  background-color: transparent;
  border: none;
  font-size: 18px;
  padding: 8px 0px 8px 32px;
  outline: none;
  padding-right: 90px;
}

.search_div .search__icon {
  position: absolute;
  color: #4285f4;
  font-size: 22px;
  cursor: pointer;
}

.search_div .close__icon {
  position: absolute;
  color: #b8babd;
  font-size: 24px;
  right: 73px;
  cursor: pointer;
  background: white;
}


/*Image Gallery Page*/

.image__gallery__content {
  display: flex;
  height: 100%;
}

.image__gallery__filter {
  min-width: 280px;
  padding: 30px;
  padding-right: 5px;
  position: fixed;
  z-index: 1;
  height: 100%;
  overflow-y: auto;
  top: 0;
  padding-top: 103px;
  scrollbar-width: thin;
  background: white;
}

.image__gallery__grid {
  display: flex;
  width: 100%;
  align-content: flex-start;
  padding: 30px;
  gap: 20px;
  height: 100%;
  flex-wrap: wrap;
  padding-left: 310px;
  overflow-y: scroll;
  scrollbar-width: thin;
}

.image__gallery__box {
  min-width: 250px;
  max-width: 300px;
  display: flex;
  position: relative;
  height: 180px;
  border-radius: 5px;
  overflow: hidden;
  justify-content: center;
  align-items: center;
  cursor:
    pointer;
}

.image__gallery__box:hover {
  opacity: 0.9;
}

.gallery__image__overlay {
  position: absolute;
  bottom: 10px;
  background: #f0f6f9c2;
  border-radius: 4px;
  font-size: 11px;
  padding: 3px;
  color: #525252;
  left: 10px;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-items: center;
}

.gallery__image__overlay:hover {

  background: #f0f6f9;
}

.image__gallery__box img {


  min-height: -webkit-fill-available;
  min-width: -webkit-fill-available;
  min-width: -moz-available;
  min-height: -moz-available;
}

.image__gallery__dropdown {
  background: #eeeff3;
  border-radius: 5px;
  margin-bottom: 10px;
  height: 35px;
  display: flex;
  align-items: center;
  font-size: 12px;
  padding-left: 10px;
  cursor: pointer;
  color: #4c5466;
  background-image:
    url(../assets/plus.svg);
  background-repeat: no-repeat;
  background-position: right 10px center;
  background-size: 17px;
  font-weight: bold;
}

.image__gallery__dropdown__fixed {
  background: #eeeff3;
  border-radius: 5px;
  margin-bottom: 10px;
  height: 35px;
  display: flex;
  align-items: center;
  font-size: 12px;
  padding-left: 10px;
  cursor: pointer;
  color: #4c5466;
  background-repeat: no-repeat;
  background-position: right 10px center;
  background-size: 17px;
  font-weight: bold;
  padding: 5px 10px;
}

.image__gallery__filter__title {
  font-size: 30px;
  margin-bottom: 10px;
}

.type__dropdown {
  background: #eeeff3;
  margin-bottom: 10px;
  border-radius: 0px 0px 5px 5px;
  height: 0px;
  overflow: hidden;
  margin-top: -10px;
  transition: height 2s;
}


.dropdown__open {
  height: auto;
  padding-top: 5px;
  background: #eeeff3;
  border-radius: 0px 0px 5px 5px;
}

.dropdown__show {
  border-radius: 5px 5px 0px 0px;
  background-image: url(../assets/minus.svg);
}


.image__gallery__dropdown:hover {
  background-color: #dbdde9bd;
}

.dropdown__option__wrap {
  display: flex;
  align-items: center;
  padding: 0 10px 10px 10px;
  cursor: pointer;
  position: relative;
}

.dropdown__check {
  height: 8px;
  width: 8px;
  background: transparent;
  margin-right: 8px;
  border-radius: 90px;
  border: 1px solid #808099;
}

.dropdown__option {
  font-size: 13px;
  color: #6b6c7e;
}

.checkbox__select {
  height: 100%;
  width: 100%;
  position: absolute;
  left: 0;
}

.checkbox__wrap {
  display: flex;
  align-items: center;
}


.checked .dropdown__check {
  background: #5583fb;
  border: none;
}

.checked .dropdown__option {
  color: #5583fb;
}

.gallery__image__overlay span {
  font-size: 16px;
}

.image__gallery__sub__menu {
  display: flex;
  width: 100%;
  justify-content: space-between;
  align-items: center;
}

.image__gallery__sub__filter {
  display: flex;
  align-items: center;
}

.image__gallery__sub__filter select {
  border: none;
  outline: none;
  background: #eeeff3;
  height: 32px;
  border-radius: 5px;
  margin-right: 15px;
  min-width: 150px;
  padding: 0 10px;
  font-weight: bold;
  font-size: 12px;
  color: #4e5668;
  cursor: pointer;
}

.image__colors__select {
  background: #eeeff3;
  border-radius: 5px;
  display: flex;
  gap: 3px;
  height: 33px;
  align-items: center;
  padding: 0 8px;
}

.image__color__box__blue {
  height: 16px;
  width: 16px;
  background: #4d95dd;
  border-radius: 3px;
  cursor: pointer;
}

.image__color__box__pink {
  height: 16px;
  width: 16px;
  background: #d53e9d;
  border-radius: 3px;
  cursor: pointer;
}

.image__color__box__navy {
  height: 16px;
  width: 16px;
  background: #2c517e;
  border-radius: 3px;
  cursor: pointer;
}

.grid__layout__wrap {
  display: flex;
  align-items: center;
  gap: 10px;
}

.grid__layout__wrap .active {
  opacity: 1;
  background: #eaebf1;
}

.grid__layout__style span {
  font-size: 20px;
  color: #4160b3;
}

.grid__layout__style {
  display: flex;
  align-items: center;
  height: 32px;
  background: #eeeff3;
  border-radius: 5px;
  width: 32px;
  justify-content: center;
  cursor: pointer;
  opacity: 0.7;
}

.image__gallery__tag:hover,
.grid__layout__style:hover,
.image__gallery__sub__filter select:hover,
.image__colors__select div:hover {
  opacity: 0.5;
}

.image__gallery__tag__wrap {
  width: 100%;
  display: flex;
}

.image__gallery__tag {
  background: #5583fb;
  padding: 5px 10px;
  margin-right: 10px;
  border-radius: 5px;
  font-size: 13px;
  color: #ffffff;
  cursor: pointer;
}

.slide__out__content {
  width: 80%;
  background: white;
  box-shadow: -14px 0px 37px 0px rgba(0, 0, 0, 0.08);
  -webkit-box-shadow: -14px 0px 37px 0px rgba(0, 0, 0, 0.08);
  -moz-box-shadow: -14px 0px 37px 0px rgba(0, 0, 0, 0.08);
  display: flex;
  pointer-events: all;
  flex-direction: column;
  overflow-y: auto;
  height: 100%;
}

/*scrollbar style*/
::-webkit-scrollbar-track {
  border-radius: 10px;
  background-color: transparent;
}

::-webkit-scrollbar {
  width: 6px;
  background-color: transparent;
}

::-webkit-scrollbar-thumb {
  border-radius: 10px;
  background-color: #c1c2d9;
}

:root {
  scrollbar-color: #c1c2d9 #e5e5e5 !important;
  scrollbar-width: thin !important;
}

/*slide out layer CSS*/
.show {
  transform: translateX(0) !important;
  display: flex !important;
}

#slide__out__hide {
  width: 100%;
  background: #00000042;
  position: fixed;
  top: 0;
  left: 0;
  height: 100%;
  z-index: 5;
  display: none;
}

#slide__out__panel {
  position: fixed;
  height: 100%;
  right: 0;
  display: flex;
  transform: translateX(100%);
  transition: transform 0.3s ease-in-out;
  width: 100%;
  z-index: 6;
  justify-content: end;
  pointer-events: none;
  top: 0;
  padding-top: 73px;
}

.show {
  transform: translateX(0) !important;
  display: flex !important;
}

/*related image section*/

.slide__out__content__row {
  display: flex;
  width: 100%;
  padding: 30px;
}

.related__images__section {
  background: #f0f1f7;
  padding: 30px;
}

.section__title {
  font-size: 20px;
  margin-bottom: 20px;
}

.related__images__wrap {
  display: flex;
  flex-direction: column;
}

.related__images__row {
  display: flex;
  width: 100%;
  gap: 12px;
  flex-direction: row;
  margin-bottom: 10px;
}

.related__images__colmun {
  display: flex;
  width: 100%;
  max-height: 180px;
  justify-content: center;
  align-items: center;
  overflow: hidden;
  border-radius: 5px;
  cursor: pointer;
}

.related__images__colmun img {
  min-width: 250%;
  min-height: 100%;
}

/*larger image view panel*/

.image__larger__view__container {
  width: 100%;
  overflow: hidden;
}

.image__larger__view {
  overflow: hidden;
  display: flex;
  justify-content: center;
  align-items: center;
  max-height: 90%;
  border-radius: 5px;
  min-width: 500px;
}

.image__larger__view img {
  min-width: -webkit-fill-available;
}

.image__larger__view__menu {
  display: flex;
  justify-content: space-between;
  align-items: center;
  flex-wrap: wrap;
}

.image__larger__view__tags {
  display: flex;
  gap: 5px;
  align-items: center;
  margin-top: 10px;
}

.image__larger__view__buttons {
  display: flex;
  align-items: center;
  margin-top: 10px;
}

.image__like__button {
  display: flex;
  align-items: center;
  background: #eeeff3;
  border-radius: 3px;
  height: 30px;
  min-width: 30px;
  justify-content: center;
  margin-right: 10px;
  cursor: pointer;
}

.image__like__button span {
  font-size: 17px;
  color: #30374c;
}

.image__add__to__collection {
  display: flex;
  align-items: center;
  background: #eeeff3;
  border-radius: 3px;
  height: 30px;
  justify-content: center;
  padding: 0 10px;
  font-size: 13px;
  cursor: pointer;
  white-space: nowrap;
}

.image__add__to__collection span {
  font-size: 17px;
  margin-right: 5px;
  color: #30374c;
}

.image__like__button:hover {
  opacity: 0.5;
}

.image__add__to__collection:hover {
  opacity: 0.5;
}

.larger__image__side__details {
  min-width: 200px;
  padding-left: 20px;
  padding-top: 33px;
}

.large__image__details__wrap {
  background: #efeff5;
  border-radius: 5px;
  padding: 20px;
}

.image__larger__view__tags div {
  background: #1ba5e0;
  border-radius: 5px;
  font-size: 12px;
  padding: 5px;
  color: white;
  cursor: pointer;
}

.larger__image__title {
  font-size: 22px;
  margin-bottom: 10px;
  color: #2f3448;
}

.image__info__title {
  display: flex;
  align-items: center;
  font-size: 18px;
}

.image__info__title span {
  margin-right: 5px;
  font-size: 17px;
}

.image__publish__block {
  font-size: 11px;
  padding: 15px 0;
  color: #36495a;
  font-weight: bold;
}

.image__details__wrap {
  font-size: 12px;
  margin-bottom: 14px;
}

.image__details__wrap div:first-child {
  color: #a1a3ab;
}

.image__details__wrap div:last-child {
  margin-top: 2px;
  color: #363b4a;
  font-weight: bold;
}

.colors__bar {
  height: 23px;
  width: 100%;
  border-radius: 7px;
  display: flex;
  overflow: hidden;
  margin-bottom: 10px;
  margin-top: 10px;
}

.colors__bar div {
  height: 100%;
  width: 100%;
  cursor: pointer;
}

.colors__bar div:hover {
  opacity: 0.5;
}

.color__navy {
  background-color: #03060b;
}

.color__pink {
  background-color: #de27ec;
}

.color__grey {
  background-color: #082082;
}

.color__red {
  background-color: #edb23b;
}

.color__blue {
  background-color: #b6fb6a;
}

.image__status__wrap {}

.image__status__wrap div:first-child {
  font-weight: bold;
  font-size: 14px;
  color: #363b4a;
  margin-bottom: 1px;
}

.image__status__wrap div:last-child {
  font-size: 12px;
  color: #a1a3ab;
}

.image__status__wrap div span {
  opacity: 0.9;
  font-weight: normal;
}

/*color picker and tags*/

.color__picker {
  display: flex;
  flex-direction: row;
  width: 100%;
  margin-bottom: 10px;
}

.color__picker__list {
  margin-right: 10px;
}

.color__panel {
  width: 100%;
  border-radius: 6px;
  background: rgb(0, 0, 0);
  background: linear-gradient(127deg, rgb(255 255 255) 0%, rgb(221 221 221) 20%, rgba(0, 180, 255, 1) 100%);
  min-height: 140px;
}

.color__picker__selected__wrap {
  display: flex;
  width: 100%;
  align-items: center;
  height: 20px;
  overflow: hidden;
}

.color__picker__selected {
  height: 20px;
  width: 20px;
  background: #1bb9fa;
  margin-right: 10px;
  border-radius: 3px;
}

.color__output__wrap {
  display: flex;
  align-items: center;
}

.color__output__field {
  height: 20px;
  border: none;
  outline: none;
  border-radius: 3px;
  max-width: 66px;
  background: #d2d6df;
  font-size: 11px;
  padding-left: 6px;
  color: #656972;
}

.color__picker__add {
  height: 20px;
  width: 20px;
  display: flex;
  justify-content: center;
  align-items: center;
  background: #cfd3df;
  border-radius: 3px;
  margin-left: 5px;
  cursor: pointer;
  background-image: url(assets/plus.svg);
  background-repeat: no-repeat;
  background-position: center;
  background-size: 17px;
}

.color__picker__list div {
  min-width: 20px;
  height: 20px;
  width: 20px;
  margin-bottom: 3px;
  border-radius: 3px;
}

.tags__search {
  display: flex;
  background: #ffffff;
  height: 100%;
  margin-left: 10px;
  width: 100%;
  border-radius: 3px;
  box-shadow: 0px 0px 5px -3px rgb(227 18 252);
}

.tags__search input {
  border: none;
  background: none;
  font-size: 12px;
  outline: none;
  color: #656972;
  width: 100%;
}

.tags__search span {
  font-size: 16px;
}

.tags__search__wrap {
  display: flex;
  align-items: center;
  justify-content: center;
  margin-left: 5px;
  margin-right: 5px;
}

/*  gallery section */

.child {
  float: left;
  height: 150px;
  width: 50%;
  outline: 2px solid white;
  overflow: hidden;
}

.child.featured {
  height: 300px;
  width: 50%;
}

.child img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.image__wrap {
  background: white;
  display: flex;
  height: 300px;
  max-width: 500px;
}

.container {
  height: 300px;
  overflow: hidden;
}

.gallery__block {
  width: fit-content;
  background: white;
  box-shadow: 0px 5px 5px 0px rgba(0, 0, 0, 0.05);
  -webkit-box-shadow: 0px 5px 5px 0px rgba(0, 0, 0, 0.05);
  -moz-box-shadow: 0px 5px 5px 0px rgba(0, 0, 0, 0.05);
  overflow: hidden;
  border-radius: 3px;
  cursor: pointer;
}

.gallery__content {
  padding: 10px;
  display: flex;
  gap: 3px;
  justify-content: space-between;
}


.gallery__date__day {
  display: none;
  flex-direction: column;
  gap: 3px;
}

.gallery__title {
  font-size: 15px;
  font-weight: bold;
  color: #191d15;
}

.gallery__count {
  font-size: 14px;
  color: #bcbcbc;
}

.gallery__date {
  font-weight: bold;
  font-size: 20px;
  color: #656565;
}

.gallery__day {
  font-size: 11px;
  color: #b1b1b1;
  padding-bottom: 10px;
}

.gallery__container {
  display: flex;
  gap: 30px;
}


/* Additional styles for the new specifications */
.gallery__block.toggled .child {
  height: 100px;
  width: 164px;
}

.gallery__block.toggled .child.featured {
  height: 200px;
  width: 330px;
}

.gallery__block.toggled .image__wrap {
  max-width: 100%;
  height: auto;
}

.gallery__block.toggled .container {
  height: auto;
}

.gallery__block.toggled .gallery__date__day {
  display: flex;
}

.gallery__block.toggled {
  overflow: visible;
}

/*user profiles*/

.profiles__wrap {
  display: flex;
  align-items: center;
  gap: 12px;
  background: #36aae717;
  border-radius: 5px;
  padding: 4px 10px 4px 7px;
}

.profile__images {
  display: flex;
  align-items: center;
  gap: 4px;
  max-width: 86px;
  overflow: scroll;
  scrollbar-width: none;
}

.profile__replies {
  color: #0e79b9;
  font-size: 14px;
  cursor: pointer;
}

.user__image {
  display: flex;
}

.user__image img {
  width: 26px;
}

.profile__images::-webkit-scrollbar {
  display: none;
}

.main__container {
  display: flex;
  flex-direction: column;
  overflow: hidden;
}

/*Row Section*/

.row__section {
  display: flex;
  flex-direction: column;
  gap: 15px;
  margin-top: 30px;
}

.row__section__title {
  font-weight: bold;
  font-size: 17px;
}

.row__section__cols {
  display: flex;
  gap: 10px;
  width: 100%;
  overflow-x: auto;
  padding-bottom: 10px;
  scrollbar-width: thin;
}

.row__img {
  display: flex;
  overflow: hidden;
  border-radius: 5px;
  min-width: 200px;
  max-width: 200px;
  max-height: 200px;
}

.row__img img {
  width: 200px;
  cursor: pointer;
  min-width: 200px;
}

.row__section__cols::-webkit-scrollbar {

  height: 4px;
}