
body {
    padding-left: 10px;
}

div.botones label{
    max-width: 95px !important;
    min-width: 95px !important;
    border-bottom: 5px solid #0045a6 !important;
    box-shadow: 6px 6px 6px #999 !important;
}

div.botones label.active{
    box-shadow: 2px 2px 2px #777 !important;
    border-bottom:1px solid #0045A6 !important;
}

@media (max-width: 780px) {
   .headerform{
      display: block !important;
   }
}   

.ordenejecutada{
   background-color: #00800047 !important;
   color: green !important;
}

.ordenanulada{
   background-color: #ff000047 !important;
   color: red !important;
}

.ordenactualizada{
   background-color: yellow !important;
   color: orangered !important;
}

tr.group,
tr.group:hover {
    background-color: #0c9ba0 !important;
    color: #fff !important; 
} 

.contenedorqr{
        display: flex;
        height: 100vh;
        align-items: center;
    }

#contqr{
         width: 5cm;
         max-height: 2.5cm;
    }
#contqr img{    
         /*width: 5cm !important;*/
         max-height: 2.5cm !important;
}

.cabecera{
        overflow: hidden;
}

.oculto {
    display: none !important;
}

.invisible {
    visibility: hidden !important;
}

.footerform{
    width: 100%;
}

.mensajeerror {
    color: #fff;
    background-color: #e68177;
    border-color: #e74a3b;
    width: 100%;
    text-align: center;
    font-size: medium;
    border-radius: 15px;   
}
.mensajeadvertencia {
    color: chocolate;
    background-color: #e6d877;
    border-color: #f6c23e;
    width: 100%;
    text-align: center;
    font-size: medium;
    border-radius: 15px;   
}

.tachado {
    text-decoration: line-through !important;
    color: red;
}

.exito {
    color: #fff;
    background-color: #02cd05;
    border-color: green;
    width: 100%;
    text-align: center;
    font-size: medium;
    border-radius: 15px;   
}

.espera {         
    background: url(../img/loading.gif);
    background-repeat: no-repeat;
    background-position: center center;    
    background-size: contain;    
    width: 100%;
    height: 25px;
}

.resalteerror {
    color: #fff !important;
    background-color: #e68177 !important;
    border-color: #e74a3b !important;
}

.headerform{
    padding-left: 15px;
    border-color: lightgray;
    width: 95%;
    margin: auto;
    border-radius: 15px;
    padding-top: 15px;
    border-width: 1px;
    border-style: groove;
}

.bodyform{
    padding-left: 15px;
    border-color: lightgray;
    width: 95%;
    margin: auto;
    border-radius: 15px;
    padding-top: 15px;
    border-width: 1px;
    border-style: groove;
    margin-top: 10px;
}


.bodybottom{
    padding-left: 15px;
    border-color: lightgray;
    width: 95%;
    margin: auto;
    border-radius: 15px;
    padding-top: 5px;
    padding-bottom: 5px;
    border-width: 1px;
    border-style: groove;
    margin-top: 10px;
}

@media (max-width: 700px) {
  .tabs {
    margin-bottom: 2rem;
  }
}

@media (max-width: 450px) {
  .tabs {
    margin-bottom: 3rem;
  }
}

.espaciohorizontal{
    margin-left: 10px;
}

.formfield{
        display: block;
}

/************************/
/****    PESTAÑAS *******/
/************************/
ul.tabs {
    margin: 0;
    padding: 0;
    float: left;
    list-style: none;
    height: 32px; /*--Set height of tabs--*/
    width: 100%;
    margin-right: 15px
}
ul.tabs li {
    float: left;
    margin: 0;
    padding: 0;
    height: 31px; /*--Subtract 1px from the height of the unordered list--*/
    line-height: 31px; /*--Vertically aligns the text within the tab--*/    
    margin-bottom: -1px; /*--Pull the list item down 1px--*/
    overflow: hidden;
    position: relative;
    border: 1px #ccc;
    border-style: solid;
    border-radius: 15px 15px 0px 0px;
    background: #ccc;
}


ul.tabs li a {
    text-decoration: none;
    color: #000;
    display: block;
    font-size: 1.2em;
    padding: 0 20px;
    outline: none;
}
ul.tabs li a:hover {
    background: #fff;
}
html ul.tabs li.active, html ul.tabs li.active a:hover  { 
/*--Makes sure that the active tab does not
        listen to the hover properties--*/
background: #fff;        
}

.tab_container {
    overflow: hidden;
    clear: both;
    float: left; width: 100%;
    margin-bottom: 15px;
    margin-right: 15px
}
.tab_content {
    padding: 20px;
    font-size: 1.2em;
}

/*******************************/
/*******************************/
/*    CLASE DE IMPRESIONES     */
/*******************************/
/*******************************/
@media print{
  .botones{
    display: none !important;
  }
  
  @media (max-width: 120mm) { 
     /*Cuando el papel no exceda los 120mm haz esto*/
     .tiporecibo{
        display: block !important;
      }

      .dividirrecibo{
        display: block !important;
      }


      .tipocarta {
        display: none !important;
      }    

      .letrarecibo {
        font-size: medium !important;        
        font-weight: normal !important;
      }  

      .bordeimpreso{
        border:  0 !important;
        margin: 0px !important;
        padding: 0px !important;
        font-size: small !important;        
        font-weight: normal !important;
      }
 }

 @media (min-width: 120mm) { 
    /*Cuando el papel exceda los 120mm haz esto*/
    .tiporecibo{
        display: none !important;
      }

      .tipocarta {
        display: block !important;
      }      
}

}


.opciones{
    display: block;
}


/* Boton para tomar la foto.*/

.button-container{
    display:inline-block;
    position:relative;
    }
    
    .button-container .boton1{
        position: absolute;
        top:2em;
        right:4em;        
        background-color:#8F0005;
        border-radius:1.5em;
        color:white;
        text-transform:uppercase;
        padding:1em 1.5em;
        }
        .button-container .boton2{
            position: absolute;
            top:2em;            
            left:4em;
            background-color:#8F0005;
            border-radius:1.5em;
            color:white;
            text-transform:uppercase;
            padding:1em 1.5em;
            }
    
    @media only screen and (max-width:600px) {

        .button-container{
        display:inline-block;
        margin-bottom:2em;
        }
        .button-container .boton1{
            position:relative;
            top:2em;
            right:0em;
            background-color:#8F0005;
            color:white;
            font-size:1em;
            padding:1em 1.5em;
            text-transform:uppercase;
            border-color:white;
            border-radius:1.5em;
            }

            .button-container .boton2{
                position:relative;
                top:2em;
                left:0em;
                background-color:#8F0005;
                color:white;
                font-size:1em;
                padding:1em 1.5em;
                text-transform:uppercase;
                border-color:white;
                border-radius:1.5em;
                }    
        }
        
        
        .button-container button:hover{
        background-color:red;
        cursor:pointer;
        color:white;
        }        


        .modal { overflow: auto !important; }

        pre {
            white-space: pre-wrap;       /* CSS3 */
            white-space: -moz-pre-wrap;  /* Firefox */
            white-space: -pre-wrap;      /* Opera <7 */
            white-space: -o-pre-wrap;    /* Opera 7 */
            word-wrap: break-word;       /* IE */
        }