body {
    font-size: 16px;
}

h1, h2, h3, h4, h5, h6 {
    font-weight: 400;
    color: #006064;
}

nav h1, nav h2, nav h3, nav h4, nav h5, nav h6 {
    color: #fff;
}

h1 {
    font-size: 2.92rem;
    margin: 1.46rem 0 1.168rem 0;
}

h2 {
    font-size: 2.28rem;
    margin: 1.14rem 0 0.912rem 0;
}

h3 {
    font-size: 1.64rem;
    margin: 0.82rem 0 0.656rem 0;
}

h4 {
    font-size: 1.25rem;
    margin: 0.5rem 0 0.5rem 0;
}

h5 {
    font-size: 1.1rem;
    margin: 0.5rem 0 0.5rem 0;
}

a {
    color: #00b8d4;
}

    a:hover {
        color: #00838f;
    }

.header-font {
    font-family: 'Dosis', sans-serif;
}

.btn, .btn-large {
    background-color: #00695c;
    color: #fff;
}

    .btn:hover, .btn-large:hover {
        background-color: #009688;
        color: #fff;
    }

.bg-image {
    background-size: cover;
    background-image: url("back.fa63acd568bb.jpg");
}

.bold {
    font-weight: 700;
}

nav form {
    height: auto;
}

.sidenav li > a > i, .sidenav li > a > i.material-icons {
    margin-right: 15px;
    color: inherit;
}

.brand {
    font-family: 'Dosis', sans-serif;
    color: #ffc107;
}

    .brand.brand-logo {
        font-size: 2.28rem;
        color: #ffc107;
    }

.nomargin {
    margin: 0 !important;
}

nav ul li a {
    color: #fff;
}

    nav ul li a:hover {
        color: #ffc107
    }

nav ul.dropdown-content {
    margin-top: 64px;
}

    nav ul.dropdown-content li > a, nav .dropdown-content li > span, nav ul.dropdown-content li > button {
        color: #fff;
        background-color: #006064;
        font-size: 15px;
    }

        nav ul.dropdown-content li > a:hover, nav ul.dropdown-content li > button:hover {
            background-color: #00565a;
            color: #ffc107;
        }

    nav ul.dropdown-content li > button {
        display: block;
        line-height: 22px;
        padding: 14px 16px;
        border: none;
        width: 100%;
        text-align: left;
        cursor: pointer;
    }

#dropdownHraTrigger {
    min-width: 10em;
}

nav .right {
    margin-left: auto;
}

@media only screen and (min-width: 601px) {
    nav .nav-wrapper {
        padding-left: 25px;
    }

    .card.xsmall {
        height: 230px;
    }
}

@media only screen and (min-width: 993px) {
    nav .nav-content.homepage-nav {
        padding-left: 150px;
    }
}

nav .nav-content.homepage-nav h1 {
    margin-bottom: 0;
}

nav .nav-content.homepage-nav div.row {
    margin-bottom: 0;
}

nav .logo-image {
    position: absolute;
    left: 5px;
    top: 5px;
}

    nav .logo-image img {
        padding: 10px 10px 10px 20px;
        height: 150px;
    }

nav .logo-image-small {
    position: relative;
    top: 0;
    left: 0;
}

    nav .logo-image-small img {
        padding: 10px;
        height: 100px;
    }

nav .user-menu a.dropdown-trigger span {
    max-width: 15em;
    display: flex;
    flex-direction: row;
}

nav .user-menu a.dropdown-trigger span bdi {
    overflow: hidden;
    white-space: nowrap;
    padding: 0;
    margin: 0;
    text-overflow: ellipsis;
}

.body-content {
    padding-top: 25px;
}

.wrap-text {
    overflow-wrap: break-word;
}

div.card.card-light {
    background-color: #e0f7fa;
}

    div.card.card-light .card-title {
        color: #006064;
        font-weight: 500;
    }

    div.card.card-light .card-action a {
        color: #00838f !important;
    }

        div.card.card-light .card-action a:hover {
            color: #00b8d4 !important;
        }

div.card.card-dark {
    background-color: #00565a;
    color: #fff;
}

    div.card.card-dark .card-title {
        /*color: #00b8d4;*/
    }

    div.card.card-dark .card-action a {
        color: #ffc107 !important;
    }

        div.card.card-dark .card-action a:hover {
            color: #ffe082 !important;
        }

.promo {
    color: #006064;
    margin-top: 30px;
}

    .promo a {
        text-transform: uppercase;
    }

        .promo a.cta {
            color: inherit;
        }

    .promo .promo-title {
        font-weight: 500;
        font-size: 24px;
        margin: 15px 0;
    }

.promo-small {
    color: #006064;
}

    .promo-small .promo-card {
        margin-bottom: 5px;
    }

        .promo-small .promo-card i {
            padding-right: 10px;
        }

ul.collapsible li div.collapsible-header {
    font-weight: 500;
    color: #006064;
}

ul.collapsible li div.collapsible-body {
}

    ul.collapsible li div.collapsible-body i.material-icons {
        padding-right: 3px;
    }

    ul.collapsible li div.collapsible-body h5 {
        font-size: 16px;
        font-weight: 500;
    }

form div.form-text {
    margin-top: 1.5rem;
}

.forum .card.panel {
    padding: 10px 24px;
    margin-top: 0;
    margin-bottom: 1px;
}

.forum #forumContainer {
    margin-bottom: 50px;
}

textarea.materialize-textarea.validate + label:not(.label-icon).active {
    -webkit-transform: translateY(-25px) scale(0.8);
    transform: translateY(-25px) scale(0.8);
}

.input-field .errorlist {
    position: relative;
    min-height: 18px;
    display: block;
    font-size: 12px;
}

.errorlist {
    color: #F44336;
}

.highlight-target:target {
    animation: highlight-target 1s ease;
}

@keyframes highlight-target {
    20% { background-color: #FFF176 }
}

.sidenav li > button {
    color: rgba(0, 0, 0, 0.87);
    display: block;
    font-size: 14px;
    font-weight: 500;
    height: 48px;
    line-height: 48px;
    padding: 0 32px;
    border: none;
    width: 100%;
    text-align: left;
    background: transparent;
    cursor: pointer;
}


.submit-time-column {
    width: 30%;
}

.puzzle-list .column-icon {
    width: 1em;
}

.puzzle-list .column-icon i {
    margin-right: 0;
}

.puzzle-list .column-number {
    width: 2em;
    text-align: right;
}

.puzzle-list .column-location {
    width: 14em;
}

.puzzle-list .column-puzzle {
    width: 12em;
    white-space: nowrap;
}

table.standings {
    width: 100%;
    table-layout: fixed;
}

table.standings .rank {
    width: 2.5em;
}

@media only screen and (max-width: 600px) {
  table.standings .rank {
    width: 2em;
    vertical-align: top;
  }
}

table.standings .team-name .chip {
    margin-top: 5px;
}

table.standings .place {
    width: 7em;
    text-align: center;
}

table.standings .timestamp {
    width: 7em;
    text-align: center;
}

div.big-divider {
    margin-top: 6em;
    border-bottom: 3px solid grey;
    width: 100%;
}

.number-cell {
    text-align: right;
}

.team-name-cell {
    max-width: 20em;
    overflow: hidden;
    text-overflow: ellipsis;
}

.densetable, .densetable tr, .densetable td {
    margin: 0px;
    border: 0px;
    padding: 0px;
}

.framedtable {
    align: center;
    width: auto;
    margin: 0px;
    border: 0px;
    padding: 0px;
}

.framedtable td {
    padding: 2px 4px;
    border: 1px solid grey;
    text-align: center;
}

.inventory {
    column-width: 275px;
}

.inventory li {
    margin-bottom: 1em;
}

.submit_solution_form .input-field #id_guess {
    background: #e8f4f2; /*93cbc4;*/
    padding-left: 4px;
}

.submit_solution_form .input-field {
    padding-left: 4px;
    
}

.body-content.fullwidth {
    padding: 0.5em;
}

.rotate90deg {
    writing-mode: vertical-rl;
    text-orientation: mixed;
}

table.sticky-head thead {
    position: sticky;
    top: 0;
    z-index: 2;
    background-color: white;
    box-shadow: 0 1px 1px rgba(0, 0, 0, 0.1);
}

table.sticky-head th {
    vertical-align: bottom;
}

.card .card-image.floorplan {

}

.card .card-image.floorplan img, .card .card-image.floorplan svg {
    max-width: 600px;
    max-width: min(600px, 100%);
    max-height: 600px;
    width: auto;
    height: auto;
    position: static;
    display: block;
    margin: 0 auto;
}

.card .card-image.floorplan img, .card .card-image.floorplan svg .node circle {
    opacity:1;
    fill:#ffff00;
    fill-opacity:0.65490196;
    stroke:none;
}

.card .card-image.floorplan img, .card .card-image.floorplan svg .node.visited circle {
    fill:#00ff00;
}

.card .card-image.floorplan img, .card .card-image.floorplan svg a:hover circle {
    fill-opacity: 1;
}

div.document-cards {
    font-family: "serif";
    color: black;
}

div.document-cards h2 {
    color: black;
    font-size: 120%;
    font-weight: bold;
}

div.document-cards h3 {
    color: black;
    font-size: 100%;
}

div.document-cards .card .card-content {
    padding: 80px;
    font-style: italic;
}

div.document-cards .card .card-content p {
    margin: 1em 0;
}

div.document-cards .card .card-content .document-header {
    display: flex;
}

div.document-cards .card .card-content .document-header p {
    margin-top: 0;
    padding-top: 0.5em;
    flex: auto;
}

div.document-cards .card .card-content .document-header img {
    width: 100px;
    display: block;
}

div.document-cards div.statement-question {
    font-weight: bold;
}

div.document-cards div.statement-note {
    margin-top: 0.5em;
    border-top: 1px solid black;
    padding-top: 1em;
    margin-bottom: 1em;
}

audio.fullwidth {
    width: 100%;
}

.inventory-note {
    margin-left: 2em;
}

.inventory.after-game {
    column-width: 550px;
}

#djDebug #djDebugToolbar input[type="checkbox"] {
    position: static;
    opacity: 1;
    pointer-events: auto;
}

td.check-column {
    width: 2em;
}

td.start_registered {
    text-decoration: line-through;
}

td.team-id-left {
    width: 1em;
}

.team-bar {
    width: 10em;
    height: 10px;
    display: inline-block;
}

.team-bar div {
    background: #00b0ff;
    height: 100%;
}

.tajnicka {
	font-weight: bold;
}
