html {
    font-size: 18px;
}

body {
    font-family: 'Source Sans Pro', sans-serif;
    -webkit-tap-highlight-color: transparent;
}

h1 {
    font-size: 2rem;
    margin-top: 1.25rem;
}

h2{
    font-size: 1.25rem;
    color: #757575;
    margin-top: 1.25rem;
}

.subheading {
    font-size: 0.75rem;
    margin-left: .25rem;
    color: #757575;
}

p, ul.contact li{
    text-align: justify;
    color: #555;
    font-size: 0.9rem;
}

a {
    color: white;
}

a:hover {
    color:rgb(225,225,225);
    text-decoration: none;
}

p.error{
    color: rgb(237, 24, 72);
    font-weight: 600;
    font-size: 0.75rem;
}

p.subheading {
    font-size: 0.8rem;
    padding: 0.05rem 0.3rem;
    background-color: #757575;
    color: #FFF;
    border-radius: 4px;
    display: inline-block;
    margin-bottom: 2px;
}

.navbar-dark{
    background-color: rgb(57, 162, 54);
}

.navbar-dark .navbar-toggler {
    border: none;
}

.navbar-red{
    background-color: rgb(57, 162, 54);
    color: white;
}

.navbar p {
    margin-top: 0;
    margin-bottom: 0;
}

.navbar-content, .navbar-nav{
    padding: 0.25rem;
}

.navbar-content p{
    color: #fff;
}

.navbar .fa{
    color: #fff;
}

.navbar a{
    color: #ccc;
}

.navbar .team-name {
    font-weight: 600;
}

.navbar-nav{
}

.navbar .active a {
    color: white;
    font-weight: 600;
}

nav .navbar-content{
    flex: 1;
}

nav .back,
nav .toggle {
    flex: initial;
    width: 2rem;
}

nav .back {
    padding-left: 0;
    padding-right: 0.6rem;
}

.score .row {
    height: 4rem;
    border-bottom: solid 1px #E5E5E5;
    color: black;
}

.score .row:hover {
    background-color: #EEE;
}

.score-header {
    border-bottom: solid 1px #E5E5E5;
}

.score-header .col p{
    color:black;
    font-weight: 600;
    font-size: 1rem;
}

.row .points, .row .order{
    -ms-flex: 0 0 5rem;
    flex: 0 0 5rem;
}

.cypher .row {
    height: 4rem;
    border-bottom: solid 1px #E5E5E5;
    color: #757575;
}

.cypher .row.pending {
    font-weight: 600;
    color: black;
}

.cypher .row:hover {
    background-color: #EEE;
}

.cypher-header {
    font-size: 2rem;
    margin-top: 2rem;
    margin-bottom: 2rem;
    text-align: center;
}

.team .row {
    padding-top: 0;
    padding-bottom: 0;
}

.locked .name,
.skipped .name,
.solved .name{
    color: #757575;
}

.text-white {
    color: white;
}

.team {
    border-bottom: solid 1px #E5E5E5;
    padding-top: 0.3rem;
    padding-bottom: 0.3rem;
}

.col.hints {
    -ms-flex: 0 0 4rem;
    flex: 0 0 4rem;
}

.hints span, .hints i {
    color: #AAA;
}

.hints .count{
    display: inline-block;
}

.col.status {
    -ms-flex: 0 0 2rem;
    flex: 0 0 2rem;
}

.cypher .row i{
    font-size: 1.2rem;
}

.cypher.organizer .row div {
    color: black;
}

.team .row .col,
.team .row .col-1,
.team .row .col-2,
.team .row .col-3,
.team .row .col-4,
.team .row .col-5,
.team .row .col-6,
.team .row .col-7{
    padding-left: 4px;
    padding-right: 4px;
}

.team .row p {
    margin: 0;
}

.team .row div {
    line-height: normal;
}

.fa-check-circle{
    color: lawngreen;
}

.fa-times-circle{
    color: rgb(237, 24, 72);
}

.fa-clock {
    color:deepskyblue;
}

.hint-text {
    font-weight: 600;
    font-size: 1rem;
    color: black;
}

.tag {
    display: inline-block;
    font-size: 0.6rem;
}

.label {
    font-weight: bold;
    padding-right: 0.5em;
}

.name {
    color: #000;
    font-size: 1rem;
    font-weight: 600;
    margin: 0;
    padding: 0;
}

.team p {
    text-align: left;
}

span.status {
    font-size: 0.6rem;
    padding: 0.05rem 0.3rem;
    background-color: #757575;
    color: #FFF;
    border-radius: 2px;
}

span.timestamp {
    font-size: 0.6rem;
    padding: 0.05rem 0.3rem;
    background-color: #757575;
    color: #FFF;
    border-radius: 2px;
}

.cypher.organizer .row .team-status {
    display: inline-block;
    font-size: 0.8rem;
    padding: 0.05rem 0.3rem;
    background-color: #757575;
    color: #FFF;
    border-radius: 2px;
}

.team-status-badge-in-progress {
    background-color: #0095ff !important;
}
.team-status-badge-finished {
    color: black !important;
    background-color: lawngreen !important;
}

.team-status-badge-not-started {
    background-color: #757575 !important;
}

.team-status-badge-left-game {
    background-color: #FF6347 !important;
}

.pending span.status {
    background-color: #0095ff;
}

.score-solved-cyphers {
    background-color: green;
    color: white;
    font-size: 0.8rem;
    padding: 0.05rem 0.3rem;
    border-radius: 2px;
}

.score-taken-hint-points {
    background-color: red;
    color: white;
    font-size: 0.8rem;
    padding: 0.05rem 0.3rem;
    border-radius: 2px;
}

#bonus-info p{
    font-style: italic;
    font-size: 0.9rem;
}

#hintContent {
    visibility: hidden;
    text-align: center;
}

a{
    color: black;
}

a:hover{
    color: black;
    text-decoration: none;
}

.hoverColor:hover{
    background-color: #e9ecef;
    color: black;
    text-decoration: none;
}

.paddingRow{
    padding-bottom: 10px;
    padding-top: 10px;
}

#map {
    width: 100%;
    height: 200px;
    margin-bottom: 10px;
}


.container .row .btn {
    width: 100%;
    transition: all 0.3s ease 0s;
    font-weight: 600;
    -webkit-box-shadow: 0 1px 3px 0 rgba(0, 0, 0, 0.3);
    -moz-box-shadow: 0 1px 3px 0 rgba(0, 0, 0, 0.3);
    box-shadow: 0 1px 3px 0 rgba(0, 0, 0, 0.3);
    margin-top: 0.2rem;
    margin-bottom: 0.2rem;
    border: none;
}

.container .row .btn-primary {
    color: #FFF;
    background-color: rgb(57, 162, 54);
}

.container .row .btn-primary-danger {
    color: #FFF;
    background-color: rgb(203, 32, 32);
}

.container .row .btn-under-image {
    color: #FFF;
    background-color: rgb(57, 162, 54);
    margin-top: 3rem;
}

.container .row .btn-secondary {
    color: rgb(57, 162, 54);
    background-color: white;
}

.container .row .btn-skip {
    margin-top: 3rem;
}

.container .row .btn-secondary:hover {
    -webkit-box-shadow: 0 3px 16px 2px rgba(0, 0, 0, 0.42);
    -moz-box-shadow: 0 3px 16px 2px rgba(0, 0, 0, 0.42);
    box-shadow: 0 3px 16px 2px rgba(0, 0, 0, 0.42);
    background-color: white;
    color: rgb(57, 162, 54);
}

.container .row .btn-primary:hover {
    -webkit-box-shadow: 0 3px 16px 2px rgba(0, 0, 0, 0.42);
    -moz-box-shadow: 0 3px 16px 2px rgba(0, 0, 0, 0.42);
    box-shadow: 0 3px 16px 2px rgba(0, 0, 0, 0.42);
    background-color: rgb(57, 162, 54);
    color: #FFF;
}

.container .row .btn-solve,
.container .row .btn-take {
    background-color: green;
}

.container .row .btn-flat.btn-skip {
    background-color: red;
}

.container .row .btn-start {
    background-color: #0081ff;
}

.container .row .btn-restart,
.container .row .btn-lock,
.container .row .btn-remove {
    background-color: grey;
}


.container .row .btn.btn-flat.btn-hints {
    background-color: white;
    color: black;
    border: 1px solid black;
}

.container .row .btn.btn-flat {
    -webkit-box-shadow: none;
    -moz-box-shadow: none;
    border-radius: 0;
    box-shadow: none;
    margin: 2px;
    font-size: 1rem;
    line-height: 1.5;
    color: #FFF;
    width: auto;
    padding: .35rem .65rem;
}

.btn-cn {
    background-color: rgb(57, 162, 54);
    margin: 0;
}

.big-centered-text {
    font-size: 1.25rem;
    color: #757575;
    margin-top: 1.25rem;
    text-align: center;
}

.form-control:focus {
    border-color: rgba(57, 162, 54, 0.5);
    outline: 0;
    box-shadow: 0 0 0 0.2rem rgba(57, 162, 54, 0.25);
}

.btn.focus, .btn:focus {
    outline: 0;
    box-shadow: 0 0 0 0.2rem rgba(237, 24, 72, 0.25);
}

td .btn-default {
    background-color: white;
    color: black;
    border: 1px solid black;
    border-radius: 0;
}

.last {
    margin-bottom: 1rem;
}

.alert-light {
    background-color: #f3f3f3;
}

#final-place {
    background-color: rgb(57, 162, 54);
    color: white;
    -webkit-box-shadow: 0 0 5px 0 rgba(0, 0, 0, 0.5);
    -moz-box-shadow: 0 0 5px 0 rgba(0, 0, 0, 0.5);
    box-shadow: 0 0 5px 0 rgba(0, 0, 0, 0.5);
    margin-top: 4px;
}

#final-place p {
    color: white;
    padding: 0;
    margin: 0;
}

#final-place div {
    text-align: center;
    font-weight: 600;
}

#final-place #time {
    -ms-flex: 0 0 5rem;
    flex: 0 0 5rem;
}

#final-place #button {
    -ms-flex: 0 0 5rem;
    flex: 0 0 5rem;
    text-transform: uppercase;
    font-size: 0.8rem;
}

#final-place #content {
    padding: 15px;
}

.end-game-countdown {
    font-size: 0.8rem;
}

#footer {
    position: fixed;
    left: 0;
    bottom: 0;
    width: 100%;
}

.cypher-codeword-accordion {
    margin-bottom: 15px;
}

/** Note: This is a hotfix for style: .container .row .btn */
.accordion-header-btn {
    -webkit-box-shadow: none !important;
    -moz-box-shadow: none !important;
    box-shadow: none !important;
    margin-top: 0 !important;
    margin-bottom: 0 !important;
}
/** End of hotfix**/

.collapse-sm-content {
    text-align: center;
    font-size: 1rem;
    padding: 0.25rem;
}

.alert-danger.red {
    background-color: rgb(57, 162, 54);
    color: white;
    border: none;
}

.col-centered {
    text-align: center;
}

.img-billy {
    width: 90%;
}

.input-value-required::after {
    content: " *";
    color: red
}

/** Login page */
.login-page-body {
    position: relative;
    min-height:100%;
    background-image: url('/img/login-background-mobile-large.jpg');
    background-size: cover;
    background-repeat: no-repeat;
    background-position: center center;
    background-attachment: fixed;
}

.login-form-container {
    padding-bottom:150px
}
/* Provide different image sizes for different screens to save bandwidth*/
@media (min-width: 576px) {
    .login-page-body {
        background-image: url('/img/login-background-768.jpg');
    }
}
@media (min-width: 768px) {
    .login-page-body {
        background-image: url('/img/login-background-992.jpg');
    }
}
@media (min-width: 992px) {
    .login-page-body {
        background-image: url('/img/login-background-1200.jpg');
    }
}
@media (min-width: 1200px) {
    .login-page-body {
        background-image: url('/img/login-background-large.jpg');
    }
}
.login-form-header {
    color: white;
    font-weight: bold;
    font-size: 2.5rem;
    margin-top: 2rem;
    padding-bottom: 25pt;
    text-align: center;
}
.login-form-label {
    color: white;
    font-weight: bold;
}
.login-form-submit-btn {
    margin-top: 20pt;
    font-weight: bold;
    color: rgb(57, 162, 54);
    background-color: white;
}
.login-form-error-wrapper {
    min-height:20pt;
}
.login-form-error{
    color: white;
}

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

ul.contact i {
    padding-top: 0.5rem;
    padding-bottom: 0.5rem;
    padding-right: 0.5rem;
    color: rgb(57, 162, 54);
}

.hint-image {
    margin-top: 0.5rem
}

.cypher-list {
    margin-bottom: 5rem;
}

.progress-organizer-name {
    float: right;
    color: #888;
}

.message-box {
    border: 2px solid #dedede;
    background-color: white;
    border-radius: 5px;
    padding: 10px;
    margin: 10px 0;
}

/* Clear floats */
.message-box::after {
    content: "";
    clear: both;
    display: table;
}

.message-box img {
    float: left;
    max-width: 60px;
    width: 100%;
    margin-right: 20px;
    border-radius: 50%;
}

.message-box img.right {
    float: right;
    margin-left: 20px;
    margin-right:0;
}

.time-right {
    float: right;
    color: #aaa;
}

.message-close-button {
    float: right;
}

.message-text {
    overflow: hidden;
    display: -webkit-box;
    margin-right: 1.5rem;
    -webkit-line-clamp: 3;
    -webkit-box-orient: vertical;
}

.cypher-setting {
    font-size: 2rem;
    float: right;
    color: #757575;
}

.cypher-place-description {
    padding-top: 0.2rem;
    font-size: 0.8rem;
    color: #6c757d !important;
}

.ms-container{
    background: transparent url('../../../images/switch.png') no-repeat 50% 50%;

}

.ms-container:after{
    content: ".";
    display: block;
    height: 0;
    line-height: 0;
    font-size: 0;
    clear: both;
    min-height: 0;
    visibility: hidden;
}

.ms-container .ms-selectable, .ms-container .ms-selection{
    background: #fff;
    color: #555555;
    float: left;
    width: 45%;
}
.ms-container .ms-selection{
    float: right;
}

.ms-container .ms-list{
    /* -webkit-box-shadow: inset 0 1px 1px rgba(0, 0, 0, 0.075); */
    -moz-box-shadow: inset 0 1px 1px rgba(0, 0, 0, 0.075);
    /* box-shadow: inset 0 1px 1px rgba(0, 0, 0, 0.075); */
    /* -webkit-transition: border linear 0.2s, box-shadow linear 0.2s; */
    -moz-transition: border linear 0.2s, box-shadow linear 0.2s;
    -ms-transition: border linear 0.2s, box-shadow linear 0.2s;
    -o-transition: border linear 0.2s, box-shadow linear 0.2s;
    transition: border linear 0.2s, box-shadow linear 0.2s;
    border: 1px solid #e4e5ee;
    -webkit-border-radius: 3px;
    -moz-border-radius: 3px;
    border-radius: 3px;
    position: relative;
    height: 250px;
    padding: 0;
    overflow-y: auto;
}

.ms-container .ms-list.ms-focus{
    border-color: rgba(66, 80, 165, 0.02);
    -webkit-box-shadow: inset 0 1px 1px rgba(0, 0, 0, 0.075), 0 0 8px rgba(82, 168, 236, 0.6);
    -moz-box-shadow: inset 0 1px 1px rgba(0, 0, 0, 0.075), 0 0 8px rgba(82, 168, 236, 0.6);
    box-shadow: inset 0 1px 1px rgba(0, 0, 0, 0.075), 0 0 8px rgba(82, 168, 236, 0.6);
    outline: 0;
    outline: thin dotted \9;
}

.ms-container ul{
    margin: 0;
    list-style-type: none;
    padding: 0;
}

.ms-container .ms-optgroup-container{
    width: 100%;
}

.ms-container .ms-optgroup-label{
    margin: 0;
    padding: 5px 0px 0px 5px;
    cursor: pointer;
    color: #4b4e68;
}

.ms-container .ms-selectable li.ms-elem-selectable,
.ms-container .ms-selection li.ms-elem-selection{
    border-bottom: 1px #eee solid;
    padding: 13px 13px;
    color: #71748d;
    font-size: 14px;
}

.ms-container .ms-selectable li.ms-hover,
.ms-container .ms-selection li.ms-hover{
    cursor: pointer;
    color: #fff;
    text-decoration: none;
    background-color: #5969ff;
}

.ms-container .ms-selectable li.disabled,
.ms-container .ms-selection li.disabled{
    background-color: #efeff6;
    color: #c6c6d3;
    cursor: text;
}

.truncate-2-lines {
    -webkit-line-clamp: 2;
    overflow : hidden;
    text-overflow: ellipsis;
    display: -webkit-box;
    -webkit-box-orient: vertical;
}

.custom-marker {
    background: none !important;
    border: none !important;
    box-shadow: none !important;
}
