:root {
    --containertable-height: 75vh;

    --color-secundario:#37A398; /*verde celeste*/
    --color-secundario-opacidad:#37A39899;

    --color-primario:#1D635D; /*verde azul color principal*/
}

html,
body {
    height: 100%;
}
.page-contentClass{
    flex: 1 0 auto;
}

#sticky-footer {
    flex-shrink: none;
}

/* color principal de fondo  */
.background-template-color{
    background-color: var(--color-secundario);
}

/* color de texto segun el fondo */
.text-template-background{
    color: var(--color-primario);
}

/* color de texto principal */
.text-template-color{
    color:  white;
}

a[aria-selected="true"]{
    background-color: var(--color-secundario);
    color: white;
}

#v-pills-tab a{
    border: 0.1rem solid lightgray;
    margin-right:.5rem;
}




.navItemDown{
    position:absolute;
    bottom:0.5rem;
    right:0;
    left:0.5rem;
}



@keyframes rotation {
  0% {
    transform:rotate(0deg);
}
100% {
    transform:rotate(360deg);
}
}

@media (max-width: 1200px) {
  html, body{
    font-size:1rem;
  }
}

@media (max-width: 768px) {
  html, body{
    font-size:1rem;
  }


    .notShowMobile{
        display: none;
    }


    .navItemDown{
        position:absolute;
        bottom:0.5rem;
        right:0;
        left:0.5rem;
    }
}

@media (min-width: 500px) and (max-width: 768px) {
    .navItemDown{
        position:absolute;
        bottom:0.5rem;
        right:0;
        left:0.5rem;
    }
}



@media (max-width: 499px) {
    .navItemDown{
        position:absolute;
        bottom:0.5rem;
        right:0;
        left:0.5rem;
    }
}

.float-end{
    float: right!important;
}


#selectBranchCompanieDetailLabel {
    display: inline-block;
    width: 90%;
    text-align: right;
}

#newSucursal {
    margin: auto !important;
}

.slider{
    border-radius: 3px !important;
}

.img-user{
    border-radius: 50%;
    display: inline-block;
    width: 50px;
    height: 50px;
    text-align: center;
    vertical-align: bottom;
    color: white;
    line-height: 45px;
    font-weight: 500;
    box-shadow: 1px 1px 2px rgb(127, 127, 127);
}

.img-user-big{
    border-radius: 50%;
    display: inline-block;
    width: 150px;
    height: 150px;
    text-align: center;
    vertical-align: bottom;
    color: white;
    line-height: 145px;
    font-weight: 500;
    box-shadow: 1px 1px 2px rgb(127, 127, 127);
    font-size: xx-large;
}
/* display: grid; */
#usersPermisos > tr > td {
    display: grid;
}

#usersTableBody > tr > td {
    vertical-align: middle !important;
    
}

.showModalUser{
    cursor: pointer;
}

.user-state{
    cursor: pointer;
    box-shadow: 1px 1px 2px rgb(64, 64, 64);
    font-weight: 500;
    color: white;
    width: 90px;
    border-radius: 999em 999em 999em 999em;
    text-align: center;
}

.reset-pwd{
    cursor: pointer;
    
}

.user-state.activo{
    background: #2bb449;
}

.user-state.inactivo{
    background: #777;
}

#usersPermisos tr td label, #usersPermisos tr td p{
    margin-bottom: 0;
}


#modalShowUser input[type="checkbox"], #modalNewUser input[type="checkbox"] {
    visibility: hidden;
}
#modalShowUser .checkboxOverride, #modalNewUser .checkboxOverride {
    margin: 10px auto;
    position: relative;
    width: 25px;
}
#modalShowUser .checkboxOverride input[type="checkbox"]:checked + label:after, #modalNewUser .checkboxOverride input[type="checkbox"]:checked + label:after {
    opacity: 1; 
}
#modalShowUser .checkboxOverride label, #modalNewUser .checkboxOverride label {
    background: none repeat scroll 0 0 #EEEEEE;
    border: 1px solid #DDDDDD;
    cursor: pointer;
    height: 25px;
    left: 0;
    position: absolute;
    top: 0;
    width: 25px;
}
#modalShowUser .checkboxOverride label:after, #modalNewUser .checkboxOverride label:after {
    border-style: none none solid solid;
    content: "";
    height: 5px;
    left: 6px;
    opacity: 0;
    position: absolute;
    top: 7px;
    -ms-transform:rotate(-45deg); /* IE 9 */
    -webkit-transform:rotate(-45deg); /* Safari and Chrome */
    transform:rotate(-45deg);
    width: 10px;
}


.font-weight-bold{
    font-weight: 550!important;
}


.card-main{
    max-width: 1200px;
    margin: 0 auto;
}

.hide {
    display: none !important;
}

.option:hover {
    background-color: #ebebeb;
}

.companyTD:hover {
    background-color: #dfdfdf;
}

#customersTableBody .show:hover, .trUser:hover, #emitidosTableBody tr:hover, #recibidosTableBody tr:hover{
    background-color: #dcdcdc;
    cursor: pointer;
}

.showModalCustomer:hover {
    cursor: pointer;
}

#modalShowCustomer input[type="checkbox"], #modalShowCustomer input[type="checkbox"] {
    visibility: hidden;
}

#modalShowCustomer .checkboxOverride, #modalShowCustomer .checkboxOverride, #modalNewCustomer .checkboxOverride {
    /* margin: 10px auto; */
    position: relative;
    width: 25px;
}

#modalShowCustomer .checkboxOverride input[type="checkbox"]:checked + label:after, #modalNewCustomer .checkboxOverride input[type="checkbox"]:checked + label:after {
    opacity: 1; 
}

#modalShowCustomer .checkboxOverride label, #modalNewCustomer .checkboxOverride label {
    background: none repeat scroll 0 0 #EEEEEE;
    border: 1px solid #DDDDDD;
    cursor: pointer;
    height: 25px;
    left: 0;
    position: absolute;
    top: 0;
    width: 25px;
}

#modalShowCustomer .checkboxOverride label:after, #modalNewCustomer .checkboxOverride label:after {
    border-style: none none solid solid;
    content: "";
    height: 5px;
    left: 6px;
    opacity: 0;
    position: absolute;
    top: 7px;
    -ms-transform:rotate(-45deg);
    -webkit-transform:rotate(-45deg);
    transform:rotate(-45deg);
    width: 10px;
}

#emitidosTableBody tr, #recibidosTableBody tr{
    display: flex;
    justify-content: space-between;
}
#emitidosTableBody tr td:first-child, #recibidosTableBody tr td:first-child{
    display: flex;
    flex-direction: column;
}
#emitidosTableBody tr td label, #recibidosTableBody tr td label{
    margin-bottom: 0;
}

#emitidosTableBody tr td label:first-child, #recibidosTableBody tr td label:first-child{
    font-weight: 500;
}

#emitidosTableBody tr td label:not(:first-child), #recibidosTableBody tr td label:not(:first-child){
    opacity: 0.5;
    font-size: small;
}

#loading-bar-spinner.spinner {
    margin-left: 10px;
    display: none;
    height: 20px;
    width: 20px;
    z-index: 19 !important;
    animation: loading-bar-spinner 600ms linear infinite;
}

#loading-bar-spinner.spinner .spinner-icon {
    width: 20px;
    height: 20px;
    border:  solid 4px transparent;
    border-top-color:  #37a398 !important;
    border-left-color: #37a398 !important;
    border-radius: 50%;
}

@keyframes loading-bar-spinner {
  0%   { transform: rotate(0deg);   transform: rotate(0deg); }
  100% { transform: rotate(360deg); transform: rotate(360deg); }
}


/* ########### SWITCHS ########### */

/* #literalE{

} */

#literalE .switch, #MT .switch{
	width:80px;
    height:30px;
   	display:inline-block;
    position:relative;
    

}
#literalE input[type=checkbox], #MT input[type=checkbox]{
	display:none;
}

#literalE .slider, #MT .slider{
	display:inline-block;
    position:absolute;
    top:0;
    bottom:0;
    left:0;
    right:0;
    background: #cccccc;
    cursor:pointer;
    border-radius: 8px;

}

#literalE .slider:before, #MT .slider:before{
	position:absolute;
	/* content:"))"; */
    left:4px;
    top:4px;
    width:36px;
    height:22px;
    background:white;
    display:inline-block;
    transition:0.4s;
     border-radius: 8px;
     font-size:20px;
     text-align:right;
     color:#cccccc;
}
#literalE .slider:after, #MT .slider:after{
    position:absolute;
    content:"NO";
    width:36px;
    height:26px;
    right:4px;
    bottom:4px;
    text-align:center;
    font-size:20px;
    color:white;
}

#literalE .switch input:checked + .slider, #MT .switch input:checked + .slider{
    background: #4CAF50;
}

#literalE .switch input:checked + .slider:before, #MT .switch input:checked + .slider:before{
	transform:translateX(36px);
    /* content:"(("; */
    text-align:left;
    color:#4CAF50;
    
}
#literalE .switch input:checked +  .slider:after, #MT .switch input:checked + .slider:after{
    content:"SI";
    transform:translateX(-36px);
}

.literalE .MT{
    font-weight: bold;
    color: #00ab0f;;
}

.loaderSpin {
    width: 24px;
    height: 24px;
    border: 5px solid #0014ff;
    border-bottom-color: transparent;
    border-radius: 50%;
    display: inline-block;
    box-sizing: border-box;
    animation: rotation 1s linear infinite;
    }

    @keyframes rotation {
    0% {
        transform: rotate(0deg);
    }
    100% {
        transform: rotate(360deg);
    }
} 