/* 
    Created on : Aug 16, 2022, 7:12:28 PM
    Author     : oscar
*/

body {
    background-color: #0f2950;
    color: white;
    /*Tabs*/
    font-family: sans-serif;
    line-height: 1.2;
    margin-bottom: 150px;
}

body.admin {
    background-color: darkslateblue;
}

h1 {
    text-align: center;
    color: white;
    border-bottom: solid orange;
    width: 90%;
    margin: 50px auto 20px auto;
}

h2 {
    color: white;
    /*Tabs*/
    margin: 0;
}

p {
    /*Tabs*/
    margin: 0;
}

a {
    color: #f1a01e;
}

a:link {
    color: white;
}

a:visited {
    color: #F6E13C;
}

a:hover {
    color: #f1a01e;
}

a:active {
    color: blue;
}

a:link.cltab { /* tabs */
    text-decoration: none;
}

table {
    border: 1px solid #f1a01e;
    padding: 20px 50px;
    margin: 50px auto auto auto;
    font-size: x-large;
}

/* Inputs - forms*/
input[type=submit] {
    padding:5px 15px;
    //background:#ccc;
    border:0 none;
    cursor:pointer;
    -webkit-border-radius: 5px;
    border-radius: 5px;
    background-color: #F6E13C;
}

input[type=submit]:hover {
    background-color: #f1a01e;
}

/* Contenedores de gráficos */
.chartCard{
    width: 100%;
    height: calc(100% - 40px);
    margin-bottom: 50px;
}

.chartBox{
    width: 95%;
    padding: 20px;
    border-radius: 20px;
    border: solid 3px rgba(54, 162, 235, 1);
    background: white;
    margin-left: auto;
    margin-right: auto;
}

.container{
    width: 100%;
    max-width: 95%;
    overflow-x: scroll;
    background: white;
}

.containerBody{
    -webkit-border-radius: 15px;
    border-radius: 15px;
    height: 600px;
    width: 2000px;
    background: white;
}

/* Logos and icons */
div.imghome {
    background-image: url("../img/logo_84x70.png");
    width: 84px;
    height: 70px;
    display: inline-block;
}

div.imghome:hover {
    background-image: url("../img/logo_84x70_hover.png");
}

div.logout {
    background-image: url("../img/logout_white_82x70.png");
    width: 82px;
    height: 70px;
    display: inline-block;
    float: right;
}

div.logout:hover {
    background-image: url("../img/logout_red_82x70.png");
}

div.config {
    background-image: url("../img/config_white_72x70.png");
    width: 72px;
    height: 70px;
    display: inline-block;
}

div.config:hover {
    background-image: url("../img/config_orange_72x70.png");
}

/* Forms */
.dinput {
    margin-top: 3%;
    margin-bottom: 3%;
    text-align: center;
}

label {
    margin: auto;
    text-align: left;
}

input {
    text-align: left;
    font-size: x-large;
}

select {
    font-size: x-large;
}

/* Map */
.flex-parent {
    display: flex;
    flex-direction: column;
    text-align: center;
}

.logotitle {
    width: 90%;
    horiz-align: center;
    height: 62px;
    background-image: url("../img/interinosCLM_dark_500x62.png");
    background-position: center;
    background-repeat: no-repeat;
    margin: 5% auto;
    background-size: contain;
}

.row-one, .row-two, .row-three  {
    flex-basis: 50%;
    flex-grow: 0;
    flex-shrink: 1;
    text-align: center;

}

.provmap {
    width: 250px;
    height: 204px;
    padding: 70px;
    text-align: center;
    vertical-align: center;
    font-size: xxx-large;
    font-size: -webkit-xxx-large;
    color: darkred;
    background-repeat: no-repeat;
    background-position: center center;
    display: inline-block;
}

.provmap.ab {
    background-image: url(../img/maps/02AB.png);
}

.provmap.cr {
    background-image: url(../img/maps/13CR.png);
}

.provmap.cu {
    background-image: url(../img/maps/16CU.png);
}

.provmap.gu {
    background-image: url(../img/maps/19GU.png);
}

.provmap.to {
    background-image: url(../img/maps/45TO.png);
}

.provmap.grey.ab {
    background-image: url(../img/maps/02AB_grey.png);
}

.provmap.grey.cr {
    background-image: url(../img/maps/13CR_grey.png);
}

.provmap.grey.cu {
    background-image: url(../img/maps/16CU_grey.png);
}

.provmap.grey.gu {
    background-image: url(../img/maps/19GU_grey.png);
}

.provmap.grey.to {
    background-image: url(../img/maps/45TO_grey.png);
}

.provmap.nodispo.ab {
    background-image: url(../img/maps/02AB_nodispo.png);
}

.provmap.nodispo.cr {
    background-image: url(../img/maps/13CR_nodispo.png);
}

.provmap.nodispo.cu {
    background-image: url(../img/maps/16CU_nodispo.png);
}

.provmap.nodispo.gu {
    background-image: url(../img/maps/19GU_nodispo.png);
}

.provmap.nodispo.to {
    background-image: url(../img/maps/45TO_nodispo.png);
}

.provmap.asigned.ab {
    background-image: url(../img/maps/02AB_asignado.png);
}

.provmap.asigned.cr {
    background-image: url(../img/maps/13CR_asignado.png);
}

.provmap.asigned.cu {
    background-image: url(../img/maps/16CU_asignado.png);
}

.provmap.asigned.gu {
    background-image: url(../img/maps/19GU_asignado.png);
}

.provmap.asigned.to {
    background-image: url(../img/maps/45TO_asignado.png);
}

.provmap.working.ab {
    background-image: url(../img/maps/02AB_working.png);
}

.provmap.working.cr {
    background-image: url(../img/maps/13CR_working.png);
}

.provmap.working.cu {
    background-image: url(../img/maps/16CU_working.png);
}

.provmap.working.gu {
    background-image: url(../img/maps/19GU_working.png);
}

.provmap.working.to {
    background-image: url(../img/maps/45TO_working.png);
}

/* Forecast */
.bruja{
    width: 200px;
    height: 200px;
    background-repeat: no-repeat;
    text-align: center;
    margin: 3% auto;
}

.bruja.color {
    background-image: url(../img/brujas/bruja.png);
}

.bruja.bw {
    background-image: url(../img/brujas/bruja-bw.png);
}

.bruja.green {
    background-image: url(../img/brujas/bruja-green.png);
}

.bruja.red {
    background-image: url(../img/brujas/bruja-red.png);
}

.hadmin{
    color: orange;
    text-align: center;
}

.btn {
    text-align: center;
}

.iconleft {
    float: left;
}

.iconright {
    float: right;
}

.position {
    font-size: xxx-large;
    text-align: center;
    background-color: darkred;
    color: wheat;
    border: dotted darkred;
    width: 50%;
    margin: 50px auto auto auto;
}

.centrado {
    text-align: center;
    padding-bottom: 50px;
}

.button{
    width: auto;
    margin:1% 10%;
    text-align: center;
}

.listbutton{
    width: 80%;
    margin:1% 10%;
    padding: 10px;
    text-align: left;
    font-size: x-large;
}

.escudo {
    text-align: center;
    margin: 50px auto auto auto;
    width: 50%;
}

.sinbordes {
    border: 0px;
}

.show {
    visibility: visible;
}

.noshow {
    visibility: hidden;
}

/* funcionamiento básico del sistema de pestañas */
.tab-content {
    display: none;
}

.tab:target .tab-content, .tab:last-of-type .tab-content {
    display: block;
}

.tab:target ~ .tab:last-of-type .tab-content {
    display: none;
}

.tabs * {
    box-sizing: border-box;
}

/* Esto es para posicionar las pestañas correctamente */
.tab-container {
    position: relative;
    padding-top: var(--tabs-height); /* en esta zona colocaremos las pestañas */
}

#tab1 > a {
    --tabs-position: 0;
}

#tab2 > a {
    --tabs-position: 1;
}

#tab3 > a {
    --tabs-position: 2;
}

#tab4 > a {
    --tabs-position: 3;
}

#tab5 > a {
    --tabs-position: 4;
}

#tab6 > a {
    --tabs-position: 5;
}

#tab7 > a {
    --tabs-position: 6;
}

#tab8 > a {
    --tabs-position: 7;
}

#tab9 > a {
    --tabs-position: 8;
}


.tab > a {
    text-align: center;
    position: absolute;
    width: calc(var(--tabs-width));
    height: calc(var(--tabs-height) + var(--tabs-border-size));
    top: 0;
    left: calc(var(--tabs-width) * var(--tabs-position)); /* posición de cada pestaña */
}

/* más aspecto */
.tabs {
    padding: 10px;
    color: var(--tabs-text-color);
}

.tab-content {
    background-color: var(--tabs-lite-color);
    padding: 20px;
    border: var(--tabs-border-size) solid var(--tabs-border-color);
    border-radius: 0 0 10px 10px;
    position: relative;
    z-index: 100;
}

.tab > a {
    background-color: var(--tabs-dark-color);
    padding: 10px;
    border: var(--tabs-border-size) solid var(--tabs-border-color);
    border-radius: 10px 10px 0 0;
    border-bottom: 0;
}

.tab:target > a, .tab:last-of-type > a {
    background-color: var(--tabs-lite-color);
    z-index: 200;
}

.tab:target ~ .tab:last-of-type > a {
    background-color: var(--tabs-dark-color);
    z-index: 0;
}

/* Parámetros para configurar las pestañas */
:root {
    --tabs-border-color: #ABCDEF;
    --tabs-border-size: 3px;
    --tabs-text-color: white;
    --tabs-dark-color: #012345;
    --tabs-lite-color: #345678;
    --tabs-width: 15%;
    --tabs-height: 40px;
}



.listado {
    width: 90%;
    margin: 2% auto;
}

.leyenda {
    width: 50px;
}

#cuerpoFieldsetId {
    width: 10%;
    margin: 10px auto;
    text-align: center;
}

#processFileId {
    text-align: left;
}

div.admin {
    width: 75%;
    margin: 2% auto;
}

/* Loaders */
.loader-container {
    position: relative;
    width: 300px;
    height: 300px;
    background-image: url("../img/logo_296x296.png");
    background-size: 200px;
    background-repeat: no-repeat;
    background-position: center;
    margin: 50px auto;
}

.loader-container .loader {
    position: absolute;
    top: 50%;
    left: 50%;
    border: solid 20px transparent;
    border-radius: 50%;
}

.loader-container .loader.a {
    width: 100%;
    height: 100%;
    border-top-color: #f5a43a;
    border-left-color: #f5a43a;
    animation: loader-a 4s linear infinite;
}

.loader-container .loader.b {
    width: 80%;
    height: 80%;
    border-top-color: white;
    border-left-color: white;
    animation: loader-b 4s linear infinite;
}

@keyframes  loader-a {
    0%{
        transform: translate(-50%, -50%) rotate(0deg);
    }
    100%{
        transform: translate(-50%, -50%) rotate(360deg);
    }
}

@keyframes  loader-b {
    0%{
        transform: translate(-50%, -50%) rotate(0deg);
    }
    100%{
        transform: translate(-50%, -50%) rotate(-360deg);
    }
}

.flex-container {
    display: flex;
    border-radius: 25px;
    padding: 20px;
    border-style: solid;
    border-color: white;
}

.flex-child {
    flex: 1;
    padding: 10px;
}
