#asptt-header-container {
	position: relative;
}

.asptt-header {
	display: flex;
	justify-content: space-between;
	align-items: stretch;
	z-index: 99999;
	position: relative;
	background: white;
	padding-top: 30px;
	padding-bottom: 30px;
	box-sizing: border-box;
}

/* --- */

.asptt-header-logo {
	display: flex;
	align-items: center;
	padding-left: 32px;
	padding-right: 52px;
}
.asptt-header-logo img {
	max-width: 168px;
	max-height: 100px;
}

.asptt-header-buttons {
	display: flex;
}

.asptt-header-button {
	background: #fff;
	height: 80px;
	width: 80px;
	border: none;
	outline: none;
	cursor: pointer;
	display: flex;
	flex-direction: column;
	align-items: center;
	justify-content: center;
	transition: background 0.3s;
	-webkit-border-radius: 7px;
	-moz-border-radius: 7px;
	border-radius: 7px;
}
.asptt-header-button:hover {
	background: var(--asptt-header-button-hover);
}
.asptt-header-button span {
	font-size: 11px;
	font-weight: bold;
	color: var(--e-global-color-primary);
	text-transform: uppercase;
}

.asptt-header-button-myasptt {
	margin-right: 25px;
}

.asptt-header-button-menu span {
	margin-top: 2px;
}

.asptt-header-button-menu-close,
.asptt-header-button-menu {
	background: var(--e-global-color-primary);
}
.asptt-header-button-menu-close:hover,
.asptt-header-button-menu:hover {
	background: var(--asptt-primary-hover);
}
.asptt-header-button-menu-close .fa-xmark,
.asptt-header-button-menu-close span,
.asptt-header-button-menu .fa-bars,
.asptt-header-button-menu span {
	color: white;
}
.asptt-header-button-search .fa-magnifying-glass {
	font-size: 28px;
}
.asptt-header-button-menu-close .fa-xmark,
.asptt-header-button-menu .fa-bars {
	font-size: 38px;
}

.asptt-header-button-menu-close {
	display: none;
}

/* ----- */

.asptt-header-search-form {
	display: flex;
	width: 100%;
	max-width: 600px;
	margin-bottom: 0;
	background-color: #eeeeee;
	-webkit-border-radius: 6px;
	-moz-border-radius: 6px;
	border-radius: 6px;
	overflow: hidden;
	margin-right: 44px;
	height: 80px;
}

.asptt-header-search-form .search-field {
	background-color: #eeeeee;
	-webkit-border-radius: 4px;
	-moz-border-radius: 4px;
	border-radius: 4px;
}

.asptt-header-search-form input[name="s"] {
	display: block;
	height: 80px;
	width: 100%;
	padding: 0;
	border: 0;
	margin: 0;
	border-radius: 0;
	font-size: 16px;
	line-height: 140%;
	font-weight: 400;
	outline: none;
	padding: 0 37px;
	font-size: 15px;
}

.asptt-header-search-form input[name="s"]::-webkit-input-placeholder {
	/* Edge */
	color: #b2b2b2;
	font-size: 15px;
}

.asptt-header-search-form input[name="s"]:-ms-input-placeholder {
	/* Internet Explorer 10-11 */
	color: #b2b2b2;
	font-size: 15px;
}

.asptt-header-search-form input[name="s"]::placeholder {
	color: #b2b2b2;
	font-size: 15px;
}

.asptt-header-search-form button {
	aspect-ratio: 1/1;
	height: 100%;
	width: auto;
	display: block;
	padding: 0;
	border: 0;
	margin: 0;
	border-radius: 0;
	display: flex;
	align-items: center;
	justify-content: center;
	cursor: pointer;
	outline: none;
	max-width: 70px;
}

.asptt-header-search-form button i {
	font-size: 22px;
	color: var(--e-global-color-primary);
}

/* ---- */

.asptt-header-sliding-menu {
    position:absolute;    
    left:0;
    right: 0;
    margin: auto;
    z-index:9999;
    transform:translateY(-100%);
    padding:30px 60px 60px 60px;
    top: 100%;
    height: 450px;
    overflow: hidden;
    display:none;
    background-color: var(--e-global-color-primary);
}
.asptt-header-sliding-menu::-webkit-scrollbar {
	width: 10px;
	background: var(--asptt-header-scrollbar-background);
}

.asptt-header-sliding-menu::-webkit-scrollbar-thumb {
	background-color: var(--asptt-global-color-primary-light);
}
.asptt-header-sliding-menu.menu-init {
	transition: transform 0.3s;
	display: flex;
    flex-direction: column;
}
.asptt-header-sliding-menu.menu-visible {
	transform: translateY(0);

	-webkit-box-shadow: 0px 14px 11px -4px rgba(0, 0, 0, 0.36);
	box-shadow: 0px 14px 11px -4px rgba(0, 0, 0, 0.36);
}

/* ---- */

.asptt-header-sliding-menu-wrapper {
	display: flex;
	overflow: hidden;
	position: relative;
	align-items: flex-start;
	height: 100%;
}

.asptt-header-sliding-menu-submenu {
	padding-left: 20px;
	height: 100%;
}

.asptt-header-sliding-menu-submenu,
.asptt-header-sliding-menu-content {
	width: 50%;
    max-height: 100%;
    overflow: auto;
}
.asptt-header-menu-wrapper > ul {
	padding: 0;
	margin: 0;
	list-style: none;
	transition: transform 0.3s;
	height: 100%;
}
@media (min-width: 1000px) {
	.asptt-header-menu-wrapper > ul {
		overflow: auto;
	}
}
.asptt-header-menu-wrapper > ul::-webkit-scrollbar {
	width: 10px;
	background: var(--asptt-header-scrollbar-background);
}

.asptt-header-menu-wrapper > ul::-webkit-scrollbar-thumb {
	background-color: var(--asptt-global-color-primary-light);
}
.asptt-header-menu-wrapper ul.hide {
	transform: translateX(-100%);
}
.asptt-header-menu-wrapper ul ul.sub-menu.hide {
	transform: translateX(0);
}
.asptt-header-menu-wrapper > ul li {
	display: flex;
	align-items: stretch;
	border-bottom: 1px solid white;
	font-size: 14px;
}
.asptt-header-menu-wrapper > ul li .asptt-open-sub-menu {
	margin-left: auto;
	color: white;
	background: var(--e-global-color-9e6f959);
	padding: 0 20px;
	display: flex;
	cursor: pointer;
	align-items: center;
	transition: background 0.3s;
}
.asptt-header-menu-wrapper > ul li .asptt-open-sub-menu:hover {
	background: white;
	color: var(--e-global-color-9e6f959);
}

.asptt-header-menu-wrapper > ul li .asptt-open-sub-menu-close,
.asptt-header-menu-wrapper > ul li.asptt-open-sub-menu-close,
.asptt-header-menu-wrapper > ul li a {
	color: white;
	text-decoration: none;
	padding: 20px 10px;
	transition: background 0.3s;
	cursor: pointer;
	width: 100%;
	font-size: 15px;
	font-weight: bold;
	display: flex;
	align-items: center;
	justify-content: flex-start;
	gap: 15px;
}
.asptt-header-menu-wrapper > ul li .asptt-open-sub-menu-close:hover,
.asptt-header-menu-wrapper > ul li.asptt-open-sub-menu-close:hover,
.asptt-header-menu-wrapper > ul li a:hover {
	background: rgba(0, 0, 0, 0.08);
}
body.theme-main-color--black .asptt-header-menu-wrapper > ul li .asptt-open-sub-menu-close:hover,
body.theme-main-color--black .asptt-header-menu-wrapper > ul li.asptt-open-sub-menu-close:hover,
body.theme-main-color--black .asptt-header-menu-wrapper > ul li a:hover {
	background: var(--asptt-global-color-primary-light);
}

.asptt-header-menu-wrapper > ul li.asptt-open-sub-menu-close,
.asptt-header-menu-wrapper > ul li .asptt-open-sub-menu-close {
	display: flex;
	gap: 5px;
	align-items: center;
}
.asptt-header-menu-wrapper > ul li .asptt-open-sub-menu-close span {
	font-weight: 700;
}

.asptt-header-menu-wrapper > ul li.asptt-open-sub-menu-title,
.asptt-open-sub-menu-title {
	padding: 20px 10px;
	color: white;
	font-weight: 700;
	text-align: center;
	text-transform: uppercase;
	justify-content: center;
	gap: 10px;
	align-items: center;
}

.asptt-header-sliding-menu-content .asptt-header-menu-wrapper ul.sub-menu {
	position: absolute;
	top: 0;
	width: 100%;
	left: 0;
	transform: translateX(-100%);
	transition: all 0.3s;
	padding: 0;
	margin: 0;
	list-style: none;
}
.asptt-header-sliding-menu-content .asptt-header-menu-wrapper ul.sub-menu.show {
	transform: translateX(0);
	left: 100%;
}
.asptt-header-menu-wrapper ul.sub-menu > li > a {
	color: white;
}

.asptt-header-sliding-menu-submenu .submenu-depth-0 .asptt-open-sub-menu-close,
.asptt-header-sliding-menu-submenu .asptt-open-sub-menu-title,
.asptt-header-sliding-menu-submenu ul ul {
	display: none;
}

/*.asptt-header-sliding-menu-image{
    width:50%;
    text-align:center;
    padding-left: 60px;
}*/

/* ---- */

.asptt-header-sliding-menu-top {
	margin-bottom: 30px;
	display: flex;
	justify-content: flex-start;
	gap: 10px;
}

.asptt-header-sliding-menu-top nav ul {
	padding: 0;
	margin: 0;
	display: flex;
	gap: 30px;
}
.asptt-header-sliding-menu-top nav ul li {
	list-style: none;
	display: flex;
}
.asptt-header-sliding-menu-top nav ul li a,
.asptt-header-sliding-menu-top a.menu-item.menu-item-type-post_type {
	color: white;
	padding: 10px 16px;
	font-size: 14px;
	text-decoration: none;
	transition: all 0.2s;
	background: var(--e-global-color-9e6f959);
}
.asptt-header-sliding-menu-top nav ul li a:hover,
.asptt-header-sliding-menu-top a.menu-item.menu-item-type-post_type:hover {
	background: white;
	padding: 10px 16px;
	color: var(--e-global-color-9e6f959);
}

@media (max-width: 900px) {
	.asptt-header-search-form input[name="s"] {
		padding-right: 0;
	}
}
@media (max-width: 1000px) {
	.asptt-header-sliding-menu-submenu {
		display: none;
	}
	.asptt-header-sliding-menu-submenu,
	.asptt-header-sliding-menu-content {
		width: 100%;
	}
}
@media (max-width: 800px) {
    #asptt-header-container {
        display: flex;
        flex-direction: column;
    }

	.asptt-header-sliding-menu-image {
		display: none;
	}
	.asptt-header-sliding-menu-content {
		width: 100%;
	}
	.asptt-header-sliding-menu-top {
		gap: 20px;
		flex-wrap: wrap;
	}

	.asptt-header-sliding-menu {
		padding: 30px var(--asptt-margin-inner) 80px var(--asptt-margin-inner);
		position: relative;
        top: unset;
        left: unset;
        right: unset;
        bottom: unset;
        height: auto;
        overflow: hidden;
        margin: unset;
        transform: none;
        display: flex;
        flex-direction: column;
	}

	body:not(.slideMenuOpened) .asptt-header-sliding-menu {
		display: none;
	}
	body.slideMenuOpened{
        overflow: hidden;
        position: fixed;
        top: 0;
        left: 0;
        right: 0;
    }
    body.slideMenuOpened #asptt-header-container{
        height: 100vh;
    }
	.asptt-header-sliding-menu-wrapper {
		min-height: 0;
	}
}

@media (max-width: 768px) {
	.asptt-header {
		padding: var(--asptt-margin-inner);
		flex-wrap: wrap;
	}
	.asptt-header-logo {
		padding-left: unset;
		padding-right: unset;
	}
	/*.asptt-header-button-search,
    .asptt-header-search-form{
        display:none;        
    }*/
	.asptt-header-search-form {
		width: 100%;
		order: 4;
		max-width: 100%;
		margin: 0;
		margin-top: 16px;
	}
	.asptt-header-logo img {
		width: 100%;
		height: auto;
	}
}

@media (max-width: 600px) {
	.asptt-header-logo {
		width: 89px;
	}
}

@media screen and (max-width: 360px) {
	.asptt-header-button-myasptt {
		display: none;
	}
}
