    :root {
  --menu-hover-border-color: #ccc;
  --menu-hover-bg-color: #fff0dc;
}

.menu, .menu ul
{
    margin: 0;
    padding: 0;
    list-style-type: none;
    line-height: 1.65em;
    display: flex;
    flex-wrap: nowrap;
    /*font-size: 2.2rem;*/
    /*font-size: 16px !important;*/
    /*font-family: Calibri, Helvetica, Arial, sans-serif;*/
    /*font-family: 'Lato', sans-serif;*/
    /*font-family: 'Carlito', sans-serif;*/
    /*font-family: LocalCalibri, sans-serif;*/
    position: relative;
    z-index: 102;
}
.menu a
{
    text-decoration: none;
}
.menu > li
{
    margin-left: 5px; /*control horizontal distance between top-level menu items*/
}
.menu > li:first
{
    margin-left:0px!important;
}
.menu > li > a
{
    /*padding: 0px 10px;*/
    margin: 0;
    width: 100%;
    text-decoration: none;
    color: #4a4a4a;
    font-size: 1.2rem; /* Font size of top-level menu items */
    font-weight: bold;
    padding-left: 8px;
}


div.box
{
    position: absolute;
    z-index: -1;
    background-color: #fff;
    left: 0;
    top: 0;
    border-radius: 4px 4px 0px 0px;
    -moz-border-radius: 4px 4px 0px 0px;
    -webkit-border-radius: 4px 4px 0px 0px;
}
li.pull-down
{
    padding-right:6px;
    user-select: none;
}
li.pull-down > a
{
    background-image: url('../images/darrow.png');
    text-decoration-color: #11b9b9;
    background-position: 96% 75%;
    background-repeat: no-repeat;
    cursor: pointer;
    padding-right: 17px; /* Controls space between down-arrow and menu title */
    text-underline-offset: 2px !important;
    /*text-decoration-thickness: 2px !important;*/
}
li.right-menu > a
{
    background-image: url('../images/rarrow.png');
    background-position: 97% 45%;
    background-repeat: no-repeat;
}
.menu a.selected
{
    background-color: #fff;
    border-radius: 0 0 4px 4px;
    -moz-border-radius: 0 0 4px 4px;
    -webkit-border-radius: 0 0 4px 4px;
}

.menu li
{
    float: left;
    position: relative;
}

.menu ul
{
    position: absolute;
    display: none;
    /*max-width: 336px;*/
    top: 3em; /*padding-right: 10px;*/
    background-color: #fff; /*-moz-opacity: .50;     filters: alpha(opacity=50);     opacity: .50;*/
    border-radius: 0 0 4px 4px;
    /*border-width: 0 2px 2px 2px;*/
    /*border-color: #999;*/
    /*border: 1px solid #999;*/
    border-style: solid;
    border-color: #ccc;
    border-width: 0 1px 1px 1px;
    -moz-border-radius: 0 0 4px 4px;
    -webkit-border-radius: 0 0 4px 4px;
    box-shadow: 0 1px 1px 1px rgba(0, 0, 0, 0.5);
}

/*.menu li ul span.subheading*/
/*{*/
/*    padding-left: 10px;*/
/*    color: #4a4a4a;*/
/*    font-style: italic;*/
/*    font-size: 0.9em;*/
/*    text-decoration: underline;*/
/*}*/


.menu > li > ul > li > span.subheading
{
    padding-left: 10px;
    padding-top: 2px;
    padding-bottom: 2px;
    padding-right: 15px;
    color: #4a4a4a;
    background-color: #f0f0f0;
    /*font-style: italic;*/
    font-size: 0.93rem;
    display: block;
    /*text-decoration: underline;*/
}

.menu li ul span.menu_personality_parent
{
    /*color:#888;*/
    font-size:0.7rem;
    border-radius: 5px;
    border: 1px solid #ddd;
    padding: 2px 4px 2px 4px;
    position: relative;
    /*top: -0.2em;*/
    top: 0;
    left: -0.1em;
    color: #444;
    background-color: #f0f0f0;
}

.menu_personality_parent_relation
{
    /*color:#888;*/
    font-size:0.7rem;
    border-radius: 5px;
    border: 1px solid #ddd;
    padding: 3px 4px 3px 4px;
    position: relative;
    top: -0.1em;
    left: -0.1em;
    color: #444;
    background-color: #f0f0f0;
}

/*.menu li ul span.doublearrow*/
/*{*/
/*    font-size: 0.7em;*/
/*    text-decoration: none;*/
/*    padding: 0;*/
/*    position: relative;*/
/*    top: -0.15em;*/
/*}*/

.menu li ul a.notimplemented
{
    color: #a6782b;
}

.menu li ul a.overview
{
    padding-left: 10px;
    font-weight: bold;
    /*width: 326px;*/
}

.menu li ul a
{
    /*width: 318px;*/
    height: auto;
    float: left;
    color: #4a4a4a;
    font-size: 0.93rem;
    /*padding: 0 10px;*/
    padding-left: 18px;
    padding-top: 3px;
    padding-right: 15px;
    border-style: solid;
    border-width: 1px 0 1px 0;
    border-color: #fff;
    width: 100%;
    box-sizing: border-box; /* see https://stackoverflow.com/questions/5219175/how-to-make-an-element-width-100-minus-padding */
    line-height: 0.9;
}

.menu li ul a img
{
    position: relative;
    top: 2px;
}

.menu li ul img
{
    position: relative;
    top: 3px;
}

.menu li ul a::first-line
{
    line-height: 1.75; /* This controls the height of menu items !! */
}

.menu li ul li
{
    /*padding: 0;*/
    margin: 0;
    white-space: nowrap;
    /*border: 1px solid red;*/
    width: 100%;
    text-align: left;
}


.menu ul ul
{
    top: auto;
}

.menu li ul ul
{
    left: 296px; /*margin: 0px 0 0 10px;*/
}
/*.menu-item-selected > a*/
/*{*/
/*    background-color: #FFFEFD;*/
/*    -moz-opacity: .75;*/
/*    filter: alpha(opacity=75);*/
/*    opacity: .75;*/
/*}*/
.menu-item-selected > a:hover
{
    /*color: #4a4a4a !important;*/
    /*background-color: #eaeaea;*/
    background-color: var(--menu-hover-bg-color) !important;
    border-style: solid;
    border-width: 1px 0 1px 0;
    border-color: var(--menu-hover-border-color) !important;
}

.menu-item-selected-no-bottom-border > a:hover
{
    /*color: #4a4a4a !important;*/
    /*background-color: #eaeaea;*/
    background-color: var(--menu-hover-bg-color) !important;
    border-style: solid;
    border-width: 1px 0 1px 0;
    border-color: var(--menu-hover-border-color) var(--menu-hover-border-color) var(--menu-hover-bg-color) var(--menu-hover-border-color) !important;
}

.menu-item-selected-no-top-border > a:hover
{
    /*color: #4a4a4a !important;*/
    /*background-color: #eaeaea;*/
    background-color: var(--menu-hover-bg-color) !important;
    border-style: solid;
    border-width: 1px 0 1px 0;
    border-color: var(--menu-hover-bg-color) var(--menu-hover-border-color) var(--menu-hover-border-color) var(--menu-hover-border-color) !important;
}

.hamburger {
    display: none;
}

div.menu-schafkopf {
    color: #4a4a4a;
    /*font-weight: bold;*/
    font-size: 14px;
    margin-bottom: -5px;
}

span.menu-schafkopf-mobile {
    display: none;
}