/*
*
*  Style-Header.css
*
*/


.header.mobile {
	position: fixed;
	width: 100%;
	z-index: 95;
	top: 0;
	background-image: linear-gradient(var(--direct-bg), var(--color-bg), var(--color-bg-2));	
}
.dark .header.mobile {
	background-image: linear-gradient(to right, var(--dark-bg), var(--dark-bg));
}

.header .site-name-logo {
	position: relative;
    padding: 10px 0;
}
.header .site-logo {
	text-align: center;
	height: 50px;
	overflow: hidden;
}
.header .site-logo img {
	height: 50px;
	width: auto;
	vertical-align: top;
}
.header .site-name h1 {
	font-size: 1.8em;
	line-height: 1;
    text-align: center;
}
.header .site-name h1 a:hover {
	text-decoration: none;
	color: var(--color-hover);
}
.dark .header .site-name h1 a:hover {
	color: var(--dark-hover);
}
.header .site-name p {
    text-align: center;
	font-size: var(--small-size);
	line-height: var(--small-height);
}

.header.mobile .site-menu {
	background-image: linear-gradient(to right, var(--menu-bg), var(--menu-bg-2));
}
.dark .header.mobile .site-menu {
	background-image: linear-gradient(to right, var(--dark-bg), var(--dark-bg-2));
}
.header.mobile .site-menu nav {
	padding: 0 15px;
    overflow-x: auto;
    font-size: 0.9em;
}
.header.mobile .site-menu nav ul{
	display: flex;
	text-wrap: nowrap;
}
.header.mobile .site-menu nav ul li{
	padding: 7px 25px 5px 0;
    display: inline-block;
}
.header.mobile .site-menu nav ul li:last-child{
	padding: 7px 15px 5px 0;
}
.header.mobile .site-menu nav ul li a{	
	color: var(--menu-link);
	font-weight: bold;
}
.dark .header.mobile .site-menu nav ul li a {
	color: var(--dark-text);
}
.header.mobile .site-menu nav ul li a[aria-current="page"]{
	color: var(--menu-hover);
}
.dark .header.mobile .site-menu nav ul li a[aria-current="page"]{
	color: var(--dark-hover);
}
.header.mobile .site-menu nav ul li a:hover {
	color: var(--menu-hover);
    text-decoration: none;
}
.dark .header.mobile .site-menu nav ul li a:hover {
	color: var(--dark-hover);
    text-decoration: none;
}

.header.mobile .site-menu nav::-webkit-scrollbar {
    height: 3px;
    width: 3px;
}
.header.mobile .site-menu nav::-webkit-scrollbar-track {
    background: rgb(from #555 r g b / 0.2);
}
.header.mobile .site-menu nav::-webkit-scrollbar-thumb {
    background: rgb(from #555 r g b / 0.5);
}
.header.mobile .site-menu nav::-webkit-scrollbar-thumb:hover {
    background: #555;
}



.header.slide { 
	position: fixed;
	z-index: 100;
	background: var(--color-bg-3);
	top: 0;
	left: -100%; 
	width: 400px;
	max-width: 100%;
	height: 100%;
	overflow-y: auto;
	transition: left 0.5s ease-in-out;
}
.dark .header.slide { 
	background: var(--dark-bg);
}
.header.slide.active {
	left: 0;
}

.header.slide .site-name-logo {
	margin: 0;
	height: 45px;
	position: relative;
	text-align: left;
	border-bottom: 1px solid var(--color-border);
}


.header.slide .site-menu {
	padding: 10px 10px 50px 20px;
}
.header.slide .site-menu nav {
	text-wrap: wrap;
	overflow: hidden;
}
.header.slide .site-menu nav ul li {
	display: block;
	padding: 5px 0;
	font-weight: bold;
}
.header.slide .site-menu nav ul li a{
	color: var(--color-text);
}
.header.slide .site-menu nav ul li a:hover{
	color: var(--color-hover);
	text-decoration: none;
}
.header.slide .site-menu nav ul li [aria-current="page"] {
	color: var(--color-link);
}
.header.slide .site-menu nav ul li ul{
	margin-left:10px; 
	padding:0;
	margin-top: 5px;
	display: block;
}
.header.slide .site-menu nav ul li ul li {	
	margin: 0;
	display: inline-block;
	width: 46%;	
	vertical-align: top;
	padding: 3px 0;
}
.header.slide .site-menu nav ul li ul li {
	font-weight: normal;
}
.footer.slide .copy-footer {
	display: block;
	padding: 30px 0;
} 
.header.slide::-webkit-scrollbar {
    height: 2px;
    width: 2px;
}
.header.slide::-webkit-scrollbar-track {
    background: rgb(from #555555 r g b / 0.2);
}
.header.slide::-webkit-scrollbar-thumb {
    background: rgb(from #555555 r g b / 0.3);
}
.header.slide::-webkit-scrollbar-thumb:hover {
    background: rgb(from #555555 r g b / 0.5);
}


/**  BURGER ICON **/

.header .site-name-logo .site-button {
	position: absolute;
	z-index: 100;
	width: 100%;
	top: 50%;
	margin-top: -14px;
}

.header .site-button .button-burger {
    position: absolute;
    left: 15px;
    z-index: 100;
}
.header .site-button:hover{
    cursor: pointer;
	text-decoration: none;
}

.header .site-button .icon {
    display: inline-block;    
}
.header .site-button .icon .sr-only {
    width: 20px;
    height: 2px;
    display: block;
    background-color: var(--color-link);
    margin: 5px 0;
    transition: 0.4s;
}
.dark .header .site-button .icon .sr-only {
	background-color: var(--dark-text);
}

.header .site-button .icon .sr-only:nth-child(2) {
    width: 17px;
}
.header .site-button .icon:hover .sr-only:nth-child(2) {
    width: 20px;
}
.header .site-button .icon .sr-only:last-child {
    width: 14px;
	margin-bottom: 4px;
}
.header .site-button .icon:hover .sr-only:last-child {
    width: 20px;
}
.header .site-button .icon.change .sr-only:first-child {
    width: 20px;
    transform: translate(0, 8px) rotate(-45deg);
}
.header .site-button .icon.change .sr-only:nth-child(2) {opacity: 0;}
.header .site-button .icon.change .sr-only:last-child {
    width: 20px;
    transform: translate(0, -6px) rotate(45deg);
}


.header.slide .site-button .button-burger {
    position: absolute;
	left: auto;
	top: 0;
    right: 10px;
    z-index: 90;
}


/**  SEARCH ICON **/

.header .site-button  .button-search {
	position: absolute;
	right: 15px;
	z-index: 100;
}
.header .site-button  .button-search:hover {
	text-decoration: none;
}

.header .site-button .btn-search {
	width: 24px;
	height: 24px;
	transition: all 0.3s ease-in-out;
	display: inline-block;
	position: relative;
	border-radius: 50%;
	border: 2px solid var(--color-link);

}
.dark .header .site-button .btn-search {
	border: 2px solid var(--dark-text);
}
.header .site-button .btn-search::before {
	content: '';
	position: absolute;
	top: 16%;
	right: 27.3%;
	width: 0;
	height: 2px;
	margin-top: 1px;
	background-color: var(--color-link);
	transform: rotate(-45deg);
	transform-origin: right top;
}
.dark .header .site-button .btn-search::before {
	background-color: var(--dark-text);
}

.header .site-button .btn-search::after {
	content: '';
	position: absolute;
	bottom: 20%;
	right: 27.3%;
	width: 27%;
	height: 2px;
	margin-top: -2px;
	background-color: var(--color-link);
	transform: rotate(45deg);
	transform-origin: right bottom;
}
.dark .header .site-button .btn-search::after {
	background-color: var(--dark-text);
}

.header .site-button .btn-search .icon {
    position: absolute;
    display: block;
    top: 17%;
    left: 19%;
    width: 50%;
    height: 50%;
    border-radius: 50%;
    border-width: 2px;
    border-style: solid;
    border-color: var(--color-link);
}
.dark .header .site-button .btn-search .icon {
    border-color: var(--dark-text);
}
.header .site-button .btn-search.change::before,
.header .site-button .btn-search.change::after {
  	width: 70%;
}
.header .site-button .btn-search.change .icon {
	width: 0;
	height: 0;
	border-color: transparent;
	border: 0;
}
.header .site-button .btn-search::before,
.header .site-button .btn-search::after,
.header .site-button .btn-search .icon {
    transition: all 0.3s ease-in-out;
}
.header .site-button .btn-search:hover {
  	cursor: pointer;
}


/**  DARKMODE ICON **/

.header .site-button .button-dark {
    width: 22px;
    height: 22px;
    background-color: #888;
    cursor: pointer;
    display: none;
    border-radius: 50%;
    padding: 5px;
	margin-top:2px;
}
.dark .header .site-button .button-dark {
    background-color: #fff;
}
.header .dark-icon .icon {
    width: 6px;
    height: 12px;
    display: block;
    background-color: #fff;
    border-radius: 12px 0 0 14px;
}
.dark .header .site-button .dark-icon .icon {
    background-color: #333;
}

.header.slide .site-button .button-dark {
    position: absolute;
    right: 30px;
    z-index: 90;
}



.header-break-amp {
    height: 100px;
}




@media screen and (min-width: 600px) {  /*768 or 992 or 1200 */

	.header.mobile .site-button .button-burger {
		position: absolute;
		/* left: 15px; */
		left: 0;
		z-index: 100;
	}
	.header.mobile .site-button  .button-search {
		position: absolute;
		/* right: 15px; */
		right: 0;
		z-index: 100;
	}




}