html {
  font-family: 'ToyotaType Light', "ToyotaType", sans-serif;
  -webkit-text-size-adjust: 100%;
  -ms-text-size-adjust: 100%;
}

@font-face {
  font-family: 'ToyotaType';
  src: url("../fonts/ToyotaType-Regular.woff2") format("woff2"), url("../fonts/ToyotaType-Regular.ttf") format("truetype");
  font-weight: normal;
  font-style: normal;
}

@font-face {
  font-family: "ToyotaType Light";
  src: url("../fonts/ToyotaType-Light.woff2") format("woff2"); /* Modern Browsers */
  font-weight: normal;
  font-style: normal;
}

@font-face {
  font-family: 'ToyotaType Bold';
  src: url("../fonts/ToyotaType-Bold.woff2") format("woff2"), url("../fonts/ToyotaType-Bold.ttf") format("truetype");
  font-weight: normal;
  font-style: normal
}

@font-face {
  font-family: 'ToyotaType Book';
  src: url("../fonts/ToyotaType-Book.woff2") format("woff2"), url("../fonts/ToyotaType-Book.ttf") format("truetype");
  font-weight: normal;
  font-style: normal;
}

@font-face {
  font-family: "ToyotaType Black";
  src: url("../fonts/ToyotaType-Black.woff2") format("woff2"); /* Modern Browsers */
  font-weight: normal;
  font-style: normal;
}

body {
  width: 1900px;
  height: 1060px;
  background: url( '../img/CE_activity_bkgnd.png') no-repeat;*/
  /*background-color: #43504A;*/
  font-face: ToyotaType, Helvetica, sans-serif;
}

h1 {
  position: absolute;
  color: #D9D9D9;
  font-family: ToyotaType Light;
  font-size: 60px;
  text-align: center;
  letter-spacing: 2.4px;
  font-weight: 100;
  top: 10px;
  left: 391px;
  width: 1140px;
  line-height: 65px;
  margin-left: auto;
  margin-right: auto;
}

#toyota_location {
  font-family: ToyotaType Black;
  font-size: 60px;
  font-weight: bold;
  letter-spacing: 2.4px;
}


#box_material {
  position: absolute;
  width: 1720px;
  height: 140px;
  bottom: 145px;
  left: 135px;
  padding-left: 20px;
}

#material_1 {
  position: absolute;
  width: 130px;
  height: 130px;
  left: 20px;
}

#material_2 {
  position: absolute;
  width: 130px;
  height: 130px;
  left: 170px;
}

#material_3 {
  position: absolute;
  width: 130px;
  height: 130px;
  left: 320px;
}

#material_4 {
  position: absolute;
  width: 130px;
  height: 130px;
  left: 470px;
}

#material_5 {
  position: absolute;
  width: 130px;
  height: 130px;
  left: 620px;
}

#material_6 {
  position: absolute;
  width: 130px;
  height: 130px;
  left: 770px;
}

#material_7 {
  position: absolute;
  width: 130px;
  height: 130px;
  left: 920px;
}

#material_8 {
  position: absolute;
  width: 130px;
  height: 130px;
  left: 1070px;
}

#material_9 {
  position: absolute;
  width: 130px;
  height: 130px;
  left: 1220px;
}


#material_10 {
  position: absolute;
  width: 130px;
  height: 130px;
  left: 1370px;
}

#material_11 {
  position: absolute;
  width: 130px;
  height: 130px;
  left: 1520px;
}

#hazard h2, #nonhazard h2, #universal h2, #recyclable h2 {
  display: none;
  /*position: absolute;
  width: 114px;
  height: 16px;
  /* UI Properties
  text-align: center;
  font-weight: normal;
  letter-spacing: 1.3px;
  color: #343232;
  background-color: #BABABA;
  opacity: 0.8;
  font-face: ToyotaType Book;
  font-size: 13px;
  text-align: center;
  padding: 5px;
  padding-bottom: 8px;*/
}

#hazard {
    position: absolute;
    top: 300px;
    left: 200px;
    width: 310px;
    height: 450px;
    background: transparent url(../img/hazard_waste.png) 0% 0% no-repeat padding-box;
    background-size: cover;
    opacity: 1;
}

#nonhazard {
    position: absolute;
    top: 300px;
    left: 600px;
    width: 310px;
    height: 450px;
    background: transparent url(../img/non_hazard_waste.png) 0% 0% no-repeat padding-box;
    background-size: cover;
    opacity: 1;
}

#universal {
    position: absolute;
    top: 300px;
    left: 1000px;
    width: 310px;
    height: 450px;
    background: transparent url(../img/universal_waste.png) 0% 0% no-repeat padding-box;
    background-size: cover;
    opacity: 1;
}

#recyclable {
    position: absolute;
    top: 300px;
    left: 1400px;
    width: 310px;
    height: 450px;
    background: transparent url(../img/recyclable_waste.png) 0% 0% no-repeat padding-box;
    background-size: cover;
    opacity: 1;
}


#correct_box {
  position: absolute;
  top: 400px;
  left: 25px;
  width: 130px;
  height: 150px;
  background-color: #FDFDFD;
}

#incorrect_box {
  position: absolute;
  top: 400px;
  right: 25px;
  width: 130px;
  height: 150px;
  background-color: #FDFDFD;
}

#correct_number {
  text-align: center;
  padding-top: 42px;
  font-family: ToyotaType Light;
  font-size: 70px;
  letter-spacing: 0;
  color: #52A709;
  opacity: 1;
}

#incorrect_number {
  text-align: center;
  padding-top: 42px;
  font-family: ToyotaType Light;
  font-size: 70px;
  letter-spacing: 0;
  color: #DD0041;
  opacity: 1;
}

#correct_button {
  position: absolute;
  top: 0px;
  left: 0px;
  background: #52A709;
  text-align: center;
  width: 130px;
  height: 50px;
}

#incorrect_button {
  position: absolute;
  top: 0px;
  left: 0px;
  background: #DD0041;
  text-align: center;
  width: 130px;
  height: 50px;
}

#correct_button p, #incorrect_button p {
  color: #E3EFED;
  opacity: 0.8;
  font-family: ToyotaType Black;
  font-size: 15px;
  letter-spacing: 1.6px;
}

#control_box {
  position: absolute;
  width: 60%;
  height: 100px;
  bottom: 10px;
  left: 20%;
  text-align: center;
}

#control_box a {
  text-decoration: none;
}

#timer_box {
  position: absolute;
  width: 350px;
  height: 100px;
  bottom: 10px;
  left: 800px;
  text-align: center;
  background-color: #801D3A;
}

#timer_box p {
  padding-top: 5px;
  color: #DDE2E2;
  font-family: ToyotaType Black;
  font-size: 20px;
  margin: auto;
  letter-spacing: 1.8px;
}

#timer {
  color: #DDE2E2;
  margin-top: -20px;
  font-family: ToyotaType Book;
  font-size: 45px;
  letter-spacing: 5.2px;
  margin: auto;
}

#start_game {
  position: absolute;
  top: 0px;
  left: 160px;
  background: #52A709;
  text-align: center;
  width: 160px;
  height: 100px;
}

#start_game p {
  margin-top: 15px;
  color: #E3EFED;
  font-family: ToyotaType Black;
  font-size: 34px;
  letter-spacing: 1.8px;
  line-height: 34px;
}

#reset_game {
  position: absolute;
  top: 0px;
  left: 850px;
  background: #F2B944;
  text-align: center;
  width: 160px;
  height: 100px;
}

#reset_game p {
  margin-top: 15px;
  color: #E3EFED;
  font-family: ToyotaType Black;
  font-size: 34px;
  letter-spacing: 1.8px;
  line-height: 34px;
}

#chapter3 {
  position: absolute;
  bottom: 10px;
  right: 55px;
  background: #469A63;
  /*border: 6px solid #F7C336;
  border-radius: 6px;*/
  text-align: center;
  width: 350px;
  height: 100px;
  text-decoration: none;
  width: 350px;
  height: 100px;
}

.ch3_line1 {
  margin-top: 10px;
  margin-bottom: 0px;
  color: #F7C336;
  font-family: "Toyota Type", Sans-serif;
  font-size: 24px;
  font-weight: 900;
  text-transform: uppercase;
}

.ch3_line2 {
  margin-top: 0px;
  margin-bottom: 0px;
  color: #FFFFFF;
  font-family: "Toyota Type", Sans-serif;
  font-size: 24px;
  font-weight: 900;
  text-transform: uppercase;
}

.ch3_line3 {
  margin-top: 15px;
  margin-bottom: 0px;
  color: #F7C336;
  font-family: "Toyota Type", Sans-serif;
  font-size: 24px;
  font-weight: 600;
  text-transform: uppercase;
}

#game-instruction {
  position: absolute;
  top: 165px;
  left: 20px;
  color: #801D3A;
  font-family: "Toyota Type", Sans-serif;
  font-size: 18px;
  text-transform: uppercase;
}

#buttons {
  position: absolute;
  top: 190px;
  left: -8px;
  display: none;
}

#buttons ul {
  list-style: none;
  display: flex;
}

#buttons li {
  width: 124px;
  height: 26px;
  background-color: #D9D9D9;
  border: 1px solid #5D5D5D;
  font-size: 13px;
  font-family: ToyotaType Bold;
  letter-spacing: 1.3px;
  color: #7C7C7C;
  line-height: 13px;
}

#buttons li a {
  font-size: 13px;
  font-family: ToyotaType Bold;
  letter-spacing: 1.3px;
  color: #7C7C7C;
  line-height: 13px;
  text-decoration: none;
}

#buttons li a:hover {
  text-decoration: underline;
}

#buttons li p {
  margin-top: 7px;
  line-height: 13px;
}

li#middle {
  margin-left: 25px;
  margin-right: 25px;
}

.ui-widget-content, .ui-dialog-buttonpane {
  background: rgb( 87, 85, 85, 0.72);
  color: #E3EFED;
  font-family: ToyotaType Light;
}

.ui-widget-content p, .ui-widget-content h1, .ui-widget-content h2, .ui-widget-content h3 {
  opacity: 1;
}

.ui-widget-content h2 {
  text-align: center;
  font-family: ToyotaType;
  font-size: 20px;
  font-weight: bold;
  letter-spacing: 6px;
  color: #E80404;
  opacity: 1;
  margin-bottom: 0;
  margin-top: 5;
}

.ui-widget-content h4 {
  text-align: center;
  font-family: ToyotaType Light;
  font-size: 50px;
  letter-spacing: 0;
  color: #FFFFFF;
  opacity: 1;
  margin-top: 0;
  margin-bottom: 5px;
}

.ui-widget-content h4 span {
  font-family: ToyotaType Bold;
  font-weight: bold;
}

.ui-widget-content h3 {
  text-align: center;
  margin-left: auto;
  margin-right: auto;
  font-family: ToyotaType;
  font-size: 20px;
  letter-spacing: 2px;
  color: #555555;
  opacity: 1;
  margin-top: 35px;
  margin-bottom: 40px;
  background: #FFFFFF 0% 0% no-repeat padding-box;
  width: 310px;
  padding: 5px;
}

.ui-widget-content p {
  font-family: ToyotaType Light;
  font-size: 16px;
  letter-spacing: 0;
  color: #FFFFFF;
  text-align: left;
  margin-left: 10px;
  margin-right: 10px;
}

.ui-dialog {
  border: 2px solid #F20B0B;
}

.ui-dialog-buttonpane, .ui-dialog-buttonpane button, .ui-dialog .ui-dialog-buttonpane {
  border: 0;
  padding: 0;
}

.ui-dialog .ui-dialog-content {
  z-index: 1000;
}

.ui-dialog .ui-dialog-buttonpane {
  background: rgb( 87, 85, 85, 0.1);
}

.ui-dialog .ui-dialog-buttonpane button {
  margin: 30px; 30px; 0 0;
  background-color: transparent;
  background-image: url("../img/close_button.png");
  border: none;
}

.ui-dialog .ui-dialog-buttonpane button:focus {
  outline: 0;
}

.ui-widget.ui-widget-content {
  background: rgb( 87, 85, 85, 0.72);
  border: 2px solid #F20B0B;
}

.ui-widget-overlay {
  background-color: #B0B0B0;
  opacity:  .7;
}

.ui-widget button {
  width: 45px;
  height: 45px;
  padding: 0;
  margin: 0;
  background-color: transparent;
  border: none;
  background-image: url("../img/close_button.png");
  background-repeat: no-repeat;
}

.ui-dialog table {
  width: 100%;
  margin-left: 10px;
  margin-right: 10px;
}

.ui-dialog table th {
  font-family: ToyotaType Light;
  font-size: 16px;
  font-weight: normal;
  text-align: center;
  color: #FFFFFF;
  padding: 5px 20px 5px 5px;
}

.ui-dialog table tr td {
  text-align: right;
  margin-left: 20px;
  margin-right: 20px;
  font-family: ToyotaType Light;
  font-size: 20px;
  font-weight: normal;
  color: #FAFAFA;
  padding: 2px 20px 2px 5px;
  
}

.ui-dialog table tr td.names {
  text-align: center;
}

.start_box.ui-widget {
  font-family: ToyotaType Book, ToyotaType, sans-serif;
  margin: 0;
  padding: 0;
}

.start_box.ui-widget-content {
  background-color: transparent;
  color: #FFFFFF;
  font-family: ToyotaType Black;
  font-size: 75px;
  letter-spacing: 1.6px;
  line-height: 75px;
  border: none;
  padding: 0;
  margin: 0;
}

.start_box.ui-widget-content {
  background-color: transparent;
  border: none;
}

.start_box.ui-dialog {
  background-color: transparent;
  border: none;
  vertical-align: middle;
  overflow: hidden;
  margin: 0;
  padding: 0;
}

.start_box.ui-dialog-content {
  vertical-align: middle;
  margin: 0;
  padding: 0;
  overflow: hidden;
}
  
}
.start_box.ui-widget.ui-widget-content {
  background-color: transparent;
  border: none;
}

.start_box.ui-widget-overlay {
  background-color: transparent;
  opacity:  .9;
}

#dialog_start {
  overflow: hidden;
  color: #5A5C5A;
  font-family: ToyotaType Light;
  font-size: 600px;
  line-height: 650px;
  max-width: 1880px;
  max-height: 100px;
  margin: 0;
  padding: 0;
  text-align: center;
  vertical-align: middle;
}

#dialog_rules, #dialog_rules h2, #dialog_rules h3, #dialog_rules h4, dialog_rules p {
  max-width: 1000px;
}

