*{
  margin: 0;
  padding: 0;
  font-family: "Roboto";
  box-sizing: border-box;
}
/*.hidden{*/
/*  visibility: hidden;*/
/*  opacity: 0;*/
/*  transition: 0.2s;*/
/*}*/
/*.apparent{*/
/*  visibility: visible;*/
/*  opacity: 1;*/
/*  transition: 0.2s;*/
/*}*/
.clear{
  clear: both;
}
ul{
  list-style: none;
}
#content{
  display: grid;
  grid-template-rows: 70px 1fr;
  grid-template-areas: 
    "header"
    "agenda";
}
header{
  grid-area: "header";
  background: #3AA4C1;
  box-shadow: 0px 2px 5px rgba(0,0,0,0.3);
  padding: 8px 16px;
  position: relative;
}
#content header input[type="text"]{
  width: 100%;
  height: 48px;
  border-radius: 3px;
  border: none;
  padding: 16px;
  margin-top: 3px;
  font-size: 14px;
}
#content header input[type="text"]:focus + input[type="submit"]{
  background: url("../img/arrow-right.png") no-repeat center;
  background-size: 56%;
}
#content header input[type="submit"]{
  position: absolute;
  width: 48px;
  height: 48px;
  background: url("../img/magnify.png") no-repeat center;
  background-size: 60%;
  opacity: 0.5;
  top: 11;
  right: 16;
  border: none;
}
#agenda{
  grid-area: "agenda";
  overflow: scroll;
  align-self: 'stretch';
}
li{
  padding: 16px;
  display: grid;
  grid-template-columns: 70% 30%;
  grid-template-areas: 
    "dados botao";
  width: 100%;
}
#agenda li .dados{
  grid-area: "dados";
}
#agenda li .dados small{
  opacity: 0.5;
}
#agenda li a{
  grid-area: "botao";
  text-decoration: none;
  color: #185896;
  align-self: center;
}


.dark{
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: rgba(0,0,0,0.8);
}
.close{
  display: block;
  width: 24px;
  height: 24px;
  background: url("../img/close.png") no-repeat center;
  text-indent: -9999px;
}

#modal{
  position: absolute;
  top: 3%;
  width: 100%;
  padding: 24px;
  z-index: 3;

}
#modal .content{
  display: block;
  width: 100%;
  background: #F7F7F7;
}
#modal .content header{
  color: #fff;
}
#modal .content header h2{
  margin-top: 40px;
}
#modal .content header small{
  display: block;
  width: 100%;
  opacity: 0.7;
}
#modal .content ul h4{
  margin: 16px 0 0 16px;
  font-size: 14px;
  font-weight: normal;
  opacity: 0.6;
}
#modal .content ul li{
  background: #fff;
  margin-top: 8px;
}
#modal .content ul li h3{
  font-weight: normal;
  margin-bottom: 8px;
}
#modal .content ul li small{
  background: #185896;
  opacity: 1;
  color: #fff;
  padding: 2px 8px;
  border-radius: 16px;
}









