@import url('https://fonts.googleapis.com/css2?family=Open+Sans:ital,wght@0,300;0,400;0,600;0,700;0,800;1,300;1,400;1,600;1,700;1,800&display=swap');

html,
body {
    height: 100%;
}

body {
    background: #F3EFF8;
    font-family: "Open Sans", Helvetica, Arial, sans-serif;
    font-size: 14px;
    line-height: 1.6;
    color: #333333;
    padding: 0;
    margin: 0;
    display: flex;
    flex-direction: column;
}


h1,
h2,
h3,
h4,
h5,
h6,
.h1,
.h2,
.h3,
.h4,
.h5,
.h6 {
    font-weight: 500;
    line-height: 1.2;
    color: #25346B;
    margin-top: 22px;
    margin-bottom: 11px;
}


h1,
.h1 {
    font-size: 36px;
}

h2,
.h2 {
    font-size: 30px;
}

h3,
.h3 {
    font-size: 24px;
}

h4,
.h4 {
    font-size: 18px;
}

h5,
.h5 {
    font-size: 14px;
}

h6,
.h6 {
    font-size: 12px;
}

p {
    margin: 0 0 11px;
}

a {
    color: #25346B;
    text-decoration: none;
    cursor: pointer;
}

a:hover {
    color: #4BBECF;
    text-decoration: underline;
}

.content {
    flex: 1 0 auto;
}

#left .sep ~ .sep  {
    display: none;
}

#left ul li a {
    color: #25346B;
    text-decoration: none;
    cursor: pointer;
}

#left ul li{
    width: 100px;
}

#left ul li a:hover {
    color: #4BBECF;
    text-decoration: underline;
}

#left ul li.answer {
    list-style-image: url(/question_files//2/8/3/ukmtfavicon_16.png);
}

#left ul li.current {
    list-style-image: url(/question_files//5/0/7/arrow.png);
}

#left ul li.answer.current {
    list-style-image: url(/question_files//5/5/f/answer_current.png);
}


#top {
    min-height: 105px;
    height: auto;
    background: #ffffff;
    overflow: hidden;
}


#top #logo {
    height: 100px;
}

#top #topcontrols {
    margin: 0;
    background-color: #C9E1BA;
    padding: 10px 15px;
    border-radius: 0rem;
    font-weight: bold;
}

#top #topcontrols a {
    border-radius: 0rem;
}

#top #topcontrols a:hover {
    color: #000000;
    transition: all ease-out 0.5s 0ms;
    -moz-transition: all ease-out 0.5s 0ms;
    /* Firefox 4 */
    -webkit-transition: all ease-out 0.5s 0ms;
    /* Safari and Chrome */
    -o-transition: all ease-out 0.5s 0ms;
    /* Opera */
    -ms-transition: all ease-out 0.5s 0ms;
    /* Explorer 10 */
}


#top #innertop {
    margin: 10px auto;
    height: 100px;
}

a.button {
    padding: 10px 25px;
    height: 100%;
}

a.button,
a.button span {
    background: transparent;
    margin: 9px 0px 0px 0px;
    float: none;
    display: inline-block;
    font-weight: normal;
}

a.button span {
    padding: 0;
    display: block;
    height: 30px;
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
    border-bottom: 4px solid transparent;
}

a.button_active span {
    border-bottom: 4px solid #4BBECF;
}

a.button:hover {
    border-top-left-radius: 0rem;
    border-top-right-radius: 0rem;
    background: #ffffff;
    color: #00247d;
    transition: all ease-out 0.5s 0ms;
    -moz-transition: all ease-out 0.5s 0ms;
    /* Firefox 4 */
    -webkit-transition: all ease-out 0.5s 0ms;
    /* Safari and Chrome */
    -o-transition: all ease-out 0.5s 0ms;
    /* Opera */
    -ms-transition: all ease-out 0.5s 0ms;
    /* Explorer 10 */
}

#top #topbuttons {
    text-transform: capitalize;
    float: none;
    display: block;
    margin: 0px;
    padding: 0px;
}

#top #buttons-wrapper {
    width: 100%;
    text-align: center;
    height: auto;
    background-color: #25346B;
}

#main {
    display: flex;
    flex-direction: row;
}

#main #maintop {
    display: none;
}

#left {
    border-right: 2px solid #F3EFF8;
    background: white;
    padding: 40px 20px 0px;
    margin: 0;
}

#page_content {
    padding: 40px 20px;
    background: white;
    margin: 0;
    width: 100%;
}

table {
    margin: 0px;
}

table tr.header td,
table tr th {
    background-color: #cbdce5;
}

table tr td,
table tr th {
    border: 1px solid #333333;
    padding: 5px 10px;
}

table tr:nth-child(even) {
    background-color: #f2f2f2;
}

input[type=submit],
button,
li.user_competitions_list a {
    color: #fff;
    background-color: #25346B;
    border: 1px solid transparent;
    border-color: #ccc;
    cursor: pointer;
    display: inline-block;
    font-weight: 400;
    text-align: center;
    -webkit-user-select: none;
    -moz-user-select: none;
    -ms-user-select: none;
    user-select: none;
    padding: .375rem .75rem;
    line-height: 1.5;
    border-radius: 0rem;
    transition: color .15s ease-in-out, background-color .15s ease-in-out, border-color .15s ease-in-out, box-shadow .15s ease-in-out;
}

input[type=submit]:hover {
    color: #fff;
    background-color: #25346B;
    border-color: #8c8c8c;
    transition: all ease-out 0.5s 0ms;
    -moz-transition: all ease-out 0.5s 0ms;
    /* Firefox 4 */
    -webkit-transition: all ease-out 0.5s 0ms;
    /* Safari and Chrome */
    -o-transition: all ease-out 0.5s 0ms;
    /* Opera */
    -ms-transition: all ease-out 0.5s 0ms;
    /* Explorer 10 */
}

input[type=submit].submit {
    font-weight: 600;
    color: #fff;
    background-color: #0f780c;
}

input[type=submit].submit:hover {
    background-color: #0b5809;
    border-color: #0b5809;
    transition: all ease-out 0.5s 0ms;
    -moz-transition: all ease-out 0.5s 0ms;
    /* Firefox 4 */
    -webkit-transition: all ease-out 0.5s 0ms;
    /* Safari and Chrome */
    -o-transition: all ease-out 0.5s 0ms;
    /* Opera */
    -ms-transition: all ease-out 0.5s 0ms;
    /* Explorer 10 */
}

input[type=submit].erase {
    margin: 0px 2px 2px 0px !important;
    font-weight: 600;
    color: #fff;
    background-color: #cf142b;
}

input[type=submit].erase:hover {
    background-color: #650c78;
    border-color: #650c78;
    transition: all ease-out 0.5s 0ms;
    -moz-transition: all ease-out 0.5s 0ms;
    /* Firefox 4 */
    -webkit-transition: all ease-out 0.5s 0ms;
    /* Safari and Chrome */
    -o-transition: all ease-out 0.5s 0ms;
    /* Opera */
    -ms-transition: all ease-out 0.5s 0ms;
    /* Explorer 10 */
}

input[type=submit].question.submit,
.question.submit,
.question.image {
    background-color: #25346B;
    border-radius: 0rem;
}

input[type=submit] .question.image:hover,
.question.submit:hover {
    background-color: #6b1b7a;
    transition: all ease-out 0.5s 0ms;
    -moz-transition: all ease-out 0.5s 0ms;
    /* Firefox 4 */
    -webkit-transition: all ease-out 0.5s 0ms;
    /* Safari and Chrome */
    -o-transition: all ease-out 0.5s 0ms;
    /* Opera */
    -ms-transition: all ease-out 0.5s 0ms;
    /* Explorer 10 */
}

input[type=submit].question.submit.selected,
.question.image_selected,
.question.submit.selected,
.question.image_selected {
    background-color: #C9E1BA;
}

.MathJax_CHTML * {
    color: inherit;
    font-weight: normal;
}

.question.submit .mjx-math {
    color: #fff;
}

#question_titlebar {
    margin: 0;
}

#answerWarning {
    padding: 10px;
    color: #000000;
    box-sizing: border-box;
    margin: 5px 0px;
}

#answerWarning.incorrect {
    color: #ffffff;
    background-color: #cf142b;
}

#answerWarning.correct {
    color: #ffffff;
    background-color: #0f780c;
}

a.question_button_first span,
a.question_button_first,
a.question_button_last span,
a.question_button_last {
    background: #25346B;
    font-weight: normal;
}

a.question_button_first span,
a.question_button_first {
    border-top-left-radius: 5px;
    border-bottom-left-radius: 5px;
}

a.question_button_last span,
a.question_button_last {
    border-top-right-radius: 5px;
    border-bottom-right-radius: 5px;
}

ul.user_competitions_list {
    list-style: none;
    padding: 0;
}

li.user_competitions_list {
    display: inline-block;
}

li.user_competitions_list a {
    text-decoration: none;
    color: #ffffff;
    background-color: #25346B;
}

li.user_competitions_list a:hover {
    background-color: #4BBECF;
    transition: all ease-out 0.5s 0ms;
    -moz-transition: all ease-out 0.5s 0ms;
    /* Firefox 4 */
    -webkit-transition: all ease-out 0.5s 0ms;
    /* Safari and Chrome */
    -o-transition: all ease-out 0.5s 0ms;
    /* Opera */
    -ms-transition: all ease-out 0.5s 0ms;
    /* Explorer 10 */
}

#question_clock>div {
    color: #25346B;
}

.footer.container {
    margin-top: 0;
    padding: 20px 0 0;
    border-top: 1px solid #dddddd;
    background: #f4f4f4;
    flex-shrink: 0;
    width: 100%;
}

.region-footer {
    margin: 0 15px;
    box-sizing: border-box;
}


.block-title {
    font-weight: 800;
    line-height: 1.2;
    color: #333333;
    font-size: 14px;
    margin: 10px 0 5px;
}

.supported-logo> p > img {
    height: 40px;
}