﻿html, body {
    height: 100%;
    padding: 0;
    margin: 0;
    font-family: Montserrat,Roboto, sans-serif;
}

body {
/*    display: flex;
    flex-direction: column;
    justify-content: space-between;
*/}
/* Set padding to keep content from hitting the edges */
.body-content {
    position: relative;
    padding-top: 56px;
}


/* Override the default bootstrap behavior where horizontal description lists 
   will truncate terms that are too long to fit in the left column 
*/
.dl-horizontal dt {
    white-space: normal;
}

/* Set width on the form input elements since they're 100% wide by default */
input,
select {
    max-width: 280px;
}

.go-back {
    text-align: left;
    margin-left: auto;
    margin-right: auto;
    margin-top: 1.25em;
    margin-bottom: 2em;
}

    .go-back div {
        width: 100%;
        display: table;
        color: black !important;
    }

    .go-back a {
        width: 6.25em;
        display: inline-grid; 
        text-decoration:none; 
    }

    .go-back img {
        width: 1.75em;
        height: 1.75em;
        cursor: pointer;
    }

    .go-back span {
        display: table-cell;
        vertical-align: middle;
        margin-left: 10px;
    }

.toggle-menu {
    background-color: rgb(142, 188, 249);
    border-radius: 3px;
}

.header {
    /*position: fixed;*/
    width: 100%;
    /*top: 0px;*/
    height: 64px;
    max-height: 64px;
    /*height: 2.5em;
    max-height: 2.5em;*/
    box-sizing: border-box;
    z-index: 1;
    background: rgb(142, 188, 249);
    color: black;
}

    .header .container {
        display:flex;
        flex-direction: row;
        align-items: center;
        align-items: center;
        height: 100%;
    }

    .header img.logoSalut {
        height: 43px;
        width: 97px;
    }

    .header .svgSalut {
        fill: black;
    }

    .header .navegation {
        margin-left: auto;
        display: flex;
        align-items: center;
    }

        .header .navegation a {
            color: black;
            text-decoration:none; 
        }

.navegation > * {
    margin-left: 10px;
}

.navegation > a > span {
    color: white;
    font-size: 20px;
}

.footer {
    position: fixed;
    bottom: 0;
    width: 100%;

    background-color: rgb(39, 39, 39);
    color: white;
    width: 100%;
    height: 42px;
    max-height: 42px;
}

    .footer .container {
        /*padding: 12px 16px;*/
        box-sizing: border-box;
        display: flex;
        flex-direction: row;
        width: 100%;
        min-width:max-content;
    }

    .footer img.logoSalut {
        height: 22px;
        width: 75px;
    }

    .footer img.logoGene {
        height: 25px;
        width: 97px;
    }

/* GESTIO X DEMANDAS */

.box {
    border-radius: 15px 15px 15px 15px;
    border: solid 2px #e2e4e6;
    text-align: left;
    /*padding:1em;*/
}
.boxNoMargin {
    border-radius: 15px 15px 15px 15px;
    border: solid 2px #e2e4e6;
    text-align: left;
    margin: 0;
    padding: 0;
}
 .boxBorderBottom {
    /*display: table-row;*/
    border-bottom: solid 2px #e2e4e6;
}
.boxCalendar {
    /*display: table-row;*/
    border-right: solid 2px #e2e4e6;
    padding-bottom: 1em;
}
.boxBorderTop {
    /*display: table-row;*/
    border-top: solid 2px #e2e4e6;
}
.boxBorder {
    margin:0;
    padding: 0;
}
.text-inquiry {
    width: 100%;
    max-width:auto;
    border-radius: 15px;
    border: solid 1px #c8c8cd;
    background-color: #ffffff;
    padding-left: 20px;
    padding-top: 10px;
    resize: none;
}

.text-inquiry-borderNone {
    width: 100%;
    max-width: auto;
    border: none;
    background-color: #ffffff;
    padding-left: 20px;
    padding-top: 10px;
    resize: none;
}

.buttonSolicitar {
    max-width: 90%;
    width: 15em;
    height: 56px;
    background-color: #81b0ef;
    color: #000000;
    border: none;
    border-radius: 15px;
    font-size: 18px;
    font-weight: bold;
    cursor: pointer;
    margin: 1em;
}

.buttonLogin {
    width: 90%;
    height: 56px;
    background-color: #81b0ef;
    color: #000000;
    border: none;
    border-radius: 15px;
    font-size: 18px;
    font-weight: bold;
    cursor: pointer;
    margin: 1em;
}

.buttonBanner {
    height: 56px;
    background-color: #FFFFFF;
    color: #1D1D1B;
    border: none;
    border-radius: 15px;
    font-size: 18px;
    font-weight: bold;
    cursor: pointer;
}

.buttonBannerIcon {
    margin-left: 13px;
}

.propostaVisitaInfoOK {
    text-align: left;
    background-color: rgba(129, 176, 239, 0.1);
    padding: 1em 1em 1em 1em;
}

.propostaVisitaInfoKO {
    text-align: left;
    background-color: #f8f0f0;
    padding: 1em 1em 1em 1em;
    margin: 1em 1em 1em 1em;
}

/* CITA COVID*/
.boxCitaCovid {
    border-radius: 15px 15px 15px 15px;
    border: solid 2px #e2e4e6;
    text-align: left;
    margin-top: 50px;
}

.boxCitaCovidCIP div {
    padding: 1em;
    display: flex;
}

    .boxCitaCovidCIP div > span {
        margin-left: auto;
    }

.dadesRowCovid {
    border-bottom: solid 2px #e2e4e6;
    width: 100%;
}

.buttonDemanaCitaCovid {
    width: 13em;
    height: 3em;
    background-color: #e2e4e6;
    color: white;
    margin-top: 20px;
    border: none;
    border-radius: 15px;
    font-size: 1em;
    font-weight: bold;
    cursor: not-allowed;
}

.text-info {
    color: #8ebcf9;
}

.bg-info {
    background-color: #8ebcf9;
}

.loader-container {
    position: fixed;
    top: 0;
    bottom: 0;
    left: 0;
    right: 0;
    justify-content: center;
    align-items: center;
    background-color: transparent;
    z-index: 10;
}

.loader {
    border: 16px solid #8ebcf9;
    border-radius: 50%;
    border-top: 16px solid #3498db;
    width: 120px;
    height: 120px;
    -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);
    }
}

#consulta-cita-loader, #demanar-cita-loader, #anulacion-cita-loader {
    display: flex;
}

.text-danger {
    color: #ff6961;
}

#errorDiv {
    position: absolute;
    top: 60px;
    bottom: 0;
    left: 0;
    right: 0;
    color: black;
    font-size: 2rem;
    z-index: 999;
    display: flex;
    justify-content: center;
    align-items: center;
}

#errorDivContent {
    border-radius: 10px;
    background-color: #e5e5e5;
    padding: 2em;
    border-color: #e5e5e5 #eee #eee;
    border-style: solid;
    border-width: 1px 0;
    -webkit-box-shadow: inset 0 3px 6px rgb(0 0 0 / 5%);
    box-shadow: inset 0 3px 6px rgb(0 0 0 / 5%);
}

#errorDivContentText {
    margin-bottom: 10px;
}

#centreContainer, #horaContainer, #diaContainer {
    display: flex;
    flex-direction: column;
    align-items: center;
}

#submitContainer {
    padding-top: 20px;
}


/*Media personliazado teniendo en cuenta row/columns de bootstrap*/

@media (max-width: 3000px) {
    .boxType1Height-xl {
        height: 5em;
    }
    .boxCalendar-xl {
        border-bottom:none;
        border-right: solid 2px #e2e4e6;
        padding-bottom: 1em;
    }
    .boxType4Height-xl {
        height: 5em;
    }
}

@media (max-width: 1200px) {
    .boxType1Height-lg {
        height: 7.5em;
    }
    .boxCalendar-lg {
        border-bottom:none;
        border-right: solid 2px #e2e4e6;
        padding-bottom: 1em;
    }
    .boxType4Height-lg {
        height: 7.5em;
    }
    .cons-urgent-resposta-lg {
        font-size: 0.83em !important;
    }
    .resize-text-type4-lg {
        margin: -0.9em 0.2em 0.3em 0.3em !important;
    }
    .resize-text-type4a-lg {
        margin: -0.9em 0.2em 0.5em 0.7em !important;
    }
    .afegirDocument-lg {
        font-size: 0.7em !important;
    }
}

@media (max-width: 992px) {
    .boxType1Height-md {
        height: 10em;
    }
    .boxCalendar-md {
        border-right: none;
        border-bottom: solid 2px #e2e4e6;
        padding-bottom: 1em;
    }
    .boxType4Height-md {
        height: 9em;
    }
    .buttonRealitzarCons-md {
        width: 14em;
        margin-left: 10px;
        font-size: 0.9em;
    }
    .cons-urgent-resposta-md {
        margin-top: 0.4em !important;
        line-height: normal !important;
        font-size: 0.83em !important;
    }
    .row-cons-urgent-md {
        width: 93% !important;
    }
    .resize-text-type4-md {
        margin: -0.9em 0.2em 0.5em 0.7em !important
    }
    .resize-text-type4a-md {
        margin: -0.9em 0.2em 0.5em 0.7em !important;
    }
    .resize-text-type1-md {
        margin: -1.7em 0.2em 0.5em 0 !important;
    }
    .dadesPersonalsValue-md {
        font-size: 0.9em !important;
    }
    .uploadFilesInfo-md {
        padding: 0 0 0 1em !important;
    }
    .iconBannerLMS-md {
        padding-left: 0;
    }
    .textBannerLMS-md {
        padding: 1em 1em 1em 1em !important;
    }
    .iconBannerVerolaMico-md {
        padding-left: 0;
    }
}

@media (max-width: 767px) {
    .boxType1Height-sm {
        height: 6em;
        margin-left: 0.1em;
        margin-right: 0.1em;
    }
    .boxType2bHeight-sm {
        height: fit-content !important;
    }
    .boxType4Height-sm {
        height: 5em;
    }
    .boxCalendar-sm {
        border-right: none;
        border-bottom: solid 2px #e2e4e6;
        padding-bottom: 1em;
    }
    .buttonRealitzarCons-sm {
        width: 12em;
        margin-left: 10px;
        font-size: 0.8em;
    }
    .cons-urgent-resposta-sm {
        margin-top: 0.4em !important;
        line-height: normal !important;
        font-size: 0.82em !important;
    }
    .row-cons-urgent-sm {
        width: 91% !important;
    }
    .cons-urgent-emergencia-sm {
        font-size: 0.78em !important;
    }
    .resize-text-type4-sm {
        margin: 0.5em 0 0.5em -0.4em !important;
    }
    .resize-text-type4a-sm {
        margin: 0.5em 0.5em 0.5em 0.1em !important;
    }
    .resize-text-type1-sm {
        margin: 0.5em 0.5em 0.5em -2em !important;  
    }
    .button-gestio-cites-sm {
        max-width: 2in !important;
        font-size: 0.8rem;
    }
    .resize-text-sm {
        margin-left: 0 !important;
    }
}

@media (max-width: 576px) {
    .boxType1Height-xsm {
        height: 6em;
        margin-left: 0.1em;
        margin-right: 0.1em;
        padding-left: 0.1em;
        padding-right: 0.1em;
    }
    .boxType2bHeight-xsm {
        height: fit-content !important;
    }
    .boxType4Height-xsm {
        height: 5em;
    }
    .dadesPersonalesmovil {
        margin-top: 1em;
    }
    .buttonSolicitarMobil {
        width: 9em;
        margin-left: 10px;
    }
    .buttonRealitzarCons-xsm {
        width: 12em;
        margin-left: 10px;
        font-size: 0.8em;
    }
    .page-title-div-mob {
        text-align: left !important;
        margin: 0em 0em 0.9em 1.8em !important;
    }
    .page-description-span-mob {
        margin-left: 15px;
        margin-bottom: 8px !important;
        margin-right: 18px;
    }
    .dropdown-hores-mob {
        /*margin-left: -40px;*/
        width: 95%;
        margin-bottom: 8px;
    }
    .pull-right-mob {
        width: 95px !important;
    }
    .navbar-right-mob {
        display: flex;
        flex-direction: row;
    }
    .dropdown-mob {
        padding-top: 7px;
        padding-right: 15px !important;
    }
    .button-solicitar-cites-mob {
        margin-bottom: 15px !important;
        margin-right: 20px !important;
        margin-top: 10px !important;
        min-width: 3.6in !important;
    }
    .button-gestio-cites-xsm {
        margin-bottom: 15px !important;
        margin-right: 5px !important;
        display: block;
        font-size: 1rem;
        min-width: 95%;
    }
    .oculto {
        visibility: hidden;
        height: 0px;
    }
    .box-meves-dades-mob {
        margin-top: 0em !important;
    }
    .user-dropdown {
        position: absolute !important;
        float: none !important;
        font-size: 14px;
        max-width: 355px;
        background-color: #f2f7fd;
        overflow: hidden;
        padding: 0 !important;
        border: none;
        /*border-radius: .95rem 0 .95rem .95rem !important;*/
    }
    .user-dropdown.show {
        display: block;
        z-index: 10;
        outline: 9999px solid rgba(0,0,0,0.5);
    }
    .boxCalendar-xsm {
        border-right: none;
        border-bottom: solid 2px #e2e4e6;
        padding-bottom: 1em;
    }
    .cons-urgent-resposta-xsm {
        margin-top: 0.4em !important;
        line-height: normal !important;
        font-size: 0.82em !important;
        margin-right: 2em !important;
    }
    .row-cons-urgent-xsm {
        width: 93% !important;
    }
    .cons-urgent-emergencia-xsm {
        font-size: 0.78em !important;
    }
    .resize-text-type4-xsm {
        margin: 0.5em 0.2em 0.5em -0.4em !important;
    }
    .resize-text-type1-xsm {
        margin: 0.5em 0.5em 0.5em -4.8em !important;
    }
    .colTipoCita-xsm {
        max-width: fit-content;
    }
    .popup-confirm-xsm {
        max-width: 95% !important;
    }
    .buttonConfirmCancel-xsm {
        max-width: 130px !important;
        font-size: 1rem !important;
        margin-left: 80px !important;
    }
    .buttonConfirmAccept-xsm {
        max-width: 130px !important;
        font-size: 1rem !important;
        margin-left: 15px !important;
    }
    .iconBannerLMS-xsm {
        padding-left: 0;
    }
    .iconBannerVerolaMico-xsm {
        padding-left: 0;
    }
    .resize-text-xsm {
        margin-left: 0 !important;
    }
    .rowtitle-xsm {
        margin-bottom: 0 !important;
    }
    .go-back-xsm {
        margin-left: 0.9em !important;
    }
    .warningBoxYellow-xsm {
        min-width: fit-content;
        margin: 1em;
    }
    .imgBanner-xsm {
        padding-left: 10px !important;
    }
}

@media (max-width: 480px) {
    .resize-text-type1-xxsm {
        margin: 0.5em 0.5em 0.5em -2.5em !important;
        font-size: 0.7em !important;
    }
    .colTipoCita-xxsm {
        max-width: fit-content;
        padding: 0.4em;
    }
    .popup-confirm-xxsm {
        max-width: 95% !important;
    }
    .buttonConfirmCancel-xxsm {
        max-width: 102px !important;
        font-size: 1rem !important;
        margin-left: 50px !important;
    }
    .buttonConfirmAccept-xxsm {
        max-width: 110px !important;
        font-size: 1rem !important;
        margin-left: 5px !important;
    }
    .button-gestio-cites-xxsm {
        min-width: 98% !important;
    }
    .resize-text-xxsm {
        margin-left: 0 !important;
    }
    .imgBanner-xxsm {
        padding-left: 5px !important;
    }
    .main-msg-xxsm {
        max-width: 32px;
    }
}