/*
*
* Fittkau & Maass GmbH
*
* Questionnaire styles
*
* 14-11-2018 - 08.04.2019
*/

/* Variables
*
* color: #000000; schwarz
* a_c: #007faf; blau
* a_hover_c: #00729d; blau
* tdhover_c: #d6d7d8 ;
* progress-bar_c: #000066;
*
*/


.header {
  height: 80px; 
  width: 100%; 
  background: #fffff; 
  margin-top: 0;
}
.header img {
  height: 75px; 
  display: block;
  margin-top: 15px;
  margin-left: auto;
  margin-right: auto;
  }

@media (max-width: 767px) {
  .header {
    margin-top: 0;
  }
}



/* basics */
html,
body {
  font-size: 14px;
  color: #000000;
  line-height: 1.3;
  background-color: #ffffff;
}
.wrapper {
  margin: 0;
  padding: 0px;
}
.base {
  margin: 0 auto;
  max-width: 960px;
  padding: 0px;
}
.sheet {
  background-color: #ffffff;
  border: 1px solid #ffffff;
  min-height: 500px;
  margin-top: 15px;
  margin-bottom: 50px;
  border-radius: 3px !important;
}
.headerx {
}
.intro-img {
  padding: 15px 0;
}
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: #000000;
  font-family: Arial, Helvetica, Verdana, "sans-serif";;
  font-size: 17px;
  margin-bottom: 8px;
}
.quest-extension {
  color: #000000;
  font-family: Arial, Helvetica, Verdana, "sans-serif";;
  font-size: 14px;
  margin-bottom: 8px;
}

/* Submit Button */
.btn {
  position: relative;
  display: block;
  margin: 30px auto;
  padding: 0;
  overflow: hidden;
  border-width: 0;
  outline: none;
  border-radius: 3px;
  // box-shadow: 0 1px 4px rgba(0, 0, 0, .6);
  background-color: #000000;
  color: #ffffff;
  font-size: 14px;
  transition: background-color .3s;
}
.btn:hover, .btn:focus {
  /* background-color: calc(#000000*.5); */
  color: #000000;
  background-color: #e1e1e1;
}
.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;
}

/* Forms */
.form-control {
  font-size: 14px;
  color: #000000;
}
input.form-control,
textarea {
  background-color: #ffffff;
}
textarea {
  width: 100%;
  border: 1px solid #cccccc;
  box-shadow: none;
}
.table-blank input[type="text"],
.table-closed input[type="text"] {
  padding: 2px 5px;
  height: 26px;
  box-shadow: none;
}
.table-blank textarea,
.table-closed textarea {
  box-shadow: none;
}
.table-blank select,
.table-closed select {
  padding: 3px 5px;
  height: 26px;
}
.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: 3px;
}
.checkbox-inline input[type="checkbox"],
.radio-inline input[type="radio"] {
  margin-left: -20px !important;
}
.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-div {
  padding: 40px;
}
.survey-header-results {
  padding: 40px 0 15px;
}
.no-border {
  border-width: 0px !important;
}

.quest-div {
  margin-bottom: 30px;
  border-radius: 5px;
  border: 1px solid #cccccc;
  padding: 10px;
}
.footer {
  background-color: #ffffff;
  color: #000000;
  font-size: 12px);
  padding-top: 15px;
}
.footer a,
.footer a:hover {
  color: #000000;
}

/* Progress bar */
.progress {
  margin: 5px 0px 5px 0px;
  border-radius: 10px;
  height: 16px;
  width: 250px;
}
.progress-bar {
  background-color: #000000;
  //background-image: linear-gradient(to bottom, #009999, #006666);
  //background-repeat: repeat-x;
}

/* 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-closed,
.table-white {
  margin-bottom: 0px;
}
.table-closed > 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-closed > thead > tr > th {
  border: none;
  padding: 5px 2px;
}
.table-blank > tbody > tr > td,
.table-closed > tbody > tr > td {
  border: none;
  padding: 5px 8px;
  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-closed > thead > tr > th,
.table-closed > 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-closed > tbody > tr:nth-child(2n+1) > td {
  background-color: #eeeeee;
}
.table-closed > tbody > tr:nth-child(2n+1) > td.table-closed-dark {
  background-color:  #eeeeee;
}
.table-closed > tbody > tr:nth-child(2n+1) > td > input:-moz-placeholder,
.table-closed > tbody > tr:nth-child(2n+1) > td > textarea:-moz-placeholder {
  color: #e1e1e1;
}
.table-closed-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-closed td.text-center:hover,
td.table-closed-dark:hover,
.table-closed > tbody > tr:nth-child(2n+1) > td.table-closed-dark:hover {
  cursor:pointer;
  background: #d6d7d8 !important;
}
input[type="radio"],
input[type="checkbox"]{
  cursor:pointer;
}
.table-closed > thead > tr > th, .table-closed > tbody > tr > td {
  border-color:#ffffff;
}
.quest-div, .quest-div label:hover {
  color: #000000;
  font-family: 14px;
}

/* 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-radius: 5px;
    border: 1px solid #cccccc;
    padding: 7px;
  }
  .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-striped > tbody > tr > td {
    cursor:pointer;
    background: #eeeeee !important;
  }
  .quest-scale .table-striped > tbody > tr > td:nth-child(1) {
    color: #000000;
    margin-top: 10px;
    background: #ffffff !important;
  }
  .quest-scale .table-closed-dark, .table-closed-dark {
    background-image: none !important;
  }
  .quest-scale input[type="radio"],
  .quest-scale input[type="checkbox"] {
    padding-left: 0px !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-closed > tbody > tr:nth-child(2n+1) > td > input,
  .table-closed > tbody > tr:nth-child(2n+1) > td > textarea {
    border-bottom: 1px solid #cccccc;
  }
  .table-nominal td{
    min-width:100%;
  }
  input[type="text"], textarea {
    width:100% !important;
  }
  .empty-responsive {
    display:none !important;
  }
  .show-responsive {
    display: inline;
  }
  select {
    width:100% !important;
  }
  .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;
  }
}
