@import url('https://www.kiddoworksheets.com/wp-content/themes/attire/css/googlefonts.css');

* {
	box-sizing: border-box;
}
@media (min-width: 768px) {
    .order-md-0 {
        -webkit-box-ordinal-group: 1;
        -ms-flex-order: 0;
        order: 0;
    }
    .order-md-1 {
        -webkit-box-ordinal-group: 2;
        -ms-flex-order: 1;
        order: 1;
    }
}
.page-preview {
    position: relative;
	visibility: hidden;
	border: 1px solid red;
	overflow: hidden;
}
.error-container {
    visibility: hidden;
    display: flex;
    justify-content: center;
    align-items: center;
    width: 100%;
    height: 100%;
    position: absolute;
    z-index: 1;
    background: rgba(250, 250, 250, 0.85);
    padding: 1rem;
    text-align: center;
    font-size: 1.25rem;
}
.worksheet-container {
    position: absolute;
    top: 0;
    left: 0;
	width: 8.5in;
	height: 11in;
	transform-origin: top left;
}
.worksheet-container .footer {
    bottom: -1.5rem;
}
.problem-table.matching-list + .footer,
.problem-table.even-odd + .footer,
.problem-table.crossword + .footer,
.problem-table.spelling-test + .footer,
.clue-table + .footer {
    bottom: 0;
}
#worksheet-input label {
	font-weight: normal;
}
/* #worksheet-input .form-check-input {
    margin-top: .3rem;
    margin-left: -1.25rem;
} */
#worksheet-input .form-select {
    display: block;
    width: 100%;
    padding: .375rem 2.25rem .375rem .75rem;
    -moz-padding-start: calc(0.75rem - 3px);
    font-size: 1rem;
    font-weight: 400;
    line-height: 1.5;
    color: #212529;
    background-color: #fff;
    background-image: url("data:image/svg+xml,%3csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 16 16'%3e%3cpath fill='none' stroke='%23343a40' stroke-linecap='round' stroke-linejoin='round' stroke-width='2' d='M2 5l6 6 6-6'/%3e%3c/svg%3e");
    background-repeat: no-repeat;
    background-position: right .75rem center;
    background-size: 16px 12px;
    border: 1px solid #ced4da;
    border-radius: .25rem;
    transition: border-color .15s ease-in-out,box-shadow .15s ease-in-out;
    -webkit-appearance: none;
    -moz-appearance: none;
    appearance: none;
}
#digit-input-advanced {
    display: none;
}
.floating-label .form-control,
.floating-label .form-select {
	padding-top: 1.5rem;
	height: 3.25rem;
}
.floating-label .form-label {
	position: absolute;
	z-index: 1000;
	font-size: .75rem;
	opacity: .75;
	padding-top: .35rem;
	padding-left: .75rem;
}
.paren {
    display: inline-block;
    font-size: 2rem;
    /* opacity: .5; */
}
.paren-left {
    margin-right: .5rem;
}
.paren-right {
    margin-left: .5rem;
}
.operator {
    display: inline-block;
    margin: 0 .5rem;
}
.problem-table.horizontal .operator {
    margin: 0;
}
.form-control {
    border-radius: .25rem !important;
}
.line-1,
.line-2,
.line-3 {
	font-weight: 700;
    font-family: "Open Sans";
    font-size: 20pt !important;
    padding-bottom: 0 !important;
}
.btn-worksheet[disabled] {
    color: white !important;
    background-color: #dcdcdc !important;
    border: transparent;
}
#worksheet-input .input-group .input-group-text {
    border-top-right-radius: 0 !important;
    border-bottom-right-radius: 0 !important;
}
#worksheet-input .input-group .form-control {
    border-top-left-radius: 0 !important;
    border-bottom-left-radius: 0 !important;
}
.problem-table.spelling-test {
    line-height: 17.5pt;
}
.problem-table.word-scramble td {
    font-size: 18pt !important;
    height: 30pt;
}
.problem-table.matching-list .answer-image,
.problem-table.matching-list .answer-image-preview {
	display: none;
}
.worksheet.answersheet .problem-table.matching-list .problem-image {
	display: none;
}
.worksheet.answersheet .problem-table.matching-list .answer-image-preview {
	display: block;
}
.answersheet .problem-table.word-search td span.solution {
    display: none;
}
.answersheet .problem-table.word-search td span.solution.preview {
    display: block;
}
.clue-table td {
    padding: 1pt !important;
}