/**
 *  This CSS is to control all Members-Suite dropdown menus
 *  - user-profile
 *  - bookmarks
 *  - products
 *  - helptopics
 *  - comment actions
 *  TODO: module switcher
 */

.mesu_user_menu  {
    float: left;
    position: relative;
}

.mesu_user-helptopics a,
.mesu_user_menu a { text-decoration: none; }

.mesu_user_menu.mesu_user-profile  {
    border-left: 1px solid rgba(68, 68, 68, .3);
}

.mesu_user-mobile { display: none; }

.mesu_user-mobile  i,
.mesu_user-bookmarks  i,
.mesu_user-helptopics i,
.mesu_user-products   i {
    font-size: 30px;
    color: #444444;
    margin: 5px 0px;
}

.user_profile_actions i {
  width: 1.2em;
  text-align: center;
  margin-right: .2em;
}


.mesu_header_logo { line-height: 57px;  margin-left: 10px; }
.mesu_header_logo,
.koth_menu mesu_header { height: 57px;}
.mesu_header_logo,
.mesu_header_menu_left  { float: left;}

.mesu_header_logo img { height: 45px; vertical-align: middle; }

.mesu_header_menu_right { position: absolute; top: 0px; right: 0px;  font-family: Raleway, sans-serif; font-weight: 700; margin-top: 10px; }
.mesu_header_menu_right button {line-height: 40px; background: none; border: none; cursor: pointer; outline:none;}
.mesu_header_menu_right .mesu_user-profile img { display: inline-block; width: 40px; height:40px; border-radius: 5px; margin-top 4px; margin-left: 12px; margin-right: -5px;  border-style: solid;   border-width: 1px; }
.mesu_header_menu_right .mesu_user_nickname { font-size: 15px; font-weight: bold; }
.mesu_header_menu_right .dropdown { margin: 0 10px 0 10px }

.notification_badge,
.notable_badge {
    background-color: #fa3e3e;
    border-radius: 5px;
    color: white;
    font-weight: bold;
    padding: 3px 4px;
    font-size: 12px;
    line-height: 12px;
    position: absolute;
    top: -5px;
    right: 0px;
}


.notable_badge {
    top: 5px;
    right: 10px;
}

.notable_badge::after { content: attr(data-unread-comments); }
.mesu_user-profile .notification_badge::after { content: attr(data-total-unread-comments); }

.dropdown-menu {
    position: absolute;
    top: 100%;
    right: 25px;
    z-index: 1000;
    display: none;
    float: left;
    min-width: 160px;
    padding: 5px 0;
    font-size: 14px;
    text-align: left;
    list-style: none;
    background-color: #fff;
    -webkit-background-clip: padding-box;
    background-clip: padding-box;
    border: 1px solid #ccc;
    border: 1px solid rgba(0, 0, 0, .15);
    border-radius: 6px;
    -webkit-box-shadow: 0 6px 12px rgba(0, 0, 0, .175);
    box-shadow: 0 6px 12px rgba(0, 0, 0, .175);
    margin-top: 8px;
}

.mesu_user-mobile .dropdown-menu { right: 0px; }
.mesu_user-helptopics .dropdown-menu { right: -34px; }
.mesu_user-products   .dropdown-menu { right: -180px; }
.mesu_user-bookmarks  .dropdown-menu { right: -180px; }
.mesu_user-languages  .dropdown-menu { right: -60px; }
.mesu_user-mobile     .dropdown-menu:before { right: 21px; }
.mesu_user-languages  .dropdown-menu::before { right: 82px; }
.mesu_user-bookmarks  .dropdown-menu::before { right: 198px; }
.mesu-menu-actions    .dropdown-menu { right: -8px; top: 30px; }




.dropdown-menu li { display: block !important; white-space: nowrap; padding-left: 30px; padding-right: 30px; position: relative;}


.dropdown-menu li a {
    font-size: 1em;
    line-height: 28px;
    padding: 10px 60px 10px 0px;
    cursor: pointer;
    white-space: nowrap;
    color: #444 !important;
}

.dropdown-menu li.mesu-trigger-activate-role {
    white-space: nowrap;
    color: #444 !important;
}

.mesu_user-bookmarks  .dropdown-menu li a,
.mesu_user-languages  .dropdown-menu li,
.mesu_user-helptopics .dropdown-menu li a,
.mesu_user-products   .dropdown-menu li a { line-height: 2.5em; }

.mesu_user-languages  .dropdown-menu li { cursor: pointer; }

.mesu_user-bookmarks  .dropdown-menu li img,
.mesu_user-languages  .dropdown-menu li img,
.mesu_user-helptopics .dropdown-menu li img,
.mesu_user-products   .dropdown-menu li img {
    vertical-align: middle;
    margin-right: 10px;
}

.dropdown-menu ul { padding-left: 0px; }

.dropdown-menu>ul>li:focus,
.dropdown-menu>ul>li:hover { background-color: #f5f5f5; }



.open>.dropdown-menu {
    display: block;
}

.mesu_user-products .dropdown-menu:before {
    right: 202px !important;
}

.mesu-menu-actions .dropdown-menu:before {
    right: 16px !important;
}

.sidenav-dropdown-menu:before,
.dropdown-menu:before {
    content: "";
    display: block;
    position: absolute;
    right: 40px;
    top: 9px;
    border-top: 1px solid rgba(0, 0, 0, .15);
    border-right: 1px solid rgba(0, 0, 0, .15);
    margin-top: -16px;
    width: 15px;
    height: 15px;
    background: #fff;
    transform: rotate(45deg);
    -webkit-transform: rotate(-45deg);
    -moz-transform: rotate(-45deg);
    -ms-transform: rotate(-45deg);
    background: -moz-linear-gradient(45deg, rgba(255, 255, 255, 0) 0%, rgba(255, 255, 255, 0) 50%, rgba(255, 255, 255, 1) 51%, rgba(255, 255, 255, 1) 100%);
    background: -webkit-linear-gradient(45deg, rgba(255, 255, 255, 0) 0%, rgba(255, 255, 255, 0) 50%, rgba(255, 255, 255, 1) 51%, rgba(255, 255, 255, 1) 100%);
    /*  filter: progid: DXImageTransform.Microsoft.gradient( startColorstr="#00ffffff", endColorstr="#ffffff", GradientType=1; */
}


.dropdown_modules .dropdown-menu {
    top: initial;
    right: initial;
}
.dropdown_modules .dropdown-menu:before { right: calc( 50% - 5px ); }

/*
.dropdown .sidenav-dropdown-menu,
.dropdown .dropdown-menu {  padding: 20px 0; }
*/

.mesu_user_menu.mesu_user-products {
    height: 45px;
}

.dropdown_modules li a { text-decoration: none;  line-height: 2.5em; }

.mesu-active-role {
    background-color: #f5f5f5;
    background-color: rgba(169, 186, 4, 0.31);
}

.dropdown-menu>ul>li.mesu-active-role:hover {
    background-color: rgba(169, 186, 4, 0.5);
}

.dropdown-menu li a.mesu-role-title { padding-right: 10px; }


@media (max-width: 600px) {
  .mesu_header_menu_left,
  .dropdown .mesu_user_nickname { display: none; }

  .mesu_user-mobile { display: block; }
  .mesu_user-profile  .dropdown-menu { right: -17px; }
}
