

/* rules for pages with print out of contact data like the view patient page and view user page */
.contactData { 
  padding-top: 0.2em; 
  padding-bottom: 0.2em;
}



/* body {
    display: grid;
    grid-template-columns: 1fr,1fr,1fr, 1fr;
    grid-template-rows: repeat(10, 1fr);
} */


/*  here be the css variables */


/* font-family: 'Bitter', serif;  */

.dayStartDrop, .dayEndDrop {         
  max-height: 200px;
  overflow-y: auto;
}
.minuteDrop {         
  max-height: 300px;
  overflow-y: auto;
}
.hourDrop {         
  max-height: 300px;
  overflow-y: auto;
}
/* .modal { */
  /* display: none; */
  /* position: fixed; */
  /* z-index: 8; */
  /* left: 0; */
  /* top: 0; */
  /* width: 100%; */
  /* height: 100%; */
  /* overflow: auto; */
  /* background-color: rgb(0, 0, 0); */
  /* background-color: rgba(0, 0, 0, 0.4); */
/* } */
/* .modal-content {
  margin: 50px auto;
  border: 1px solid #999;
  width: 60%;
} */
/* h2, */
/* p { */
  /* margin: 0 0 20px; */
  /* font-weight: 400; */
  /* color: #999; */
/* } */
span {
  /* color: #666; */
  display: block;
  padding: 0 0 5px;
}
.popForm {
  padding: 25px;
  margin: 25px;
  box-shadow: 0 2px 5px #f5f5f5;
  background: #eee;
  box-sizing: border-box;
  font-family: 'Source Sans Pro';
  font-weight: 400;
  line-height: 1.5;
  color: #212529;
  text-align: left;
  font-size: 1rem;
}
/* form { */
  /* padding: 25px; */
  /* margin: 25px; */
  /* box-shadow: 0 2px 5px #f5f5f5; */
  /* background: #eee; */
/* } */
input, textarea {
  width: 90%;
  padding: 10px;
  /* margin-bottom: 20px; */
  border: 1px solid #1c87c9;
  outline: none;
}
/* i removed margin-bottom above because it made form inputs look bad. big space between input an hint.see login */
.contact-form button {
  width: 100%;
  padding: 10px;
  border: none;
  background: #1c87c9;
  font-size: 16px;
  font-weight: 400;
  color: #fff;
}
button:hover {
  background: #2371a0;
}
.close {
  color: #aaa;
  float: right;
  font-size: 28px;
  font-weight: bold;
}
.close:hover,
.close:focus {
  color: black;
  text-decoration: none;
  cursor: pointer;
}
button.button {
  background: none;
  border-top: none;
  outline: none;
  border-right: none;
  border-left: none;
  border-bottom: #02274a 1px solid;
  padding: 0 0 3px 0;
  font-size: 16px;
  cursor: pointer;
}
button.button:hover {
  border-bottom: #a99567 1px solid;
  color: #a99567;
}



h1,h2,h3 {
  font-family : 'Bitter';
  font-weight : 400;
}

body, p {
  /* font-family : 'Source Sans Pro'; STOPPED - bs form seletors didnt get fonts FIX */
  font-weight : 400;
}


#body{
  display: grid;
  grid-template-columns: repeat(12, 1fr);
  grid-auto-rows: minmax(10px, auto);
  grid-gap: 0px;
  max-width: 960px;
  margin: 0 auto;
  position:relative;
}



/* #content > *{
  background: #3bbced;
  padding: 10px;
}
/* this could become annoying, as it sets padding for all. in .sidebar case style has to be set inline in html */

.header{
  grid-column: 1 / 13;
  grid-row: 1;
  background: #3bbced;
  /* position: sticky;
  top: 0; */
  padding: 10px;
}

.addEvent{
  position: fixed;
  bottom: 20px;
  right: 10px;
  border: 1px solid white;
  border-radius: 5px;
  padding: 10px;
  padding-bottom: 20;
  padding-top: 20;
  background: white;
}
.myNav {
  display: grid;
  grid-template-columns: repeat(6, 1fr);
  grid-template-rows: repeat(4, 1fr);
  grid-column: 1 / 13;
  grid-row: 2;
  background: rgba(255, 255, 255, 1);
  position: sticky;
  top: 0;
  padding: 10px;
  z-index: 2;
}

.date {
  grid-column: 3/6;
  grid-row: 1/5;
  text-align: center;
}
.day {
  margin: 0;
}

.dateStamp {
  font-size: 0.8em;
  font-weight: 500;
}

#prev{
 grid-column: 2;
 grid-row: 3;
 text-align: center;
}
#next{
  grid-column: 6;
  grid-row: 3;
  text-align: center;
 }
 
#menuIcon {
  grid-column: 1;
  grid-row: 3;
  text-align: center;
  padding: 5px;
}

/* .title {
  position: sticky;
} */


/* CSS RESET */
p {
  padding: 0px;
  margin: 0px;
  /* white-space: nowrap; */
  overflow: hidden;
  text-overflow: ellipsis;
  /* border: 1px solid grey; */
}
.content { 
    display:grid;
    grid-column: 2 / 12;
    grid-row-start: 4;
    grid-row-end: 5;
}
#calendar{
  grid-template-columns: repeat(5, 1fr);
  column-gap: 0.5em;
  /* row-gap: 0.5em; */
  grid-template-rows: repeat(1440, minmax(0px, 4px));
  /* grid-template-rows: repeat(1440, minmax(1px, 2px)); */
  padding: 10px;
  grid-column: 1/13;
}

.hoursContainer {
    border-right: 1px solid grey;
    border-top: 1px solid grey;
    /* max-width: 100%; */
    /* max-height: 100%; */
    padding: 0px;
    margin: 0px;
  }

  .eventContainer {
    display: grid;
    grid-template-columns: repeat(12, 1fr);
    grid-template-rows: repeat(4, 1fr);
    border: 1px solid grey;
    border-radius: 5px;
    padding: 2px;
    /* max-width: 100%; */
    /* max-height: 100%; */
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
    /* box-shadow: 0px 2px 8px #888888; */
    margin: 1px;
  }

.eventContainerApptSearch {
  grid-template-rows: repeat(2, 1fr);
}
.eventStartTime {
  grid-column: 1/3;
  grid-row: 1/4;
  font-size: 0.8em;
  /* text-align: left; */
  padding-left: 0.2em;
}
.eventEndTime {
  grid-column: 1/3;
  grid-row: 5;
  font-size: 0.8em;
  padding-left: 0.2em;
}
.eventTitle {
  grid-column: 4/10;
  grid-row: 1;
  font-size: 0.95em;
  font-weight: 800;
  text-align: center;
  /* align-items: center; */
}
.eventDesc {
  grid-column: 4/10;
  grid-row: 2;
  font-size: 0.8em;
  text-align: center;
  /* font-weight: 800; */
}
.editIcon{
  grid-column: 12;
  grid-row: 1;
  text-align: center;
}

.editIcon[edit="0"] {
  display: none;
}

.deleteIcon{
  grid-column: 11;
  grid-row: 1;
  text-align: center;
}

.deleteIcon[edit="0"] {
  display: none;
}


.sidenav {
  height: 100%;
  width: 0;
  position: fixed;
  z-index: 3;
  top: 0;
  left: 0;
  background-color: rgb(78, 78, 78);
  overflow-x: hidden;
  transition: 0.7s;
  /* padding-top: 60px; */
  /* padding: 0; */
  /* display: none; */
}
/* a note for .sidebar : 
there is styles for padding set inline in the html as it has greater specificty to over rule the padding set in #content
*/
.sidenav a {
  padding: 8px 8px 8px 32px;
  text-decoration: none;
  font-size: 1.5em;
  color: #afafaf;
  display: block;
  transition: 0.5s;
}

.sidenav a:hover {
  color: #f1f1f1;
}

.sidenav .closebtn {
  position: absolute;
  top: 0;
  right: 25px;
  font-size: 36px;
  margin-left: 50px;
}



