.ui-page-theme-a .ui-btn:focus,
html .ui-bar-a .ui-btn:focus,
html .ui-body-a .ui-btn:focus,
html body .ui-group-theme-a .ui-btn:focus,
html head + body .ui-btn.ui-btn-a:focus,
.ui-page-theme-a .ui-focus,
html .ui-bar-a .ui-focus,
html .ui-body-a .ui-focus,
html body .ui-group-theme-a .ui-focus,
html head + body .ui-btn-a.ui-focus,
html head + body .ui-body-a.ui-focus {
    box-shadow: 0px 0px 12px #f7931e;
}

.ui-overlay-a,
.ui-page-theme-a,
.ui-page-theme-a .ui-panel-wrapper {
    background-color: #444;
}

/* HEADER */
.ui-header { min-height: 50px; }
.ui-header .ui-block-a, .ui-header .ui-block-c, .ui-header .ui-block-d   {
    width: 25%;
}

.ui-header .ui-block-a button {
    padding-left: 1.2em;
}

.ui-header .ui-block-b {
    width: 50%;
    text-align: center;
}

#enviar-btn {
    float: right;
    margin-right: 5px;
    background: grey;
}

.divisor {
    height: 6px;
    margin-left: -20px;
    margin-bottom: -7px;
    background: linear-gradient(270deg, rgba(0,0,0,1) 0%, rgba(255,121,15,1) 80%, rgba(255,151,15,0.9065826159565389) 100%);
}

.lectura-control .evento, .lectura-control .control {
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
}

.lectura-control .evento, .lectura-control .tipo {
    font-style: italic;
    font-size: small;
    font-weight: normal;
}

/* TECLADOS */
#teclados {
    position: fixed;
    bottom: 40px;
    z-index: 100;
    width: 101%;
    left: -1px;
}

#crono-keys {
    background: rgb(0,0,0);
    background: linear-gradient(120deg, rgba(0,0,0,1) 0%, rgba(34,34,34,1) 61%, rgba(85,85,85,1) 100%);
}

.btn-numero {
    background: #ff790f;
    background: linear-gradient(34deg, rgba(255,121,15,1) 0%, rgba(255,151,15,1) 80%, rgba(255,151,15,0.9065826159565389) 100%);
    color: white !important;
}

.btn-icon {
    padding-left: 80px;
    height: 50px;
    width: 2%;
}

/* FOOTER */
.ui-footer-fixed { z-index: 100; }

.ui-footer { padding: 0px; padding-top: 2px; }

.ui-footer .ui-block-a, .ui-footer .ui-block-d { width: 10%; text-align: center; }
.ui-footer .ui-block-b, .ui-footer .ui-block-c { width: 40%; text-align: center; font-size: 22px; height: 50px; }

#crono-btn {
    position: fixed;
    bottom: 2px;
    z-index: 1000;
    width: 95px;
    height: 95px;
    left: 50%;
    margin-left: -55px;
}

#crono-btn {
    position: fixed;
    bottom: 10px;
    z-index: 1000;
    width: 95px;
    height: 110px;
    left: 50%;
    margin-left: -45px;
}

#crono {
    border-top-left-radius: 50%;
    border-top-right-radius: 50%;
    border-bottom-right-radius: 50%;
    width: 100%;
    height: 93px;
    margin: 0;
    padding: 0;
    border: none;
    box-shadow: rgba(0, 0, 0, 0.65) 0px 5px 25px;
}

#crono img {
    width: 100%;
}

#idparticipante, #reloj {
    padding: 0;
    height: 45px;
}
#idparticipante {
    font-size: 35px;
    height: 45px;
    padding-top: 0;
    padding-right: 30px;
}
#reloj {
    font-size: 20px;
    height: 35px;
    padding-top: 10px;
    padding-left: 25px;
}

/* LECTURAS */

.resultado, .vuelta {
    font-size: 12px;
}

.accion {
    font-size: 9px;
    font-style: italic;
}

.idparticipante, .codigo {
    font-weight: bold;
    color: #ff790f;
}

.lectura-btn {
    float: left;
    margin: -6px 5px -5px 0;
}

/* BIENVENIDA */
#bienvenida, #nuevo {
    padding: 10px 20px;
    text-align: center;
    background: black;
    border-radius: .6em;
    color: #fff;
    text-shadow: none;
}

.bienvenida-logo {
    margin: 30px;
}

.bienvenida-logo img {
    width: 50%;
}

.version {
    margin: 3px;
    font-size: small;
}

#bienvenida button, #nuevo button, #nuevo a {
    width: 60%;
    margin-left: 20%;
    padding: 8px;
    background: linear-gradient(270deg, rgba(0,0,0,1) 0%, rgba(255,121,15,1) 80%, rgba(255,151,15,0.9065826159565389) 100%);
    border: none;
}

#nuevo .youtube {
    background: none;
}

#nuevo .youtube img {
    width: 60%;
    margin-left: -20%;
}

/* MODALES */

#popup {
    margin-top: 20px;
    margin-bottom: 20px;
}

.modalForm {
    padding: 20px;
    text-align: center;
}

.modalForm h3 {
    margin-top: 0;
    border-bottom: 1px solid #f7931e;
}

input[type=text], input[type=number], select {
    text-align: center;
    width: 95%;
    padding: 5px;
    margin: 0;
    margin-bottom: 10px;
}

select {
    width: 100%;
}

hr {
    border: 0;
    border-bottom: 1px solid #f7931e;
}

.ui-icon-trash:after {
    background-image: url("../images/trash.svg");
}

.ui-icon-whatsapp:after {
    background-image: url("../images/whatsapp.svg");
}

#hardwareForm .ui-listview li {
    /* min-height: 120px; */
}
.ui-listview .btn-hardware {
    height: 50% !important;
    border-width: 1px !important;
}

.conectado, .activado {
    background-color: green !important;
}

.desconectado {
    background-color: red !important;
}

.file {
    background-color: #acacac;
    max-width: 250px;
}

.file input {
    display: inline-block;
    white-space: nowrap;
    width: 100%;
    padding: 8px;
}

/* Toggles */
.ios-toggle {display: none}

.ios-toggle, .checkbox-label,
.ios-toggle:before, .checkbox-label:after,
.ios-toggle:before, .checkbox-label:after {
    box-sizing:border-box;
    margin:0;
    padding:0;
    /*transition*/
    -webkit-transition:.25s ease-in-out;
       -moz-transition:.25s ease-in-out;
         -o-transition:.25s ease-in-out;
            transition:.25s ease-in-out;
    outline:none;
    font-family:Helvetica Neue,helvetica,arial,verdana,sans-serif;
}
.toggles {
    overflow: visible;
    width:40px;
    margin-left:auto;
    margin-right:auto;
}
.ios-toggle,.ios-toggle:active {
    position:absolute;
    top:-5000px;
    height:0;
    width:0;
    opacity:0;
    border:none;
    outline:none;
}
.checkbox-label {
    display:block;
    position:relative;
    padding:10px;
    margin-bottom:20px;
    font-size:10px;
    line-height:6px;
    width:100%;
    height:22px;
    /*border-radius*/
    -webkit-border-radius:18px;
       -moz-border-radius:18px;
            border-radius:18px;
    background:#f8f8f8;
    cursor:pointer;
}
.checkbox-label:before {
    content:'';
    display:block;
    position:absolute;
    z-index:1;
    line-height:20px;
    text-indent:40px;
    height:22px;
    width:22px;
    /*border-radius*/
    -webkit-border-radius:100%;
       -moz-border-radius:100%;
            border-radius:100%;
    top:0px;
    left:0px;
    right:auto;
    background:white;
    /*box-shadow*/
    -webkit-box-shadow:0 3px 3px rgba(0,0,0,.2),0 0 0 2px #dddddd;
       -moz-box-shadow:0 3px 3px rgba(0,0,0,.2),0 0 0 2px #dddddd;
            box-shadow:0 3px 3px rgba(0,0,0,.2),0 0 0 2px #dddddd;
}
.checkbox-label:after {
    content:attr(data-off);
    display:block;
    position:absolute;
    z-index:0;
    top:0;
    left:-250px;
    padding:10px;
    height:100%;
    width:250px;
    text-align:right;
    color:black;
    white-space:nowrap;
}
.ios-toggle:checked + .checkbox-label {
    /*box-shadow*/
    -webkit-box-shadow:inset 0 0 0 20px orange,0 0 0 2px orange;
       -moz-box-shadow:inset 0 0 0 20px orange,0 0 0 2px orange;
            box-shadow:inset 0 0 0 20px orange,0 0 0 2px orange;
}
.ios-toggle:checked + .checkbox-label:before {
    left:calc(100% - 20px);
    /*box-shadow*/
    -webkit-box-shadow:0 0 0 2px transparent,0 3px 3px rgba(0,0,0,.3);
       -moz-box-shadow:0 0 0 2px transparent,0 3px 3px rgba(0,0,0,.3);
            box-shadow:0 0 0 2px transparent,0 3px 3px rgba(0,0,0,.3);
}
.ios-toggle:checked + .checkbox-label:after {
    content:attr(data-on);
    left:40px;
    width:20px;
}
