@import url('https://fonts.googleapis.com/css2?family=Montserrat:ital,wght@0,100;0,200;0,300;0,400;0,500;0,600;0,700;0,800;0,900;1,100;1,200;1,300;1,400;1,500;1,600;1,700;1,800;1,900&family=Raleway:ital,wght@0,100;0,200;0,300;0,400;0,500;0,600;0,700;0,800;0,900;1,100;1,200;1,300;1,400;1,500;1,600;1,700;1,800;1,900&display=swap');

:root {
    --main-color: #2e67b2;
    --main-color-2: #004180;
    --secondary-color: #010c1b;
}

html,
body {
    height: 100%;
}

body {
    background: #ffffff;
    font-family: 'Raleway', 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: #253684;
    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: #253684;
    text-decoration: none;
    cursor: pointer;
}

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

.content {
    flex: 1 0 auto;
}

#page_content #title_caption {
    margin: 0;
}

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

#left .menu .login {
    display: none;
}

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

#left ul li{
    width: 100px;
}

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

#left ul li.answer {
    list-style-image: url(/shared/images/flower.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: var(--main-color);
    overflow: hidden;
    border-bottom: 15px solid var(--main-color-2);
    display: table;
}


#top #logo {
    height: 100px;
    float: left;
    width: auto;
}

#top #topcontrols a{
    margin: 0px;
    background-color: #ff0000;
    padding: 5px 25px;
    border-radius: 0.5rem;
    font-weight: bold;
    text-transform: capitalize;
}

#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 {
	width: 900px;
	margin: 0px auto;
	height: auto;
	overflow: hidden;
}

#top h1 {
    color: white;
    font-weight: bold;
    font-size: 36px;
    display: none;
}

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;
}

a.button_active  {
    background: var(--main-color-2);
}

a.button:hover {
    border-top-left-radius: 0rem;
    border-top-right-radius: 0rem;
    background: var(--main-color-2);
    color: #ffffff;
    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;
    width: 90%;
    margin: 0;
    text-align: center;
    clear: both;
    display: block;
    float: none;
}

#top #topbuttons {
}

#top #buttons-wrapper {
    height: auto;
    background: var(--main-color);
    display: block;
    text-align: right;
}


#main {
    display: flex;
    flex-direction: row;
    width: 900px;
    margin: 25px;
}

#main #maintop {
    display: none;
}

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

#page_content {
    padding: 0;
    background: white;
    margin: 0;
    width: 100%;
    font-size: 14px;
    line-height: 32px;
}

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: #00247d;
    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: #003aca;
    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: #ff0000;
}

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: #092b7d;
    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: #ffaf00;
}

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

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

#question_titlebar {
    margin: 10px 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: var(--main-color);
    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;
}

.header-competition {
    color: var(--main-color);
    padding: 5px 10px;
}

ul.list-competition {
    display: table;
    list-style: none;
}

.list-competition li {
    margin: 5px 0;
    direction: table-cell;
}



.list-competition li a {
    padding: 5px 20px;
    color: #ffffff;
    background-color: var(--main-color);
    text-decoration: none;
    display: block;
    width: 100%;
    height: 100%;
    border-radius: 2rem;
    border: 1px solid var(--main-color);
    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 */
}

.list-competition li a::before {
    content: "o";
    font-weight: bold;
    margin-right: 1em;
}

.list-competition li a:hover {
    background-color: #fff;
    color: var(--main-color);
}


#question_clock>div {
    color: #00247d;
}

.footer.container {
    margin-top: 0;
    padding: 20px 0 0;
    border-top: 1px solid #dddddd;
    background: var(--secondary-color);
    flex-shrink: 0;
    width: 100%;
    text-align: center;
}

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

.region-footer * {
    color: #ffffff;
}



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

/* .region-footer.left {
    float: left;
}

.region-footer.right {
    float: right;
}



.supported-logo> p > img,
.powered-logo> p > img  {
    height: 70px;
} */

fieldset input,
fieldset select,
fieldset textarea,
input[type=submit] {
    margin: 0;
    border: 1px solid #9E9E9E;
    border-radius: 0.5rem;
    padding: 5px;
    box-sizing: border-box;
}

form #login {
    background-color: red;
    border: 1px solid red;
    text-transform: uppercase;
}

form #login:hover {
    background-color: #ffffff;
    color: red;
}

.banners {
    display: grid;
    grid-auto-columns: minmax(0, 1fr);
    grid-auto-flow: column;
}

.banner {
    padding: 10px;
    justify-content: space-between;
    flex-direction: column;
    display: flex;
}

.banner > * {
   text-align: center;
   color: #ffffff;
}

.banner a {
    color: #ffffff;
    padding: 10px 15px;
    text-decoration: none;
    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 */
}

.banner.light-blue {
    background-color: #587db7;
}

.banner.light-blue a {
    background-color: #1f4978;
}

.banner.light-blue a:hover {
   color: #587db7;
   background-color: #ffffff;
}

.banner.dark-blue  {
    background-color: #1f4978;
}

.banner.dark-blue  a{
    background-color: #dc3545;
}

.banner.dark-blue a:hover {
   color: #dc3545;
   background-color: #ffffff;
}
