.pagination{
  float:none!important;
  margin: 0!important;
  background-color: inherit!important;
  border: none!important;
}

.access_code{
  font-family: Monospace;
}

.cardinality{
  display: none!important;
}

.pagination>li>a, .pagination>li>span{
  float: none!important;
}

.taskTable thead th.orderable:after {
    content: "\f0dc";
    margin-left: 2%;
    font-size: 0.8em;
    font-family: FontAwesome;
}
.taskTable thead th.asc:after {
    content: "\f0de";
}
.taskTable thead th.desc:after {
    content: "\f0dd";
}

.pagination{
  position: relative;
    float: left;
    padding: 6px 12px;
    margin-left: -1px;
    line-height: 1.3;
    color: #337ab7;
    text-decoration: none;
    background-color: #fff;
    border: 1px solid #ddd;
    cursor: pointer;
    font-size: 15px!important;
}

.pagination:hover{
  z-index: 2;
    color: #23527c;
    background-color: #eee;
    border-color: #ddd;
}

.taskTable thead th{
  color: #337ab7;
  cursor: pointer;
}

#competition_registration input,
#competition_registration select {
   margin: 5px 0 5px 10px;
}

#competition_registration table + input {
   margin-left: 170px;
   margin-top: 20px;
   min-width: 150px;
   background: green;
   font-weight: bold;
   font-size: 18px;
   color: white;
   padding-top: 0;
   padding-bottom: 0;
}

#competition_registration th {
    text-align: right;
    min-width: 140px;
}

.promoted a {
    font-size: 150%;
}

.footnote {
    font-size: 40%;
}

div.competitions-list ul {
        list-style-type: none;
}

li.promoted {
        margin-bottom: 30px;
}

div.page-header {
    height: 60px;
    margin-top: 10px;
    position: relative;
    border: none;
}

div#logo {
    position: relative;
}

#profile_edit {
    padding: 3em;
    background: #FAFAFA;
    display: block;
    border:solid 2px green;
    border-radius: 4px;
}

#profile_edit label {
    display:block;
    margin-top: 0.25em;
    margin-bottom: 0em;
}

#profile_save_btn {
    margin-top: 0.5em;
}

.context_menu > div {
    display: inline;
}

div#context_menu {
    position: absolute;
    float: right;
    right: 20px;
    top: 80px;
    padding: 1em;
}


#profile .navbar-brand{
    padding: 15px 0px!important;
}

#lang .select-lang{
    float: right;
    -webkit-appearance:none;

    color: #333;
    background-color: #fff;
    border-color: #000;

    display: inline-block;
    padding: 3px 12px;
    margin-bottom: 0;
    font-size: 14px;
    font-weight: 400;
    line-height: 1.42857143;
    text-align: center;
    white-space: nowrap;
    vertical-align: middle;
    -ms-touch-action: manipulation;
    touch-action: manipulation;
    cursor: pointer;
    -webkit-user-select: none;
    -moz-user-select: none;
    -ms-user-select: none;
    user-select: none;
    background-image: none;
    border-radius: 4px;
}


.span12 .span2{
  height: 34px;
    padding: 6px 12px;
    font-size: 14px;
    line-height: 1.42857143;
    color: #555;
    background-color: #fff;
    background-image: none;
    border: 1px solid #ccc;
    border-radius: 4px;
    -webkit-box-shadow: inset 0 1px 1px rgba(0,0,0,.075);
    box-shadow: inset 0 1px 1px rgba(0,0,0,.075);
    -webkit-transition: border-color ease-in-out .15s,-webkit-box-shadow ease-in-out .15s;
    -o-transition: border-color ease-in-out .15s,box-shadow ease-in-out .15s;
    transition: border-color ease-in-out .15s,box-shadow ease-in-out .15s;
}

div#content {
    border: solid 2px #93E493;
    border-radius: 6px;
    padding: 50px 10px 10px 10px;
    background: #F8F8F8;
}

body {
    font-size: 18px;
    background: #f9f0df;
}

div#content div.section {
    padding-top: 30px;
    clear: both;
}

table#sections th {
    padding-right: 20px;
    font-weight: bold;
}

div.school div.school p {
    margin-bottom: 5px;
}

table#sections td, table#sections th {
    vertical-align: top;
    padding-bottom: 20px;
}

div.page-footer {
    width: 100%;
    text-align: right;
    margin-top: 20px;
}


div.results-group,
div.prelim,
div.results-school {
    font-weight: bold;
    margin-top: 20px;
}

table.junior {
    margin-top: 10px;
    margin-left: 40px !important;
}

table.results tr.unconfirmed th {
    color: #aaa;
}

table.results span.qualify-button {
    display: inline-block;
    width: 12px;
    height: 14px;
    margin-left: 5px;
}

table.results tr.unconfirmed span.qualify-button {
    background: url(/static/img/qualify.png) 0px 0px/12px 12px no-repeat;
    margin-left: 29px; /* include the hidden pencil */
}

table.results tr.confirmed span.qualify-button {
    background: url(/static/img/disqualify.png) 0px 0px/12px 12px no-repeat;
}

table.results tr.unconfirmed td span {
    display: none;
}

table.results input {
    width: 90px;
    height: 20px;
    line-height: 20px;
}

table.results {
    border: solid 2px #93E493;
    border-radius: 6px;
    background: #F8F8F8;
}

span.correct {
    color: green;
}

span.wrong {
    color: red;
}

table.results tr.unconfirmed th img.pencil {
    display: none;
}

table.results th img {
    padding-left: 5px;
}

/*********/
/* basic */
/*********/

.bold_text {
    font-weight: bold;
}
select {
    max-width: 180px;
}
.toLeft {
    text-align: left;
}

/**********/
/* button */
/**********/

.button {
  -webkit-border-radius: 28;
  -moz-border-radius: 28;
  border-radius: 28px;
  font-family: Arial;
  color: #ffffff;
  font-size: 14px;
  background: #096b04;
  padding: 8px 15px 8px 15px;
  text-decoration: none;
}

.button:hover {
  background: #428c24;
  text-decoration: none;
}



/***********/
/* answers */
/***********/

.correct_answer {
    font-weight: bold;
    color: #024302;
    margin-left: 1%;
}
.wrong_answer {
    font-weight: bold;
    color: #940000;
    margin-left: 1%;
}

/************/
/* attempts */
/************/

.attempts_list {
    overflow: auto;
    text-align: left;
}
.attempt {
    margin-left: 2%;
    margin-bottom: 1%;
    padding-left: 2%;
}
.attempt_info {
    font-style: italic;
}
.attempt_answers_info {
    margin-left: 2%;
}



/****************/
/* competitions */
/****************/

.competitions_list {
    min-height: 100px;
    max-height: 300px;
    overflow: auto;
    text-align: left;
    margin-left: 2%;
}
.competition_name {
    margin-bottom: 1%;
}
.competition_questionset {
    margin-left: 2%;
}
.competition_create {
    text-align: left;
    margin-left: 2%;
}



/***************/
/* footer logo */
/***************/

footer {
    text-align: center;
}

.footer_logos {
    margin-left: auto;
    margin-right: auto;
    margin-top: 1%;
    margin-bottom: 1%;
}
.footer_logo_in_cooperation {
    font-weight: bold;
    margin-left:  3%;
    margin-right: 1%;
}



/*********/
/* forms */
/*********/

/* regular form */
.form_table{
    margin-left: 4%;
}
.form_row {
    height: 35px;
}
.form_row:before,
.form_row:after {
    content: " ";
    display: table;
}
.form_row:after {
    clear: both;
}

.form_column {
    float:left;
    text-align:left;
    width:200px;
}



/* register form */
.form_register_table{
    margin-left: 2%;
}
.form_register_row {
    height: 35px;
}
.form_register_row:before,
.form_register_row:after {
    content: " ";
    display: table;
}
.form_register_row:after {
    clear: both;
}

.form_register_column {
    float:left;
    text-align:left;
    width:140px;
}

/* compete form */
.form_compete_table{
    margin-left: 2%;
}
.form_compete_row {
    height: 35px;
}
.form_compete_row:before,
.form_compete_row:after {
    content: " ";
    display: table;
}
.form_compete_row:after {
    clear: both;
}

.form_compete_column {
    float:left;
    text-align:left;
    width:100px;
}

#normal_form_fields th{
  padding: 2%!important;
  border-bottom: none!important;
}

.form_table table tbody tr td{
  padding-bottom: 1%;
    padding-top: 1%;
    border-bottom: none!important;
}

#questionsets table tbody tr td{
    padding-bottom: 2%;
    padding-top: 2%;
    border-bottom: none!important;
}

.left_set input[type=text], input[type=number], select[name=competitor_code_format], select[name=admin_code_format]{
  width: 250px;
  max-width: none!important;
}

.questionset-row select{
  width: auto!important;
  max-width: none!important;
}

.questionset-row{
  margin-top: 2%;
}

.questionset-row input[type=text],select[name=questionset]{

  font-family: "Roboto", "Lucida Grande", Verdana, Arial, sans-serif;
    font-weight: normal;
    font-size: 13px;
}

.submit_set{
  margin-top: 2%;
    margin-bottom: 3%;
    padding: 8px 15px!important;
    font-size: 15px!important;
}

.user-filter input{
  margin-bottom: 4%;
}

.user-filter-button{
  margin-top: 2%;
}

.user-filter span{
  margin-left: 4%;
}

.questionset_create_table tbody th{
  width: 40%;
}

.questionset_create_table tbody td{
  width: 60%;
  padding-top: 3%;
}

.questionset_create_table #id_questions{
  width: 100%;
  height: 250px!important;
  padding: 10px;
}

.ques_sub{
  margin-left: 20%;
  margin-top: 2%;
}

.add_row{
  background: url(/static/admin/img/icon-addlink.svg) 0 1px no-repeat;
  padding-left: 16px;
  font-size:15px!important;
  margin-left:1%;
  cursor:pointer;
}

.questionsets_head{
  margin-top:4%;
  padding-bottom:1%;
  border-bottom: solid 2px #f9f0df;
}

