/* -- General styling in settings form -- */
#modalContainerID label {
  font-weight: normal;
}


/* Button used to open the board selection form - fixed at the bottom of the page */
.open-button {
  background-color: #555;
  color: white;
  padding: 16px 20px;
  border: none;
  cursor: pointer;
  opacity: 0.8;
  position: fixed;
  bottom: 23px;
  right: 28px;
  width: 280px;
}

/* The popup form - hidden by default */
.form-popup {
  display: none;
  position: fixed;
  height: 80%;
  width: 50%;
  bottom: 0;
  left: 15px;
  border: 3px solid #f1f1f1;
  z-index: 9;
}

/* The popup form - hidden by default */
.settings-popup {
  display: none;
  position: fixed;
  height: 80%;
  width: 50%;
  bottom: 0;
  left: 15px;
  border: 3px solid #f1f1f1;
  z-index: 9;
  overflow-y: auto !important;
  -webkit-overflow-scrolling: auto !important;
}


/* Add styles to the form container */
.form-container {
  width: 100%;
  padding: 10px;
  background-color: white;
}

/* Add styles to the form container */
.settings-container {
  width: 100%;
  padding: 10px;
  background-color: white;
}

.action_btn {
  display: inline-block;
  width: 40%;
  position: absolute;
  margin: 0;
  bottom: 10px;
  padding: 0;

}

/* Set a style for the Load button */
.btnLoadboard {
  background-color: #4CAF50;
  color: white;
  padding: 16px 20px;
  border: none;
  cursor: pointer;
  float: middle;
  width: 40%;
  margin-bottom:10px;
  opacity: 0.8;
}

/* Add a red background color to the cancel button */
.btnCancel {
  background-color: red;
  color: white;
  padding: 16px 20px;
  border: none;
  cursor: pointer;
  float: middle;
  width: 40%;
  margin-bottom:10px;
  opacity: 0.8;
}


/* Position the image container (needed to position the left and right arrows) */
.container {
  height: 100%;
  width: 100%;
  padding: 10px;
  background-color: white;
}

/* Hide the images by default */
.board_list {
  display: none;
}

.board_list .board_cursor {
	width:30%;
	height:30%
}

.board_list .numbertext {
	background: black;
	padding: 5px;
}

/* Add a pointer when hovering over the thumbnail images */
.cursor {
  cursor: pointer;
}

/* Next & previous buttons */
.prev,
.next {
  cursor: pointer;
  position: absolute;
  top: 20%;
  width: auto;
  padding: 16px;
  margin-top: -50px;
  color: white;
  background: black;
  font-weight: bold;
  font-size: 20px;
  border-radius: 0 3px 3px 0;
  user-select: none;
  -webkit-user-select: none;
}

/* Position the "next button" to the right */
.next {
  right: 0;
  border-radius: 3px 0 0 3px;
}

/* On hover, add a black background color with a little bit see-through */
.prev:hover,
.next:hover {
  background-color: rgba(0, 0, 0, 0.8);
}

/* Number text (1/3 etc) */
.numbertext {
  color: #f2f2f2;
  font-size: 12px;
  padding: 8px 12px;
  position: absolute;
  top: 0;
}

/* Container for image text */
.caption-container {
  text-align: center;
  background-color: #222;
  padding: 2px 16px;
  color: white;
}

.row:after {
  content: "";
  display: table;
  clear: both;
}

/* Six columns side by side */
.column {
  float: left;
  width: 16.66%;
}

/* Add a transparency effect for thumnbail images */
.demo {
  opacity: 0.6;
}

.active,
.demo:hover {
  opacity: 1;
}


/* --------------------------------------- */

/* Settings-form collapsible */
.collapsible {
  background-color: #777;
  color: white;
  cursor: pointer;
  padding: 18px;
  border: none;
  text-align: left;
  outline: none;
  font-size: 15px;
}

.active, .collapsible:hover {
  background-color: #555;
}

.content {
  padding: 0 18px;
  display: none;
  overflow: hidden;
  background-color: #f1f1f1;
}

.selected {
  font-size: 80px;
  color: #fff;
  text-align: center;
  -webkit-animation: glow 1s ease-in-out infinite alternate;
  -moz-animation: glow 1s ease-in-out infinite alternate;
  animation: glow 1s ease-in-out infinite alternate;
}

/* Styling within settings */

#general.language {
  margin: 3vw; 
}

.modalContainer h3 {
  left: 0;
  width: 96vw;
  padding: 3vw;
  background-color: lightblue;
  font-size: 3vw;
  border-radius: 2vw;
}

.modalContainer h4 {
  left: 0;
  width: 100vw;
  padding: 1vw;
  background-color: lightgrey;
  font-size: 2vw;
}

.modalContainer .btn {
  border: 1px solid black;
  width: 28vw;
  height: 6vw;
  text-align: center;
  font-size: 2vw;
  margin-top: 2vw;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.imgButton {
  margin: 1vw;
  width: 15vw;
  height: 9vw;
  background-size: 100%;
}

.imgButton:not(.selected){
  filter: grayscale(100%);
}

.modalContainer input[type="checkbox"] {
  cursor: pointer;
  margin-left: 1vw;
  margin-top: 0.5vw;
  margin-bottom: 0.5vw;
  margin-right: 2vw;
  /* Double-sized Checkboxes */
  width: 2.1vw;
  height: 2.1vw;
  vertical-align: middle;
}

.modalContainer label {
  font-size: 1.7vw;
  margin-left: 0.5vw;
  vertical-align: middle;
  display: inline;
}

#modalTitleID {
  left: 0;
  right: 0;
  width: 35vw !important;
  display: block !important;
  padding: 0;
  background-color: transparent;
}

.modalContainer select:not(.StateSelect) { /* TODO: remove StateSelect exclusion in future by giving it specific styling */
  cursor: pointer;
  width: 20vw;
  height: 3.5vw;
  margin-left: 1vw;
  border-radius: 1vw; 
  font-size: 1.7vw;
  outline: none;
  border: none;
  padding-left: 0.5vw;
}

.modalContainer input[type="number"] {
  width: 20vw;
  height: 3.5vw;
  margin-left: 1vw;
  border-radius: 1vw; 
  font-size: 1.7vw;
  outline: none;
  border: none;
  padding-left: 1vw;
}

.modalContainer div{
  width: 100%;
}

.formButton {
  width: 11vw;
  height: 4vw;
  margin: 0.5vw;
  background-color: lightblue;
  color: black;
  border: 1px solid black;
  border-radius: 1vw;
  font-size: 1.7vw;
}

#licenseButton {
  right: 3.5vw;
  bottom: 11vw;
  background-color: lightgray;
  position: fixed;
}

#btnSettingsSubmit {
  left: 3.5vw;
  bottom: 11vw;
  position: fixed;
}

#btnSettingsShare {
  left: 17vw;
  bottom: 11vw;
  background-color: lightgray;
  position: fixed;
}

#divPlaceholder{
  width: 100%;
  height: 4vw;
  background-color: transparent;
}

button.collapsible {
  width: 11vw;
}

#videoCanvas {
  width: 95%;
}

#showAdvanceSettingsBtn {
  border-radius: 1vw;
}
