*{
    margin: 0;
    padding: 0;
    box-sizing: border-box;
    font-family: 'Suprema Regular';
    user-select: none;
}
*:focus{
    outline: none;
}
@font-face {
    font-family: "Suprema Regular";
    src: url("Suprema Regular.ttf");
}
@font-face {
    font-family: "Suprema Regular";
    src: url("Suprema SemiBold.ttf");
    font-weight: bold;
}
@import url('https://fonts.googleapis.com/css2?family=Lato:wght@700&display=swap');

html{
    font-size: 10px;
}
a, a:hover, a:focus, a:active {
    text-decoration: none;
    color: inherit;
}
:root{
    --greyText: #808080;
    --darkBlue: #197BBD;
    --lightBlue: #F0F7FF;
    --white: #fff;
}
/* Main */
.enlace-cambiar-empresa{
    display: block;
    font-size: 1.3em;
    margin-bottom: 1em;
    border-bottom: 1px solid rgba(0, 0, 0, 0.15);
    cursor: pointer;
}

/* Menu left */
.menu-left{
  position: fixed;
  width: 100%;
  height:70px;
  display: flex;
  justify-content: space-between;
  z-index: 1000;
  padding: 2em 3em;
  background: white;
}


.menu-left-logo{
    font-family: "Suprema Regular";
    font-weight: bold;
}
.menu-left-logo img{
    width: 3em;
    height: 3em;
}
.menu-left-logo span{
    font-size: 1.8em;
}
.menu-left-logo small{
    color: var(--greyText);
    font-size: .9em;
}

/* Nombre empresa */
.nombre-empresa{
    font-weight: bold;
    border-bottom: 1px solid #f2f2f2;
    padding: .5em 0;
    text-transform: uppercase;
    cursor: pointer;
}

/* main menu */
.main-menu{
    font-size: 1.6em;
    list-style: none;
    font-family: 'Lato', sans-serif;
    font-weight: bold;
    color: var(--greyText);
    position: fixed;
    top: 70px;
    left: 0;
    right: 0;
    background: white;
    width: 100%;
    z-index: 1000;
    height: calc(100vh - 60px);
    padding: 2em 1em;
    display: none;
}
.nombre-empresa{
    font-size: 1.2em;
}
.checkbox-btn-menu{
    display: none;
}
.checkbox-btn-menu:checked ~  .main-menu{
    display: block;
}
.main-menu li{
    border-radius: .4em;
    width: 100%;
    cursor: pointer;
    position: relative;
}
.main-menu li a{
    padding: 1em;
    display: block;
}
.main-menu li ion-icon{
    margin-right: 1em;
}
.main-menu li.active {
    background: var(--lightBlue);
    color: var(--darkBlue);
    transition: .5s;
}

.main-menu li:hover {
    background: var(--lightBlue);
    color: var(--darkBlue);
    transition: .3s;
}
/* submenu */
.btn-menu{
    display: block;
    width: 30px;
    height: 30px;
    background-image: url('../icons/menu.svg');
    background-position: center;
    background-size: cover;
    background-repeat: no-repeat;
}
.checkbox-btn-menu:checked ~ .btn-menu{
    background-image: url('../icons/menu-close.svg');

}
.main-menu ul{
    list-style: none;
    position: absolute;
    left: 150px;
    top: -80px;
    z-index: 1000;
    display: none;
    height: 210px;
    overflow-y: auto;
    width: 150px;
}
.main-menu ::-webkit-scrollbar {
    width: 10px;
}
.main-menu ::-webkit-scrollbar-track {
    background: var(--lightBlue);
    /*border-radius: 1em;*/
}
.main-menu ::-webkit-scrollbar-thumb {
    background: var(--darkBlue);
    /*border-radius: 1em;*/
}
.main-menu ul li{
    background: var(--lightBlue); 
    color: var(--darkBlue);
    border-radius: 0;
}
.main-menu ul li a{
    text-transform: lowercase;
    /* text-transform: capitalize; */
    padding: .6em 1em;
}
.main-menu li:hover{
    background: var(--darkBlue);
    color: white;
}

/* Page main */
.page-main{
    position: fixed;    
    width: 100%;
    overflow-y: auto;
    height: 100vh;
    padding: 0 3em;
    top: 60px;
}

/* Header */
.page-header{
    display: flex;
    justify-content: space-between;
    align-items: center;
    position: fixed;
    background: white;
    z-index: 2;
    height: 120px;
    width: 100%;
}
/* Header title */
h1{
    font-size: 2.5em;
    font-family: "Suprema Regular";
    font-weight: bold;
}
h2{
    font-family: "Suprema Regular";
    font-weight:normal;
    color: var(--greyText);
    font-size: 1.5em;
    word-wrap: break-word;
}
.header-subtitle-page{
    width: 76vw;
}

/* Header logout */
.header-logout{
    display: none;
    justify-content: space-between;
    align-items: center;
    padding-right: 4em;
    user-select: none;
}
/* notification section */
.notifications-header{
    position: relative;
    cursor: pointer;
    margin-right: 5em;
}
.wrapper-notificaciones-header img{
    width: 22px;
    height: 22px;
}
.number-notificaciones{
    background: #BB4430;
    border-radius: 50%;
    width: 17px;
    height: 17px;
    display: flex;
    justify-content: center;
    align-items: center;
    color: white;
    font-weight: bolder;
    position: absolute;
    z-index: 2;
    top: -8px;
    left: 14px;
    font-size: 9px;
    visibility: hidden;
}
.block-notifications-options{
    box-shadow: 0px 4px 4px rgba(0, 0, 0, 0.25);
    font-family: 'Suprema Regular';
    padding: 2em 2em 1em 2em;
    border-radius: 2.8em;
    background: white;
    position: absolute;
    visibility: hidden;
    top: initial;
    width: 50em;
    max-height:40em;
    right: 0;
}
.block-notifications-options .lds-ring{
    position: initial;
}
.block-notificactions-wrapper{
    max-height: 26em;
    overflow-y: auto;
    margin-top: 1em;
}
.block-notificactions-wrapper .cargar-mas-text{
    position: initial;
}
.block-notificactions-wrapper::-webkit-scrollbar {
    width: 10px;
}
.block-notificactions-wrapper::-webkit-scrollbar-track {
    background: var(--lightBlue);
    /*border-radius: 1em;*/
}
.block-notificactions-wrapper::-webkit-scrollbar-thumb {
    background: var(--darkBlue);
    /*border-radius: 1em;*/
}
.block-notifications-options h2{
    color: black;
    font-weight: bolder;
}
.block-notifications-options.show{
    visibility: visible;
    transition: .3s;
}
.notification-element{
    display: grid;
    grid-template-columns: 4em 1fr;
    /*align-items: center;*/
    padding: 1em;
    border-radius: .8em;
    font-size: 1.3em;

}
.notification-element:hover{
    background: var(--lightBlue);
    transition: .3s;
}
.notificacion-cuerpo-info{
    display: grid;
    grid-template-columns: 1fr 5em; 
}
.notification-element a{
    display: inline-block;
}
.notificacion-cuerpo-modulo{
    color: var(--darkBlue);
    font-style: italic;
}
.notification-element span{
    word-break: break-word;
}
.notification-element small{
    /*place-self: center;*/
    text-align: center;
    font-size: .8em;
    color: var(--greyText)
}
.notification-element img{
    width: 3em;
    height: 3em;
    border-radius: 50%;
    object-fit: cover;
}
.notifications-options-ver-mas{
    display: block;
    text-align: center;
    font-size: 1.2em;
    color: var(--greyText);
}
/* Loading notificaciones */
.lds-ring {
    width: 30px;
    height: 30px;
    left: 0;
    right: 0;
    bottom: 0;
    margin: auto;
    position: absolute;
    z-index: 100;
}

.lds-ring div {
    box-sizing: border-box;
    display: block;
    position: absolute;
    width: 30px;
    height: 30px;
    border: 4px solid var(--darkBlue);
    border-radius: 50%;
    animation: lds-ring 1.2s cubic-bezier(0.5, 0, 0.5, 1) infinite;
    border-color: var(--darkBlue) transparent transparent transparent;
}
.lds-ring.small{
    width: 20px;
    height: 20px;
}
.lds-ring.small div {
    width: 20px;
    height: 20px;
    border: 3px solid var(--darkBlue);
    border-color: var(--darkBlue) transparent transparent transparent;
}

.lds-ring div:nth-child(1) {
    animation-delay: -0.45s;
}
.lds-ring div:nth-child(2) {
    animation-delay: -0.3s;
}
.lds-ring div:nth-child(3) {
    animation-delay: -0.15s;
}
@keyframes lds-ring {
    0% {
      transform: rotate(0deg);
    }
    100% {
      transform: rotate(360deg);
    }
}
/* header profile section */
.header-photo{
    width: 3.5em;
    height: 3.5em;
    border-radius: 50%;
    object-fit: cover;
}
.profile-header-user{
    position: relative;
}
.header-profile{
    display: flex;
    justify-content: space-between;
    align-items: center;
    cursor: pointer;
}
.header-info-user{
    font-family: 'Suprema Regular';
    font-weight: bold;
    font-size: 1.4em;
    margin-left: .5em;
    position: relative;
}
.info-user-type{
    font-weight: normal;
    color: grey;
}
/* Block user options */
.block-user-options{
    width: 180px;
    height: 80px;
    box-shadow: 0px 4px 4px rgba(0, 0, 0, 0.25);
    position: absolute;
    right: 0;
    border-radius: 2.8em;
    padding: 1.3em;
    visibility: hidden;
    background: white;
}
.block-user-options.show{
    visibility: visible;
    transition: .5s;
}
.block-user-options a{
    padding: .2em;
    height: 25px;
    display: block;
    text-align: right;
    font-weight: normal;
    color: var(--greyText);
    font-family: 'Suprema Regular';
    font-size: 1.4em;
}
.block-user-options a ion-icon{ 
    position: relative;
    top: 3px;
}
.block-user-options a:hover{
    color: black;
}

/* Modales */
.modal{
    position: fixed;    
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.15);
    z-index: 1000;
    display: flex;
    justify-content: center;
    align-items: center;
    visibility: hidden;
    backdrop-filter: blur(2px); 
    z-index: 1001;
}

.modal-wrapper{
    width: 100em;
    background: white;
    border-radius: 2.5em;
    position: absolute;
    padding: 4em;
}
.container-modal-wrapper{
    max-height: 28em;
    overflow-y: auto;
    margin-top: 3em;
    padding-right: 1.5em;
    font-family: 'Suprema Regular';
}
.modal.show{
    visibility: visible;
    animation-duration: .2s;
    animation-name: slidein;
}
.container-modal-wrapper p{
    font-size: 15px;
    /* text-align: center; */
}
.modal-wrapper.medium{
    width: 92%;
}
.modal-wrapper.small{
    width: 35em;
    height: initial;
}
.container-modal-wrapper::-webkit-scrollbar {
    width: 10px;
}
.container-modal-wrapper::-webkit-scrollbar-track {
    background: var(--lightBlue);
    border-radius: 1em;
}
.container-modal-wrapper::-webkit-scrollbar-thumb {
    background: var(--darkBlue);
    border-radius: 1em;
}
.header-modal{
    display: flex;
    justify-content: space-between;
    align-items: center;
}
.header-modal-title{
    font-size: 1.5em;
    font-family: 'Suprema Regular';
    font-weight: bold;
}

.modal-btn-close{
    background: transparent;
    border: none;
    font-size: 2em;
    cursor: pointer;
}

/* Page body */
.page-body{
    padding: 3em 0;
    position: relative;
    top: 120px;
    z-index: 1;
}
/* Bar filter */
.btn-more{
    width: 24px;
    height: 24px;
    border: none;
    cursor: pointer;
    border-radius: 50%;
    background: #FFC145;
    color: #404040;
    margin-left: 1em;
    line-height: .5;
    flex-shrink: 0;
}
.btn-more:hover{
    background: var(--darkBlue);
    color: var(--white);
    transition: .3s;
}

/* Cargar más ajax */
.cargar-mas-text{
    display: block;
    font-size: 1.3em;
    text-align: center;
    color: var(--greyText);
    font-family: 'Suprema Regular';
    height: 20px;
    width: 100%;
    height: 35px;
    background-color: white;
    position: absolute;
    z-index: 1;
}
.news-error{
    font-size: 1.4em;
    text-align: center;
}

/* forms */
.form{
    font-family: 'Suprema Regular';
    font-size: 1.4em;
    position: relative;
}
.form label{
    display: block;    
    margin-top: .5em;
}
.form input[type=text], .form input[type=password], .form input[type=email], .form textarea, .form select{
    width: 100%;
    border-radius: .5em;
    border: 1px solid #939393;
    height: 2.5em;
    padding-left: 1em;
    font-family: 'Suprema Regular';
}
.form input.input-error, .form select.input-error, .form textarea.input-error{
    border: 1px solid #BB4430;
}
.form textarea{
    resize: none;
}
.form input[type=text]::placeholder{
    color: var(--greyText);
}
.field-req{
    color: #BB4430;
}
/* Boton guardar */
.buttons-wrapper{
    display: flex;
    margin-top: 1em;
}
.btn{
    width: 100px;
    height: 35px;
    border: none;
    display: block;
    cursor: pointer;
    margin-top: 1em;
    border-radius: .8em;
    font-weight: bold;
}
.btnSave{    
    color: var(--darkBlue);
    background: var(--lightBlue);
}
.btnCancel{
    background: #FFC145;
    color: #404040;
    margin-left: 1em;
}

.btnSave:hover{
    background: var(--darkBlue);
    color: white;
    transition: .5s;
}
.btnCancel:hover{
    background: #404040;
    color: white;
}

.btn-editar{
    width: 30px;
    height: 30px;
    border: none;
    cursor: pointer;
    background-size: 14px;
    background-position: center;
    background-repeat: no-repeat;
    background-color: transparent;
    background-image: url('../images/edit.svg');
    border-radius: 50%;
    position: relative;
    top: 5px;
}
.btn-editar:hover{
    background-color: var(--lightBlue);
    transition: .3s;
}

button:disabled,
button[disabled]{
  border: 1px solid #999999;
  background-color: #cccccc;
  color: #666666;
  pointer-events: none;

}
input:disabled,
input[disabled]{
  border: 1px solid #999999;
  background-color: #cccccc;
  color: #666666;
  pointer-events: none;

}

.message-error{
    padding: .5em;
    background: #BB4430;
    color: white;
    font-size: 13px;
    margin-top: .5em;
    border-radius: .8em;
    display: inline-block;
    display: none;
}

/* Slider  */
@keyframes slidein {
    from {
      opacity: 0;
    }  
    to {
      opacity: 1;
    }
}

.lds-facebook {
    display: inline-block;
    position: relative;
    width: 28px;
    height: 50px;
    place-self: center;
}
.lds-facebook div {
    display: inline-block;
    position: absolute;
    left: 3px;
    width: 6px;
    background: var(--darkBlue);
    animation: lds-facebook 1.2s cubic-bezier(0, 0.5, 0.5, 1) infinite;
}
.lds-facebook div:nth-child(1) {
    left: 0px;
    animation-delay: -0.24s;
}
.lds-facebook div:nth-child(2) {
    left: 10px;
    animation-delay: -0.12s;
}
.lds-facebook div:nth-child(3) {
    left: 20px;
    animation-delay: 0;
}
@keyframes lds-facebook {
    0% {
        top: 8px;
        height: 64px;
    }
    50%, 100% {
        top: 24px;
        height: 32px;
    }
}

.hidden-small{
    display: none;
}
.hidden-large{
    display: block;
}
@media screen and (min-width:  768px){

    /* .hidden-small{
        display: block;
    } */
    .modal-wrapper.medium{
        width: 70em;
    }
    .header-subtitle-page{
        width: initial;
    }
}
@media screen and (min-width:  1280px){
    h1{
        font-size: 4.4em;
    }
    .main{
        display: grid;
        grid-template-columns: 22em 1fr;
        height: 100vh;
    }
    .menu-left{
        border-right: 1px solid #EBEBEB;
        padding: 4em 2em;
    }
    .page-main{
        position: fixed;
        margin-left: 220px; 
        width: calc(100% - 220px);
        padding: 0 4em;
        height: 100vh;
        top: initial;
    }

    .page-header{
        left: 220px;
        width: calc(100% - 220px);
    }
    /* header */
    .header-title{
        padding: 1em 3em;
    }
    .header-logout{
        display: flex;
    }

    /* Menu */
    .btn-menu{
        display: none;
    }

    .main-menu{
        display: block;
        width: 170px;
        font-size: 1.3em;
        margin-top: 2em;
        padding: 0;
        position: initial;
    }

    .menu-left {
        border-right: 1px solid #EBEBEB;
        padding: 4em 2em;
        position: fixed;
        width: 220px;
        display: initial;
        height: initial;
    }

    .page-body{
        padding: 0;
    }
    .hidden-small{
        display: block;
    }
    .hidden-large{
        display: none;
    }
    .nombre-empresa{
        margin-top: 2em;
        font-size: 1.3em;
    }

}