/* Fichero con tamaños y forma, pero NO con colores */
 .botonNormal, .botonNormal:hover, .botonNormalNoPulsado, .botonNormal:active, .botonNormal:focus, .botonNormalPulsado {
    -webkit-border-radius: 3px;
    -moz-border-radius: 3px;
    border-radius: 3px;
    box-shadow: 1px 1px 2px rgba(0, 0, 0, 0.5);
    -webkit-box-shadow: 1px 1px 2px rgba(0, 0, 0, 0.5);
    -moz-box-shadow: 1px 1px 2px rgba(0, 0, 0, 0.5);
    min-width: 100px;
    min-height: 33px;
    max-height: 33px;
    height: 33px !important;
    padding: 8px 18px;
    vertical-align: middle;
    cursor: pointer;
    -webkit-user-select: none;
    -moz-user-select: none;
    -khtml-user-select: none;
}
.botonPrincipal, .botonPrincipalSmall, .botonPrincipal:hover, .botonPrincipalSmall:hover, .botonPrincipalNoPulsado, .botonPrincipalSmallNoPulsado, .botonPrincipal:active, .botonPrincipalSmall:active, .botonPrincipal:focus, .botonPrincipalSmall:focus, .botonPrincipalPulsado, .botonPrincipalSmallPulsado {
    -webkit-border-radius: 3px;
    -moz-border-radius: 3px;
    border-radius: 3px;
    box-shadow: 1px 1px 2px rgba(0, 0, 0, 0.3);
    -webkit-box-shadow: 1px 1px 2px rgba(0, 0, 0, 0.3);
    -moz-box-shadow: 1px 1px 2px rgba(0, 0, 0, 0.3);
    /*text-shadow: #addc7e 0 1px 0;*/
    /*padding: 8.5px 18px;*/
    /*padding-left: 18px;
    padding-right: 18px;*/
    /*min-width: 95px;*/
    width: 95px;
    min-height: 28px;
    max-height: 28px;
    height: 28px !important;
    padding: 5px 7px;
    vertical-align: middle;
    cursor: pointer;
}
.botonPrincipal, .botonPrincipal:hover, .botonPrincipalNoPulsado, .botonPrincipal:active, .botonPrincipal:focus, .botonPrincipalPulsado {
    width: 95px;
}
.botonPrincipalSmall, .botonPrincipalSmall:hover, .botonPrincipalSmallNoPulsado, .botonPrincipalSmall:active, .botonPrincipalSmall:focus, .botonPrincipalSmallPulsado {
    width: 50px;
}
/* switch de bloqueado/desbloqueado (http://proto.io/freebies/onoff/) */

/* NOTA1: para cambiar el ancho del interruptor, es necesario modificar también el recorrido de la "palanca"
    Ver más abajo, en la posición de .onoffswitch-switch -> el right debe valer .onoffswitch{width}-12. O eso parece.

    NOTA2: al usarlo desde cualquier lado, habrá que cambiar el content y tamaño desde el css de esa página. 
     */
.onoffswitch {
    cursor: pointer;
    cursor: hand;
    display:inline-block !important;
    position: relative;
    width: 114px;
    -webkit-user-select:none;
    -moz-user-select:none;
    -ms-user-select: none;
}
.onoffswitch .onoffswitch-checkbox {
    display: none;
}
.onoffswitch .onoffswitch-label {
    display: block;
    overflow: hidden;
    cursor: pointer;
    border: 1px solid #cbcac8;
    border-radius: 4px;
}
.onoffswitch .onoffswitch-inner {
    width: 200%;
    margin-left: -100%;
    -moz-transition: margin 0.2s ease-in 0s;
    -webkit-transition: margin 0.2s ease-in 0s;
    -o-transition: margin 0.2s ease-in 0s;
    transition: margin 0.2s ease-in 0s;
}
.onoffswitch .onoffswitch-inner:before, 
.onoffswitch .onoffswitch-inner:after {
    float: left;
    width: 50%;
    height: 22px;
    padding: 0;
    line-height: 18px;
    font-size: 11px;
    color: white;
    font-family: Trebuchet, Arial, sans-serif;
    font-weight: bold;
    -moz-box-sizing: border-box;
    -webkit-box-sizing: border-box;
    box-sizing: border-box;
}
.onoffswitch .onoffswitch-inner:before {
    content:"ON";
    padding-left: 5px;
    background-color: #A51E1F;
    color: #FFFFFF;
}
.onoffswitch .onoffswitch-inner:after {
    content:"OFF";
    padding-right: 5px;
    background-color: #33FF33;
    color: #999999;
    text-align: right;
}
.onoffswitch .onoffswitch-switch {
    width: 13px;
    margin: 0px;
    background: #FFFFFF;
    border: 1px solid #cbcac8;
    border-radius: 4px;
    position: absolute;
    top: 0;
    bottom: 0;
    right: 100px;
    -moz-transition: all 0.2s ease-in 0s;
    -webkit-transition: all 0.2s ease-in 0s;
    -o-transition: all 0.2s ease-in 0s;
    transition: all 0.2s ease-in 0s;
}
.onoffswitch .onoffswitch-checkbox:checked + .onoffswitch-label .onoffswitch-inner {
    margin-left: 0;
}
.onoffswitch .onoffswitch-checkbox:checked + .onoffswitch-label .onoffswitch-switch {
    right: 0px;
}
.excelIcon {
     background-image: url("../img/excel.png");
     background-position: center center;
     background-repeat: no-repeat;
}
