/*Estilos generales del context menu*/
.contentMenuItem{
    z-index:110;
}
.contentMenuItem.referenceMenu{
    z-index:1103;
}
.contentMenuItem.contentMenuItem{
    min-width: 186px;
    -webkit-box-shadow: 0 1px 6px 1px rgba(0,0,0,0.3);
    box-shadow: 0 1px 6px 1px rgba(0,0,0,0.3);
    position: relative;
    font-size: 13px;
    color: #313131;
    padding: 0;
    -webkit-border-radius: 4px;
    -moz-border-radius: 4px;
    border-radius: 4px;
    }
.contentMenuItem.contentMenuItem ul{
    width: 212px;
    background-color: white;
    z-index: 97;
    -webkit-box-shadow: 0 1px 6px 1px rgba(0,0,0,0.3);
    box-shadow: 0 1px 6px 1px rgba(0,0,0,0.3);
    padding: 0;
    -webkit-border-radius: 4px;
    -moz-border-radius: 4px;
    border-radius: 4px;
    }
.contextMenuNewFeatureLabel {
    background-image: url("../../img/features/new.svg");
    background-position: 0 0 !important;
    float: right;
    margin-top: 2px;
    margin-right: 10px;
    width: 35px;
    height: 16px;
}
.contentMenuItem.contentMenuItem  .ui-menu-divider{
    display: none;
}
.contentMenuItem.contentMenuItem > li:first-child a {
    width: 100%;
    box-sizing: border-box;
    display: inline-block;
    line-height: 22px;
}
.contentMenuItem.contentMenuItem > li > ul ul li .ui-icon-carat-1-e, .contentMenuItem.contentMenuItem ul li ul li .ui-icon{
    margin-top:6px;
}
.ui-state-focus,.ui-state-active{
    margin: 0px !important;
    color:#00a8ff !important;
}

/*Linea separadora del primer y ultimo elemento*/
.contentMenuItem.contentMenuItem:not(.contentMenuItemSecondary) > li:first-child {
 border-bottom:1px solid #d3d3d3;
 }
.contentMenuItem.contentMenuItem:not(.contentMenuItemSecondary) > li:last-child{
 border-top:1px solid #d3d3d3;
}

/*Estilo del icono default (una flechita)*/
.contentMenuItem.contentMenuItem .ui-icon-carat-1-e {
    width: 17px;
    height: 17px;
    margin-top: 5px !important;
    background-repeat: no-repeat;
    background-image:url(../../images/toolbar/flechita.svg);
    background-size: auto 9px;
    background-position: center 2px;
}
.ui-state-active .ui-icon-carat-1-e, .ui-state-focus .ui-icon-carat-1-e, .ui-state-hover .ui-icon-carat-1-e{
    background-image:url(../../images/toolbar/flechita.svg);
    background-position: top left;
    background-size: auto 9px;

}

/*Margenes de los iconos que usan icoContextual: Add Slide, Add Activity y Add Content*/
.contentMenuItem.contentMenuItem .icoContextual{
    padding-left: 22px;
    margin-left: 6px;
}


/*Alterar el fondo de los elementos desplegables estan activos*/
.contentMenuItem.contentMenuItem > li:first-child > a.ui-state-focus,
.contentMenuItem.contentMenuItem > li:first-child > a.ui-state-active,
.contentMenuItem.contentMenuItem > li > ul > li > a:hover, 
.contentMenuItem.contentMenuItem > li > ul > li > a.ui-state-active{
    background-color:#EAEEF1 !important;  
    display: inline-block;
}

/*Estilos opciones desactivadas*/
.ui-state-disabled {
    pointer-events: none !important;
}
.ui-state-disabled.ui-menu-item{
    margin:0px;
}

.ui-icon:not(.ui-icon-carat-1-e){
        background-image:url(../../images/toolbar/sprite-menu-emergente-final.svg);

    }
.ui-icon{
        margin-left: 5px;
        background-position: top left; 
   }
    /*Tamaño iconos */
    .contentMenuItemCursor .ui-icon,  .contentMenuItem.contentMenuItem li .ui-icon{
        width: 17px;
        height: 17px;
        margin-top:6px;
    }

/*Piquito*/ 
.contentMenuItem:first-of-type:after,ul.contentMenuItemSecondary > li:first-of-type > a:after{
    content: '';
    width: 18px;
    height: 17px;
    background: url("../../images/toolbar/piquitoN.png");
    background-size: 100% auto;
    position: absolute;
    top: 47px;
    left: -12px;
    display: inline-block;
}

/*Animacion de los iconos */
    a.ui-state-focus span:not(.ui-icon-carat-1-e),a.ui-state-active span:not(.ui-icon-carat-1-e){
        background-position-x: -17px ;
    }

/*ICONOS DEL PRIMER NIVEL DEL MENU*/
   
    /*Clase del icono de Add Slide*/
    .ui-icon.addSlideIcon {
        background-position: 0px 0px;
    }
    .ui-icon.addSlideIcon:hover, .hover-ui-icon.addSlideIcon {
        background-position: -17px 0px;
    }
    /*Clases de los iconos de Copy, Paste y Delete*/
    .ui-icon.contentMenuIconPaste {
        background-position: 0px -18px;
    }
    .ui-icon.contentMenuIconPaste:hover, .hover-ui-icon.contentMenuIconPaste {
        background-position: -17px -18px;
    }
    .ui-icon.contentMenuIconCopy {
        background-position: 0px -36px;
    }
    .ui-icon.contentMenuIconCopy:hover, .hover-ui-icon.contentMenuIconCopy {
        background-position: -17px -36px;
    }
    .ui-icon.contentMenuIconDelete {
        background-position: 0px -54px;
    }
    .ui-icon.contentMenuIconDelete:hover, .hover-ui-icon.contentMenuIconDelete {
        background-position: -17px -54px;
    }

/*ICONOS DEL SEGUNDO NIVEL DEL MENU*/

     /*Clases de los iconos  Add Content y Add Activity*/
    .ui-icon.addContentIcon{
        background-position: 0px -72px;
    }
    .ui-icon.addContentIcon:hover, .hover-ui-icon.addContentIcon{
        background-position: -17px -72px;
    }
    .ui-icon.addActivityIcon{
        background-position: 0px -90px;
    }
    .ui-icon.addActivityIcon:hover, .hover-ui-icon.addActivityIcon{
        background-position: -17px -90px;
    }

/*ICONOS DEL TERCER NIVEL DEL MENU*/
    
    /*Clases de los iconos de Content*/
    .ui-icon.contentMenuIconSlide {
        background-position: 0px -126px;
    }
    .ui-icon.contentMenuIconSlide:hover, .hover-ui-icon.contentMenuIconSlide {
        background-position: -17px -126px;
    }
    .ui-icon.contentMenuIconSlideEditor {
        background-position: 0px -126px;
    }
    .ui-icon.contentMenuIconSlideEditor:hover, .hover-ui-icon.contentMenuIconSlideEditor {
        background-position: -17px -126px;
    }
    .ui-icon.contentMenuIconVideo {
        background-position: 0px -144px;
    }
    .ui-icon.contentMenuIconVideo:hover, .hover-ui-icon.contentMenuIconVideo {
        background-position: -17px -144px;
    }
    .ui-icon.contentMenuIconAudio {
        background-position: 0px -162px;
    }
    .ui-icon.contentMenuIconAudio:hover, .hover-ui-icon.contentMenuIconAudio {
        background-position: -17px -162px;
    }
    .ui-icon.contentMenuIconSlideshow {
        background-position: 0px -180px;
    }
    .ui-icon.contentMenuIconSlideshow:hover, .hover-ui-icon.contentMenuIconSlideshow {
        background-position: -17px -180px;
    }
    .ui-icon.contentMenuIconFieldTrip {
        background-position: 0px -198px;
    }
    .ui-icon.contentMenuIconFieldTrip:hover, .hover-ui-icon.contentMenuIconFieldTrip {
        background-position: -17px -198px;
    }
    .ui-icon.contentMenuIconPdfViewer {
        background-position: 0px -216px;
    }
    .ui-icon.contentMenuIconPdfViewer:hover, .hover-ui-icon.contentMenuIconPdfViewer {
        background-position: -17px -216px;
    }
    .ui-icon.contentMenuIconWebcontent {
        background-position: 0px -234px;
    }
    .ui-icon.contentMenuIconWebcontent:hover, .hover-ui-icon.contentMenuIconWebcontent {
        background-position: -17px -234px;
    }
    .ui-icon.contentMenuIconThreeD {
        background-position: 0px -270px;
    }
    .ui-icon.contentMenuIconThreeD:hover, .hover-ui-icon.contentMenuIconThreeD {
        background-position: -17px -270px;
    }
    .ui-icon.contentMenuIconSway {
        background-position: 0px -288px;
    }
    .ui-icon.contentMenuIconSway:hover, .hover-ui-icon.contentMenuIconSway {
        background-position: -17px -288px;
    }

    /*Clases de los iconos de Activity*/
    .ui-icon.contentMenuIconOpenEndQuestion {
        background-position: 0px -306px;
    }
    .ui-icon.contentMenuIconOpenEndQuestion:hover, .hover-ui-icon.contentMenuIconOpenEndQuestion {
        background-position: -17px -306px;
    }
    .ui-icon.contentMenuIconPoll {
        background-position: 0px -324px;
    }
    .ui-icon.contentMenuIconPoll:hover, .hover-ui-icon.contentMenuIconPoll {
        background-position: -17px -324px;
    }
    .ui-icon.contentMenuIconQuiz {
        background-position: 0px -342px;
    }
    .ui-icon.contentMenuIconQuiz:hover, .hover-ui-icon.contentMenuIconQuiz {
        background-position: -17px -342px;
    }
    .ui-icon.contentMenuIconDrawit {
        background-position: 0px -360px;
    }
    .ui-icon.contentMenuIconDrawit:hover, .hover-ui-icon.contentMenuIconDrawit {
        background-position: -17px -360px;
    }
    .ui-icon.contentMenuIconFillTheBlanks {
        background-position: 0px -378px;
    }
    .ui-icon.contentMenuIconFillTheBlanks:hover, .hover-ui-icon.contentMenuIconFillTheBlanks {
        background-position: -17px -378px;
    }
    .ui-icon.contentMenuIconMemotest {
        background-position: 0px -396px;
    }
    .ui-icon.contentMenuIconMemotest:hover, .hover-ui-icon.contentMenuIconMemotest {
        background-position: -17px -396px;
    }
    .ui-icon.contentMenuIconCollaborative {
        background-position: 0px -414px;
    }
    .ui-icon.contentMenuIconCollaborative:hover, .hover-ui-icon.contentMenuIconCollaborative {
        background-position: -17px -414px;
    }
    .ui-icon.contentMenuIconExternalSlides {
        background-position: 0px -414px;
    }
    .ui-icon.contentMenuIconExternalSlides:hover, .hover-ui-icon.contentMenuIconExternalSlides {
        background-position: -17px -414px;
    }
    .ui-icon.contentMenuIconFlipgrid {
        background-position: 0px -414px;
    }
    .ui-icon.contentMenuIconFlipgrid:hover, .hover-ui-icon.contentMenuIconFlipgrid {
        background-position: -17px -414px;
    }
    .ui-state-focus .ui-icon.contentMenuIconDesmos #Rectangle{
        fill: rgb(0, 168, 255);
    }
    .ui-state-focus .ui-icon.contentMenuIconDesmos #Combined-Shape-Clipped #Combined-Shape{
        fill: rgb(255, 255, 255);
    }
    .ui-state-focus .ui-icon.contentMenuIconFlocabulary #Rectangle{
        fill: rgb(0, 168, 255);
    }
    .ui-state-focus .ui-icon.contentMenuIconFlocabulary #Combined-Shape-Clipped #Combined-Shape{
        fill: rgb(255, 255, 255);
    }

