label { display: block; }
input, button {
#  -webkit-appearance: none;
  -moz-appearance: none;
  appearance: none;
  font-family: open sans, sans-serif;
  font-size: 16px;
  font-weight: 400;
  margin-top: 1rem;
}
input[type="checkbox"] {
  font-size: 16px;
  font-weight: 400;
  width: initial;
}
input {
  padding: 6px 12px;
  width: 45%;
}
button {
  color: white;
  background-color: #F1592A;
  border-radius: 6px;
  padding: 6px 12px;
}
button:hover,
button:focus {
  outline: none;
  box-shadow: 0 0 0 3px #3BA3BD;
}
button:active {
  box-shadow: inset 0 1px 1px 1px rgba(0,0,0,.4);
}

.form-inline {
  padding: 1.5rem 3rem 3rem;
  background-color: #DDE8EF;
}

#about_ul li {
  margin-left: 20px;
}

p {
  font-size: 1.6rem;
  padding-bottom: 1.0rem;
}

#resultbanner {
	text-align: center;
	margin-left: auto;
	margin-right: auto;
	padding: 0;
}

#showlink {
	text-align: center;
	color: blue;
	text-decoration: underline;
	margin-left: auto;
	margin-right: auto;
	padding: 0;
}
    
/* Navigation Bar */
#nav {
	list-style:none;
	margin:0;
	padding:0;
	text-align:center;
}
#nav li{
	display:inline;
    padding: 10px 16px;
}
#nav a{
	display:inline-block;
	padding:8px;
	text-decoration: none;
}

#nav li a:hover {
	font-weight:bold;
}

.navbar-spacer {
    display: block;
    width: 100%;
    background: #fff;
    border-top: 1px solid #eee;
    border-bottom: 1px solid #eee;
}

/* ------------ Media Queries --------------------------------------- */
/* Mobile */
@media (max-width: 480px) {

    * {
      margin: 0;
      padding: 0;
      border: none;
    }
    
    html { font-size: 62.5%; }

    header {
      position: relative;
      width: 100%;
      padding: 20px 0 10px;
    }

    body {
      margin: 0;
      font-family: open sans, HelveticaNeue, Helvetica Neue, Helvetica, Arial, sans-serif;
      font-size: 1.5em;
      font-weight: 400;
      line-height: 1.6;
      color: #222;
    }

    h1 {
      font-family: Montserrat, helvetica, arial, sans-serif;
      font-size: 2rem;
      font-weight: 700;
      line-height: 6.5rem;
      text-align: center;
    }

	section {
	  position: relative;
	  margin: 20px 0;
	  padding: 0 20px;
	}
	section > * {
	  max-width: 640px;
	  margin: 0 auto;
	}

    .no-mobile {
      display: none
	}

    #fbb {
      display: none
	}

    #resultsTable {
		text-align: center;
		font-family: Allerta;
		color: #125CCA;
		font-size: 3.0rem;
	}

    #resultsTable th {
		text-align: center;
		font-family: Allerta;
		color: gray;
		font-size: 1.5rem;
        border-bottom: 2px solid #125CCA;
    }

    #resultsTable td {
      border-bottom: 1px solid #ddd;
	}

    #resultsTable #score {
		color: gray;
    }
    /* Lookups table */
    #lutable th {
        border-bottom: 2px solid #125CCA;
	}

    #lutable_nresults {
		text-align: right;
	}

    #lutable_score {
		text-align: right;
	}

    #about_yfsample {
		width: 100%;
	}
}

/* Desktops */
@media (min-width: 481px) {

    * {
      margin: 0;
      padding: 0;
      border: none;
    }
    
    html { font-size: 62.5%; }
    
    body {
      margin: 0;
      font-family: open sans, HelveticaNeue, Helvetica Neue, Helvetica, Arial, sans-serif;
      font-size: 1.5em;
      font-weight: 400;
      line-height: 1.6;
      color: #222;
    }
    
    h1 {
      font-family: Montserrat, helvetica, arial, sans-serif;
      font-size: 5rem;
      font-weight: 300;
      line-height: 6.5rem;
      text-align: center;
    }
    h3 {
      font-size: 2rem;
      font-weight: 600;
      line-height: 2.4rem;
      padding-top: 3rem;
      padding-bottom: .5rem;
    }
    h4 {
      font-size: 1.6rem;
      font-weight: 600;
      line-height: 2.6rem;
      padding: 1.4rem 0 1rem;
    }
    a { color: #125CCA; }
    a:hover { color: #3BA3BB; }
    
    header {
      position: relative;
      width: 100%;
      padding: 40px 0 20px;
    }
	section {
	  position: relative;
	  margin: 20px 0;
	  padding: 0 20px;
	}
	section > * {
	  max-width: 640px;
	  margin: 0 auto;
	}
    /*table style from bootstrap*/
    table {
      width: 100%;
      margin-bottom: 20px;
      padding: 1rem 0;
    }
    table th,
    table td {
      padding: 8px;
      line-height: 1.42857143;
      vertical-align: top;
      border-bottom: 1px solid #ddd;
    }
    table > thead > tr > th {
      vertical-align: bottom;
      border-bottom: 2px solid #ddd;
    }
	
    #resultsTable {
		text-align: center;
		font-family: Allerta;
		color: #125CCA;
		font-size: 3.0rem;
	}

    #resultsTable th {
		text-align: center;
		font-family: Allerta;
		color: gray;
        border-bottom: 2px solid #125CCA;
	}

    #resultsTable #score {
		color: gray;
    }
	  /*
    .table-condensed th,
    .table-condensed td {
      padding: 5px;
    }
	*/
    
    .question-list {
      margin-bottom: 2rem;
    }
    .question-list li {
      margin-left: 1.8rem;
    }
    .text-muted {
      font-size: 13px;
      color: #888;
    }

    #about_yfsample {
		max-width: 400px;
        display: block;
        margin-left: auto;
        margin-right: auto
	}
} /* end of Desktop */

