@font-face{
    font-family: roboto;
    src: url("../fonts/Roboto-Regular.ttf") format("truetype");
}

@font-face{
    font-family: roboto-bold;
    src: url("../fonts/Roboto-Bold.ttf") format("truetype");
}

@font-face{
    font-family: roboto-bolditalic;
    src: url("../fonts/Roboto-BoldItalic.ttf") format("truetype");
}

@font-face{
    font-family: roboto-italic;
    src: url("../fonts/Roboto-Italic.ttf") format("truetype");
}

@font-face{
    font-family: roboto-light;
    src: url("../fonts/Roboto-Light.ttf") format("truetype");
}

/***************************************** GENERAL **************************************/

body{
    margin: 0 auto;
    vertical-align: baseline;
    background: url("../images/background.png") 0 0  repeat;
    font: 20px 'roboto-light';
    width: 100%;
}


#div-main{
    width: 100%;
    position: absolute;
    margin: 0 auto;
}

#div-main-center{
    //width: 955px;
    margin:0 auto;
}

#div-contenido{
    width: 100%;
    //top: 500px;
    //position: relative;
    background: url("../images/background.png") 0 0  repeat;
    left: 170px; 
    margin-left: 20px;
    margin-top: 120px;
    margin-bottom: 50px;
    margin-right: 20px;
    //padding: 15px;
    //overflow:auto;
    right: 0;
}

#div-contenido-center{
    width: 850px;
    margin: 0 auto;
    background-color: #f2f2f2;  
    box-shadow: 0px 0px 15px #222;
    border-radius: 5px;
    padding: 20px;
    text-align: center;
}

#div-contenido-center-stats{
    width: 1400px;
    margin: 0 auto;
    background-color: #f2f2f2;  
    box-shadow: 0px 0px 15px #222;
    border-radius: 5px;
    padding: 20px;
    //margin: 20px;
    text-align: center;
    overflow: none;
}


.form-button{
    background: rgb(51, 112, 186);
    border:none;
    padding: 10px 25px 10px 25px;
    color: #FFF;
    cursor: pointer;
}

.form-button:hover{
    background: #234c7e;
}

.form-button:active{
    background: #666;
}

input:-webkit-autofill {
    -webkit-box-shadow: 0 0 0px 1000px #234c7e inset;
}

.input-manager{
    padding: 0 10px;
    margin: 5px;
    width: 300px;
    height: 40px;
    color: rgb(51, 112, 186);
    background: #ddd;
    border: 0;
    border-radius: 5px;
    text-align: center;
}

.input-manager-select{
    margin:5px;
    width: 300px;
    text-align: center;
    height: 40px;
    color: rgb(51, 112, 186);
    background: #ddd;
    border: 0;
    border-radius: 5px;
    padding: 10px;
}

#select-id1-client{
    text-align: left;
}

.input-manager::-webkit-input-placeholder {
    color: #555;
}
.input-manager::-moz-placeholder {
    color: #555;
}

.table{
    margin:0 auto;
    border-spacing: 0px;
}

.table th{
    font-size: 15px;
    padding:10px;
    background:rgb(51, 112, 186); 
    color:#e1ebf7;
}

.table td{
    font-size: 11px;
    padding: 10px;
}

.table tr{
    background: #e1ebf7;
}

.table tr:nth-child(2n+1){
    background: #c3d6ee;
}

.table img{
    width:30px;
}


/**************************************** LOGIN ******************************************/
#div-main-login{
    width: 955px;
    margin:0 auto;
}

.form-login {
    position: relative;
    width: 400px;
    margin:0 auto;
    padding-top: 10px;
    top: 100px;
    color: #D3D3D3;
    /* background: rgb(122, 150, 73); Verde */
    background: rgb(51, 112, 186);
    box-shadow: 0px 0px 15px #222;
}
.form-login p {
    margin: 0 0 10px;
}

.img-titulo{
    width: 200px;
    padding: 20px;
    display: block;
    margin: auto;
}

input, button {
    font-size: 15px;
    font-weight: 300;
    -webkit-box-sizing: border-box;
    -moz-box-sizing: border-box;
    box-sizing: border-box;
}

.login-user,.login-pass {
    padding: 0 10px;
    width: 300px;
    height: 40px;
    margin-left: 50px;
    color: #eee;
    //text-shadow: 1px 1px 1px black;
    background: rgba(0, 0, 0, 0.27);
    border: 0;
    border-radius: 5px;
}

input::-webkit-input-placeholder {
    color: #939393;
}
input::-moz-placeholder {
    color: #fff;
}

.p-forgot-password {
    padding-bottom: 30px;
    font-size: 13px;
    font-weight: 100;
    letter-spacing: 1px;
    color: #D3D3D3;
    text-align: right;
    padding-right: 50px;
}

.a-forgot-pass{
    color: #D3D3D3;
    text-decoration:none; 
}

.a-forgot-pass:hover {
    color: #234c7e;
}

.p-login-submit {
    position: absolute;
    top: 85px;
    right: 0;
    width: 48px;
    height: 48px;
    padding: 8px;
    border-radius: 32px;
}

.login-button {
    position: relative;
    z-index: 2;
    width: 48px;
    height: 48px;
    top: 25px;
    padding: 0 0 48px;
    text-indent: 120%;
    white-space: nowrap;
    overflow: hidden;
    background: none;
    border: 0;
    right: 20px;
    border-radius: 24px;
    cursor: pointer;
    -webkit-box-shadow: inset 0 1px 1px rgba(0, 0, 0, 0.2), 0 1px rgba(255, 255, 255, 0.1);
    box-shadow: inset 0 1px 1px rgba(0, 0, 0, 0.2), 0 1px rgba(255, 255, 255, 0.1);
}
.login-button:before {
    content: '';
    position: absolute;
    top: 5px;
    bottom: 5px;
    left: 5px;
    right: 5px;
    background: #A1A1A1;
    border-radius: 24px;
    background-image: -webkit-linear-gradient(top, #BBB, #A1A1A1);
    background-image: linear-gradient(to bottom, #BBB, #A1A1A1);
    -webkit-box-shadow: inset 0 0 0 1px #A1A1A1, 0 0 0 5px rgba(0, 0, 0, 0.16);
    box-shadow: inset 0 0 0 1px #C6C6C6, 0 0 0 5px rgba(0, 0, 0, 0.16);
}

.login-button:focus {
    outline:0px;
}

.login-button:hover{
    animation:vibrate 0.9s linear 0s infinite ;
    -moz-animation: vibrate 0.9s linear 0s infinite ; /* Firefox */
    -webkit-animation: vibrate 0.9s linear 0s infinite ; /* Safari and Chrome */
    -o-animation: vibrate 0.9s linear 0s infinite ; /* Opera */
}

.login-button:active:before {
    background-image: -webkit-linear-gradient(top, #A1A1A1, #BBB);
    background-image: linear-gradient(to bottom, #A1A1A1, #BBB);
}

.login-button:after {
    content: '';
    position: absolute;
    top: 15px;
    left: 12px;
    width: 25px;
    height: 19px;
    background: url("../images/arrow.png") 0 0 no-repeat;
}

.p-login-wrong{
    text-align:center;    
    color:#d3d3d3;
}

.div-login-wrong{
    border-bottom: solid 6px #ca443d;
}


@keyframes vibrate
{
    0% {margin-left: 0px;}
    25% {margin-left: -2px;}
    50% {margin-left: 0px;}
    75% {margin-left: 2px;}
    100% {margin-left: 0px;}
}

@-moz-keyframes vibrate /* Firefox */
{
    0% {margin-left: 0px;}
    25% {margin-left: -2px;}
    50% {margin-left: 0px;}
    75% {margin-left: 2px;}
    100% {margin-left: 0px;}
}

@-webkit-keyframes vibrate /* Safari and Chrome */
{
    0% {margin-left: 0px;}
    25% {margin-left: -2px;}
    50% {margin-left: 0px;}
    75% {margin-left: 2px;}
    100% {margin-left: 0px;}
}

@-o-keyframes vibrate /* Opera */
{
    0% {margin-left: 0px;}
    25% {margin-left: -2px;}
    50% {margin-left: 0px;}
    75% {margin-left: 2px;}
    100% {margin-left: 0px;}
}

/************************************ INDEX ***********************************/



#div-contactos{
    width: 100%;
    text-align: center;
    margin: 0 auto;
}

#div-grafica{
    margin: 0 auto;
}

/*********************************** NAVBAR ***********************************/

#nav-menu{
    position: fixed;
    height: 70px;
    width: 100%;
    background: rgb(51, 112, 186);
    border-bottom: 5px rgb(51, 112, 186) solid;
    text-align: center;
    font-size: 17px;
    //overflow: auto;
    box-shadow:0px 0px 15px #222;
    z-index: 100;
}

#nav-menu ul{
    list-style-type:none;
    margin:0;
    padding:0;
} 

#nav-menu ul li{ 
    display:inline;      
}


#div-option-user{
    display:flex;
    justify-content:center;
    align-items:center;
}

#div-navbar-licences{
    margin: 0 auto;
    width: 400px;
}

#div-navbar-licences div{        
    position: relative;
    height: 50px;
    float: left;   
    padding: 10px;
}

#div-navbar-licences .after-div{
    clear: left;   
}

#ul-navbar-pages{
    position: absolute;
    bottom: 0;
    left: 0;
    margin-bottom: 100px;
}

#ul-navbar-pages li{
    margin: 10px;
}

#ul-navbar-pages a{
    padding-top: 10px;
    padding-right: 10px;
    padding-left: 10px;
}

#div-name-user{
    display:flex;
    justify-content:center;
    align-items:center;
}

.item-menu{
    color:black;
    position:relative;
    text-decoration:none; 
    //padding: 5px 10px 5px 10px;
}

#div-menu-logo img{
  
}

.menu-logo{
    padding: 20px auto;
    position:relative;
    width: 200px;
    display: block;
}

.menu-opciones{
    display:initial;
    position:relative;
    width:30px;
    //margin-right: 10px;
    //margin-left:10px;
    //margin-bottom: 10px;
}

.menu-usuario{
    font-size: 12px;
    position: relative;
}

.menu-buscador{
    position:relative;
    width:150px;
    margin: 20px 10px;
}

#a-ayuda{
    //margin-top: 20px;
    margin-bottom: 20px;
}

#a-stats:hover{
    background: rgb(128, 227, 139);
}

#a-reports:hover{
    background: rgb(0,204,255);
}

#a-managerscorms:hover{
    background: rgb(228, 183, 119);
}

#a-managerclients:hover{
    background: rgb(138, 79, 188);
}

#a-managererrors:hover{
    background: rgb(191, 92, 137);
}

#a-managerusers:hover{
    background: rgb(150, 150, 150);
}

#a-ayuda:hover{
    background: rgb(44, 95, 156);
}


/*************************************** LOGOUT ***************************/

#p-logout{
    text-align: center;
}


/********************************** MANAGER USERS *************************/

#p-add-user a{
    font-size: 19px;
    color: black;
    text-decoration: none;
}

#p-add-user a:hover{
    color:rgb(51, 112, 186); 
}

#p-add-user img{
    width: 15px;
    margin-right:5px;
}

.p-user-wrong{
    text-align:center;    
    color:black;
}

.div-user-wrong-1{
    border-bottom: solid 6px #00FF00;
}

.div-user-wrong-3{
    border-bottom: solid 6px #ca443d;
}

#dialog-delete-user{
    display:none;
}


/***************************** FORM USER *************************************/

.form-user {
    
}

#form-button-user{
    margin: 10px;
}

.label-message-wrong{
    color: #ca443d;
}

/**************************** TABLE *******************************************/

.td-color-green{
    color: green;   
}

.td-color-red{
    color: red;   
}

#select-sort{    
    text-align: center;
    width: 200px;
    height: 40px;
}

#text-find{
    text-align: center;
    width: 350px;
    height: 40px;
}

#button-find{
    padding-left: 28px;
    padding-right: 28px;
}

#text-find::-webkit-input-placeholder {
    color: #555;
}
#text-find::-moz-placeholder {
    color: #555;
}

/******************************** CALENDAR ************************************/

#table-calendar{
    width: 500px;
    margin: 0 auto;
    color: black;
    text-decoration: none;
    background-color: white;
}

#table-calendar td, #table-calendar a{
    //background-color: white;  
    text-decoration: none;
}

#table-calendar-top{
    width: 100%;
    border-bottom: solid 1px black; 
    cellspacing: 0;
    cellpadding: 0;
}

#td-calendar-top-left{
    text-align: left;  
}

#td-calendar-top-left a{
    color:black;
}

#td-calendar-top-right{
    text-align: right;
}

#td-calendar-top-right a{
    color:black;
}

#table-calendar-bottom{
    width: 100%;
    border: 0;
    cellpadding: 2;
    cellspacing: 2;
}

#td-calendar-today{
    background-color: rgb(51, 112, 186);
}

#td-calendar-today a{
    text-decoration: none;
    color: white;
}

.td-calendar-day{
    align: center;
    valign: middle;
    height: 20px;    
}

.td-calendar-day a{
    text-decoration: none;
    color: rgb(51, 112, 186);
}

.td-calendar-day:hover{
    background-color: rgb(221,232,246);
}

#td-calendar-day-report{
    background-color: red;
}

#p-message-report-ok{
    padding: 10px;
    border-bottom: solid 2px lawngreen;
}

#p-message-report-report{
    padding: 10px;
    border-bottom: solid 2px red;
}

.td-exist-report{
    border: solid 1px red;
}

#div-report{
    //border: solid 2px #224c7e;
}

#div-report label{
    font-size: 14px; 
}

#label-report-0{     
    color: limegreen;
}

#label-report-1{ 
    color: orange;
}

#label-report-2{ 
    color: #b30000;
}

/*********************************** CLIENT **********************************/

#label-total-licences{
    font-size: 14px;
    position: absolute;
    margin-left: 320px;   
    margin-top: 25px;
}

#label-total-licences-used{
    font-size: 14px;
    position: absolute;
    margin-left: 320px;   
    margin-top: 5px;
}

