/********************************************************/
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: var(--font-family-sans-serif);
}

li {
    list-style: none;
}

a {
    text-decoration: none;
    color: var(--color-texto-a);
}


::-webkit-scrollbar {
    width: 5px;
}

::-webkit-scrollbar-thumb {
    background: #2f3d4b;
    border-radius: 10px;
}

/************************************************************/

.header {
    background-color: var(--color-fondo-menus);
    padding: 10px;
}

.sticky {
    position: -webkit-sticky;
    position: sticky;
    top: 0;
}

.header .container {
    display: flex;
    flex-direction: row;
    justify-content: space-between;
    flex-wrap: wrap;
}


.header .container .menu-principal {
    display: flex;
    flex-direction: row;
    flex-wrap: wrap;
    gap: 10px;
}

/****************************************************/

.left {
    width: 300px;
    min-width: 238px;
    position: fixed;
    left: 0;
    top: 50px;
    bottom: 0;
    overflow: auto;
    background-color: var(--color-fondo-principal-left);
    color: #fff;
    align-items: center;
    text-align: center;
}

.left .container {
    margin: 10px;
}

/*****************************************************/
.tarjeta-cliente {
    border: 1px solid #000;
    padding: 10px;
    margin: 5px;
    border-radius: 5px;
    background-color: #233750;

    display: flex;
    flex-direction: row;
    justify-content: space-between;
    flex-wrap: nowrap;

    -webkit-box-shadow: 2px 2px 3px 0px rgba(0, 0, 0, 0.75);
    -moz-box-shadow: 2px 2px 3px 0px rgba(0, 0, 0, 0.75);
    box-shadow: 2px 2px 3px 0px rgba(0, 0, 0, 0.75);
}


.clasif-cliente {
    border: 1px solid #111b26;
    border-radius: 50%;
    background-color: #41638d;
    padding: 6px;
    width: 45px;
    height: 45px;

    -webkit-box-shadow: 2px 2px 3px 0px rgba(0, 0, 0, 0.75);
    -moz-box-shadow: 2px 2px 3px 0px rgba(0, 0, 0, 0.75);
    box-shadow: 2px 2px 3px 0px rgba(0, 0, 0, 0.75);
}

.clasif-cliente h2 {
    padding: 0px;
    margin: -3px 0px 0px 0px;
    font-size: 25px;
}

.tarjeta-cliente h3 {
    font-size: 20px;
}

.tarjeta-cliente p {
    font-size: 15px;
}

.tarjeta-cliente-cabecera {
    border: 1px solid #000;
    padding: 10px;
    margin: 5px;
    border-radius: 5px;
    background-color: #233750;

    display: flex;
    flex-direction: row;
    justify-content: center;
    flex-wrap: nowrap;
    gap: 10px;

    -webkit-box-shadow: 2px 2px 3px 0px rgba(0, 0, 0, 0.75);
    -moz-box-shadow: 2px 2px 3px 0px rgba(0, 0, 0, 0.75);
    box-shadow: 2px 2px 3px 0px rgba(0, 0, 0, 0.75);
}





.clasif-cliente-cabecera {
    border: 1px solid #111b26;
    border-radius: 50%;
    background-color: #41638d;
    padding: 10px 10px 10px 10px;
    width: 45px;
    height: 45px;

    -webkit-box-shadow: 2px 2px 3px 0px rgba(0, 0, 0, 0.75);
    -moz-box-shadow: 2px 2px 3px 0px rgba(0, 0, 0, 0.75);
    box-shadow: 2px 2px 3px 0px rgba(0, 0, 0, 0.75);
}

.clasif-cliente-cabecera h2 {
    padding: 0px;
    margin: -10px 0px 0px 0px;
    font-size: 30px;
}

.tarjeta-cliente-cabecera h3 {
    font-size: 25px;
}

.tarjeta-cliente-cabecera p {
    font-size: 20px;
}




/*********************************************/

.left-boton {
    width: 300px;
    min-width: 238px;
    position: fixed;
    left: 0;
    top: 50px;
    bottom: 0;
    overflow: auto;
    background-color: #152334;
    color: #fff;
    align-items: center;
    text-align: center;
    z-index: 1000;
}

.left-boton .container {
    margin: 10px;
}


.right {
    width: calc(100% - 300px);
    min-width: 238px;
    position: fixed;
    left: 300px;
    top: 50px;
    bottom: 0;
    overflow: auto;
    background-color: var(--color-fondo-principal-right);
    color: #fff;
    align-items: center;
    text-align: center;
}

.right .container {
    margin: 10px;
}

.boton-menu {
    display: block;
    color: var(--color-fondo-boton);
    background-color: transparent;
    border: 1px solid #000;
    padding: 5px;
}

#boton-cliente {
    display: none;
    color: var(--color-fondo-boton);
    background-color: transparent;
}

#ocultar {
    display: none;
}

#chk:checked+#ocultar {
    display: block;
}

/* CONFIGURACION MOVIL MENOR O IGUAL A 550 PX */

@media (max-width: 750px) {

    .left {
        display: none;
    }

    .right {
        width: 100%;
        left: 0px;
    }

    #boton-cliente {
        display: block;
    }

    .m-div5 {
        width: 97% !important;
        left: 0 !important;
        top: 160px !important;    
    }

}

@media (max-width: 900px) {
    
    .right-body {
        display: flex;
        flex-direction: column !important;
        justify-content: center;
        flex-wrap: nowrap !important;
        gap: 20px;
    }

    .wrapper {
        display: flex;
        flex-direction: column !important;
        flex-wrap: wrap;
    }

    .m-parent {
        display: block !important;
        grid-template-columns: repeat(2, 1fr) repeat(3, 0);
        grid-template-rows: repeat(2, 1fr) repeat(3, 0);
        grid-column-gap: 5px;
        grid-row-gap: 5px;
    }

    .m-div3 {
        height: auto !important;
    
        overflow-x:hidden !important;
        overflow-y:hidden !important;
    }
}





/***************************************************/
.info-cliente {

    border: 1px solid #000;
    padding: 10px;
    margin: 5px;
    border-radius: 5px;
    background-color: #c1d1e4;

    display: flex;
    flex-direction: row;
    justify-content: right;
    flex-wrap: wrap;
    gap: 10px;
    text-align: left;

    -webkit-box-shadow: 2px 2px 3px 0px rgba(0, 0, 0, 0.75);
    -moz-box-shadow: 2px 2px 3px 0px rgba(0, 0, 0, 0.75);
    box-shadow: 2px 2px 3px 0px rgba(0, 0, 0, 0.75);
}

.tarjeta-cliente-cuerpo {
    border: 1px solid #000;
    padding: 10px;
    margin: 5px;
    border-radius: 5px;
    background-color: #233750;

    display: flex;
    flex-direction: column;
    justify-content: center;
    flex-wrap: wrap;
    width: 100%;
    gap: 20px;

    -webkit-box-shadow: 2px 2px 3px 0px rgba(0, 0, 0, 0.75);
    -moz-box-shadow: 2px 2px 3px 0px rgba(0, 0, 0, 0.75);
    box-shadow: 2px 2px 3px 0px rgba(0, 0, 0, 0.75);
}

.right .container {
    display: flex;
    flex-direction: row;
    justify-content: center;

    flex-wrap: nowrap;
    gap: 20px;
}

.right-body {
    display: flex;
    flex-direction: row;
    flex-wrap: nowrap;
    align-items: stretch;

}

.tarjeta-cliente-cuerpo .titulo-tarjeta-cliente {

    background-color: #41638d;
}

/**********************************************************/

.wrapper {
    display: flex;
    flex-direction: row;
    flex-wrap: wrap;
}

.wrapper>div {
    background: #c1d1e4;
    flex: 1;
    color: #000;

    border: 1px solid #000;
    padding: 10px;
    margin: 5px;
    border-radius: 5px;
}

.wrapper .wrapper>div {

    border: 1px solid #000;
    padding: 10px;
    margin: 5px;
    border-radius: 5px;
    background-color: #233750;
    color: white;
}

.wrapper .titulo-tarjeta {
    width: 100%;
    background-color: #4d5964;
    border-radius: 5px;
}


/*************************************************/


.m-parent {
    display: grid;
    grid-template-columns: repeat(2, 1fr) repeat(3, 0);
    grid-template-rows: repeat(2, 1fr) repeat(3, 0);
    grid-column-gap: 5px;
    grid-row-gap: 5px;
}


.m-div5 {
    width: calc(100% - 320px);
    min-width: 238px;
    position: fixed;
    left: 300px;
    top: 160px;
    bottom: 0;
    overflow: auto;
    background-color: #c9e5ff;
    color: #111b26;
    border: 1px solid #000;
    padding: 10px;
    margin: 5px;
    border-radius: 5px;
}



.m-div1 {
    grid-area: 1 / 1 / 2 / 2;
    background-color: #c9e5ff;
    color: #111b26;
    border: 1px solid #000;
    padding: 10px;
    margin: 5px;
    border-radius: 5px;
}

.m-div2 {
    grid-area: 2 / 1 / 3 / 2;
    background-color: #c9e5ff;
    color: #111b26;
    border: 1px solid #000;
    padding: 10px;
    margin: 5px;
    border-radius: 5px;
}

.m-div3 {
    grid-area: 1 / 2 / 3 / 3;
    background-color: #c9e5ff;
    color: #111b26;
    border: 1px solid #000;
    padding: 10px;
    margin: 5px;
    border-radius: 5px;
    height: 730px;    
}

/****************************************************/

.tabs {
    display: flex;
    flex-wrap: wrap;
    /*max-width: 700px;*/
    background: #e5e5e5;
    box-shadow: 0 48px 80px -32px rgba(0,0,0,0.3);

  }
  .input {
    position: absolute;
    opacity: 0;
  }
  .label {
    width: 50%;
    padding: 20px 30px;
    background: #e5e5e5;
    cursor: pointer;
    font-weight: bold;
    font-size: 18px;
    color: #7f7f7f;
    transition: background 0.1s, color 0.1s;
  }
  .label:hover {
    background: #d8d8d8;
  }
  .label:active {
    background: #ccc;
  }
  .input:focus + .label {
    z-index: 1;
  }
  .input:checked + .label {
    background: #fff;
    color: #000;
  }

  @media (min-width: 600px) {
    .label {
      width: 50% !important;
    }
  }
  .panel {
    display: none;
    padding: 20px 30px 30px;
    background: #fff;
    overflow-x:hidden;
    overflow-y:auto;
    height: 640px;
    width: 100%;
    color: white;
  }
  @media (min-width: 600px) {
    .panel {
      order: 99;
    }
  }
  .input:checked + .label + .panel {
    display: block;
  }
  