:root{
    --colorPrincipal:#84931a;
    --colorEnfasis:#ff5722;
}

body {
    margin: 0;
    overflow: hidden;
    font-family: Roboto;
    overflow-x: auto;
}

/*Parte de la vista de carga*/
#loadingViewMaster {
    display: table;
    height: 100%;
    width: 100%;
}

#loadingViewContainer {
    display: table-cell;
    vertical-align: middle;
    text-align: center;
    width: 100%;
}

/*Para la parte de carga inicial*/
#loadingView {
    background-color: white;
    z-index: 2;
    position: fixed;
    border-bottom: 8px solid var(--colorPrincipal);
    width: 100%;
    height: 100%;
    display: table;
    -webkit-transition-property: bottom;
    -o-transition-property: bottom;
    transition-property: bottom;
    -webkit-transition-duration: 1s;
    -o-transition-duration: 1s;
    transition-duration: 1s;
    cursor: pointer;
}

#loadingViewCell {
    display: table-cell;
    vertical-align: middle;
    text-align: center;
}

#loadingViewCell p {
    margin-top: 0;
    font-family: Roboto;
    font-size: 35px;
    font-weight: bold;
    color: #484848;
}

/*Barra superior*/
header {
    position: absolute;
    top: 0;
    height: 65px;
    left: 0;
    right: 0;
    min-width: 950px;
    overflow: hidden;
    box-shadow: 0px 2px 20px 0px #969696;
    z-index: 2;
    background-color: var(--colorPrincipal);
    color: white;
    user-select: none;
}

#headerLeftSide {
    float: left;
    height: 100%;
    display: flex;
}

#headerLeftSideCenterer {
    display: flex;
    align-items: center;
}

#headerLogo {
    font-family: Roboto;
    font-weight: bold;
    font-size: 22px;
    margin-left: 20px;
    width: 210px;
    display: inline-block;
}

#headerLogo a {
    text-decoration: none;
    color: white;
    -webkit-transition-property: color;
    -o-transition-property: color;
    transition-property: color;
    -webkit-transition-duration: 0.25s;
    -o-transition-duration: 0.25s;
    transition-duration: 0.25s;
}

#headerLogo a:hover {
    text-decoration: none;
    color: var(--colorEnfasis);
}

#headerSeparator {
    display: inline-block;
    border-left: 1px solid #e6e6e6;
    padding-top: 9px;
    padding-bottom: 4px;
}

#headerInformation {
    display: inline-block;
    font-family: Roboto Condensed;
    font-size: 23px;
}

#headerButtons {
    display: table;
    margin-right: 5px;
    height: 100%;
    float: right;
}

#headerButtonsCenterer {
    display: table-cell;
    vertical-align: middle;
    filter: saturate(1) invert(0) contrast(1) !important;
}

#headerButtons a {
    text-decoration: none;
    color: white;
}

#headerButtons img {
    padding-top: 2px;
    text-decoration: none;
    color: white;
    margin-right: 15px;
    width: 30px;
    height: 30px;
    -webkit-filter: saturate(0);
    filter: saturate(0);
    -webkit-transition-property: all;
    -o-transition-property: all;
    transition-property: all;
    -webkit-transition-duration: 0.25s;
    -o-transition-duration: 0.25s;
    transition-duration: 0.25s;
}

#headerButtons img:hover {
    -webkit-filter: saturate(1);
    filter: saturate(1);
}

#headerButtonsCenterer img{
    transition-property: none;
    filter: saturate(0) invert(1) contrast(23.5);
}

#headerButtons img:hover {
    filter: saturate(1) invert(0) contrast(1) !important;
}


/*Navigation bar*/
nav {
    margin-top: 65px;
    border-right: 1px solid #e6e6e6;
    width: 230px;
    height: calc(100% - 65px);
    position: absolute;
    overflow: auto;
    z-index: 1;
}

.buttonsSidebar {
    display: block;
    text-decoration: none;
    color: #393939;
    font-weight: 700;
    font-size: 15px;
    padding-top: 15px;
    padding-bottom: 15px;
    -webkit-transition-property: all;
    -o-transition-property: all;
    transition-property: all;
    -webkit-transition-duration: 0.3s;
    -o-transition-duration: 0.3s;
    transition-duration: 0.3s;
    -webkit-filter: invert(0.2);
    filter: invert(0.2);
    font-family: Roboto;
}

.buttonsSidebar img {
    -webkit-filter: saturate(0);
    filter: saturate(0);
}

.buttonsSidebar_active {
    background-color: rgba(193, 193, 193, 0.13);
    color:var(--colorEnfasis);
}

.buttonsSidebar_active img {
    -webkit-filter: saturate(1);
    filter: saturate(1);
}

.buttonsSidebar img {
    height: 30px;
    vertical-align: middle;
    margin-right: 10px;
    margin-left: 15px;
}

.buttonsSidebar:hover {
    background-color: rgba(193, 193, 193, 0.28);
}

/*Contenido interior*/
article {
    display: block;
    left: 230px;
    right: 0;
    top: 65px;
    bottom: 0; /*SOLUCIONA ESTE MARGIN DE MIERDA INUTIL !!!!!!!!!!*/
    height: calc(100% - 75px);
    position: absolute;
    overflow: auto;
    padding-bottom: 15px;
}

#calendarSpace {
    display: table-cell;
    min-width: 550px;
    max-width: calc(100% - 220px);
}

#sidebarSpace {
    vertical-align: top;
    min-width: 220px;
    width: 220px;
    height: 100%;
    overflow: hidden;
    display: table-cell;
}

#scriptResponse{
    display: none;
}

.window{
    display: block;
    width: calc(100% - 30px);
    background-color: #ffffff;
    box-shadow: 2px 2px 15px rgba(126, 126, 126, 0.55);
    border-radius: 3px;
    margin-top: 15px;
    margin-left: 15px;
    margin-right: 15px;
}

.window_title{
    padding: 15px;
    font-size: 20px;
    border-bottom: 1px solid rgba(0, 0, 0, 0.12);
    color: #454545;
    font-weight: 400;
}

div.window_title div{
    font-weight: 400;
}
.window_content{
    padding: 15px;
    font-weight: 400;
    overflow-x: auto;
}

.window_title_button {
    border: 1px solid #efefef;;
    padding: 5px;
    margin-top: -6px;
    text-decoration: none;
    color:#8d8d8d;
    border-radius:3px;
    display: inline-block;
}

.window_title a{
    transition-property: background-color;
    transition-duration: 0.3s;
}

.window_title a:hover{
    background-color: rgba(193, 193, 193, 0.28);
}

select, input, textarea{
    border: 1px solid #dedede;
    border-radius: 5px;
    padding: 10px;
    transition-property: all;
    transition-duration: 300ms;
}

select:hover, input:hover, textarea:hover{
    border: 1px solid var(--colorEnfasis);
    color: var(--colorEnfasis);
}

.table {
    width: 100%;
    border-collapse: collapse;
}

.table tr {
    transition-property: all;
    transition-duration: 300ms;
}

.table tr:nth-child(1) td {
    border-bottom: 1px solid var(--colorEnfasis);
    color: var(--colorEnfasis);
    padding-bottom: 10px;
}

.table td {
    padding: 15px;
    cursor: pointer;
    color: #6f6f6f;
}

.table tr:nth-child(2n) {
    background-color: #fff4f0;
}

.table tr:hover {
    background-color: #e2e2e2;
}

.table tr:nth-child(2n):hover {
    background-color: #ffdbce;
}

#loadHere1{
    width: 100%;
    text-align: center;
}