@font-face {
    font-family: Roboto;
    src: url('../fonts/Roboto-Regular.ttf'),
         url('../fonts/Roboto-Black.ttf'), 
         url('../fonts/Roboto-Bold.ttf'),  
         url('../fonts/Roboto-Italic.ttf'),
         url('../fonts/Roboto-Light.ttf'), 
         url('../fonts/Roboto-BlackItalic.ttf');
}
body {
    display: -ms-flexbox;
    display: flex;
    -ms-flex-align: center;
    align-items: center;
    background-repeat: no-repeat;
    background-size: cover;
    font-family: 'Roboto', sans-serif;
    background-color: #f5f9fc!important;
    font-size: 0.9rem!important;
    font-weight: 400!important;
}
span, p, label, input{
    font-size: 0.9rem!important;
}

input[type=number]::-webkit-inner-spin-button, 
input[type=number]::-webkit-outer-spin-button { 
  -webkit-appearance: none; 
  margin: 0; 
}

input[type=number] { -moz-appearance:textfield; }
.form-signin {
    margin: auto;
    width: 100%;
    max-width: 425px;
    padding-top: 30px;
    padding-left: 20px;
    padding-right: 20px;
    padding-bottom: 20px;
    margin: auto;
    background-color: rgb(255, 254, 254)!important;
    -webkit-box-shadow: 0px 5px 5px 2px rgba(3, 43, 56, 0.38);
    -moz-box-shadow: 0px 5px 5px 2px rgba(3, 43, 56, 0.38);
    box-shadow: 0px 5px 5px 2px rgba(3, 43, 56, 0.38);
     
    border-radius: 3px;
}

.logo {
    width: 150px;
    margin: auto;
    padding-bottom: 5px;
}

.logo>img {
    width: 100%;
}

.form-signin>h4 {
    color: rgb(0, 18, 61);
    font-weight: 800!important;
}

.aasa-modal-login {
    z-index: 1;
    width: 100%;
    margin-top: 50px;
    padding: 1rem; 
}

#btnconectar {
    background-color:  var(--neutroAlt);
    color: #ffffff;
}
.fa-login{
    color : var(--neutroAlt);
}

.tabcontent {
    display: none;
    padding-left: 16px;
    padding-right: 16px;
}

.tabcontent-mobile {
    display: none;
}
header {
    z-index: 2;
    width: 100%;
    height: 45px;
    background-color: var(--neutroHeader)!important;
    color: #ffffff;
    padding: .5rem .6rem;
}

.aasa-flex {
    flex-flow: row wrap;
    -webkit-flex-flow: row wrap;
    display: flex;
    display: -webkit-flex;
    width: 100%;
}

.wapper {
    -webkit-align-items: stretch;
    align-items: stretch;
    display: -webkit-flex;
    display: flex;
    width: 100%;
}

.aasa-link-menu {
    width: 100%;
    padding: .5rem .3rem!important;
    background-color: var(--neutro)!important;
    text-align: left!important;
    color: #ffffff;
    text-decoration: none;
    font-weight: 500;
}

.aasa-link-menu-alt {
    width: 100%;
    padding: .5rem .3rem!important;
    background-color: var(--neutro)!important;
    text-align: left!important;
    color: #ffffff;
    text-decoration: none;
    font-weight: 500;
}

.aasa-link-menu:hover {
    cursor: pointer;
}

.aasa-link-menu>a {
    color: #ffffff;
    text-decoration: none;
    font-weight: 700;
}

.aasa-ul-menu {
    display: block;
    margin-bottom: 0px;
    padding: 0px;
}

.aasa-ul-menu.show {
    display: none;
}

.aasa-ul-menu>li {
    list-style: none;
    padding: .2rem 1rem;
    border-bottom: 1px solid var(--neutroLight);
    -moz-user-select: none;
    -ms-user-select: none;
    -khtml-user-select: none;
    -webkit-user-select: none;
    -webkit-touch-callout: none;
}

.aasa-ul-menu>li>a {
    color: #ffffff;
    text-decoration: none!important;
}

a {
    text-decoration: none!important;
}

.aasa-events-a {
    width: 100%;
    font-size: 0.8rem;
    background-color: #ffffff;
    color: rgb(0, 0, 0)!important;
    border: 1px solid var(--btnRed);
    border-radius: 5px;
    margin-left: 1px;
}

.aasa-events-a:hover {
    cursor: pointer;
    background-color: var(--btnRed);
    color: #ffffff!important;
}

.aasa-ul-menu>li:hover {
    background-color: var(--neutro)!important;
    cursor: pointer;
}

.card-header {
    background-color: var(--neutro)!important;
    color: #ffffff;
    padding-bottom: 0.1rem!important;
    padding-top: 0.5rem!important;
}

.card-header-alt {
    /* background-color: #2f6c81!important; */
    background-color: var(--neutro)!important;
    color: #ffffff;
    padding-bottom: 0.1rem!important;
    padding-top: 0.4rem!important;
}

.card-title {
    font-size: 0.9rem!important;
    margin-bottom: .30rem!important;
}

.thead-color {
    background-color: rgb(245, 245, 245)!important;
    color: rgb(34, 34, 34)!important;
    font-size: .9rem;
    margin-bottom: 0px!important;
    padding-bottom: 0px!important;
}

td {
    padding: 5px 10px!important;
}

.thead-th {
    padding: 5px 10px!important;
    border-bottom: 1px solid var(--neutroLight)!important;
}

.thead-th-alt {
    padding: 1px 10px!important;
    border-bottom: 1px solid var(--neutroLight)!important;
}

table {
    font-size: 0.9rem!important;
}

[type=search] {
    outline-offset: -2px;
    -webkit-appearance: textfield!important;
}

.aasa-btn {
    background-color: var(--btnRed);
    color: #ffffff;
    height: 35px;
    font-size: 0.85rem;
}

.aasa-btn:hover {
    background-color: var(--btnRed);
}

.aasa-btn:active {
    border: none;
}

.aasa-btn-green {
    background-color: #0c6933;
    color: #ffffff;
    height: 35px;
    font-size: 0.85rem;
}

.aasa-btn-green:hover {
    background-color: #094b25;
}

.aasa-btn-green:active {
    border: none;
}

.input-small {
    height: calc(1.5125rem + 3px);
    padding: .25rem .5rem;
    font-size: 0.9rem;
    line-height: 1.5;
    border-radius: .2rem
}
.input-date {
    min-width: 100px!important;
}

.input-small {
    min-height: calc(1.5125rem + 5px);
}

INPUT[type=checkbox]:focus {
    outline: 1px solid rgba(0, 0, 0, 0.2);
}

INPUT[type=checkbox] {
    background-color: #DDD;
    border-radius: 2px;
    appearance: none;
    -webkit-appearance: none;
    -moz-appearance: none;
    width: 15px;
    height: 15px;
    cursor: pointer;
    position: relative;
    /* top: 3px; */
}

INPUT[type=checkbox]:checked {
    background-color: #0c6933;
    background: #0c6933 url("data:image/gif;base64,R0lGODlhCwAKAIABAP////3cnSH5BAEKAAEALAAAAAALAAoAAAIUjH+AC73WHIsw0UCjglraO20PNhYAOw==") 3px 3px no-repeat;
}

INPUT[type=radio] {
    background-color: #DDD;
    border-radius: 5px;
    appearance: none;
    -webkit-appearance: none;
    -moz-appearance: none;
    width: 15px;
    height: 15px;
    cursor: pointer;
    position: relative;
    /* top: 3px; */
}
INPUT[type=radio]:checked {
    background-color: #0c6933;
    background: #0c6933 url("data:image/gif;base64,R0lGODlhCwAKAIABAP////3cnSH5BAEKAAEALAAAAAALAAoAAAIUjH+AC73WHIsw0UCjglraO20PNhYAOw==") 3px 3px no-repeat;
}
@media screen and (min-width: 800px) {
    #menu-lateral {
        display: block;
    }
}

@media (max-width:812px) {
    #menu-lateral {
        position: fixed;
        top:0px;
        left: -230px;
        min-width: 230px!important;
        max-width: 230px!important;
        height: 100%;
        z-index: 11;
        overflow: auto;
        font-size: .85rem;
        margin-bottom: 0px;
        padding-bottom: 0px;
        background-color: var(--neutroAlt)!important;
        color: #ffffff;
        border-right: 1px solid #cbd7e0;
    }
    
    #main {
        width: 100%;
        margin-top: 45px;
        padding-top: 25px;
        padding-bottom: 25px;
        padding-left: 16px;
        padding-right: 16px;
        margin-left:0px;
    }

    .mobile{
        position: fixed;
        z-index: 2;
        display: block;
    }
    .menudesktop{
        display: none;
    }
    .col-file, .col-date{
        width: 100%!important;
    }
    .col-descripcion{
        width: 100%!important;
    }
    .col-time{
        width: 60%!important;
    }
    .col-action{
        width: 100%!important;
    }

    #descripcionevents {
        height: calc(5.5125rem + 3px);
        padding: .25rem .5rem;
        font-size: 0.9rem;
        line-height: 1.5;
        border-radius: .2rem
    }

}

.form-control { font-size: .9rem!important;}
@media  screen and (min-width:813px) {
    #menu-lateral {
        left: 0px;
        min-width: 230px!important;
        max-width: 230px!important;
        height: 100%;
        z-index: 11;
        overflow: auto;
        font-size: .85rem;
        margin-bottom: 0px;
        padding-bottom: 0px;
        background-color: var(--neutroAlt)!important;
        color: #ffffff;
        border-right: 1px solid #cbd7e0;
        position: fixed;
        top:0px;
        overflow:auto;
    }
    
    #main {
        width: 100%;
        margin-top: 45px;
        padding-top: 25px;
        padding-bottom: 25px;
        padding-left: 16px;
        padding-right: 16px;
        margin-left:220px;
    }

     .col-date{
        width: 175px!important;
    }
    .col-file{
        width: 150px!important;
    }
    .col-time{
        width: 100px!important;
    }
    .col-action{
        width: 125px!important;
    }
    .col-descripcion{
        -ms-flex-preferred-size:0;flex-basis:0;-webkit-box-flex:1;-ms-flex-positive:1;flex-grow:1;max-width:100%
    }
    .menudesktop{
        display: block;
    }
    .mobile{
        display: none;
    }
}

.select2 {
    width: 100%!important;
}

.btn-menu-mobile {
    font-size: 0.9rem;
    color: white!important;
    padding: 2px;
    background-color: rgb(255, 255, 255, 0);
}

#menu-mobile {
    min-width: 230px!important;
    max-width: 230px!important;
    min-height: 100vh;
    height: 100%;
    z-index: 1;
    left: -230px;
    overflow: auto;
    font-size: .9rem;
    margin-bottom: 0px;
    padding-bottom: 0px;
    background-color: #2f6c81!important;
    color: #ffffff;
    border-right: 1px solid #cbd7e0;
    transition: 0.5s;
}

.aasa-modal  {
    position: fixed;
    z-index: 2;
    padding-top: 75px;
    left: 0;
    top: 0;
    width: 100%;
    height: 100%;
    overflow: auto;
    background-color: rgb(0, 0, 0);
    background-color: rgba(0, 0, 0, 0.4);
    left: 50px;
}

.aasa-modal-content {
    background-color: rgba(255, 255, 255, 0);
    margin: auto;
    color: #000000;
}

.elemento {
    opacity: 0;
  }

.elemento.mostrar{
    animation: pulse 3s;
}
.elemento.mostrar1{
    animation: pulse1 3s;
}
@keyframes pulse {
    0% {
        opacity: 1;
    }
    50% {
        opacity: 1;
    }
    100% {
        opacity: 0;
    }
}
@keyframes pulse1 {
    0% {
        opacity: 1;
    }
    50% {
        opacity: 1;
    }
    100% {
        opacity: 0;
    }
}

#ul-prefactopciones{
    background-color:var(--btnRed); 
    border-radius: 3px; 
    margin-top: 1px;
    padding: 0px;
    position: absolute;
    z-index: 3;
    display: none;
}
#ul-prefactopciones > li{
    color: #ffffff;
    padding: 8px;
     list-style: none;
     border-radius: 3px;
     border-bottom: 1px solid #ffffff;
}
#ul-prefactopciones > li:hover{
    cursor: pointer;
    list-style: none;
    background-color: var(--neutroLight); 
    color:#000000;
}

.ui-autocomplete { max-height: 200px!important; overflow-y: scroll!important; overflow-x: hidden!important;}

.editor span{
     border-bottom: 1px dotted red;
}

.noselect {
    -webkit-touch-callout: none; /* iOS Safari */
      -webkit-user-select: none; /* Safari */
       -khtml-user-select: none; /* Konqueror HTML */
         -moz-user-select: none; /* Old versions of Firefox */
          -ms-user-select: none; /* Internet Explorer/Edge */
              user-select: none; /* Non-prefixed version, currently
                                    supported by Chrome, Opera and Firefox */
  }

  #userResult > div:hover {
    background-color: var(--btnRed); /*#a81517;*/
    color: #ffffff;
  }
  
  #userResult > div {
    border-bottom: 1px solid var(--neutroLight);
    padding-top: 3px;
    padding-bottom: 3px;

}
  #userSearch{
    background-color: #f5f9fc;
    width:100%;position: absolute;
    max-height:150px;
    z-index:5;
    border: 1px #d6d6d6 solid;
    overflow-y: auto;
  }


  .nav-li-aasa{
    cursor: pointer;
    border-bottom: 1px solid rgba(0, 0, 0, 0.39);
    background-color: #283d4e;
    color:#ffffff;
    padding-left:16px;
    padding-top:4px;
    padding-bottom:4px;
    font-size: 0.9rem;
}
.nav-li-aasa:hover{
    background-color: rgb(0, 71, 112)!important;
    color: #ffffff;
}

.f2Result > div:hover {
    background-color: #607D8B;
    color: #ffffff;
  }
  
.f2Result > div {
    border-bottom: 1px solid var(--neutroLight);
    padding-top: 3px;
    padding-bottom: 3px;

}
  .f2Search{
    background-color: #ECEFF1;
    width:100%;
    /* min-width:425px; */
    position: absolute;
    max-height:150px;
    z-index:5;
    border: 1px #d6d6d6 solid;
    overflow-y: auto;
  }

  .card-info {
    z-index: 10;
    box-shadow: 0px 2px 3px -1px rgba(0,0,0, 0.5);
  }

  /*stilos de facturaView*/
  .infoCliente{
    padding: 0px;
  }
  .infoCliente > label, .lblFactView{
    margin-bottom: 0px;
  }

  .tableViewFact{
    font-size: 0.80rem!important;
  }
  .facturaViewContainer{
    background-color:white;
    max-width: 1024px;
    min-height: 768px;
    font-size: 0.80rem;
    box-shadow: 0px 2px 3px -1px rgba(0,0,0, 0.5);
  }

  #ContentViewFactura{
    max-width: 1024px;
    font-size: 0.80rem;
    padding: 0px;
  }