/*
    TWPL - based on DJANGO Admin styles
*/

@import url(fonts.css);
@import url("fontawesome-all.min.css");

/* VARIABLE DEFINITIONS */
:root {
  --primary: #00524c;
  --secondary: #5f6872;
  --accent: #00b1aa;
  --primary-fg: #fff;

  --body-fg: #333;
  --body-bg: #fff;
  --body-quiet-color: #666;
  --body-loud-color: #000;

  --header-color: #fff;
  --header-branding-color: var(--accent);
  --header-bg: var(--primary);
  --header-link-color: var(--primary-fg);

  --breadcrumbs-fg: #333;
  --breadcrumbs-link-fg: var(--body-bg);
  --breadcrumbs-bg: var(--accent);

  --link-fg: #00b1aa;
  --link-hover-color: #087;
  --link-selected-fg: #5b80b2;

  --hairline-color: #b5ddda;
  --combined-primary-hairline: #719894;
  --border-color: #dbd3c5;

  --error-fg: #e63b11;

  --message-success-bg: #dfd;
  --message-warning-bg: #ffc;
  --message-error-bg: #ffefef;

  --darkened-bg: #f8f8f8; /* A bit darker than --body-bg */
  --selected-bg: #e4e4e4; /* E.g. selected table cells */
  --selected-row: #ffc;

  --button-fg: #fff;
  --button-bg: var(--primary);
  --button-hover-bg: #609ab6;
  --default-button-bg: var(--secondary);
  --default-button-hover-bg: #205067;
  --close-button-bg: #888; /* Previously #bbb, contrast 1.92 */
  --close-button-hover-bg: #747474;
  --delete-button-bg: #e63b11;
  --delete-button-hover-bg: #a42505;

  --object-tools-fg: var(--button-fg);
  --object-tools-bg: var(--close-button-bg);
  --object-tools-hover-bg: var(--close-button-hover-bg);
}

html, body {
    height: 100%;
}

body {
    margin: 0;
    padding: 0;
    font-size: 14px;
    font-family: "Roboto","Lucida Grande","DejaVu Sans","Bitstream Vera Sans",Verdana,Arial,sans-serif;
    color: var(--body-fg);
    background: var(--body-bg);
}

body.report {
    display: flex;
    justify-content: center;
    background: var(--darkened-bg);
}

.home-hero {
    background-image: url('hero_color.jpg');
    height: 100%;
    background-position: top;
    background-repeat: no-repeat;
    background-size: cover;
}

/* LINKS */

a:link, a:visited {
    color: var(--link-fg);
    text-decoration: none;
    transition: color 0.15s, background 0.15s;
}

a:focus, a:hover {
    color: var(--link-hover-color);
}

a.hover-black:focus, a.hover-black:hover {
    color: #000;
}
a.hover-black:visited {
    color: var(--header-link-color);
}

a:focus {
    text-decoration: underline;
}

a img {
    border: none;
}

a.section:link, a.section:visited {
    color: var(--header-link-color);
    text-decoration: none;
}

a.section:focus, a.section:hover {
    text-decoration: underline;
}

a.plain {
    color: var(--body-fg);
}

a.plain:hover, a.plain:focus {
    color: var(--link-hover-color);
}

/* GLOBAL DEFAULTS */

p, ol, ul, dl {
    margin: .2em 0 .8em 0;
}

p {
    padding: 0;
    line-height: 140%;
}

h1,h2,h3,h4,h5 {
    font-weight: bold;
}

h1 {
    margin: 0 0 20px;
    font-weight: 300;
    font-size: 20px;
    color: var(--body-quiet-color);
}

h2 {
    font-size: 24px;
    margin: 1em 0 .5em 0;
}

h2.subhead {
    font-weight: normal;
    margin-top: 0;
}

h3 {
    font-size: 16px;
    margin: .8em 0 .3em 0;    
    color: var(--body-quiet-color);
    font-weight: bold;
}

h4 {
    font-size: 14px;
    margin: 1em 0 .8em 0;
    padding-bottom: 3px;
}

h5 {
    font-size: 12px;
    margin: 1.5em 0 .5em 0;
    color: var(--body-quiet-color);
    text-transform: uppercase;
    letter-spacing: 1px;
}

h2.group-header {
    font-size: 12px !important;
    margin: 1.5em 0 .5em 0 !important;
    color: var(--body-quiet-color);
    text-transform: uppercase;
    letter-spacing: 1px !important;
    padding: 2px 2px 2px 16px !important;
}

ul > li {
    list-style-type: square;
    padding: 1px 0;
}

li ul {
    margin-bottom: 0;
}

li, dt, dd {
    font-size: 13px;
    line-height: 20px;
}

dt {
    font-weight: bold;
    margin-top: 4px;
}

dd {
    margin-left: 0;
}

form {
    margin: 0;
    padding: 0;
}

fieldset {
    margin: 0;
    min-width: 0;
    padding: 0;
    border: none;
    border-top: 1px solid var(--hairline-color);
}

blockquote {
    font-size: 11px;
    color: #777;
    margin-left: 2px;
    padding-left: 10px;
    border-left: 5px solid #ddd;
}

code, pre {
    font-family: "Bitstream Vera Sans Mono", Monaco, "Courier New", Courier, monospace;
    color: var(--body-quiet-color);
    font-size: 12px;
    overflow-x: auto;
}

pre.literal-block {
    margin: 10px;
    background: var(--darkened-bg);
    padding: 6px 8px;
}

code strong {
    color: #930;
}

hr {
    clear: both;
    color: var(--hairline-color);
    background-color: var(--hairline-color);
    height: 1px;
    border: none;
    margin: 0;
    padding: 0;
    font-size: 1px;
    line-height: 1px;
}

.mydelete {
    background-color: var(--delete-button-bg) !important;
    color:white;
}
.mydelete:hover {
    background-color: var(--delete-button-hover-bg) !important;
}

label.mylabel {
    font-weight:bold;
}

/* TEXT STYLES & MODIFIERS */

.small {
    font-size: 11px;
}

.mini {
    font-size: 10px;
}

.help, p.help, form p.help, div.help, form div.help, div.help li {
    font-size: 11px;
    color: var(--body-quiet-color);
}

div.help ul {
     margin-bottom: 0;
}

.help-tooltip {
    cursor: help;
}

p img, h1 img, h2 img, h3 img, h4 img, td img {
    vertical-align: middle;
}

.quiet, a.quiet:link, a.quiet:visited {
    color: var(--body-quiet-color);
    font-weight: normal;
}

.clear {
    clear: both;
}

.nowrap {
    white-space: nowrap;
}

.hidden {
    display: none;
}

.full-width {
    width: 100%;
}

.accent {
    color: var(--accent);
    font-weight: bold;
}
.primary {
    color: var(--primary);
}

.warning {
    color: #e63;
}


/* TABLES */

table {
    border-collapse: collapse;
    border-color: var(--border-color);
}

td, th {
    font-size: 13px;
    line-height: 16px;
    border-bottom: 1px solid var(--hairline-color);
    vertical-align: top;
    padding: 8px;
}

th {
    font-weight: 600;
    text-align: left;
}

thead th,
tfoot td {
    color: var(--body-quiet-color);
    padding: 5px 10px;
    font-size: 11px;
    background: var(--body-bg);
    border: none;
    border-top: 1px solid var(--hairline-color);
    border-bottom: 1px solid var(--hairline-color);
}

tfoot td {
    border-bottom: none;
    border-top: 1px solid var(--hairline-color);
}

thead th.required {
    color: var(--body-loud-color);
}

tr.alt {
    background: var(--darkened-bg);
}

tr:nth-child(odd), .row-form-errors {
    background: var(--body-bg);
}

tr:nth-child(even),
tr:nth-child(even) .errorlist,
tr:nth-child(odd) + .row-form-errors,
tr:nth-child(odd) + .row-form-errors .errorlist {
    background: var(--darkened-bg);
}

table.org span.helptext {
    display:block;
}

/* no-borders table */
table.no-borders {
    border: none;
}
table.no-borders tr,
table.no-borders tr:nth-child(even),
table.no-borders tr:nth-child(odd) {
    border: none;
    background: var(--body-bg);
    vertical-align:middle;
}
table.no-borders td,
table.no-borders th {
    border: none;
    vertical-align:middle;
}
.text-right {
    text-align:right;
}

table.matrix-filter td {
    padding: 0em 0.5em;
    vertical-align: middle;
    width: 80%;
}

table.matrix-filter th {
    padding: 0em 0.5em;
    vertical-align:middle;
    text-align: right;
}
table.matrix-filter select {
    width: 100%;
}

/* SIMPLE TABLE */

table.simple {
    border: 2px solid var(--primary);
}
table.simple td,
table.simple th {
    border: 1px solid var(--hairline-color);
}
table.simple tr,
table.simple tr:nth-child(even),
table.simple tr:nth-child(odd) {
    background: var(--body-bg);
}


/* QUESTION ASSIGMENT MATRIX TABLE */

table.qa {
    border: 2px solid var(--primary);
}
table.qa td,
table.qa th {
    border: 1px solid var(--hairline-color);
}
table.qa thead {
    border-bottom: 2px solid var(--primary);
}
table.qa th.count {
    border-right: 1px solid var(--primary);
}

table.qa th.names {
    text-align: center;
    cursor: help;
    min-width: 2em;
}

table.qa th.short_q,
table.qa th.dimensions {
    cursor: help;
}

table.qa th.full_q {
    font-size: 11px;
    max-width: 500px;
}

table.qa > tbody > tr > th {
    font-weight: normal;
}

.qa td:hover {
    background: var(--link-fg);
    cursor: crosshair;
}

.qa td.selected {
    background: var(--primary);
    color: var(--primary-fg);
}

.count {
    font-weight: bolder !important;
    text-align: center;
    color: #00b1aa !important;
    font-size: 10px;
}

table.qa .short_q {
    display: none;
}

table.qa th.alt {
    background-color: var(--primary);
    color: var(--primary-fg);
}

span.mtx-copy:hover,
span.mtx-paste:hover {
    cursor:pointer;
    color: var(--primary);
}
span.mtx-paste { display: none;}

th.mtx-copied {
    background-color: #ff9999 !important;
}
td.mtx-copied {
    background-color: #ffcccc !important;
}

td.mtx-copied.selected {
    background-color: #55222c !important;
}

/* SORTABLE TABLES */

thead th {
    padding: 5px 10px;
    line-height: normal;
    text-transform: uppercase;
    background: var(--darkened-bg);
}

thead th a:link, thead th a:visited {
    color: var(--body-quiet-color);
}

thead th.sorted {
    background: var(--selected-bg);
}

thead th.sorted .text {
    padding-right: 42px;
}

table thead th .text span {
    padding: 8px 10px;
    display: block;
}

table thead th .text a {
    display: block;
    cursor: pointer;
    padding: 8px 10px;
}

table thead th .text a:focus, table thead th .text a:hover {
    background: var(--selected-bg);
}

thead th.sorted a.sortremove {
    visibility: hidden;
}

table thead th.sorted:hover a.sortremove {
    visibility: visible;
}

table thead th.sorted .sortoptions {
    display: block;
    padding: 9px 5px 0 5px;
    float: right;
    text-align: right;
}

table thead th.sorted .sortpriority {
    font-size: .8em;
    min-width: 12px;
    text-align: center;
    vertical-align: 3px;
    margin-left: 2px;
    margin-right: 2px;
}

table thead th.sorted .sortoptions a {
    position: relative;
    width: 14px;
    height: 14px;
    display: inline-block;
    background: url(../img/sorting-icons.svg) 0 0 no-repeat;
    background-size: 14px auto;
}

table thead th.sorted .sortoptions a.sortremove {
    background-position: 0 0;
}

table thead th.sorted .sortoptions a.sortremove:after {
    content: '\\';
    position: absolute;
    top: -6px;
    left: 3px;
    font-weight: 200;
    font-size: 18px;
    color: var(--body-quiet-color);
}

table thead th.sorted .sortoptions a.sortremove:focus:after,
table thead th.sorted .sortoptions a.sortremove:hover:after {
    color: var(--link-fg);
}

table thead th.sorted .sortoptions a.sortremove:focus,
table thead th.sorted .sortoptions a.sortremove:hover {
    background-position: 0 -14px;
}

table thead th.sorted .sortoptions a.ascending {
    background-position: 0 -28px;
}

table thead th.sorted .sortoptions a.ascending:focus,
table thead th.sorted .sortoptions a.ascending:hover {
    background-position: 0 -42px;
}

table thead th.sorted .sortoptions a.descending {
    top: 1px;
    background-position: 0 -56px;
}

table thead th.sorted .sortoptions a.descending:focus,
table thead th.sorted .sortoptions a.descending:hover {
    background-position: 0 -70px;
}

/* FORM DEFAULTS */

input, textarea, select, .form-row p, form .button {
    margin: 2px 0;
    padding: 2px 3px;
    vertical-align: middle;
    font-family: "Roboto", "Lucida Grande", Verdana, Arial, sans-serif;
    font-weight: normal;
    font-size: 14px;
}
.form-row div.help {
    padding: 2px 3px;
}

textarea {
    vertical-align: top;
}

input[type=text], input[type=password], input[type=email], input[type=url],
input[type=number], input[type=tel], textarea, select, .vTextField {
    border: 1px solid var(--border-color);
    border-radius: 4px;
    padding: 5px 6px;
    margin-top: 0;
    color: var(--body-fg);
    background-color: var(--body-bg);
}

input[type=text]:focus, input[type=password]:focus, input[type=email]:focus,
input[type=url]:focus, input[type=number]:focus, input[type=tel]:focus,
textarea:focus, select:focus, .vTextField:focus {
    border-color: var(--body-quiet-color);
}

select {
    height: 30px;
}

select[multiple] {
    /* Allow HTML size attribute to override the height in the rule above. */
    height: auto;
    min-height: 150px;
}

/* FORM BUTTONS */

.button, input[type=submit], input[type=button], .submit-row input, a.button {
    background: var(--button-bg);
    padding: 10px 15px;
    border: none;
    border-radius: 4px;
    color: var(--button-fg);
    cursor: pointer;
    transition: background 0.15s;
}

.button.alt, input[type=button].alt {
    background: var(--secondary);
}

a.button {
    padding: 4px 5px;
}

.button:active, input[type=submit]:active, input[type=button]:active,
.button:hover, input[type=submit]:hover, input[type=button]:hover {
    background: var(--button-hover-bg);
}

.button[disabled], input[type=submit][disabled], input[type=button][disabled] {
    opacity: 0.4;
}

.button.default, input[type=submit].default, .submit-row input.default {
    float: right;
    border: none;
    font-weight: 400;
    background: var(--default-button-bg);
}

.button.default:active, input[type=submit].default:active,
.button.default:focus, input[type=submit].default:focus,
.button.default:hover, input[type=submit].default:hover {
    background: var(--default-button-hover-bg);
}

.button[disabled].default,
input[type=submit][disabled].default,
input[type=button][disabled].default {
    opacity: 0.4;
}


/* MODULES */

.module {
    border: none;
    margin-bottom: 30px;
    background: var(--body-bg);
}

.module p, .module ul, .module h3, .module h4, .module dl, .module pre {
    padding-left: 10px;
    padding-right: 10px;
}

.module blockquote {
    margin-left: 12px;
}

.module ul, .module ol {
    margin-left: 1.5em;
}

.module h3 {
    margin-top: .6em;
}

.module h2, .module caption, .inline-group h2 {
    margin: 0;
    padding: 8px;
    font-weight: 400;
    font-size: 13px;
    text-align: left;
    background: var(--primary);
    color: var(--header-link-color);
}

.module caption,
.inline-group h2 {
    font-size: 12px;
    letter-spacing: 0.5px;
    text-transform: uppercase;
}

.module table {
    border-collapse: collapse;
}

/* MESSAGES & ERRORS */

ul.messagelist {
    padding: 0;
    margin: 0;
}

ul.messagelist li {
    display: block;
    font-weight: 400;
    font-size: 13px;
    padding: 10px 10px 10px 65px;
    margin: 0 0 10px 0;
    background: var(--message-success-bg) url(../img/icon-yes.svg) 40px 12px no-repeat;
    background-size: 16px auto;
    color: var(--body-fg);
}

ul.messagelist li.warning {
    background: var(--message-warning-bg) url(../img/icon-alert.svg) 40px 14px no-repeat;
    background-size: 14px auto;
}

ul.messagelist li.error {
    background: var(--message-error-bg) url(../img/icon-no.svg) 40px 12px no-repeat;
    background-size: 16px auto;
}

.errornote {
    font-size: 14px;
    font-weight: 700;
    display: block;
    padding: 10px 12px;
    margin: 0 0 10px 0;
    color: var(--error-fg);
    border: 1px solid var(--error-fg);
    border-radius: 4px;
    background-color: var(--body-bg);
    background-position: 5px 12px;
    overflow-wrap: break-word;
}

ul.errorlist {
    margin: 0 0 4px;
    padding: 0;
    color: var(--error-fg);
    background: var(--body-bg);
}

ul.errorlist li {
    font-size: 13px;
    display: block;
    margin-bottom: 4px;
    overflow-wrap: break-word;
}

ul.errorlist li:first-child {
    margin-top: 0;
}

ul.errorlist li a {
    color: inherit;
    text-decoration: underline;
}

td ul.errorlist {
    margin: 0;
    padding: 0;
}

td ul.errorlist li {
    margin: 0;
}

.form-row.errors {
    margin: 0;
    border: none;
    border-bottom: 1px solid var(--hairline-color);
    background: none;
}

.form-row.errors ul.errorlist li {
    padding-left: 0;
}

.errors input, .errors select, .errors textarea,
td ul.errorlist + input, td ul.errorlist + select, td ul.errorlist + textarea {
    border: 1px solid var(--error-fg);
}

.description {
    font-size: 12px;
    padding: 5px 0 0 12px;
}

/* BREADCRUMBS */

div.breadcrumbs {
    background: var(--breadcrumbs-bg);
    padding: 10px 40px;
    border: none;
    color: var(--breadcrumbs-fg);
    text-align: left;
}

div.breadcrumbs a {
    color: var(--breadcrumbs-link-fg);
}

div.breadcrumbs a:focus, div.breadcrumbs a:hover {
    color: var(--breadcrumbs-fg);
}

/* ACTION ICONS */

.viewlink, .inlineviewlink {
    padding-left: 16px;
    background: url(../img/icon-viewlink.svg) 0 1px no-repeat;
}

.addlink {
    padding-left: 16px;
    background: url(../img/icon-addlink.svg) 0 1px no-repeat;
}

.changelink, .inlinechangelink {
    padding-left: 16px;
    background: url(../img/icon-changelink.svg) 0 1px no-repeat;
}

.deletelink {
    padding-left: 16px;
    background: url(../img/icon-deletelink.svg) 0 1px no-repeat;
}

a.deletelink:link, a.deletelink:visited {
    color: #CC3434; /* XXX Probably unused? */
}

a.deletelink:focus, a.deletelink:hover {
    color: #993333; /* XXX Probably unused? */
    text-decoration: none;
}

/* OBJECT TOOLS */

.object-tools {
    font-size: 10px;
    font-weight: bold;
    padding-left: 0;
    float: right;
    position: relative;
    margin-top: -48px;
}

.object-tools li {
    display: block;
    float: left;
    margin-left: 5px;
    height: 16px;
}

.object-tools a {
    border-radius: 15px;
}

.object-tools a:link, .object-tools a:visited {
    display: block;
    float: left;
    padding: 3px 12px;
    background: var(--object-tools-bg);
    color: var(--object-tools-fg);
    font-weight: 400;
    font-size: 11px;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

.object-tools a:focus, .object-tools a:hover {
    background-color: var(--object-tools-hover-bg);
}

.object-tools a:focus{
    text-decoration: none;
}

.object-tools a.viewsitelink, .object-tools a.addlink {
    background-repeat: no-repeat;
    background-position: right 7px center;
    padding-right: 26px;
}

.object-tools a.viewsitelink {
    background-image: url(../img/tooltag-arrowright.svg);
}

.object-tools a.addlink {
    background-image: url(../img/tooltag-add.svg);
}

/* OBJECT HISTORY */

table#change-history {
    width: 100%;
}

table#change-history tbody th {
    width: 16em;
}

/* PAGE STRUCTURE */

#container {
    position: relative;
    width: 100%;
    min-width: 980px;
    padding: 0;
    display: flex;
    flex-direction: column;
    height: 100%;
}

#container > div {
    flex-shrink: 0;
}

#container > .main {
    display: flex;
    flex: 1 0 auto;
}

.main > .supercontent {  /* saulo added */
    flex:  1 1 auto;
    max-width: 100%;
}

.main > .content {
    flex:  1 0;
    max-width: 100%;
    display: flex;  /* saulo added this! */
}

#content {
    padding: 20px 40px;
}

.dashboard #content {
    width: 600px;
}

#content-main {
    float: left;
    width: 100%;
}

#content-related {
    float: right;
    width: 260px;
    position: relative;
    margin-right: -300px;
}

#footer {
    clear: both;
    padding: 10px;
}

/* COLUMN TYPES */

.colMS {
    margin-right: 300px;
}

.colSM {
    margin-left: 300px;
}

.colSM #content-related {
    float: left;
    margin-right: 0;
    margin-left: -300px;
}

.colSM #content-main {
    float: right;
}

.popup .colM {
    width: auto;
}


/* INTERVIEW SCREEN */
#content.interview  {
    padding: 20px 40px;
    display: flex;
    width: auto;
    align-items: flex-start;
    gap: 30px;
    margin:0px;
}

#interview-main {
    flex: 3 3;
}

#interview-main-no-source {
    flex: 2 2;
    display: none;
}

#interview-side {
    flex: 1 1;
}

.cols {
    display:flex;
    gap: 20px;
}

.question-divs {
    display:flex;
    flex-wrap: wrap;
    align-content: flex-start;
    justify-content: flex-start;
    gap: 0.3em;
    margin-bottom: 1.2em;
}

.question-divs > div {
    width: 1em;
    height: 1em;
    border-radius: 0.5em;
    background: var(--secondary);
    margin: 0.1em;
    cursor: pointer;
}

.question-divs > div.new-dim::before {
    content: ".";
    display:inline-block;
    -webkit-transform: translateX(-0.35em);
    -ms-transform: translateX(-0.35em);
    transform: translateX(-0.35em);
}
.question-divs > div.new-group::before {
    content: "|";
    display:inline-block;
    -webkit-transform: translateX(-0.35em);
    -ms-transform: translateX(-0.35em);
    transform: translateX(-0.35em);
}

.question-divs > div.answered { background: var(--primary); }
.question-divs > div.unanswered { background: darkred; }
.question-divs > div.unassigned.answered { background: #99d599;}
.question-divs > div.unassigned.unanswered { background: #ddd; }
.question-divs > div.current {
    background: #00b1aa !important;
    border: 0.3em solid black;
    border-radius: 0.6em !important;
    width: 0.6em !important;
    height: 0.6em !important;
    margin: 0em !important;
}

/* Two State Switch */
.switch {
    position: relative;
    display: inline-block;
    width: 2em;
    height: 1em;
}
.switch input {
  opacity: 0;
  width: 0;
  height: 0;
}
.slider {
    position: absolute;
    cursor: pointer;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background-color: #ccc;
    -webkit-transition: .4s;
    transition: .4s;
    border-radius: 0.5em;
}
.slider:before {
  position: absolute;
  content: "";
  height: 0.8em;
  width: 0.8em;
  left: .12em;
  bottom: .08em;
  background-color: white;
  -webkit-transition: .4s;
  transition: .4s;
  border-radius: 0.5em;
}

input:checked + .slider {
  background-color: var(--primary);
}

input:focus + .slider {
  box-shadow: 0 0 1px var(--primary);
}

input:checked + .slider:before {
  -webkit-transform: translateX(.95em);
  -ms-transform: translateX(.95em);
  transform: translateX(.95em);
}
/* end of Two State Switch*/

h3.question {
    color:black;
}

div.answers {
    display: flex;
    justify-content: center;
}

table.answers {
    margin-top: 24px;
    margin-bottom: 24px;
    max-width: 800px;
    border: 2px solid var(--primary);
}

table.answers td,
table.answers th {
    vertical-align:middle;
    font-size: 13px;
    line-height: 16px;
    border-bottom: 1px solid var(--hairline-color);
    border-top: 1px solid var(--hairline-color);
    padding: 8px;
    background-color: var(--body-bg);
}

table.answers > tbody > tr.selected > td {
    background-color: var(--primary);
    color: var(--primary-fg);
}
table.answers > tbody > tr:hover td {
    background-color: var(--hairline-color) !important;
    color: var(--body-fg);
    cursor:pointer;
}
table.answers > tbody > tr.selected:hover td {
    background-color: var(--combined-primary-hairline) !important;
    color: var(--primary-fg);    
}
table.answers td.scale-label {
    min-width: 24px;
    text-align: center;
    font-weight: bold;
}

textarea.interview {
    width:100%;
    height: 160px;
    border-color: #333;
}

.loading-overlay {
    width: 100%;
    height: 100%;
    position: fixed;
    top: 0;
    right: 0;
    bottom: 0;
    left: 0;
    background-color: rgba(0,0,0,.5);
    display: flex;
    justify-content: center;
    align-items: center;
}

.loading-overlay > div {
    color: var(--primary);
    text-align: center;
}

.saving {
    display:none;
}

/* TARGET PROFILE EDIT */

input.target {
    font-weight: bold;
    color: var(--primary);
    text-align: right;
    width: 7em;
}
input.weight {
    font-weight: regular;
/*    color: var(--primary);*/
    text-align: right;
    width: 7em;
}


/* REVIEW SCREEN */

.dimension-divs {
    /*font-size: .85em;*/
    display:flex;
    flex-wrap: wrap;
    align-content: flex-start;
    align-items: center;
    justify-content: flex-start;
    gap: 0.3em;
    margin-bottom: 0.5em;
}

.dimension-divs > a > div {
    height: 1.5em;
    line-height: 1.5em;
    border-radius: .3em;
    background: var(--secondary);
    color:var(--primary-fg);
    margin: .2em .3em;
    padding: .2em .3em;
    cursor: pointer;
}
.dimension-divs > a > div:hover {
    background: var(--accent);
}
.dimension-divs > a > div.reviewed {
    background: var(--primary);
    color:var(--primary-fg);
}
.dimension-divs > a > div.current {
    background: var(--accent);
    color:black;
    border: .2em solid black;
    margin: 0em .1em;
}
.dimension-divs > a > div.final {
    padding: 0.5em 1em;
}

td.target {
    font-size: large;
    font-weight: bold;
    color:#bbb;
    text-align: right;
}
td.dim-weight {
    font-size: small;
    color:#bbb;
    text-align: right;
}
.result {
    font-size: large;
    font-weight: bold;
    color: var(--primary);
    text-align: right;
}

.result > input {
    font-size: large;
    font-weight: bold;
    color: var(--primary);
    text-align: right;
    border: 2px solid var(--primary);
    
}

input[type=checkbox] {
    accent-color: var(--primary);
}

table.detailed-answers {
    border: 2px solid var(--primary);
    margin: 1.5em;
    width: 100%;
}
table.detailed-answers td,
table.detailed-answers th {
    border: 1px solid var(--hairline-color);
}
table.detailed-answers thead {
    border-bottom: 2px solid var(--primary);
}
table.detailed-answers thead th {
    text-transform: none;
    font-size: large;
}

table.detailed-answers td.infosource          { width: 20%;}
table.detailed-answers td.infosource-answer   { width: 10%;}
table.detailed-answers td.infosource-response { width: 55%;}
table.detailed-answers td.weight              { width: 15%;}

/*.question-divs > div.answered { background: var(--primary); }
.question-divs > div.unanswered { background: darkred; }
.question-divs > div.unassigned.answered { background: darkgreen; }
.question-divs > div.unassigned.unanswered { background: var(--secondary); }
.question-divs > div.current {
    background: #00b1aa !important;
    border: 3px solid black;
    border-radius: 6px !important;
    width: 6px !important;
    height: 6px !important;
    margin: 1px !important;
}
*/

/* ASSESSMENT RESULTS SCREEN */



/* HEADER */

#header {
    width: auto;
    height: auto;
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 10px 40px;
    background: var(--header-bg);
    color: var(--header-color);
    overflow: hidden;
}

#header a:link, #header a:visited {
    color: var(--header-link-color);
}

#header a:focus , #header a:hover {
    text-decoration: underline;
}

#branding {
    float: left;
}

#branding h1 {
    padding: 0;
    margin: 0 20px 0 0;
    font-weight: 300;
    font-size: 24px;
    color: var(--accent);
}

#branding h1, #branding h1 a:link, #branding h1 a:visited {
    color: var(--accent);
}

#branding h2 {
    padding: 0 10px;
    font-size: 14px;
    margin: -8px 0 8px 0;
    font-weight: normal;
    color: var(--header-color);
}

#branding a:hover {
    text-decoration: none;
}

#user-tools {
    float: right;
    padding: 0;
    margin: 0 0 0 20px;
    font-weight: 300;
    font-size: 11px;
    letter-spacing: 0.5px;
    text-transform: uppercase;
    text-align: right;
}

#user-tools a {
    border-bottom: 1px solid rgba(255, 255, 255, 0.25);
}

#user-tools a:focus, #user-tools a:hover {
    text-decoration: none;
    border-bottom-color: var(--primary);
    color: var(--primary);
}

/* SIDEBAR */

#content-related {
    background: var(--darkened-bg);
}

#content-related.with-padding > div {
    padding: 0 10px;
}

#content-related .module {
    background: none;
}

#content-related h3 {
    color: var(--body-quiet-color);
    padding: 0 16px;
    /* margin: 0 0 16px; */
    margin: 1em 0 .5em 0;
}

#content-related h4 {
    font-size: 13px;
}

#content-related p {
    padding-left: 16px;
    padding-right: 16px;
}

#content-related .actionlist {
    padding: 0;
    margin: 16px;
}

#content-related .actionlist li {
    line-height: 1.2;
    margin-bottom: 10px;
    padding-left: 18px;
}

#content-related .module h2 {
    background: none;
    padding: 16px;
    margin-bottom: 16px;
    border-bottom: 1px solid var(--hairline-color);
    font-size: 18px;
    color: var(--body-fg);
}

.delete-confirmation form input[type="submit"] {
    background: var(--delete-button-bg);
    border-radius: 4px;
    padding: 10px 15px;
    color: var(--button-fg);
}

.delete-confirmation form input[type="submit"]:active,
.delete-confirmation form input[type="submit"]:focus,
.delete-confirmation form input[type="submit"]:hover {
    background: var(--delete-button-hover-bg);
}

.delete-confirmation form .cancel-link {
    display: inline-block;
    vertical-align: middle;
    height: 15px;
    line-height: 15px;
    border-radius: 4px;
    padding: 10px 15px;
    color: var(--button-fg);
    background: var(--close-button-bg);
    margin: 0 0 0 10px;
}

.delete-confirmation form .cancel-link:active,
.delete-confirmation form .cancel-link:focus,
.delete-confirmation form .cancel-link:hover {
    background: var(--close-button-hover-bg);
}

/* POPUP */
.popup #content {
    padding: 20px;
}

.popup #container {
    min-width: 0;
}

.popup #header {
    padding: 10px 20px;
}


/* ASSESSMENT DASHBOARD */
          
div.status {
    text-align:center;
    min-width:60px;
    width:12.5%;
    border: none; /* lightgray 1px;*/
    padding: 3px;
    margin: 0 3px 0 3px;
    border-radius:5px;
}

.status-row {
    display: flex;
    flex-wrap: wrap;
    box-sizing: border-box;
    align-items: stretch;
    margin-bottom: 1em;
    margin-left: 36px;
    min-width: 500px;
    max-width: 800px;
}

.status-row > * {
    box-sizing: border-box;    
    justify-content: center;
}

.status > p {
    margin-bottom: 0px;
    line-height:1.2em;
}

.status > p.legend {
    font-weight:bold;
    font-size:0.7em;
    text-align:left;
    margin-bottom: -0.3em;
}
 
.status.done > i {
    color: var(--primary);
}
.status.current > i {
    color: var(--primary);
}
.status.current-late > i {
    color: #ff6666;
}
.status.future > i {
    color: gray;
}
.status.future-late > i {
    color: #ffaaaa;
}


/* OFFLINE SYNC SCREEN */

.sync-title {
    font-size:medium;
}
.sync-org {
    font-size:large;
    font-weight: bold;
    color: var(--primary);
}
.sync-datetime {
    font-size:small;
    color: var(--body-quiet-color);
}

table.sync td {
    vertical-align: middle;
}


/* /////////////////////////// */



.fa-2x {
font-size: 2em;
}
.fa {
position: relative;
display: table-cell;
width: 60px;
height: 36px;
text-align: center;
vertical-align: middle;
font-size:20px;
}


.main-menu:hover,nav.main-menu.expanded {
width:220px;
overflow:visible;
margin-right: -160px;
}

.main-menu {
flex: 0 0 auto;
background:#212121;
border-right:0px solid #e5e5e5;
position:sticky;
top:0;
bottom:0;
height:100%;
left:0;
width:60px;
overflow:hidden;
-webkit-transition:width .05s linear, margin-right 0.05s linear;
transition:width .05s linear, margin-right 0.05s linear;
-webkit-transform:translateZ(0) scale(1,1);
z-index:1000;
}

.main-menu>ul {
    margin:0px 0;
    padding: 20px 0;
}

.main-menu li {
position:relative;
display:block;
width:220px;
}

.main-menu  li.selected>a {
color:var(--accent);
}


.main-menu li>a {
position:relative;
display:table;
border-collapse:collapse;
border-spacing:0;
color:#ccc;
 font-family: Roboto, arial;
font-size: 14px;
text-decoration:none;
-webkit-transform:translateZ(0) scale(1,1);
-webkit-transition:all .1s linear;
transition:all .1s linear;
  
}

.main-menu .nav-icon {
position:relative;
display:table-cell;
width:60px;
height:36px;
text-align:center;
vertical-align:top;
font-size:18px;
}

.main-menu .nav-text {
position:relative;
display:table-cell;
vertical-align:middle;
width:160px;
  font-family: 'Roboto', sans-serif;
}

.main-menu>ul.logout {
position:absolute;
left:0;
bottom:0;
}

.main-menu .logout-btn {
position:relative;
display:table;
border-collapse:collapse;
border-spacing:0;
color:#ccc;
background: transparent;
border: none;
cursor: pointer;
font: inherit;
padding: 0;
width: 100%;
text-align: left;
font-family: 'Roboto', sans-serif;
text-decoration: none;
}

.main-menu .logout-btn:hover {
color:#fff;
background-color:var(--accent);
}

.no-touch .scrollable.hover {
overflow-y:hidden;
}

.no-touch .scrollable.hover:hover {
overflow-y:auto;
overflow:visible;
}

a:hover,a:focus {
text-decoration:none;
}

nav {
-webkit-user-select:none;
-moz-user-select:none;
-ms-user-select:none;
-o-user-select:none;
user-select:none;
}

nav ul,nav li {
outline:0;
margin:0;
padding:0;
}
.main-menu li:hover>a,nav.main-menu li.active>a,.dropdown-menu>li>a:hover,.dropdown-menu>li>a:focus,.dropdown-menu>.active>a,.dropdown-menu>.active>a:hover,.dropdown-menu>.active>a:focus,.no-touch .dashboard-page nav.dashboard-menu ul li:hover a,.dashboard-page nav.dashboard-menu ul li.active a {
color:#fff;
background-color:var(--accent);
}
.area {
float: left;
background: #e2e2e2;
width: 100%;
height: 100%;
}
@font-face {
  font-family: 'Roboto';
  font-style: normal;
  font-weight: 300;
}


/*********************************************************/

.selector h2 {
    margin-bottom:0px;
    font-size: 12px;
}

progress {
  border-radius: 1em; 
  width: 100%;
  max-width: 600px;
  height: 1em;
/*  margin-left: -11.5%; */
  box-shadow: 1px 1px 4px rgba( 0, 0, 0, 0.2 );
}
progress::-webkit-progress-bar {
  background-color: lightgray;
  border-radius: 1em;
}
progress::-webkit-progress-value {
  background-color: var(--primary);
  border-radius: 1em;
/*  box-shadow: 1px 1px 5px 3px rgba( 255, 0, 0, 0.8 );*/
}
progress::-moz-progress-bar {
  /* style rules */
}
progress.review {
  border-radius: 1em; 
  width: 100%;
  max-width: 300px;
  height: 0.5em;
/*  margin-left: -11.5%; */
  box-shadow: 1px 1px 4px rgba( 0, 0, 0, 0.2 );
}
