/** 
 * CSS Style: Theme nav 
 * 
 * @since 1.0
 */
nav ul {
    display:flex;
    line-height: 1.5;
}

nav ul, .menu, .menu ul {
    list-style: none;
}

/**
 * Menu item highlight
 * 
 * @since 1.0
 */
nav ul li.menu-item-highlight > a {
    display: inline-block;
    border: 2px solid var( --theme-color );
    padding: 5px 15px !important;
    color: var( --theme-color ) !important;
}

nav ul li.menu-item-label {
    font-size: 12px;
    font-weight: bold;
    margin-right: var( --theme-margin );
}

/**
 * Has children
 *
 */
.menu-item-has-children > a {
    cursor: default;
}

.menu-item-has-children > a:hover {
    opacity: 1;
}

/**
 * Header menu
 * 
 * @since 1.0
 */
 nav.theme-menu-header,  
 nav.theme-menu-projects {
    max-width: 100%;
    /*overflow-x: auto;
    overflow-y: hidden;*/
}

nav.theme-menu-header ul, 
nav.theme-menu-projects ul {
    flex-direction: row;
    flex-wrap: nowrap;
    align-items: center;
    white-space: nowrap;
    font-size: 15px;
    line-height: 1;    
}

.theme-modal nav.theme-menu-projects ul {
    flex-wrap: wrap;
    justify-content: center;
}

@media only screen and (max-width: 1100px) {
    .theme-modal nav.theme-menu-projects ul {
        justify-content: flex-start;
    }
}

nav.theme-menu-header > ul > li, 
nav.theme-menu-projects > ul > li {
    display: flex;
    flex-direction: row;
    align-items: center;
    padding: 0 25px;
    line-height: 1;
}

.theme-modal nav.theme-menu-projects > ul > li {
    padding: 10px 20px;
}

nav.theme-menu-header ul li a, 
nav.theme-menu-projects ul li a {
    color: var( --theme-color-black );
    line-height: 1;
}

nav.theme-menu-projects ul li a {
    font-weight: 700;
    text-transform: uppercase;
}

nav.theme-menu-projects ul li.current-menu-item a {
    opacity: 0.6;
}

nav.theme-menu-header ul li.current-menu-item a {
    /*color: var( --theme-color );*/
    opacity: 0.8;
}

/*nav.theme-menu-header ul li a:hover {
    opacity: 1;
    color: var( --theme-color );
}*/

/*nav.theme-menu-header > ul > li.menu-item-has-children {
    position: relative;
}*/

nav.theme-menu-header > ul > li.menu-item-has-children > ul.sub-menu,
nav.theme-menu-projects > ul > li.menu-item-has-children>ul.sub-menu {
    display: none;
}

/** 
 * Menu "Full menu". Modal
 * 
 * @since 1.0
 */
nav.theme-menu-modal ul {
    flex-direction: column;
    flex-wrap: wrap;
}

nav.theme-menu-modal a {
    color: var( --theme-color );
}

nav.theme-menu-modal ul li.current-menu-item a {
    text-decoration: underline;
}

nav.theme-menu-modal ul li {
    padding: 5px 0;
    font-weight: 600;
    font-size: 18px;
}

nav.theme-menu-modal ul li.menu-item-has-children {
    padding-bottom: 0;
    position: relative;
}

nav.theme-menu-modal ul li.menu-item-has-children ul.sub-menu {
    padding-top: 5px;
    margin-left: calc( var( --theme-margin ) * 4 );
    
}

nav.theme-menu-modal ul li.menu-item-has-children ul.sub-menu li {
    font-size: 16px;
    font-weight: normal;
}

/**
 * Menu social 
 * 
 * @since 1.0
 */
nav.theme-menu-social ul {
    display: flex;
    flex-direction: row;
    flex-wrap: wrap;
    align-items: center;
}

nav.theme-menu-social ul li a {
    display: flex;
    flex-direction: row;
    justify-content: center;
    align-items: center;
    width: 30px;
    height: 30px;
    border-radius: 50%;
    overflow: hidden;
    background-color: var(--theme-color);
}

nav.theme-menu-social.theme-menu-social-modal ul li a {
    background-color: var( --theme-color );
    margin-right: 10px;
}

nav.theme-menu-social svg {
    width: auto;
    height: 18px;
}

nav.theme-menu-read-us svg {
    width: auto;
    height: 20px;
}

nav.theme-menu-read-us svg.theme-icon-dzen-basic {
    height: 17px;
}

nav.theme-menu-social svg path, 
nav.theme-menu-social.theme-menu-social-footer svg path {
    fill: #ffffff;
}

/**
 * Menu "About" 
 * 
 * @since 1.0
 */
nav.theme-menu-about ul {
    flex-direction: row;
    flex-wrap: wrap;
    align-items: center;
    white-space: nowrap;
    font-weight: 400;
    font-size: 14px;
    text-transform: uppercase;
    justify-content: center;
}

nav.theme-menu-about > ul > li {
    padding: 0 var( --theme-padding );
}

nav.theme-menu-about a {
    color: #000000;
} 

@media only screen and (max-width: 1100px) {
    nav.theme-menu-about {
        margin: 0 auto;
    }

    nav.theme-menu-about > ul > li {
        padding: 5px var(--theme-padding);
    }
}

/**
 * Menu "Additional" 
 * 
 * @since 1.0
 */
nav.theme-menu-additional ul {
    flex-direction: row;
    flex-wrap: wrap;
    align-items: center;
    white-space: nowrap;
    font-weight: 700;
    font-size: 14px;
    text-transform: uppercase;
}

nav.theme-menu-additional > ul > li {
    padding: 0 var(--theme-padding);
}

nav.theme-menu-additional > ul > li a {
    color: var( --theme-color-black );
}

@media only screen and (max-width: 1100px) {
    nav.theme-menu-additional {
        display: none;
    }
}

/**
 * Menu "Read Us" 
 * 
 * @since 1.0
 */
nav.theme-menu-read-us > ul {
    align-items: center;
    flex-wrap: wrap;
}

nav.theme-menu-read-us > ul > li {
    display: flex;
    flex-direction: row;
    align-items: center;
    height: 20px;
}

nav.theme-menu-read-us > ul > li:not(:last-child) {
    margin-right: var( --theme-margin );
}

@media only screen and (max-width: 768px) {
    nav.theme-menu-read-us > ul > li.menu-item-label {
        flex: 0 0 100%;
        margin-right: 0;
    }

    nav.theme-menu-read-us > ul > li {
        margin-bottom: 5px;
    }
}

nav.theme-menu-read-us > ul > li a {
    display: flex;
    flex-direction: row;
    align-items: center;
    font-size: 12px;
    font-weight: 500;
    color: var( --theme-font-color );
    height: 20px;
    /*border: 1px solid #000;*/
}

nav.theme-menu-read-us > ul > li a span {
    margin-left: 5px;
}

/**
 * Menu "Follow Us" 
 * 
 * @since 1.0
 */
nav.theme-menu-follow-us > ul {
    align-items: center;
    justify-content: center;
}

nav.theme-menu-follow-us > ul > li a {
    display: flex;
    flex-direction: row;
    padding: 10px 15px;
    align-items: center;
    font-size: 12px;
    font-weight: 600;
    color: #ffffff;
    background-color: var( --theme-color-dark-grey );
    border-radius: 20px;
    min-width: 180px;
    justify-content: center;
}

nav.theme-menu-follow-us > ul > li.menu-item-telegram a {
    background-color: #24A1DE;
}

nav.theme-menu-follow-us > ul > li.menu-item-whatsapp a {
    background-color: #25d366;
}

nav.theme-menu-follow-us > ul > li a p {
    margin-left: 10px;
    display: flex;
    flex-direction: column;
    justify-content: center;
}

nav.theme-menu-follow-us > ul > li a span {
    line-height: 1.1;
}

nav.theme-menu-follow-us svg {
    width: auto;
    height: 23px;
}

nav.theme-menu-follow-us >ul > li a svg path {
    fill: #ffffff;
}


.theme-menu-button {
    width: 140px;
    background-color: #d9d9d9;
    margin: 0 10px;
    cursor: pointer;
    font-size: 15px;
    line-height: 1;
    text-align: center;
    vertical-align: middle;
    padding: 15px 0;
}