body {
	background-position: center;
  background-attachment: fixed;
  background-repeat: no-repeat;
  background-size: cover;
}

header {
  margin-left: auto;
  margin-right: auto;
  width: 80%;
}

#content-section {
  background-color: white;
  min-width: auto;
  margin-left: auto;
  margin-right: auto;
  width: 60%;
}

#content {
  background-color: white;
  color: darkslategray;
  min-width: auto;
  margin-left: auto;
  margin-right: auto;
  padding: 20px;
  width: 60%;
  height: auto;
  font-size: 20px;
}

h1 {
  font-family: georgia, "Times New Roman", serif;
  color: darkslategray;
  height: 100px;
  font-size: 42px;
}

h2 {
  font-size: 32px;
  text-align: center;
}

h3 {
  font-size: 24px;
}

nav {
  float: none;
  min-width: auto;
  margin-left: auto;
  margin-right: auto;
  width: 60%;
  padding: 0;
}

nav ul {
  text-align: center;
}

nav ul li {
  display: inline-block;
  background-color: #6bd1e2;
  text-align: center;
  padding-top: 0.1em;
  padding-bottom: 0.1em;
  padding-left: 1em;
  padding-right: 1em;
  font-size: 20px;
}

nav a {
  display: block;
	text-decoration: none;
}

nav a:link {
  color: darkslategray;
}

nav a:visited {
  color: darkslategray;
}

nav a:hover {
  color: white;
}

nav a:focus {
	color: white;
}

footer {
  text-align: center;
  color: darkslategray;
  background-color: #6bd1e2;
  min-width: auto;
  margin-left: auto;
  margin-right: auto;
  width: 60%;
  padding: 0;
}

#medTemplate {
  display: none;
}

.labelWidth {
  width: auto;
}

.inline {
  display: inline-block;
}

.tabBlock {
  margin-left: 1em;
  margin-top: 1em;
}

.labelBlock {
  display: inline-block;
  text-align: left;
  width: 60px;
}

body a:link {
  color: darkslategray;
}

body a:visited {
  color: darkslategray;
}

body a:hover {
  color: #f5f5dc;
}

nav a:focus {
	color: #f5f5dc;
}

.classes {
  display: block;
  margin-right: auto;
  margin-left: auto;
}

.splash {
  display: block;
  margin-right: auto;
  margin-left: auto;
  width: 80%;
}

.aboutsplash {
  opacity: 0.5;
  display: block;
  margin-right: auto;
  margin-left: auto;
}

.icon {
  display: block;
  margin-right: auto;
  margin-left: auto;
}

table {
  margin: auto;
  width: 80%;
  color: #000;
}

td {
  padding: 20px;
  background-color: #9e7a3d;
}

th {
  padding: 20px;
  background-color: #000;
}

table a:link {
  color: #9e7a3d;
}

table a:visited {
  color: #a58366;
}

table a:hover {
  color: #f5f5dc;
}

nav a:focus {
	color: #f5f5dc;
}

input[type="button"] {
  width: auto;
  background-color: #6bd1e2;
  border: 3px solid #555;
  color: #000;
}

input[type="text"],
[type="date"],
[type="email"],
[type="password"],
[type="submit"],
[type="datetime-local"] {
  width: auto;
  background-color: #6bd1e2;
  border: 3px solid #555;
  color: #000;
}

button {
  width: auto;
  background-color: #6bd1e2;
  border: 3px solid #555;
  color: #000;
}

textarea {
  background-color: #6bd1e2;
  border: 3px solid #555;
  color: #000;
}

select {
  background-color: #6bd1e2;
  border: 3px solid #555;
  color: #000;
}

label {
  float: left;
  text-align: left;
  width: 150px;
  padding-right: 10px;
}

input,
textarea {
  display: block;
  margin-bottom: 20px;
}

submit {
  margin-left: 130px;
}

@media (max-width: 480px) {
  body {
    background-image: url("../images/pilltakerbg.jpg");
  }
}

@media (max-width: 650px) {
  .classes {
    display: none;
  }

  .confused {
    display: none;
  }

  .aboutsplash {
    width: 80%;
  }

  nav ul li {
    font-size: 20px;
  }
}

@media (max-width: 1670px) {
  nav ul li {
    margin-top: 20px;
    font-size: 22px;
  }

  .splash {
    width: 80%;
	}
}

@media (min-width: 481px) {
  body {
    background-image: url("../images/pilltakerbg.jpg");
  }
}

@media (min-width: 1025px) {
  body {
    background-image: url("../images/pilltakerbg.jpg");
  }
}




.modal {
  display: none; 
  position: fixed; 
  z-index: 1; 
  padding-top: 100px;
  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 {
  position: relative;
  background-color: #fefefe;
  margin: auto;
  padding: 0;
  border: 1px solid #888;
  width: 80%;
  box-shadow: 0 4px 8px 0 rgba(0,0,0,0.2),0 6px 20px 0 rgba(0,0,0,0.19);
  -webkit-animation-name: animatetop;
  -webkit-animation-duration: 0.4s;
  animation-name: animatetop;
  animation-duration: 0.4s
}


@-webkit-keyframes animatetop {
  from {top:-300px; opacity:0} 
  to {top:0; opacity:1}
}

@keyframes animatetop {
  from {top:-300px; opacity:0}
  to {top:0; opacity:1}
}


.close {
  color: white;
  float: right;
  font-size: 28px;
  font-weight: bold;
}

.close:hover,
.close:focus {
  color: #000;
  text-decoration: none;
  cursor: pointer;
}

.modal-header {
  padding: 2px 16px;
  background-color: #6bd1e2;
  color: white;
}

.modal-body {padding: 2px 16px;}

.modal-footer {
  padding: 2px 16px;
  background-color: #6bd1e2;
  color: white;
}


.modal2 {
  display: none; 
  position: fixed; 
  z-index: 1; 
  padding-top: 100px; 
  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-content2 {
  position: relative;
  background-color: #fefefe;
  margin: auto;
  padding: 0;
  border: 1px solid #888;
  
  width: 30%;
  box-shadow: 0 4px 8px 0 rgba(0,0,0,0.2),0 6px 20px 0 rgba(0,0,0,0.19);
  -webkit-animation-name: animatetop;
  -webkit-animation-duration: 0.4s;
  animation-name: animatetop;
  animation-duration: 0.4s
}


@-webkit-keyframes animatetop {
  from {top:-300px; opacity:0} 
  to {top:0; opacity:1}
}

@keyframes animatetop {
  from {top:-300px; opacity:0}
  to {top:0; opacity:1}
}


.close2 {
  color: white;
  float: right;
  font-size: 28px;
  font-weight: bold;
}

.close2:hover,
.close2:focus {
  color: #000;
  text-decoration: none;
  cursor: pointer;
}

.modal-header2 {
  padding: 10px 16px;
  background-color: #6bd1e2;
  color: black;
}

.modal-body2 {padding: 20px 16px;}

.modal-footer2 {
  padding: 10px 16px;
  background-color: #6bd1e2;
  color: white;
}


