html {
	scroll-behavior: smooth;
	max-width: 100vw !important;
	overflow-x: hidden;
}

.overflow-hidden {
	overflow: hidden;
	width: 100%;
	height: 100%;
}

.add-gallery__form {
	display: flex;
	flex-direction: column;
	justify-content: space-between;
	align-items: center;
	gap: 35px;
	width: 100%;
}

.edit-gallery__form {
	display: flex;
	flex-direction: column;
	justify-content: space-between;
	align-items: center;
	gap: 40px;
	width: 100%;
}

.edit-gallery-alert {
	position: fixed;
	top: 50%;
	left: 50%;
	display: flex;
	align-items: center;
	justify-content: center;
	width: 100%;
	height: 100vh;
	background: #00000070;
	transform: translate(-50%, -50%);
	z-index: 1000;
}

.edit-gallery-alert__card {
	display: flex;
	align-items: center;
	justify-content: center;
	flex-wrap: wrap;
	gap: 10px;
	width: 500px;
	max-width: 92%;
	height: max-content;
	background: var(--background);
	border: solid 2px var(--item);
	border-radius: 24px;
	padding: 20px;
}

.edit-gallery-alert__text {
	width: 100%;
	color: var(--item);
	font-size: 16px;
	font-weight: 600;
	text-align: center;
}

.edit-gallery-alert__button {
	display: flex;
	align-items: center;
	justify-content: center;
	width: 200px !important;
	height: fit-content;
	background: var(--background) !important;
	color: var(--item) !important;
	padding: 5px 0 !important;
	border: solid 2px var(--item) !important;
	border-radius: 24px !important;;
	font-size: 14px !important;
	letter-spacing: 1px;
}

.edit-gallery-alert__button:hover,
.edit-gallery-alert__button:focus {
	background: var(--item) !important;
	color: var(--background) !important;
}

.edit-gallery__image-field-wrapper--main-image {
	position: relative;
	display: flex;
    width: 100%;
	height: fit-content;
}

.edit-gallery__image-field-wrapper--main-image img {
	width: 100%;
	height: auto;
}

.edit-gallery__image-field-wrapper--main-image img[src=""] {
	display: none;
}


.edit-gallery__image-field-wrapper--main-image img[src=""] ~ .edit-gallery__image-field {
	position: relative;
}

.edit-gallery__image-field-wrapper--main-image img[src=""] ~ .edit-gallery__field-error {
	transform: translate(-50%, 100%);
}

.edit-gallery__image-field-input--with-error::after {
	border: solid 2px red;
}

.edit-gallery__image-field-wrapper--main-image .edit-gallery__field-error {
	color: red;
    position: absolute;
    bottom: 0;
    left: 50%;
    transform: translate(-50%, 150%);
    max-height: 24px;
    overflow: hidden;
    width: 100vw;
    text-align: center;
}

.edit-gallery__image-field {
	position: absolute;
	bottom: 10px;
	left: 50%;
	width: 240px;
	max-width: 80%;
	height: 40px;
	border-radius: 3px;
	transform: translate(-50%);
	transform-origin: bottom center;
	z-index: 1;
}

.edit-gallery__image-field-label { 
	position: absolute;
	left: 50%;
	display: flex;
	flex-direction: column;
	align-items: center;
	justify-content: center;
	gap: 2px;
	width: max-content;
	height: 100%;
	color: var(--text);
	font-size: 16px;
	font-weight: 500;
	letter-spacing: 2px;
	transform: translate(-50%);
	transform-origin: bottom center;
	z-index: 2;
}

.edit-gallery__image-field-label:after {
	content: '';
	display: block;
	height: 1px;
	width: 100%;
	background: var(--text);
}

.edit-gallery__image-field-wrapper--main-image .edit-gallery__image-field {
	background: var(--light-text);
}

.edit-gallery__image-field-wrapper--main-image .edit-gallery__image-field:focus {
	border: solid 1.5px black;
}

.edit-gallery__image-field-wrapper--main-image .edit-gallery__image-field-input {
	opacity: 0;
	display: block;
	width: 100%;
	height: 100%;
	border-radius: 3px;
}

/* .edit-gallery__image-field-input:after {
	content: '';
	position: absolute;
	left: 50%;
	width: 100%;
	height: 100%;
	background-color: var(--light-text);
	color: var(--light-text);
	border-radius: 3px;
	transform: translate(-50%);
	transform-origin: bottom center;
}

.edit-gallery__image-field-input:hover.edit-gallery__image-field-input:after,
.edit-gallery__image-field-input:focus.edit-gallery__image-field-input:after {
	border: solid 2px var(--text);
}
 */
.edit-gallery__section--header {
	align-items: center !important;
	gap: 30px !important;
}

.edit-gallery__section--header .edit-gallery__gallery-link {
	display: flex;
	align-items: center;
	justify-content: center;
	background-color: var(--background);
	color: var(--item);
	border: solid 2px var(--item);
	border-radius: 30px;
	padding: 6px 25px;
	font-size: 16px;
	font-weight: 500;
	text-decoration: none;
}

.edit-gallery__field-error:empty {
	display: none;
}

.edit-gallery__field-error {
	color: red;
	letter-spacing: 1px;
}

.edit-gallery__field-error  .edit-gallery__image-field {
	border: solid 2px red;
}


.edit-gallery__section--header .edit-gallery__gallery-link:focus,
.edit-gallery__section--header .edit-gallery__gallery-link:hover {
	background-color: var(--item);
	color: var(--background);
}

.gallery-header {
	position: sticky;
	top: 0;
	display: flex;
	align-items: center;
	align-self: center;
	justify-content: space-between;
	gap: 5px;
	width: 100vw;
	height: 65px;
	background-color: var(--background);
	padding: 0 17px;
/* 	border: solid 2px var(--text); */
	border: solid 1px #BCBCBC;
	border-left: none;
	border-right: none;
	z-index: 95;
}

.gallery-header__heading {
	color: var(--item);
	width: 100%;
	font-size: 24px;
	font-weight: 700;
	letter-spacing: 4px;
}

.gallery-header__navigation {
	width: 100%;
	overflow-x: scroll;
	scroll-behavior: smooth;
}

.gallery-header__navigation::-webkit-scrollbar {
  	display: none;
}

.gallery-header__navigation::-webkit-scrollbar-thumb {
	display: none;
}

.gallery-header__menu {
	display: flex;
	align-items: center;
	align-self: start;
	justify-content: flex-start;
	gap: 15px;
	width: max-content;
	height: 38px;
	list-style: none;
	
}

.gallery-header__menu-item {
	display: flex;
	align-items: center;
	justify-content: space-between;
	gap: 10px;
	width: fit-content;
}

.gallery-header__menu-link {
	color: #BCBCBC;
	font-size: 18px;
	font-weight: 500;
	text-decoration: none !important;
}

.gallery-header__menu-link--current {
	color: var(--text) !important;
}

.gallery-header__menu-link--current::after {
	content: '';
	display: block;
	width: 100%;
	height: 1.3px;
	background-color: var(--text) !important;
	transform: translatey(3px);
}

.gallery-header__menu-link:hover {
	color: var(--text) !important;
}

.gallery-header__menu-link:focus,
.gallery-header__menu-link:active {
	color: #BCBCBC !important;
}

.gallery-header__menu-item:focus {
	color: #BCBCBC !important;
}

.gallery-header__scroll-button {
	background: url('data:image/svg+xml,%3Csvg style="color: rgb(48, 48, 48);" xmlns="http://www.w3.org/2000/svg" width="36" height="36" fill="currentColor" class="bi bi-chevron-right" viewBox="0 0 16 16"%3E%3Cpath fill-rule="evenodd" d="M4.646 1.646a.5.5 0 0 1 .708 0l6 6a.5.5 0 0 1 0 .708l-6 6a.5.5 0 0 1-.708-.708L10.293 8 4.646 2.354a.5.5 0 0 1 0-.708z" fill="%23303030"%3E%3C/path%3E%3C/svg%3E') no-repeat center;
	width: 38px !important;
	height: 38px;
	border: none !important;
	border-radius: 50% !important;
	transform: rotate(0);
}

.gallery-header__scroll-button:focus,
.gallery-header__scroll-button:hover {
	outline: none !important;
	background-color: var(--light-text) !important;
}

.gallery-header__scroll-button--hidden {
	display: none !important;
}

.gallery-header__scroll-button--extrime-right-position {
	transform: rotate(180deg);
}

.gallery-header__main-content-container {
	width: 100%;
}

.gallery-header__pop-up-navigation-container {
	display: none;
	flex-direction: column;
	align-items: start;
	justify-content: center;
	width: 60px;
	height: 80px;
}

.hamburger-menu {
	display: flex;
	align-items: flex-end;
	width: 48px;
	height: 48px;
}

.hamburger-menu__button {
	display: flex !important;
	flex-direction: column;
	align-items: center;
	justify-content: space-between;
	width: 48px !important;
	height: 36px !important;
	padding: 0 !important;
	margin: 0 !important;
	border: none !important;
	opacity: 85%;
}

.hamburger-menu__button:focus,
.hamburger-menu__button:hover {
	background: var(--background) !important;
	outline: none !important;
	transform: scale(1.1);
}

.hamburger-menu__button::before,
.hamburger-menu__button::after {
	content: '';
	display: block;
	width: 100%;
	height: 2px;
	background: var(--item);
}

.hamburger-menu__button::before {
	box-shadow: 0px 17px 0px 0px var(--item);
}

.hamburger-menu__button--checked.hamburger-menu__button::before {
	transform: translatey(17px) rotate(45deg);
	box-shadow: none;
}

.hamburger-menu__button--checked.hamburger-menu__button::after {
	transform: translatey(-17px) rotate(-45deg);
}


/* .hamburger-menu__button:hover.hamburger-menu__button::after,
.hamburger-menu__button:hover.hamburger-menu__button::before,
.hamburger-menu__button:focus.hamburger-menu__button::after,
.hamburger-menu__button:focus.hamburger-menu__button::before {
	height: 3px;
} */

.hamburger-menu__list {
	position: absolute;
	right: 0;
	bottom: 0;
	display: none;
	flex-direction: column;
	justify-content: space-between;
	align-items: center;
	width: 100vw;
	height: fit-content;
	padding-right: 17px;
	list-style: none;
	transform: translatey(100%);
}


.hamburger-menu__list--open {
	display: flex !important;
}

.edit-gallery__text-field:has(> .edit-gallery__text-field-input--with-error) {
	border: solid 2px red;
}

.edit-gallery__text-field--name {
	border: solid 2px transparent;
	flex-direction: column-reverse !important;
	align-items: center !important;
}
.edit-gallery__text-field--name .edit-gallery__text-field-input {
	text-align: center;
	color: var(--item);
	font-size: 16px;
	font-weight: 700;
	letter-spacing: 4px;
}

.edit-gallery__text-field--name .edit-gallery__text-field-input::placeholder {
	color: var(--text);
	font-size: 16px;
	font-weight: 700;
	letter-spacing: 4px;
	opacity: 60%;
}

.edit-gallery__text-field-input#passwordInfo {
	min-height: 85px;
}

.edit-gallery__paragraph {
	font-size: 16px;
	font-weight: 600;
	letter-spacing: 2px;
	margin: 0;
}

.edit-gallery__slot-description--location  ~ .edit-gallery__slot-form {
	width: 100%;
}

.edit-gallery__slot-form--video {
	width: 100%;
}

.edit-gallery__slot-form--video .edit-gallery__slot-field {
	width: 100%;
}

.edit-gallery__slot-form--video .edit-gallery__slot-field-wrapper {
	width: 100%;
}

.edit-gallery__swith-field {
	display: flex; 
	align-items: center;
	gap: 15px;
}
.edit-gallery__swith-field-input {
	display: flex;
	align-items: center;
	justify-content: flex-start;
	min-width: 70px;
	width: 70px;
	height: 36px;
	border-radius: 26px;
	background-color: var(--light-text);
	appearance: none;
	letter-spacing: 2px;
}

.edit-gallery__swith-field-input::before {
	content: '';
	display: block;
	width: 30px;
	height: 30px;
	background-color: var(--background);
	border-radius: 50%;
	margin: 3px;
}

.edit-gallery__swith-field-input:checked {
	justify-content: flex-end;
}	

.edit-gallery__swith-field-input:checked.edit-gallery__swith-field-input::before {
	background-color: #3cb043;
}

.edit-gallery__section {
	display: flex;
	flex-direction: column;
	justify-content: space-between;
	align-items: flex-start;
	gap: 15px;
	width: 100%;
}

.edit-gallery__slot-image {
	width: 100%;
	max-width: 700px !important;
	margin: auto;
}

.edit-gallery__text-field {
	display: flex;
	flex-direction: row-reverse;
	align-items: flex-end;
	justify-content: flex-end;
	background-color: var(--light-text);
	border: solid 2px transparent;
	border-radius: 15px;
	width: 100%;
}

.edit-gallery__text-field:focus-within {
	border: solid 2px var(--text);
}

.edit-gallery__text-field--textarea {
	flex-direction: column-reverse;
}

.edit-gallery__text-field-input {
	border: none !important;
	height: fit-content;
	background-color: transparent;
	font-size: 16px;
	letter-spacing: 2px;
}

.edit-gallery__text-field-input:focus-visible {
	outline: none;
}

.edit-gallery__swith-field-label {
	font-size: 16px;
	font-weight: 600;
	color: var(--text)
	width: max-content;
	letter-spacing: 2px;
}

.edit-gallery__text-field-input::placeholder {
	font-size: 18px;
	color: var(--text);
	opacity: 60%;
	letter-spacing: 2px !important;
}

.edit-gallery__text-field-label {
	padding: 13px 15px;
	min-width: max-content;
	letter-spacing: 2px;
	font-size: 16px;
}

/* .edit-gallery__text-field-label:after {
	content: '';
	display: block; 
	height: 1px;
	width: 100%;
	background-color: var(--text);
	opacity: 90%;
} */

#gallerySlots {
/* 	margin-top: 40px; */
	width: 100%;
	margin-bottom: 40px;
}

.edit-gallery__add-slot {
	position: relative;
	display: flex;
	align-items: center;
	justify-content: flex-end;
	gap: 25px;
	width: 100%;
	letter-spacing: 1px;
}

.edit-gallery__add-slot .edit-gallery__select {
	min-width: 200px;
	max-width: 220px;
	width: fit-content;
	right: 103px;
}

.edit-gallery__add-slot .edit-gallery__select .edit-gallery__button--select {
	gap: 6px;
}

.edit-gallery__add-slot .edit-gallery__select .edit-gallery__button {
	min-width: 200px !important;
	max-width: 220px;
}

.edit-gallery__add-slot .edit-gallery__button {
	width: fit-content !important;
}

.edit-gallery__add-slot .edit-gallery__select-option {
	gap: 5px;
	padding: 3px 5px;
	font-size: 15px;
}

.edit-gallery__select {
	position: absolute;
	top: 0;
	display: flex;
	flex-direction: column;
	align-items: center;
	justify-content: center;
	background-color: var(--background);
	width: 100%;
	height: fit-content;
    border-radius: 24px;
	letter-spacing: 1px;
	z-index: 1;
}

.edit-gallery__select--open {
	border-radius: 24px;
	border: solid 2px var(--item);
	z-index: 100000000000000000000000000000000000;
}

.edit-gallery__button {
	border: solid 2px var(--item) !important;
	background-color: var(--background) !important;
	color: var(--item) !important;
	padding: 5px 20px !important;
	border-radius: 24px !important;
	width: 100% !important;
	height: 40px;
	font-weight: 500 !important;
}

.edit-gallery__button:focus,
.edit-gallery__button:hover {
	background-color: var(--item) !important;
	color: var(--background) !important;
}

.edit-gallery__button--select:focus,
.edit-gallery__button--select:hover {
	background-color: transparent !important;
	color: var(--item) !important;
}

.edit-gallery__button--select {
	display: flex !important;
	justify-content: space-between;
	gap: 10px;
	background-color: transparent !important;
	border: none !important;
	align-items: center;
	border: solid 2px var(--item) !important;
}

.edit-gallery__select--open .edit-gallery__button--select {
	border: none !important;
}

.edit-gallery__button--select:focus,
.edit-gallery__button--select:hover {
		outline: none !important;
}

.edit-gallery__select--open .edit-gallery__button--select:focus,
.edit-gallery__select--open .edit-gallery__button--select:hover {
	border: none !important;
}

.edit-gallery__button--select::after {
	content: '';
	background: url('data:image/svg+xml,%3Csvg xmlns="http://www.w3.org/2000/svg" width="24" height="24" fill="currentColor" class="bi bi-chevron-up" viewBox="0 0 16 16" id="IconChangeColor"%3E%3Cpath fill-rule="evenodd" d="M7.646 4.646a.5.5 0 0 1 .708 0l6 6a.5.5 0 0 1-.708.708L8 5.707l-5.646 5.647a.5.5 0 0 1-.708-.708l6-6z" id="mainIconPathAttribute" stroke-width="1" stroke="%23203b4e"%3E%3C/path%3E%3C/svg%3E') center no-repeat;
	width: 24px;
	height: 24px;
	transition: 150ms transform ease-in-out;
	transform: rotate(180deg);
}

.edit-gallery__select--open .edit-gallery__button--select::after {
	transform: rotate(0);
}

.edit-gallery__select-options {
	bottom: 2px;
	left: 50%;
	display: flex;
	flex-direction: column;
	align-items: center;
	justify-content: space-between;
	gap: 7px;
	width: fit-content;
	background-color: white;
	z-index: 100;
	border-radius: 0 0 24px 24px;
	padding: 17px 0 30px 0px;
}

.edit-gallery__select-options:empty {
	display: none;
}

.edit-gallery__select-option {
	display: flex;
	align-items: center;
	justify-content: flex-start;
	gap: 12px;
	width: 100%;
	color: var(--item);
	font-weight: 500;
}

.edit-gallery__select-radio {
	appearance: none;
	display: block;
	width: 10px;
	height: 10px;
	background-color: var(--item);
	border-radius: 50%;
}

#gallerySlots {
	display: flex;
	flex-direction: column;
	align-items: center;
	justify-content: space-between;
	gap: 40px;
}

.edit-gallery__slot {
	display: flex;
	flex-direction: column;
	align-items: flex-end;
	justify-content: center;
	gap: 40px;
	padding: 35px 50px;
	background-color: var(--light-text);
	width: 100vw;
	height: fit-content;
}

.edit-gallery__slot:has( .edit-gallery__slot-field-error) {
	border: solid 2px red;
}

.edit-gallery__slot-field-error {
	letter-spacing: 1px;
}

.edit-gallery__slot-buttons {
	display: flex;
	align-items: center;
	align-self: center;
	justify-content: flex-end;
	gap: 5px;
	width: 95vw;
	height: fit-content;
}

.edit-gallery__slot-buttons .edit-gallery__button {
	display: flex;
	width: fit-content !important;
	padding: 5px 15px !important;
}

.edit-gallery__slot-buttons .edit-gallery__radio-field-label {
	padding: 10px 15px !important;
}

.edit-gallery__checkbox-field-input {
	appearance: none;
}

.edit-gallery__radio-field {
	display: flex;
	align-items: center;
	justify-content: center;
	width: 100%;
}

.edit-gallery__radio-field-label {
	display: flex;
	align-items: center;
	justify-content: center;
	font-size: 16px;
	font-weight: 500;
	color: var(--item);
	padding: 10px 20px;
	border: solid 2px var(--item);
	border-radius: 24px;
	background-color: var(--background);
	width: 100%;
	white-space: nowrap;
}


.edit-gallery__checkbox-field-input:checked ~ .edit-gallery__radio-field-label {
	color: var(--background);
	background-color: var(--item);
}

.edit-gallery__slot-description {
	color: var(--text);
	font-size: 16px;
	letter-spacing: 2px;
	align-self: center;
}

.edit-gallery__slot-field-input {
	border: none !important;
}

.edit-gallery__slot-heading {
	display: flex;
	align-items: center;
	justify-content: center;
	gap: 30px;
	color: var(--text);
	letter-spacing: 2px;
	font-size: 27px;
	font-weight: 500;
	width: 100%;
	text-align: center;
	text-transform: uppercase;
}

.edit-gallery__slot-heading:empty.edit-gallery__slot-heading::before,
.edit-gallery__slot-heading:empty.edit-gallery__slot-heading::after {
	display: none;
}

.edit-gallery__slot-heading::before,
.edit-gallery__slot-heading::after {
	content: '';
	display: block;
	height: 2px;
	width: 200px;
	background-color: var(--text);
}

.edit-gallery__text-button {
	border: none !important;
	color: var(--text) !important;
	font-size: 16px !important;
	text-transform: lowercase;
	line-height: 22px;
	opacity: 90%;
	padding: 8px 0 !important;
	letter-spacing: 2px;
}

.edit-gallery__text-button:after {
	content: '';
	display: block; 
	height: 1px;
	width: 100%;
	background-color: var(--text);
	opacity: 90%;
}

.edit-gallery__text-button:hover,
.edit-gallery__text-button:focus {
	background-color: transparent !important;
}

.edit-gallery__slot-form {
	display: flex;
	align-items: center;
	justify-content: center;
	flex-wrap: wrap;
	gap: 30px;
	max-width: 100%;
}

.edit-gallery__slot-field-label {
	font-size: 16px;
	letter-spacing: 2px;
	width: 240px;
}

.edit-gallery__slot-field-input {
	margin-top: 10px;
	font-size: 16px;
	letter-spacing: 2px;
}

.edit-gallery__slot-field-wrapper {
	width: 100%;
}

.edit-gallery__slot-video-wrapper--yt ~ .edit-gallery__slot-form .edit-gallery__slot-field {
	width: 100%;
}

.edit-gallery__slot-video-wrapper--yt ~ .edit-gallery__slot-form {
	width: 100%;
}

.edit-gallery__slot-video-wrapper--yt ~ .edit-gallery__slot-form .edit-gallery__slot-field-wrapper {
	width: 100%;
}

.edit-gallery__slot-description--location ~ .edit-gallery__slot-form .edit-gallery__slot-field-wrapper {
	width: 100% !important;
}

.edit-gallery__slot-description--location .edit-gallery__slot-form {
	width: 100%;
}

.edit-gallery__kinship-wrapper {
	display: flex;
	align-items: center;
	justify-content: space-between: 
	width: 100%;
}

.gallery-kinship__name {
	font-size: 16px;
	letter-spacing: 2px;
}

.edit-gallery__slot-form-kinship-wrapper {
	display: flex;
	flex-direction: column;
	align-items: start;
	justify-content: center;
	gap: 20px;
}

.edit-gallery__slot--kinship .edit-gallery__slot-form {
	justify-content: flex-start;
}

.edit-gallery__kinship-wrapper {
	display: flex;
	flex-direction: column;
	justify-content: space-between;
	gap: 20px;
	width: 100%;
}

.gallery-kinship {
	display: flex;
	flex-direction: column;
	align-items: center;
	justify-content: center;
	flex-wrap: wrap;
	gap: 15px;
	width: 100%;
}

.gallery-kinship__content {
	display: flex;
	flex-direction: column;
	align-items: flex-start;
	justify-content: center;
	flex-wrap: wrap;
	color: var(--text);				
	margin-bottom: 0!important;	
}

.gallery-kinship__content: empty ~ .edit-gallery__button {
	background: red !important;
}

#add-to-observed,
#sample-page-add-to-observed {
	align-self: center;
}

.gallery-kinship .edit-gallery__button {
	text-decoration: none !important;
	min-width: fit-content;
	width: 100% !important;
	flex-wrap: nowrap;
}

.gallery-kinship .edit-gallery__button:not(a) {
	opacity: 50%;
	cursor: not-allowed;
}

.gallery-kinship .edit-gallery__button:not(a):hover {
	background-color: var(--background) !important;
	color: var(--item) !important;
}

.gallery-kinship .gallery-page__button:not(a) {
	opacity: 50%;
	cursor: not-allowed;
}

.gallery-kinship__name {
	display: flex;
	align-items: center;
	gap: 10px;
	font-size: 16px;
	font-weight: 600;
	width: 250px;
	margin-bottom: 0 !important;
}

.gallery-kinship .gallery-page__button:not(a):hover {
	background-color: var(--background) !important;
	color: var(--item) !important;
}

.gallery-kinship__function {
	display: flex;
	align-items: center;
	gap: 10px;
	font-size: 16px;
	margin-bottom: 0 !important;
}

.edit-gallery__slot--heading {
	scroll-margin-top: 70px;
}

.edit-gallery__slot--heading .edit-gallery__slot-form {
	align-items: start;
	width: 100%;
}

.edit-gallery__slot--heading .edit-gallery__slot-field {
	width: 100%;
}

.edit-gallery__slot-field {
	width: min-content;
}

.edit-gallery__slot-description--location ~ .edit-gallery__slot-form .edit-gallery__slot-field {
	width: 100%;
}

.edit-gallery__slot--heading .edit-gallery__slot-field-input {
	width: 100%;
}

.edit-gallery__slot--heading .edit-gallery__slot-field-label {
	width: max-content;
}

.edit-gallery__slot--heading .edit-gallery__slot-field-wrapper {
	display: flex;
	flex-direction: column;
	justify-content: center;
	align-items: start;
	gap: 3px;
	width: 100%;
	margin-bottom: 12px;
}

.edit-gallery__slot-description--video-url {
	max-width: 100%;
	overflow: hidden;
}

.gallery-page__main-image[src="data:image/png;base64,"] {
	display: none;
}

.edit-gallery__button {
	display: flex;
	align-items: center;
	flex-wrap: nowrap;
}

.edit-gallery__slot--image-slot .edit-gallery__radio-field--file .edit-gallery__slot-field-input {
	position: relative;
	width: 100%;
	height: 40px;
	border-radius: 25px;
}

.edit-gallery__slot-field-input[type="file"] {
	position: absolute !important;
}

.edit-gallery__slot--image-slot .edit-gallery__slot-field-input::file-selector-button {
	display: flex;
	justify-content: center;
	align-items: center;
	width: 170px;
	height: 40px;
	background: var(--background);
	color: var(--item);
	border: solid 1px var(--item);
	border-radius: 24px;
	cursor: pointer;
	pointer-events: all;
}

.edit-gallery__slot--image-slot .edit-gallery__slot-field-input:hover::file-selector-button {
	background: var(--item);
	color: var(--background);
}

.edit-gallery__button-field-input {
	display: flex;
	justify-content: center;
	align-items: center;
	width: 170px;
	height: 40px;
	background: var(--background);
	color: var(--item);
	border: solid 1px var(--item);
	border-radius: 24px;
	margin-top: 10px;
	cursor: pointer;
}

.edit-gallery__slot-field-input:hover + .edit-gallery__button-field-input {
	background: var(--item);
	color: var(--background);
}

/* .edit-gallery__slot--image-slot .edit-gallery__radio-field--file .edit-gallery__slot-field-input:after {
	content: normal;
	position: absolute;
	top: 50%;
	left: 50%;
	display: flex;
	align-items: center;
	justify-content: center;
	background-color: var(--background);
	color: var(--item);
	width: 100%;
	height: 100%;
	border: solid 2px var(--item);
	border-radius: 24px;
	padding: 10px 20px;
	font-size: 16px;
	font-weight: 500;
	letter-spacing: 1px;
	transform: translate(-50%, -50%);
} */

.edit-gallery__slot--image-slot .edit-gallery__slot-form {
	flex-direction: column;
	justify-content: space-between;
	width: 100%;
	flex-wrap: wrap;
}

.edit-gallery__slot--image-slot  .edit-gallery__slot-field {
	width: fit-content;
}

.edit-gallery__slot--image-slot  .edit-gallery__slot-field-wrapper {
	width: fit-content;
}

.edit-gallery__slot--image-slot .edit-gallery__slot-field-label {
	width: fit-content;
}

.edit-gallery__slot--image-slot .edit-gallery__radio-field--file {
	width: 100%;
}

.edit-gallery__slot--image-slot .edit-gallery__slot-field-wrapper {
	width: 100%;
}

.edit-gallery__slot--image-slot .edit-gallery__radio-field--file .edit-gallery__slot-field-wrapper {
	display: flex;
	flex-direction: column;
	align-items: center;
}

.edit-gallery__slot--image-slot .edit-gallery__radio-field--file .edit-gallery__slot-field-input:hover.edit-gallery__slot-field-input:after,
.edit-gallery__slot--image-slot .edit-gallery__radio-field--file .edit-gallery__slot-field-input:focus.edit-gallery__slot-field-input:after {
	background-color: var(--item);
	color: var(--background);
}

.edit-gallery__slot--description .edit-gallery__slot-field-input {
	min-height: 110px;
}

.edit-gallery__slot--description .edit-gallery__slot-description {
	max-width: 100%;
}

.edit-gallery__slot--description .edit-gallery__slot-form {
	width: 100%;
}

.edit-gallery__slot--description .edit-gallery__radio-field--textarea {
	width: 100%;
}

.edit-gallery__slot--description .edit-gallery__slot-field-wrapper {
	width: 100%;
}
.button-bar {
	width: 100%;
	display: flex;
	position: fixed;
	bottom: 0;
	left: 0;
	z-index: 10000;
	background-color: #fff;
	padding: 12px;
	border-top: 1px solid var(--light-item);
	transition: bottom 150ms ease-in-out;
}

.button-bar--noned: {
	display: none !important;
}

.button-bar--sronly {
  position: fixed !important;
  bottom: 0 !important;
  width: 0px !important;
  height: 65px !important;
  padding: 0 !important;
  margin: -1px !important;
  overflow: hidden !important;
  clip: rect(0, 0, 0, 0) !important;
  white-space: nowrap !important;
  border: 0 !important;
}

.button-bar--static {
	position: absolute !important;
	bottom: -10px;
	left: 50%;
	width: 100vw !important;
	align-self: center;
	transform: translatex(-50%);
}

.button-bar__help {
	display: flex;
	align-items: center;
	height: min-content;
	gap: 12px;
	text-decoration: none !important;
	cursor: pointer;
	color: var(--item) !important;
	font-weight: 600;
}
.button-bar__help:hover {
	color: var(--light-item) !important;
}
.button-bar__help-icon {
	height: 40px !important;
}
.button-bar__submit {
	background-color: #2b467f !important;
	color: var(--background) !important;
	border: solid 2px #2b467f !important;
	border-radius: 24px !important;
	font-size: 16px !important;
	font-weight: 500 !important;
	padding: 5px 20px !important;
	width: fit-content !important;
	height: 40px;
	display: flex;
	align-items: center;
	justify-content: center;
}

.button-bar__submit:hover,
.button-bar__submit:focus {
	background-color: var(--background) !important;
	color: #2b467f !important;
}
.edit-gallery__section--submit {
	display: flex;
	flex-direction: row;
	align-items: center;
	justify-content: flex-end;
}

.edit-gallery__section--submit .edit-gallery__submit {
	background-color: var(--item) !important;
	color: var(--background) !important;
	border: solid 2px var(--item) !important;
	border-radius: 24px;
	font-size: 16px;
	font-weight: 500;
	padding: 5px 20px;
	width: 100%;
	height: 40px;
}

.edit-gallery__section--submit .edit-gallery__submit:hover,
.edit-gallery__section--submit .edit-gallery__submit:focus {
	background-color: var(--background) !important;
	color: var(--item) !important;
}

.edit-gallery__slot-field-error {
	color: red;
}

.gallery-page {
	display: flex;
	flex-direction: column;
	align-items: flex-end;
	justify-content: space-between;
	gap: 40px;
	width: 100%;
	height: fit-content;
}

.gallery-page__slot--image {
	width: 100%;
	max-width: 700px;
	height: fit-content;
}

.gallery-page__slot-image {
	width: 100%;
	height: auto !important;
}

#mainImageElement {
	width: 100%;
	max-width: 700px;
	height: auto;
	margin: auto;
}

.gallery-page__slot--heading {
    position: relative;
	display: flex;
	justify-content: center;
	align-items: center;
    width: 100%;
	max-width: 700px;
	scroll-margin-top: 70px;
}

.gallery-page__slot--heading::before {
	content: '';
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    display: block;
/*     width: calc(100% - 40px); */
	width: 100%;
    height: 2px;
    background-color: var(--text);
    z-index: 1;
}

.gallery-page__slot-heading {
    position: relative;
    display: flex;
	justify-content: center;
	align-items: center;
    width: max-content;
    max-width: 100%;
    padding: 0 30px;
	margin: 16px 0;
    background: #fff;
	font-size: 27px;
	font-weight: 500;
	letter-spacing: 2px;
	text-align: center;
	text-transform: uppercase;
	color: var(--text);
    z-index: 2;
}

/* .gallery-page__slot-heading {
	display: flex;
	align-items: center;
	justify-content: center;
	gap: 30px;
	color: var(--text);
	letter-spacing: 2px;
	text-transform: uppercase;
	font-weight: 600;
	width: 100%;
	text-align: center;
}

.gallery-page__slot-heading::before,
.gallery-page__slot-heading::after {
	content: '';
	display: block;
	height: 2px;
	width: 200px;
	background-color: var(--text);
} */

.gallery-page__slot-description {
	color: var(--text);
	font-size: 16px;
	letter-spacing: 2px;
	overflow-x: hidden;
	width: 100%;
}

.gallery-page__slot--youtube {
	width: 100%;
	max-width: 700px;
}

.gallery-page__button {
	display: flex;
	align-items: center;
	justify-content: center;
	border: solid 2px var(--item) !important;
    background-color: var(--background) !important;
    color: var(--item) !important;
    padding: 5px 20px !important;
    border-radius: 24px !important;
	min-width: 250px !important;
    width: fit-content !important;
    height: fit-content;
    font-weight: 500 !important;
	text-decoration: none !important;
}

.gallery-page__button:hover,
.gallery-page__button:focus {
	background-color: var(--item) !important;
    color: var(--background) !important;
}

.gallery-page__button--added {
	cursor: not-allowed !important;	
}

.gallery-page__slot--description {
	width: 100%;
	max-width: 700px;
}

.gallery-page-login {
	display: flex;
	flex-direction: column;
	align-items: center;
	justify-content: space-between;
	gap: 40px;
	width: 100%;
	margin: 15% 0;
	background-color: var(--light-text);
}

.gallery-page__slot--kinship {
	display: flex;
	flex-direction: column;
	gap: 25px;
}

.edit-gallery__slot-video-wrapper {
	width: 100%;
	max-width: 700px;
	margin: auto;
}

.gallery-page-open-google-maps {
	text-decoration: none;
}

.gallery-page__slot--location {
	display: flex;
	align-items: center;
	justify-content: center;
	flex-wrap: wrap;
	gap: 15px;
	width: 100%;
}

.gallery-page__slot-description--location {
	width: 100%;
	text-align: center;
}

.gallery-page__read-more-button {
	display: flex;
	align-items: center;
	justify-content: center;
	border: none !important;
	font-size: 16px !important;
	letter-spacing: 2px;
	color: var(--item) !important;
	padding: 0 !important;
	transition: none !important;
}

.gallery-page__read-more-button::after {
	content: '';
	display: block;
	width: 100%;
	height: 0.5px;
	background: var(--item) !important;
}

.gallery-page__read-more-button:focus,
.gallery-page__read-more-button:hover {
	border: none !important;
	outline: none !important; 
	background: transparent !important;
	color: var(--pseudo-elements) !important;
}

.gallery-page__read-more-button:focus::after,
.gallery-page__read-more-button:hover::after {
	background: var(--pseudo-elements) !important;
}

.gallery-page__slot-description--first-line-only {
	line-height: 1.5em;
    overflow: hidden;
    text-overflow: ellipsis;
    width: 100%;
	display: -webkit-box;
    -webkit-line-clamp: 3;
    -webkit-box-orient: vertical;
}

.gallery-page__button--location {
	display: flex;
	align-items: center;
	justify-content: center;
	height: 40px !important;
	text-decoration: none !important;
	min-width: 260px !important;
}

.gallery-page-login {
	padding: 60px 0;
}

.gallery-page-login__heading {
	font-size: 16px;
	font-weight: 600;
	letter-spacing: 1px;
}


.gallery-page-login .gallery-login__field {
	display: flex;
	flex-direction: column;
	align-items: flex-start;
	justify-content: space-between;
	gap: 5px;
}

.gallery-page-login .gallery-login__field-input {
	width: 300px;
	height: 40px;
	border-radius: 15px;
}

.gallery-page-login .gallery-login__fieldset {
	display: flex;
	flex-direction: column;
	align-items: flex-start;
	justify-content: space-between;
	gap: 5px;
}

.gallery-login__field-label {
	font-size: 16px;
	letter-spacing: 1px;
	margin-left: 8px;
}

.gallery-login__password-info {
	font-size: 16px;
	letter-spacing: 2px;
	margin-left: 8px;
}

.gallery-page-login .gallery-login__button {
	font-size: 16px !important;
	letter-spacing: 1px;
	color: var(--item) !important;
	background: var(--background) !important;
	border: solid 2px var(--item) !important;
	padding: 5px 20px;
	border-radius: 24px;
	align-self: center;
}

.gallery-page-login .gallery-login__button:hover,
.gallery-page-login .gallery-login__button:focus {
	color: var(--background) !important;
	background: var(--item) !important;
}

.gallery-page__ad-container {
	position: fixed;
	top: auto;
	bottom: 0;
	left: 50%;
	display: flex;
	flex-direction: column;
	justify-content: flex-end;
	align-items: center;
	width: 100%;
	max-width: 100dvw;
	height: max-content;
	max-height: 300px;
	overflow: hidden;
	z-index: 100;
	transform: translatex(-50%);
	transition: bottom 150ms ease-in-out;
}

.gallery-images-preview {
	position: fixed;
	top: 50%;
	left: 0;
	display: flex;
	flex-direction: column;
	align-items: center;
	justify-content: center;
	width: 100vw;
	height: 100vh;
	transform: translatey(-50%);
	z-index: 100;
}

.gallery-images-preview::after {
	content: '';
	position: absolute;
	top: 50%;
	left: 0;
	display: block;
	width: 100vw;
	height: 100vh;
	background: #000000cf;
	transform: translatey(-50%);
	z-index: -1;
}

.gallery-images-preview__images-wrapper {
	width: 100%;
	height: fit-content;
	max-height: 90vh;
	object-fit: cover;
	object-position: top;
}

.gallery-images-preview__image {
	display: none;
	width: 100%;
	height: auto;
	max-height: 90vh;
	object-fit: contain;
}

.gallery-images-preview__image--is-display {
	display: flex;
}

.gallery-images-preview__close-button {
	position: absolute;
	top: 30px;
	right: 10px;
	display: block;
	background: url("data:image/svg+xml,%3Csvg style='color: white' xmlns='http://www.w3.org/2000/svg' width='64' height='64' fill='currentColor' class='bi bi-x' viewBox='0 0 16 16'%3E%3Cpath d='M4.646 4.646a.5.5 0 0 1 .708 0L8 7.293l2.646-2.647a.5.5 0 0 1 .708.708L8.707 8l2.647 2.646a.5.5 0 0 1-.708.708L8 8.707l-2.646 2.647a.5.5 0 0 1-.708-.708L7.293 8 4.646 5.354a.5.5 0 0 1 0-.708z' fill='white'%3E%3C/path%3E%3C/svg%3E") center no-repeat;
	width: 64px;
	height: 64px;
	border: none !important;
/* 	transform: translatey(-30vh) !important; */
}

.gallery-images-preview__close-button:focus,
.gallery-images-preview__close-button:hover {
	outline: none !important;
	background: none !important;
	background: url("data:image/svg+xml,%3Csvg style='color: white' xmlns='http://www.w3.org/2000/svg' width='48' height='48' fill='currentColor' class='bi bi-x' viewBox='0 0 16 16'%3E%3Cpath d='M4.646 4.646a.5.5 0 0 1 .708 0L8 7.293l2.646-2.647a.5.5 0 0 1 .708.708L8.707 8l2.647 2.646a.5.5 0 0 1-.708.708L8 8.707l-2.646 2.647a.5.5 0 0 1-.708-.708L7.293 8 4.646 5.354a.5.5 0 0 1 0-.708z' fill='white'%3E%3C/path%3E%3C/svg%3E") center no-repeat !important;
	transform: scale(1.1);
}

.gallery-images-preview__prev-button {
	position: absolute;
	left: 0;
	display: block;
	width: 48px !important;
	height: 48px !important;
	background: url('data:image/svg+xml,%3Csvg xmlns="http://www.w3.org/2000/svg" width="40" height="40" fill="currentColor" class="bi bi-chevron-right" viewBox="0 0 16 16" id="IconChangeColor"%3E%3Cpath fill-rule="evenodd" d="M4.646 1.646a.5.5 0 0 1 .708 0l6 6a.5.5 0 0 1 0 .708l-6 6a.5.5 0 0 1-.708-.708L10.293 8 4.646 2.354a.5.5 0 0 1 0-.708z" id="mainIconPathAttribute" fill="%23ffffff"%3E%3C/path%3E%3C/svg%3E') center no-repeat;
	border: none !important;
	border-radius: 50% !important;
	transform: rotate(180deg);
}

.gallery-images-preview__next-button {
	position: absolute;
	right: 0;
	display: block;
	width: 48px !important;
	height: 48px !important;
	background: url('data:image/svg+xml,%3Csvg xmlns="http://www.w3.org/2000/svg" width="40" height="40" fill="currentColor" class="bi bi-chevron-right" viewBox="0 0 16 16" id="IconChangeColor"%3E%3Cpath fill-rule="evenodd" d="M4.646 1.646a.5.5 0 0 1 .708 0l6 6a.5.5 0 0 1 0 .708l-6 6a.5.5 0 0 1-.708-.708L10.293 8 4.646 2.354a.5.5 0 0 1 0-.708z" id="mainIconPathAttribute" fill="%23ffffff"%3E%3C/path%3E%3C/svg%3E') center no-repeat;
	border: none !important;
	border-radius: 50% !important;
}

.gallery-images-preview__prev-button:hover,
.gallery-images-preview__prev-button:focus,
.gallery-images-preview__next-button:hover,
.gallery-images-preview__next-button:focus {
	outline: none !important;
	background-color: #1e1e1e45 !important;
}

.gallery-images-preview__counter {
	position: absolute;
	bottom: 0;
	left: 50%;
	color: var(--background);
	font-size: 28px;
	transform: translate(-50%, 105%);
	margin-bottom: 0 !important;
}

.gallery-header__auth-wrapper {
	display: flex;
	align-self: center;
	justify-content: center;
	width: 100vw;
}

.gallery-header__auth-section {
	margin: auto;
	padding: 50px;
	background-color: var(--light-text);
}

.gallery-header__auth-heading {
	text-align: center;
	font-size: 16px;
	font-weight: 600;
	letter-spacing: 1px;
}

.gallery-login__field {
	width: 100%;
}

.gallery-login__fieldset {
	display: flex;
	flex-direction: column;
	align-items: start;
}

.gallery-login__fieldset .gallery-login__button {
	width: 100%;
	font-size: 16px;
	font-weight: 500;
	letter-spacing: 1px;
	align-self: center;
}

.gallery-login__fieldset .gallery-login__button:focus {
	outline: none !important;
	background: var(--background) !important;
	color: var(--item) !important;
}

.gallery-login__field-label {
	margin-bottom: 8px;
}

.gallery-login__error {
	color: red;
	letter-spacing: 2px;
}

.gallery-login__field-input {
	border-radius: 24px !important;
}

.gallery-login__fieldset:has( .gallery-login__error:empty) .gallery-login__field-input {
	border: solid 1px var(--text);
}

.gallery-login__fieldset:has( .gallery-login__error) .gallery-login__field-input {
	border: solid 1px red;
}

#dupa-login {
	display: block;
	width: 300px 
}

.galleries-list {
	margin: 30px 0;
}

.gallery-page__gallery-link {
	display: flex !important; 
    align-items: center;
    justify-content: center;
    background-color: var(--background) !important; 
    color: var(--item) !important;
    border: solid 2px var(--item) !important;
    padding: 6px 25px !important;
    font-size: 16px !important;
    font-weight: 500 !important;
    text-decoration: none;
	margin: auto;
	border-radius: 30px !important;
}

.gallery-page__gallery-link:hover,
.gallery-page__gallery-link:focus {
	background-color: var(--item) !important; 
    color: var(--background) !important;
}

.gallery-page__main-heading {
	margin: auto;
	text-align: center;
	font-size: 27px;
	color: var(--item);
}

.gallery-page__button--observed {
	opacity: 50% !important;
	cursor: not-allowed !important;
	background: var(--item) !important;
	color: var(--background) !important;
	letter-spacing: 0 !important;
}

.gallery-page__button--observed:hover,
.gallery-page__button--observed:focus {
	opacity: 50% !important;
	cursor: not-allowed !important;
	background-color: var(--item) !important;
	color: var(--background) !important;
}

.gallery-page__button--observed[type=button]:not(:disabled) {
	cursor: not-allowed !important;
}

.gallery-page__button--sample-page:hover,
.gallery-page__button--sample-page:focus {
	background-color: var(--background) !important;
	color: var(--item) !important;
}

.gallery-page--ad-wrapper {
	position: relative;
}

.gallery-page__ad-static-container {
	position: absolute;
	bottom: -50px;
	left: calc(50% - 8px);
	width: max-content;
	max-width: 100%;
	transform-origin: top;
	transform: translatex(-50%);
}

gallery-page__ad-static-container--dupa {
	
}

.gallery-page__ad-container--ssr-only {
 opacity: 0;
	left: -300%;
	width: 0;
}

.gallery-page_ad-static-container--ssr-only {
	opacity: 0;
	left: -300%;
}

.test-red {
	background: red;
	color: yellowgreen;
}

.gallery-page__add_container-wrpper {
	position: absolute;
}

@media screen and (min-width: 450px) {
	.edit-gallery__slot--image-slot .edit-gallery__radio-field--file {
		width: fit-content;
	}
	
	.edit-gallery__button--select {
		width: 250px;
	}
	
	.edit-gallery__select {
		width: 250px;
		max-width: 250px;
	}
	
	.edit-gallery__field-error {
		letter-spacing: 2px;
	}

	.gallery-header__heading {
	color: var(--item);
	font-size: 28px;
	font-weight: 700;
	letter-spacing: 4px;
	}

	.edit-gallery__image-field {
		width: 240px;
	}
	
	.edit-gallery__kinship-wrapper {
		display: flex;
		flex-direction: column;
		justify-content: space-between;
		align-self: center;
		gap: 20px;
		width: fit-content;
	}
	
	.gallery-kinship {
		flex-direction: row;
	}
	
	.gallery-kinship .edit-gallery__button {
		text-decoration: none !important;
		width: fit-content !important;
	}
	
	.edit-gallery__slot--image-slot .edit-gallery__radio-field--file .edit-gallery__slot-field-input {
		width: 170px;
	}
	
	.edit-gallery__slot-buttons {
		flex-direction: row;
	}
	
	.edit-gallery__radio-field {
		width: fit-content;
		display: flex;
	}
	
	.edit-gallery__radio-field-label {
		width: fit-content;
		padding: 10px 11px;
		letter-spacing: 0.9px;
		font-size: 15px;
	}
	
	.edit-gallery__slot-button {
		width: fit-content;
	}
	
	.edit-gallery__add-slot {
		flex-direction: row;
	}
	
	.edit-gallery__add-slot {
		height: fit-content;
	}
	
	.edit-gallery__select {
		width: 250px;
		max-width: 250px;
		right: 138px;
	}
	
	.edit-gallery__button {
		width: min-content !important;
	}
	
	.edit-gallery__section--submit .edit-gallery__submit {
		width: fit-content;
	}
}

@keyframes louderAnimation {
	0% {
		transform: rotate(0);
	}
	
	100% {
		transform: rotate(360deg);
	}
}

.edit-gallery__louder {
	position: fixed;
	top: 0;
	left: 0;
	display: none;
	align-items: center;
	justify-content: center;
	width: 100vw;
	height: 100vh;
	background-color: #00000070;
	z-index: 10000;
}

.edit-gallery__louder::after {
	content: '';
	display: block;
	background: url("data:image/svg+xml,%3Csvg style='color: white' xmlns='http://www.w3.org/2000/svg' width='96' height='96' fill='currentColor' class='bi bi-arrow-clockwise' viewBox='0 0 16 16'%3E%3Cpath fill-rule='evenodd' d='M8 3a5 5 0 1 0 4.546 2.914.5.5 0 0 1 .908-.417A6 6 0 1 1 8 2v1z' fill='white'%3E%3C/path%3E%3Cpath d='M8 4.466V.534a.25.25 0 0 1 .41-.192l2.36 1.966c.12.1.12.284 0 .384L8.41 4.658A.25.25 0 0 1 8 4.466z' fill='white'%3E%3C/path%3E%3C/svg%3E") center no-repeat;
	width: 96px;
	height: 96px;
	animation: louderAnimation 1.5s infinite;
}

.edit-gallery__louder--turned-on {
	display: flex;
}

@media screen and (min-width: 500px) {	
	.gallery-images-preview__close-button {
/* 			transform: translatey(-45vh) !important; */
	}
	
	.edit-gallery__section {
		gap: 25px;
	}
	
	.edit-gallery__text-field--name .edit-gallery__text-field-input,
	.edit-gallery__text-field--name .edit-gallery__text-field-input::placeholder {
		font-size: 27px;
	}
	
	.edit-gallery__image-field {
		bottom: 25px;
	}
	
	.edit-gallery__swith-field-label {
		font-size: 16px;
	}
	
	.edit-gallery__radio-field-label {
		width: fit-content;
		padding: 10px 20px;
		letter-spacing: 1px;
		font-size: 16px;
	}
}

@media screen and (min-width: 540px) {
	.gallery-kinship {
		justify-content: space-between;
	}
	
	.edit-gallery__slot-buttons .edit-gallery__radio-field-label {
		padding: 10px 20px !important;
	}
	
	.edit-gallery__slot-buttons .edit-gallery__button {
		padding: 10px 20px !important;
	}
}

@media screen and (min-width: 600px) {	
	.gallery-login__fieldset .gallery-login__button {
		width: fit-content;
		padding: 5px 45px;
	}
	
	.gallery-header {
		padding: 0 0 0 40px;
	}

	.gallery-header__heading {
		font-size: 32px;
	}

	.gallery-header__menu {
		gap: 30px;
	}
	
	.gallery-header__pop-up-navigation-container {
		width: 80px;
		align-items: center;
/* 		padding-top: 5px; */
	}
}

@media screen and (min-width: 690px) {	
	.edit-gallery__slot-form {
		justify-content: space-between;
	}
	
	.edit-gallery__slot-field-wrapper {
		width: 250px;
	}
}

@media screen and (min-width: 700px) {
	.edit-gallery__slot--heading .edit-gallery__slot-field {
		width: 285px;
	}
}
@media screen and (min-width: 700px) and (max-width: 909px) {
	.edit-gallery__slot-field-wrapper {
		width: 290px;
	}
}

@media screen and (min-width: 760px) {
	.gallery-images-preview__close-button {
		top: 45px;
	}
	
	.edit-gallery__slot--image-slot .edit-gallery__slot-form {
		flex-direction: row;
	}
	
	.edit-gallery__slot--image-slot .edit-gallery__slot-field-wrapper {
		width: max-content;
		max-width: 460px;
	}
}

@media screen and (min-width: 880px) {
	.edit-gallery__slot--heading .edit-gallery__slot-field {
		width: 375px;
	}
}

/* @media screen and (min-width: 900px) {
	.gallery-images-preview__close-button {
		transform: translatey(30px);
		z-index: 1000;
	}
	
	.gallery-images-preview__close-button:hover,
	.gallery-images-preview__close-button:focus {
		transform: translatey(30px) scale(1.1);
	}
} */

@media screen and (min-width: 375px) {
	.edit-gallery__add-slot .edit-gallery__select {
		right: 115px;
	}
	
	
	.edit-gallery__slot-buttons {
		gap: 15px;
	}
}

@media screen and (min-width: 380px) {
	.edit-gallery__add-slot .edit-gallery__select {
		right: 120px;
	}
	
	.edit-gallery__slot-buttons {
		gap: 20px;
	}
}

@media screen and (min-width: 460px) {
	.edit-gallery__slot-buttons {
		width: 100%;
	}
}

@media screen and (min-width: 1024px) {
	.button-bar--static {
		padding-right: 26px;
	}
	.edit-gallery__slot-field-wrapper {
		width: 300px;
	}
	
	.edit-gallery__slot {
		width: 100%;
		border-radius: 24px;
	}
	
	.edit-gallery__slot--heading .edit-gallery__slot-field {
		width: 300px;
	}
}

@media screen and (min-width: 1200px) {
	.edit-gallery__slot--heading .edit-gallery__slot-field {
		width: 450px;
	}
}
