@import url('https://fonts.googleapis.com/css?family=Poppins:400,500,600,700&display=swap');
*{
  margin: 0;
  padding: 0;
  box-sizing: border-box;
  font-family: 'Poppins', sans-serif;
}
:root{
    --blue: #287bff; 
    --white: #fff;
    --grey: #f5f5f5;
    --black1: #222;
    --black2: #999;
}
body{
    min-height: 100vh;
    overflow-x: hidden;
}
a{
    text-decoration: none;
    color: var(--blue);
}
::-webkit-scrollbar {
    width: 12px;  
}
::-webkit-scrollbar-thumb {
    background: linear-gradient(176deg, rgba(40,123,255,1) 0%, rgba(116,193,255,1) 69%, rgba(40,123,255,1) 100%);  
    opacity: 0.02;
    border-radius: 6px;
}
::-webkit-scrollbar-thumb:hover {
    opacity: 1;
    background: linear-gradient(176deg, rgba(0,98,255,1) 0%, rgba(125,197,255,1) 69%, rgba(0,99,255,1) 100%);}
.container{
    position: relative;
    width: 100%;
}
.navegation{
    position: fixed;
    width: 300px;
    height: 100%;
    background: var(--blue);
    border-left: 10px solid var(--blue);
    transition: 0.5s;
    overflow: hidden;
}
.navegation.active{
    width: 80px;
}
.navegation ul{
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
}
.navegation ul li a .title h2{
    display: inline-block
}

.navegation ul li{
    position: relative;
    width: 100%;
    list-style: none;
    border-top-left-radius: 30px;
    border-bottom-left-radius: 30px;
}
.navegation ul li:hover,
.navegation ul li.hovered{
    background: var(--white);
}
.navegation ul li:nth-child(1){
    margin-bottom: 40px;
    pointer-events: none;
}
.navegation ul li a{
    position: relative;
    display: block;
    width: 100%;
    display: flex;
    text-decoration: none;
    color: var(--white);
}
.navegation ul li:hover a,
.navegation ul li.hovered a{
    color: var(--blue);
}
.navegation ul li a .icon img{
    filter: invert(1);
    display: inline-block;
    width:2em;
    height:2em;
    line-height: 70px;
}
.navegation ul li a .icon{
    position: relative;
    display: block;
    min-width: 60px;
    height: 60px;
    line-height: 70px;
    text-align: center;
}
.navegation ul li a .icon ion-icon{
    font-size: 1.75em;
}

.navegation ul li a .title{
    position: relative;
    display: block;
    width: 100%;
    padding: 0 10px;
    height: 60px;
    line-height: 60px;
    text-align: start;
    white-space: nowrap;
}

.navegation ul li:hover a::before,
.navegation ul li.hovered a::before{
    content: '';
    position: absolute;
    right: 0;
    top: -50px;
    width: 50px;
    height: 50px;
    background: transparent;
    border-radius: 50%;
    box-shadow: 35px 35px 0 10px var(--white);
    pointer-events: none;
}
.navegation ul li:hover a::after,
.navegation ul li.hovered a::after{
    content: '';
    position: absolute;
    right: 0;
    bottom: -50px;
    width: 50px;
    height: 50px;
    background: transparent;
    border-radius: 50%;
    box-shadow: 35px -35px 0 10px var(--white);
    pointer-events: none;
}
.main{
    position: absolute;
    width: calc(100% - 300px);
    left: 300px;
    min-height: 100vh;
    background: var(--white);
    transition: 0.5s;
}
.main.active{
    width: calc(100% - 80px);
    left: 80px;
}
.topbar{
    width: 100%;
    height: 60px;
    padding:0 10px;
    display: flex;
    justify-content: space-between;
    align-items: center;
}
.toggle{
    position: relative;
    top: 0;
    width: 60px;
    height: 60px; 
    display: flex;
    justify-content: center;
    align-items: center;
    font-size: 2.5em;
    cursor: pointer;  
}
.search{
    position: relative;
    width: 400px;
    top: 0.5em;
    margin: 0 10px;
}
.search label{
    position: relative;
    width: 100%;
}
.search label input{
    width: 100%;
    height: 40px;
    border-radius: 40px;
    padding: 5px 20px;
    padding-left: 35px;
    font-size:18px;
    outline: none;
    border: 1px solid var(--black2);
}
.search label ion-icon{
    position: absolute;
    top: 0px;
    left: 10px;
    font-size: 1.2em;
}

.user{
    position: relative;
    width: 40px;
    height: 40px;
    border-radius: 50%;
    overflow: hidden;
    cursor: pointer;
}

.user:hover{
    box-shadow: 0 0 0 0 rgba(40, 123, 255, 1);
	transform: scale(1);
	animation: pulse 2s infinite;
}

@keyframes pulse {
	0% {
		transform: scale(0.95);
		box-shadow: 0 0 0 0 rgba(40, 123, 255, 0.7);
	}

	70% {
		transform: scale(1);
		box-shadow: 0 0 0 10px rgba(0, 0, 0, 0);
	}

	100% {
		transform: scale(0.95);
		box-shadow: 0 0 0 0 rgba(0, 0, 0, 0);
	}
}

.user img{
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
}
.cardBox{
    position: relative;
    width: 100%;
    padding: 20px;
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    grid-gap: 30px;
}
.cardBox .card{
    position: relative;
    background: --var(--white);
    width: 100%;
    padding: 30px;
    border-radius: 20px;
    box-shadow: 0 7px 25px rgba(0, 0, 0, 0.08);
    display: flex;
    justify-content: space-between;
    cursor: pointer;
}
.cardBox .card .numbers{
    position: relative;
    font-size: 2em;
    font-weight: 500;
    color: var(--blue);
}
.cardBox .card .cardName{
    color: var(--black2);
    font-size: 1.1em;
    margin-top: 5px;
}
.cardBox .card .iconBox{
    font-size: 3.5em;
    color: var(--black2);
}
.cardBox .card:hover{
    background: var(--blue);
    color: var(--white);
}
.cardBox .card:hover .numbers,
.cardBox .card:hover .cardName,
.cardBox .card:hover .iconBox{
    color: var(--white);
}

.infoheader{
    position: relative;
    width: 100%;
    padding: 20px;
    height: 100%;
    display: grid;
    grid-gap: 30px;
    grid-template-columns: 1fr 2fr;
    min-height: 200px;
}

.infoheader .caja{
    position: relative;
    background: var(--white);
    padding: 20px;
    box-shadow: 0 7px 25px rgba(0, 0, 0, 0.08);
    border-radius: 20px;
    display: flex;
    width: 99%;
    flex-direction: column;
    justify-content: flex-start;
}

.infoheader .caja p{
    margin-top: 5px;
}

.details{
    position: relative;
    width: 100%;
    padding: 20px;
    padding-top: 0;
    display: grid;
    grid-gap: 30px;
    grid-template-columns: 2fr 1fr;
 /*    margin-top:10px */
}
.details .recentCitas{
    position: relative;
    display: grid;
    min-height: 500px;
    background: var(--white);
    padding: 20px;
    box-shadow: 0 7px 25px rgb(0 0 0 / 8%);
    border-radius: 20px;
    height: max-content;
    width: inherit;
}
.cardHeader{
    display: flex;
    justify-content: space-between;
    align-items: flex-start;
}
.cardHeader h2{
    font-weight: 600;
    color: var(--blue);
}
.btn{

    color: var(--white);
}
.btnblue{
    position: relative;
    padding: 5px 10px;
    background:  var(--blue);
    color: var(--white);
    text-decoration: none;
    border-radius: 6px;
}
.btnMas{
    position: relative;
    padding: 5px 10px;
    background: var(--white);
    color: var(--blue);
    border: 1px solid var(--blue);
    text-decoration: none;
    border-radius: 6px;
}
.details table{
    width: 100%;
    border-collapse: collapse;
    margin-top: 10px;  
}
.details table thead td{
    font-weight: 600;
}
.details .recentCitas table tr{
    color: var(--black1);
    border-bottom: 1px solid  rgba(0, 0, 0, 0.1);
}
.details .recentCitas table tbody tr:last-child{
    border-bottom: none;
}
.details .recentCitas table tbody tr:hover{
   background:var(--blue);
   color: var(--white);
}
.details .recentCitas table tbody tr td{
    padding: 9px 5px;
}
.details .recentCitas table thead tr td:last-child,
.details .recentCitas table tbody tr td:last-child{
    text-align: right;
}
.details .recentCitas table thead tr td:nth-child(2),
.details .recentCitas table tbody tr td:nth-child(2){
    text-align: right;
    padding-right: 20px;
}
.details .recentCitas table thead tr td:nth-child(3),
.details .recentCitas table tbody tr td:nth-child(3){
    text-align: center;
}
.status{
    position: relative;
    padding: 2px 4px;
    color: #fff;
    border-radius: 4px;
    font-size: 14px;
    font-weight: 300;
    letter-spacing: 1px;
}
.Realizado{
    background: #8de02c;
}
.Pendiente{
    background: #f9ca3f;
}
.Cancelado{
    background: #f00;
}
.Enprogreso{
    background: #1795c9;
}
.details .recentUsuarios{
    position: relative;
    display: grid;
    min-height: 500px;
    background: var(--white);
    padding: 20px;
    box-shadow: 0 7px 25px rgba(0, 0, 0, 0.08);
    border-radius: 20px;
    display: flex;
    flex-direction: column;
    min-height: 0;
}
.details .recentUsuarios .imgBx{
    position: relative;
    width: 40px;
    height:40px;
    border-radius: 50%;
    overflow: hidden;
}
.details .recentUsuarios .imgBx img{
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
}
.details .recentUsuarios table tr td h4 span{
    font-size: 14px;
    color: var(--black2);
}
.details .recentUsuarios table tr:hover td h4 span,
.details .recentUsuarios table tr:hover{
    background: var(--blue);
    color: var(--white);
}
.details .recentUsuarios table tr td{
    padding: 12px 10px;
}
.details .recentUsuarios table tr td h4{
    font-size: 16px;
    font-weight: 500;
    line-height: 1.2em;
}

.fc-direction-ltr .fc-toolbar > * > :not(:first-child) {
    margin-left: 0.75em;
    margin-top: 12px;
}

.fc .fc-toolbar-title {
    font-size: 1.75em;
    margin: 8px;
}

.swal2-styled.swal2-confirm{
    background: none;
}

#fc-dom-1{
    margin: 8px;
}

.fc-addEventButton-button .fc-button .fc-button-primary{
    background-color: var(--blue);
    border-color: var(--blue);
}

#noticias{
    overflow: scroll;
    display: flex;
    flex-direction: column;
    justify-content: space-evenly;
}

article{
    margin: 1em;
}

.titulonoticia{
    font-weight: bold;
}
.subtitulonoticia{
    font-style: italic;
}

.titulonoticas{
    font-weight: bold;
    font-size: x-large;
}


.btnblue:hover{
    background: var(--black1);
}

.btnMas:hover{
    background: var(--black1);
    color: var(--grey)
}
/*btnCita centrar een el contendor vertical y horizontal*/
.btnCita{
    display: flex;
    justify-content: center;
    align-items: center;
    width: 100%;
    margin-top: 1em;
    padding: 4em 4em;
    background:  var(--blue);
    color: var(--white);
    text-decoration: none;
    border-radius: 6px;
    font-size: xx-large;
    font-weight: 400;
    text-align: center;
}


.btnCita:hover{
    background: #2269dd;
}

@media (max-width:1910px){

    .infoheader .caja{
        display: flex;
        width: 99%;
        flex-direction: column;
        justify-content: space-evenly;
        justify-content: flex-start;
    }
    
}

@media (max-width:1400px){
    .cardBox {
        grid-template-columns: repeat(2, 1fr);
    }
    
}

@media (max-width: 992px){
    .infoheader{
        grid-template-columns: 1fr;
        height: auto;
    }
    .navegation{
        left: -300px;
    }
    .navegation.active{
        left: 0;
        width: 300px;
    }
    .main {
        width: 100%;
        left: 0;
    }
    .main.active{
      /*   width: calc(100% - 300px); */
        left: 300px;
    }
    .cardBox{
        grid-template-columns: repeat(2,1fr);
    }
}
@media (max-width: 768px){
    .infoheader{
        grid-template-columns: 1fr;
        height: auto;
    }
    .infoheader .caja {
        width: 95%;
    }
    .details{
        grid-template-columns: repeat(1,1fr);
    }
    .recentCitas{
        overflow-x: auto;
    }
    .status.enprogreso{
        white-space: nowrap;
    }
    ::-webkit-scrollbar{
        display: none;
    }
}
@media (max-width: 480px){
    .infoheader{
        grid-template-columns: 1fr;
        height: auto;
    }
    .infoheader .caja {
        width: 90%;
    }
    .cardBox{
        grid-template-columns: repeat(1,1fr);
    }
    .cardHeader h2{
        font-size: 20px;
    }
    .user{
        min-width: 40px;
    }
    .navegation{
        width: 100%;
        left: -100%;
        z-index: 1000;
    }
    .navegation.active{
        width: 100%;
        left: 0;
    }
    .toggle{
        z-index: 10001;
    }
    .main.active .toggle{
        position: fixed;
        right: 0;
        left: initial;
        color: var(--white)
    }
	
}

@media (max-width: 480px){

    .user {
        position: relative;
        width: 70px;
        height: 50px;
        border-radius: 50%;
        overflow: hidden;
        cursor: pointer;
    }
    .infoheader .caja {
    	width: 64%;
    }

}

@media (max-width: 375px){

    .user {
        position: relative;
        width: 80px;
        height: 50px;
        border-radius: 50%;
        overflow: hidden;
        cursor: pointer;
    }
}

@media (max-width: 320px){

    .user {
        position: relative;
        width: 110px;
        height: 52px;
        left: 38px;
        border-radius: 50%;
        overflow: hidden;
        cursor: pointer;
    }
    .swal2-container.swal2-center>.swal2-popup {
        grid-column: 2;
        grid-row: 2;
        align-self: center;
        justify-self: center;
        width: 80%;
        left: -14px;
    }

}
