#sdm-agentes{
    color: white !important;
/* 
    margin-left: auto;
    margin-right: 0;
    width: fit-content;
 */
}
#sdm-agentes div, #sdm-agentes i{
    align-self: center;
}
#sdm-agentes .row {
	padding: 0px -10px
}
#agent-menu{
    display: none;
    /*position: absolute;*/
    top: 100%;
    right: 0;
    z-index: 1000;
    padding: 3px;
    border-bottom-left-radius: 3px;
    width: auto;
    min-width: 230px;
    background-color: rgba(195, 25, 35, 0.96);
    
    position: relative;
    text-align: right;
}
.agent-menu-list li {
    border-bottom: 1px solid rgba(245, 245, 245, 0.94);
    
    padding-left: 9px;
    padding-right: 9px;
}
.agent-menu-list li:last-child{
    border-bottom: 0px;
}
#sdm-agentes i {
    font-size: 20px;
    vertical-align: sub;
}
.agent-menu-list .my-nav-link{
    padding: 2px;
    width: 100%;
    display: block;
}
.agent-menu-list .my-nav-link:hover{
    background-color: rgba(255, 255, 255, 0.76);
}
.identificacion {
    line-height: 1.25;
    padding: 8px 16px;
    font-size: 16px;
}
tr.runascustomer{
    transition: 0.08s;
}
tr.runascustomer:hover{
    background-color: rgba(100, 149, 237, 0.8) !important;
}

div.dttable table tbody{
    font-size: 17px;
}
.table th, .table td {
    padding: 0.5% !important;
}

#listadoClientes_length{
    margin: 1.5%;
}

tr.customer_selected{
    background-color: rgba(229, 223, 255, 0.86) !important;
    font-weight: 500;
}

tr.cart_selected, tr.cart_selected + tr.child{
    background-color: #ffd7afdb !important;
    font-weight: 500;
}

tr.group{
    background-color: #d6af8ede !important;
    font-weight: 500;
    font-size: 22px;
    color: #494949;
    line-height: 1.4em;
}
#agent-orders tr td:not(.child){
    padding: 10px !important;
    font-size: 1.15em !important;
    color: black;
}
#agent-orders tr td.child{
    padding: 0.4% 1% !important;
}
.child-group{
    display: flex;
    padding: 5px;
    font-size: 1em;
    color: #3c3c3c;
}
.child-group:nth-child(even){
    border-top: 1px solid lightgray;
}
.alert {
	padding: 10px 15px !important;
	width: 100% !important;
}
.alert.alert::before {
	display: none !important;
}
#agent-orders th{
    padding: 10px 5px !important;
    font-size: 1.2em;
    background: rgba(245, 122, 123, 0.65);
    border: 0;
    border-bottom: 1px solid #e75f5f;
}
#agent-orders th:first-of-type, #cart-list th:first-of-type{
    border-top-left-radius: 5px;
}
#agent-orders th:last-of-type, #cart-list th:last-of-type{
    border-top-right-radius: 5px;
}
#agent-orders {
    border: 1px solid #e75f5f !important;
}

table.dataTable thead th{
    padding: 10px 5px !important;
    font-size: 0.9em;
    border: 0;
    border-bottom: 1px solid;
}
#listadoClientes{
    border: 1px solid #9CE5F0;
}
#listadoClientes th{
    background: rgba(193, 234, 240, 0.8);
    border-bottom: 1px solid #8ed7e1;
}
#cart-list{
    border: 1px solid rgba(255, 136, 0, 0.91);
}
#cart-list th{
    background: #fdc685cc !important;
    border-bottom: 1px solid darkorange;
}


[data-tooltip]:hover::before, .vacations:hover::before {
    border-right: 6px solid #0b0b0b75;
}
[data-tooltip]::before, .vacations::before {
    content: "";
    width: 0%;
    height: 0%;
    border-top: 5px solid rgba(34, 34, 34, 0);
    border-right: 6px solid rgba(10, 10, 10, 0);
    border-bottom: 5px solid rgba(34, 34, 34, 0);
    position: absolute;
    top: 50%;
    left: 100%;
    margin-left: -6px;
    transform: translate(0, -50%);
    transition: 300ms;
}
[data-tooltip]:hover::after, .vacations:hover::after {
    color: rgba(255, 251, 249, 0.9);
    font-size: 17px;
    padding: 5px;
    background-color: rgba(11, 11, 11, 0.46);
}
[data-tooltip]::after, .vacations::after {
    content: attr(data-tooltip);
    font-weight: 300;
    z-index: 999999;
    font-size: 0px;
    border-radius: 3px;
    position: absolute;
    top: 50%;
    left: 100%;
    transform: translate(0, -50%);
    transition: 300ms;
}




/*modal styles*/
#warning-sim {
    display: none;
    position: fixed;
    z-index: 9999;
    width: 100%;
    height: 100%;
    overflow: auto;
    top: 0;
    backdrop-filter: blur(1px);
    padding-top: 10%;
    transform: initial !important;
}
@keyframes droping {
    from {transform: translateY(0%);  opacity: 0.3;}
    to {transform: translateY(5%);  opacity: 0.8;}
}
@keyframes fading {
    from {background-color: rgba(0,0,0,0.5); opacity:1;}
    to {background-color: rgba(0,0,0,0); opacity:0;}
}
.modal-main{
    width: 70%;
    min-height: 25%;
    height:auto;
    background-color: #fefefe;
    margin: auto;
    padding: 0;
    border: 1px solid #888;
    border-radius:7px;
    box-shadow: 5px 5px 7px rgba(0,0,0,0.19);
    transform: translateY(5%);
    animation-name: droping;
    animation-duration: 0.3s;
}
.modal-title{
    font-size: 20px;
    font-weight: bold;
    margin:3%;
}
.modal-message{
    font-size: 16px;
    margin: 3%;
    /*height:70px;*/
}
.modal-actions{
    bottom: 1px;
    text-align: right;
    height: 35%;
    margin: 3%;
    display: flex;
}
.modal-actions .custom-callback{
    width: 100%;
    text-align: left;
}
.modal-actions .default-callback{
    width: 100%;
    text-align: right;
}
.modal-actions button{
    margin-left:2%;
}
.form-control.invalid{
    border: 1px solid rgba(219, 55, 71, 0.9);
}
.carritoSeleccionado{
    background-color: rgba(207, 145, 92, 0.6) !important;
    font-weight: 600;
}

.tableheader th {
    text-align: center !important;
}
caption{
    text-align:  center;
    caption-side: top !important;
}
.id_cart{
    cursor: pointer;
}

tr.runascustomer{
    transition: 0.08s;
}
tr.runascustomer:hover{
    background-color: rgba(100, 149, 237, 0.8) !important;
}
div.dttable{
    margin: 1% 0%;
    padding: 0.5% 2%;
    border: 1px solid rgba(224, 224, 224, 0.85);
    border-radius: 4px;
    background-color: rgba(245, 245, 245, 0.91);
}
div.dttable table tbody{
    font-size: 14px;
    line-height: 1.3em;
}
.table{
    border: 1px solid #999999;
    border-radius: 6px;
}
.table th, .table td {
    padding: 0.5% !important;
}

.dt-button{
    position: relative;
    border: 1px solid #ebebeb;
    border-radius: 3px;
    padding: 3px;
    cursor: pointer;
    opacity: 0.9;
    transition: 150ms;
}
.dt-button:hover{
    opacity: 1;
}
.dt-button i{
    color: #505050;
    transition: 150ms;
}
.dt-button:hover i{
    color: black;
}

.dt-button-primary{
    background-color: rgba(136, 208, 235, 0.66);
}
.dt-button-secondary{
    background-color: rgba(141, 184, 141, 0.65);
}
.dt-button-primary:hover{
    background-color: #88CFEB;
}
.dt-button-secondary:hover{
    background-color: #8fba8f;
}
.dt-button-warning{
    background-color: rgba(255, 176, 91, 0.7);
}
.dt-button-warning:hover{
    background-color: rgb(255, 162, 81);
}

.dt-button-danger{
    background-color: rgba(255, 111, 88, 0.7);
}
.dt-button-danger:hover{
    background-color: rgb(242, 69, 56);
}
.modal-main.custom-modal{
    z-index: 99999;
    position: relative;
    margin: auto;
    min-height: auto;
    width: 55vw;
    transform: translate(0px, 5%);
    animation-name: droping-custom !important;
    animation-duration: 0.3s;
}
@keyframes droping-custom {
    from {
        transform: translate(0px, 0%);  opacity: 0.3;
    }
    to {transform: translate(0px, 5%);  opacity: 0.9;}
}

.modal-main.custom-modal .modal-title{
    margin: 0;
    padding: 2% 4% 0% 4%;
    font-size: 1.1em !important;
    letter-spacing: 0.5px;
}
.modal-main.custom-modal hr{
    margin-top: 5px;
    margin-bottom: 5px;
}
.modal-main.custom-modal .modal-message{
    margin: 0;
    padding: 0% 2% 0% 2%;
    letter-spacing: 0.5px;
}
.modal-main.custom-modal .modal-message .alert{
    margin: auto;
    width: auto;
    padding: 10px;
    font-size: 14px;
}
.modal-main.custom-modal .modal-actions{
    margin: 0;
    padding: 2%;
}
.modal-main.light-modal{
    min-height: auto;
    width: 65%;
    position: absolute;
    top: 5%;
    left: 50%;
    animation-name: none;
    transform: translate(-50%, 0%);
}
.modal-main.light-modal .modal-title{
    margin: 0;
    padding: 2%;
}
.modal-main.light-modal hr{
    margin-top: 5px;
    margin-bottom: 5px;
}
.modal-main.light-modal .modal-message{
    margin: 0;
    padding: 1% 3.5%;
    max-height: 750px;
    overflow: auto;
}
.modal-main.light-modal .modal-message img{
    max-width: 100%;
}
.modal-main.light-modal .modal-message .alert{
    font-size: 18px;
    width: max-content;
    padding: 1% 3%;
    margin: 0 0 0 auto;
}
.modal-main.light-modal .modal-actions{
    margin: 0;
    padding: 2%;
}
.dataTables_wrapper .dataTables_filter input {
	max-width: 40vw;
}
table.dataTable caption {
	max-width: 40vw;
	word-break: keep-all;
    text-align: left;
    font-size: 0.8em;
}



.modal-main.mini-modal{
    width: 40%;
    min-height: auto;
}
.modal-main.mini-modal .modal-title{
    display: none;
}
.modal-main.mini-modal hr{
    display: none;
}
.modal-main.mini-modal .modal-message{
    margin: 0;
    padding: 4%;
}
.modal-main.mini-modal .modal-message{
    position: relative;
}
.modal-main.mini-modal input.form-control{
    padding-left: 2%;
    color: #000000c9;
}
.modal-main.mini-modal .form-control{
    display: flex;
    padding: 0%;
    border: 1px solid #e1e1e1;
    border-radius: 3px;
}


.modal-main.mini-modal .modal-actions{
    display: none;
}

.modal-main.mini-modal .confirm-cancel{
    position: absolute;
    z-index: 1;
    top: 5px;
    right: 5px;
    padding: 3px;
    width: 20px;
    cursor: pointer;
}
.modal-main.mini-modal .confirm-cancel i{
    pointer-events: none;
    cursor: pointer;
}



.modal-main.large-modal{
    width: 85% !important;
}


.info-table .info-row{
    display: flex;
}

.info-table .info-col-6{
/* 
    width: 35%;
 */
    /*text-align: right;*/
    margin: 0.5% 0.5%;
    width: -webkit-fill-available;
}
.info-table .info-col-6:nth-of-type(2n){
    text-align: left !important;
}



@media screen and (max-width: 640px) {
	.dataTables_wrapper .dataTables_length,
	.dataTables_wrapper .dataTables_filter {
		float: right !important;
		text-align: right !important;
	}
	.dataTables_wrapper .dataTables_length span,
	.dataTables_wrapper .dataTables_filter span {
		font-size: 0.9em;
	}
	table.dataTable thead th,
	#agent-orders th {
	    font-size: 0.8em;
	    letter-spacing: 0.5px;
	}
	table.dataTable tbody tr.group {
	    font-size: 1.1em !important;
	}
	table.dataTable tbody,
	div.dttable table tbody,
	#agent-orders tr td:not(.child) {
	    font-size: 0.9em !important;
	    letter-spacing: 0.5px;
	} 
	table.dataTable>tbody>tr.child {
		padding: 0.5em 0.5em;
	}
	table.dataTable.dtr-inline.collapsed>tbody>tr>td.child>div {
		padding: 0px !important;
	}
	table.dataTable.dtr-inline.collapsed>tbody>tr>td.child>div>.row {
		margin-bottom: 5px !important;
	}
	table.dataTable tbody td,
	table.dataTable tbody tr.cart_selected td{
		padding: 15px 5px !important;
	}
	#agent-orders tr td.child {
	    padding: 20px 10px !important;
	}
}
@media only screen and (max-width: 600px) {
    .modal-main.custom-modal,
    .modal-main.mini-modal{
        width: 96vw !important;
        transform: none;
        margin-top: 10px !important;
    }
	.identificacion {
		font-size: 14px;
	}
}

/* Consulta de medios para pantallas medianas (ancho entre 601px y 1024px) */
@media only screen and (min-width: 601px) and (max-width: 1024px) {
    .modal-main.custom-modal{
        width: 86vw;
    }
}

/* Consulta de medios para pantallas grandes (ancho mayor a 1024px) */
@media only screen and (min-width: 1025px) {
    .modal-main.custom-modal{
        width: 65vw;
    }
}

