/* INICIO Estilos de Tablas con menos padding */
.dataTables_wrapper .dataTables_paginate .paginate_button {
    padding: 3px 12px;
}
.dataTables_wrapper .dataTables_filter input {
    padding: 1px 6px;
}
.dataTables_wrapper .dataTables_length select {
    padding: 1px 4px;
}
.dataTables_wrapper {
    font-size: 14px;
}
.dataTables_scrollHead .dataTables_scrollHeadInner .dataTable thead tr th {
    padding-top: 6px;
    padding-bottom: 6px;
}
.dataTables_scrollHead .dataTables_scrollHeadInner .dataTable thead tr th button {
    padding: 1.5px 6px;
}
.dataTables_scrollHead .dataTables_scrollHeadInner .dataTable thead tr th a {
    padding: 1.5px 6px;
}
.dataTables_scrollHead .dataTables_scrollHeadInner .dataTable thead tr th input {
    font-size: 14px;
    line-height: 15px;
}
.dataTables_scrollBody .dataTable tbody tr td {
    padding-top: 3px;
    padding-bottom: 3px;
}
.dataTables_scrollBody .dataTable tbody tr td button{
    padding: 1.5px 6px;
}
.dataTables_scrollBody .dataTable tbody tr td a{
    padding: 1.5px 6px;
}
  /* FIN Estilos de Tablas con menos padding */

.custom-tooltip {
    position: relative;
    background: rgba(0, 0, 0, .3);
    padding: 2.5px 6px;
    border-radius: 100%;
    font-size: 10px;
    cursor: help;
    color: #fff;
    top: -2px;
}

.loader {
    border: 6px solid #f3f3f3;
    /* Light grey */
    border-top: 6px solid #3498db;
    /* Blue */
    border-radius: 50%;
    width: 30px;
    height: 30px;
    animation: spin 1.5s linear infinite;
    margin: auto;
    }
    
    @keyframes spin {
    0% {
        transform: rotate(0deg);
    }
    100% {
        transform: rotate(360deg);
    }
    }
    .titulo-principal {
        letter-spacing: 5px;
    }
    
    .img-principal {
        width: 60px;
    }
    
    .thead-sag{
    text-align: center; 
    background-color: #a2ded0;
    border-color: #dee2e6;
    color: #424344;
    }
    .agregar {
    background-color: rgba(0, 209, 0, 0.392);
    }
    .modificar {
    background-color: rgba(0, 187, 255, 0.487);
    }
    .eliminar {
    background-color: rgba(255, 0, 0, 0.44);
    }
    .btn-add-gats{
    border: 0px;
    background-color:#a2ded0;
    width: 100%;
    /* height: 7vh; */
    box-shadow: 2px 2px 2px gray;
    margin-bottom: 8px;
    }
    .btn-add-gats:hover{
    cursor:pointer;
    }
    .btn-gats{
    border: 0px;
    background-color:#a2ded0;
    width: 100%;
    /* height: 5vh; */
    /* position: absolute;
    top: 0vh;
    left: 0vw; */
    box-shadow: 2px 2px 2px gray;
    }
    .btn-gats:hover{
    cursor:pointer;
    }
    .icon-title-abm{
    width: 10vh;
    }
    .modal-xl{
        max-width: 70% !important;
    }
    .hidden{
    display: none;
    }
    th, td { white-space: nowrap; }
    .busqueda-collapse.show {
        display: flex !important;
    }
    
    .dataTables_scrollBody {
        overflow-y: overlay !important;
    }
    
    .btn-collapse {
        width: 2rem;
        height: 2rem;
        border-radius: 50%;
        background-color: rgba(162, 222, 208, 0.25);
    }
    .btn-collapse i {
        position: relative;
        top: 0.3rem;
        left: 0.6rem;
    }

    /* NOTIFICACIONES */
    .panel-notif {
    width: 20%;
    height: 80%;
    position: absolute;
    top: 0;
    right: 0;
    background-color: antiquewhite;
    }
    
    .num-count {
    position: relative;
    user-select: none;
    cursor: pointer;
    font-size: 0.6rem;
    background: tomato;
    width: 1.2rem;
    height: 1.2rem;
    color: wheat;
    display: inline-flex;
    justify-content: center;
    align-items: center;
    border-radius: 50%;
    top: 0.3rem;
    right: 0.5rem;
    box-sizing: border-box;
    }
    
    #mensajesArea {
    position: relative;
    overflow-y: auto;
    padding: 0 10px;
    /* height: calc(100% - 48px); */
    justify-content: flex-end;
    flex-direction: column;
    max-height: 15rem !important; 
    min-height: 3rem !important;
    }
    
    .bubble {
    font-size: 16px;
    position: relative;
    display: inline-block;
    clear: both;
    margin-bottom: 8px;
    padding: 13px 14px;
    vertical-align: top;
    border-radius: 5px;
    }
    
    .you {
    float: left;
    color: white;
    background-color: #00b0ff;
    align-self: flex-start;
    text-align: start;
    max-width: 95%;
    }
    
    .you:before {
    left: -3px;
    background-color: var(#00b0ff);
    }
    
    .me {
    float: right;
    color: #1a1a1a;
    background-color: #eceff1;
    align-self: flex-end;
    text-align: end;
    max-width: 95%;
    }
    
    .me:before {
    right: -3px;
    background-color: #eceff1;
    }
    
    .notification-container {
        cursor: default;
        position: absolute;
        z-index: 999;
        top: 92px;
        right: 105px;
        width: 400px;
        font-weight: 300;
        background: whitesmoke;
        border-radius: 0.5rem;
        box-shadow: 0px 0px 5px #1a1a1a;
        max-height: 25rem;
        overflow-y: auto;
        overflow-x: clip;
    }
    
    .notification-container:before {
    content: "";
    position: absolute;
    top: 1px;
    right: 0;
    width: 0;
    height: 0; 
    transform: translate(-1rem, -100%);
    border-left: .75rem solid transparent;
    border-right: .75rem solid transparent;
    border-bottom: .75rem solid whitesmoke;
    }
    
    .notification-container h3 {
    text-align: center;
    text-transform: uppercase;
    font-size: 75%;
    font-weight: 700;
    color: #84929f;
    padding: 15px; 
    }
    
    .notification-container i {
    color: #b5c4d2;
    font-size: 140%;
    vertical-align: 50%;
    position: absolute;
    }
    
    .notification-container em {
    margin-right: 10px;
    font-weight: 700;
    font-size: 115%;
    color: #b5c4d2;
    vertical-align: bottom;
    display: inline-block;
    }
    
    .notification {
    color: black;
    box-sizing: border-box;
    background: whitesmoke;
    width: 90%;
    margin-left: 20px;
    margin-right: 20px;
    border-top: 1px solid #1a1a1a;
    cursor: pointer;
    }
    
    .notification a {
        text-decoration: none;
        cursor: pointer;
        color: black;
    }
    
    .notification label {
        text-decoration: none;
        cursor: pointer;
        color: black;
    }
    
    .notification i:hover{
        color: rgba(0, 209, 0, 0.392);
    }
    
    .btn-notif {
    width: 50px;
    }
    
    .float{
        position:fixed;
        width:60px;
        height:60px;
        bottom:30px;
        right:30px;
        background-color:#0C9;
        color:#FFF;
        border-radius:50px;
        text-align:center;
        box-shadow: 2px 2px 3px #999;
    }
    
    .my-float{
        margin-top:16px;
        font-size: 25px;
    }

    
    /* MODAL RIGHT / LEFT -------------------------------------------------------------------------------------------*/
    /* MODAL RIGHT / LEFT -------------------------------------------------------------------------------------------*/
    /* MODAL RIGHT / LEFT -------------------------------------------------------------------------------------------*/
    /* MODAL RIGHT / LEFT -------------------------------------------------------------------------------------------*/
    /* MODAL RIGHT / LEFT -------------------------------------------------------------------------------------------*/
    .modal.left .modal-dialog,
	.modal.right .modal-dialog {
		position: fixed;
		margin: auto;
		width: 25%;
		height: 100%;
		-webkit-transform: translate3d(0%, 0, 0);
		    -ms-transform: translate3d(0%, 0, 0);
		     -o-transform: translate3d(0%, 0, 0);
		        transform: translate3d(0%, 0, 0);
	}

	.modal.left .modal-content,
	.modal.right .modal-content {
		height: 100%;
		overflow-y: auto;
	}
	
	.modal.left .modal-body,
	.modal.right .modal-body {
		padding: 10px 10px 10px;
	}

/*Left*/
	.modal.left.fade .modal-dialog{
		left: -25%;
		-webkit-transition: opacity 0.3s linear, left 0.3s ease-out;
		   -moz-transition: opacity 0.3s linear, left 0.3s ease-out;
		     -o-transition: opacity 0.3s linear, left 0.3s ease-out;
		        transition: opacity 0.3s linear, left 0.3s ease-out;
	}
	
	.modal.left.fade.show .modal-dialog{
		left: 0;
	}
        
/*Right*/
	.modal.right.fade .modal-dialog {
		right: -25%;
		-webkit-transition: opacity 0.3s linear, right 0.3s ease-out;
		   -moz-transition: opacity 0.3s linear, right 0.3s ease-out;
		     -o-transition: opacity 0.3s linear, right 0.3s ease-out;
		        transition: opacity 0.3s linear, right 0.3s ease-out;
	}
	
	.modal.right.fade.show .modal-dialog {
		right: 0;
	}


    /* RESPONSIVE */
    @media (max-width: 768px) {
        .titulo-principal {
            font-size: 25px;
            letter-spacing: 0px;
        }
    
        .img-principal {
            width: 45px;
        }
    
        .modal-xl{
            max-width: 90% !important;
        }

        .notification-container {
            position: absolute;
            top: 250px;
            right: 5%;
            width: 90%;
        }
    }
    
    @media (min-width: 768px) {
        .modal-lg {
            max-width: 600px;
        }
    }
    @media (min-width: 992px) {
        .modal-lg {
            max-width: 800px;
        }
    }

    @media (max-width: 1024px) {
        .modal-xl{
            max-width: 80% !important;
        }
    }