﻿/* ESTILOS */

html {
    height: 0%;
}

body {
    background: #e9e9e9 url('/Images/fondo_body.jpg') no-repeat center center fixed; /*#e9e9e9  no-repeat center 0px*/
    -webkit-background-size: cover;
    -moz-background-size: cover;
    -o-background-size: cover;
    background-size: cover;
}

h4 {
    font-weight: 700;
    font-size: 16px;
    color: #3c8dbc;
}

input[type=range] {
    -webkit-appearance: none;
    border-radius: 5px;
}

    input[type=range]::-webkit-slider-runnable-track {
        height: 7px;
        background: #044367;
        border: none;
        border-radius: 3px;
    }

    input[type=range]::-webkit-slider-thumb {
        -webkit-appearance: none;
        border: none;
        height: 20px;
        width: 20px;
        border-radius: 50%;
        background: #3c8dbc;
        margin-top: -6px;
        vertical-align: middle;
    }

    input[type=range]:focus {
        outline: none;
    }

    input[type=range]:hover {
        cursor: pointer;
    }


/* Important part */
.modal-dialog {
    overflow-y: initial !important;
}

.scroll {
    overflow-y: auto;
}

#imgPlacaModal {
    position: relative;
    overflow: hidden;
    width: 100%;
    height: 50%;
}

#imgPlacaModal2 {
    position: relative;
    overflow: hidden;
    width: 100%;
    height: 50%;
}

#zoom-range {
    width: 50% !important;
    position: relative;
    z-index: 2;
    margin: -25px 25px 0 0;
    zoom: 150%;
}

.fila-base {
    display: none;
}

textarea {
    resize: vertical;
}

.natclar-bg-t {
    color: transparent;
}

.sincabecera {
    margin-top: 25px;
}

.pegados {
    padding-left: 0 !important;
}

.natclar-title-gt {
    text-transform: uppercase;
}

.pegados-r {
    padding-right: 0 !important;
}

.natclar-examen-f {
    border-top: 0px !important;
}

/* HELPER UI */

ul.ui-autocomplete {
    z-index: 1100;
}


html .ui-autocomplete {
    height: 100px;
}

.ui-autocomplete {
    max-height: 100px;
    overflow-y: auto;
    overflow-x: hidden;
}

.btnSkype p {
    margin: 0;
}

    .btnSkype p a img {
        margin: 0 16px !important;
        vertical-align: 0px !important;
    }

.control-sidebar-dark {
    color: #5c6163;
}

    .control-sidebar-dark h3 {
        font-size: 16px;
        font-weight: 500;
    }

    .control-sidebar-dark h4 {
        font-size: 14px;
        font-weight: 700;
        padding-left: 10px;
    }

    .control-sidebar-dark label {
        font-size: 14px;
        font-weight: 400;
        padding-left: 15px;
    }

.input_error {
    background-color: #ffe8e8;
}

.no-gutter {
    margin-left: 0;
    margin-right: 0;
    padding-right: 0;
    padding-left: 0;
}

/**********************************************************/
/************      P E R I F E R I C O S       ***********/
/********************************************************/
.btn-periferico {
    border-top: 7px solid #5c6163 !important;
    padding: 10px 50px;
}

    .btn-periferico i {
        color: #5c6163;
    }

.btn-periferico-active i {
    color: #fff !important;
}

.btn-min {
    width: 100%;
}

.h-list, .actions {
    margin: 0;
    padding: 0;
    list-item-style: none;
}

    .h-list > li, .actions > li {
        display: inline-block;
    }

/* main */
.container {
    position: relative;
    height: 140px;
    width: 300px;
    margin: 20px auto;
    perspective: 600px;
}

.call {
    position: absolute;
    width: 100%;
    box-sizing: border-box;
    color: #ecf0f1;
    padding: 10px;
    border-radius: 4px;
    transition: all 1s, background-color 600ms, opacity 600ms;
    backface-visibility: hidden;
}

.ringing {
    z-index: 10 !important;
    background-color: #3c8dbc !important;
}

.hold {
    background-color: #E9B863 !important;
}

.speaking {
    background-color: #88cfaf;
}

.wrapup {
    background-color: #ff7980;
}

/* inner */
.head {
    font-size: 42px;
    text-align: center;
    margin: 0 auto;
}

.details {
    color: #ecf0f1;
    text-align: center;
    font-size: 16px;
    font-weight: bold;
    padding: 10px;
}

.actions {
    width: 100%;
    padding: 2px 16px;
    box-sizing: border-box;
}

.action {
    margin-left: -2px;
    margin-right: -2px;
    width: 50%;
    padding: 0 8px 0 12px;
    box-sizing: border-box;
}

    .action > a {
        width: 100%;
        text-align: center;
        display: inline-block;
        box-sizing: border-box;
        padding: 5px 8px;
        text-decoration: none;
        font-size: 12px;
        font-weight: bold;
        border-radius: 4px;
        color: rgba(255, 255, 255, 0.6);
        border: 1px solid rgba(255, 255, 255, 0.6);
    }

        .action > a:hover {
            background-color: rgba(255, 255, 255, 0.2);
        }

/* animation */
.-fadeout {
    filter: blur(6px);
    opacity: 0;
}

.-drop {
    filter: blur(6px);
    opacity: 0;
    transform: translateY(20%) rotateX(20deg);
}

.-flip {
    transform: rotateY(180deg);
}

.flipback {
    transform: rotateY(-180deg);
}

.-ringing {
    animation: _ringing 600ms infinite;
    -webkit-animation-fill-mode: forwards; /* Safari 4.0 - 8.0 */
    animation-fill-mode: forwards;
    animation-direction: normal;
    animation-timing-function: linear;
}

@keyframes _ringing {
    0% {
        transform: translate(0, 0);
    }

    10% {
        transform: translate(6px, 0px);
        transform: rotateZ(2deg);
    }

    20% {
        transform: translate(-6px, 0px);
        transform: rotateZ(-2deg);
    }

    30% {
        transform: translate(3px, 0px);
        transform: rotateZ(1deg);
    }

    40% {
        transform: translate(-3px, 0px);
        transform: rotateZ(-1deg);
    }

    50% {
        transform: translate(2px, 0px);
        transform: rotateZ(1deg);
    }

    60% {
        transform: translate(0, 0);
    }

    100% {
        transform: translate(0, 0);
    }
}
/* eq */
.hidden {
    display: none;
}

.sound {
    font-size: 26px;
    position: absolute;
    top: -6px;
    right: -6px;
    opacity: .2;
    cursor: pointer;
}

    .sound:hover {
        opacity: .5;
    }

.fa-ban {
    color: tomato;
}

.head {
    height: 46px;
}

#eq {
    width: 220px;
    height: 46px;
}

.table-fixed thead {
    width: 100%;
}

.table-fixed tbody {
    max-height: 230px;
    overflow-y: auto;
    width: 100%;
}

.table-fixed thead, .table-fixed tbody, .table-fixed tr, .table-fixed td, .table-fixed th {
    display: block;
}

    .table-fixed tbody td, .table-fixed thead > tr > th {
        float: left;
        border-bottom-width: 0;
    }

.contenedor-historia {
    overflow-y: scroll;
    padding: 0 5px;
    /*max-height: 500px;*/
}

#TablaExamenes tbody tr {
    font-size: small;
}

.box-body h3 {
    font-size: 18px;
}

#modalCalling .modal-content, #modalAtenderLlamado .modal-content {
    background-color: transparent !important;
}

.label-gray {
    background-color: #a29c9b !important;
}

.lbl-cod {
    background: transparent !important;
    outline: 0 !important;
    border: 0 !important;
    width: 62px !important;
    font-weight: bold !important;
    font-size: 17px;
}


.lbl-desc {
    background: transparent !important;
    outline: 0 !important;
    border: 0 !important;
    width: 100% !important;
    font-weight: bold !important;
    font-size: 17px;
}

.radio-Dx {
    font-size: 18px;
    font-weight: 600;
}

@media screen and (max-width: 991px) {
    #addMarginTop {
        margin-top: 18px !important;
    }
}

.preloader-background {
    display: flex;
    align-items: center;
    justify-content: center;
    background: #ecf0f5;
    position: fixed;
    z-index: 100;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
}

.loader {
    border: 16px solid #f3f3f3;
    border-top: 16px solid #3c8dbc;
    border-radius: 50%;
    width: 120px;
    height: 120px;
    animation: spin 2s linear infinite;
}

@keyframes spin {
    0% {
        transform: rotate(0deg);
    }

    100% {
        transform: rotate(360deg);
    }
}

.col-center {
    text-align: center;
    margin: 0 auto;
}


#tab_ficha_general ul li {
    text-align: center !important;
    border-bottom: none;
}

    #tab_ficha_general ul li span {
        display: block;
        margin-bottom: 0.75em;
    }

#tab_ficha_general li.active a {
    color: #fff;
    background: #3c8dbc;
    border-top-color: #70b0ff;
}

.clsinput-error {
    border-color: #ed0000;
    -webkit-box-shadow: inset 0 1px 1px rgba(0,0,0,.075);
    box-shadow: inset 0 1px 1px rgba(0,0,0,.075);
}

.clsinput-success {
    border-color: #3c763d;
    -webkit-box-shadow: inset 0 1px 1px rgba(0,0,0,.075);
    box-shadow: inset 0 1px 1px rgba(0,0,0,.075);
}

.clsinput-warning {
    border-color: #e0be1d;
    -webkit-box-shadow: inset 0 1px 1px rgba(0,0,0,.075);
    box-shadow: inset 0 1px 1px rgba(0,0,0,.075);
}

.clsbtnFloat {
    background: transparent;
    border: 0;
    outline: 0;
    color: #fff;
}

.clsContentbtnFloat {
    background: #00a65a;
    position: fixed;
    right: 0px;
    padding: 12px;
    border-radius: 21px 0px 0px 21px;
    bottom: 259px;
    z-index: 2;
}

@media (min-width: 992px) {
    .col-md-1 {
        width: 11.333333% !important;
    }
}

.GroupTipoConsulta a {
    cursor: pointer;
}

.fls-group {
    border: 1px solid #e5e5e5 !important;
    padding-bottom: 10px;
}

    .fls-group legend {
        font-size: 14px !important;
        width: 0% !important;
        border: none !important;
    }

.gallery {
    overflow: hidden;
}

    .gallery:hover > li {
        filter: progid:DXImageTransform.Microsoft.Alpha(Opacity=50);
        opacity: 0.5;
    }

    .gallery li {
        position: relative;
        background: #FFFFFF;
        margin: 0 25px 25px 0;
        transition: all .2s ease-in-out;
        overflow: hidden;
        display: inline-block;
    }

        .gallery li img {
            vertical-align: bottom;
            backface-visibility: hidden;
            transition: all .2s ease-in-out;
        }

            .gallery li img:hover {
                -moz-transform: scale(1.1, 1.1);
                -ms-transform: scale(1.1, 1.1);
                -webkit-transform: scale(1.1, 1.1);
                transform: scale(1.1, 1.1);
            }

        .gallery li:hover {
            filter: progid:DXImageTransform.Microsoft.Alpha(enabled=false);
            opacity: 1;
            cursor: -webkit-zoom-in;
            cursor: -moz-zoom-in;
        }

            .gallery li:hover > li {
                box-shadow: 1px 1px 1px 5px #0093d0;
            }

        .gallery li:nth-child(3n) {
            margin-right: 0;
        }

.lightbox {
    position: fixed;
    top: 0;
    right: 0;
    bottom: 0;
    left: 0;
    background: rgba(0, 0, 0, 0.7);
    text-align: center;
    display: none;
    cursor: -webkit-zoom-out;
    cursor: -moz-zoom-out;
}

    .lightbox figure {
        display: block;
        position: relative;
        width: 100%;
        height: 100%;
        white-space: nowrap;
        background-repeat: no-repeat;
        background-position: center;
        -moz-background-size: contain;
        -o-background-size: contain;
        -webkit-background-size: contain;
        background-size: contain;
    }

.clsImgAr {
    width: 10%;
}

#frmConsultaEmergencia .input-group .form-control {
    z-index: auto !important;
}

#frmConsultaEmergencia .input-group-btn:last-child > .btn, .input-group-btn:last-child > .btn-group {
    z-index: auto !important;
    margin-left: -1px;
}

#input-700 {
    z-index: auto !important;
}

.clsUlEva ul {
    margin: 20px 0;
    padding: 0;
}

.clsUlEva li {
    display: inline-block;
    text-align: center;
    padding: 4px 15px;
    cursor: pointer;
    border-radius: 3px;
    transition: all .3s;
    box-shadow: 1px 1px 0 rgba(180, 180, 180, .1);
}

    .clsUlEva li:hover {
        background-color: rgba(32, 134, 207, .65);
        color: #fff;
    }

    .clsUlEva li.active {
        background-color: #949b9e;
        color: #eee;
    }

.clsGroupEva li img {
    width: 50%;
}

.clsTipoContingencia:hover {
    cursor: pointer;
}

.btn-circle {
    width: 30px;
    height: 30px;
    text-align: center;
    padding: 6px 0;
    font-size: 12px;
    line-height: 1.42;
    border-radius: 15px;
}

.ui-datepicker {
    z-index: 80 !important;
}

.jqx-enableselect {
    z-index: 999 !important
}


.loader-15 {
    border: 3px solid #f3f3f3;
    border-radius: 50%;
    border-top: 3px solid #3498db;
    width: 15px;
    height: 15PX;
    -webkit-animation: spin 2s linear infinite; /* Safari */
    animation: spin 2s linear infinite;
}

/* Safari */
@-webkit-keyframes spin {
    0% {
        -webkit-transform: rotate(0deg);
    }

    100% {
        -webkit-transform: rotate(360deg);
    }
}

@keyframes spin {
    0% {
        transform: rotate(0deg);
    }

    100% {
        transform: rotate(360deg);
    }
}

/* Select 2 */
/* ------- */

/* Asegurar que el select2 no sobrepase el modal */
.modal .input-group {
    /*display: flex !important;
    flex-wrap: nowrap !important;
    max-width: 100% !important;*/
}

/* Ajustar el select2 dentro del input-group */
    .modal .input-group .select2-container {
        flex-grow: 1 !important;
        max-width: calc(100% - 40px) !important;
    }

/* Evitar que el texto sobresalga y mantenerlo en una sola línea */
    .modal .input-group .select2-selection__rendered {
        display: block !important;
        overflow: hidden !important;
        text-overflow: ellipsis !important;
        white-space: nowrap !important;
        max-width: calc(100% - 5px) !important; /* Restando el botón de edición */
    }

/* Evitar que el botón de edición empuje el select2 */
    .modal .input-group .input-group-btn {
        flex-shrink: 0 !important;
    }

.modal .select2-selection__rendered li span {
    display: inline-block !important;
    margin-bottom: 0px !important;
}

.d-block {
    display: block;
}


.info-box-card {
    border: 2px solid #3c8dbc;
    border-radius: 8px;
    padding: 20px;
    margin: 20px 0;
    position: relative;
    box-shadow: 0 2px 4px rgba(0, 0, 0, 0.1);
}

.info-box-card h4{
    position: absolute;
    top: -15px;
    left: 20px;
    background: linear-gradient(135deg, #3c8dbc 0%, #2980b9 100%);
    color: white;
    padding: 5px 15px;
    border-radius: 15px;
    margin: 0;
    font-size: 14px;
    font-weight: 600;
    box-shadow: 0 2px 4px rgba(0, 0, 0, 0.2);
}



