﻿/* 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. */

html, body {
    min-height: 100vh;
}

body {
    display: flex;
    background-image: url('/Image/screen1.jpg');
    background-size: cover;
    background-position: center center;
    background-repeat: no-repeat;
    flex-direction: column;
}

body>.container{
    flex: 1;
}

body>footer{
    background-color: red;
}

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;
}

.field-validation-error {
    color: red;
}

.validation-summary-errors ul {
    list-style-type: none;
    margin: 0;
    padding: 0;
    margin-bottom: 1em;
}

.validation-summary-errors li {
    color: darkred;
    border-left: 3px solid red;
    padding-left: 10px;
    padding-top: 3px;
    padding-bottom: 3px;
    background-color: rgba(255, 0, 0, 0.05);
    margin-bottom: 2px;
}

.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 
}

/* Site CSS*/
.dropdown-menu > li:hover, .dropdown-menu > li:focus {
    background-color: #0066aa;
    color: white;
}
.dropdown-menu > li > a:hover, .dropdown-menu > li > a:focus {
    background-color: #0066aa;
    color: white;
}

hr.divider {
    margin: 0.375em;
}

.user-important {
    font-weight: bold;
}

.header-home {
    font-weight: bold;
    background-color: #0066aa;
    color: white;
    padding: 5px 20px;
}

.header-home-day {
    font-weight: bold;
    font-size: 0.75rem;
    background-color: #0066aa;
    color: white;
    padding-left: 20px;
    padding-right: 20px;
    padding-bottom: 2px;
}

.header-home-field {
    padding: 0 10px;
    /*display: flex;
    justify-content: space-between;*/
}

.center {
    text-align: center;
    display: inline;
}

.homeTeam {
    text-align: right;
    padding: 0 0.375rem;
    display: inline;
}

.awayTeam {
    text-align: left;
    padding: 0 0.375rem;
    display: inline;
}

.btn-accept {
    padding: 0 0.375rem;
    background-color: forestgreen;
    border-color: forestgreen;
}

.btn-accept:hover {
    padding: 0 0.375rem;
    background-color: darkgreen;
}

.btn-Offer {
    display: inline-block;
    font-weight: 400;
    text-align: center;
    white-space: nowrap;
    vertical-align: middle;
    -webkit-user-select: none;
    -moz-user-select: none;
    -ms-user-select: none;
    user-select: none;
    border: 1px solid transparent;
    padding: 0.375rem 0.75rem;
    font-size: 1rem;
    line-height: 1.5;
    border-radius: 0.25rem;
    transition: color 0.15s ease-in-out, background-color 0.15s ease-in-out, border-color 0.15s ease-in-out, box-shadow 0.15s ease-in-out;
}

.btn-AddOffer {
    color: #fff;
    background-color: #00b050;
    border-color: #00b050;
}

    .btn-AddOffer:hover {
        color: #fff;
        background-color: #00b035;
        border-color: #00b035;
    }

.btn-RemoveOffer {
    color: #fff;
    background-color: #ff3300;
    border-color: #ff3300;
}

.btn-RemoveOffer:hover {
    color: #fff;
    background-color: #ff0000;
    border-color: #ff0000;
}

.tcm-grid {
    font-weight: bold;
    background-color: #0066aa;
    color: white;
}

.pagination a {
    margin: 0 4px;
}

.chartjs-render-monitor {
    padding: 20px;
}

#page-wrap {
    position: relative;
    margin: 20px auto;
    padding: 20px;
    /*background: white;*/
    background-color: rgba(255, 255, 255, 0.9);
    -moz-box-shadow: 0 0 20px black;
    -webkit-box-shadow: 0 0 20px black;
    box-shadow: 0 0 20px black;
}

.loader-wrapper {
    width: 100%;
    height: 100%;
    position: absolute;
    top: 0;
    left: 0;
    display: flex;
    justify-content: center;
    align-items: center;
    z-index: 999;
}

#loading {
    width: 100%;
    height: 100%;
    top: 0;
    left: 0;
    position: absolute;
    display: flex;
    opacity: 0.85;
    background-color: #fff;
    justify-content: center;
    align-items: center;
    z-index: 999;
}

.box {
    margin: 0 auto;
    width: 40px;
    height: 140px;
    /*border: solid 1px black;*/
    position: relative;
}

    .box .shadow {
        position: absolute;
        width: 100%;
        height: 10px;
        background-color: grey;
        bottom: 0;
        border-radius: 100%;
        transform: scaleX(.8);
        opacity: .6;
        animation: shadowScale 1s linear infinite;
    }

.gravity {
    width: 40px;
    height: 40px;
    animation: bounce 1s cubic-bezier(0.68, 0.35, 0.29, 0.54) infinite;
}

.ball {
    width: 40px;
    height: 40px;
    /*background-image: url('https://image.flaticon.com/icons/svg/33/33736.svg');*/
    background-image: url('/Image/soccer_ball.svg');
    background-size: cover;
    animation: roll .6s linear infinite;
}

@keyframes roll {
    0% {
    }

    100% {
        transform: rotate(360deg)
    }
}

@keyframes bounce {
    0% {
    }

    50% {
        transform: translateY(100px)
    }

    100% {
    }
}

@keyframes shadowScale {
    0% {
    }

    50% {
        transform: scaleX(1);
        opacity: .8;
    }

    100% {
    }
}

/* Formation
-------------------------------------------------- */

.remove-button-size {
    width: 30px;
    height: 29px;
}

.regularP div {
    display: inline-block;
    text-align: center;
    margin: 3% 5px 3% 5px;
    padding: 0px 1px;
    max-height: 110px;
}

.regularD div {
    display: inline-block;
    text-align: center;
    margin: 5% 5px 12% 5px;
    padding: 0px 1px;
    max-height: 110px;
}

.regularC div {
    display: inline-block;
    text-align: center;
    margin: 5% 5px 12% 5px;
    padding: 0px 1px;
    max-height: 110px;
}

.regularA div {
    display: inline-block;
    text-align: center;
    margin: 5% 5px 12% 5px;
    padding: 0px 1px;
    max-height: 110px;
}

.reserve div {
    display: inline-block;
    text-align: center;
    margin: 15px 5px;
    padding: 1px 5px;
    max-height: 110px;
}

.playerPic {
    width: 62px;
    height: 61px;
}

.footballField {
    min-height: 500px;
}

.listPlayers {
    max-height: 600px;
    overflow-y: scroll;
    overflow-x: hidden;
    position: static;
}

.teamName {
    font-family: 'JACKPORT COLLEGE NCV', sans-serif;
    font-size: 3rem;
}

@media screen and (max-width: 450px) {
    .remove-button-size {
        width: 15px;
        height: 15px;
    }

    .regularP div {
        display: inline-block;
        text-align: center;
        margin: 3% 5px 3% 5px;
        padding: 0px 1px;
        max-height: 110px;
    }

    .regularD div {
        display: inline-block;
        text-align: center;
        margin: 5% 2px 10% 2px;
        padding: 0px 1px;
        max-height: 110px;
    }

    .regularC div {
        display: inline-block;
        text-align: center;
        margin: 5% 2px 9% 2px;
        padding: 0px 1px;
        max-height: 110px;
    }

    .regularA div {
        display: inline-block;
        text-align: center;
        margin: 4% 5px 13% 5px;
        padding: 0px 1px;
        max-height: 110px;
    }

    .reserve div {
        display: inline-block;
        text-align: center;
        margin: 15px 5px;
        padding: 1px 5px;
        max-height: 110px;
    }

    .playerPic {
        width: 42px;
        height: 41px;
    }

    .footballField {
        min-height: auto;
    }

    .listPlayers {
        max-height: 300px;
        overflow-y: scroll;
        overflow-x: hidden;
        position: static;
    }
}