/* ==========================================================================
   RJP Specific styles
   ========================================================================== */
/* Scaffold */
.rjp_container {
  width: 100%;
  overflow: hidden;
  position: relative;
  background-color: #5c5c64;
  margin: 50px 0;
  -webkit-box-shadow: 0px 8px 5px -6px rgba(50,50,50,0.5);
  -moz-box-shadow: 0px 8px 5px -6px rgba(50,50,50,0.5);
  -ms-box-shadow: 0px 8px 5px -6px rgba(50,50,50,0.5);
  -o-box-shadow: 0px 8px 5px -6px rgba(50,50,50,0.5);
  box-shadow: 0px 8px 5px -6px rgba(50,50,50,0.5);
}

.quiz {
  width: 100%;
  min-height: 360px;
  overflow: hidden;
  position: relative;
  z-index: 0;
  color: #fff;
  background-color: #5c5c64; 
}

.contenthidden {
  display: none;
}

/* Navigation */
.rjp-nav {
  position: absolute; 
  bottom: 0; right: 0; 
  text-align: right;
}

.rjp-nav a { 
  text-decoration: none; 
  color: #fff !important; 
  font-size: 16px;
  line-height: 1;
  text-transform: uppercase;
  padding: 10px 20px;
  background-color: #2a2a2f;
  display: block;
}

/* Intro */
.rjp-intro {
  padding: 50px;
  background: #5c5c64;
  background: rgba(92,92,100,0.8);
  background: url(../images/common/grey-bg.png) repeat\9;
  margin-bottom: 80px;
}

.introheading {
  font-size: 22px;
  color: white;
  padding-bottom: 3px;
  border-bottom: 1px solid rgba(255,255,255,0.4)
}

.introtext {
  font-size: 13px;
}

.rjp-intro p {
  margin-bottom: 0;
}

/* Questions */
.rjp-question-table {
  margin-bottom: 0;
}

.rjp-question-table td {
  border: 0;
  padding: 5px;
  text-align: center;
  width: 20%;
}

td.rjp-q-label {
  font-size: 12px;
}

.rjp-q-button {
  display: inline-block;
  cursor: pointer;
  background-color: #5c5c64;
  width: 100%;
  text-align: center;
  font-weight: bold;
}

.rjp-question-table tr {
  background-color: #515159;
}

.rjp-nav a:hover,
.rjp-q-button:hover,
.selected {
  background-color: #8cc63e;
}

.pagetitle {
  font-family: 'GillSansforJLRegular', sans-serif;
  font-size: 24px;
  line-height: 1.2;
  padding-bottom: 20px;
  margin: 50px 50px 20px;
  border-bottom: 1px solid rgba(255,255,255,0.4);
}

.pagetext, .pagequestion {
  padding: 0 50px 30px;
  margin-bottom: 50px;
}

.pagequestiontext {
  font-size: 20px;
  margin-bottom: 20px;
}

.content {
  padding: 50px;
}

.results-title {
  color: white;
  font-size: 26px;
  border-bottom: 1px solid rgba(255,255,255,0.4);
  padding-bottom: 20px;
}

.results-score {
  background-color: #2a2a2f;
  display: inline-block;
  color: white;
  font-weight: bold;
  padding: 7px 10px 5px;
}

@media only screen and (max-width: 600px) {

  .content,
  .rjp-intro {
    padding: 30px;
  }

  .pagetext, .pagequestion {
    padding: 0 30px 30px;
  }

  .pagetitle {
    margin: 30px 30px 20px;
  }


}
