a{
  color: #0577b1;
  text-decoration: none;
  border-bottom: 1px dotted #0577b1;
}

a:hover, a:active{
  color: #001a57;
  border-bottom: 1px solid #001a57;
}

@media screen and (max-device-width: 480px) {
  a{
    text-decoration: none;
    border-bottom: 4px dotted #0577b1;
  }

  a:hover, a:active{
    border-bottom: 4px solid #001a57;
  }
}

h1, h2, h3, h4, h5{
  margin: 0; 
  font-weight: normal;
  font-family: Georgia, serif;
  color: #001a57;
}

h1{
  font-size: 170%;
  line-height: 175%;
}

h1 img{
  height: 20px;
}

h2{
  color: #666;
  font-family: "Open Sans", sans-serif;
  font-size: 130%;
}

h4{
  color: #666;
  font-family: "Open Sans", sans-serif;
  font-weight: bold;
}

body{
  margin: 0;
  padding: 0;
  font-family: "Open Sans", sans-serif;
  color: #666;
}

#header{background: #001a57;}

#header{padding: 25px 40px 17px 40px}

#main{padding: 10px 40px 17px 40px}

img#dukelogo{
  height: 50px;
}

#pagetitle{
  display: inline;
  color: #ffd960;
  margin-left: 0.4em;
  font-size: 2.4em;
}

.smaller{
  font-size: 90%;
}

#footer{
  margin-top: 17px;
  padding-top: 10px;
  border-top: 1px solid #d1d1d1;
}

@media screen and (max-width: 480px) {
  #header, #main{padding: 10px}
}

@media screen and (max-device-width: 480px){
  img#dukelogo{height: 100px;}
  #pagetitle{font-size: 5em;}
  #main{padding-top: 2em;}
  #footer{
    font-size: 2.5em;
    margin-top: 1em;
  }
}

.error{
  color: #cc3300;
  font-weight: bold;
  margin-bottom: 1em;
}

.tooltip i.fa{
    position: relative;
    display: inline-block;
}

i.tooltip{
  color: #cc3300;
  font-size: 1.3em;
  padding-left: 5px;
}

.tooltip .tooltip-text {
    font-family: "Open Sans", sans-serif;
    visibility: hidden;
  	background-color: #fff;
  	box-shadow: 1px 1px 8px 1px rgba(0, 0, 0, 0.31);
  	border: solid 1px #b3b0b0;
    color: #262626;
    padding: 15px;
    border-radius: 6px;
    max-width: 300px;
    line-height: 1.5em;
    position: absolute;
    z-index: 1;
    margin-top: 0.5em;
    font-size: 0.8em;
}

@media screen and (max-device-width: 480px){
  .tooltip .tooltip-text {
      max-width: 100%;
      padding: 1em;
  }
}

.tooltip .hovered{
    visibility: visible;
}

.tooltip-text.clicked{
    visibility: visible;
}

a.tooltip-close{
  float: right;
  font-size: 1.5em;
  margin: 0 0 1em 1em;
  border: none;
}

button.action{
  font-family: "Open Sans", sans-serif;
  margin-top: 1em;
  width: 100%;
  background: #001a57;
  color: #f7f7f7;
  border: 1px solid #b3b0b0;
  border-radius: 5px;
  padding: 0.5em;
  font-size: 110%;
}

button.action .fa, button.passive .fa{
  color: #0577b1;
  width: 2em;
}

button.passive{
  font-family: "Open Sans", sans-serif;
  margin-top: 1em;
  width: 100%;
  background: #fff;
  border: 2px solid #b3b0b0;
  color: #4a4a4a;
  border-radius: 5px;
  padding: 0.5em;
  font-size: 110%;
}

button.action:hover{
  background: #0577b1;
  border: 1px solid #b3b0b0;
}

button.action:hover .fa{
  color: #fff;
}

button.passive:hover{
  color: #4a4a4a;
  background: #d8d8d8;
  border: 2px solid #b3b0b0;
}

button.inline{
  width: 200px;
  display: inline-block;
  margin-right: 1em;
}

@media screen and (max-device-width: 480px) {
  button.action, button.passive, button.inline{
    width: 100%;
    font-size: 3em;
  }

}

input[type="radio"]{
  width: 1em;
  vertical-align: top;
}

@media screen and (max-device-width: 480px){
  
  input[type="radio"]{
    width: 0.75em;;
    height: 0.75em;;
    margin-right: 0.5em;
    margin-top: 0.25em;
    border-radius: 50px;
  }
  
  input[type="checkbox"]{
    width: 0.75em;
    height: 0.75em;
    margin-right: 0.25em;
    vertical-align: center;
  }
}
