@media only screen and (max-width: 480px) {
	@-o-viewport {
		width: 480px;
	}
	@viewport {
		width: 480px;
	}
}

body {
	background-color: var(--white);
    max-width: 1920px;
}

.search-form {
    display: inline-flex;
    flex-flow: row;
    flex-direction: row;
    align-items: center;
    justify-content: flex-start;
    flex-wrap: nowrap;
    position: relative;
    z-index: 1;
    height: 44px;
    overflow: visible;
    order: 3;
}

.search-form input[type="search"] {
	color: var(--white);
	border: none;
	padding: 8.5px 36px 8.5px 12px;
	border-radius: 8px;
	width: 200px;
	background-color: var(--secondary) !important;
	transition: all 300ms ease;
	min-height: 44px;
	font-weight: normal;
}

.search-form input[type="search"]:focus {
	width: 260px;
	background-color: var(--action) !important;
}

.search-form input[type="submit"] {
	min-width: 0;
	position: absolute;
	right: 9px;
	z-index: 101;
	display: block;
	width: 30px;
	height: 30px;
	font-size: 0;
	padding: 0;
	color: transparent;
	background-color: transparent;
	background-image: url("../images/search.svg");
	background-size: contain;
	background-position: center center;
	background-repeat: no-repeat;
	border-radius: 0;
	filter: saturate(100%) brightness(0) invert(1);
}

.search-form input[type="submit"]:hover,
.search-form input[type="submit"]:focus {
	color: transparent;
	background-color: transparent;
}

.search-form ::-webkit-input-placeholder {
	color: var(--white);
	font-size: 0;
}

.search-form :-moz-placeholder {
	color: var(--white);
	font-size: 0;
}

.search-form ::-moz-placeholder {
	color: var(--white);
	font-size: 0;
}

.search-form :-ms-input-placeholder {
	color: var(--white);
	font-size: 0;
}

input.search-field[data-autocompleted],
input.search-field:-internal-autofill-selected,
input.search-field:is(:-webkit-autofill, :autofill),
input.search-field:-webkit-autofill,
input.search-field:-webkit-autofill:hover,
input.search-field:-webkit-autofill:focus,
input.search-field:-webkit-autofill:active {
	color: var(--white) !important;
	background-color: var(--primary) !important;
	transition: background-color 600000s 0s, color 600000s 0s, width 300ms ease;
	font-size: 18px !important;
}

.modal {
	display: flex;
    flex-flow: row;
    flex-direction: row;
    align-items: center;
    justify-content: center;
    flex-wrap: nowrap;
	position: fixed;
	z-index: 1000;
	left: 0;
	top: 0;
	width: 100%;
	height: 100%;
	overflow: auto;
	background-color: rgba(0, 0, 0, 0.8);
	padding: 24px;
	opacity: 1;
	backdrop-filter: blur(5px);
	transition: all 300ms ease;
}

.modal:not(.opened) {
	opacity: 0;
	pointer-events: none !important;
}

.modal:not(.opened) * {
	pointer-events: none !important;
}

.modal .modal-content {
	display: block;
	padding: 0;
    max-width: 100%;
    max-height: 100%;
	width: auto;
    height: auto;
    margin: 0;
	user-select: none;
	flex-grow: 0;
    flex-shrink: 1;
}

.modal .close {
	position: absolute;
	top: 24px;
	right: 24px;
	cursor: pointer;
	user-select: none;
	border: none;
	background-color: transparent;
	padding: 0;
	margin: 0;
	min-width: 0;
	display: flex;
    flex-flow: row;
    flex-direction: row;
    align-items: center;
    justify-content: center;
    flex-wrap: nowrap;
	transition: all 300ms ease;
}

.modal .close:hover {
	transform: scale(1.1);
}

.modal .prev,
.modal .next {
    display: flex;
    flex-flow: row;
    flex-direction: row;
    align-items: center;
    justify-content: center;
    flex-wrap: nowrap;
    width: 44px;
    min-width: 0;
    height: 44px;
	position: absolute;
	z-index: 1;
	top: calc(50% - 22px);
	cursor: pointer;
	border: none;
	padding: 0;
	margin: 0;
	user-select: none;
	background-color: #FFA310;
	border-radius: 50%;
	box-shadow: 0px 8px 16px 0px rgba(0, 0, 0, 0.32) !important;
	transition: all 300ms ease;
}

.modal .prev.active,
.modal .next.active {
	opacity: 1;
}

.modal .prev:not(.active),
.modal .next:not(.active) {
	opacity: 0.5;
	filter: grayscale(1);
}

.modal .prev {
	left: 12px;
}

.modal .next {
	right: 12px;
}

.modal .prev img {
	transform: scale(-1);
}

.modal .prev img,
.modal .next img {
    display: block;
    width: 24px;
    height: 24px;
    filter: contrast(0) brightness(10);
    pointer-events: none;
}

.modal .prev:hover,
.modal .next:hover {
	transform: scale(1.1);
}

html:has(.modal.opened) {
	overflow: hidden;
}

body:has(.modal.opened) {
	padding-right: var(--scrollBarWidth);
}

.pages-list {
	margin-bottom: 40px;
}

.pagination {
	display: flex;
	flex-flow: row;
	flex-direction: row;
	align-items: center;
	justify-content: center;
	flex-wrap: nowrap;
	width: 100%;
	margin-bottom: 80px;
}

.nav-links {
	display: flex;
	flex-flow: row;
	flex-direction: row;
	align-items: center;
	justify-content: center;
	flex-wrap: nowrap;
	width: 100%;
}

.page-numbers {
	padding: 4px 8px;
	margin: 0 4px;
	text-align: center;
	min-width: 34px;
}

.page-numbers:empty {
	display: none;
}

.page-numbers.dots,
.page-numbers.current {
	color: var(--primary);
	cursor: default;
}

.page-numbers.current {
	color: var(--white);
	background-color: var(--light-yellow);
}

.page-numbers:not(.current):not(.dots) {
	color: var(--white);
	background-color: var(--primary);
	transition: all 300ms ease;
	cursor: pointer;
}

.page-numbers:not(.current):not(.dots):hover {
	background-color: var(--light-yellow);
}

.splide__arrows .splide__arrow {
    display: flex;
    flex-flow: row;
    flex-direction: row;
    align-items: center;
    justify-content: center;
    flex-wrap: nowrap;
    min-width: 0;
    width: auto;
    height: auto;
    border-radius: 0;
	padding: 10px 10px;
	opacity: 1 !important;
	transform-origin: center center;
	background-color: transparent !important;
}

.splide__arrows .splide__arrow:before {
	content: "";
	display: block !important;
	width: 24px;
	height: 56px;
	background-image: url("../images/next.png");
	background-size: contain;
	background-position: center center;
	background-repeat: no-repeat;
}

.splide__arrows .splide__arrow.splide__arrow--prev {
	left: -50px;
}

.splide__arrows .splide__arrow.splide__arrow--next {
	right: -50px;
}

.splide__arrows .splide__arrow.splide__arrow--prev:before {
	transform: scale(-1);
}

.splide__arrows .splide__arrow svg {
	display: none;
}
