﻿/* Please see documentation at https://docs.microsoft.com/aspnet/core/client-side/bundling-and-minification
for details on configuring this project to bundle and minify static web assets. */

a.navbar-brand {
    white-space: normal;
    text-align: center;
    word-break: break-all;
}

/* Provide sufficient contrast against white background */
a {
    color: #0366d6;
}

.btn-primary {
    color: #fff;
    background-color: #1b6ec2;
    border-color: #1861ac;
}

.nav-pills .nav-link.active, .nav-pills .show > .nav-link {
    color: #fff;
    background-color: #1b6ec2;
    border-color: #1861ac;
}

/* Sticky footer styles
-------------------------------------------------- */
html {
    font-size: 14px;
}

@media (min-width: 768px) {
    html {
        font-size: 16px;
    }
}

.border-top {
    border-top: 1px solid #e5e5e5;
}

.border-bottom {
    border-bottom: 1px solid #e5e5e5;
}

.box-shadow {
    box-shadow: 0 .25rem .75rem rgba(0, 0, 0, .05);
}

button.accept-policy {
    font-size: 1rem;
    line-height: inherit;
}

/* Sticky footer styles
-------------------------------------------------- */
html {
    position: relative;
    min-height: 100%;
}

body {
    /* Margin bottom by footer height */
    margin-bottom: 60px;
}

.footer {
    position: absolute;
    bottom: 0;
    width: 100%;
    white-space: nowrap;
    line-height: 60px; /* Vertically center the text there */
}

.text-xs {
    font-size: .75rem !important
}

.btn-xs {
    padding: 1px 5px !important;
    font-size: 12px !important;
    line-height: 1.5 !important;
    border-radius: 3px !important;
}

/* JS weak typing fallbacks
.flag-icon-,
.flag-icon-0,
.flag-icon-NaN,
.flag-icon-null,
.flag-icon-false,
.flag-icon-undefined,
*/
.flag-icon-unknown {
    background-color: #ccc;
    background-image: url("data:image/svg+xml,%3Csvg viewBox='0 0 512 512' xmlns='http://www.w3.org/2000/svg'%3E%3Cpath fill='%23ccc' d='M0 0h512v512H0z'/%3E%3Ctext fill='%23999' x='256' y='384' style='font: bold 333px sans-serif' text-anchor='middle'%3E%3F%3C/text%3E%3C/svg%3E");
}

.round-country-flag {
    background-size: cover !important;
    border-radius: 100%;
    height: 30px;
    width: 30px;
    border: .5px solid rgba(0,0,0,0.4);
}

.round-country-flag-sm {
    background-size: cover !important;
    border-radius: 100%;
    height: 24px;
    width: 24px;
    border: .5px solid rgba(0,0,0,0.4);
}

.round-country-flag-xs {
    background-size: cover !important;
    border-radius: 100%;
    height: 20px;
    width: 20px;
    border: .5px solid rgba(0,0,0,0.4);
}

.round-country-flag-xxs {
    background-size: cover !important;
    border-radius: 100%;
    height: 16px;
    width: 16px;
    border: .5px solid rgba(0,0,0,0.4);
}

.hiddenRow {
    padding: 0 !important;
}

/* Lanetalk button style */
.lanetalk-btn {
    background-image: url("/img/Lanetalk-logo-black.svg");
    background-size: contain;
    background-position: center center;
    background-repeat: no-repeat;
    min-width: 100px;
    min-height: 40px;
    background-origin: content-box;
}

/* Hero section of event details */
.hero {
    background-color: #000000;
    background-position: center;
    background-size: cover;
    color: #ffffff;
    text-align: center;
    border-radius: 5px;
    padding: 7em;
}

.main-actions {
    gap: 0.5em;
}

.bg-score-gold {
    background-color: #ffd700;
}

.bg-score-lightgreen {
    background-color: #d2f2d4;
}

.bg-score-green {
    background-color: #7BE382;
}

.image-cropper {
    width: 35px;
    height: 35px;
    min-width: 35px;
    overflow: hidden;
    border-radius: 50%;
}

    .image-cropper.image-cropper-sm {
        width: 32px;
        min-width: 32px;
        height: 32px;
    }

    .image-cropper.image-cropper-xs {
        width: 16px;
        min-width: 16px;
        height: 16px;
    }

    .image-cropper > img {
        display: inline;
        margin: 0 auto;
        height: 100%;
        width: auto;
    }

table-primary-light, .table-primary-light > td, .table-primary-light > th {
    background-color: #cce4ffcc
}

.table-primary-light tbody + tbody, .table-primary-light td, .table-primary-light th, .table-primary-light thead th {
    border-color: #aed4fc
}

.table-hover .table-primary-light:hover {
    background-color: #9fcdffcc
}

    .table-hover .table-primary-light:hover > td, .table-hover .table-primary-light:hover > th {
        background-color: #9fcdffcc
    }

i.info-icon {
    color: #3c8dbc !important;
    margin-left: 0.5rem !important;
    font-family: "Font Awesome 5 Free";
    font-weight: 400;
    -webkit-font-smoothing: antialiased;
    display: inline-block;
    font-style: normal;
    font-variant: normal;
    text-rendering: auto;
    line-height: 1;
}

    i.info-icon:before {
        content: "\f059";
    }

.results-config-label {
    display: inline-block;
    padding: 5px 10px;
    font-size: 12px;
    background: #f1f4f7;
    border-radius: 5px;
    margin-right: 2px;
    margin-top: 15px;
}

button#sortDirectionBtn[data-sort-direction="asc"] > i.fas::before {
    content: "\f063";
}

button#sortDirectionBtn[data-sort-direction="desc"] > i.fas::before {
    content: "\f062";
}

.loader-center {
    display: flex;
    justify-content: center;
    align-items: center;
}

.loader {
    border: 16px solid #f3f3f3;
    border-top: 16px solid #34db55;
    border-radius: 50%;
    width: 120px;
    height: 120px;
    animation: spin 2s linear infinite;
}

@keyframes spin {
    0% {
        transform: rotate(0deg);
    }

    100% {
        transform: rotate(360deg);
    }
}

.progress-bar .progress-bar-text {
    text-shadow: 0px 0px 2px #222;
}

.text-lexer-blue {
    color: #283c7b;
}

/* Custom rounded buttons */
.btn-rounded {
    border-radius: 35px;
}