@font-face {
  font-family: 'DINMittelschriftStd'; /*a name to be used later*/
  src: url('../fonts/DINMittelschriftStd.otf'); /*URL to font*/
}

body {
  font-family: 'Arial', sans-serif;
}

.full-height {
  padding: 0.75rem;
  display: flex;
  flex-direction: column;
}

.main {
  width: 100%;
  max-width: 1200px;
  margin: 0.75rem auto;
}

p {
  margin-bottom: 0.8rem;
  line-height: 1.2;
}

.row {
  max-width: 1200px;
}

header {
  margin-top: 20px;
}

.warning {
  font-size: 20px;
  color: #f58023;
}

.error {
  font-size: 20px;
  color: red;
}

.hidden {
  display: none;
}

#wordsleft {
  margin-bottom: -20px;
}

input[type='text'],
input[type='password'],
input[type='date'],
input[type='datetime'],
input[type='datetime-local'],
input[type='month'],
input[type='week'],
input[type='email'],
input[type='number'],
input[type='search'],
input[type='tel'],
input[type='time'],
input[type='url'],
input[type='color'],
textarea {
  margin: 0 0 0.5rem 0;
}

#completion-bar {
  margin-top: 1rem;
}

.circle.filled {
  background: #f58023;
}

.circle {
  text-align: center;
  width: 30px;
  height: 30px;
  display: inline-block;
  font-size: 20px;
  color: white;
  line-height: 30px;
  background: #f5cbab;
  margin: 1px;
}

.circle.mini {
  width: 15px;
  height: 15px;
  font-size: 10px;
  line-height: 15px;
}

.results {
  font-family: 'DINMittelschriftStd', sans-serif;
}

.results .row {
  max-width: 100rem;
}

.results .logo {
  margin: 0;
}

h1,
h2,
h3,
h4,
h5,
h6 {
  font-family: 'DINMittelschriftStd', sans-serif;
  text-transform: uppercase;
}

.button {
  font-family: 'DINMittelschriftStd', sans-serif;
  text-transform: uppercase;
  padding: 0.5rem 0.5rem 0.2rem 0.5rem;
  font-size: 1.5rem;
  line-height: 1.5rem;
}

article {
  border: 1px dashed #989189;
  margin: 1rem;
  padding: 5mm;
}

header h1,
header h2 {
  margin: 0;
  line-height: 1.1;
}

header h1 {
  color: #989189;
  font-size: 26px;
}

header h2 {
  color: #0a7072;
  text-transform: none;
  font-size: 36px;
}

header h2.group-info {
  color: #989189;
}

header {
  margin-bottom: 3rem;
}

.admin-menu {
  font-size: larger;
}

#personality-characteristics h4,
#personality-characteristics h6 {
  text-transform: none;
  margin: 0;
  line-height: 1.2;
}

#personality-characteristics h5 {
  margin: 1rem 0 0 0;
}

.logo {
  max-width: 15rem;
  margin-bottom: 3rem;
}

.svg-text {
  font-size: 2rem;
  text-transform: uppercase;
  font-family: inherit;
  fill: #989189;
}

.structured {
  background: #989189;
  fill: #989189;
  stroke: #989189;
}

.expressive {
  background: #0a7072;
  fill: #0a7072;
  stroke: #0a7072;
}

footer {
  background: #0a7072;
  color: #fff;
  margin: auto -0.75rem -0.75rem;
  padding: 0 0.75rem;
  text-align: right;
  clear: both;
}

footer a,
footer a:hover,
footer a:focus,
footer a:visited {
  color: #fff;
}

.details {
  height: auto;
  margin-left: auto;
}

#theForm {
  margin-top: 4rem;
}

.instructions {
  font-size: 1rem;
  font-weight: normal;
  vertical-align: top;
  padding: 0;
}

.large-12 {
  padding-left: 0;
  padding-right: 0;
}

.alttext {
  /*color: #f58023;*/
  vertical-align: top;
  font-size: 12px;
  line-height: 1em;
  font-weight: normal;
  max-width: 80px;
  min-width: 70px;
  text-align: center;
  padding-top: 0;
  padding-left: 4px;
  padding-right: 4px;
  padding-bottom: 10px;
}

table {
  border: none;
}

table thead,
table tr:nth-of-type(even) {
  background: transparent;
}

#p_table {
  margin-bottom: 2px;
}
#p_table td {
  padding: 2px;
}

.inside {
  margin-bottom: 0.5rem;
}

.num {
  text-align: right;
}

select:focus {
  background-color: #f3f3f3;
  border-color: #999999;
  box-shadow: 0px 0px 4px 1px rgba(0, 0, 0, 0.2);
  outline: 0;
}

input[type='radio'],
input[type='checkbox'] {
  opacity: 0;
  margin: 0;
}

label + label {
  display: inline;
  font-size: 1rem;
}

.input-cell {
  text-align: right;
}

input[type='radio'] + label,
input[type='checkbox'] + label {
  clear: none;
  /* Left margin makes room for image */
  padding: 8px;
  margin: 0 7px 0 14px;

  /* Make look clickable because they are */
  cursor: pointer;

  background: url(../img/radio.png) left center no-repeat;
  background-size: cover;
}

input[type='radio']:focus + label,
input[type='checkbox']:focus + label {
  box-shadow: 0px 0px 4px 1px rgba(0, 0, 0, 0.2);
}

input[type='radio']:checked + label,
input[type='checkbox']:checked + label {
  background-image: url(../img/radio_checked.png);
}

input[type='radio']:disabled:checked + label,
input[type='checkbox']:disabled:checked + label {
  background-image: url(../img/radio_locked.png);
}

/*
input[type=radio], input[type=checkbox] {
    content:url(../img/radio.png);
    margin: 0;
    width: 18px;
    height: 18px;
    vertical-align: text-bottom;
    display:inline-block;
    padding: 0;
}
input[type=radio]:checked, input[type=checkbox]:checked {
    content:url(../img/radio_checked.png)
}
input[type=checkbox], input[type=radio] {
    text-align: center;
    margin-right: 4px;
}
*/

.icon {
  max-height: 16px;
  max-width: 16px;
  vertical-align: middle;
}

.additional-info {
  font-size: smaller;
  margin-top: 7px;
  line-height: 0.8em;
}

#final-form .inline {
  text-transform: uppercase;
}

/*Looks weird and doesn't work in IE. Still use?*/
/*table input[type="radio"] {
    -webkit-appearance: checkbox;
    -moz-appearance: checkbox;   
    -ms-appearance: checkbox;
}
*/

table thead tr th,
table tfoot tr th,
table tfoot tr td,
table tbody tr th,
table tbody tr td,
table tr td {
  line-height: 1rem;
}

#rows td {
  padding: 0;
  padding-bottom: 8px;
  vertical-align: top;
}

.alternatives.row {
  margin-top: 2rem;
  margin-bottom: 2rem;
}

@media print, only screen and (min-width: 64.063em) {
  .details {
    height: 50rem;
    margin-left: 4rem;
  }

  .details h3 {
    margin-bottom: 5rem;
  }
}

@media print {
  html,
  body {
    font-size: 7.5pt;
  }

  article {
    border: none;
    margin: 0;
    padding: 0;
    page-break-after: always;
  }

  @page {
    size: 29.7cm 21cm;
    margin: 5mm; /* change the margins as you want them to be. */
  }

  .print-ignore {
    display: none;
  }
}

.rational {
  background: #8752a1;
  fill: #8752a1;
  stroke: #8752a1;
}

.visual {
  background: #f58023;
  fill: #f58023;
  stroke: #f58023;
}

.default {
  fill: #4a4a4a;
  stroke: #4a4a4a;
  color: #4a4a4a;
}

.mid-value {
  stroke-dasharray: 5, 5;
  stroke: #4a4a4a;
  fill: none;
}

.alternating2 #rows td {
  padding-bottom: 0;
}
