/* 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. */

.navbar {
    display: flow-root !important;
}

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 {
    font-family: 'Raleway' !important;
    margin-bottom: 150px;
}

.footer {
    position: absolute;
    bottom: 0;
    width: 100%;
    height: 150px;
    padding-top: 30px;
}

.navbar.navbar-bg {
    background-color: #008080;
}

.btn-fiske {
    color: #fff;
    background-color: #33A0A0;
    border-color: #008080;
}

.competition-item {
    padding: 10px;
}

    .competition-item .col-3 {
        padding: 0px;
    }

    .competition-item:hover {
        background-color: #f5f5f5;
    }

.competition-item-link {
    color: black;
}

    .competition-item-link:hover {
        color: inherit;
        text-decoration: none;
    }

.fixed-btn {
    padding-top: 10px;
    position: fixed;
    left: 0px;
    bottom: 0px;
    width: 100%;
    background-color: orangered;
    height: 100px;
    border: 0;
    z-index: 99999;
}

    .fixed-btn:hover {
        color: inherit;
        text-decoration: none;
    }

/*Ranking*/
#ranking {
    background: #f2f2f2;
    font-family: 'Raleway' !important;
}

    #ranking h2 {
        color: #231f20;
    }

#ranking-table {
    color: #5d5d5d;
    border-collapse: separate;
    border-spacing: 0 7px;
    width: 100%;
}

    #ranking-table td, #customers th {
        border: 0px;
        height: 50px;
        padding: 8px;
    }

    #ranking-table tbody tr {
        background-color: #fdfdfd;
        -webkit-box-shadow: 0px 0px 25px -10px rgba(0,0,0,0.3);
        -moz-box-shadow: 0px 0px 25px -10px rgba(0,0,0,0.3);
        box-shadow: 0px 0px 25px -10px rgba(0,0,0,0.3);
    }

    #ranking-table thead tr {
        -webkit-box-shadow: 0px 0px 25px -10px rgba(0,0,0,0.3);
        -moz-box-shadow: 0px 0px 25px -10px rgba(0,0,0,0.3);
        box-shadow: 0px 0px 25px -10px rgba(0,0,0,0.3);
    }

    #ranking-table tbody tr td:first-child {
        border-top-left-radius: 2px;
    }

    #ranking-table tbody tr td:last-child {
        border-top-right-radius: 2px;
    }

    #ranking-table tbody tr td:first-child {
        border-bottom-left-radius: 2px;
    }

    #ranking-table tbody tr th:last-child {
        border-bottom-right-radius: 2px;
    }

    #ranking-table thead tr th:first-child {
        border-top-left-radius: 2px;
    }

    #ranking-table thead tr th:last-child {
        border-top-right-radius: 2px;
    }

    #ranking-table thead tr th:first-child {
        border-bottom-left-radius: 2px;
    }

    #ranking-table thead tr th:last-child {
        border-bottom-right-radius: 2px;
    }

    #ranking-table tbody tr:hover {
        background-color: #fafafa;
        cursor: pointer;
    }

    #ranking-table thead th {
        padding-top: 12px;
        padding-bottom: 12px;
        background-color: #008080;
        color: white;
    }

.row.display-flex {
    display: flex;
    flex-wrap: wrap;
}

    .row.display-flex > [class*='col-'] {
        display: flex;
        flex-direction: column;
    }

@supports (-ms-ime-align:auto) {
    .row.display-flex > [class*='col-'] {
        flex-direction: row;
    }
}

/*Ranking*/
.row {
    display: flex;
    flex-wrap: wrap;
    padding: 4px;
    position: relative;
}

.overlay_image {
    position: absolute;
    height: 100%;
    width: 100%;
    text-align: center;
    opacity: 0.7;
    bottom: 0;
    background: gray;
}

.select2.select2-container .select2-selection {
    background-color: #33A0A0;
}

.select2.select2-container .select2-selection .select2-selection__rendered {
    color: #ffffff;
}

@media (min-width: 768px) {
    .row.equal {
        display: flex;
        flex-wrap: wrap;
    }

        .row.equal .vertical-center {
            display: table;
        }

        .row.equal .vertical-content {
            display: table-cell;
            vertical-align: middle;
        }
}

.contact {
    font-size: 1.2em;
    color: black !important;
}

    .contact a {
        color: black !important;
        text-decoration: none;
    }

    .contact h3 {
        font-size: 1.2em;
    }

    .contact ul {
        list-style-type: none;
        font-family: 'Raleway' !important;
    }

        .contact ul li {
            margin: 10px 0px;
        }

            .contact ul li i {
                color: #008080 !important;
                margin-left: 10px;
                margin-right: 5px;
            }

.promoted {
    background-color: #ddf1f1;
    animation-name: color;
    animation-duration: 1s;
    animation-iteration-count: 4;
}

@keyframes color {
    0% {
        background-color: #ddf1f1;
    }

    50% {
        background-color: #8dc9c9;
    }

    100% {
        background-color: #ddf1f1;
    }
}