/**
 * @file
 * Subtheme specific CSS.
 */

.card button:target {
    background: lightgreen !important;
}

 /**
 *  Footer section style
 *
 */

 .site-footer__top .region {
    padding-left: 0;
    padding: 10px;
    margin: 0;
    width: 33.33%;
}
/* Bloque Sobre el Hospital en footer*/
.footer-sobre-el-hospital-block{
    padding: 20px !important;
    border:  none !important;
    font-size: 1em;
    width: 100%;
    font-weight:lighter;
    color: #bbb;
}
.footer-sobre-el-hospital-block a:hover{
    color: #669933;
}
/* Bloques menú en footer*/
.footer-block-menu {
    padding: 20px;
    border:  none;
    font-size: 1em;
    width: 100%;
    font-weight:lighter;
    color: #bbb;
}
.footer-block-menu a {
    color: #bbb;
}
.footer-block-menu a:hover {
    color: #669933;
}
/* Titulo de los bloques menú en footer*/
.footer-block-menu-title{
    text-align: right;
    font-size: 1.2em;
    font-weight: bold;
    border-bottom: 2px solid #669933 !important;
    border-right: 2px solid #669933 !important;
    padding-right: 5px;
}
/* Contenido de los bloques menú en footer (Wrapper de menú)*/
.footer-block-menu-content {
    text-align: left;
}
.footer-block-menu-content .nav-item{
    width: 100% !important;
}
.footer-block-menu .nav{

    display: block !important;
}
main#content {
    padding-bottom: 30px;
}

/************ Video instructivo Front/userlogin*************/

.page-user-login #main section.section {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 10px;
    flex-wrap: wrap;
}
.page-user-login #main section.section a#main-content {
    display: none;
}

.page-user-login #main section.section div {
    flex: 1;
    min-width: 250px;
    max-width: 100%;
}

@media (max-width: 800px) {
    .site-footer__top .region {
        padding-left: 0;
        padding: 10px;
        margin: 0;
        width: 100% !important;
    }
    /**
    *   Agregado en footer por cl
    */
    #block-informacionsobreelhospitalenpiedepagina {
        text-align: center;
    }
    #block-informacionsobreelhospitalenpiedepagina img.align-left {
        float: none;
    }
}
/**
*   Perfil de usuario.
*/
#user-login-form {
    max-width: 800px;
    margin: 0 auto;
}

#block-iovalidarwhatsappblock, 
.user-enlaces,
.efectores-list-block .view-content.row {
    max-width: 1300px;
    margin: 0 auto;
}
.path-user .btn.button--primary,
.path-user .btn.btn-primary {
    width: 100%;
}

.user-enlaces-first, 
.user-enlaces-second,
.user-enlaces-second-primero,
.user-enlaces-second-segundo,
.wrapper-enlace-uno,
.wrapper-enlace-dos,
.wrapper-enlace-tres {
    flex-basis: 100%;
}
.enlaces-first-tres-enlaces {
    display: flex;
    flex-direction: row;
    flex-wrap: nowrap;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 30px;
    gap: 5px;
}
.user-enlaces-second {
    display: flex;
    flex-direction: row;
    flex-wrap: nowrap;
    justify-content: space-between;
    align-content: center;
    align-items: center;
}
.user-enlaces {
    display: flex;
    flex-direction: row;
    flex-wrap: wrap;
    justify-content: space-between;
    align-items: center;
    gap: 25px;
}
.jumbotron {
    min-height: 250px;
    width: 100%;
    border: none;
    margin-bottom: 0;
    flex-direction: column;
    flex-wrap: wrap;
    align-content: stretch;
    justify-content: center;
}
/**
* MEdia pantallas chicas
*/
@media (max-width: 850px){
    .user-enlaces {
        display: block;
        text-align: center;
    }
    .user-enlaces-second {
        display: block;
    }
    .card.jumbotron {

        margin-bottom: 25px;

    }
    .enlaces-first-tres-enlaces {
        display: block;
    }
    .enlaces-first-tres-enlaces a {
        margin-top: 20px;
        width: 100%;
    }

    .path-frontpage .main-content section.section {
        flex-direction: column;
    }
}
/**
 *  Estilo global para botones
 */
.btn.button--primary:hover,
.btn.btn-primary:hover,
.btn.btn-success:hover,
.btn.btn-:hover {
    transform: scale(0.99);
    background-color: #6b8b53;
}

.btn.button--primary,
.btn.btn-primary,
.btn.btn-success,
.btn.btn- {
    transition: 0.5s ease;
    background-color: #79a657;
    border-color: #81ac59;
    color: #fff !important;
}

.btn.btn-primary {
    transition: 0.5s ease;
    background-color: #79a657 !important;
    border-color: #81ac59 !important;
}

.path-user .btn.btn-primary {
    width: 100%;
}

/**
 *  Estilo global para containers
 */
.container, .container-sm, .container-md, .container-lg {
    max-width: 90vw !important;
}


/*
* Modal
*
*/
/**
* @file
* Styles for Bartik's modal windows
*/

.ui-widget-overlay {
    background: #000;
    opacity: 0.7;
}

.ui-dialog input,
.ui-dialog select,
.ui-dialog textarea {
    font-size: 0.9em;
}
.ui-dialog .btn.button--primary,
.ui-dialog .btn.btn-primary {
    transition: 0.5s ease;
    background-color: #79a657 !important;
    border-color: #81ac59 !important;
    background: #79a657 !important;
    border-radius: 0 !important;
    font-weight: 400 !important;
    padding: .375rem .75rem;
    font-size: 1rem;
    line-height: 1.5;
    background-image: none;
}
.ui-dialog .btn.btn-danger {
    transition: 0.5s ease;
    color: white !important;
    background-color: #dc3545 !important;
    border-color: #dc3545 !important;
    color: white !important;
    border-radius: 0 !important;
    font-weight: 400 !important;
    padding: .375rem .75rem;
    font-size: 1rem;
    line-height: 1.5;
    background-image: none;
}
.ui-dialog .button  {
    color: white !important;
    border-radius: 0 !important;
    font-weight: 400 !important;
    padding: .375rem .75rem;
    font-size: 1rem;
    line-height: 1.5;
}
.ui-dialog .btn.button--primary:hover,
.ui-dialog .btn.btn-primary:hover {
    transform: scale(0.99);
    background-color: #6b8b53 !important;
}
.ui-dialog .btn.btn-danger:hover {
    transform: scale(0.99);
    background-color: #ec2437 !important;
}

.ui-dialog .ui-dialog-titlebar-close {
	position: absolute;

	right: .3em;
	top: 50%;
	width: 20px;
	margin: -10px 0 0 0;
	padding: 0px;
	height: 20px;
}
.ui-dialog .ui-dialog-titlebar-close::after{
    content: "\f057";
    color: red;
    width: 20px;
    height: 20px;
    position: absolute;
    top: -1px;
    left: -2px;
    font-family: "Font Awesome 5 Free";
    font-weight: 900;
    text-align: center;
}

.path-solicitudes .ui-dialog .ui-dialog-titlebar-close {
    display: none !important;
}

#crear-nuevo .details-wrapper {
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  align-items: center;
  align-content: center;
  flex-direction: row;
}

#crear-nuevo {
  width: 80%;
  max-width: 680px;
}
#crear-nuevo .details-wrapper  {
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  align-items: center;
  align-content: center;
  flex-direction: row;
}

/*
*   Solicitud turnos list 
*/
.solicitud-turno-list-form tr p {
    margin-bottom: 0;
}

details#captcha {
    max-width: 500px;
}

/**
* Frontpage:  login Form y Video instructivo
**/
.path-frontpage .main-content section.section {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 15px;
}
.path-frontpage .main-content section.section div {
    flex: 1;
}
/*
* Oculta boton cancelar cuenta
*/
.path-user #block-bs4theme-content .user-form button#edit-delete {
    display: none;
}

#block-views-block-who-s-online-who-s-online-block .view-content.row {
    justify-content: space-between;
}
.custom-control-input:checked ~ .custom-control-label::before {
    border-color: #669934 !important;
    background-color: #669934 !important;
}
.path-turnos aside.section {
    position: sticky;
    top: 0;
}

.sidebar .block {
    margin: 0px 0 0px;
    padding: 0;
    border: none;
}
#sidebar_first {
    margin-bottom: 5px;
}


/******* BANDEJA DE SOLICITUDES *******/
#edit-filtros .io-filtros-apenom {
    display: flex;
    justify-content: space-between;
}
#edit-filtros .io-filter-date .js-form-type-date {
    margin: 0 !important;
}
#edit-filtros .io-filtros-apenom div{
    display: flex;
    justify-content: space-between;
    margin: 0 !important;;
    padding-right: 10px;
}
#edit-filtros .io-filtros-apenom div label {
    display: flex;
    align-items: center;
    margin: 0;
    padding-right: 10px;
}

.form-select {
    display: inline-block;
    width: 100%;
    height: calc(1.5em + 0.75rem + 2px);
    padding: 0.375rem 1.75rem 0.375rem 0.75rem;
    font-size: 1rem;
    font-weight: 400;
    line-height: 1.5;
    color: #495057;
    vertical-align: middle;
    border: 1px solid #ced4da;
    border-radius: 0.25rem;
    -webkit-appearance: none;
    -moz-appearance: none;
    appearance: none;
    background: #fff url("data:image/svg+xml,%3csvg xmlns='http://www.w3.org/2000/svg' width='4' height='5' viewBox='0 0 4 5'%3e%3cpath fill='%23343a40' d='M2 0L0 2h4zm0 5L0 3h4z'/%3e%3c/svg%3e") no-repeat right .75rem center/8px 10px;
}

/********************* CHECKBOXS INPUTS ********************/
.form-check-label::before {
    position: absolute;
    top: 0.25rem;
    left: -1.5rem;
    display: block;
    width: 1rem;
    height: 1rem;
    pointer-events: none;
    content: "";
    background-color: #fff;
    border: #adb5bd solid 1px;
}

.form-check-label::before {
    -webkit-transition: background-color 0.15s ease-in-out,border-color 0.15s ease-in-out,-webkit-box-shadow 0.15s ease-in-out;
    transition: background-color 0.15s ease-in-out,border-color 0.15s ease-in-out,-webkit-box-shadow 0.15s ease-in-out;
    transition: background-color 0.15s ease-in-out,border-color 0.15s ease-in-out,box-shadow 0.15s ease-in-out;
    transition: background-color 0.15s ease-in-out,border-color 0.15s ease-in-out,box-shadow 0.15s ease-in-out,-webkit-box-shadow 0.15s ease-in-out;
}

.form-switch .form-check-label::before {
    left: -2.25rem;
    width: 1.75rem;
    pointer-events: all;
    border-radius: 0.5rem;
}

.form-check-label {
    position: relative;
    margin-bottom: 0;
    vertical-align: top;
}

.form-switch .form-check-label::after {
    top: calc(0.25rem + 2px);
    left: calc(-2.25rem + 2px);
    width: calc(1rem - 4px);
    height: calc(1rem - 4px);
    background-color: #adb5bd;
    border-radius: 0.5rem;
    -webkit-transition: background-color 0.15s ease-in-out,border-color 0.15s ease-in-out,-webkit-transform 0.15s ease-in-out,-webkit-box-shadow 0.15s ease-in-out;
    transition: background-color 0.15s ease-in-out,border-color 0.15s ease-in-out,-webkit-transform 0.15s ease-in-out,-webkit-box-shadow 0.15s ease-in-out;
    transition: transform 0.15s ease-in-out,background-color 0.15s ease-in-out,border-color 0.15s ease-in-out,box-shadow 0.15s ease-in-out;
    transition: transform 0.15s ease-in-out,background-color 0.15s ease-in-out,border-color 0.15s ease-in-out,box-shadow 0.15s ease-in-out,-webkit-transform 0.15s ease-in-out,-webkit-box-shadow 0.15s ease-in-out;
}

.form-check-label::after {
    position: absolute;
    top: 0.25rem;
    left: -1.5rem;
    display: block;
    width: 1rem;
    height: 1rem;
    content: "";
    background: no-repeat 50% / 50% 50%;
}

.form-check-input {
    position: absolute;
    left: 0;
    z-index: -1;
    width: 1rem;
    height: 1.25rem;
    opacity: 0;
}

.form-check-input:checked ~ .form-check-label::before {
    border-color: #669934 !important;
    background-color: #669934 !important;
}

.form-switch .form-check-input:checked ~ .form-check-label::after {
    background-color: #fff;
    -webkit-transform: translateX(0.75rem);
    transform: translateX(0.75rem);
}

.form-switch {
    padding-left: 2.25rem;
}


.path-solicitudes .card-header button {
    text-align: left !important;
    font-size: 15px;
}

.io-card-solicitudes {
    min-width: 320px !important;
    flex-basis: 32%;
    margin: 0 auto;
}

.turnos-externos-search-form {
    padding-bottom: 20px;
}