@font-face {
    font-family: "Amazon Ember";
    src: url('fonts/Amazon_Ember_Rg.ttf');
}

body {
    color: white;
    background-color: #222f3f;
    font-family: "Amazon Ember", Roboto, sans-serif !important;
    padding-bottom: 4em;
}

.modal {
    color: black !important;
}

.card-title {
    color: black !important;
}

/* menu */
#menuDefault ul li.nav-item {
    white-space: nowrap;
}

#djlogo {
    width: 93px; height: 196px;
}


.submitform {
    max-width: 450px;
}
.clarificationform {
    max-width: 800px;
}

.disabled {
    color: silver !important;
}

.unseen {
    font-weight: bold;
}

.data-table .ignore, table td.ignore {
    text-decoration: line-through;
}

.data-table tr {
    background-color: white !important;
}

.probid, .langid { font-variant: small-caps; }

.badge-testcase {
    width: 20px;
    margin-right: 1px;
}

.sol {
    font-weight: bold;
    font-variant: small-caps;
}

.sol_correct      { color: green;  }
.sol_incorrect    { color: red;    }
.sol_queued       { color: gray;   }

.judgetime      { font-size: smaller; font-style: italic; }
.testcases_prev { font-size: xx-small; }
.prevsubmit     { color: #696969; }

.output_text {
    border-top: 1px dotted #C0C0C0;
    border-bottom: 1px dotted #C0C0C0;
    background-color: #FAFAFA;
    margin: 0;
    padding: 5px;
    font-family: monospace;
    white-space: pre;
}

.teamid { font-family: monospace; }
.filename, .hostname { font-family: monospace; }

.nodata {
    color: gray;
    font-style: italic;
}

a.collapse-link {
    /*color: white;*/
    text-decoration: none;
}

table.lcsdiff {
    border-spacing: 0;
    border-collapse: collapse;
}
table.lcsdiff td.linenr {
    background-color: darkgray;
    text-align: right;
    border-right: solid 1px white;
    padding-right: 7px;
}

tr {
 border-color: white !important;
}

td {
  border-color: white !important;
  padding: 10px;
  margin: 10px;
}

ins {
    background: #dfd;
    text-decoration: none;
}
del {
    background: #fdd;
    text-decoration: none;
}


.run h4 {
    font-size: 1.25rem;
    padding-top: 1rem;
}

.run h5 {
    font-size: 0.9rem;
    font-weight: bold;
    padding-top: 1.2rem;
}

.source-tab {
    border-bottom: 1px solid #dee2e6;
    border-right: 1px solid #dee2e6;
    border-left: 1px solid #dee2e6;
    padding: 0.5rem;
}

#lastmod {
    position: absolute; right: 1ex; margin-top: 1em;
}
#lastmod, #lastmod a {
    font-size: x-small;
    color: gray;
    text-align: right;
}

.center { margin: 0px auto; }

.scoreboard {
    border-collapse: collapse;
    clear: both;
}
.scoreboard td {
    font-size: small;
    vertical-align: middle;
    text-align: center;
}
.scoreboard td div {
    width: 4em;
    font-size: 120%;
    display: inline-block;
}
.scoreboard td div span {
    font-weight: normal;
    font-size: 70%;
    display: block;
}
.scoreboard tr {
    border-bottom: 1px solid white;
    height: 42px;
}
.scoreboard td, .scoreboard th {
    border-right: 1px solid silver;
    padding: 5px;
}
.scoreboard td.score_cell {
    min-width: 4.2em;
    border-right: none;
}
.scoreboard a {
    display: block;
    padding: 2px 1px 2px 1px;
    text-decoration: none;
    color: white;
}

.cl_FFFF99 {
   background-color: #232f3e !important;
}

.scoreboard .scoretn {
    padding: 0px 5px 0px;
    text-align: right;
    font-weight: bold;
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
}
.forceWidth {
    position: relative;
    display: block;
    overflow: hidden;
}
.toolong:after {
    content: "";
    width: 30%;
    position: absolute;
    top: 0;
    right: 0;
    bottom: 0;
}
.scoreboard .scoreaf { white-space: nowrap; border: 0; text-align: center; }
.scoreboard .scoreaf img { vertical-align: middle; }
.univ {
    font-size: 80%;
    font-weight: normal;
    color: #FF9900;
}

.scoretn.cl_FFFFFF {
    background-color: #232f3e !important;
} 

.fa-clock {
    color: white !important;
}

#timeleft {
    color: white !important;
}

img.affiliation-logo {
    height: 32px;
    width: 32px;
}

.scoreheader {
    font-variant: small-caps;
    border-bottom: 2px solid white;
    white-space: nowrap;
}
.scoreheader th {
    text-align: center;
    padding: 5px;
    font-size: 1.5em;
}

.problempoints {
    font-size: smaller;
    font-weight: normal;
    color: #303030;
    padding-left: 3pt;
    padding-right: 3pt;
}

.score_correct   { background: #9ce79c; }
.score_first     { background: #1daa1d !important; }
.score_pending   { background: #6666FF; }
.score_incorrect { background: #e87272; }

#scoresolv,#scoretotal { width: 2.5em; }
.scorenc,.scorett,.scorepl { text-align: center; width: 2ex; }
.scorenc { font-weight: bold; }
td.scorenc { border-color: silver; border-right: 0; }

.scoreprob { width: 3.0em; vertical-align: middle; }
.scoreaffil { text-align: center; }

#scoresummary {
    border-top: 2px solid white;
    border-bottom: none;
    font-variant: small-caps;
    font-size: 2em;
    color: #FF9900;
}
.scorethisisme  {
    background: #232f3e;
}

.scorelegend {
    display: inline-block;
    vertical-align: top;
}

.scorelegend td, .scorelegend th {
    text-align: center;
    width: 25ex;
}

#teamscoresummary { margin-top: 2.5em; }

/* between different sortorder-categories, print a thick line */
.sortorderswitch { border-top: 2px solid white; }

.circle {
    width: 14px;
    height: 14px;
    border-radius: 50%;
    border: 1px solid white;
    display: inline-block;
}

.heart {
    padding: .3em;
    cursor: pointer;
}

.countryflag {
    height: 30px;
    width: 40px;
}

table.rejudgetable td {
    text-align: center;
}
table.rejudgetable td.changed {
    background-color: #fdd;
    font-weight: bold;
}
table.rejudgetable td.identical {
    background-color: #dfd;
}
table.rejudgetable td.zero {
    background-color: #F0F8FF;
}

tr.ignore td, td.ignore, span.ignore {
    text-decoration: line-through;
}

.clarification-subject-form, .clarification-queue-form {
    display: none;
}

.form-inline {
    display: inline;
}

.input-group-text {
    font-size: small;
    width: 3em;
}

.card {
    border: none !important;
    margin: 0 !important;
    background-color: #f0f0f0;
}

.card-header {
    font-family: "Amazon Ember", Roboto, sans-serif !important;
    background-image: url('images/aws.png');
    background-repeat: no-repeat;
    background-size: 3.1%;
    background-position: 10px;
    padding-left: 80px;
    color: #ff9900;
}

.card-header .fa {
    transition: .5s transform ease-in-out;
}
.card-header .collapsed .fa {
    transform: rotate(90deg);
}

.banner {
    width: 98%;
    height: auto;
    display: block;
    margin: -3rem auto 3rem auto;
}

#teampicture {
    width: 100%;
    border: 1px solid white;
}

.problem-list h3,h4,h5 {
    text-align: center;
}

.problem-list h3 {
    font-size: 1.17em;
}

.problem-list h4 {
    font-size: 1.12em
}

.problem-list h5 {
    font-size: .83em;
}

#teamwelcome {
    padding-top: 3rem;
}
#teamwelcometeam {
    font-weight: bold;
}
#contestnotstarted {
    color: silver;
    margin-top: .2ex;
    font-weight: normal;
}

h3.teamoverview {
    border-top: solid 1px darkgray;
    border-bottom: solid 1px darkgray;
    background-color: white;
    margin-top: 2ex;
    padding-left: 1ex;
    font-size: 1.17em;
    text-align: center;
    color: #FF9900;
}

.ajax-loader-container {
    height: 40px;
}

.ajax-loader {
    top: 8px;
    right: 10px;
    margin-left: 10px;
    position: relative;
}

.navbar {
    background-image:url("images/banner.jpg");
    background-size: cover;
}

.nav-item .nav-link{
    color: white !important;
}

.navbar-dark .ajax-loader {
    color: rgba(255, 255, 255, 0.5);
}

.navbar-light .ajax-loader {
    color: rgba(0, 0, 0, .5);
}

.scrollable-menu {
    height: auto;
    max-height: 500px;
    overflow-x: hidden;
}

.error-template {
    padding: 40px 15px;
    text-align: center;
}
