/***** HEADER STYLES ********/
button, .button{
    transition: none;
}

.site-header{
    background: #fff;
    display: block;
}

.site-header::before, .site-header .container::before {
    /* content: unset; */
    display:none;
}

.top-navigation{
    position: relative;
    display: flex;
    width: 100%;
    box-shadow: 0px 1px 2px 0px rgba(0, 0, 0, 0.15);
}

body .top-navigation input{
    font-family: "IntelOne Text";
    font-size: 14px;
    font-style: normal;
    font-weight: 400;
    line-height: 150%;
    color: var(--text-carbon)
}


.site-header .container.header-container{
    max-width: unset;
    padding: 0%;
    width: 100%;
    
}

.site-logo a{
    font-family: "IntelOne";
    font-size: 20px;
    font-style: normal;
    font-weight: 400;
    line-height: 25px;
}

.site-logo .site-title-wrap, .site-logo a{
    display: flex;
    width: 100%;
    min-width: 100%;
    height: 100%;
    min-height: 100%;
    justify-content: center;
    align-items: center;
}

.site-logo .site-title{
    padding: 0 0 0 .75rem;
    margin-bottom: 0;
}

.site-logo img{
    width: 80%;
}

.site-description{
    display:none;
}



.site-logo .custom-logo-link{
    display: flex;
    width: 60px; /* match mobile gap below */
    min-width: 60px;
    height: 60px;
    background: var(--intel-logo);
    margin-right: auto;
}

@media  screen and (min-width: 1001px) {
    .site-logo .custom-logo-link{
        width: 70px; /* match mobile gap below */
        min-width: 70px;
        height: 70px;
    }
    
}



.site-identity{
    padding: 0px;
    display: flex;
    flex-direction: row;
    width: 100%;
    height: 100%;
    justify-content: space-between;
}

.site-identity .mobile-navigation{
    padding: 0 0.5rem 0 1.5rem;
    height: 100%;
    background: none;
    display: flex;
    justify-content: flex-end;
}

.top-navigation .main-navigation .nav-parent{
    display: flex;
    flex-direction: row;
    align-items: center;
    justify-content: center;
    height: 100%;
}

.site-identity .main-navigation ul{
    line-height: unset;
    
} 

.main-navigation ul li{
    padding: 0;
    /* height: 100%; */
    display: flex;
}

.main-navigation button{
    margin: auto;
}

.main-navigation ul li .ddButton, .main-navigation ul li a{
    padding: 10px 1rem;
    line-height: unset !important;
    margin-right: 1px;
    display: flex;
    align-items: center;
    justify-content: center;
}

.main-navigation ul li a{
    margin-bottom: 0;
}

.main-navigation ul li.link_item {
    display: flex;
}

.main-navigation .ddButton[aria-expanded="true"] + .submenu {
    display: block; /* Show submenu when expanded */
    
}

.main-navigation .submenu ul{
    max-height: 70vh;
    overflow-y: auto;
}

.location{
    margin-left: .5rem;
}

.main-navigation .location{
    display: none;
}

.main-navigation .ddButton {
    border: none;
    display: flex;
    align-items: center;
    justify-content: center;
}

.top-navigation .ddButton:after {
    content: '';
    display: inline-block;
    background: url(/wp-content/themes/genesis-child-theme/images/chevron-down.svg) no-repeat;
    width: 16px;
    height: 16px;
    margin-left: .5rem;
}

.mobile-nav .ddButton{
    display: flex;
    flex-direction: row;
    align-items: center;
}

.mobile-nav .ddButton:after {
    margin-left: auto;
}

.main-navigation .ddButton[aria-expanded="true"]:after,
.mobile-nav .ddButton[aria-expanded="true"]:after{
    transform: rotate(180deg);
}



.main-navigation #menu-search-form{
    width: unset;
    display: flex;
    align-items: center;
}

.main-navigation .search {
    margin-left: auto;
    transition: max-width 0.5s ease;
    max-width: 50px;
}

.main-navigation .search.active{
    background: var(--color-light-grey-tint);
    max-width: 260px;
}

.main-navigation .search input{
    border: 0;
    padding: 0;
    background: transparent;
    width: 0;
}

/** prevent iphone zooming **/
@media screen and (max-width: 768px) {
    #search-mobile{
        font-size: 16px;
    }
}

.main-navigation .search.active input{
    
    width: 100%;
    padding: .5rem;
    margin-right: .5rem;
}

.main-navigation .search button{
    border: 0;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: .5rem;
    margin-right: 1px;
    background: transparent;
    width: 40px;
    height: 40px;
    min-width: 40px;
}



.top-navigation .main-navigation{
    margin-left: 2rem;
    margin-right: 1rem;
}

.top-navigation .main-navigation .primary ul{
    display: flex;
    flex-direction: row;
}

.top-navigation .main-navigation .primary ul .pll-parent-menu-item{
    display: flex;
    flex-direction: row;
}

.main-navigation ul {
    list-style: none;
    margin: 0;
    padding: 0;
}

.main-navigation .dropdown {
    position: relative;
}

.main-navigation .submenu {
    display: none; /* Hidden by default */
    position: absolute;
    left: 0;
    top: 100%;
    background: #fff;
    min-width: 200px;
    z-index: 1002;
    margin-top: -2px;
    box-shadow: 0px 0px 8px 0px rgba(0, 0, 0, 0.25);
    padding: 5px 0;
    margin-left: -50%;
}

.main-navigation .submenu.category ul{
    margin-left: 0px !important
}




/* Add triangle at the top of the dropdown - desktop

 */
@media (min-width: 1001px) {
    .submenu::before {
    content: "";
    position: absolute;
    top: -5px; /* Adjust position above the dropdown */
    left: 50%;
    transform: translateX(-50%) rotate(45deg); /* Center and rotate */
    width: 10px;
    height: 10px;
    background-color: #fff;
    border: 1px solid #ddd;
    box-shadow: 0 2px 4px rgba(0, 0, 0, 0.1);
    clip-path: polygon(0 0, 100% 0, 0 100%); /* Clip to show only top half */
    z-index: 1001;
    }
}

.main-navigation a,
.main-navigation a:hover,
.main-navigation a:active,
.main-navigation a:visited,
.main-navigation a:focus,
.main-navigation button,
.main-navigation button:hover,
.main-navigation button:active,
.main-navigation button:visited,
.main-navigation button:focus{
    color: var(--main-nav-blue);
    font-family: "IntelOne Text";
    font-size: 16px;
    font-style: normal;
    font-weight: 400;
    line-height: 22px;
}

.main-navigation .submenu a:hover{
    background: var(--color-light-grey);
}

.main-navigation .submenu li a {
    padding: .5rem 1rem;
    color: var(--main-nav-blue);
    text-decoration: none;
    line-height: unset;
    text-align: left;
}

.main-navigation .submenu li a,
.main-navigation .submenu li a:hover,
.main-navigation .submenu li a:active,
.main-navigation .submenu li a:visited,
.main-navigation .submenu li a:focus{
    padding: .5rem 1rem;
    color: var(--main-nav-blue);
    text-decoration: none;
    line-height: unset;
    text-align: left;
    font-family: "IntelOne Text";
    font-size: 14px;
    font-style: normal;
    font-weight: 400;
    line-height: 20px;
}

.submenu:not(#language-menu) li a {
    display: flex;
    justify-content: space-between;
}

.main-navigation .submenu li a:hover {
    color: var(--main-nav-blue);
}

.main-navigation .submenu li a:hover {
    background: var(--color-light-grey)
}

.submenu li{
    border-left: 4px solid transparent;
}

.submenu li:hover{
    border-left: 4px solid var(--color-light-grey);
}

.submenu li.active,
.submenu li.active:hover{
    border-left: 4px solid var(--color-text-Breaking-Bar)
}

#language-menu li:hover{
    border-left: 4px solid var(--color-light-grey)
}
#language-menu li{
    border-left: 4px solid #fff;
}

#language-menu li.current-language,
#language-menu li.current-language:hover{
    border-left: 4px solid var(--color-text-Breaking-Bar)
}

#language-menu li.current-language:hover{
    border-left: 4px solid var(--color-text-Breaking-Bar)
}

#language-menu img{
    margin-right: .715rem;
}

/*** MObile styles ****/

.mobile-nav{
    width: 100%;
    height: 100%;
    display: flex;
    flex-direction: column;
    position: relative;
}

@media (min-width: 1001px) {
    .mobile-nav{
        display: none;
    }
}

.mobile-nav .mobile-navigation{
    transition: none;
}

.mobile-nav .menu-toggle{
    border: 0px;
    width: unset;
    padding: 1rem 0.5rem;
    display: flex;
    align-items: center;
    justify-content: center;
}

.menu-toggle span, .mobile-search-toggle span{
    /* display: flex; */
    align-items: center;
    justify-content: center;
    width: 24px;
    height: 24px;
    overflow: hidden;
}

.mobile-search-toggle .hidden{
    display:none;
}

.mobile-navigation button.mobile-search-toggle{
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 1rem 0.5rem;
    border: 0;
    width: unset;
}


.menu-toggle i{
    color: var(--main-nav-blue);
}

.search-wrap{
    display: none;
}

.search-wrap.active{
    display: block;
    position: absolute;
    top: 100%;
    right: 0;
    width: 100vw;
    height: 100vh;
    background: rgba(0, 0, 0, 0.5);
}

/* Target Chrome on desktop at mobile(ish)... */
@media (pointer: fine) and (hover: hover) and (max-width: 1001px) {
    .search-wrap.active{
        width: calc(100vw - 15px);
    }
}

.search-wrap.active form{
    display: flex;
    align-items: center;
    justify-content: center;
    background: #fff;
    box-shadow: inset 0px 1px 2px 0px rgba(0, 0, 0, 0.15), 0px 1px 2px 0px rgba(0, 0, 0, 0.15);
}

.search-wrap.active button{
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 1rem;
    border: 0;
}

.search-wrap.active input{
    width: 100%;
    border: 0;
    padding: .5rem;
    margin-right: 1rem;
}

body.menu-active{
    overflow: hidden;
    width: 100vw;
    height: 100vh;
    scrollbar-gutter: stable;
}


.menu-active .top-navigation {
    position: relative;
    background: #fff;
}

.drawer{
    padding: 0;
    height: 100vh;
    background: rgba(0, 0, 0, 0.5);
}

/* Parent theme has bad CSS at exactly 1000px */
@media only screen and (min-width: 1000px) and (max-width: 1001px) {
    .drawer {
        display: none !important;
    }
    .menu-active .drawer {
        display: block !important;
    }
}
/* Parent theme has bad CSS at exactly 1000px */

.drawer nav{
    padding-top: 0;
}

.drawer .drawer-navigation{
    background: #fff;
    box-shadow: inset 0px 1px 2px 0px rgba(0, 0, 0, 0.15), 0px 1px 2px 0px rgba(0, 0, 0, 0.15);
    margin-bottom: 100px;
}

.drawer .drawer-navigation ul li {
    border-bottom: 2px solid var(--color-light-grey-tint);
}

.drawer .drawer-navigation ul li ul li {
    border-bottom: none;
}

.drawer .drawer-navigation ul.submenu li{
    border-bottom: 0px;
    padding: 0;
}

.drawer .drawer-navigation ul li a,
.drawer .drawer-navigation ul li ul li a{
    padding: 1rem 1rem;
    width: 100%;
}

.drawer .drawer-navigation ul li.search{
   display:none;
}

.drawer .drawer-navigation a,
.drawer .drawer-navigation a:hover,
.drawer .drawer-navigation a:active,
.drawer .drawer-navigation a:visited,
.drawer .drawer-navigation a:focus,
.drawer .drawer-navigation button,
.drawer .drawer-navigation button:hover,
.drawer .drawer-navigation button:active,
.drawer .drawer-navigation button:visited,
.drawer .drawer-navigation button:focus{
    color: var(--main-nav-blue);
    font-family: "IntelOne Text";
    font-size: 16px;
    font-style: normal;
    font-weight: 500;
    line-height: 22px;
}


.drawer .drawer-navigation .submenu a,
.drawer .drawer-navigation .submenu a:hover,
.drawer .drawer-navigation .submenu a:active,
.drawer .drawer-navigation .submenu a:visited,
.drawer .drawer-navigation .submenu a:focus{
    font-family: "IntelOne Text";
    font-size: 14px;
    font-style: normal;
    font-weight: 400;
    line-height: 20px;
    padding: .5rem 1rem;
}

.drawer .drawer-navigation button{
    padding: 1rem 1.5rem;
}

.mobile-nav .nav-parent li:not(.subscribe) button{
    width: 100%;
    border: 0px;
    background: transparent;
    text-align: left;
    padding-left: 1rem;
    padding-right: 1rem;
}

.mobile-nav .nav-parent .subscribe button{
    width: 100%;
}
/* Specific overwrites for the new <a> tag instead of a button */
.mobile-nav .nav-parent .subscribe{
    padding: 1rem;
    display: inline-block;
}
.mobile-nav .nav-parent .subscribe a.button{
    display: inline-block; 
    text-align: center !important;
}
/* Had to target this rule specifically to overwite parent theme */
.mobile-nav .drawer .drawer-navigation ul li:last-child a.button {
    border-bottom: 1px solid var(--color-brand-blue-energy-blue);
}

.mobile-nav .drawer-wrap{
    position: absolute; 
    width: 100vw; 
    top: 100%;
    right: 0;
}

/* Target Chrome on desktop at mobile(ish)... */
@media (pointer: fine) and (hover: hover) and (max-width: 1001px) {
    .mobile-nav .drawer-wrap{
        width: calc(100vw - 15px);
    }
}


.waiting-overlay{
    display: none;
    align-items: center;
    justify-content: center;
    color: #fff;
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0,0,0,0.6);
    z-index: 1000;
    font-family: "IntelOne", sans-serif;
    font-weight: 300 !important;
    font-size: 42px;
}

.waiting-overlay .searching.hidden{
    display: none;
}

.waiting-overlay .preparing.hidden{
    display: none;
}

.waiting-overlay.active{
    display: flex;
}

.waiting-overlay .ellipsis {
    display: inline-flex;
    margin-left: 5px;
}

.waiting-overlay .ellipsis span {
    display: inline-block;
    animation: dance 1.5s infinite ease-in-out;
    font-size: inherit;
    color: #fff;
}

/* Animating each dot with a slight delay */
.waiting-overlay .ellipsis span:nth-child(1) {
    animation-delay: 0s;
}
.waiting-overlay .ellipsis span:nth-child(2) {
    animation-delay: 0.3s;
}
.waiting-overlay .ellipsis span:nth-child(3) {
    animation-delay: 0.6s;
}


@keyframes dance {
    0%, 100% {
        transform: translateY(0);
        opacity: 1;
    }
    20% {
        transform: translateY(-10px);
        opacity: 0.7;
    }
    40% {
        transform: translateY(0);
        opacity: 1;
    }
    70% {
        transform: translateY(0);
    }
    100% {
        transform: translateY(0);
    }
}

/* Icon styling for new Type sub-menu */
.type_submenu ul li a::after{
    content: ''; 
    position: absolute;
    /* making icons a bit smaller */
    background-size: 22px 22px; 
    width: 22px; 
    height: 22px;
    background-repeat: no-repeat; 
    right: 1rem; 
    top: 50%; 
    transform: translateY(-50%); 
}
li.type_news a::after {
    background-image: url('../images/post.svg'); 
}

li.type_opinion a::after {
    background-image: url('../images/opinion.svg'); 
}
li.type_press_kits a::after {
    background-image: url('../images/press-kit.svg'); 
}
li.type_bios a::after {
    background-image: url('../images/biography.svg'); 
}