.samo_container .panel,
#modalContainer div.modalTitle,
#logonContainer div.modalTitle {
    background: #f3f3f3;
}


:root {
    /* --bg-gradient: linear-gradient(to right, #edd7ff, #e5d9fe, #dfdafc, #d9dbfa, #d5dcf6, #d8ddf5, #dbdef4, #dddff3, #e6e1f4, #eee4f4, #f5e7f4, #fbeaf4); */
    /* --inactive-button-bgcolor: #fff !important; */
    --link-active-color: #000;
    --border-radius: 8px;
    --main-panel-bgcolor: rgba(171, 186, 238, .3);
    /* rgba(208, 223, 237, .3); */
    --link-hover-color: #000000;
    --header-mobile-breakpoint: 980px;
    --mobile-menu-surface: #ffffff;
    --mobile-menu-border: rgba(22, 31, 61, 0.08);
    --mobile-menu-shadow: 0 18px 40px rgba(22, 31, 61, 0.16);
	
	--color-white: #fff;
}

#search_tour .std.container {
    width: var(--main-container-width);
    margin: auto;
}


#header a,
.samo_container a,
.samo_container .link {
    color: var(--link-active-color);
    cursor: pointer;
}

.header__login:hover {
    background-color: #ff6b00;
    color: white;
}

@keyframes fade-in {
    0% {
        opacity: 0;
    }

    100% {
        opacity: 1;
    }
}

@font-face {
    font-family: "EuclidCircularA-Bold";
    src: url("../frontend/EuclidCircularA-Bold.woff2") format("woff2"),
        url("../frontend/EuclidCircularA-Bold.woff") format("woff"),
        url("../frontend/EuclidCircularA-Bold.ttf") format("opentype");
}

@font-face {
    font-family: "EuclidCircularA-Medium";
    src: url("../frontend/EuclidCircularA-Medium.woff2") format("woff2"),
        url("../frontend/EuclidCircularA-Medium.woff") format("woff"),
        url("../frontend/EuclidCircularA-BoMediumld.ttf") format("opentype");
}

@font-face {
    font-family: "EuclidCircularA-Regular";
    src: url("../frontend/EuclidCircularA-Regular.woff2") format("woff2"),
        url("../frontend/EuclidCircularA-Regular.woff") format("woff"),
        url("../frontend/EuclidCircularA-Regular.ttf") format("opentype");
}

.samo_container {
    background: none;
}

#header {
    margin: 0 auto;
    height: fit-content;
    position: relative;
    z-index: 2;
    margin-bottom: 40px;
    width: min(var(--main-container-width), calc(100% - 20px));
    max-width: var(--main-container-width);
}

#header .bottom-menu,
#header .menu ul ul,
#header .menu ul li:hover,
#header .menu a:hover {
    border-radius: var(--border-radius);
}

#header .menu {
    width: unset;
}

#header .currency {
    padding: 4px;
    text-align: left;
}

#header .phone-container a {
    color: #3d3bff;
    font-weight: bold;
    font-size: 16px;
    text-decoration: none;
}

#header img.logo {
    width: 180px;
}

#header .header-desktop {
    display: block;
    width: 100%;
    height: auto;
    margin: 0;
}

#header .header-row {
    display: grid;
    grid-template-columns: auto minmax(0, 1fr);
    align-items: center;
    gap: 24px;
    width: 100%;
}

#header .header-main {
    width: 100%;
    margin: 0;
    background-color: transparent;
}

#header .header-brand {
    display: flex;
    align-items: center;
    justify-content: flex-start;
    min-width: 0;
}

#header .header-brand a {
    display: flex;
    align-items: center;
}

#header .header-main .menu {
    position: relative;
    width: 100% !important;
    padding-right: 44px;
}

#header .header-main .nav {
    min-width: 0;
}

#header .header-main .menu ul.nav-center {
    display: flex;
    align-items: center;
    justify-content: flex-start;
    flex-wrap: nowrap;
    width: 100%;
}

#header #samo-link-to-page {
    position: absolute;
    top: 50%;
    right: 8px;
    width: 30px;
    min-height: 30px;
    transform: translateY(-50%);
    z-index: 3;
}

#header #samo-link-to-page a {
    position: static;
    display: block;
    width: 30px;
    height: 30px;
    margin: 0;
}

#header .header-main .menu li {
    display: block;
}

#header .header-main .menu li a {
    white-space: nowrap;
}

#header .header-meta {
    display: flex;
    align-items: flex-start;
    justify-content: flex-end;
    gap: 16px;
    margin-top: 12px;
}

#header .header-meta .note-header {
    margin: 0;
}

#header .high-menu .logo {
    max-height: none;
}

#header .high-menu {
    width: 100%;
    margin: 0;
    height: auto;
    display: block;
}

#header .high-menu .bottom-menu {
    background-color: transparent;
    margin: 0;
}

#header .menu,
#header .currency {
    background-color: var(--menu-bgcolor);
    border-radius: var(--border-radius);
}

#header .menu {
    padding: 0 5px;
}

#header .currency td,
#header .currency th {
    margin: unset !important;
    padding: unset !important;
    width: unset !important;
    height: unset !important;
    min-width: unset !important;
    min-height: unset !important;
}

/*
#header .bottom-menu {
    border-radius: 8px;
    background-color: unset;
}


#header .menu ul {
    background-color:  unset;
}

#header .menu ul ul li {
	 background-color: rgba(208, 223, 237, .4);
}
*/

.samo_container div.logon-wrapper div.panel,
.samo_container div.logon-wrapper.person div.panel,
.samo_container button,
.samo_container input[type='submit'],
.samo_container input[type='button'],
.samo_container .link.button,
.samo_container .panel {
    box-shadow: unset;
}

.slider {
    max-width: var(--main-container-width) !important;
}

.obertka_kursi_slider {
    display: flex;
    position: relative;
    margin-bottom: 40px;
}

.slider__item {
    flex: 0 0 100%;
    max-width: 100%;
}

.slider__item>div {
    width: 100%;
}

.slider__item>div img {
    width: 100%;
    object-fit: fill;
    height: 100%;
}

.slider__wrapper {
    border-radius: var(--border-radius);
}

.slider__items {
    counter-reset: slide;
}

.slider__item {
    counter-increment: slide;
}

.slider__item>div::before {
    content: counter(slide);
    position: absolute;
    top: 10px;
    right: 20px;
    color: #fff;
    font-style: italic;
    font-size: 32px;
    font-weight: bold;
}

body {
    display: flex;
    flex-direction: column;
    min-height: 100vh;
    height: 100%;
    font-family: "EuclidCircularA-Medium", sans-serif;
    animation: fade-in .2s forwards ease-in-out;
    /* background-image : var(--bg-gradient); */
    background-color: #E8EFFF;
    background-image: url(/ownuploads/backimage.png);
    background-position-x: center;
    background-position-y: top;
    background-size: 100% auto;
    background-repeat: no-repeat;
    position: relative;
}

/*
#header {
    text-align: left;
    margin: 10px;
    display: flex;
    align-items: center;
    justify-content: space-between;
}
*/

/*
#header .search {
    padding: 10px 15px 10px 40px;
    border-radius: 50px;
    border: 2px solid #6D4896;
    position: relative;
    width: 200px;
    margin: 0px 10px;
}

#header .search img {
    position: absolute;
    top: 50%;
    left: 10px;
    transform: translateY(-50%);
    width: 20px;
    height: 20px;
}

#header .search input {
    font-size: 15px;
    font-family: "EuclidCircularA-Medium", sans-serif;
    letter-spacing: 0.02em;
    color: #323234;
    border: none;
    outline: none;
}
*/
.wrapper {
    max-width: 1200px;
    margin: 0 auto;
    width: 100%;
    z-index: 1000;
}

.wrapper.inline {
    display: flex;
    align-items: center;
}

.wrapper.inline.space-between {
    justify-content: space-between;
}

.samo_container {
    width: 100%;
    margin-top: 0px;
}

.header-navigation {
    position: sticky;
    left: 0;
    top: 0;
    bottom: 0;
    width: 100%;
    display: flex;
    align-items: center;
    justify-content: space-between;
    background-color: #fff;
    border-top: 1px solid #C4C4C4;
    border-bottom: 1px solid #C4C4C4;
    flex-wrap: wrap;
    z-index: 1000;
}

.header-navigation a,
.header-navigation span {
    white-space: nowrap;
    cursor: pointer;
    display: inline-block;
    padding: 12px 15px;
    transition: .3s;
    text-decoration: none;
    font-family: "EuclidCircularA-Medium", sans-serif;
    color: #323234;
    font-size: 15px;
    border-radius: 3px;
    z-index: 1;
}

.header-navigation span {
    padding: 12px 25px 12px 15px;
}

.header-navigation a:hover,
.header-navigation span:hover {
    transition: .3s;
    background-color: #FEE5EC;
}

.header-navigation .header-navigation-item {
    position: relative;
    transition: .5s;
    border-radius: 4px;
    z-index: 1000;
}

.header-navigation .header-navigation-item-inner {
    position: absolute;
    top: calc(100% - 2px);
    left: 0;
    opacity: 0;
    transition: .1s;
    transform: scaleY(0);
    transform-origin: top;
    background-color: #EFD5E7;
    border-radius: 0px 4px 4px 4px;
    display: flex;
    flex-direction: column;
    z-index: 1000;
}

.header-navigation .header-navigation-item:hover .header-navigation-item-inner,
.header-navigation .header-navigation-item {
    opacity: 1;
    transform: scaleY(1);
    transition: .1s;
}

.header-navigation .header-navigation-item:hover {
    background-color: #EFD5E7;
    transition: .2s;
}

span.triangle {
    position: relative;
}

span.triangle:after {
    content: '';
    position: absolute;
    top: 50%;
    right: 10px;
    border: 4px solid transparent;
    border-top: 4px solid rgba(0, 0, 0, .7);
    transform-origin: center;
    transform: translateY(-50%) rotate(-90deg);
    transition: .1s;
    z-index: 1000;
}

.header-navigation .header-navigation-item:hover span.triangle:after {
    transform: translateY(calc(-50% + 3px)) rotate(0deg);
    transition: .1s;
}

footer {
    margin-top: auto;
    background-color: #6D4896;
    padding: 20px;
    display: flex;
    align-items: center;
    justify-content: space-evenly;
    color: #fff;
}

footer img {
    object-fit: cover;
    height: 13px;
    margin: 0px 7px;
}

footer a {
    color: #fff;
    font-size: 14px;
    letter-spacing: .03em;
    text-decoration: none;
    font-family: "EuclidCircularA-Regular", sans-serif;
}

#search_tour {
    display: inline-block;
    width: 100%;
    padding: 50px 0px;
    /*
	background-image: url('../pict/main-bg.png');
    background-position: 0 0;
    background-size: cover;
    background-repeat: no-repeat;
	*/
}

td,
th {
    font-weight: normal !important;
    /* padding: 10px 3px !important; */
    border: none !important;
    letter-spacing: 0.02em;
    font-family: "EuclidCircularA-Regular", sans-serif !important;
}


.price_legend td {
    padding: 10px 0px !important;
}

.samo_container .hotel_availability_img {
    width: 32px
}

table {
    border-radius: 5px;
    /* overflow: hidden;*/
}

.samo_container fieldset legend {
    background-color: #FFFFFC;
    font-weight: normal;
    font-family: "EuclidCircularA-Regular", sans-serif;
}

.search-tour-conatiner {
    background-color: #fff;
    padding: 15px 20px !important;
    border-radius: 10px;
    display: inline-block;
}

.resultset {
    /*margin: 40px !important;*/
    margin-top: 40px;
    margin-left: auto;
    margin-right: auto;
}

.resultset .res {
    animation: fade-in .5s forwards ease-in-out;
}

.search-tour-form-item {
    display: flex;
    align-items: center;
    justify-content: space-between;
    margin: 0px 5px;
    padding: 5px 0px;
}

.search-tour-form-item span:first-letter {
    text-transform: uppercase;
}

.chosen-container-active.chosen-with-drop .chosen-single {
    /*border: none;*/
    background-image: none;
    box-shadow: none;
    background-color: #fff;
}

.chosen-container-single .chosen-single {
    padding: 0 0 0 8px;
    height: auto;
    /*border: none;*/
    border-radius: 5px;
    background-color: #fff;
    background: none;
    /*box-shadow: none;*/
    color: #444;
}

.NIGHTS_FROM_chosen {
    width: auto !important;
}

.NIGHTS_TILL_chosen {
    width: auto !important;
}


.chosen-container {
    background-color: #fff;
    border-radius: 8px;
    min-width: 100px;
    /*! padding: 5px; for test */
}

.chosen-container .chosen-drop {
    position: absolute;
    border: none;
    background: #fff;
}

.search-tour-container {
    padding: 5px;
    background-color: #CD2682;
    font-family: "EuclidCircularA-Regular";
    display: flex;
    align-items: flex-start;
    flex-wrap: wrap;
    border-radius: 10px;
    margin-bottom: 10px;
}

.search-tour-container.column {
    flex-direction: column;
}

.search-tour-container-span {
    font-family: "EuclidCircularA-Regular";
    font-size: 14px;
    width: 220px;
    text-align: right;
    margin-right: 15px;
}

.search-tour-container-select {
    width: 100%;
}

.search-tour-container-item {
    width: calc(50% - 20px);
    margin: 10px;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
}

.search-tour-container-line {
    display: flex;
    justify-content: space-between;
    max-width: 100%;
}

.samo_container button.Zebra_DatePicker_Icon {
    top: 50% !important;
    right: 5px;
    transform: translateY(-50%);
}

.samo_container input.date {
    height: 34px;
    padding: 5px 10px;
}

.samo_container select,
.samo_container textarea,
.samo_container .textinput,
.samo_container input.frm-value,
.samo_container input.frm-input {
    border: none;
    border-radius: 3px;
    outline: none;
}

#search_tour .child_ages .chosen-container {
    margin: 0px 5px;
}

.samo_container input {
    margin: 0;
}

#search_tour input.hotelsearch {
    width: 130px;
}

.samo_container table.res {
    border-radius: 5px;
    overflow: auto;
}

#search_tour .child_ages {
    width: auto;
    padding: 0px 10px 10px 10px;
}

#search_tour .child_ages .search-tour-container-span {
    display: block;
    margin-bottom: 10px;
    padding: 0px 5px;
    width: auto;
    text-align: left;
}


/* Стилизация курсов валют: */

.show-currency {
    display: flex;
    flex-direction: column;
}

.show-currency-item {
    display: flex;
    align-items: center;
    justify-content: space-between;
    margin: 3px 0px;
}

.show-currency-item span {
    font-size: 15px;
}

.show-currency-key {
    margin-right: 10px;
    font-weight: bold;
}

.search-tour-caption {
    width: 100%;
    font-size: 15px;
    text-align: left;
    padding: 0px 22px;
}

.search-tour-caption .attention {
    color: red;
    font-size: 16px;
    display: block;
}

.search-tour-caption ul {
    list-style: none;
    margin: 5px 0px;
    padding: 0px 0px;
    line-height: 23px;
}

.obertka_kursi_slider {
    display: flex;
    position: relative;
}

/*modal*/
#modal-overlay,
.page-overlay {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.6);
    display: flex;
    justify-content: center;
    align-items: center;
    z-index: 1000;
}

#modal-window {
    width: 40%;
    background: #fff;
    border-radius: 10px;
    overflow: hidden;
    display: flex;
    flex-direction: column;
    z-index: 1001;
    position: relative;
}

#modal-header {
    padding: 10px;
    background: var(--table-header-bgcolor);
    color: #fff;
    display: flex;
    justify-content: space-between;
    align-items: center;
}

#modal-title {
    font-size: 16px;
}

#modal-close {
    cursor: pointer;
    background: url(data:image/svg+xml;charset=US-ASCII,%3Csvg%20xmlns%3D%22http%3A//www.w3.org/2000/svg%22%20width%3D%2212%22%20height%3D%2212%22%3E%3Cpath%20d%3D%22M11%201L1%2011M1%201l10%2010%22%20fill%3D%22none%22%20fill-rule%3D%22evenodd%22%20stroke%3D%22%23FFF%22%20stroke-linecap%3D%22round%22%20stroke-linejoin%3D%22round%22%20stroke-width%3D%221.9%22/%3E%3C/svg%3E) center no-repeat;
    z-index: 3;
    position: relative;
    display: inline-block;
    padding: 10px;
    margin: 0;
    border: 0;
    -webkit-transition: opacity .3s;
    -o-transition: opacity .3s;
    transition: opacity .3s;
    opacity: .6;
    -webkit-appearance: none;
    outline: 0;
    cursor: pointer;
}

#modal-close:hover {
    opacity: 1;
}

#modal-content {
    padding: 20px;
    overflow-y: auto;
}

/*content*/
.refer_modal-container {
    display: grid;
    gap: 20px;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    background-color: #fff;
    color: #444;
    justify-items: center;
}

.refer_modal-container--item {
    display: flex;
    flex-direction: column;
    background-color: #999;
    color: #fff;
    cursor: pointer;
    align-items: center;
    gap: 20px;
    padding: 10px;
    max-width: 200px;
}

#header .mobile-menu-container {
    display: none;
    width: 100%;
    text-align: left;
}

.mobile_meni,
#myMenu {
    display: none !important;
}

body.mobile-menu-open {
    overflow: hidden;
}

.mobile-menu-bar {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 12px;
    width: 100%;
    text-align: left;
}

.mobile-menu-logo {
    display: flex;
    align-items: center;
    justify-content: flex-start;
    flex: 1 1 auto;
    min-width: 0;
}

.mobile-menu-logo a {
    display: flex;
    align-items: center;
    justify-content: flex-start;
    flex: 0 1 auto;
    width: auto;
    max-width: 100%;
}

.mobile-menu-logo img {
    display: block;
    width: 168px;
    max-width: 100%;
    max-height: 64px;
    height: auto;
}

.mobile-menu-logo img.logo {
    float: none !important;
    margin-right: 0;
}

.mobile-menu-toggle {
    display: inline-flex;
    flex-direction: column;
    justify-content: center;
    gap: 5px;
    width: 68px;
    height: 68px;
    margin-left: 0;
    flex: 0 0 auto;
    padding: 0;
    border: 1px solid var(--mobile-menu-border);
    border-radius: 18px;
    background: var(--mobile-menu-surface);
    box-shadow: var(--mobile-menu-shadow);
    cursor: pointer;
}

.mobile-menu-toggle span {
    display: block;
    width: 30px;
    height: 4px;
    margin: 0 auto;
    border-radius: 999px;
    background: #1e2a4a;
    transition: transform .2s ease, opacity .2s ease;
}

#header.is-mobile-menu-open .mobile-menu-toggle span:nth-child(1) {
    transform: translateY(7px) rotate(45deg);
}

#header.is-mobile-menu-open .mobile-menu-toggle span:nth-child(2) {
    opacity: 0;
}

#header.is-mobile-menu-open .mobile-menu-toggle span:nth-child(3) {
    transform: translateY(-7px) rotate(-45deg);
}

.mobile-menu-panel {
    position: absolute;
    top: calc(100% + 10px);
    left: 0;
    right: 0;
    z-index: 1100;
    box-sizing: border-box;
    padding: 0;
    opacity: 0;
    pointer-events: none;
    transition: opacity .22s ease;
}

.mobile-menu-panel[hidden] {
    display: none;
}

.mobile-menu-panel-inner {
    margin-left: auto;
    width: min(520px, calc(100vw - 16px));
    max-height: calc(100vh - 110px);
    overflow-y: auto;
    padding: 16px 16px 18px;
    border: 1px solid var(--mobile-menu-border);
    border-radius: 20px;
    background: rgba(255, 255, 255, 0.98);
    box-shadow: var(--mobile-menu-shadow);
    backdrop-filter: blur(8px);
    box-sizing: border-box;
    transform: translateY(16px);
    transition: transform .26s ease, opacity .22s ease;
}

.mobile-menu-panel-head {
    display: flex;
    align-items: flex-start;
    justify-content: space-between;
    gap: 20px;
    min-width: 0;
    min-height: 100px;
    border-bottom: 1px solid rgba(22, 31, 61, 0.08);
    box-sizing: border-box;
}

.mobile-menu-panel-logo {
    display: flex;
    align-items: center;
    justify-content: flex-start;
    min-width: 0;
    min-height: 68px;
    flex: 1 1 auto;
}

.mobile-menu-panel-logo a {
    display: flex;
    align-items: center;
    min-height: 68px;
}

.mobile-menu-panel-logo img,
.mobile-menu-panel-logo img.logo {
    display: block;
    float: none !important;
    width: 176px;
    max-width: 100%;
    height: auto;
    margin-right: 0;
}

.mobile-menu-panel-close {
    position: relative;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-width: 68px;
    min-height: 68px;
    border: 1px solid var(--mobile-menu-border);
    border-radius: 18px;
    background: #ffffff;
    box-shadow: 0 10px 24px rgba(22, 31, 61, 0.12);
    cursor: pointer;
    z-index: 1;
    box-sizing: border-box;
}

.mobile-menu-panel-close span {
    position: absolute;
    width: 28px;
    height: 4px;
    border-radius: 999px;
    background: #1e2a4a;
}

.mobile-menu-panel-close span:first-child {
    transform: rotate(45deg);
}

.mobile-menu-panel-close span:last-child {
    transform: rotate(-45deg);
}

.mobile-menu-list {
    list-style: none;
    margin: 0;
    padding: 0;
}

.mobile-menu-item {
    border-bottom: 1px solid rgba(22, 31, 61, 0.08);
}

.mobile-menu-item:last-child {
    border-bottom: none;
}

.mobile-menu-item>a,
.mobile-menu-subtoggle {
    display: flex;
    align-items: center;
    justify-content: space-between;
    width: 100%;
    padding: 16px 0;
    border: 0;
    background: transparent;
    color: #1e2a4a;
    font-family: "EuclidCircularA-Medium", sans-serif;
    font-size: 16px;
    line-height: 1.35;
    text-align: left;
    text-decoration: none;
    cursor: pointer;
    box-sizing: border-box;
}

.mobile-menu-subtoggle::after {
    content: "";
    width: 10px;
    height: 10px;
    border-right: 2px solid currentColor;
    border-bottom: 2px solid currentColor;
    transform: rotate(45deg);
    transition: transform .2s ease;
}

.mobile-menu-subtoggle[aria-expanded="true"]::after {
    transform: rotate(225deg);
}

.mobile-submenu {
    list-style: none;
    margin: 0;
    padding: 0 0 0 14px;
    overflow: hidden;
    max-height: 0;
    opacity: 0;
    pointer-events: none;
    transition: max-height .24s ease, opacity .18s ease, margin .18s ease;
}

.mobile-submenu.is-open {
    margin: 8px 0 16px;
    max-height: 520px;
    opacity: 1;
    pointer-events: auto;
}

.mobile-submenu li+li {
    margin-top: 10px;
}

.mobile-submenu a {
    color: #46506d;
    text-decoration: none;
}

.mobile-menu-meta {
    margin-top: 18px;
    display: grid;
    gap: 18px;
}

.mobile-menu-account,
.mobile-menu-currency {
    padding: 16px;
    border: 1px solid rgba(22, 31, 61, 0.08);
    border-radius: 16px;
    background: rgba(232, 239, 255, 0.5);
}

.mobile-menu-account-title {
    color: #1e2a4a;
    font-family: "EuclidCircularA-Bold", sans-serif;
    font-size: 16px;
}

.mobile-menu-account-subtitle {
    margin-top: 6px;
    color: #46506d;
    font-size: 14px;
}

.mobile-menu-action {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    margin-top: 14px;
    padding: 10px 14px;
    border-radius: 12px;
    background: #ffffff;
    color: #1e2a4a;
    text-decoration: none;
}

.mobile-menu-action-accent {
    color: #b03052;
}

.mobile-menu-currency {
    overflow-x: auto;
}

.mobile-menu-currency .currency {
    min-width: 260px;
}

.page-overlay#overlay {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.65);
    z-index: 9999;
    animation: fade .6s;
    overflow: auto;
}

.page-overlay[hidden] {
    display: none;
}

.popup {
    top: 15%;
    left: 0;
    right: 0;
    position: absolute;
    width: 85%;
    min-width: 320px;
    max-width: 600px;
    margin: auto;
    padding: 5px 15px;
    border: 1px solid #383838;
    border-radius: 15px;
    box-shadow: 0 15px 20px rgba(0, 0, 0, .22), 0 19px 60px rgba(0, 0, 0, .3);
    font: 14px/18px Tahoma, Arial, sans-serif;
    z-index: 1000;
    animation: fade .6s;
}

.popup h2,
.popup h3 {
    margin: 0 0 1rem;
    color: #009032;
    font-weight: 300;
    line-height: 1.3;
    text-shadow: 1px 2px 4px #ddd;
}

.close {
    position: absolute;
    top: 10px;
    right: 10px;
    width: 32px;
    height: 32px;
    border: none;
    border-radius: 50%;
    background-color: rgba(255, 0, 231, 0.9);
    box-shadow: 0 2px 5px rgba(0, 0, 0, 0.16), 0 2px 10px rgba(0, 0, 0, 0.12);
    cursor: pointer;
    outline: none;
}

.close::before {
    content: "X";
    color: rgba(255, 255, 255, 0.9);
    font-family: Arial, Helvetica, sans-serif;
    font-size: 14px;
    text-decoration: none;
    text-shadow: 0 -1px rgba(0, 0, 0, 0.9);
    transition: all .5s;
}

.close:hover {
    background-color: rgba(252, 20, 0, 0.8);
}

.popup img {
    width: 100%;
    height: auto;
    border-radius: 15px;
    box-shadow: 0 2px 5px rgba(0, 0, 0, 0.16), 0 2px 10px rgba(0, 0, 0, 0.12);
}


.samo_container .searchmodes .searchmode, 
.samo_container .searchmodes .searchmode-custom {
	border-radius: 8px;
	margin-bottom: 8px;
	border: none;
}


.samo_container .searchmodes .searchmode_button
 {
	background: royalblue;
	color: var(--color-white);
	box-shadow: unset;
	padding: 10px 15px;
}

.samo_container .searchmodes .searchmode_selected {
	padding: 10px 15px;
}

.samo_container .searchmodes .searchmode:not(:first-child), 
.samo_container .searchmodes .searchmode-custom:not(:first-child) {
	margin-left: 6px;
}

@media (max-width: 980px) {
    body {
        min-height: 100dvh;
        background-position: center top;
        background-size: cover;
        background-repeat: no-repeat;
    }

    #header {
        display: flex;
        flex-direction: column;
        position: relative;
        width: 100%;
        min-width: 100%;
        max-width: 100%;
        margin: 0;
        margin-bottom: 18px;
        padding: 14px 16px 0;
        box-sizing: border-box;
        text-align: left;
    }

    #header .header-desktop {
        display: none !important;
    }

    #header .mobile-menu-container {
        display: flex !important;
        flex-direction: column;
        gap: 12px;
        width: 100%;
        max-width: 100%;
    }

    .mobile-menu-bar {
        display: flex;
        align-items: center;
        justify-content: space-between;
        width: 100%;
    }

    #header.is-mobile-menu-open .mobile-menu-toggle {
        visibility: hidden;
        opacity: 0;
        pointer-events: none;
    }

    .mobile-menu-panel {
        position: fixed;
        inset: 0;
        top: 0;
        right: 0;
        bottom: 0;
        left: 0;
        display: flex;
        align-items: stretch;
        justify-content: stretch;
        width: 100%;
        max-width: none;
        overflow: hidden;
        padding: 0;
    }

    .mobile-menu-panel-inner {
        margin-left: 0;
        width: 100%;
        min-width: 100%;
        max-width: 100%;
        min-height: 100dvh;
        max-height: 100dvh;
        border-radius: 0;
        display: flex;
        flex-direction: column;
        overflow-y: auto;
        overflow-x: hidden;
        padding: 24px 40px 30px 28px;
        scrollbar-gutter: stable;
    }

    #header.is-mobile-menu-open .mobile-menu-panel {
        opacity: 1;
        pointer-events: auto;
    }

    #header.is-mobile-menu-open .mobile-menu-panel-inner {
        transform: translateY(0);
    }

    .mobile-menu-item>a,
    .mobile-menu-subtoggle {
        padding: 24px 18px 24px 10px;
        font-size: 40px;
        line-height: 1.2;
    }

    .mobile-menu-subtoggle::after {
        width: 20px;
        height: 20px;
        border-right-width: 4px;
        border-bottom-width: 4px;
    }

    .mobile-submenu {
        margin: 6px 0 20px;
        padding: 0 0 0 20px;
    }

    .mobile-submenu li+li {
        margin-top: 16px;
    }

    .mobile-submenu a {
        display: block;
        font-size: 30px;
        line-height: 1.35;
    }

    .mobile-menu-account,
    .mobile-menu-currency {
        padding: 24px 28px 24px 24px;
    }

    .mobile-menu-account-title {
        font-size: 34px;
        line-height: 1.3;
    }

    .mobile-menu-account-subtitle {
        font-size: 26px;
        line-height: 1.35;
    }

    .mobile-menu-action {
        min-height: 56px;
        padding: 16px 20px;
        font-size: 24px;
    }

    #header .mobile-menu-logo img,
    #header .mobile-menu-logo img.logo {
        float: none !important;
        width: 176px;
        max-width: 100%;
        max-height: 68px;
        margin-right: 0;
    }

    .note-header {
        margin: 12px 0 0;
    }
}

@media (max-width: 480px) {
    .mobile-menu-panel {
        inset: 0;
        top: 0;
        right: 0;
        bottom: 0;
        left: 0;
    }

    .mobile-menu-panel-inner {
        min-height: 100dvh;
        max-height: 100dvh;
        padding: 26px 44px 30px 30px;
    }

    .mobile-menu-item>a,
    .mobile-menu-subtoggle {
        font-size: 40px;
        padding: 26px 0;
    }

    .mobile-submenu a {
        font-size: 30px;
    }

    .mobile-menu-account-title {
        font-size: 34px;
    }

    .mobile-menu-account-subtitle,
    .mobile-menu-action {
        font-size: 26px;
    }
}

@media (min-width: 981px) {
    #div_logout {
        width: var(--main-container-width);
        margin-left: auto;
        margin-right: auto;
    }

    #header .mobile-menu-container {
        display: none !important;
    }

    #header .header-desktop {
        display: block !important;
    }
}
