﻿.menus-main-wrapper {
    color: #808080;
}

.custom-menu-wrapper {
    display: inline-block;
    font-size: 1.1em;
}

.custom-menu-item a {
    color: inherit;
}

.custom-menu-item {
    float: left;
    /*width: 140px;*/
    /*line-height: 3em;*/
}

    .custom-menu-item:not(:last-of-type) {
        padding-right: 40px;
    }

    .custom-menu-item > span {
        display: inline-block;
    }
    .custom-menu-item span span,
    .custom-menu-item a span {
        display: inline-block;
        width: 100%;
        padding-top: 0.4em;
        padding-bottom: 0.1em;
        /*line-height: 3em;*/
    }
    .custom-menu-item:hover {
        /*background-color: #FFF;*/
        color: black;
        cursor: pointer;
    }

.sub-menu-wrapper {
    font-size: 0.9em;
}

.custom-menu-wrapper .dd-item {
    /*background-color: #4CAF50;
    color: white;
    padding: 16px;
    font-size: 16px;
    border: none;
    cursor: pointer;*/

    position: relative;
}

.custom-menu-wrapper .dropdown-item-content {
    display: none;
    position: absolute;
    background-color: #f9f9f9;
    min-width: 160px;
    box-shadow: 0px 8px 16px 0px rgba(0,0,0,0.2);
    z-index: 1;
    right: 0;
}

.custom-menu-wrapper .dropdown-item-content a {
    color: black;
    padding: 12px 16px;
    text-decoration: none;
    display: block;
}

    .custom-menu-wrapper .dropdown-item-content a:nth-child(2n+1) {
        background-color: #F1F1F1;
    }

.custom-menu-wrapper .dropdown-item-content a:hover {background-color: #d7d7d7}

.custom-menu-wrapper .dd-item:hover .dropdown-item-content {
    display: block;
}

/* Change the background color of the dropdown button when the dropdown content is shown */
/*.dropdown:hover .dropbtn {
    background-color: #3e8e41;
}*/