/*
*
* Questionnaire styles
*
* 2022-04-21
*
*
*/


.header {

}
.header img {

}

@media (max-width: 767px) {
  .header {

  }
}

/* basics */
html,
body {
  font-size: 14px;
  font-family: var(--f-main);
  color: var(--c-body);
  line-height: 1.3;
  background-color: var(--c-body-bg);
}
.wrapper {
  margin: 0;
  padding: 0px;
}
.base {
  margin: 0 auto;
  max-width: 960px;
  padding: 0px;
}
.sheet {
  background-color: var(--c-sheet-bg);
  border: 1px solid var(--c-sheet-bg);
  min-height: 500px;
  margin-top: 0px;
  margin-bottom: 50px;
  border-radius: 3px !important;
}
.headerx {
}
.intro-img {
  float: right;
  vertical-align: top !important;
  width: 50%;
  margin-left: 10px;
}
.intro-spacer {
  padding-top: 50px !important;
}
h2 {
  font-weight: normal;
  font-size: 12px);
}
h3 {
  font-weight: normal;
  font-size: 17px);
}
a, a:visited {
  color: #007faf;
}
a:hover, a:focus {
  color: #00729d;
}
hr {
  border-color: #ffffff;
  border: none;
  height: 1em;
}
ul {
  list-style-position: inside;
  margin-left: 0;
  padding-left: 0;
}

/* Questions */
.quest-question {
  color: var(--c-question);
  font-family: var(--f-quest);
  font-size: 18px;
  margin-bottom: 8px;
}
.quest-extension {
  color: var(--c-question);
  font-family: var(--f-quest);
  font-size: 14px;
  margin-bottom: 8px;
  width: 90%;
}

.div-quest p .quest-extension {
  color: var(--c-question);
}

/* Submit Button */
.btn {
  position: relative;
  display: block;
  margin: 30px auto;
  padding: 0;
  overflow: hidden;
  border-width: 0;
  outline: none;
  border-radius: 500px;
  // box-shadow: 0 1px 4px rgba(0, 0, 0, .6);
  background-color: #1991EE;
  color: #ffffff;
  font-size: 14px;
  transition: background-color .3s;
}
.btn:hover, .btn:focus {
  /* background-color: calc(#0a73d6*.5); */
  color: #000000;
  background-color: #BEE0FA;
}
.btn > * {
  position: relative;
}
.btn span {
  display: block;
  padding: 12px 24px;
}
.btn:before {
  content: "";
  position: absolute;
  top: 50%;
  left: 50%;
  display: block;
  width: 0;
  padding-top: 0;
  border-radius: 100%;
  background-color: rgba(236, 240, 241, .3);
  -webkit-transform: translate(-50%, -50%);
  -moz-transform: translate(-50%, -50%);
  -ms-transform: translate(-50%, -50%);
  -o-transform: translate(-50%, -50%);
  transform: translate(-50%, -50%);
}
.btn:active:before {
  width: 120%;
  padding-top: 120%;
  transition: width .2s ease-out, padding-top .2s ease-out;
}

/* Tootip */
.tooltip-inner {
  color: var(--c-tooltip);
  text-align: left;
  font-size: 1.1em;
  background: var(--c-tooltip-bg);
  box-shadow: 0px 0px 4px var(--c-td-drop-shadow);
  max-width: 250px;
  opacity: 1 !important;
}

/* Forms */
.form-control {
  font-size: 14px;
  color: #000000;
}
input.form-control,
textarea {
  margin-top: 5px !important;
  background-color: var(--c-textarea-bg);
}
textarea {
  width: 100%;
  border: 1px solid var(--c-textarea-border);
  box-shadow: none;
}
.table-blank input[type="text"],
.table-quest input[type="text"] {
  padding: 2px 5px;
  height: 26px;
  box-shadow: none;
}
.table-blank textarea,
.table-quest textarea {
  box-shadow: none;
}
.table-blank select,
.table-quest select {
  padding: 3px 5px;
  height: 30px;
  background-color: var( --c-select);
  border: var(--c-form-check-input-border-color);
  border-radius: 10px;
}
.form-control,
.form-control:focus,
.form-control:active {
  box-shadow:none;
  border-color: #ffffff;
}
label {
  font-weight: normal;
  margin-bottom: 0px;
  cursor: pointer;
}
.radio > label > input,
.radio-inline > label > input,
.checkbox > label > input,
.checkbox-inline > label > input {
  margin-top: 0px;
}
.table-nominal .radio > label > input,
.table-nominal .radio-inline > label > input,
.table-nominal .checkbox > label > input,
.table-nominal .checkbox-inline > label > input {
  margin-right: 8px;
}
/*.checkbox-inline input[type="checkbox"],
.radio-inline input[type="radio"] {
  width: 1.2em;
  margin-right: 5px;
}*/
.checkbox-inline ,
.radio-inline {
  vertical-align: top !important;
}
.radio input[type="radio"],
.radio-inline input[type="radio"],
.checkbox input[type="checkbox"],
.checkbox-inline input[type="checkbox"] {
  /* position: relative; */
  float: left;
  line-height: 1.428;
}
.form-check-input {
  font-size: 16pt;
  margin-top: 0px;
  background-color: var(--c-form-check-input-bg-color);
  border: var(--c-form-check-input-border-color);
}
.form-check-input:checked {
  background-color: var(--c-form-check-input-checked-bg-color);
  border-color: var(--c-form-check-input-checked-border-color);
}
.form-div {
  padding: 40px;
}
.survey-header-results {
  padding: 40px 0 15px;
}
.no-border {
  border-width: 0px !important;
}

.quest-div {
  margin-bottom: 50px;
}
.footer {
  color: var(--c-body);
  font-size: 14px;
  padding-top: 15px;
}
.footer a,
.footer a:hover {
  color: #000000;
}

/* Progress bar */
.progress {
  height: 8px;
  width: 50%;
  margin-left: 25%;
  margin-right: 25%;
  margin-bottom: 25px;
}
.progress-bar {
  background-color: var(--c-progress-bg);
}

/* Tables */
.table thead > tr > th,
.table tbody > tr > th,
.table tfoot > tr > th,
.table thead > tr > td,
.table tbody > tr > td,
.table tfoot > tr > td {
  vertical-align: middle;
  line-height: 1.5;
}
.table thead > tr > th {
  border: none;
  vertical-align: bottom;
}
.table-blank {
  width: 100%;
}
.table-quest,
.table-white {
  margin-bottom: 0px;
}
.table-quest > thead > tr > th,
.table-white > thead > tr > th {
  text-align: center;
  font-weight: normal;
}
.table-blank > thead > tr > th,
.table-blank > tbody > tr > td {
  padding: 5px 8px;
  border: none;
}
.table-quest > thead > tr > th {
  border: none;
  padding: 5px 2px;
}
.table-blank > tbody > tr > td,
.table-quest > tbody > tr > td {
  border: none;
  padding: 10px 10px;
  min-height: 30px;
}
.table-empty > tbody > tr > td {
  border: none;
  padding: 0px 20px 0px 0px;
  height: 20px;
}
.table-empty > tbody > tr > td:last-child {
  padding-right: 0px;
}
/*.table-quest > thead > tr > th,
.table-quest > tbody > tr > td {
  border-top:2px solid #ffffff;
  border-right: 3px solid #ffffff;
}*/
.table-white > thead > tr > th,
.table-white > tbody > tr > td {
  background-color: #ffffff;
  border-right: 3px solid #f5f5f5;
  border-bottom: 3px solid #f5f5f5;
}
/*.table-quest > tbody > tr:nth-child(2n+1) > td {
  background-color: #eeeeee;
}
.table-quest > tbody > tr:nth-child(2n+1) > td.table-quest-dark {
  background-color:  #eeeeee;
}
.table-quest > tbody > tr:nth-child(2n+1) > td > input:-moz-placeholder,
.table-quest > tbody > tr:nth-child(2n+1) > td > textarea:-moz-placeholder {
  color: #e1e1e1;
}*/
.table-quest-control {
  background-color: transparent !important;
  text-align: center;
  max-width: 40px;
  width: 40px;
}
.show-responsive {
  display: none;
}
.text-center.no-padding:hover {
  cursor:default;
  background-image:none;
}

.table-nominal tbody tr:hover td,
.table-quest td.text-center:hover,
td.table-quest-dark:hover,
.table-quest > tbody > tr:nth-child(2n+1) > td.table-quest-dark:hover {
cursor:pointer;
background: var(--c-td-hover) !important;
}

input[type="radio"],
input[type="checkbox"]{
  cursor:pointer;
}

.quest-div, .quest-div label:hover {
  color: #000000;
  font-family: 14px;
}

.table-nominal, .table-scale, .table-text {
  border-collapse: separate !important;
  border-spacing:0 10px;
  width: 100%;
  border: none;
}
.table-quest tr>td {
  padding-bottom: 10px;
}
.table-quest tbody tr:hover {
  filter: drop-shadow(3px 3px 4px var(--c-td-drop-shadow));
}
.table-quest td {
  padding-top: 12px;
  padding-bottom: 12px;
  text-align: left;
}
.table-nominal td , .table-text td, .table-select td  {
  background-image: var(--c-nominal-gradient);
}
.table-scale td {
  background-image: var(--c-scale-gradient);
}
.table-quest, .table-scale {
  border-collapse: collapse;
  border: none;
}

.table-scale td:first-child {
  border-radius: 10px 0 0 10px;
}
.table-scale td:last-child {
  border-radius: 0 10px 10px 0;
  }
.table-nominal td, .table-text td, .table-select td  {
    border-radius: 10px 10px;
  }



/* scaling questionnaire down */

@media (max-width: 767px) {
  .base {
    width: 100%;
  }
  .sheet {
    height: auto; margin: 0px; border: none !important; border-width: 0 !important; border-radius: 0px;
  }
  .form-div {
    padding: 20px 10px;
  }
  .sheet > .form-div {
    padding: 10px; min-height: 400px; padding-top: 20px;
  }
  .quest-div {
    margin-bottom: 20px;
    border: 0;
    padding: 7px;
  }
  .intro-img {
    float: right;
    vertical-align: top !important;
    width: 40% !important;
  }
  .intro-spacer {
    padding-top: 0px !important;
  }
  .pull-right {
    float: none; padding-top: 10px; width: 100% !important; text-align: center;
  }
  .pull-right .progress {
    margin: 10px auto 5px;
  }
  .pull-left {
    float: none; width: 100% !important; text-align: center;
  }
  .footer .pull-left, .footer .pull-right {
    margin: 0px !important; float: none; width: 100% !important; text-align: center;
  }
  .quest-nominal table, .quest-nominal thead, .quest-nominal tbody, .quest-nominal th, .quest-nominal td, .quest-nominal tr, 	.quest-text table, .quest-text thead, .quest-text tbody, .quest-text th, .quest-text td, .quest-text tr {
    display: inline-block; background-color: transparent !important;
  }
  .quest-scale table, .quest-scale thead, .quest-scale tbody, .quest-scale th, .quest-scale td, .quest-scale tr {
    display: inline-block; background-color: transparent !important;
  }
  .quest-nominal tr, .quest-nominal tbody, .quest-text tbody, .quest-text tr, .quest-scale tr, .quest-scale tbody {
    display: block; width:100% !important;
  }
  .quest-nominal tr, .quest-text tr, .quest-scale tr {
    display: block; width: 100%;
  }
  .quest-scale tr {
    margin-top: 5px;
  }
  .quest-scale thead {
    display:none;
  }
  .quest-scale td {
    padding-left:0px !important;
    width:100% !important;
    text-align: left !important;
    height: auto;
  }
  .quest-scale .table-scale > tbody > tr > td {
    cursor:pointer;
  }
  .quest-scale .table-scale > tbody > tr > td:nth-child(1) {
    color: var(--c-question);
    font-size: 1.1em;
    margin-top: 10px;
    background: var(--c-sheet) !important;
    cursor: default;
  }
  .table-scale tr:hover {
    filter: unset !important;
  }
  .table-scale td {
      background-image: var(--c-nominal-gradient);
      border-radius: 10px 10px !important;
      padding-top: 1px;
      margin-bottom: 10px;
  }
  .table-scale td:hover {
    filter: drop-shadow(3px 3px 4px var(--c-td-drop-shadow));
  }
  .table-scale td:nth-child(1):hover {
    filter: unset !important;
  }
  .quest-scale .table-quest-dark, .table-quest-dark {
    background-image: none !important;
  }
  .quest-scale input[type="radio"],
  .quest-scale input[type="checkbox"] {
    margin-left: 5px !important;
  }
  .quest-text table {
    width: 100% !important;
  }
  .quest-text td {
    display:block; width:100% !important; padding-left:0px !important; height: auto;
  }
  .quest-text td:nth-child(1) {
    padding-bottom:0px !important;
  }
  .quest-text td:nth-child(2) {
    padding-top:0px !important;
  }
  .quest-text p {
    margin-bottom: 5px;
  }
  .quest-text-textarea {
    margin-bottom: 5px;
  }
  .quest-nominal td {
    padding-left:0px !important; height: auto;
  }
  .quest-nominal td:nth-child(1) {
    width:auto; white-space: normal !important;
  }
  .quest-nominal td:nth-child(2) {
    display:block; width:100% !important;
    padding-top:0px !important;
  }
  .quest-nominal .table-quest > tbody > tr:nth-child(2n+1) > td > input,
  .table-quest > tbody > tr:nth-child(2n+1) > td > textarea {
    /*border-bottom: 1px solid #cccccc;*/
    border: none;
  }
  .table-quest > tbody {
    border: none;
  }
  .table-nominal td{
    min-width:100%;
  }
  .table-quest select {
    width:100% !important;
  }
  input[type="text"], textarea {
    width:100% !important;
  }
  .form-check-input {
    margin-top: 0px;
  }
  .empty-responsive {
    display:none !important;
  }
  .show-responsive {
    display: inline;
  }
  .footer {
    margin-bottom:0px;
  }
  .question-rating {
    font-size: 3.6em;
  }
}
@media (max-width: 500px) {
  .question-rating {
    font-size: 2.6em;
  }
}
@media (max-width: 340px) {
  .progress {
    width:100% !important;
  }
  .question-rating {
    font-size: 1.6em;
  }
}
