.article-title {
  font-size: 52px;
  line-height: 56px;
  margin-bottom: 30px;
  width: 1024px;
}
.dek {
  font-size: 24px;
  line-height: 30px;
  max-width: 1024px;
  padding-top: 30px;
  margin: 0 auto 50px;
}
.section-title {
  display: inline-block;
  font-family: "HaasDisplayBold","Helvetica";
  font-size: 30px;
  color:#ff433d;
  text-align: center;
  background-color: #fff;
  margin: 20px auto;
  padding: 20px 4px 12px 4px;
  border-top: 6px solid #ff433d;
  max-width: 800px;
  margin-top: 30px;
}

.section-text{
  font-family: "HaasText", Arial, Helvetica;
  font-size: 21px;
  line-height: 27px;
  margin: 0 auto;
  max-width: 880px;
  padding-bottom: 20px;
}



#scatter-fixed, #distrubution, #grouped-bars, #button-container, #container{
  margin: 0 auto;
  max-width: 880px;
}

#container{
  max-width: 800px !important;
}
#scatter-fixed{
  margin: 0px auto;
  max-width: 800px !important;
}
#grouped-bars{
  margin-bottom: 40px;
}

#percent-buttons, #type-buttons{
  display: inline-block;
  font-size: 13px;
  line-height: 16px;
  font-family: "BWHaasText-65Medium", Arial, Helvetica;
  margin-top: 30px;
}
#percent-buttons{
  margin-right: 20px;
  padding: 10px 0px;
}
#type-buttons{
  border-left: 1px solid #ccc;
  padding: 10px 0px;
}
#type-buttons > span{
  margin-left: 20px;
}
#percent-buttons span:last-child{
  margin-left: 30px;
}
#percent-buttons > span{
  margin-top: 15px;
}
#type-buttons > span{
  margin-left: 30px;
  margin-top: 15px;
}

@media only screen and (max-width: 700px){ 
  #type-buttons > span{
    margin-left: 25px;
  }

}
@media only screen and (max-width: 482px){ 
  #type-buttons > span{
    margin-left: 25px;
  }
}
@media only screen and (max-width: 378px){ 
  #type-buttons > span{
    margin-left: 15px;
  }
}



.active{
  color: #262626;
  text-decoration: none;
}
.buttonGroupName{
  font-family: "BWHaasText-65Medium", Arial, Helvetica;
  font-size: 18px;
  color: #262626;
  text-align: center;
  margin-bottom: 20px;
  display: block;
  clear: both;
}
.button{
  display: inline-block;
  margin-left: 0px;
  cursor: pointer;
  text-align: center;
  color: darkgrey;
  opacity: 0.3;
  font-weight: bold;
  transition: .15s ease-in;
   -moz-transition: .15s ease-in;
   -webkit-transition: .15s ease-in;
}
.button img{
  margin-bottom: 10px;
}
.button:hover{
  opacity: 1;
  color: #262626;
}
.button.active{
  opacity: 1;
  color: black;
}

.button div{
  max-width: 185px;
}

#jobTT{
  line-height: 24px;
}


#distrubution{
  min-height: 1243px;
}

svg:not(:root){
  overflow: visible;
}

.tooltipped, .tooltipped rect, .tooltipped circle{
  fill: black;
}

.q-option{
  width: calc(33% - 60px);
  height: 160px;
  display: inline-block;
  text-align: center;
  cursor: pointer;
  font-family: "HaasDisplayBold","Helvetica";
  font-size: 21px;
  color: grey;
  padding-top: 10px;
  padding-bottom: 10px;
  margin: 10px;
}
.q-option img {
  opacity: 0.5;
  /*transition: .15s ease-in;
   -moz-transition: .15s ease-in;
   -webkit-transition: .15s ease-in;*/
}
.q-option:hover img {
  opacity: 1;
}
.q-option:hover{
  color: black;
  cursor: pointer;
}
.q-option.wrong{
  color: rgb(204, 204, 204);
  background: url(img/incorrect.png) no-repeat center 95%;
  /*transition: opacity .25s ease-in;
   -moz-transition: opacity .25s ease-in;
   -webkit-transition: opacity .25s ease-in;
  text-decoration: line-through;*/
}
.q-option.wrong img {
  opacity: 0.2;
}
.q-option.correct img{
  opacity: 1;
}
.q-option.correct{
  color: rgb(0, 220, 60);
  background: url(img/correct.png) no-repeat center 95%;
}
.q-option.clicked{
  cursor: auto;
}
.q-option div{
  margin-top: 1em;
}

.q-option div{
  margin-top: 1em;
}


.q-container{
  margin-bottom: 20px;
}


/* MOBILE window less than 568px wide */
@media only screen and (max-width: 1024px) {
  .article-title {
    font-size: 44px;
    line-height: 48px;
    margin-bottom: 20px;
    width: 95%;
  }
  .dek {
    font-size: 21px;
    line-height: 26px;
    width: 95%;
    margin: 20px auto 20px;
    padding-top: 30px;
  }
  .section-title {
    font-size: 27px;
    line-height: 32px;
    margin: 20px auto;
    padding: 14px 4px 8px 4px;
    border-top: 4px solid #ff433d;
    max-width: 95%;
  }
  .section-text{
    font-size: 20px;
    line-height: 24px;
    max-width: 95%;
  }
  #scatter-fixed, #distrubution, #grouped-bars, #button-container, #container{
    max-width: 95%;
  }
  .q-option{
    width: calc(33% - 20px);
    height: 160px;
    font-size: 20px;
    line-height: 22px
    padding-top: 5px;
    padding-bottom: 5px;
    margin: 10px;
    vertical-align: text-top;
  }
  .q-option img{
    height: 46px;
  }
}

@media only screen and (max-width: 927px) {
  #type-buttons{
    border-left: 0px solid #ccc;
    padding: 0px;
  }
  #type-buttons{
    border-left: 0px solid #ccc;
    padding: 0px;
  }
  #type-buttons > span {
    margin: 10px 15px;
  }
}

@media only screen and (max-width: 767px) {
  .article-title {
    font-size: 36px;
    line-height: 40px;
    margin-bottom: 20px;
    width: 95%;
  }
  .dek {
    font-size: 18px;
    line-height: 24px;
    width: 95%;
    margin: 0 auto 20px;
    padding-top: 0px;
  }
  .section-title {
    font-size: 24px;
    line-height: 28px;
    margin: 20px auto;
    padding: 14px 4px 8px 4px;
    border-top: 4px solid #ff433d;
    max-width: 90%;
  }
  .section-text{
    font-size: 18px;
    line-height: 22px;
    max-width: 95%;
  }
  #scatter-fixed, #distrubution, #grouped-bars, #button-container, #container{
    max-width: 95%;
  }
  .q-option{
    width: calc(33% - 20px);
    height: 160px;
    font-size: 18px;
    line-height: 20px
    padding-top: 5px;
    padding-bottom: 5px;
    margin: 10px;
    vertical-align: text-top;
  }
  .q-option img{
    height: 42px;
  }
  #percent-buttons{
    margin: 0px;
    padding: 0px;
  }
  #type-buttons{
    border-left: 0px solid #ccc;
    padding: 0px;
  }
}

@media only screen and (max-width: 430px) {
  .article-title {
    font-size: 32px;
    line-height: 34px;
    margin-bottom: 15px;
    width: 95%;
  }
  .dek {
    font-size: 16px;
    line-height: 22px;
    width: 95%;
    padding-top: 0px;
    margin: 0 auto 20px;
  }
  .section-title {
    font-size: 22px;
    line-height: 26px;
    margin: 20px auto;
    padding: 14px 4px 8px 4px;
    border-top: 4px solid #ff433d;
    max-width: 95%;
  }
  .section-text{
    font-size: 17px;
    line-height: 21px;
    max-width: 95%;
  }
  #scatter-fixed, #distrubution, #grouped-bars, #button-container, #container{
    max-width: 95%;
  }
  .q-option{
    width: calc(33% - 20px);
    height: 160px;
    font-size: 16px;
    line-height: 18px
    padding-top: 5px;
    padding-bottom: 5px;
    margin: 10px;
    vertical-align: text-top;
  }
  .q-option img{
    height: 36px;
  }
  #percent-buttons{
    margin: 0px;
    padding: 0px;
  }
  #type-buttons{
    border-left: 0px solid #ccc;
    padding: 0px;
  }
}