﻿.contextMenu {
    position: absolute;
    width: 200px;
    padding: 2px;
    margin: 0;
    border: 1px solid #bbb;
    background: #eee;
    background: -webkit-linear-gradient(to bottom, #fff 0%, #e5e5e5 100px, #e5e5e5 100%);
    background: linear-gradient(to bottom, #fff 0%, #e5e5e5 100px, #e5e5e5 100%);
    z-index:20901;
    border-radius: 3px;
    box-shadow: 1px 1px 4px rgba(0,0,0,.2);
    opacity: 0;
    -webkit-transform: translate(0, 15px) scale(.95);
    transform: translate(0, 15px) scale(.95);
    transition: transform 0.1s ease-out, opacity 0.1s ease-out;
    pointer-events: none;
}

.contextMenuGridMS contextMenu {
    position: initial;
}

.contextMenu-item {
    display: block;
    position: relative;
    margin: 0;
    padding: 0;
    white-space: nowrap;
}

.contextMenu-btn {
    background: none;
    line-height: normal;
    overflow: visible;
    -webkit-user-select: none;
    -moz-user-select: none;
    -ms-user-select: none;
    display: block;
    width: 100%;
    color: #444;
    font-family: 'Roboto', sans-serif;
    font-size: 14px;
    text-align: left;
    cursor: pointer;
    border: 1px solid transparent;
    white-space: nowrap;
    padding: 5px 8px 0px 5px;
    border-radius: 3px;
}

.contextMenuGridMS .contextMenu-btn {
    /*width: calc(100% - 15px); -> el "-15px" hace que los botones de los menus contextuales no usen todo el espacio, revisar en un grid "boton derecho"*/ 
    width: calc(100%);   
}

.contextMenu-btn::-moz-focus-inner, .contextMenu-btn::-moz-focus-inner {
    border: 0;
    padding: 0;
}

.contextMenu-text {
    margin-left: 35px;
}

.contextMenu-text label{
    cursor: pointer;
}

.contextMenuGridMS .contextMenu-text {
    font-family: Calibri;
    text-shadow: 1px 1px 1px rgba(0,0,0,0.004);
    text-rendering: optimizeSpeed !important;
    -webkit-font-smoothing: antialiased !important;
}


.contextMenu-btn .faCM {
    position: absolute;
    left: 12px;
    top: 12px;
    -webkit-transform: translateY(-50%);
    transform: translateY(-50%);
}

.contextMenu-btn .faCM:before {
    font-size: 16px;
}


.contextMenu-btn .faCMx2 {
    position: absolute;
    left: 12px;
    top: 12px;
    -webkit-transform: translateY(-50%);
    transform: translateY(-50%);
}

.contextMenu-btn .faCMx2:before {
    font-size: 18px;
}

.contextMenu-btn .faCMx3 {
    position: absolute;
    left: 10px;
    top: 12px;
    -webkit-transform: translateY(-50%);
    transform: translateY(-50%);
}

.contextMenu-btn .faCMx3:before {
    font-size: 20px;
}


.contextMenu-item:hover > .contextMenu-btn {
    color: #fff;
    outline: none;
    background-color: #2E3940;
    background: -webkit-linear-gradient(to bottom, #5D6D79, #2E3940);
    background: linear-gradient(to bottom, #5D6D79, #2E3940);
    border: 1px solid #2E3940;
}

.contextMenu-item.disabled {
    opacity: .5;
    pointer-events: none;
}

    .contextMenu-item.disabled .contextMenu-btn {
        cursor: default;
    }

.contextMenu-separator {
    display: block;
    margin: 7px 5px;
    height: 0px;
    border-bottom: 1px solid #fff;
    background-color: #aaa;
}

.contextMenu-item.subcontextMenu::after {
    content: "";
    position: absolute;
    right: 6px;
    top: 50%;
    -webkit-transform: translateY(-50%);
    transform: translateY(-50%);
    border: 5px solid transparent;
    border-left-color: #808080;
}

.contextMenu-item.subcontextMenu:hover::after {
    border-left-color: #fff;
}

.contextMenu .contextMenu {
    top: 4px;
    left: 99%;
}

.show-contextMenu, .contextMenu-item:hover > .contextMenu {
    opacity: 1;
    -webkit-transform: translate(0, 0) scale(1);
    transform: translate(0, 0) scale(1);
    pointer-events: auto;
}

.contextMenu-item:hover > .contextMenu {
    -webkit-transition-delay: 100ms;
    transition-delay: 300ms;
}


.typesubmenu
{
    float:right;    
}

.typesubmenu.icon-submenu:before
{
    font-size:12px;
    top:1px;
}
