html {
overflow-y: auto;
}
button::-moz-focus-inner,
input[type="color"]::-moz-focus-inner,
input[type="reset"]::-moz-focus-inner,
input[type="button"]::-moz-focus-inner,
input[type="submit"]::-moz-focus-inner {
border: 0;
}
/* BEGIN modal styling */
*,
*:after,
*:before {
box-sizing: border-box;
}
/**
* Including the at-only style with the dialog CSS as it is required
* to visually hide a dialog's heading if desired.
*/
.at-only:not(:focus):not(:active) {
clip: rect(0 0 0 0);
clip-path: inset(100%);
height: 1px;
overflow: hidden;
position: absolute;
white-space: nowrap;
width: 1px;
}
/**
* Trigger styling
*/
[data-modal-open][hidden] {
display: none;
}
/**
* When a modal dialog is open, don't allow scrolling of content
* beneath (on desktop). Also useful in negating instances of
* double scroll bars.
* (browser window + dialog if long enough content)
*/
body.modal-open {
overflow: hidden;
}
/**
* Modal Dialog base styling
*/
[data-modal],
.a11y-modal {
-webkit-overflow-scrolling: touch;
background: #fff;
border: 2px solid;
bottom: 0;
box-shadow: 0 0 1800px 400px rgba(0, 0, 0, .4);
left: 0;
margin: auto;
max-height: 100%;
max-width: 660px;
opacity: 1;
overflow: auto;
padding: 1.25em;
position: fixed;
right: 0;
top: 0;
transform: translateY(0%);
visibility: visible;
width: 100%;
z-index: 10;
/* this should be more than enough... */
}
@media screen and (min-height: 240px) and (min-width: 300px) {
[data-modal],
.a11y-modal {
bottom: auto;
top: 50%;
transform: translateY(-50%);
/*transition: opacity .2s ease-in-out, transform .2s ease-in-out;*/
}
}
/**
* To allow for CSS animations, hidden modal dialogs are
* not set to display: none, but rather the following rule
* set, in combination with the dialog's default
* position: fixed, will keep dialogs hidden from
* all users until opened.
*
* This also solves an issue with iOS VO + Safari not allowing
* modal dialogs to be focused, if the dialog is initially
* set to "display: none".
*/
[data-modal][hidden],
.a11y-modal[hidden] {
display: block;
opacity: 0;
pointer-events: none;
transform: translateY(15vh);
visibility: hidden;
}
.a11y-modal__close-btn {
border: none;
}
.a11y-modal__close-btn[aria-hidden="true"] {
display: none;
}
.is-icon-btn {
background: none;
border: none;
height: 2em;
padding: 0;
position: absolute;
right: 1em;
top: 1em;
width: 2em;
}
.is-icon-btn:hover [data-modal-x],
.is-icon-btn:focus [data-modal-x] {
color: #600;
transform: scale(1.3) rotate(45deg);
/*transition: transform .2s ease-in-out;*/
}
[data-modal-x] {
border-right: 2px solid;
bottom: 0;
display: block;
height: 2em;
left: 0;
margin: auto;
pointer-events: none;
position: relative;
right: 0;
top: 0;
transform: rotate(45deg);
width: 2px;
}
[data-modal-x]:after {
border-right: 2px solid;
content: "";
height: 100%;
left: 0;
position: absolute;
top: 0;
transform: rotate(-90deg);
width: 100%;
}
#modal_buttons {
text-align: center;
margin-top: 1em;
}
#modal_buttons button+button {
margin-left: 1em;
}
#verify_submit h1 {
font-family: arial, sans-serif;
font-size: 1.2em;
font-weight: 700;
}
#verify_submit_text {
line-height: 1.3;
}
/* END modal styling */
.visually-hidden {
position: absolute !important;
height: 1px;
width: 1px;
overflow: hidden;
clip: rect(1px 1px 1px 1px);
clip: rect(1px, 1px, 1px, 1px);
white-space: nowrap;
}
body {
font-size: 16px;
}
*:focus {
outline: 2px dotted #000;
}
#manuscript {
width: auto;
max-width: 45em;
min-width: unset;
font-size: 16px;
}
[data-type="section"] {
width: auto;
}
h1.section-title {
visibility: hidden;
color: #D0263F;
font-size: 1.45em;
font-weight: 700;
margin-top: 1.5em;
margin-bottom: 1.5em;
}
h1.section-title.fixed {
visibility: visible;
}
[data-type="question"] {
border: 0;
border-radius: 0;
margin: 0;
padding: 0;
}
[data-type="question"]:first-of-type {
margin-top: 2em;
}
[data-type="question"] h2 {
font-weight: 700;
font-size: 1.1em;
}
[data-type="question"]+[data-type="question"] {
margin-top: 2em;
}
[data-type="question"] label {
display: block;
}
.query_essay_ta {
width: calc(100% - 10px);
max-width: 43em;
height: auto;
min-height: 10em;
margin-top: 1em;
margin-bottom: 1em;
font-size: 1em;
padding: 0.25em;
font-family: arial, sans-serif;
}
.query_essay_ta.answered {
border: 1px solid #aaa;
background-color: #f7f7f7;
}
.essay_question_evaluation_feedback {
margin: 0;
}
.essay_question_evaluation_feedback.show {
margin-bottom: 1em;
}
.question_action_div {
padding: 0;
}
.points_awarded_div {
display: none;
}
/* submit button */
.question_action_div button {
box-shadow: inset 0px 1px 0px 0px #cf866c;
background: linear-gradient(to bottom, #d0451b 5%, #bc3315 100%);
background-color: #d0451b;
border-radius: 3px;
border: 1px solid #942911;
display: inline-block;
cursor: pointer;
color: #ffffff;
font-family: Arial;
font-size: 1em;
padding: 6px 24px;
text-decoration: none;
text-shadow: 0px 1px 0px #854629;
}
.question_action_div button:hover {
background: linear-gradient(to bottom, #bc3315 5%, #d0451b 100%);
background-color: #bc3315;
}
.question_action_div button:active {
position: relative;
top: 1px;
}
.ui-button-text-only .ui-button-text {
padding: 0;
}