/* 
font-family: 'Montserrat', sans-serif;
font-family: 'Roboto Slab', serif; 
*/


* {
    padding: 0;
    margin: 0;
    box-sizing: border-box;
    text-decoration: none;
}


.wrapper {
    position: relative;
    width: 100%;
    height: 100vh;
    background-color: #401b85;
    font-family: 'Roboto Slab', serif;
}

.title {
    /* font-size: 20px; */
    font-weight: 800;
    text-align: center;
    color: white;
    padding: 16px;
}

.wrapper .eventwrapper {
    margin: auto;
    width: 300px;
    height: calc( 100vh - 30vh);
    background-color: white;
    display: flex;
    flex-direction: column;
    
    overflow-y: scroll;
}

.eventwrapper::-webkit-scrollbar {
    width: 8px;
  }

  /* Track */
.eventwrapper::-webkit-scrollbar-track {
    box-shadow: inset 0 0 5px grey; 
    border-radius: 10px;
  }
   
/* Handle */
.eventwrapper::-webkit-scrollbar-thumb {
    background:  rgb(163, 7, 177); 
    border-radius: 10px;
}

/* Handle on hover */
.eventwrapper::-webkit-scrollbar-thumb:hover {
    background: rgb(223, 40, 240);
}


.wrapper .navbar {
    background-color: rgba(235, 42, 42);
    display: flex;
    margin: auto;
    justify-content: center;
    position: sticky;
    top: 0;
    width: 100%;
    padding: 10px;
    height: 45px;
}

.navbar .new {
    border: 1px solid black;
    border-radius: 5px;
    padding: 0 16px;
    line-height: 22px;
    cursor: pointer;
}

.navbar .new:hover {
    box-shadow: 2px 2px 2px #888888;
    /* box-shadow: 10px 10px 5px #aaaaaa; */
    /* transform: translateX(2px); */
}

.new.click {
    transform: translate(2px, 2px);
}


.eventwrapper .event {
    border: 2px solid black;
    border-radius: 5px;;
    background-color: aqua;
    margin: 8px 4px 4px 8px;
    padding: 4px;
    cursor: default;
}

.event:hover {
    background-color: aquamarine;
}

.event .datetime {
    display: flex;
    justify-content: space-around;
    /* position: relative; */
    /* width: 80%; */
    align-items: center;
}
.datetime .date {
    font-family: 'Montserrat', sans-serif;
    font-weight: 600;
    font-size: 14px;
    padding: 0 8px;
}

.datetime .time {
    font-family: 'Montserrat', sans-serif;
    font-weight: 600;
    font-size: 14px;
    padding: 0 16px;
}

.datetime .menu {
    /* background-color: white;; */
    color: green;
    /* display: block; */
    position: relative;
    /* align-self: flex-end; */
    /* padding: 0; */
    /* right: -26px; */
    /* top: 0px; */
    /* margin-left: auto; */
    list-style: 20px;
    /* font-size: 16px; */
    cursor: pointer;
}

.menu i {
    /* font-size: 20px; */
}


.datetune .menu {
    margin-left: auto;
}
.datetime .menu:hover {
    color: red;
}

.event .nameplace {
    display: flex;
    justify-content: space-around;
}

.nameplace .eventname {
    font-size: 16px;
}

.event .patientname {
    font-weight: 600;
    text-align: center;
}

.event .operationinfo {
    font-size: 12px;
    text-align: center;;
}

.footer {
    /* background-color: black; */
    position: absolute;
    width: 100%;
    bottom: 8px;
    font-size: 10pt;
    text-align: center;
    color: rgb(190, 189, 189)
}

.menu-ul {
    z-index: 2;
    background-color: #002975;
    width: 150px;
    color: rgb(255, 250, 245);
    border-radius: 5px;
    position: fixed;
    outline: 1px solid #000000;
    position: absolute;
    right: 0px;
    top: 10px;
    padding: 5px;
    display: none;
    list-style: none;
    width: 180px;

    transition: all 0.3s ease;
}

.menu:hover .menu-ul {
    display: block;
}

.menu-ul li {
    font-size: 12px;
    padding: 5px;
    /* line-height: 10px; */
    /* height: 30px; */
    display: block;
    justify-items: center;
}

.menu-ul li i {
    font-size: 1.5em;
    /* 20px; */
    padding-right: 10px;
    vertical-align: middle;
}

.menu-ul li:hover {
    background-color: #000000;
    border-radius: 5px;
}



.new-event-dialog {
    padding: 10px;
    background-color: white;
    border: 2px solid black;
    display: flex;
    flex-direction: column;
    width: 250px;
    margin: auto;
    position: absolute;
    z-index: 2;
    top: 30%;
    left: 50%;
    transform: translateX(-50%);
}

.wrapper .new-event-dialog {
  visibility: 0;
  display: none;
  background: pink;
}

.new-event-dialog p {
    text-align: center;
    padding-bottom: 10px;
    font-size: 20px;
    font-weight: 800;;
}
.new-event-dialog .fields {
    font-size: 14px;
    padding: 5px;
    display: flex;
    flex-wrap: wrap;
}

.fields label {
    width: 80px;
    display: inline-block;
    margin: 5px 10px 5px auto;
    text-align: right;
}

.fields input {
    flex-grow: 2;
    /* display: block; */
    width: 100px;
    margin: 5px auto 5px auto;;
}

.new-event-dialog .buttons {
    border-top: 1px solid black;
    padding-top: 10px;
    margin: 10px 10px 4px 10px;
    display: flex;
    justify-content: space-evenly;
}