input[type='number']::-webkit-outer-spin-button,
input[type='number']::-webkit-inner-spin-button {
  -webkit-appearance: none;
  margin: 0;
}

/*Hidden and hidden text*/
.hidden_div {
  display: none !important;
  margin: 0px !important;
  padding: 0px !important;
  border: 0px !important;
}

input[type='number'] {
  -moz-appearance: textfield;
}

input {
  /*-webkit-appearance: none;*/
  border-radius: 0;
  padding: 1px;
  border: 1px solid #b2b2b2;
}

select,
textarea,
input[type='text'],
input[type='password'],
input[type='datetime'],
input[type='datetime-local'],
input[type='date'],
input[type='month'],
input[type='time'],
input[type='week'],
input[type='number'],
input[type='email'],
input[type='url'],
input[type='search'],
input[type='tel'],
input[type='color'] {
  font-size: 16px;
  outline: none;
}

/* Hiding the main datasave */

.page_time,
.page_straightLine,
.unique_response {
  display: none;
}

/* Font Adjustments */

em {
  font-size: 12px;
  color: #555;
}

strong {
  color: #575757;
}

/* BASIC PAGE LAYOUT */

html {
  height: 100%;
  -webkit-text-size-adjust: none; /* Prevent font scaling in landscape */
}

body {
  margin: 0;
  padding: 0;
  height: 100%;
  background-image: url(../images/background.png);
  background-size: 150px 150px;
  font-family: helvetica, arial;
  font-size: 14px;
  line-height: 130%;
  color: #444;
}

.container {
  width: 768px;
  min-height: 100%;
  background: #fff;
  margin: 0 auto;
  box-shadow: 0 0 10px rgba(0, 0, 0, 0.1);
  position: relative;
}

/* Header */

.header {
  height: 90px;
  background: #fff;
  border-bottom: 1px solid #dcddde;
}

.logo {
  width: 184px;
  height: 80px;
  float: left;
  margin-left: 36px;
  margin-top: 5px;
  margin-bottom: 5px;
  background-repeat: no-repeat;
  background-position: center;
  background-size: contain;
}

.progress_block {
  float: right;
  margin-right: 36px;
}

.progress_percent {
  font-size: 11px;
  line-height: 100%;
  color: #858585;
  float: right;
  margin: 39px 8px 0 0;
  float: left;
}

.progress_bar {
  width: 184px;
  height: 8px;
  background-color: #e5e5e5;
  margin-top: 41px;
  float: left;
}

.progress {
  width: 184px;
  height: 8px;
  background-color: #b2b2b2;
}

/* Footer + Arrow */

.hidden_block {
  height: 221px;
}

.next {
  width: 96px;
  height: 60px;
  position: absolute;
  bottom: 131px;
  left: 50%;
  margin-left: -48px;
  cursor: pointer;
  background-color: #fff;
  background-repeat: no-repeat;
  background-position: center;
  background-size: contain;
  background-image: url('../images/next.png');
  transition: background-color 0.1s ease;
}

.back {
  width: 96px;
  height: 60px;
  bottom: 131px;
  margin: 10px auto;
  cursor: pointer;
  background-color: #fff;
  background-image: url('../images/back.png');
}

.footerblock {
  width: 100%;
  height: 100px;
  position: absolute;
  bottom: 0;
  display: table;
  font-size: 10px;
  text-align: center;
  border-top: 1px solid #dcddde;
  background-color: #fff;
}

.footertext {
  display: table-cell;
  vertical-align: middle;
}

.footer A {
  color: blue;
}

/* For putting space between Questions */

.question_divider {
  height: 18px;
}

.question_divider2 {
  height: 8px;
  width: 100%;
}

/* Red border */

.question {
  margin: 0px 28px 10px 28px;
  padding: 4px;
  overflow: auto;
  border: 4px solid white;
  transition: border-color 0.5s ease;
}

.warned {
  border-color: #c61d38 !important;
}

/* Basic Text */

.textblock {
  margin: 18px 36px 10px 36px;
  overflow: auto;
}

.firsttextblock {
  margin: 0px 36px 10px 36px;
  overflow: auto;
}
/* 480px layout */

@media screen and (max-width: 767px) {
  .container {
    width: 100%;
  }

  /* Header */

  .header {
    height: 44px;
  }

  .logo {
    width: 92px;
    height: 40px;
    margin-left: 8px;
    margin-top: 2px;
    margin-bottom: 2px;
  }

  .progress_block {
    margin-right: 8px;
  }

  .progress_percent {
    margin-top: 16px;
  }

  .progress_bar {
    width: 150px;
    margin-top: 18px;
  }

  /* Footer + Arrow */

  .hidden_block {
    height: 171px;
  }

  .next {
    bottom: 101px;
  }

  .footerblock {
    height: 75px;
  }

  /* Red border */

  .question {
    margin: 0px 2px 10px 2px;
    padding: 4px 2px 4px 2px;
  }

  /* Basic text */

  .textblock {
    margin: 10px 8px 10px 8px;
  }

  .firsttextblock {
    margin: 0px 8px 10px 8px;
  }
}

/* 320 px max */

@media screen and (max-width: 479px) {
  .container {
    width: 100%;
  }

  /* Header */

  .progress_percent {
    display: none;
  }

  .progress_bar {
    width: 118px;
  }

  .next {
    bottom: 111px;
  }
}

@media only screen and (-webkit-min-device-pixel-ratio: 2) {
  .next {
    background-image: url(../images/next2x.png);
  }
}

.thickbox {
  border-radius: 5px;
  cursor: pointer;
  transition: 0.3s;
}

.modal {
  display: none;
  /* Hidden by default */
  position: fixed;
  /* Stay in place */
  z-index: 1000;
  /* Sit on top */
  padding-top: 100px;
  /* 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.2);
  /* Black w/ opacity */
}

.modal-content {
  margin: auto;
  display: block;
  position: fixed;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  max-width: 95%;
  max-height: 95%;
}

#caption {
  margin: auto;
  display: block;
  width: 80%;
  max-width: 700px;
  text-align: center;
  color: #ccc;
  padding: 10px 0;
  height: 150px;
}

@keyframes zoom {
  from {
    transform: scale(0);
  }
  to {
    transform: scale(1);
  }
}

.close {
  position: absolute;
  top: 24px;
  right: 35px;
  color: #f1f1f1;
  font-size: 40px;
  font-weight: bold;
  transition: 0.3s;
}

@media screen and (max-width: 768px) {
  .close {
    top: 54px;
    right: 12px;
  }
}

@media screen and (min-width: 768px) and (max-width: 900px) {
  .close {
    top: 24px;
    right: 8px;
  }
}

.close:hover,
.close:focus {
  color: #bbb;
  text-decoration: none;
  cursor: pointer;
}
