/*!
 * jQuery contextMenu - Plugin for simple contextMenu handling
 *
 * Version: git-master
 *
 * Authors: Rodney Rehm, Addy Osmani (patches for FF)
 * Web: http://medialize.github.com/jQuery-contextMenu/
 *
 * Licensed under
 *   MIT License http://www.opensource.org/licenses/mit-license
 *   GPL v3 http://opensource.org/licenses/GPL-3.0
 *
 */

.context-menu-list {
    margin:0; 
    padding:0;
    
    min-width: 120px;
    max-width: 250px;
    display: inline-block;
    position: absolute;
    list-style-type: none;
    
    border: 1px solid #999;
    border-radius: 4px;
    background: #444;
    
    -webkit-box-shadow: 0 2px 5px rgba(0, 0, 0, 0.5);
       -moz-box-shadow: 0 2px 5px rgba(0, 0, 0, 0.5);
        -ms-box-shadow: 0 2px 5px rgba(0, 0, 0, 0.5);
         -o-box-shadow: 0 2px 5px rgba(0, 0, 0, 0.5);
            box-shadow: 0 2px 5px rgba(0, 0, 0, 0.5);
    
    font-family: "Lucida Grande",Verdana,Arial,Helvetica,sans-serif;
    color: #fff;
    /*text-shadow: 0 1px 1px #333;*/
    font-size: 11px;
}

.context-menu-item {
    padding: 6px 6px 6px 30px;
    height: 17px;
    background-color: #444;
    border-bottom: 1px solid #333;
    border-top: 1px solid #5a5a5a;
    position: relative;
    -webkit-user-select: none;
       -moz-user-select: -moz-none;
        -ms-user-select: none;
            user-select: none;
}

.context-menu-item {
  opacity: 0.9;
  filter: alpha(opacity=90);
}

.context-menu-item:hover {
  opacity: 0.94;
  filter: alpha(opacity=94);
  background-color: #008fc7;
}

.context-menu-separator {
    padding-bottom:0;
    border-bottom: 1px solid #DDD;
}

.context-menu-item > label > input,
.context-menu-item > label > textarea {
    -webkit-user-select: text;
       -moz-user-select: text;
        -ms-user-select: text;
            user-select: text;
}

.context-menu-item.hover {
    cursor: pointer;
}

.context-menu-item.disabled {
    color: #666;
}

.context-menu-input.hover,
.context-menu-item.disabled.hover {
    cursor: default;
    background-color: #EEE;
}

.context-menu-submenu:after {
    content: ">";
    color: #666;
    position: absolute;
    top: 0;
    right: 3px;
    z-index: 1;
}

.context-menu-root { min-width: 135px; white-space: nowrap; overflow: hidden; }

.context-menu-item.icon { padding-right: 5px; background-image: url(../../../../skins/larry/images/listicons.png?v=017c.29530); background-repeat: no-repeat; }
.context-menu-item.icon-message { background-position: 5px -1291px; }
.context-menu-item.icon-task { background-position: 5px -2124px; }
.context-menu-item.icon-note { background-position: 5px -2124px; }
.context-menu-item.icon-event { background-position: 5px -2124px; }
.context-menu-item.icon-edit { background-image: url(../../../../skins/larry/images/listicons.png?v=017c.29530); background-repeat: no-repeat; background-position: 5px -1388px; }
.context-menu-item.icon-delete { background-image: url(../../../contextmenu/skins/larry/images/contexticons.png); background-repeat: no-repeat; background-position: 5px -96px; }
.context-menu-item.icon-sametab { background-image: url(../../../myrc_sprites/skins/larry/images/myrc_sprites.png); background-repeat: no-repeat; background-position: -8px -2152px; }
.context-menu-item.icon-newtab { background-image: url(../../../myrc_sprites/skins/larry/images/myrc_sprites.png); background-repeat: no-repeat; background-position: -8px -2112px; }
.context-menu-item.icon-extwin { background-position: 5px -1482px; }

/* vertically align inside labels */
.context-menu-input > label > * { vertical-align: top; }

/* position checkboxes and radios as icons */
.context-menu-input > label > input[type="checkbox"],
.context-menu-input > label > input[type="radio"] {
    margin-left: -17px;
}
.context-menu-input > label > span {
    margin-left: 5px;
}

.context-menu-input > label,
.context-menu-input > label > input[type="text"],
.context-menu-input > label > textarea,
.context-menu-input > label > select {
    display: block;
    width: 100%;
    
    -webkit-box-sizing: border-box;
       -moz-box-sizing: border-box;
        -ms-box-sizing: border-box;
         -o-box-sizing: border-box;
            box-sizing: border-box;
}

.context-menu-input > label > textarea {
    height: 100px;
}
.context-menu-item > .context-menu-list {
    display: none;
    /* re-positioned by js */
    right: -5px;
    top: 5px;
}

.context-menu-item.hover > .context-menu-list {
    display: block;
}

.context-menu-accesskey {
    text-decoration: underline;
}
