
:root {
    --font-size1: 12px;
    --font-size2: 18px;
    --font-size3: 20px;
    --font-color: rgb(68, 68, 68);
    --blank-color: #fff;
    --active-color: rgb(0, 255, 200);
    --primary-color: rgb(2, 46, 60);
    --secondary-color: rgb(48, 145, 140);
    --secondary-color2: rgb(15, 44, 43);
    --third-color: rgb(232, 255, 22);
    --input-select: rgba(0, 0, 0, 0.063);
    --transition-05: all 0.5s ease;
    --transition-03: all 0.3s ease;

}

/* TABLA */


.container__section .tools i {
    font-size: 20px;
}

.datatable i{
    font-size: 32px;
}

.container__section-table {
    background-color: var(--blank-color);
    color: var(--font-color);
    height: 100%;
    width: 95%;
    padding: 20px;
    margin: auto;
    margin-bottom: 50px;
    box-sizing: border-box;
    font-size: var(--font-size1);
}

.container__section-table .datatable {
    width: 100%;
    font-size: 16px;
    overflow-x: hidden;
}


.datatable td {
    padding: 20px 5px !important;   
}

.datatable td:first-child {
    padding: 20px 5px 20px 30px !important;
}



/* Header de tabla */

.datatable-header {
    display: flex;
    align-items: baseline;
    border-bottom: solid 1px var(--primary-color);
    padding: 12px;
    margin: 10px;
}

.datatable-header .tools {
    width: 70%;
}

.datatable-header .tools ul {
    margin: 0;
    padding: 0;
    display: flex;
    justify-content: start;
    align-items: baseline;
}

.datatable-header .tools li {
    display: inline;
    text-transform: none;
    align-items: baseline;
}

.datatable-header .tools ul li button a {
    color: var(--blank-color);
}

.datatable-header .tools ul li button {
    border-radius: 5px;
    padding: 10px 12px;
    transition: var(--transition-03);
    cursor: pointer;
    background-color: rgb(9, 130, 81);
    color: var(--blank-color);
    -webkit-box-shadow: 0px 8px 20px 0px rgba(78, 255, 69, 0.5);
    box-shadow: 0px 8px 20px 0px rgba(78, 255, 69, 0.5);
    border: none;
    transform: scale(1.1);
}

.datatable-header .tools ul li button:hover {
    background: var(--secondary-color);
    color: var(--blank-color);
    transform: scale(1.2);
    -webkit-box-shadow: inset 0px 8px 20px 0px rgba(78, 255, 69, 0.5);
    box-shadow: inset 0px 8px 20px 0px rgba(78, 255, 69, 0.5);
}

/* Botones */

.edit,
.drop,
.pdfview {
    border-radius: 5px;
    color: black;
    text-align: center;
    padding: 5px;
    margin: 2px;
    text-transform: uppercase;
    transition: var(--transition-03);
}

.buttontable{
    color: #fff;
}

a{
    color: #fff;
}

a:hover{
    color: #fff;
}

/* EDITAR */

         
         
         
.btn-grad {
    background-image: linear-gradient(to right, #4776E6 0%, #8E54E9  51%, #4776E6  100%);
    margin: 10px;
    padding: 15px 45px;
    text-align: center;
    text-transform: uppercase;
    transition: 0.5s;
    background-size: 200% auto;
    color: white;            
    box-shadow: 0 0 20px #eee;
    border-radius: 10px;
    display: block;
  }

  .btn-grad:hover {
    background-position: right center; /* change the direction of the change here */
    color: #fff;
    text-decoration: none;
  }
 
 

.edit {
    background-image: linear-gradient(to right, #4776E6 0%, #8E54E9  51%, #4776E6  100%);
    color: #fff;;
    -webkit-box-shadow: 0px 8px 20px 0px rgba(16, 123, 255, 0.5);
    box-shadow: 0px 8px 20px 0px rgba(16, 123, 255, 0.5);
    font-weight: 600;
    text-transform: uppercase;
    background-size: 200% auto;
    border: none;

}

.edit:hover {
    background-position: right center; /* change the direction of the change here */
    color: var(--blank-color);
    -webkit-box-shadow: inset 0px 8px 20px 0px rgba(16, 123, 255, 0.5);
    box-shadow: inset 0px 8px 20px 0px rgba(16, 123, 255, 0.5);
}

/* ELIMINAR */

.drop {
    background-color: rgb(255, 70, 70);
    color: var(--blank-color);
    -webkit-box-shadow: 0px 8px 20px 0px rgba(255, 28, 85, 0.5);
    box-shadow: 0px 8px 20px 0px rgba(255, 28, 85, 0.5);
    transition: var(--transition-03);
}

.drop:hover {
    background-color: rgb(196, 46, 186);
    color: var(--blank-color);
    -webkit-box-shadow: inset 0px 8px 20px 0px rgba(255, 28, 85, 0.5);
    box-shadow: inset 0px 8px 20px 0px rgba(255, 28, 85, 0.5);
}

/* MOSTRAR PDF */

.pdfview {
    background-color: rgb(9, 130, 81);
    color: var(--blank-color);
    -webkit-box-shadow: 0px 8px 20px 0px rgba(78, 255, 69, 0.5);
    box-shadow: 0px 8px 20px 0px rgba(78, 255, 69, 0.5);
    transition: var(--transition-03);
}

.pdfview:hover {
    background-color: var(--secondary-color);
    color: var(--blank-color);
    -webkit-box-shadow: inset 0px 8px 20px 0px rgba(78, 255, 69, 0.5);
    box-shadow: inset 0px 8px 20px 0px rgba(78, 255, 69, 0.5);
}



@media only screen and (max-width: 650px) {
    .container__section-table {
        width: 95%;
        margin: auto
    }

    .datatable {
        font-size: 14px;
    }
}