
/** Primary styles **/

body { font-family: "Helvetica Neue", Helvetica, Arial, sans-serif; font-weight: 400; }
.top-nav-links, .side-nav, h1, h2, h3, h4, h5, h6 { font-family: "Raleway", sans-serif; }
h1, h2, h3, h4, h5, h6 { font-weight: 400; color: #363637; }

a { color:#2f85ae; -webkit-transition:all 0.2s linear; transition:all 0.2s linear; }
a:hover, a:focus, a:active { color:#2a6496; -webkit-transition:all 0.2s easeout; transition:all 0.2s ease-out; }

.side-nav a, .top-nav-links a, th a, .actions a { color: #606c76; }
.side-nav a:hover, .side-nav a:focus, .actions a:hover, .actions a:focus { color:#2f85ae; }
.table-responsive { display: block; width: 100%; overflow-x: auto; -webkit-overflow-scrolling: touch; }

body { background: #f5f7fa; }
.content { padding: 2rem; background: #ffffff; border-radius: 0.4rem; box-shadow: 0 7px 14px 0 rgba(60, 66, 87, 0.1), 0 3px 6px 0 rgba(0, 0, 0, 0.07); }
.actions a { font-weight: bold; padding: 0 0.4rem; }
th { white-space: nowrap; }

.top-nav { display: flex; align-items: center; justify-content: space-between; max-width: 112rem; padding: 2rem; margin: 0 auto 2rem; }
.top-nav-title a { font-size: 2.4rem; color: #d33c43; }
.top-nav-title span { color: #404041; }
.top-nav-links a { margin: 0 0.5rem; }
.top-nav-title a, .top-nav-links a { font-weight: bold; }

.side-nav-item { display: block; padding: 0.5rem 0; }
.view.content .text { margin-top: 1.2rem; }
.related { margin-top: 2rem; }

.message { padding: 1rem; background: #eff8ff; color: #2779bd; border-color: #6cb2eb; border-width: 1px; border-style: solid; border-radius: 4px; margin-bottom: 2rem; }
.message.hidden { display: none; }
.message.success { background: #e3fcec; color: #1f9d55; border-color: #51d88a; }
.message.error { background: #fcebea; color: #cc1f1a; border-color: #ef5753; }

.input.radio, .input.checkbox { margin-bottom: 2.0rem; }
.input.radio input, .input.checkbox input { margin: 0; }
.input.radio label, .input.checkbox label { margin: 0; display: flex; align-items: center; }
.input.radio label > input, .input.checkbox label > input { margin-right: 1.0rem; }
.input.radio label:first-of-type { margin-bottom: 2.0rem; }

.paginator { text-align: right; }
.pagination { display: flex; justify-content: center; list-style: none; padding: 0; margin: 0 0 1rem; }
.pagination li { margin: 0 0.5rem; }
.prev.disabled a, .next.disabled a { cursor: not-allowed; color: #606c76; }
.asc:after { content: " \2193"; }
.desc:after { content: " \2191"; }

.error-container { align-items: center; display: flex; flex-direction: column; height: 100vh; justify-content: center; }

@media screen and (max-width: 640px) {
    .top-nav { margin: 0 auto; }
    .side-nav { margin-bottom: 1rem; }
    .heading { margin-bottom: 1rem; }
    .side-nav-item { display: inline; margin: 0 1.5rem 0 0; }
    .asc:after { content: " \2192"; }
    .desc:after { content: " \2190"; }
}

/* */

/** General default styles **/

input,
button,
select,
textarea {
    border-radius: 0 !important; /* override milligram's rounded corners */
}

.content {
    border-radius: 0 !important; /* override Cake default */
}

.main > .container { 
    max-width: 95%; /* max-width: 125rem; */ 
    margin-top: 2.1rem;
} 
@media (max-width: 40rem) {
    .main > .container {
        max-width: 97%; /* max-width: 125rem; */ 
        padding: 0.3rem 0;
    }
    .main > .content {
        padding: 0.8rem 1rem;
    }
}

.row .column.column-0 { flex: 0 0 0%; max-width: 0%; }
.row .column.column-1 { flex: 0 0 1%; max-width: 1%; }
.row .column.column-2 { flex: 0 0 2%; max-width: 2%; }
.row .column.column-3 { flex: 0 0 3%; max-width: 3%; }
.row .column.column-4 { flex: 0 0 4%; max-width: 4%; }
.row .column.column-5 { flex: 0 0 5%; max-width: 5%; }
.row .column.column-6 { flex: 0 0 6%; max-width: 6%; }
.row .column.column-7 { flex: 0 0 7%; max-width: 7%; }
.row .column.column-8 { flex: 0 0 8%; max-width: 8%; }
.row .column.column-9 { flex: 0 0 9%; max-width: 9%; }
.row .column.column-12 { flex: 0 0 12%; max-width: 12%; }
.row .column.column-14 { flex: 0 0 14%; max-width: 14%; }
.row .column.column-15 { flex: 0 0 15%; max-width: 15%; }
.row .column.column-16 { flex: 0 0 16%; max-width: 16%; }
.row .column.column-18 { flex: 0 0 18%; max-width: 18%; }
.row .column.column-30 { flex: 0 0 30%; max-width: 30%; }
.row .column.column-35 { flex: 0 0 35%; max-width: 35%; }
.row .column.column-45 { flex: 0 0 45%; max-width: 45%; }
.row .column.column-55 { flex: 0 0 55%; max-width: 55%; }
.row .column.column-65 { flex: 0 0 65%; max-width: 65%; }
.row .column.column-75 { flex: 0 0 75%; max-width: 75%; }
.row .column.column-85 { flex: 0 0 85%; max-width: 85%; }
.row .column.column-95 { flex: 0 0 95%; max-width: 95%; }
.row div.column { /* outline: 1px dotted #fd4; outline-offset: -1px; */ }
@media (max-width: 60rem) {
    .row.row-break {
        flex-direction: column;
    }
    .row.row-break > .column {
        min-width: 100%;
    }
    .row.row-break-hide {
        display: none;
    }
    .break-hide {
        display: none;
    }
}
@media (max-width: 40rem) {
    .row .column {
        min-width: 100%;
        /* color: #fbc; */
    }
}

div.inline-space-5 > div { display: inline-block; width: calc(100% - 5rem); }
div.inline-space-8 > div { display: inline-block; width: calc(100% - 8rem); }
div.inline-space-10 > div { display: inline-block; width: calc(100% - 10rem); }
div.inline-space-12 > div { display: inline-block; width: calc(100% - 12rem); }
div.inline-space-15 > div { display: inline-block; width: calc(100% - 15rem); }
div.inline-space-20 > div { display: inline-block; width: calc(100% - 20rem); }
div.inline-space-25 > div { display: inline-block; width: calc(100% - 25rem); }
div.inline-space-30 > div { display: inline-block; width: calc(100% - 30rem); }
div.inline-space-40 > div { display: inline-block; width: calc(100% - 40rem); }
div.inline-space-50 > div { display: inline-block; width: calc(100% - 50rem); }

table td { vertical-align: top; }

.hide { display: none; }
.hide-not { display: inherit; }

a {
    font-weight: bold;
    padding: 0 0.1rem; /* ?? */
}
a.link-not-allowed {
    text-decoration: line-through; 
}
ul.links {
    list-style: none;
}
ul.links li::before {
  content: "➤ ";
  font-size: 80%;
  /* color: #7ec; */
}

/** General text styles **/

.tk-valign-top { vertical-align: top; }

.tk-valign-middle { vertical-align: middle; }

.tk-valign-bottom { vertical-align: bottom; }

div.center-text {
    text-align: center;
}

.nowrap {
    white-space: nowrap;
}

.faded {
    opacity: 0.55;
}

p.newline-break {
    line-height: 2.25rem;
    margin-top: 0.8rem;
    margin-bottom: 0.9rem;
}
span.newline-break {
    line-height: 1.6rem;
}

.flex-line-break {
    width: 100%;
}

/** General form styles **/

.input .checkbox label {
    font-weight: normal;
    margin-bottom: inherit;
}

.input .checkbox input {
    margin-right: 0.8rem;
}

.input .checkbox, 
.input .form-nesting-label, 
.input .radio-or-checkbox-label, 
.input.radio label:nth-child(n+2) {
    display: inline-block;
    width: 180px;
    letter-spacing: -0.02rem;
    margin-top: 0.3rem;
    margin-bottom: 0.2rem;
    line-height: 0.8;
}

.input div.checkbox:last-child {
    margin-bottom: 1.1rem;
}

.input {
    margin-top: 0.5rem;
}
.input.text {
    margin-bottom: 1.2rem;
}
.input.radio, .input.checkbox {
    margin-bottom: 1rem;
}
.input textarea {
    max-width: 100%;
}

select,
select[multiple="multiple"] {
    height: unset;
}
.input .field-notes {
    height: 12rem;
}

.input .error-message li {
    margin-bottom: 0;
}

.form .form-note {
    margin-top: 1.5rem;
}

/** Colors **/

.side-nav a:hover, .side-nav a:focus, .actions a:hover, .actions a:focus {
    color: inherit; /* override Cake default */
}

.sdsu-brightred { background-color: #D41736; }
.sdsu-white-brightred {
    color: white; background-color: #D41736;
}
.sdsu-white-brightred a { color: white; }
.sdsu-white-brightred a:hover { text-decoration: underline; }

.sdsu-darkred { background-color: #A6192E; }
.sdsu-white-darkred {
    color: white; background-color: #A6192E;
}
.sdsu-white-darkred a { color: white; }
.sdsu-white-darkred a:hover { text-decoration: underline; }

.sdsu-charcoal { background-color: #2D2828; }
.sdsu-white-charcoal {
    color: white; background-color: #2D2828;
}
.sdsu-white-charcoal a { color: white; }
.sdsu-white-charcoal a:hover { text-decoration: underline; }

.sdsu-black { background-color: black; }
.sdsu-white-black {
    color: white; background-color: black;
}
.sdsu-white-black a { color: white; }
.sdsu-white-black a:hover { text-decoration: underline; }

.sdsu-brightteal { background-color: #00A39D; }
.sdsu-white-brightteal {
    color: white; background-color: #00A39D;
}
.sdsu-white-brightteal a { color: white; }
.sdsu-white-brightteal a:hover { text-decoration: underline; }

.sdsu-darkteal { background-color: #008080; }
.sdsu-white-darkteal {
    color: white; background-color: #008080;
}
.sdsu-white-darkteal a { color: white; }
.sdsu-white-darkteal a:hover { text-decoration: underline; }

.sdsu-lightgray { background-color: #CDCDC8; }
.sdsu-black-lightgray {
    color: black; background-color: #CDCDC8;
}
.sdsu-black-lightgray a { color: black; }
.sdsu-black-lightgray a:hover { text-decoration: underline; }

.sdsu-white { background-color: white; }
.sdsu-black-white {
    color: black; background-color: white;
}
.sdsu-black-white a { color: black; }
.sdsu-black-white a:hover { text-decoration: underline; }

body {
    color: #2D2828; /* .sdsu-charcoal */
    background-color: #f4f4f4; 
}

input { /* Form input */
    background-color: white; /* inherit; */
}
.input {
    color: #2D2828; /* .sdsu-charcoal */
}

.logo-nav .column { /* Logo and links on top */
    background-color: white; /* .sdsu-white */
}
.logo-nav .right-nav { /* Links on top */
    color: black; background-color: white; /* .sdsu-black-white */
}
.logo-nav .right-nav a { /* Links on top */
    color: black; /* .sdsu-black */
}
.logo-nav .right-nav a:hover { /* Links on top */
    text-decoration: underline;
}

.pic-cha { /* Captcha */
    color: white; background-color: #00A39D; /* .sdsu-white-brightteal */
}
.pic-cha ul {
    color: black; 
    background-color: #f4f4f4; /* body background-color */
}
.pic-cha li {
    color: black; 
    background-color: #f4f4f4; /* body background-color */
}
.pic-cha .pic-cha-selected {
    outline: 0.3rem double #2D2828; /* .sdsu-charcoal */
}

.main-menu .menu-item { /* Menu and sub-menu */
    color: white; background-color: #2D2828; /* .sdsu-white-charcoal */
}
.main-menu .menu-item:hover,
.main-menu .menu-item.active:hover {
    color: white; background-color: #00A39D; /* .sdsu-white-brightteal */
}
.main-menu .link-not-allowed .menu-item:hover {
    color: white; background-color: #2D2828; /* .sdsu-white-charcoal */
}
.main-menu .menu-item.active {
    background-color: #008080; /* .sdsu-darkteal */
}

.sub-menu, 
.sub-menu a { 
    color: black; 
}
.sub-menu .menu-item {
    color: black; background-color: #CDCDC8;
}
.sub-menu-0 .menu-item,
.sub-menu-1 .menu-item,
.sub-menu-2 .menu-item,
.sub-menu-3 .menu-item { 
    color: black; background-color: #CDCDC8;
}
.sub-menu .active .menu-item { 
    color: white; background-color: #008080; /* .sdsu-darkteal */
}
.sub-menu .menu-item:hover,
.sub-menu .menu-item.active:hover {
    color: white; background-color: #00A39D; /* .sdsu-white-brightteal */
}

/* .message .success { color: #bfc; }
.message .error { color: #fbc; }
.message .warning { color: #feb; } */
.message.success {
    /* color: #008080; .sdsu-darkteal */
    color: #008673; 
}
.message.error {
    /* color: #A6192E; .sdsu-darkred */
    color: #B92334;
}
.message.warning { 
    color: #a62; 
    background: #feb;
    border-color: #db8;
}

@keyframes highlight { /* Form element highlighting */
    0% { background-color: none; }
    50% { background-color: rgb(155, 220, 200);  }
    100% { background-color: none; }
}
.highlight-10 {
    animation: highlight 1.0s;
}
.highlight-15 {
    animation: highlight 1.5s;
}
.highlight-20 {
    animation: highlight 2.0s;
}
.highlight {
    animation: highlight 2.5s;
}

.button, button, input[type="button"], input[type="reset"], input[type="submit"] {
    border: none; /* override milligram.js */
    border-radius: 0;
    background-color: inherit;
    border-color: none;
}
.button:focus, .button:hover, button:focus, button:hover {
    background-color: inherit;
    border-color: none;
}

.button, button, 
input[type="button"], input[type="reset"], input[type="submit"] {
    --text-color: white;
    --bg-color: #00A39D; /* .sdsu-white-brightteal */
    --hover-bg-color: black;

    color: var(--text-color);
    background-color: var(--bg-color);
    border-color: transparent;
    /* box-shadow: inset 0.4rem 0 0 0 black; */
    transition: color 0.3s ease, background-color 0.3s ease;
    position: relative;
    /* overflow: hidden; */
    z-index: 1;
    cursor: pointer;
}
.button::before, button::before, 
input[type="button"]::before, input[type="reset"]::before, input[type="submit"]::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 0.4rem;
    height: 100%;
    background-color: var(--hover-bg-color);
    transition: width 0.3s ease;
    z-index: -1;
}
.button:hover, button:hover, 
input[type="button"]:hover, input[type="reset"]:hover, input[type="submit"]:hover {
    color: var(--text-color);
    background-color: var(--bg-color);
}
.button:hover::before, button:hover::before, 
input[type="button"]:hover::before, input[type="reset"]:hover::before, input[type="submit"]:hover::before {
    width: 100%;
}
.button:focus, button:focus, 
input[type="button"]:focus, input[type="reset"]:focus, input[type="submit"]:focus {
    color: var(--text-color);
    background-color: var(--bg-color);
}

.button-brightteal {
    --bg-color: #00A39D; /* .sdsu-brightteal */
    --hover-bg-color: black;
}
.button-darkred {
    --bg-color: #A6192E;  /* .sdsu-darkred */
    --hover-bg-color: black;
}
.button-white-darkred {
    --text-color: #A6192E; /* .sdsu-darkred */
    --bg-color: white;
    --hover-bg-color: #A6192E;
}
.button-white-black {
    --text-color: #A6192E;  /* .sdsu-darkred */
    --bg-color: white;
    --hover-bg-color: black;
}

.button-danger {
    /* background-color: #d13; border-color: #d13; */
    --bg-color: #D41736;  /* .sdsu-darkred */
    --hover-bg-color: #A6192E; /* .sdsu-brightred */
}
.button-danger:hover {
    /* background-color: #a01; border-color: #a01; */
    --bg-color: #D41736;  /* .sdsu-darkred */
    --hover-bg-color: #A6192E; /* .sdsu-brightred */
}
.button-cancel {
    /* background-color: #777; border-color: #777; */
    --bg-color: #777;
    --hover-bg-color: black;
}

.content > h3 {
    color: #D41736;  /* .sdsu-brightred */
}
.content > h3 > a {
    color: #D41736;  /* .sdsu-brightred */
}
.content > h3 > strong a {
    color: black;  /* .sdsu-black */
}

.content.index > h3 { /* Index pages */
    color: white;
    background-color: #A6192E;  /* .sdsu-white-darkred */
    padding: 0.8rem 1.6rem;
    width: calc(100% - 18rem);
    font-weight: bold;
    margin-left: -0.2rem;
}
.content.index > h3 > a,
.content.index > h3 > strong a {
    color: white;
}
.content.index > h3 > a:hover,
.content.index > h3 > strong a:hover { /* Index pages */
    text-decoration: underline;
}

.content .paginator,
.content .paginator a {
    color: #D41736;  /* .sdsu-brightred */
}
.content .paginator a:hover { /* Index pages */
    text-decoration: underline;
}
.content .paginator .disabled a {
    color: #CDCDC8;  /* .sdsu-lightgray */
}

.index .row.header a, /* Index pages */
.index .table-responsive th a {
    color: #D41736;  /* .sdsu-darkred */
}
.index .row.header a:hover, /* Index pages */
.index .table-responsive th a:hover { /* TagValues index */
    text-decoration: underline;
}
.index .row.line { /* Index pages */
    color: #2D2828;;  /* .sdsu-charcoal */
}
.index .row.line a,
.index .row.secondary a { /* Index pages */
    color: black;  /* .sdsu-black */
}
.index .row.line a:hover,
.index .row.secondary a:hover { /* Index pages */
    text-decoration: underline;
}
.index .table-responsive td a { /* TagValues index */
    color: black;  /* .sdsu-black */
}
.index .table-responsive td a:hover {
    text-decoration: underline;
}
.index div.row.line {
    border-top: 1px solid #CDCDC8;  /* .sdsu-lightgray */
}
.index div.row-break-hide,
.index div.row-break.secondary {
    background-color: transparent;
    border-top: 1px dotted #CDCDC8;  /* .sdsu-lightgray */
}
@media (max-width: 60rem) {
    .index div.row-break > .column-50:nth-of-type(2n) {
        background-color: transparent;
        border-top: 1px dotted #CDCDC8;  /* .sdsu-lightgray */
    }
}
@media (max-width: 40rem) {
    .content > h3,
    .content > h3 > a,
    .content > h3 > strong a {
        font-size: 2.5rem;
    }
}

.courses.index .row-break.line > .column:first-child .column:nth-of-type(2) { /* Courses index */
    /* font-weight: bold; */
    color: black;
    text-shadow: 0 0 0 #000; /* semi-bold hint */
}

.index .tagvalues-quickscan a, /* Quickscan for TagValues and Charlies */
.index .charlies-quickscan a {
    color: #D41736;  /* .sdsu-darkred */
}
.index .tagvalues-quickscan a:hover,
.index .charlies-quickscan a:hover {
    text-decoration: underline;
}

.content .error-message {
    color: #D41736;  /* .sdsu-darkred */
}

.view.content .text a,
.edit.content .input a { /* View and edit pages */
    color: black;  /* .sdsu-black */
}
.view.content .text a:hover,
.edit.content .input a:hover {
    text-decoration: underline;
}

.view.content .text b,
.view.content .text strong,
.edit.content .input b,
.edit.content .input strong { /* View and edit pages */
    color: #2D2828;  /* .sdsu-charcoal */
    letter-spacing: -0.005rem;
}

.content > form > h3 { /* Edit pages */
    color: #D41736;  /* .sdsu-darkred */
}
.edit.content .fileup-file-wrapper a.button { /* File upload elements */
    color: white;  /* .sdsu-white */
}
.edit.content .fileup-file-wrapper a.button:hover {
    text-decoration: none;
}
.edit.content .fileup-file-wrapper .dz-choose:hover,
.fileup-image-wrapper .dz-image > .dz-choose:hover { /* File upload elements */
    text-decoration: underline;
}


.dashboard > h3 { /* Dashboard */
    color: white;
    background-color: #A6192E;  /* .sdsu-white-darkred */
    padding: 0.8rem 1.6rem;
    font-weight: bold;
    margin-left: -0.2rem;
}
.dashboard .pending-tests ul li::before { /* Dashboard */
    color: #D41736;  /* .sdsu-darkred */
}
.dashboard .pending-tests li a {
    color: #D41736;  /* .sdsu-darkred */
}
.dashboard .pending-tests li a:hover {
    text-decoration: underline;
}
.dashboard .scores-tests-list a {
    color: #008080; /* .sdsu-darkteal */
}
.dashboard .scores-tests-list a:hover {
	text-decoration: underline;
}

.takes.edit .field-choices,
.takes.edit .field-sequence,
.takes.edit pre { /* Takes edit page */
    color: white; background-color: #2D2828; /* .sdsu-white-charcoal */
}

.takes.reset pre { /* Takes reset page */
    background-color: black;
    color: white;
}
.takes.reset .input a { /* Takes reset page */
    color: black;  /* .sdsu-black */
}
.takes.reset .input a:hover {
    text-decoration: underline;
}

.takes .warn-text { /* Takes workflow */
    color: #D41736;  /* .sdsu-darkred */
}
.takes.info .button-submit,   .takes.info a.button-ok,
.takes.resume .button-submit, .takes.resume a.button-ok,
.takes.check .button-submit,  .takes.check a.button-ok,
.takes.start .button-submit,  .takes.start a.button-ok,
.takes.choices .button-submit,  .takes.choices a.button-ok,
.takes.prompt .button-submit, .takes.prompt a.button-ok,
.takes.review .button-submit, .takes.review a.button-ok,
.takes.review #button-proceed, .takes.review a#button-proceed,
.takes.denied .button-submit, .takes.denied a.button-ok,
.takes.end .button-submit,    .takes.end a.button-ok {
    --bg-color: #A6192E;  /* .sdsu-darkred */
    --hover-bg-color: black; /* Takes workflow uses red buttons */
}
.takes.review #button-repeat, .takes.review a#button-repeat {
    --bg-color: #2D2828; /* #777; */
    --hover-bg-color: #A6192E;  /* .sdsu-darkred */
}

.takes.info h3 { /* Takes info */
    color: #D41736;  /* .sdsu-darkred */
}
.takes.check h3 { /* Takes check */
    color: #D41736;  /* .sdsu-darkred */
}
.takes.check .check-listen label,
.takes.check .check-speak label {
    color: #D41736;  /* .sdsu-darkred */
}
.takes.choices h3 { /* Takes choices */
    color: #D41736;  /* .sdsu-darkred */
}
.takes.review h3 { /* Takes review */
    color: #D41736;  /* .sdsu-darkred */
}
.takes.prompt h3 { /* Takes prompt */
    color: #D41736;  /* .sdsu-darkred */
}
.takes.denied h3 { /* Takes denied page */
    color: #D41736;  /* .sdsu-darkred */
}
.takes.end h3 { /* Takes end page */
    color: #D41736;  /* .sdsu-darkred */
}

#audio-recorder { /* Audio recorder */
	background-color: #2D2828; /* .sdsu-charcoal */
	outline: 3px solid black;
}
#audio-recorder .display-status.status-green {
    color: white;
}
#audio-recorder .display-status.status-pink {
    color: white; /* #D41736; .sdsu-brightred */
}
#audio-recorder .display-status.status-red {
    color: #A6192E;  /* .sdsu-darkred */
}
#audio-recorder .display-time {
    color: white;
}
#audio-recorder .display-meter {
    outline: 1px solid white;
}
#audio-recorder .display-level-color {
    background-color: #D41736;  /* .sdsu-brightred */
}
#audio-recorder .button-record {
    background: url('../img/mic-white.png');
    background-repeat: no-repeat;
    background-position: center center;
}
#audio-recorder .button-record.button-off {
    background-color: #008080; /* .sdsu-darkteal */
}
#audio-recorder .button-record.button-off:hover {
    background-color: #00A39D; /* .sdsu-brightteal */
}
#audio-recorder .button-record.button-on {
    background-color: #D41736; /* .sdsu-brightred */
}
/* .takes.check #audio-recorder .button-record.button-gray {} */
.takes .recorder-part .continue-salvage a,
.scores.edit .recorder-part .continue-salvage a {
    color: #D41736;  /* .sdsu-brightred */
}
.takes .recorder-part .continue-salvage a:hover,
.scores.edit .recorder-part .continue-salvage a:hover {
    text-decoration: underline;
}
.takes.prompt #countdown {
    background-color: #D41736;  /* .sdsu-darkred */
    color: white;
}

.takes.view pre { /* Takes view */
    color: white; background-color: black; /* .sdsu-white-black */
}
.takes.view .sequence-line { /* Takes view */
    color: white; background-color: black; /* .sdsu-white-black */
}
.takes.view .sequence-line a { /* Takes view */
    color: white; /* .sdsu-white */
}
.takes.view .sequence-line a:hover { /* Takes view */
    text-decoration: underline;
}
.takes.view .sequence-error {
    outline: 1px solid rgb(240, 83, 39); outline-offset: -1px;
}
.takes.view .sequence-warn {
    outline: 1px solid #fd4; outline-offset: -1px;
}
.takes.view .sequence-line:nth-of-type(4n+1),
.takes.view .sequence-line:nth-of-type(4n+2) {
    background-color: black; /* .sdsu-black */
}
.takes.view .sequence-line:nth-of-type(4n+3),
.takes.view .sequence-line:nth-of-type(4n+4) {
    background-color: #2D2828; /* .sdsu-charcoal */
}

.prompts.view .prompt-content pre { /* Prompts view */
    color: white; background-color: #2D2828; /* .sdsu-white-charcoal */
}
.prompts.view .prompt-content {
    background-color: black;
}
.prompts.view .translations-list a {
    color: #008080; /* .sdsu-darkteal */
}
.prompts.view .translations-list a:hover {
	text-decoration: underline;
}

.prompt-rolls .prompt-preview, /* Prompt rolls, prompt preview */
.test-steps .prompt-preview,
.prompts.index .prompt-preview {  /* Test steps, prompt preview */
	background-color: #f4f4f4; /* body background-color */
}
.prompt-rolls .prompt-preview hr,
.test-steps .prompt-preview hr,
.prompts.index .prompt-preview hr {
    border-color: #2D2828; /* .sdsu-charcoal */
}
.prompt-rolls .prompt-show a, /* Prompt rolls, prompt preview */
.test-steps .prompt-show a {  /* Test steps, prompt preview */
	color: #00A39D; /* .sdsu-brightteal */
    text-decoration: none;
}
.prompt-rolls .prompt-show a:hover, /* Prompt rolls, prompt preview */
.test-steps .prompt-show a:hover {  /* Test steps, prompt preview */
	text-decoration: underline;
}

.test-steps.form a#roll-link { /* Test steps */
    color: #008080; /* .sdsu-darkteal */
}
.test-steps.form a#roll-link:hover {
	text-decoration: underline;
}

.responses.view .preview a { /* View and edit pages */
    color: black;  /* .sdsu-black */
}
.responses.view .preview a:hover {
    text-decoration: underline;
}
.responses.view .preview a.button {
    color: white;  /* .sdsu-white */
}
.responses.view .preview a.button { 
    text-decoration: none;
}

.scores.add label a,
.scores.edit label a { /* Scores edit page */
    color: black;  /* .sdsu-black */
}
.scores.add label a:hover,
.scores.edit label a:hover {
    text-decoration: underline;
}
.scores.edit .input-file a.button {
    color: white;
    text-decoration: none;
}

.tests .form-note-steps { /* Tests edit page */
    color: black;
}
.tests.form a#roll-link {
    color: #008080; /* .sdsu-darkteal */
}
.tests.form a#roll-link:hover {
	text-decoration: underline;
}

.side-nav a {  /* */
	color: black;  /* .sdsu-black */
    text-decoration: none;
}
.side-nav a:hover {  /* */
	text-decoration: underline;
}

.prompts #clear-content-button { /* Prompts edit page */
    color: white;  /* .sdsu-white */
}
.prompts #clear-content-button:hover { /* Prompts edit page */
    text-decoration: none;
}

.content.grid > h3 { /* Prompts grid page */
    color: white;
    background-color: #A6192E;  /* .sdsu-white-darkred */
    padding: 0.8rem 1.6rem;
    width: 100%;
    font-weight: bold;
    margin-left: -0.2rem;
}
.content.grid > h3 > a,
.content.grid > h3 > strong a {
    color: white;
}
.content.grid .context-incomplete strong,
.content.grid .function-title a,
.content.grid .context-title a {
    color: #D41736;  /* .sdsu-darkred */
}
.content.grid .column a.prompt-show-link {
    color: black;  /* .sdsu-black */
}
.content.grid .prompt-preview-label a {
	color: #00A39D; /* .sdsu-brightteal */
    text-decoration: none;
}
.content.grid .function-title a:hover,
.content.grid .context-title a:hover,
.content.grid .column a.prompt-show-link:hover,
.content.grid .prompt-preview-label a:hover {
    text-decoration: underline;
}
.content.grid .row .context-title {
    border-top: 1px solid #CDCDC8;  /* .sdsu-lightgray */
}
.content.grid .row.context-incomplete { /* main background */
    background-color: #f4f4f4;
}

.tags.view a,
.tags.form a,
.tagValues.view a,
.tagValues.list a,
.tagValues.form a {  /* Tagss, TagValues */
	color: black;  /* .sdsu-black */
    text-decoration: none;
}
.tags.view a:hover,
.tags.form a:hover,
.tagValues.view a:hover,
.tagValues.list a:hover,
.tagValues.form a:hover {  /* Tagss, TagValues */
	text-decoration: underline;
}

.message { 
    padding: 0.8rem 1.3rem; margin-bottom: 0.8rem; border-radius: 0; 
}

/** Logo and links at the very top **/

.logo-nav .column {
	display: flex;
    flex-direction: row;
    flex-wrap: wrap;
	/* justify-content: space-between; */
    justify-content: flex-end;
	align-items: center;
    max-width: 100%;
    height: 7rem;
	margin: 0 auto;
}
.logo-nav .logo-wrap {
    margin-right: auto;
    order: 0;
}
.logo-nav .logo-wrap img {
    max-height: 5rem;
    width: auto;
    margin-top: 0.3rem;
    margin-bottom: -0.3rem;
    margin-left: 1.5rem;
}
.logo-nav .right-nav {
    margin-left: auto;
    line-height: 7rem;
    padding-right: 2.4rem;
    order: 3;
}
.logo-nav .site-name {
    margin-left: 0;
    width: 27.0rem;
    line-height: 7rem;
    text-align: center;
    font-size: 4rem;
    font-weight: bold;
    padding-left: 0.1rem;
    order: 4;
}
.logo-nav .site-name a {
    text-decoration: none;
}
/* .logo-nav .right-nav::after { content: ""; flex: 0 0 100%; height: 0; } */
/* div.flex-break { display: flex; width: 100%; } */

@media (max-width: 60rem) {
    .logo-nav .column {
        margin-bottom: 5rem;
    }
    .logged-in .logo-nav .column {
        margin-bottom: 0;
    }
    .logo-nav .right-nav { /* push links to new line */
        margin-left: 0;
        width: 100%;
        line-height: 5rem;
        padding-right: 0;
        /* background-color: #CDCDC8; /* .sdsu-lightgray */
        background-color: #2D2828; /* .sdsu-charcoal */
        text-align: center;
        order: 5; /* shift to right, so it can move to new line */
    }
    .logo-nav .right-nav a { /* Links on top */
        color: white; /* .sdsu-white */
    }
    .logo-nav .right-nav a:hover { /* Links on top */
        text-decoration: underline;
    }
}
@media (max-width: 40rem) { /* shrink logos links on top */
    .logo-nav .column {
        height: 4rem;
        margin-bottom: 4rem;
    }
    .logo-nav .logo-wrap img {
        max-height: 3.3rem;
        width: auto;
        margin-left: 0.3rem;
    }
    .logo-nav .right-nav { /* push links to new line */
        margin-left: 0;
        line-height: 4rem;
        width: 100%;
        order: 5;
    }
    .logo-nav .site-name {
        width: 15.0rem;
        line-height: 4rem;
        font-size: 2.2rem;
        font-weight: bold;
        padding-left: 0rem;
    }
}
@media (max-width: 22rem) { /* very narrow screen */
    .logo-nav .column {
        margin-bottom: 8rem;
    }
    .logged-in .logo-nav .column {
        margin-bottom: 4rem;
    }
    .logo-nav .site-name {
        width: 100%;
    }
}

/** Top navigation bar containing login elements **/

.top-nav {
    margin: 0;
    padding: 0;
    width: 100%;
    max-width: 100%;
}
.top-nav > .row > .column {
    display: flex;
    flex-direction: row;
    flex-wrap: wrap;
    justify-content: space-between;
    width: 100%;
    padding: 0;
}

.top-nav .top-nav-item {
    line-height: 4rem;
    margin-top: 0.9rem; /* 0 */
}
.top-nav .login-wrap {
    margin-right: 1.8rem;
}
.logged-in .top-nav .login-wrap {
    margin-top: 2.1rem;
    margin-bottom: -1.2rem;
}
.top-nav .top-nav-imperso {
    width: 100%;
    text-align: center;
}

@media (max-width: 40rem) { /* shrink logos links on top */
    .top-nav .top-nav-left {
        display: none; /* currently not used */
        order: 5;
    }
    .top-nav .login-wrap {
        width: 100%;
        margin-right: 0;
    }
}

/** Login elements **/

.login-wrap form {
    float: right;
    margin-right: -1.8rem;
    margin-top: 0.4rem;
    margin-bottom: -0.4rem;
}

.login-wrap .login {
    flex-grow: 1;
}
.login-wrap .login .row {
    flex-wrap: wrap;
    width: 53rem; /* 51rem; */
}
.login-wrap .column {
    display: flex;
    flex-direction: column;
    justify-content: center;
}
.login-wrap .input {
    margin-top: 0.55rem;
}
.login-wrap .input input {
    margin-top: 0;
    height: inherit;
    display: block;
    margin: 0 auto;
    flex-shrink: 1;
}
.login-wrap button {
    padding: 0 2.3rem;
    margin-top: 0.25rem;
}
.login-wrap #div-button {
    order: 2; /* will swap places with #pic-cha-hidden on small screens */
}
.login-wrap #div-button::after {
    content: "";
    flex: 0 0 100%;
    height: 0;
}
@media (max-width: 60rem) { 
    .login-wrap .login .row {
        width: 49rem; /* 43rem; */
    }
}
@media (max-width: 40rem) {
    .login-wrap form {
        float: none;
        margin-right: inherit;
        padding: 0 1.1rem;
    }
    .login-wrap .login .row {
        width: 100%;
    }
    .login-wrap button {
        margin-top: 1rem;
    }
    .login-wrap #email-trigger {
        margin-top: 1.25rem;
    }
    .login-wrap .input.password {
        margin-top: 0.2rem;
    }
    .login-wrap #div-button {
        order: 4; /* will swap places with #pic-cha-hidden on small screens */
    }
}
@media (min-width: 40rem) {
    .login-wrap .login span:first-child {
        margin-left: auto;
    }
    .login-wrap .input input[name="email"] {
        width: 20rem;
        margin-right: 1rem;
    }
    .login-wrap .input input[name="password"] {
        width: 18rem;
        margin-right: 1rem;
    }
}
@media (min-width: 60rem) {
    .login-wrap .input input[name="email"] {
        width: 22rem;
    }
    .login-wrap .input input[name="password"] {
        width: 20rem;
    }
}

/** Captcha **/

.login-wrap #pic-cha-hidden {
    order: 3; /* will swap places with #div-button on small screens */
}
@media (max-width: 40rem) {
    .login-wrap #pic-cha-hidden {
        align-content: center;
        margin-top: 1.1rem;
    }
}

.pic-cha {
    margin-left: auto;
    /* margin-right: auto; */
    padding: 0.4rem;
}
.pic-cha > span:nth-child(1) {
    padding-left: 0.2rem;
}
.pic-cha > span:nth-child(2) {
    padding-right: 0.2rem;
}
.pic-cha-refresh {
    width: 2rem;
    margin-bottom: -0.4rem;
}
.pic-cha ul {
    display: flex;
    align-items: center;
    justify-content: center;
    margin: auto;
    padding: 0.2rem 0.2rem;
    list-style: none;
}
.pic-cha li {
    margin: 0;
}
.pic-cha .pic-cha-item {
    padding: 0.4rem 0.75rem 0.3rem 0.75rem;
}
.pic-cha .pic-cha-selected {
    outline-offset: -0.3rem;
}
@media (max-width: 40rem) {
    .pic-cha .pic-cha-item {
	/* padding: 0.2rem; */
        /* padding: 0.5rem 0.2rem 0; */
        padding: 0.7rem 0.4rem 0;
    }
}

/** Main menu and sub-menu **/

.main-menu {
    margin-bottom: 1.0rem;
    padding: 0 0.9rem;
    color: #104;
}
.main-menu a { color: #104; }

.main-menu .menu-item {
    margin: 0 0.2rem 0.2rem 0;
    height: 4rem;
    padding-top: 0.67rem;
}
.main-menu .column { padding: 0; }

.sub-menu {
    font-size: 90%;
    margin-bottom: 0.75rem;
    padding: 0 1.1rem;
}

.sub-menu .column { padding: 0; }

.sub-menu-space {
    margin-top: 0.2rem;
    display: flex;
    align-items: stretch;
}
.sub-menu a.column {
    flex: 1;
    display: flex;
}
.sub-menu .menu-item {
    display: flex;
    width: 100%;
    margin: 0 0.3rem 0.2rem 0;
    padding: 0.42rem 0 0.45rem;
    align-items: center;
    justify-content: center;
    text-align: center;
    line-height: 2.2rem;
}

.content .button.float-right {
    margin-left: 1.5rem;
}

/** Sidebar styles **/

.side-nav a,
.side-nav div {
    display: block;
    padding: 0.5rem 0;
}

/** Home **/

.home {
    /* background-image: url("/img/home-img.jpg"); */
}
.home .content {
  background: transparent;
}

.home .rect h3 {
    margin: 0;
}
.home .rect {
    margin: 2rem;
    padding: 3rem 4rem;
    border: none;
}
.home h3.welcome {
    font-weight: normal;
}
.home h3.welcome strong {
    letter-spacing: 0.012rem;
}

.home .welcome-text {
    padding: 0 12rem;
    text-align: center;
    font-size: 92%;
}

/* .home .rect.welcome {
    border: 0.1rem solid #ec7;
} */
.home .rect.actions {
    width: 80%;
    margin: 2rem 2.9rem;
    padding-bottom: 2.1rem;
    font-size: 110%;
}

.home .welcome-text .logo {
    height: 11rem;
    width: auto;
    margin-top: 1.7rem;
}

@media (max-width: 40rem) {
    .home .container {
        margin: 1rem 0;
        padding: 0 1rem;
    }
    .home .rect {
        margin: 0.3rem;
        padding: 2rem 2rem;
        font-size: 2.5rem;
    }
    .home .h3.welcome {
        margin: 1rem 0 2rem;
        padding: 2rem 2rem;
        font-size: 2.5rem;
    }
    .home .rect.actions {
        width: inherit;
        /* margin: 2rem 0; */
        margin: 1rem 0;
        padding: 2rem 2rem;
    }
    .home .welcome-text {
        padding: 0 2rem;
        margin-top: 1.8rem;
    }
}

/** About page **/

.about .rect.title {
    margin: 2rem;
    padding: 2rem 4rem;
    border: none;
}

.about .about-text {
    padding: 2rem 7.05rem;
    font-size: 125%;
    line-height: 1.55;
}
.about .about-text ol {
    margin: 1.3rem 2.2rem 1.3rem 4.2rem;
    list-style-position: outside;
}
.about .about-text ol li {
    padding-left: 0.9rem;
}
.about .about-text p:nth-of-type(n+2) {
    margin-top: 1.1rem;
}

.about .rect.actions {
    margin: 2rem;
    padding: 3rem 4rem;
    border: none;
}
.about .rect.actions {
    width: 80%;
    margin: 2rem 2.9rem;
    padding-bottom: 2.1rem;
    font-size: 110%;
}

@media (max-width: 40rem) {
    .about .container {
        margin: 1rem 0;
        padding: 0 1rem;
    }
    .about .rect.title {
        margin: 1rem 0 2rem;
        padding: 2rem 2rem;
        font-size: 2.5rem;
    }
    .about .about-text {
        padding: 0;
        font-size: 120%;
        line-height: 1.55;
    }
    .about .rect.actions {
        margin: 1rem 0;
        padding: 2rem 2rem;
    }
}


/** Signup and forgot password **/

.signup .submit,
.forgot .submit {
    margin-top: 2rem;
    text-align: center;
}
.signup .row .column.title,
.forgot .row .column.title {
    text-align: center;
}
.signup .row .text,
.forgot .row .text {
    padding-top: 0.25rem;
    margin-bottom: 0.5rem;
}
.signup .input input,
.forgot .input input {
    margin-bottom: 0.5rem;
}
.signup .error-message li,
.forgot .error-message li {
    margin-bottom: 0;
}

.signup .pic-cha,
.forgot .pic-cha {
    margin-top: 0.8rem;
    margin-right: auto;
}
@media (min-width: 40rem) {
    .signup .row .column.title,
    .signup .row .column.text,
    .forgot .row .column.title,
    .forgot .row .column.text {
        flex: 0 0 60%;
        max-width: 60%;
        margin-left: 20%;
    }
}
@media (min-width: 60rem) {
    .signup .row .column.title,
    .signup .row .column.text,
    .forgot .row .column.title,
    .forgot .row .column.text {
        flex: 0 0 40%;
        max-width: 40%;
        margin-left: 30%;
    }
}

/** Index styles **/

.index h3 a,
.list h3 a {
    font-weight: normal;
}
.index .row-break-hide .column > a,
.index .row-break.secondary .column > a {
    padding-right: 0;
}

.index div.row-break-hide,
.index div.row-break.secondary {
    line-height: 2.3rem;
    margin-top: 0.4rem;
    margin-bottom: 0.2rem;
}
@media (max-width: 60rem) {
    .index div.row-break > .column-50:nth-of-type(2n) {
        opacity: 0.97;
        font-size: 98%;
    }
}

.index .table-responsive {
    overflow-x: inherit;
}

.index .quickscan-maximize {
    padding-top: 0.6rem;
}

.index .no-results-info {
	margin: -1rem 0 2rem;
}

.index table,
.index .paginator {
    font-size: 96%;
}
.index .paginator a {
    padding: 0 0.4rem;
}
.index .tr-head th {
    padding-bottom: 0.9rem;
}
.index .tr-main td {
    padding-top: 0.7rem;
    padding-bottom: 0rem;
    border-bottom: none;
}
.index .tr-secondary td {
    font-size: 90%;
    padding-bottom: 0.9rem;
}
.index th.actions {
    min-width: 18rem;
}

.row .column > a {
    padding-left: 0;
}

/** View styles **/

@media (min-width: 60rem) {
    .view .row-break > .column:first-child {
        padding-right: 3rem;
        border-right: 1px dotted #bce8;
    }
    .view .row-break > .column:last-child {
        padding-left: 3rem;
    }
    .view .row-break .row {
        margin-bottom: 0.27rem;
        margin-top: -0.6rem;
    }
}

@media (max-width: 40rem) {
    .view.content > .row-break > .column > .row > .column:first-of-type {
        margin-bottom: -0.9rem;
    }
}

.view th a {
    color: #2f85ae;
}

.view .label {
    font-weight: bold;
}
/* .view .row .text {
    margin: 0;
    padding: 0.5rem 0rem;
} */

.view pre.json {
    background: inherit;
    border-left: none;
    overflow-y: hidden;
    line-height: 1.5rem;
    font-size: 75%;
    margin: 0.3rem 0;
}

.view .label.accordion {
    user-select: none;
}
.view .accordion-sign {
    float: right;
    margin-top: -0.1rem;
}
.view .text.accordion {
    overflow: hidden;
}

/** Edit styles **/

@media (min-width: 60rem) {
    .form form .row-break > .column:first-child {
        padding-right: 2rem;
        border-right: 1px dotted #bce;
    }
    .form form .row-break > .column:last-child {
        padding-left: 2rem;
    }
}

.form th a {
    color: #2f85ae;
}

.form ul.error-details {
    margin: 0.1rem 0 1.3rem 0;
    /* color: #cc1f1a; */
}

a.neutral-button {
    padding: 0 1.2rem;
    color: white !important;
    background-color: #999;
    border-color: #999;
}

.form .input input {
    margin-bottom: 0.3rem;
}

.form .input > label:first-of-type {
    margin-top: 1rem;
    margin-bottom: 0.8rem;
}

.form .input .checkbox {
    margin-top: 0.1rem;
    margin-bottom: 0.3rem;
}

.form .input.radio label {
    font-weight: normal;
    margin-bottom: 0.3rem;
}
.form .input.radio label:first-of-type {
    font-weight: 700;
    margin-bottom: 0.4rem;
}

.form .input.view-only {
    margin-bottom: 0.9rem;
}
.form .input label.view-only {
    margin-bottom: 0.4rem;
}
.form .input div.view-only {
    margin-left: 1rem;
    font-weight: bold;
    font-size: 120%;
}
.form .input div.view-only li {
    font-size: 2rem;
    font-weight: normal;
    margin-bottom: 0;
}

.form .button-cancel,
.form .button-submit {
    margin-top: 2rem;
}

.form .border-solid {
    border: 0.1rem dashed #bce;
}
.form .border-dashed {
    border: 0.1rem dashed #bce;
}
.form .border-loading {
    animation: border-loading 0.6s infinite alternate; 
}
@keyframes border-loading {
  from { border-color: #234; }
  to { border-color: #d1d1d1; }
}

/** Charlies dashboard **/

.dashboard > h3 {
    font-weight: bold;
}

.dashboard .pending-tests > label,
.dashboard .scores-tests > label {
    margin-bottom: 1.6rem;
}

.dashboard ul {
    list-style: none;
}
.dashboard ul li::before {
  content: "➤ ";
  font-size: 80%;
  margin-right: 0.3rem;
}

.dashboard .scores-tests {
    margin-top: 2.1rem;
}

/** Takes any **/

.takes p {
    margin-top: 0.8rem;
    line-height: 1.42;
}

.takes .button {
    margin-top: 1.8rem;
}

.takes .row .column > a {
    padding: 0 3.0rem;
}

/** Takes info **/

.takes.info .input.checkbox {
    margin-top: 2.5rem;
}
.takes.info .input.checkbox label {
    font-size: 1.6rem;
}

.takes.info a.button-cancel {
    padding: 0 2.2rem;
}

/** Takes check **/

.takes.check h3 {
    margin-bottom: 0.9rem;
}
.takes.check .preview {
    margin-top: 0;
}

.takes.check .column > label {
    margin-top: 1.1rem;
    margin-bottom: 1.3rem;
}
.takes.check .input.checkbox {
    /* margin-top: 1.5rem; */
    margin-bottom: 1.5rem;
    line-height: 1.9rem;
}
.takes.check .input.checkbox label {
    font-size: 1.6rem;
}
.takes.check .recorder-part p {
    margin-top: 0.8rem;
    margin-bottom: 0.9rem;
}
.takes.check .recorder-part {
    margin-top: 1.3rem;
    margin-bottom: 1.4rem;
}

.takes.check .check-speak img {
    margin-top: 1rem;
}
.takes.check .display-save {
    margin-top: 1.1rem;
}

.takes.check a.button-cancel {
    padding: 0 2.2rem;
}

.takes.check .recorder-warn {
    display: flex;
}
.takes.check .recorder-warn .sign {
    font-size: 8rem;
    margin-top: -0.5rem;
    margin-bottom: -2rem;
}
.takes.check .check-speak .text {
    max-width: 62rem;
}
.takes.check .recorder-warn .text {
    margin-left: 1rem;
    max-width: 49rem;
}

/** Audio recorder **/

#audio-recorder .button-group {
    top: 0px;
    left: 0px;
}
#audio-recorder .button-group button {
    transition: none;
}
#audio-recorder .button-group button::before {
    width: 0;
    height: 0;
    transition: none;
}

/** Takes start **/

.takes.start .start-warn {
    display: flex;
}
.takes.start .start-warn .sign {
    font-size: 8rem;
    margin-top: -0.5rem;
    margin-bottom: -2rem;
}
.takes.start .start-warn .text {
    margin-left: 1rem;
    max-width: 49rem;
}

/** Takes choices **/

.takes.choices .input.select {
    margin-top: 2.2rem;
}
.takes.choices label[for="choices"] {
    margin-top: 2.2rem;
}
.takes.choices div.checkbox:last-child {
    margin-bottom: 0.5rem;
}

/** Takes prompt **/

.takes.prompt .preview {
    margin-top: 0.5rem;
}

.takes.prompt .prompt-language.larger-font {
    font-size: 130%;
}

.takes.prompt #repeat-option {
    display: none;
    margin-top: 1.7rem;
}
.takes.prompt .button {
    margin-top: 1rem;
}
.takes.prompt .buttons {
    display: block;
}
.takes.prompt #button-repeat {
    display: none;
}
.takes.prompt #button-proceed {
    display: none;
}

.takes.prompt .prompt-content {
    background-color: black;
}
.takes.prompt .prompt-content pre {
    margin-top: -0.5rem;
    margin-bottom: 2rem;
    padding: 1.5rem 0.7rem;
    white-space: pre-wrap;
    font-size: 86%;
    letter-spacing: .01em;
    line-height: 2rem;
    background-color: black;
}

.takes.prompt label.recorder-part-label {
    margin-bottom: 1.1rem;
}

.takes.prompt #countdown {
    font-size: 140%;
    text-align: center;
    margin-top: 0rem;
}

.takes.prompt .recorder .display-save {
    position: relative;
    top: 140px;
    left: 0px;
    background-color: transparent;
    text-align: left;
}
.takes.prompt .display-save a {
    position: inherit;
    margin: 0;
    /* from .button, .button-cancel, input[type="button"] */
    border: 0.1rem solid;
    border-radius: 0rem; /* 0.4rem */
    color: #fff;
    cursor: pointer;
    display: inline-block;
    font-size: 1.1rem;
    font-weight: 700;
    height: 3.8rem;
    letter-spacing: .1rem;
    line-height: 3.8rem;
    padding: 0 3.0rem;
    text-align: center;
    text-decoration: none;
    text-transform: uppercase;
    white-space: nowrap;
    /* transition: all 0.2s linear; */
    background-color: #777;
    border-color: #777;
}
.takes.prompt .display-save .info {
    margin-top: 1.3rem;
    margin-bottom: 1.1rem;
}

.takes.prompt .blur {
    filter: blur(10px);
    -webkit-filter: blur(10px);
    opacity: 0.5;
}

.takes.prompt .prompt-info {
    margin-bottom: 1.8rem;
}

/** Takes review **/

.takes.review audio {
    margin-top: 1.8rem;
    margin-bottom: 0.2rem;
}

/** Takes index **/

.takes.index > h3 {
    font-weight: normal;
}
.takes.index > h3 a {
    font-weight: bold;
}
.takes.index > h3 strong a {
    font-weight: normal;
}

.takes.index .row .column > a {
    padding: 0;
}

.takes.index div.row.secondary {
    border: none;
    margin-bottom: -0.15rem;
}

/** Takes view **/

.takes.view .row .column > a {
    padding: 0;
}

.takes.view .text ul li {
    margin: 0;
}

.takes.view pre {
    margin-top: -0.5rem;
    margin-bottom: 2rem;
    padding: 1.5rem 0.7rem;
    white-space: pre-wrap;
    font-size: 75%;
    letter-spacing: .01em;
    line-height: 1.5rem;
}
.takes.view .sequence-line {
    font-size: 96%;
}
.takes.view .sequence-time {
    line-height: 2.0rem;
    padding-top: 0.3rem;
}
.takes.view .sequence-action {
    line-height: 1.8rem;
    margin-bottom: 0.3rem;
    padding-left: 1.9rem;
}
.takes.view .sequence-more * {
    display: block;
    line-height: 1.7rem;
}
.takes.view .sequence-more {
    margin-bottom: 0.3rem;
}
.takes.view .sequence-error {
    width: fit-content;
    padding: 0 0.2rem 0 0.15rem;
}
.takes.view .sequence-warn {
    width: fit-content;
    padding: 0 0.2rem 0 0.15rem;
}
.takes.view .sequence-info {
    width: fit-content;
}
.takes.view .column-50:last-of-type .text.column-67 {
    height: 70rem;
    overflow-x: hidden;
    overflow-y: scroll;
}

/** Takes edit **/

.takes.edit .input .field-choices {
    height: 20rem;
    font-size: 88%;
}
.takes.edit .input .field-sequence {
    height: 53rem;
    font-size: 88%;
    letter-spacing: .01em;
    line-height: 1.5rem;
}
.takes.edit pre {
    margin-top: 0.5rem;
    margin-bottom: 0rem;
    margin-left: -1rem;
    padding: 0.8rem 0.8rem;
    white-space: pre-wrap;
    font-size: 64%;
    letter-spacing: .01em;
    line-height: 1.5rem;
    border-left: none;
}

.takes .input div.view-only {
    font-weight: normal;
}

.takes .input .checkbox,
.takes .input .checkbox .form-nesting-label {
    /* display: inherit; */
    width: 27rem;
}

/** Takes reset **/

.takes.reset .input .field-sequence {
    height: 53rem;
    font-size: 88%;
    letter-spacing: .01em;
    line-height: 1.5rem;
}
.takes.reset pre {
    margin-top: 0.5rem;
    margin-bottom: 0rem;
    margin-left: -1rem;
    padding: 0.8rem 0.8rem;
    white-space: pre-wrap;
    font-size: 64%;
    letter-spacing: .01em;
    line-height: 1.5rem;
    border-left: none;
}

/** Charlies index **/

.content.index > h3 {
    width: calc(100% - 15rem);
}
.charlies.index > h3 a {
    font-weight: bold;
}

.charlies.index .charlies-quickscan {
	margin-bottom: 0.3rem;
}

/** Charlies view **/

.charlies.view img {
    height: 200px;
    margin-bottom: 2.1rem;
}

.charlies.view .button-cancel {
    margin-top: 1.9rem;
}

/** Charlies edit **/

.charlies .input img,
.charlies .image img {
    max-height: 220px;
}
.charlies .input .dz-button {
    display: none;
}
.charlies .input .dz-filename {
    display: none;
}
.charlies .input.image,
.charlies .image img {
    margin-bottom: 1rem;
}
.charlies .field-picture {
    margin-bottom: 0.5rem;
}

/** Courses index **/

.courses.index > h3 {
    font-weight: normal;
    width: calc(100% - 17rem);
}
.courses.index > h3 a {
    font-weight: bold;
}
.courses.index > h3 strong a {
    font-weight: normal;
}

.courses.index .course-code {
    font-size: 115%;
}
.courses.joined div.row.secondary {
    border: none;
    margin-bottom: -0.35rem;
}

/** Courses edit **/

.courses #code,
.charlies-courses #code {
    font-size: 180%;
    padding-right: 0;
}
.courses #code-id,
.charlies-courses .code-input #course-id {
    display: inline-block;
    font-size: 120%;
    width: 9rem;
    position: relative;
    bottom: 0.4rem;
    margin-left: 1rem;
}
.courses #code-id.form-error {
    bottom: 3.4rem;
}
.courses #code-button {
    position: relative;
    bottom: 0.64rem;
    margin-left: 1rem;
}
.courses #code-button.form-error {
    bottom: 3.7rem;
}

/** Charlies role-change **/

.role-change .button {
    margin-top: 1.4rem;
}

.role-change .text-charlie label {
    margin-top: 1.4rem;
    margin-bottom: 0.8rem;
}
.role-change .text-charlie > .input {
    margin-bottom: 0;
}
.role-change .text-charlie input {
    min-width: 5rem;
    margin-bottom: 0.2rem;
}
.role-change .text-unseen {
	margin-bottom: 0.7rem;
}
.role-change .text-unseen label {
	height: 2.87rem;
}
.role-change .text-unseen input {
	width: 22rem;
    margin-bottom: 0.2rem;
}
@media (max-width: 40rem) {
    .role-change .text-unseen label {
        display: none;
    }
    .role-change .text-charlie input {
        width: 7rem;
    }
}
.role-change .text-charlie-name {
    display: none;
}

body.imperso {
    background-color: #250044;
}
.imperso-warning {
    vertical-align: middle;
    display: inline-block;
    width: 100%;
    padding: 0.3rem 1rem;
    letter-spacing: 0.05rem;
    margin-left: 0rem;
    margin-top: 0rem;
}

/** CharliesCourses join **/

.charlies-courses div.row.secondary {
    border: none;
    margin-bottom: -0.15rem;
}
.charlies-courses .course-code {
    letter-spacing: 0.12rem;
}

.charlies-courses .code-input .input {
    margin-top: -0.1rem;
}
.charlies-courses #course-id.form-error {
    bottom: 3.4rem;
}

/*** Takes edit ***/

.takes .input div.view-only {
    font-weight: normal;
}

.takes .input .checkbox,
.takes .input .checkbox .form-nesting-label {
    /* display: inherit; */
    width: 27rem;
}

/** Tests index **/

.tests.index > h3 {
    font-weight: normal;
    width: calc(100% - 16rem);
}
.tests.index > h3 a {
    font-weight: bold;
}
.tests.index > h3 strong a {
    font-weight: normal;
}

/** Tests edit **/

.tests .input-steps_count {
    margin-top: 1.7rem;
}
.tests .input-steps_roll {
    margin-top: -0.7rem;
}

/** Tests ad-hoc form **/

.ad-hoc .ad-hoc-info {
    margin-bottom: 1rem;
}

.ad-hoc .input.radio label {
    font-weight: normal;
    margin-bottom: 0.3rem;
}
.ad-hoc .input.radio label:first-of-type,
.ad-hoc .input.textarea label {
    font-weight: 700;
    margin-bottom: 0.4rem;
}
.ad-hoc .input.textarea textarea {
    margin-top: 0.5rem;
    margin-bottom: 0;
    height: 12rem;
}
.ad-hoc .input.textarea *[id^="info"]:last-child {
    margin-bottom: 2.2rem;
}

/** Test Steps index **/

.test-steps.index > h3 {
    font-weight: normal;
    width: calc(100% - 18rem);
}
.test-steps.index > h3 a {
    font-weight: bold;
}
.test-steps.index > h3 strong a {
    font-weight: normal;
}

.test-steps.index div.row.secondary {
    border: none;
    margin-bottom: -0.15rem;
}

/** Responses index **/

.responses.index > h3 {
    font-weight: normal;
    width: calc(100% - 33.5rem);
}
.responses.index > h3 a {
    font-weight: bold;
}
.responses.index > h3 strong a {
    font-weight: normal;
}

.responses.index div.file-speak {
    margin-top: 0.6rem;
}

.responses.index .actions span a {
    padding-left: 0;
}

.responses.index a.button-status {
    padding: 0 2.5rem;
}

/** Responses scores **/

.responses.scores.index > h3 {
    font-weight: normal;
    width: calc(100% - 0rem);
}
.responses.scores.index > h3 a {
    font-weight: bold;
}
.responses.scores.index > h3 strong a {
    font-weight: normal;
}

.responses.scores div.file-speak {
    margin-top: 0.8rem;
}
.responses.scores .column ul {
    line-height: 2.0rem;
    list-style: none;
    list-style-position: outside;
    margin-top: 0.2rem;
    margin-left: 1.5rem;
}
.responses.scores .column ul li {
    margin-bottom: 0.4rem;
    font-size: 99%;
    letter-spacing: .007em;
}
.responses.scores .column ul.scores-failed li {
    margin-bottom: 0.4rem;
    font-size: 92%;
}
.responses.scores .column ul.scores-ok li:before {
    content: '\2713'; /* check mark */
    margin-left: -1.5rem;
    margin-right: 0.5rem;
}
.responses.scores .column ul.scores-failed li:before {
    content: '-'; /* check mark */
    margin-left: -1.2rem;
    margin-right: 0.8rem;
}

.responses.scores a.button-status {
    padding: 0 2.5rem;
}

.responses.scores .actions a {
    text-wrap: nowrap;
}

/** Responses view **/

.responses.view .field.field-text.accordion {
    height: 3.88rem;
}
.responses.view .field.field-prompt-packed.accordion {
    height: 8.55rem;
}

.responses.view .column ul {
    line-height: 2.2rem;
    list-style-position: outside; 
    margin-left: 1.5rem;
}
.responses.view .column ul li {
    margin-bottom: 0.6rem;
}

.responses.view .mod-speak {
    margin-top: -0.3rem;
    margin-bottom: 1.7rem;
}

.responses.view .mod-write {
    margin-top: -0.3rem;
    margin-bottom: 1.7rem;
}

.responses.view .score-render label:nth-of-type(1) {
    margin-top: 1.1rem;
}
.responses.view .score-render label:nth-of-type(n+2) {
    font-size: 112%; /* 105%; */
    margin-top: 1rem;
    margin-bottom: 0; /* 0.8rem; */
}

.responses.view .main-score-info {
	margin-bottom: 0.7rem;
	margin-top: 0.2rem;
	letter-spacing: 0.07rem;
	font-weight: bold;
}

.responses.view .larger-font .prompt-language {
    font-size: 130%;
}
.responses.view .score-label,
.responses.view .prompt-language-label {
    margin-bottom: 0;
}
.responses.view .score-modified,
.responses.view .field-modified {
    font-size: 95%;
}
.responses.view .field-modified {
    margin-bottom: 1.4rem;
}

.responses.view .score-type {
    margin-top: 1.4rem;
    margin-bottom: 0.9rem;
    font-weight: bold;
}

.responses.view .score-info ul {
    line-height: 2.0rem;
    list-style: none;
    list-style-position: outside;
    margin-left: 1.5rem;
}
.responses.view .score-info ul:nth-of-type(2) {
    margin-bottom: 1.33rem;
}
.responses.view .score-info ul li {
    margin-bottom: 0.85rem;
    /* letter-spacing: .007em; */
}
.responses.view .score-info ul.scores-ok li:before {
    content: '\2713'; /* check mark */
    margin-left: -1.5rem;
    margin-right: 0.8rem;
}
.responses.view .score-info ul.scores-failed li:before {
    content: '-'; /* check mark */
    margin-left: -1.2rem;
    margin-right: 1.1rem;
}

.responses.view .score-render label.score-notes-label {
    margin-top: 1.33rem;
}

.responses.view .score-feedback {
    letter-spacing: 0.025rem;
}
.responses.view .column-test-score .score-feedback {
    font-weight: bold;
    letter-spacing: inherit;
}

.responses.view .score-notes {
    margin-bottom: 0.6rem;
}

.responses.view .edit-score {
    height: 3.4rem;
    line-height: 3.2rem;
    float: right;
}
.responses.view .edit-test-score {
}
.responses.view .edit-score-button {
    height: 3.4rem;
    line-height: 3.2rem;
    margin-bottom: 1.8rem;
}

.responses.view .button-cancel {
    margin-top: 1.5rem;
}

.responses.view .row-break > .column-test-score:last-child {
    padding-left: 1rem;
    margin-top: -1rem;
}

/** Responses edit **/

.responses .input #text {
    height: 15rem;
}

.responses .input #prompt-packed {
    height: 12rem;
}

.responses.edit .input .prompt-packed, 
.responses.add .input .prompt-packed {
    height: 53rem;
    font-size: 88%;
    letter-spacing: .01em;
    line-height: 1.5rem;
}
.responses.edit pre,
.responses.add pre {
    margin-top: 0.5rem;
    margin-bottom: 0rem;
    margin-left: -1rem;
    padding: 0.8rem 0.8rem;
    white-space: pre-wrap;
    font-size: 64%;
    letter-spacing: .01em;
    line-height: 1.5rem;
    background-color: black;
    border-left: none;
}

.responses.edit .dz-preview:last-of-type,
.responses.add .dz-preview:last-of-type {
    display: inline-flex !important;
    margin-bottom: 1.1rem;
}
.responses.edit .dz-details,
.responses.add .dz-details {
    margin-left: 1rem;
}
.responses.edit .dz-image > .dz-x,
.responses.add .dz-image > .dz-x {
	top: -0.15rem;
	right: 0.57rem;
	font-size: 120%;
}
.responses.edit .dz-success-mark,
.responses.edit .dz-error-mark,
.responses.add .dz-success-mark,
.responses.add .dz-error-mark {
    display: none;
}

/** Scores index **/

.scores.index > h3 {
    font-weight: normal;
    width: calc(100% - 34.5rem);
}
.scores.index > h3 a {
    font-weight: bold;
}
.scores.index > h3 strong a {
    font-weight: normal;
}

.scores.index div.file-speak {
    margin-top: 0.8rem;
}
.scores.index .column ul {
    line-height: 2.0rem;
    list-style: none;
    list-style-position: outside;
    margin-top: 0.2rem;
    margin-left: 1.5rem;
}
.scores.index .column ul li {
    margin-bottom: 0.4rem;
    font-size: 99%;
    letter-spacing: .007em;
}
.scores.index .column ul.scores-failed li {
    margin-bottom: 0.4rem;
    font-size: 92%;
}
.scores.index .column ul.scores-ok li:before {
    content: '\2713'; /* check mark */
    margin-left: -1.5rem;
    margin-right: 0.5rem;
}
.scores.index .column ul.scores-failed li:before {
    content: '-'; /* check mark */
    margin-left: -1.2rem;
    margin-right: 0.8rem;
}
.scores.index .file-playback {
    margin-top: 0.48rem;
}

.scores.index a.button-status {
    padding: 0 2.5rem;
}

/** Scores edit **/

.scores.edit .test-info,
.scores.add .test-info {
    font-weight: normal;
    margin-left: 0.4rem;
}
.scores.edit .test-info a,
.scores.add .test-info a {
    font-weight: normal;
    margin-left: 0.1rem;
}

.scores.edit .select .checkbox,
.scores.add .select .checkbox,
.scores.edit .select .radio-or-checkbox-label,
.scores.add .select .radio-or-checkbox-label,
.scores.edit .select .input.radio label:nth-child(n+2),
.scores.add .select .input.radio label:nth-child(n+2) {
    display: block;
    width: 100%;
    margin-top: 1rem;
    margin-bottom: 0.9rem;
}
.scores.edit .input-rater_scores.select .checkbox label,
.scores.add .input-rater_scores.select .checkbox label {
    font-size: 1.8rem;
}

.scores.edit .input-feedback,
.scores.add .input-feedback {
    margin-top: 1.9rem;
}
.scores.edit .input .field-feedback,
.scores.add .input .field-feedback {
    height: 13rem;
}
.scores.edit .input-notes textarea,
.scores.add .input-notes textarea {
    height: 8rem;
}
.scores.edit .input textarea.form-error {
    margin-bottom: 0;
}

.scores.edit .input-main_scores,
.scores.add .input-main_scores {
    font-size: 2rem;
}
.scores.edit .input-main_scores label:first-of-type,
.scores.edit .input-main_scores.radio label,
.scores.add .input-main_scores label:first-of-type,
.scores.add .input-main_scores.radio label {
    margin-bottom: 0;
}
.scores.edit .input-main_scores .error-message,
.scores.add .input-main_scores .error-message {
    font-size: 1.6rem;
}

.scores.edit .input-teacher_scores,
.scores.add .input-teacher_scores {
    margin-top: 1.7rem;
}
.scores.edit .input-rater_scores,
.scores.add .input-rater_scores {
    margin-top: 1.9rem;
}

.scores.edit .input-file, 
.scores.add .input-file {
	margin-top: -0.3rem;
	margin-bottom: 1.9rem;
}
.scores.edit .input-file a.button,
.scores.add .input-file a.button {
    padding: 0 2.1rem;
    margin: 0 0.25rem;
    height: 2.8rem;
    line-height: 2.8rem;
}
.scores.edit .input-file .recorder-part
.scores.add .input-file .recorder-part {
    margin-left: -0.7rem;
    margin-bottom: 1.5rem;
}
.scores.edit .file-path,
.scores.add .file-path {
    display: none;
    margin-bottom: 1.5rem;
}
.scores.edit #audio-recorder,
.scores.add #audio-recorder {
    margin-bottom: 1.5rem;
    margin-left: -0.7rem;
}
/* .scores.edit .file-playback,
.scores.add .file-playback {
    margin-top: 1.5rem;
} */
/*                                                                             //// AI
.scores.edit #transcribe-button,
.scores.add #transcribe-button {
    padding: 0 2.1rem;
    margin: 0 0.25rem;
    height: 2.8rem;
    line-height: 2.8rem;
}
*/

.scores.edit .prompt-language-label {
    margin-top: 2rem;
}
.scores .larger-font .prompt-language {
    font-size: 130%;
}

/** Prompts index **/

.prompts.index > h3 {
    font-weight: normal;
    width: calc(100% - 50rem); /*  calc(100% - 18rem); */
}
.prompts.index > h3 a {
    font-weight: bold;
}
.prompts.index > h3 strong a {
    font-weight: normal;
}

.prompts.index span.field-notes {
    display: table-cell;
    margin-bottom: -2.2rem;
}
.prompts.index.format-long span.field-notes {
    display: block;
}

/* .prompts.index span.field-content-md::before {
    content: '\A';
    white-space: pre;
} */
.prompts.index span.field-content-md {
    display: inline-block;
    margin: 0.3rem 0 0.5rem;
    padding: 0.3rem 0.8rem;
    background-color: #2D2828;
    color: white;
    width: 100%;
}
.prompts.index span.field-content-md > span:nth-of-type(1) {
    display: none;
}
.prompts.index span.field-content-md > span:nth-of-type(2) {
    /* display: block; */
    /* unicode-bidi: embed; */
    font-family: monospace;
    white-space: pre;
    text-wrap: wrap;
    font-size: 100%;
    letter-spacing: .01em;
    line-height: 0.6rem;
}

.prompts.index .prompt-preview {
    padding: 0.3rem 0.4rem 0.3rem 0.6rem;
}
.prompts.index .prompt-preview p {
    margin-bottom: 0.5rem;
}

/** Prompts grid **/

.prompts.grid > h3 {
    font-weight: normal;
    width: calc(100% - 16.3rem);
}

/** Prompts edit **/

.prompts .radio-or-checkbox-label {
    font-size: 1.8rem;
}

.prompts #content-md {
    height: 33rem;
}

.prompts #folder {
    display: inline-block;
    position: relative;
    bottom: 0.4rem;
}
.prompts #folder.form-error {
    bottom: 0;
}
.prompts #reload-files-button {
    position: relative;
    bottom: 0.6rem;
    margin-left: 1.5rem;
}
.prompts #reload-files-button.form-error {
    bottom: 3.6rem;
}

.prompts label[for="content-md"] {
    margin-bottom: 1rem;
}
.prompts #clear-content-button {
    margin-left: 1.5rem;
    margin-bottom: 0;
    height: 2.8rem;
    line-height: 2.5rem;
    padding: 0.2rem 2.0rem;
}

.prompts .label-preview {
    margin-top: 1.1rem;
    margin-bottom: 1.4rem;
}

.prompts .file-list {
    font-size: 100%;
}
.prompts .copy-info {
    font-size: 86%;
    font-weight: normal;
}

.prompts .input .label-master-notes {
    margin-bottom: 1.0rem;
}

/** Prompts view **/

.prompts.view .prompt-content pre {
    margin-top: -0.5rem;
    margin-bottom: 2rem;
    padding: 1.5rem 0.7rem;
    white-space: pre-wrap;
    font-size: 86%;
    letter-spacing: .01em;
    line-height: 2rem;
}

.prompts.view .translations {
    margin-bottom: 2.4rem;
}
.prompts.view .translations-label {
    margin-bottom: 1.4rem;
}
.prompts.view .translations-list a {
    padding-right: 0;
}

.prompts.view .text a {
    padding: 0;
}

.prompts.view .field-packed.accordion {
    height: 9rem;
}

/** Prompts preview and rendering (Markdown formatting) **/

.preview {
    margin-top: 2rem;
}

.prompt-render hr {
    border-top: 0.1rem dotted #bce;
    margin: 2.0rem 0;
}

.prompt-render > label {
    margin-top: 1.1rem;
    margin-bottom: 1.4rem;
}

.prompt-render audio {
    margin-top: 0.5rem;
}

.prompt-render h1,
.prompt-render h2,
.prompt-render h3,
.prompt-render h4,
.prompt-render h5,
.prompt-render h6 {
    margin-top: 1.4rem;
    margin-bottom: 0.6rem;
    color: #bce;
    font-family: "Helvetica Neue", Helvetica, Arial, sans-serif;
}
.prompt-render h1,
.prompt-render h2,
.prompt-render h3 { margin-left: -0.2rem; }
.prompt-render h5,
.prompt-render h6 { font-weight: bold; }
.prompt-render h1 { font-size: 4.4rem; line-height: 1.4; }

.prompt-render p {
    margin-top: 0.8rem;
    margin-bottom: 0.9rem;
}
.prompt-render ol,
.prompt-render ul {
    margin-bottom: 0.7rem;
    margin-top: 0.8rem;
}
.prompt-render li { margin-bottom: 0.25rem; }
.prompt-render li strong { letter-spacing: .03em; }

.prompt-render code { background: black; }
.prompt-render pre {
    background: #777;
    border-left: none;
    overflow-y: hidden;
}

.prompt-render table th {
    color: #ddd;
}
.prompt-render td, 
.prompt-render th {
    border-bottom: 0.1rem solid #ccc;
    padding: 0.6rem 0.7rem;
    text-align: left;
}

.prompt-render img {
    margin-top: 0.7rem;
    margin-bottom: 0rem;
}

.prompt-render .input.radio label:first-of-type {
    font-weight: inherit;
}
.prompt-render .input.radio label,
.prompt-render .input.checkbox .checkbox {
    width: 100%;
}
.prompt-render .input.checkbox .checkbox:last-child {
  margin-bottom: 0;
}

.prompt-render p.choices {
    font-weight: 700;
}

/** PromptRolls index **/

.prompt-rolls.index > h3 {
    font-weight: normal;
    width: calc(100% - 22rem);
}
.prompt-rolls.index > h3 a {
    font-weight: bold;
}
.prompt-rolls.index > h3 strong a {
    font-weight: normal;
}

/** PromptRolls edit, view and TestSteps view **/

.prompt-rolls #roll-list-title,
.test-steps #roll-list-title {
    margin-top: 1.8rem;
    margin-bottom: 0.8rem;
}

.prompt-rolls .roll-item,
.test-steps .roll-item {
    margin-bottom: 0.3rem;
    font-size: 1.8rem;
}

.prompt-rolls .prompt-id,
.test-steps .prompt-id {
    display: inline;
}
.prompt-rolls .prompt-show,
.test-steps .prompt-show {
    display: inline;
    float: right;
}
.prompt-rolls .prompt-excerpt,
.test-steps .prompt-excerpt {
    /* font-size: 1.8rem; */
    line-height: 1.4;
}

.prompt-rolls.view .button-cancel,
.test-steps .button-cancel {
    margin-top: 1.5rem;
}

.prompt-rolls #whitelist {
    height: 11rem;
}
.prompt-rolls.view .whitelist-stored {
    line-height: 1.5rem;
    font-family: monospace,monospace;
    font-size: 75%;
    margin: 0.3rem 0;
}

.prompt-rolls .prompt-preview,
.test-steps .prompt-preview {
	padding: 0 0.4rem 0 0.6rem;
}

.prompt-rolls .prompt-preview hr,
.test-steps .prompt-preview hr,
.prompts.index .prompt-preview hr {
    margin: 0.5rem 0
}
.prompt-rolls .prompt-preview hr:last-of-type,
.test-steps .prompt-preview hr:last-of-type,
.prompts.index .prompt-preview hr:last-of-type {
    display: none;
}


/** Tags edit **/

/* .tags td,
.tags th {
    border-bottom: none;
} */

/** TagValues index **/

.tagValues.index > h3 {
	width: calc(100% - 19rem);
}


/** TagValues edit **/
.tagValues.form table th,
.tagValues.form table td {
        border: none;
}

/** TagValues list **/

.selection-wrapper .focused {
    border-color: #667;
}

.selection-wrapper div.drag-region {
    /* margin-bottom: 10px;
    padding: 10px; */
}
    
.selection-wrapper div.drag-item {
    border: 0.1rem dashed transparent;
    /* padding: 0.2rem; */
}
.selection-wrapper div.drag-item.dragged {
    background-color: #3d78ff;
    border: 0.1rem solid #3d78ff;
    /* color: #205ce1; */
    position: relative;
    /* bottom: -2999px; */
}
.selection-wrapper div.drag-item.not-dragged {
    /* background-color: inherit;
    color: inherit; */
}
.selection-wrapper div.drag-item.dragged-over {
    background-color: #3d78ff;
    border: 0.1rem dotted #fff;
}
@keyframes highlight-blue {
  from { background-color: #3d78ff; }
  to { background-color: #205ce1; }
}
.selection-wrapper div.drag-item.dragged-dropped,
.selection-wrapper div.row.highlighted {
    animation-name: highlight-blue;
    animation-duration: 0.8s;
}
.selection-wrapper div.drag-item.clicked {
    background-color: #3d78ff;
    border: 0.1rem solid #3d78ff;
}
.selection-wrapper label {
    /* margin-left: 0.2rem; */
}

.selection-all,
.selection-list {
    border: 0.1rem solid #d1d1d1;
    border-radius: 0rem; /* 0.38rem */
    margin: 0; /* 0.2rem; */
    margin-top: -0.8rem;
    margin-bottom: 1.3rem;
    padding: 0.68rem 0.8rem;
    height: 30rem;
    overflow-x: hidden;
    overflow-y: scroll;
    user-select: none;
    -webkit-user-select: none;
    outline: none;
}

.selection-list {
    height: 25rem;
}

.selection-all .row,
.selection-list .row {
    margin: 0 0.15rem;
}

.selection-all .active,
.selection-list .drag-item {
    background-color: #205ce1;
    color: #fff;
}
.selection-all .select-active {
    background-color: #3d78ff;
    color: #fff;
}
.selection-all .select-inactive {
    background-color: #ddd;
    color: inherit;
}

.selection-list .row.above-rows {
    margin-top: -0.68rem; /* see padding of .selection-list above */
    height: 0.68rem;
}
@keyframes above-rows-clicked {
  from { background-color: #ff5ce1; }
  to { background-color: #fff; }
}
.selection-list .row.above-rows .column-id.clicked {
    animation-name: above-rows-clicked;
    animation-duration: 0.8s;
}
.selection-list .row.above-rows .column-name.clicked {
    animation-name: above-rows-clicked;
    animation-duration: 0.8s;
}

.selection-wrapper .selection-footer {
    margin-top: 1.5rem;
}
.selection-wrapper a.reset-button {
    padding: 0 1.2rem;
    background-color: #999;
    border-color: #999;
    color: white;
    text-decoration: none;
}
.selection-wrapper a.reset-button:hover {
    text-decoration: none;
}


/** Print style **

.print-page,
.index-links {
    float: right;
}

@media print {
    .print-section-main {
        position: absolute;
        left: 0;
        top: 0;
    }

    body * {
        visibility: hidden;
    }

    .print-section-main, .print-section-main *,
    .print-section, .print-section * {
        visibility: visible;
    }

    .print-section-main .print-hidden, .print-section-main .print-hidden *,
    .print-section .print-hidden, .print-section .print-hidden *,
    .print-page {
        display: none;
    }

    .print-section-main a[href]:after,
    .print-section a[href]:after {
        content: none !important;
    }
}
*/
