.uc-tool h2 {
  margin-bottom: 30px;
}

.question-container {
  background-color: #69c1cb;
  padding-top: 25px;
  padding-bottom: 25px;
}

.question-container h1 {
  color: #515151;
  font-weight: 500;
  font-size: 23px;
  text-align: center;
}

.question-container h2 {
  color: #515151;
  font-weight: 500;
  font-size: 20px;
  text-align: center;
  margin-bottom: 10px;
}

.question-container h3 {
  color: #515151;
  font-weight: 400;
  font-size: 16px;
  text-align: center;
  margin-bottom: 15px;
}
.question-container #content {
  margin-top: 15px;
  color: white;
}
.question-container #content a {
  color: #007bff;
  text-decoration: underline;
}

/* link in the top section text */
.content_link {
  color: rgb(50, 147, 231) !important;
  text-decoration: underline !important;
}

/* First screen btns style */
.question-container .first_screen_btns {
  display: flex;
  flex-direction: row;
  justify-content: center;
  margin: 30px 0 30px 0;
}

.question-container .first_screen_btns button:nth-child(1) {
  width: 270px;
  margin-right: 30px;
  min-height: 60px;
  border-radius: 5px;
  background-color: #f09859d3;
  border: none;
}
.question-container .first_screen_btns button:nth-child(2) {
  width: 270px;
  min-height: 60px;
  border-radius: 5px;
  background-color: #f09859d3;
  border: none;
}
.question-container .first_screen_btns button:hover {
  background-color: #f09859ef !important;
}
.question-container .first_screen_btns .btn_text {
  font-weight: 500;
  font-size: 16px;
  color: #515151;
  transform: translate(0, -50%);
  top: 50%;
  position: relative;
  text-transform: uppercase;
}
.question-container .first_screen_btns button .btn_left_part {
  width: -webkit-fill-available;
}

.question-container .other_entry {
  justify-content: center;
  margin-bottom: 30px;
}
.question-container .other_entry p {
  color: #515151;
  font-size: 17px;
}
.question-container .other_entry .first_row_entry {
  text-align: center;
}
.question-container .other_entry .first_row_entry p {
  margin: 0;
}
.question-container .other_entry .second_row_entry {
  text-align: center;
  max-width: 430px;
}
.question-container .other_entry .second_row_entry > p {
  margin: auto;
  margin-top: 16px;
  height: 51px;
  display: flex;
  justify-content: center;
  align-items: flex-end;
  max-width: 240px;
}

.question-container .other_entry .second_row_entry button,
.question-container .other_entry .phase_row_entry button {
  border-radius: 5px;
  background-color: #f1c2a1ef;
  border: none;
  padding: 8px 20px;
  margin-top: 15px;
  min-width: 200px;
}
.question-container .other_entry .second_row_entry button:hover,
.question-container .other_entry .phase_row_entry button:hover {
  background-color: #f1ba92;
}

.continue-btn button {
  font-size: 18px !important;
  font-weight: 500 !important;
}
.button-column {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 15px;
}
.button-column button {
  margin-right: 10px;
  background-color: transparent;
  border: none;
  color: white;
  text-align: center;
  text-decoration: none;
  font-size: 15px;
}
.button-column span {
  margin: auto;
  word-wrap: break-word;
  color: #855254;
  font-weight: bold;
}
.button-column button:nth-child(1) {
  margin-right: 10px;
}

.button-column i {
  font-size: 20px;
}
.button-column button:nth-child(1) i {
  font-size: 18px;
}
.button-column button:hover {
  color: #dedede;
}

/** Animation */
.fade-in {
  opacity: 1;
  animation-name: fadeInOpacity;
  animation-iteration-count: 1;
  animation-timing-function: ease-in;
  animation-duration: 0.4s;
}

@keyframes fadeInOpacity {
  0% {
    opacity: 0;
  }
  100% {
    opacity: 1;
  }
}
.zoom-in {
  animation: animatezoom 0.5s;
}
@keyframes animatezoom {
  from {
    transform: scale(0);
  }
  to {
    transform: scale(1);
  }
}

#expandable_row {
  padding: 10px;
  padding-right: 0;
}
#expandable_row > div {
  padding: 0;
  padding-right: 10px;
  padding-bottom: 10px;
}
/* Style the button that is used to open and close the collapsible content */
.collapsible {
  color: #0f3b61;
  cursor: pointer;
  width: 100%;
  border: none;
  text-align: left;
  outline: none;
  font-size: 15px;
  border-radius: 5px;
  background-color: #69c1cb;
  padding-left: 20px;
  padding-right: 15px;
  padding-top: 12px;
  padding-bottom: 12px;
  transition: border-radius 0.4s ease-in-out;
}
/* adds '...' to the end of collapsible titles if they're too wide*/
.collapsible_title {
  width: calc(100% - 30px);
  overflow: hidden;
  display: inline-block;
  text-overflow: ellipsis;
  white-space: nowrap;
}
/* Add a background color to the button if it is clicked on (add the .active class with JS), and when you move the mouse over it (hover) */
.active,
.collapsible:hover {
  background-color: #83cdd6;
}
.active {
  font-weight: 500;
  border-radius: 5px 5px 0 0;
  background-color: #4db4c0;
  transition: border-radius 0s ease-out;
}
/* Style the collapsible content. Note: hidden by default */
.collapsible_content {
  padding: 0 10px !important;
  background-color: #f9f9f9;
  max-height: 0;
  overflow: hidden;
  transition: max-height 0.2s ease-out;
  font-size: 16px;
  color: #0f3b61;
  border-radius: 0 0 5px 5px;
  overflow-x: auto;
}
.collapsible_content p {
  font-size: 16px;
  color: #0f3b61;
}

.collapsible:not(.figureBtn):after {
  content: "\002B"; /* Unicode character for "plus" sign (+) */
  font-size: 24px;
  line-height: 18px;
  color: #0f3b61;
  float: right;
  margin-left: 5px;
}
.collapsible:not(.figureBtn).active:after {
  content: "\002D"; /* Unicode character for "minus" sign (-) */
}
/* Radio buttons */
.radio-container {
  display: block;
  position: relative;
  padding: 0 !important;
  padding-left: 45px !important;
  margin-bottom: 20px !important;
  font-size: 16px !important;
  line-height: 32px;
  -webkit-user-select: none;
  -moz-user-select: none;
  -ms-user-select: none;
  user-select: none;
}
.radio-container input {
  position: absolute;
  opacity: 0;
  height: 0;
  width: 0;
}
.radio-container label {
  cursor: pointer;
}
.radio-container label:hover {
  color: #dedede;
}
.checkmark {
  position: absolute;
  top: 0;
  left: 0;
  height: 30px;
  width: 30px;
  background-color: #fff;
  border-radius: 50%;
  margin-top: 2px;
}
/* On mouse-over, add a grey background color */
.radio-container label:hover input ~ .checkmark {
  background-color: #f5f5f5;
}
/* Create the indicator (the dot/circle - hidden when not checked) */
.checkmark:after {
  content: "";
  position: absolute;
  display: none;
}
/* Show the indicator (dot/circle) when checked */
.radio-container input:checked ~ .checkmark:after {
  display: block;
}
/* Show the indicator (dot/circle) when hover */
.radio-container label:hover input ~ .checkmark:after {
  display: block;
}
/* Style the indicator (dot/circle) */
.radio-container .checkmark:after {
  top: 9px;
  left: 9px;
  width: 12px;
  height: 12px;
  border-radius: 50%;
  background: #69c1cb;
}

.radio-container label {
  padding: 0;
  margin: 0;
  font-size: 16px;
}

.radio-buttons-padding {
  padding-left: 80px;
  padding-top: 30px;
}

.pucai_curr_score {
  text-align: center;
  background-color: rgba(255, 255, 255, 0.4);
}
#pucai_score_nxtLine {
  font-size: 20px;
  line-height: 20px;
  color: #ff6b6b;
}
.mortality_curr_score {
  text-align: center;
  background-color: rgba(255, 255, 255, 0.4);
}
#mortality_score_nxtLine {
  font-size: 20px;
  line-height: 20px;
  color: #ff6b6b;
}

.reset_btn_conclusion {
  text-align: center;
  padding-top: 20px;
}
.reset_btn_conclusion button {
  background-color: transparent;
  border: none;
  color: white;
  text-align: center;
  text-decoration: none;
  font-size: 15px;
}
.reset_btn_conclusion button:hover {
  color: #dedede;
}
.reset_btn_conclusion i {
  font-size: 21px;
}

.continue_btn_conclusion {
  text-align: center;
  padding-top: 20px;
  font-size: 19px !important;
  font-weight: 500;
  color: white !important;
  cursor: pointer;
}
.continue_btn_conclusion:hover {
  color: #dedede !important;
}

.monitoring_section {
  text-align: center;
  background-color: rgba(255, 255, 255, 0.4);
  padding-bottom: 5px;
}
.monitoring_section p {
  margin-bottom: 0;
  font-size: 17px;
}
.monitoring_section p:nth-child(1) {
  text-align: right;
  padding-right: 10px;
  font-size: 16px;
  font-weight: 500;
  color: #855254;
}

.necessary_conclusion {
  margin: 0;
  text-align: center;
  font-size: 20px !important;
  font-weight: 500;
  text-decoration: underline;
  padding-top: 10px;
  margin-bottom: -5px;
}

.pucai_table {
  text-align: center;
  margin-right: -10px;
  margin-left: -10px;
  width: -webkit-fill-available;
}
.pucai_table thead {
  background-color: #acd1b6;
  color: white;
}
.pucai_table tbody {
  color: #7f7f7f;
  background-color: white;
}
.pucai_table tbody tr:hover {
  color: #2b2b2b;
}
.pucai_table tbody .row_dark {
  background-color: #f6f6f6;
}
.pucai_table tbody .row_title {
  font-weight: 500;
}
.pucai_table th,
.pucai_table td {
  width: 20%;
  padding: 5px 5px;
}
.pucai_table td {
  border: 1px solid #e4e4e4;
}
.pucai_table th {
  border: 1px solid #acd1b6;
}

.image_center {
  text-align: center;
}

#next_btn_pucai,
#next_btn_mortality,
#previous_btn_pucai,
#previous_btn_mortality,
#previous_btn_small_screen,
#global_reset_btn_small_screen,
#global_reset_btn_mortality,
#global_reset_btn_pucai {
  margin-top: 15px;
}

#next_btn_mortality,
#next_btn_pucai {
  padding-top: 10px;
  margin-right: 20px;
}

#previous_btn_pucai,
#previous_btn_mortality,
#previous_btn_small_screen,
#global_reset_btn_small_screen,
#global_reset_btn_mortality,
#global_reset_btn_pucai {
  display: none;
}

#pucai_score_div_small_screen,
#mortality_score_div_small_screen {
  visibility: hidden;
}

/* Modal disclaimer style */
.modal_disclaimer {
  display: none; /* Hidden by default */
  position: fixed; /* Stay in place */
  z-index: 19999; /* Sit on top */
  padding-top: 160px; /* Location of the box */
  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 */
.modal_disclaimer_content {
  background-color: #fefefe;
  margin: auto;
  padding: 20px;
  border: 1px solid #888;
  width: 80%;
  text-align: center;
}
.modal_disclaimer_content h3 {
  margin-bottom: 15px;
  margin-top: 2px;
}
.modal_disclaimer_content p {
  text-align: left;
}

/* The Close Button */
.close_btn {
  padding: 7px 15px;
  border-radius: 5px;
  background-color: #45bcc9;
  color: white;
  text-transform: uppercase;
  border: none;
  margin-top: 10px;
  margin-bottom: 6px;
}

.close_btn:hover,
.close_btn:focus {
  background-color: #40aeba;
  cursor: pointer;
}

.mortality_score_inner_div_btn button:nth-child(1),
#previous_btn_pucai {
  /* margin-bottom: 20px; */
}
.mortality_score_inner_div_btn button:nth-child(2),
#global_reset_btn_pucai {
  margin-left: 0;
}

.mortality_score_inner_div_btn {
  min-width: 100px;
}

#mortality_score_div .button-column {
  min-width: 100px;
}

/* Small screen configuration */
@media only screen and (max-width: 991px) {
  .radio-buttons-padding {
    padding-left: 15px !important;
  }

  #previous_btn_small_screen,
  #global_reset_btn_small_screen {
    display: block;
  }
  #previous_btn_mortality,
  #global_reset_btn_mortality,
  #previous_btn_small_screen,
  #global_reset_btn_small_screen,
  #previous_btn_pucai,
  #global_reset_btn_pucai {
    display: inline-block;
  }
  #pucai_score_div_small_screen,
  #mortality_score_div_small_screen {
    visibility: visible;
  }
  .pucai_score_inner_div_btn,
  .mortality_score_inner_div_btn {
    text-align: left;
    margin-top: 5px;
  }
  .pucai_score_inner_div_btn button,
  .mortality_score_inner_div_btn button {
    margin-left: 20px;
  }
  .collapsible_content {
    position: initial !important;
    width: 100% !important;
  }
  .image-column svg {
    margin-top: 0;
    margin-bottom: 10px;
  }
  #diagramSVG {
    margin: -5px 0 5px 5px !important;
  }
  #figureModal1 .modal-content {
    width: 95%;
  }
  #figureModal2 .modal-content {
    width: 95%;
  }
}

@media only screen and (max-width: 768px) {
  .pucai_curr_score {
    padding: 0 !important;
  }

  .modal_disclaimer_content {
    width: calc(100% - 30px);
  }
  .modal_disclaimer {
    padding-top: 90px;
    padding-bottom: 50px;
  }
}

@media only screen and (max-width: 580px) {
  .question-container .first_screen_btns {
    display: block;
    text-align: center;
  }
  .question-container .first_screen_btns button {
    margin-bottom: 15px;
    margin-right: 0 !important;
  }

  .question-container .other_entry .phase_row_entry div {
    flex-direction: column;
    max-width: 270px;
    margin: auto;
  }
}
@media only screen and (max-width: 465px) {
  .pucai_score_inner_div_btn {
    min-width: 100px;
  }
  .pucai_curr_score {
    max-width: 47%;
  }
  .pucai_score_inner_div_btn_next {
    min-width: 100px;
  }
}
@media only screen and (max-width: 459px) {
  .first_screen_btns {
    flex-direction: column !important;
  }
  .first_screen_btns button {
    margin: auto !important;
  }
  .first_screen_btns button:nth-child(2) {
    margin-top: 20px !important;
  }
}
@media only screen and (max-width: 450px) {
}
@media only screen and (max-width: 400px) {
  #pucai_score_div .button-column {
    min-width: 60px;
  }
  #previous_btn_pucai {
    margin-left: 0;
    margin-right: 0;
  }
  #next_btn_pucai {
    margin-right: 0;
  }
}

@media only screen and (max-width: 370px) {
  #main_quiestion_container {
    padding-left: 5px;
    padding-right: 5px;
  }
  .question-container .first_screen_btns button {
    width: 100% !important;
  }
  .pucai_score_inner_div_btn button {
    margin-left: 0px;
  }
  .mortality_score_inner_div_btn button {
    margin-left: 0px;
  }
  #mortality_score_div .button-column {
    min-width: 70px;
  }
  #mortality_score_div .button-column {
    max-width: 20%;
  }
  #mortality_score_div .mortality_score_inner_div_btn {
    min-width: 70px;
  }
}

/* Prevent hover on touchscreen */
@media (hover: none), (hover: on-demand) {
  .radio-container label:hover:hover {
    color: #0f3b61 !important;
  }
  .button-column button:hover {
    color: white;
  }
  .reset_btn_conclusion button:hover {
    color: white;
  }
  .continue_btn_conclusion:hover {
    color: white !important;
  }
}

/* Algorithm image column */
#diagramSVG {
  margin-right: 40px;
  float: right;
}
#diagramSVG:hover {
  transform: scale(1.1);
  cursor: pointer;
}

/* Algorithm image modal style */
#algorithm_image_modal {
  display: none; /* Hidden by default */
  position: fixed; /* Stay in place */
  z-index: 19999; /* Sit on top */
  padding: 5% 0;
  left: 0;
  top: 0;
  width: 100%; /* Full width */
  overflow: hidden;
  background-color: rgb(0, 0, 0); /* Fallback color */
  background-color: rgba(0, 0, 0, 0.4); /* Black w/ opacity */
  height: 100%;
}
#algorithm_image_modal_content {
  background-color: #fefefe;
  margin: auto;
  padding: 5px;
  border: 1px solid #888;
  width: 90%;
  max-width: 800px;
  text-align: left;
  height: 100%;
  padding: 0;
  max-height: 1000px;
}
#algorithm_image_modal_content .close_btn_uf {
  font-size: 1.5rem;
  font-weight: 700;
  line-height: 1;
  color: #000;
  text-shadow: 0 1px 0 #fff;
  opacity: 0.5;
  float: right;
  position: relative;
  right: 0;
  margin-bottom: -24px;
  z-index: 1;
  margin-right: 8px;
}
#algorithm_image_modal_content .close_btn_uf:hover,
#algorithm_image_modal_content .close_btn_uf:focus {
  opacity: 0.75;
  text-decoration: none;
  cursor: pointer;
}
#algorithm_image_modal_content img {
  width: 800px;
}
#figureModal1, #figureModal2 {
  display: none; /* Hidden by default */
  position: fixed; /* Stay in place */
  z-index: 1; /* Sit on top */
  padding-top: 160px; /* Location of the box */
  padding-bottom: 20px;
  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 */
  user-select: none;
}

/* Modal Content */
#figureModal1 .modal-content, #figureModal2 .modal-content {
  position: relative;
  background-color: #fefefe;
  margin: auto;
  padding: 0;
  border: 1px solid #888;
  width: 80%;
  box-shadow: 0 4px 8px 0 rgba(0, 0, 0, 0.2), 0 6px 20px 0 rgba(0, 0, 0, 0.19);
  -webkit-animation-name: animatetop;
  -webkit-animation-duration: 0.4s;
  animation-name: animatetop;
  animation-duration: 0.4s;
  max-width: 900px;
  min-width: 700px;
}

#myWindow {
  cursor: grab;
  display: flex;
  align-items: center;
  justify-content: center;
  overflow: hidden;
  width: 100%;
  height: 100%;
}
#algorithm_img_large {
  box-shadow: 0 0 5px #ffffff;
}
#myContent {
  position: relative;
  display: flex;
  align-items: center;
}

#myContent img {
  display: block;
  width: auto;
  height: auto;
  margin: auto;
  align-self: center;
  flex-shrink: 0;
}

#myContent div {
  position: absolute;
  font-size: 80px;
}
.zoom_buttons {
  position: relative;
  top: -43px;
  display: inline-block;
  float: right;
  padding-right: 5px;
  z-index: 2;
}
.zoom_buttons button {
  width: 36px;
  height: 36px;
  padding: 0;
}
.zoomOut {
  margin-bottom: 3px;
}
.zoomIn {
  margin-bottom: 3px;
}
.zoom_buttons .btn-info {
  box-shadow: none !important;
  background-color: #959595 !important;
  border: none;
}
.zoom_buttons .btn-info:hover {
  background-color: #b7b7b7 !important;
}

/** Global float info css */
.floating-info {
  right: 0;
}
.floating-info p {
  color: #0f3b61 !important;
  font-size: 15px !important;
  font-weight: 400;
}
.floating-other-entry {
  max-width: 50%;
  margin: auto;
  position: relative;
}
/** Float info width and forbid selecting text. */
.info-questions {
  max-width: 400px;
  -webkit-touch-callout: none; /* iOS Safari */
  -webkit-user-select: none; /* Safari */
  -khtml-user-select: none; /* Konqueror HTML */
  -moz-user-select: none; /* Old versions of Firefox */
  -ms-user-select: none; /* Internet Explorer/Edge */
  user-select: none; /* Non-prefixed version, currently
                                  supported by Chrome, Opera and Firefox */
}
/** Style of the info icon in the questions*/
.info-link i {
  font-size: 0.85em;
  color: #515151 !important;
}
.icon-checkup i {
  font-size: 16px;
}
.info-link svg:hover {
  opacity: 80%;
}

.info-link_p {
  display: inline;
}

.uc-table {
  text-align: center;
  margin-right: -10px;
  margin-left: -10px;
  width: -webkit-fill-available;
}
.uc-table thead {
  background-color: #69c1cb;
  color: white;
}
.uc-table tbody {
  color: #7f7f7f;
  background-color: white;
}
.uc-table tbody .body-head {
  font-weight: bold;
  text-align: left;
}
.uc-table tbody tr:hover,
.uc-table tbody tr:hover td {
  color: #2b2b2b;
}
.uc-table tbody .row_dark {
  background-color: #f6f6f6;
}
.uc-table tbody .row_legend {
  text-align: left;
}
.uc-table th,
.uc-table td {
  width: auto;
  padding: 5px 5px;
}
.uc-table td {
  border: 1px solid #e4e4e4;
}
.uc-table th {
  border: 1px solid #69c1cb;
}
.uc-table .table_titles {
  background-color: #69c1cb;
  color: #ffffff;
  font-weight: bold;
}
.uc-table tr.table_titles {
  color: #0f3b61;
}
.uc-table tbody .border-bottom {
  border: 1px solid #69c1cb;
  border-bottom: 1px solid #e4e4e4;
}
