.navigation {
    border-bottom: 1px solid #E8E8E8;
    margin-top: -80px;
    height: 72px;
    background: #fff;
}

.navigation.cms-floor {
    display: block;
    width: 100%;
}

.navigation_container {
    position: relative;
    height: 100%;
    padding: 0 56px;
    margin: auto;
}

.navigation_mask {
    position: absolute;
    top: 0;
    width: 76px;
    height: 100%;
    right: 176px;
    background-image: linear-gradient(270deg, #FFFFFF 0%, rgba(255,255,255,0.00) 100%);
    display: none;
}

.navigation_arr {
    position: absolute;
    top: 50%;
    right: 56px;
    width: 80px;
    box-sizing: content-box;
    background-color: #fff;
    transform: translateY(-50%);
    display: none;
    justify-content: space-between;
}

.navigation_arr i {
    width: 32px;
    height: 32px;
    display: inline-block;
    background: #e8e8e8;
    border-radius: 50%;
    position: relative;
    cursor: pointer;
  }
  .navigation_arr i.disabled {
      opacity: .5;
  }
  .navigation_button_prev::before,
  .navigation_button_next::before {
    content: "";
    width: 6px;
    height: 6px;
    border-top: 2px solid #000000;
    position: absolute;
    top: 13px;
  }
.navigation_button_prev::before {
    left: 13px;
    border-left: 2px solid #000000;  
    transform: rotate(-45deg);
}
.navigation_button_next::before {
    right: 13px;
    border-right: 2px solid #000000;  
    transform: rotate(45deg);
}
.navigation.fixed {
    position: fixed;
    margin-top: 0;
    z-index: 90;
}

.navigation .navigation_list {
    position: absolute;
    display: flex;
    left: 0;
    font-size: 16px;
    cursor: pointer;
    background: #fff;
    white-space: nowrap;
}

.navigation .navigation_list li {
    position: relative;
    display: inline-flex;
    color: #777;
    line-height: 72px;
    height: 72px;
    border-bottom: 2px solid #fff;
}

.navigation .navigation_list li:nth-last-of-type(n+2) {
    padding-right: 40px;
}

.navigation .navigation_list_item_placeholder,
.navigation .navigation_icon {
    display: none;
}

.navigation .navigation_list_item_placeholder {
    border: none;
}

@media only screen and (min-width: 1201px) {
    .navigation_list_container {
        position: relative;
        max-width: calc(100% - 120px);
        margin-left: 0;
        height: 100%;
        overflow: hidden;
    }

    .navigation_list_container_normal {
        width: auto;
        margin: 0 auto;
    }

    .navigation .navigation_list_normal {
        left: 50%;
        transform: translateX(-50%);
    }

    .navigation .navigation_list li::after {
        position: absolute;
        left: 0;
        bottom: -1px;
        content: '';
        width: 100%;
        height: 2px;
        background-color: #fff;
    }

    .navigation .navigation_list li:nth-last-of-type(n+2)::after {
        width: calc(100% - 40px);
    }

    .navigation .navigation_list li:hover,
    .navigation .navigation_list li.active {
        color: #000;
    }

    .navigation .navigation_list li.active::after {
        background-color: #333;
    } 
}

@media only screen and (min-width: 1201px) and (max-width: 1440px) {
    .navigation_container {
        max-width: 100%;
    }
}

@media only screen and (max-width: 1200px) {
    .navigation {
        height: 64px;
        border: none;
        box-shadow: 0 4px 16px 4px rgba(0,0,0,0.15);
    }
    
    .navigation .navigation_container {
        width: auto;
        height: 64px;
        padding: 0;
        margin: 0;
    }

    .navigation .navigation_list {
        position: absolute;
        display: none;
        top: 64px;
        left: 0;
        width: 100%;
        height: 64px;
        padding: 0 32px;
        box-sizing: border-box;
        justify-content: flex-start;
        flex-direction: column;
        overflow: hidden;
        transition: 0.3s all ease-in;
        z-index: 90;
        border-bottom: 1px solid #E8E8E8;
    }

    .navigation .navigation_list li {
        display: none;
        line-height: 64px;
        height: 64px;
        padding-right: 0 !important;
        border-top: 1px solid #E8E8E8;
        text-overflow: ellipsis;
        overflow: hidden;
    }

    .navigation .navigation_list_item_placeholder,
    .navigation .navigation_icon {
        display: block;
        width: 100%;
        height: 64px;
        padding: 0 32px;
        font-size: 16px;
        line-height: 64px;
        text-overflow: ellipsis;
        overflow: hidden;
    }

    .navigation .navigation_icon {
        position: absolute;
        right: 0;
        top: 0;
        z-index: 99;
        background: url(/system/modules/org.opencms.portal.template.core/resources/images/cms2.0/icon/ic_arrow_normal.svg) no-repeat right center;
        transition: 0.3s all ease-in;
        background-origin: content-box;
    }

    .navigation .navigation_list.on {
        display: block;
        height: auto;
        transition: 0.3s all ease-in;
        max-height: calc(100vh - 160px);
        overflow-y: auto;
        background: #fff;
    }

    .navigation .navigation_list.on li,
    .navigation .navigation_list li.active {
        display: block;
    }

    .navigation .navigation_icon.on {
        background-image: url(/system/modules/org.opencms.portal.template.core/resources/images/cms2.0/icon/ic_arrow_click.svg);
        transition: 0.3s all ease-in;
    }
}

@media only screen and (max-width: 720px) {
    .navigation {
        margin-top: -64px;
    }

    .navigation .cms-container {
        width: auto;
        margin-left: 16px;
        margin-right: 16px;
    }

    .navigation .navigation_list,
    .navigation .navigation_icon,
    .navigation .navigation_list_item_placeholder {
        padding: 0 16px;
    }
}