  #answer_image {
      max-width: 150px;
      height: auto;
      max-height: 150px;
  }
  
  #question{
      font-size: 1.5em;
      font-weight: bold;
      min-height: 260px;
      margin-bottom: 15px;
  }
  
      .question_text {
          width: 400px;
          max-height: 200px;
          min-height: 200px;
      }
  
      .question_image {
          display: block;
          max-width: 400px;
          max-height: 200px;
          margin: 0 auto;
          width: 100%; /* or any custom size */
          height: 100%; 
          object-fit: contain;
      }
  
      .question_image_big {
        display: block;
        margin: 0 auto;
        max-width: 100%;
        min-width: 100%;
    }

    .question_image_narrow {
        display: block;
        margin: 0 auto;
        
    }

      .spacer {
          height: 85px;
          width: 400px;
      }
  
      .question {
          line-height: 1.75;
          display: inline-block;
          vertical-align: middle;
      }
  
      #correctAndTotal ul {
          align-content: left;}
  
          #correctAndTotal li {
              font-size: 1.0rem;
              float: left;
              padding-left: 0px;
              padding-right: 15px;
              list-style: none;
          }
  
  #previous_question_text {
      float: none;
      width: 300px;
      height: auto;
      max-height: 150px;
      align-self: center;
  }
  
  /* class = "previous_images" is used for the previous images, both question and answer as applicable */
  .previous_images {
      float: none;
      width: 250px;
      height: auto;
      max-height: 200px;
  }
  
  #t01 {
      border-collapse: collapse;
  }
  
  #t01 th {
      border: 1px solid #ddd;
      background-color: #90caf9;
      color: white;
      width: 170px;
      padding: 8px;
  }
  
  #t01 td {
      border: 1px solid #ddd;
      padding: 8px;
  }
  
  .footer {
      border-top: 1px solid black;
      background: white;
      bottom: 0;
      left: 0;
      z-index: 6; }
  
      .footer ul {
        float: right; }
      .footer li {
        list-style: none;
        display: flex; }
        .footer li a {
          text-decoration: none;

          display: block;
          font-weight: bolder;
          font-size: 1.0rem;
          color: #90caf9;
          border-bottom: 5px solid transparent; }
          .footer li a:hover {
            border-bottom: 5px solid #90caf9; }
  
  .header {

      padding-left: 0;
      padding-bottom: 0;
      }
  
      .header P {
          padding-bottom: 10px;
          color: #90caf9;
          font-size: 1.8rem;
          font-weight: bold;
          border-bottom: 1px solid black;
      }

  /* image used on the main page */
  .achievement_image {
      height: 125px;
      padding-right: 15px;
  }
  /* The Modal (background) */
  .modal {
      display: none; /* Hidden by default */
      position: fixed; /* Stay in place */
      z-index: 1; /* Sit on top */
      left: 0;
      top: 0;
      width: 100%; /* Full width */
      height: 100%; /* Full height */
      overflow: auto; /* Enable scroll if needed */
      background-color: rgb(0,0,0); /* Fallback color */
      background-color: rgba(0,0,0,0.4); /* Black w/ opacity */
    }
    
    /* Modal Content/Box */
    .modal-content {
      position: fixed;
      background-color: #fefefe;
      padding: 20px;
      right: 20%;
      top: 10%;
      border: 1px solid #888;
      border-radius: 8px;
      width: 350px;
      max-width: 100%;
      height: 150px;
      max-height: 100%; 
      overflow: auto;
      font-size: 130%;
    }
    
    /* The Close Button */
    .close {
      color: #aaa;
      float: right;
      font-size: 28px;
      font-weight: bold;
    }
    
    .close:hover,
    .close:focus {
      color: black;
      text-decoration: none;
      cursor: pointer;
    }
   
  /* text used on the main page prior to overwrite through javascript */
  .previous_text_body{ 
      font-weight: normal;
      width: 70%;
      line-height: 1.4;
  }

  /* this is for the checkbox colors, it overrides materialize */
  .categorybox:after{
      background-color: #90caf9 !important;
      border: 2px solid #90caf9 !important;
  }
  
  
/* Container holding the question image and the text */
.container_image {
	position: relative;
}

.container_image_narrow {
	position: relative;
    padding-bottom: 10%;
}

/* Top left text */
.top-left-black {
    position: absolute;
    top: 0px;
    left: 20px;
    font-family: 'Roboto', sans-serif;
    font-weight: 700;
    color: black;
}

/* Top left text */
.top-left {
    position: absolute;
    top: 20px;
    left: 20px;
    font-family: 'Roboto', sans-serif;
    font-weight: 700;
    color: white;
}

/* Left most button when big image is shown */
.answer_button_for_big_image {
    white-space: normal;
    word-wrap: break-word;
}

/* Left buttons when big image is not shown */
.answer_button_left {
    margin-left: auto;
    white-space: normal;
    word-wrap: break-word;
}

/* Right buttons when big image is not shown */
.answer_button_right {
    white-space: normal;
    word-wrap: break-word;
}

/* Grid for OCQuiz */
.answers {
    display: grid;
    grid-template-columns: 1fr 1fr;
    grid-gap: 30px;
}

/* Grid for big image */
.answer_image {
    position: absolute;
    display: grid;
    grid-template-columns: repeat(4, 15%);
    grid-gap: 10%;
    margin-left: 5%;
    bottom: 20px;
    width: 100%
}

.button_2_row{
    width: 165px;
    height: 165px;
    background-color: white;
    border: 3px solid lightgray;
    border-radius: 8px;
}

.button_1_row_black{
    font-family: 'Roboto', sans-serif;
    font-weight: 700;
    color: black;
    font-size: 1.4rem;
    text-transform: uppercase;
    width: 100%;
    height: 80px;
    border: 3px solid lightgray;
    border-radius: 8px;
    background-color: white;
}

.button_1_row{
    font-family: 'Roboto', sans-serif;
    font-weight: 700;
    color: white;
    font-size: 1.4rem;
    text-transform: uppercase;
    width: 100%;
    height: 80px;
    background: rgba(0, 0, 0, 0.15);
    border: 3px solid lightgray;
    border-radius: 8px;
}

.button_1_row:hover {
    border: 3px solid darkgray;
    box-shadow: 0 12px 16px 0 rgba(0,0,0,0.24), 0 17px 50px 0 rgba(0,0,0,0.19);
}

/* these are required to override materialize default button */
.button_1_row:active{
    background-color: transparent !important;
}
.button_1_row:focus{
    background-color: transparent !important;
}

.button_2_row:hover {
    border: 3px solid darkgray;
    box-shadow: 0 12px 16px 0 rgba(0,0,0,0.24), 0 17px 50px 0 rgba(0,0,0,0.19);
}

/* these are required to override materialize default button */
.button_2_row:active{
    background-color: transparent !important;
}
.button_2_row:focus{
    background-color: transparent !important;
}

button:hover {
    border: 3px solid darkgray;
    box-shadow: 0 12px 16px 0 rgba(0,0,0,0.24), 0 17px 50px 0 rgba(0,0,0,0.19);
}

/* these are required to override materialize default button */
button:active{
    background-color: transparent !important;
}
button:focus{
    background-color: transparent !important;
}