﻿/* 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;
    text-decoration: none;
}

.nav-pills .nav-link.active, .nav-pills .show > .nav-link {
    color: #fff;
    background-color: #1b6ec2;
    border-color: #1861ac;
}

.nav-color {
    background-color: #212121;
}

.inner-nav {
    background-color: #212121;
    color: darkorange;
    padding: 4px;
    border-left: 1px solid transparent;
    border-right: 1px solid transparent;
}

.inner-nav.active {
    border-left: 1px solid darkorange;
    border-right: 1px solid darkorange;
}

.custom-toggler .navbar-toggler-icon {
    background-image: url("data:image/svg+xml;charset=utf8,%3Csvg viewBox='0 0 32 32' xmlns='http://www.w3.org/2000/svg'%3E%3Cpath stroke='darkorange' stroke-width='2' stroke-linecap='round' stroke-miterlimit='10' d='M4 8h24M4 16h24M4 24h24'/%3E%3C/svg%3E");
}

.custom-toggler.navbar-toggler {
    border-color: darkorange;
}

.scoretextbox {
    width: 42px;
    height: 42px;
    border-radius: 4px;
    text-align: center;
}

.pick {
    font-size: 20px;
}

.winners,
.winners h2 {
    color: goldenrod;
    font-weight: bold;
}

.highlighted-score {
    padding: 0px 5px 0px 5px;
    border-radius: 20%;
}

.flag {
    border-radius: 50%;
    height: 48px;
    width: 48px;
    background-color: darkorange;
}

/* Chrome, Safari, Edge, Opera */
input[type=number]::-webkit-inner-spin-button,
input[type=number]::-webkit-outer-spin-button {
    -webkit-appearance: none;
    -moz-appearance: none;
    appearance: none;
    margin: 0;
}

/* Firefox */
input[type=number] {
    -moz-appearance: textfield;
}


/* Sticky footer styles
-------------------------------------------------- */
html {
    font-size: 14px;
    font-family: 'Titillium Web', sans-serif;
}
@media (min-width: 768px) {
  html {
    font-size: 16px;
  }
}
@media (max-width: 450px) {
    html {
        font-size: 11px;
    }
}

input.input-validation-error,
textarea.input-validation-error,
select.input-validation-error {
    background: #FEF1EC;
    border: 1px solid #CD0A0A;
}

.center-submit {
    position: absolute;
    width: 270px;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    -ms-transform: translate(-50%, -50%); /* IE 9 */
    -webkit-transform: translate(-50%, -50%);
    border-radius: 19px;
}

.submit-background {
    width: 100%;
    height: 54px;
    background-color: transparent;
    top: 55px;
    position: sticky;
    position: -webkit-sticky;
}

/* Sticky footer styles
-------------------------------------------------- */
html {
  position: relative;
  min-height: 100%;
}

body {
    /* Margin bottom by footer height */
    margin-top: 56px;
    margin-bottom: 60px;
    font-family: 'Titillium Web', sans-serif;
}

.footer {
    position: absolute;
    bottom: 0;
    width: 100%;
    white-space: nowrap;
    line-height: 60px;
    background-color: #212121;
}

@media (max-width: 768px) {
    .flag {
        display: none;
    }

    .submit-background {
        top: 49px;
    }

    body {
        margin-top: 49px;
    }
}

@media (max-width: 450px) {
    .submit-background {
        top: 38px;
    }

    body {
        margin-top: 38px;
    }
}

@media (max-width: 330px) {
    .center-submit {
        width: 90%;
    }
}
