body {
    background-color: #ddd;
}

.chat {
    box-shadow:  0rem 0.125rem 0.3125rem 0rem rgba(0,0,0,.16), 0rem 0.125rem 0.625rem 0rem rgba(0,0,0,.12);
}

.header {
    background-color: #008bbe;
}

.reminder .date,
.reminder .hour {
    color: #35416d
}

#myhours-screen .reminder .map {
    background-color: #35416d
}

.boton.default {
    background-color: #35416d
}

.round-boton.default {
    background-color: #35416d
}

.boton.default:hover {
    background-color: #35416d
}

.round-boton.default:hover {
    background-color: #35416d
}

.boton.load {
    background-color: #35416d
}

.round-boton.load {
    background-color: #35416d
}

.round-boton.timeout-refresh {
    background-color: #35416d;
    color: white
}

.boton.timeout-refresh {
    background-color: #35416d;
    color: white
}

.content .search .search-results {
    border: 0.0625rem solid #35416d;
    border-top: 0
}

.calendar .header a:hover {
    color: #35416d
}

.calendar .header .date span {
    color: #35416d
}

.calendar .header .date-selected {
    color: #fff;
    background-color: #35416d
}

.calendar .header .date-selected span.year {
    background-color: #35416d
}

.calendar #datepicker .ui-datepicker td.ui-datepicker-current-day {
    background: #35416d
}

.calendar #datepicker .ui-datepicker td.ui-datepicker-current-day:hover {
    background-color: #35416d
}

.calendar #datepicker .ui-datepicker td.con-hora a:before {
    background-color: #35416d
}

.hours ul.day>li .available-hours .detail>ul li:hover label {
    color: #35416d
}

.hours ul.day>li .available-hours .detail>ul li:hover .check {
    border: 0.1875rem solid #35416d
}

.hours ul.day>li .available-hours .detail>ul li input[type=radio]:checked ~ .check {
    border: 0.1875rem solid #35416d
}

.hours ul.day>li .available-hours .detail>ul li input[type=radio]:checked ~ .check::before {
    background: #35416d
}

.hours ul.day>li .available-hours .detail>ul li input[type=radio]:checked ~ label {
    color: #35416d
}

.bootbox .modal-footer button[data-bb-handler="confirm"] {
    background-color: #35416d !important;
    border-color: #35416d
}

.bootbox .modal-footer button[data-bb-handler="cancel"] {
   color: #6c6c6c !important;
   background-color: #c7c7c7 !important;
}

.bootbox .modal-footer button[data-bb-handler="cancel"]:hover {
    color: #35416d;
 }

.bootbox .modal-footer button[data-bb-handler="confirm"]:hover {
    background-color: #35416d;
    border-color: #35416d
}

#resumen .voucher-msg {
    color: #35416d;
}



@media (max-width:768px) {
    .keyboard {
        height: 28vh !important;
    }
    .keyboard.mini>ul li {
        height: 6vh;
    }
    .keyboard>ul li button {
        font-size: 0.8rem;
        line-height: 2.0;
        font-weight: 400;
    }
}

.keyboard>ul li button.erase {
    background: url(/static/images/agenda/icon-erase.svg) no-repeat center center #A6A8AB;
    color: white;
    background-size: 1.875rem;
    text-indent: -9999px;
    height: 1.65rem;
}

#rut-screen.keyboard-open .content,
#rut-screen-horas.keyboard-open .content {
    height: 50% !important;
}
.content {
    background-color: #008bbe;
    color: #fff;
    min-height: 2rem;
    /*padding: 40px 10px;*/
}

#rut-screen .content .first-card .card-body .md-form,
#rut-screen-horas .content .first-card .card-body.md-form {
    position: relative;
    bottom: 0;
    width: calc(100% - 1.875rem)
}

.tags .contain .card {

    margin-bottom: 0.3rem;

}

#rut-screen .title *,
#rut-screen-horas .title * {
    color: #008bbe;
    line-height: 1.4;
}

.content .title {
        position: initial;
        bottom: 3.75rem;
        width: 100%;
}

.content .title h2 {
    margin: 0rem;
}

.content .title h5 {
    margin: 0rem;
    text-transform: uppercase
}


#rut-screen .content .search,
#rut-screen-horas .content .search {
        position: relative;
        width: 100%;

}

.round-boton {

    width: 80%;
    height: 2.5rem;
    border: 0rem;
    line-height: 1;
    text-transform: uppercase;
    font-size: 0.8125rem;
    border-radius: 2.5rem;
    margin-bottom: 0.3125rem;
    font-weight: 700;
}

@keyframes loadrolling {
    from {
        background-position: calc(100% - -1.25rem) center
    }
    to {
        background-position: calc(100% - 1.875rem) center
    }
}

.round-boton.load {
    background-image: url("/static/images/agenda/rolling.svg");
    background-position: calc(100% - 1.875rem) center;
    background-repeat: no-repeat;
    animation: loadrolling;
    animation-duration: .5s;
    pointer-events: none
}

.boton {

    width: 70%;
    height: 2.5rem;
    border: 0;
    line-height: 1;
    text-transform: uppercase;
    font-size: 0.8125rem;
    border-radius: 0.125rem;
    margin-bottom: 0.3125rem;
    font-weight: 700;
}


button:focus {

    outline: none;
}

.first-card {
    margin-bottom: -2rem;
    box-shadow: 0rem 0.125rem 0.3125rem 0rem rgba(0,0,0,.16), 0rem 0.125rem 0.625rem 0rem rgba(0,0,0,.12);
    border: 0;
    background-color: #FFF;
    border-radius: 0.3125rem;
}

@keyframes LOADING {
    0% {
        transform: scale(0.5);
        background: #35416d
    }
    50% {
        transform: scale(1);
        background: white
        }
    100% {
        transform: scale(0.5);
        background: #35416d
    }
}

@keyframes LOADINGREV {
    0% {
        transform: scale(0.5);
        background: white
    }
    50% {
        transform: scale(1);
        background: transparent
    }
    100% {
        transform: scale(0.5);
        background: white
    }
}

.loading.dark {
    background-color: rgba(94, 104, 114, 0.9)
}

.loading.dark p {
    color: #fff !important
}

.tags {
    display: table;
    padding: 0.625rem 0.9375rem 0rem 0.9375rem;
    height: 10rem;
    width: 100%;
    background-color: #008bbe;
    position: relative
}

.popover.fade.top.in {
    border: 0rem solid rgba(0, 0, 0, 0);

}

.popover.top > .arrow {
    bottom: -0.625rem;
    left: 91% !important;
    margin-left: -0.6875rem;
    border-top-color: rgba(0, 0, 0,0);
}

.popover.fade.bottom.in {
    border: 0rem solid rgba(0, 0, 0, 0);

}

.popover.bottom > .arrow {
    border-bottom-color: rgba(0, 0, 0,0);
}


#rut-screen .also,
#rut-screen-horas .also {

    padding: 0.9375rem;
    margin-top: 8.5rem;
}

#rut-screen .also h5,
#rut-screen-horas .also h5 {
    font-weight: 600;
    margin-bottom: 0rem;
}

.boton-also {
    width: 100%;
    border: 0rem;
    text-transform: uppercase;
    font-size: 0.8125rem;
    border-radius: 2.5rem;
    margin-bottom: 0.3125rem;
    background-color: #35416d;
}

.round-boton.disabled {
    background-color:#aaa !important;
    border: 0.0625rem solid #aaa;
    color: #FFF !important;
    pointer-events: none

}

.btn:hover, .btn:focus, .btn.focus {
    color:#FFF;
    text-decoration: none;
}

.tags .tag {
    height: 1.9rem;
}

.placeholder-input::placeholder {
    font-style: italic;
    color: #5559 !important;

}

.blue-title {
    color:#35416d;
    font-size: 1.5rem;
    font-weight: 700;
}

.blue-subtitle {
    color:#35416d;
    font-size: 1.1rem;
    font-weight: 700;
}


.tags .tag.rut:before {
    content: '';
    position: absolute;
    width: 1.5625rem;
    height: 1.5625rem;
    background: url(/static/images/agenda/paciente.png) no-repeat center;
    background-size: cover;
    left: 0.625rem;
    top: 0.125rem;
}


.tags .tag.center:before {
    content: '';
    position: absolute;
    width: 1.5625rem;
    height: 1.5625rem;
    background: url(/static/images/agenda/center.png) no-repeat center;
    background-size: cover;
    left: 0.625rem;
    top: 0.125rem;
}

.tags .tag.isapre:before {
    content: '';
    position: absolute;
    width: 1.5625rem;
    height: 1.5625rem;
    background: url(/static/images/agenda/rut.png) no-repeat center;
    background-size: cover;
    left: 0.625rem;
    top: 0.125rem;
}

.tags .tag.familiar {
    line-height: 1
}

.tags .tag.familiar:before {
    content: '';
    position: absolute;
    width: 1.5625rem;
    height: 1.5625rem;
    background: url(/static/images/agenda/paciente.png) no-repeat center;
    background-size: cover;
    left: 0.625rem;
    top: 0.125rem;
}

.tags .tag.speciality {
    line-height: 2
}

.tags .tag.speciality:before {
    content: '';
    position: absolute;
    width: 1.5625rem;
    height: 1.5625rem;
    background: url(/static/images/agenda/medicina.png) no-repeat center;
    background-size: cover;
    left: 0.625rem;
    top: 0.125rem;
}

.tags .tag.doctor {
    height: 1.875rem;
    padding-top: 0.25rem;
    padding-left: 2.8125rem;
    line-height: 1
}

.tags .tag.doctor img {
    position: absolute;
    width: 1.875rem;
    height: 1.875rem;
    left: 0.3125rem;
    top: 0.125rem;
    border-radius: 50%;
    background-color: white;
    cursor: pointer;
}

.tags .tag.doctor img.default {
    border: 0.0625rem solid #6c6c6c;
    padding: 0.125rem;
}

.tags .tag .text {
    width: 95%;
    max-width: 13vh;
    display: block;
    overflow-x: hidden;
    white-space: nowrap;
}

.tags .tag .text:after {
    content: '...';
    position: absolute;
    right: 1.25rem;
    top: 0.25rem;
}

.tags .tag .removeTag {
    text-indent: -9999px;
    position: absolute;
    right: 0rem;
    top: calc(50% - 0.625rem);
    padding: 0rem;
    height: 1.25rem;
    width: 1.25rem;
    background: url(/static/images/agenda/close.svg) no-repeat center;
    background-size: 0.625rem;
    border: 0;
    z-index: 991;
    cursor: pointer;
    opacity: 0.2
}

.tags .tag .removeTag:hover {
    opacity: 0.8
}

.action ul#result-speciality li:before {
    content: '';
    position: absolute;
    width: 1.25rem;
    height: 1.25rem;
    background: url(/static/images/agenda/medicina.png) no-repeat center;
    background-size: cover;
    left: 1.5625rem;
    top: 1.25rem;
}

.action ul#result-hours li.hour:before {
    content: '';
    position: absolute;
    width: 1.875rem;
    height: 1.875rem;
    background: url(/static/images/agenda/hora.png) no-repeat center;
    background-size: cover;
    left: 1.3125rem;
    top: 1rem;
}

/* Track */
::-webkit-scrollbar {
    width: 0.5rem;
}

::-webkit-scrollbar-track {
    -webkit-box-shadow: inset 0rem 0rem 0rem rgba(0, 0, 0, 0.3);
    box-shadow: inset 0rem 0rem 0rem rgba(0, 0, 0, 0.3);
    -webkit-border-radius: 0.125rem;
    border-radius: 0.125rem;
}

/* Handle */

::-webkit-scrollbar-thumb {
    -webkit-border-radius: 0.125rem;
    border-radius: 0.125rem;
    background:#a6a8ab;
    -webkit-box-shadow: inset 0rem 0rem 0rem rgba(0, 0, 0, 0.5);
    box-shadow: inset 0rem 0rem 0rem rgba(0, 0, 0, 0.5);
}

::-webkit-scrollbar-thumb:window-inactive {
    background:#a6a8ab;
}

.loading .typing-ani span {
    height: 0rem;
    position: absolute;
    top: 50%;
    left: 0rem;
    width: 0rem;
    margin: 0rem;
    height: 0.875rem;
    width: 0.875rem;
    border: 0.0625rem solid #5da3f9;
    border-radius: 100%;
    transform: transformZ(0);
    animation: LOADING 2s infinite
}

#review-screen input[type=text] {
    margin-bottom: 0.5rem;
}
.input-tel input {
    margin-bottom: 0.3125rem !important;
}

#review-screen .review-form {
    height: 2rem;
    font-size: 0.8rem;
}

#review-screen {
    z-index: 989;
    overflow: auto;
    background-color: #f7f7f7;
}

#review-screen .btn-arrow-back.gris {
    left: 0.625rem;
    top: 1.25rem;
    padding-left: 1.875rem;
    line-height: 1.7;
    text-indent: initial;
    color: #6c6c6c;
    display: block
}

#review-screen .btn-arrow-back.bwhite {
    top: 1.25rem;
    padding-left: 1.875rem;
    line-height: 1.7;
    text-indent: initial;
    display: block;
}

#review-screen .content {
    height: 50%;
    box-shadow: none;
    margin-top: 0rem;
}

#review-screen .content .title {
    position: relative;
    bottom: 0rem;
}

.content .title img {
    width: 3.9375rem;
    position: absolute;
    top: 0.1875rem;
    right: 0.0625rem;
}

#rut-screen-horas img {
    height: 3.125rem;
}

#review-screen .content .conversation {
    width: 100%;
    position: relative;
    color: #6c6c6c;
    bottom: auto;
}

#review-screen .action {
    height: auto;
    padding: 0.9375rem;
    background-color: transparent;
    width: 100%;
    overflow: auto;
    position: relative;
}

#review-screen .left {
    padding-right: 0.3125rem;
    display: inline-block;
    width: 50%;
    float: left;
}

#review-screen .right {
    padding-left: 0.3125rem;
    display: inline-block;
    width: 50%;
    float: left;
}

#myhours-screen .content {
    background-color: #f7f7f7;
    text-align: center;
}

.btn-arrow-back {
    background: url("/static/images/agenda/flecha-izq.svg") no-repeat center center;
    height: 1.75rem;
    text-indent: -9999px;
    position: unset;
    width: 1.5625rem;
    display: none;
}

.btn-arrow-back.gris {
    background: url("/static/images/agenda/flecha-gris.svg") no-repeat center center;
    background-size: 1rem;
}

.btn-arrow-back.bwhite {
    background: url("/static/images/agenda/back-arrow-white.png") no-repeat center center;
    background-size: 1.65rem;
}

.badge {
    padding: 0.35rem 0.35rem;
    box-shadow:none;
}

.badge-light {
    background-color: #c7c7c7!important;
    color: #333!important;
    font-size: 0.65rem;
}


.modal-footer {
    padding: 0.625rem;
    justify-content: center;
}

.modal-body {
    text-align: center;
}

.modal-header {
    padding: 0.5625rem;
}

.modal-header .close {
    margin: 0.2rem 0.5rem 0rem auto;
    padding: 0rem;
}

#myhours-screen .reminder .next-vists-details .btn-default {
    background-color: #35416d !important;
}

.doctor-observation {
    font-size: 0.55rem;
    font-weight: 600;
    color: #006c96;
    display: flex;
    line-height: 0.95rem;
}


.action {
    height: calc(100% - 13.75rem);
    background-color: #f7f7f7;
    width: 100%;
    overflow: auto;
    position: relative;
}

.action ul li {

height: 3.5rem;
padding-right: 0.3125rem !important;
border-bottom: 0.0625rem solid #cbced0;
background-color: #f7f7f7;
line-height: 4.6;
cursor: pointer;
position: relative;
}

.action ul li>a {
    color: #333;
    position: absolute;
    display: block;
    left: 4.0625rem;
    height: 100%;
    overflow: hidden;
    width: calc(100% - 4.0625rem);
    white-space: nowrap;
    font-size: 0.78rem;
}

.action ul#result-doctor li {
    line-height: 2.8;
}

.action ul#result-doctor img {

    position: absolute;
    width: 2.5rem;
    height: 2.5rem;
    left: 0.8125rem;
    background-color: #A6A8AB;
    top: 0.5rem;
    border-radius: 50%;
    background-color: white;
    border: 0.085rem solid #35416d;
}

.action ul#result-doctor li>a>span.doctor-speciality {
    display: block;
    font-size: 0.625rem;
    color: #6c6c6c;
    position: absolute;
    top: 0.9375rem;
}

.action ul#result-hours li {
    line-height: 2.15rem;
    padding-left: 0.9375rem;
    height: 3.75rem;
    cursor: default;

}


.md-form .form-control {
    padding: 1.3rem 0rem 0rem 0rem;
}

.md-form label {
    position: absolute;
    top: 1.3rem;
}

.container-fnacim #datepicker .ui-datepicker td a {
    text-align: center;
    border: 0;
    background: none;
    padding: .65rem;
    color: #6c6c6c;
    cursor: pointer;
}
.container-fnacim #datepicker .ui-widget.ui-widget-content {
    border: 0;
    width: 100%;
    left: 0rem !important;
    background-color: white;
    top: -0.45rem !important;
    box-shadow: 0px 6px 5px -3px rgba(0,0,0,0.3);
}

.ui-datepicker .ui-datepicker-header {
    position: relative;
    padding: .5rem 0;
}

.ui-datepicker select.ui-datepicker-year {
    width: 30%;
}

.container-fnacim #datepicker .ui-datepicker .ui-datepicker-next {
    top: 0.5rem;
}