/* Cloud Generator CSS */
input[type=number]::-webkit-inner-spin-button {
    opacity: 1;
}

input[type=number] {
    width: 50px;
    height: 20px;
    text-align: center;
    background-color: #6D929B;
    border: none;
    margin-left: 3px;
    margin-right: 5px;
    color: white;
    font-size: 18px;
}

input[type=number]:focus {
    outline: none;

}

input[type=checkbox] {
  margin-right: 23px;
  margin-left: 23px;
}

strong {
  font-weight: bold;
  color: white;
  float: left;
}

#sky2 {
  /* to rotate the board by 90 degrees */
  -webkit-transform: rotate(180deg);
  -moz-transform: rotate(180deg);
  -o-transform: rotate(180deg);
  -ms-transform: rotate(180deg);
  transform: rotate(180deg);
}

.wrapper {
  display: -webkit-flex;
  display: flex;
  flex-direction: row;
  -webkit-justify-content: center;
  justify-content: center;
  text-align: right;
}

.box {
  background-color: #6D929B;
  color: #fff;
  padding: 15px;
}

.content {
  display: -webkit-flex;
  display: flex;
  flex-direction: column;
  text-align: right;
  font-size: 120%;
}

/* line break after content */
.content:after {
    content:"\a";
    white-space: pre;
}

.leftOpts {
  border-radius: 10px 0px 5px 10px;
}

.rightOpts {
  border-radius: 0px 10px 10px 5px;
}

/* if too narrow to support three columns */
@media all and (max-width: 900px) {

  input[type=checkbox] {
    margin-right: 15px;
    margin-left: 3px;
  }

  .wrapper {
    flex-direction: column;

  }

  .box {
    width: 90%;
    vertical-align: middle;
    align-self: center;
    padding-bottom: 0px;
  }

  .content {
    display: -webkit-flex;
    display: flex;
    flex-direction: row;
    text-align: left;
    height: 50px;
    overflow-x: auto;
    white-space: nowrap;
  }

  .leftOpts {
    border-radius: 10px 10px 0px 0px;
  }

  .rightOpts {
    border-radius: 0px 0px 10px 10px;
  }

  .picture {
    -webkit-order: -1;
    order: -1;
    align-self: center;
  }
}

/* for mobile devices */
@media only screen and (max-device-width: 480px) {

  input[type=checkbox] {
    margin-right: 15px;
    margin-left: 3px;
  }

  .wrapper {
    flex-direction: column;

  }

  .box {
    width: 90%;
    vertical-align: middle;
    align-self: center;
    padding-bottom: 0px;
  }

  .content {
    display: -webkit-flex;
    display: flex;
    flex-direction: row;
    text-align: left;
    height: 50px;
    overflow-x: auto;
    white-space: nowrap;
    font-size: 150%;
  }

  .leftOpts {
    border-radius: 10px 10px 0px 0px;
  }

  .rightOpts {
    border-radius: 0px 0px 10px 10px;
  }

  .picture {
    -webkit-order: -1;
    order: -1;
    align-self: center;
  }
}
