/* basic normal setting */
html, body, div, span, applet, object, iframe, h1, h2, h3, h4, h5, h6, p, blockquote, pre, a, abbr, acronym, address, big, cite, code, del, dfn, em, img, ins, kbd, q, s, samp, small, strike, strong, sub, sup, tt, var, b, u, i, center, dl, dt, dd, ol, ul, li, fieldset, form, label, legend, table, caption, tbody, tfoot, thead, tr, th, td, article, aside, canvas, details, embed, figure, figcaption, footer, header, hgroup, menu, nav, output, ruby, section, summary, time, mark, audio, video, hr {
  margin: 0;
  padding: 0;
  border: 0
}

html {
  box-sizing: border-box
}

body {
  background-color: hsl(0, 0%, 100%);
  background-color: var(--color-bg, white)
}

article, aside, details, figcaption, figure, footer, header, hgroup, menu, nav, section, main, form legend {
  display: block
}

ol, ul {
  list-style: none
}

/* page background */
.custom-body-color {
  background-image: -moz-linear-gradient( 110deg, #C1ECFA 20%,#719CAA 100%);
  background-image: -webkit-linear-gradient( 110deg, #C1ECFA 20%,#719CAA 100%);
  background-image: -ms-linear-gradient(110deg, #C1ECFA 20%,#719CAA 100%);
  background-image: linear-gradient( 110deg, #C1ECFA 20%,#719CAA 100%);
  background-attachment: fixed;
  font-family: 'Rubik', sans-serif; 
}
.custom-logo{
  font-weight: bold;
  color:white;
  font-size: 1.2em;
}

/* navbar custom style */ 
.nav-menu{
  background-color: #C1ECFA;
  background: -moz-linear-gradient(110deg, #C1ECFA 20%,#719CAA 100%);
  background: -webkit-linear-gradient(110deg, #C1ECFA 20%,#719CAA 100%);
  background: linear-gradient(110deg, #C1ECFA 20%,#719CAA 100%);
  -webkit-box-shadow: 0px 5px 15px 0px rgba(0, 0, 0, 0.1);
  -moz-box-shadow: 0px 5px 15px 0px rgba(0, 0, 0, 0.1);
  box-shadow: 0px 5px 23px 0px rgba(0, 0, 0, 0.1);
}
.navbar-nav .nav-link {
  position: relative;
  text-decoration: none;
}
.navbar-expand-lg .navbar-nav .nav-link {
  padding-right: 1rem;
  padding-left: 1rem;
  font-size: 14px;
}
.navbar-nav>.nav-item>.nav-link.active:after {
  content: "";
  border-bottom: 3px solid #53727c;
  left: 1rem;
  right: 1rem;
  bottom: 5px;
  height: 1px;
  position: absolute;
}
.navbar-nav .nav-item {
  text-align: center;
}
#cal-wrap {
  justify-content: center;
  position: flex;
  padding: 0px 25px;
}

/* style of day view structure */
.dayview-container {
    position: relative;
    display: flex;
    overflow: hidden;
    align-items: stretch;
    border-left: #70757a 1px solid;
  }
  .dayview-timestrings-container {
    height: auto;
    overflow-y: hidden;
    flex: none;
    display: flex;
    align-items: flex-start;
    min-width: 40px;
  }
  .dayview-timestring-container {
    height: 40px;
    position: relative;
    padding-inline-end: 8px;
    text-align: right;
  }
  .dayview-timestring-container:first-child .dayview-timestring {
    display: none;
  }
  .dayview-timestring {
    display: block;
    color: #70757a;
    font-size: 15px;
    position: relative;
    top: -6px;
  }
  .dayview-timestrings {
    position: relative;
    box-sizing: border-box;
    margin-left: auto;
  }
  .dayview-grid-container {
    flex: 1 1 0;
    overflow-x: auto;
    overflow-y: auto;
    margin-bottom: 15px;
    display: flex;
    align-items: flex-start;
  }
  .dayview-grid {
    border-bottom: #70757a 1px solid;
    position: relative;
    min-width: 100%;
    flex: none;
    display: inline-flex;
    vertical-align: top;
  }
  .dayview-grid-tiles {
    z-index: 1;
    border-top: #70757a 1px solid;
  }
  .dayview-grid-tile {
    height: 40px;
  }
  .dayview-grid-tile:after {
    content: "";
    border-bottom: #70757a 1px solid;
    position: absolute;
    width: 100%;
    margin-top: -1px;
    z-index: 3;
    pointer-events: none;
  }
  .dayview-grid-marker-start,
  .dayview-grid-marker-end {
    width: 8px;
    border-inline-end: #70757a 1px solid;
  }
  .dayview-grid-marker-end {
    position: absolute;
    left: 0;
    top: 0;
    bottom: 0;
  }
  .dayview-gridcell-container {
    position: relative;
    padding: 0 12px;
    box-sizing: border-box;
    flex: 1 0 auto;
    width: 129px;
    min-width: 129px;
    border-right: #70757a 1px solid;
    overflow: visible;
  }
  .dayview-gridcell {
    grid-column-gap: 3px;
    z-index: 2;
    position: relative;
    height: 100%;
    width: 100%;
    display: grid;
    grid-template-rows: repeat(96, 10px);
    /* grid-template-columns: fit-content(100%); */
  }

  /* red line style*/
  .dayview-now-marker {
    position: absolute;
    z-index: 504;
    border-top: #ea4335 solid 2px;
    right: 8px;
    left: 0;
    pointer-events: none;
  }
  .dayview-now-marker:after {
    background: #ea4335;
    border-radius: 50%;
    content: "";
    position: absolute;
    height: 12px;
    margin-inline-start: -6.5px;
    margin-top: -5px;
    width: 12px;
  }

  /* display format for time block of each event */
  .dayview-cell {
    z-index: 2;
    border-radius: 5px;
    /* border: 1px solid darkred; */
    background-color: #53727c;
    padding: 0 3px;
  }
  .dayview-cell {
    padding: 3px;
    color: white;
    font-size: 12px;
    display: flex;
  }
  .dayview-cell:not(.dayview-cell-extended) .dayview-cell-title:after {
    content: ",";
    margin-inline-end: 4px;
  }
  .dayview-cell-time:after{
    content: ",";
    margin-inline-end: 4px;
  }
  .dayview-cell-extended {
    display: block;
  }
  .dayview-cell-title,
  .dayview-cell-desc {
    white-space: normal;
    overflow-wrap: break-word;
    word-wrap: break-word;
  }

  /* style of buttons on top left */
  #header-btns{
    display:flex;
  }
  .headerBtns{
    background: #faf8f5;
    margin-left: 10px;
    padding: 9px;
    width: 14%;
    box-shadow: -1px 0px 1px #719caa;
    font-weight: bold;
    letter-spacing: 1px;
    color: #719caa;
  }
  
  .headerBtns:hover{
    color: #faf8f5;
    background: #719caa;
  }
  
  /* style of Month/Year/Day Selection */
  #cal-date { 
    display: flex; 
  }
  #cal-mth, #cal-yr, #cal-day {
    margin-top: 1em;
    box-sizing: border-box;
    padding: 10px 20px;
    font-size: 1em;
    border: 0;
    color: #fff;
    width: 45%;
    font-weight: bold;
  }
  #cal-mth, #cal-yr, #cal-day { 
    background: #53727c; 
  }

  /* style of pop up for Notepad */
  .modal{
    position: fixed;
    top: 0;
    left: 0;
    z-index: 10;
  
    display: none;
    justify-content: center;
    align-items: center;
  
    width: 100%;
    height: 100%;
    /* --m-background is set as inline style */
    background: var(--m-background);
  
  }

  #notepadHeader{
    font-family: 'Shadows Into Light', cursive;
    text-align: left;
    font-size:2.5rem;
    width: 100%;
    height: 50px;
    background: #afd0db;
    border-radius: 5px 5px 0 0;
    margin: 0px;
  }
  
  #notepadText{
    height:400px;
    width: 100%;
    height: 100%;
    min-height: 60vh;
    background: repeating-linear-gradient(#faf8f5, #faf8f5 31px, #94ACD4 31px, #94ACD4 32px);
    font-family: 'Shadows Into Light', cursive;
    line-height: 32px;
    outline: 0;
    font-size: 22px;
  }

  #notepadModal{
    padding: 0px;
    position: absolute;
    height: 100%;
    width: 70%;
    margin-left: 425px;
    margin-top: 250px;
    margin-bottom: 0px;
    margin-right: 0px;
  }

  #notepad-content{
    width: 80%;
    max-width: 600px;
    box-shadow: 10px 10px 40px rgba(black, .15);
    border-radius: 10px;
    padding:3px;
    position: relative;
    overflow: hidden;
  }

  #notepadClose{
    margin: 0;
    box-shadow: none;
  
    width: 4rem;
    height: 4rem;
    border: 1px solid hsla(0, 0%, 100%, .4);
    border-radius: 100rem;
  
    color: inherit;
    font-size: 2.2rem;
  
    position: absolute;
    top: 2rem;
    right: 2rem;
  
    display: flex;
    justify-content: center;
    align-items: center;
    cursor: pointer;
  
    transition: .2s;
  }
  
 a{
   text-decoration: none;
 }