﻿body {
    padding-top: 50px;
    padding-bottom: 20px;
}

/* Set padding to keep content from hitting the edges */
.body-content {
    margin-top: 50px;
    padding-left: 15px;
    padding-right: 15px;
}

.table-cell {
    display: table-cell;
}

.modal-content .close {
    color: white;
    opacity: 1;
}
.modal-header {
    color: red;
    text-align: center;
}
.modal-content {
    background: rgba(0, 0, 0, .95);
    border: 1px solid white;
}
.modal-content label {
    color: white;
}

.field-validation-error,
.validation-summary-errors,
.input-validation-error {
    border: 1px solid red;
    padding: 2px 5px;
    border-radius: 5px;
    background-color: white;
    background-color: rgba(255, 0, 0, .25);
    font-weight: bold;
}

.validation-summary-errors {
    max-width: 500px;
}

.field-validation-error {
    clear: both;
    float: left
}

.control-required:before {
    content: "*";
    font-size: 14px;
    color: red;
    font-weight: bold;
    padding: 0 5px;
}

/* Override the default bootstrap behavior where horizontal description lists 
   will truncate terms that are too long to fit in the left column 
*/
.dl-horizontal dt {
    white-space: normal;
}

/* Set width on the form input elements since they're 100% wide by default */
input,
select,
textarea {
    /*max-width: 280px;*/
    color: black;
}

li.active {font-size: 18px; font-weight: bold;}

.blue-gradient {
    
    background: rgba(73,155,234,1);
    background: -moz-linear-gradient(top, rgba(73,155,234,1) 0%, rgba(32,124,229,1) 100%);
    background: -webkit-gradient(left top, left bottom, color-stop(0%, rgba(73,155,234,1)), color-stop(100%, rgba(32,124,229,1)));
    background: -webkit-linear-gradient(top, rgba(73,155,234,1) 0%, rgba(32,124,229,1) 100%);
    background: -o-linear-gradient(top, rgba(73,155,234,1) 0%, rgba(32,124,229,1) 100%);
    background: -ms-linear-gradient(top, rgba(73,155,234,1) 0%, rgba(32,124,229,1) 100%);
    background: linear-gradient(to bottom, rgba(73,155,234,1) 0%, rgba(32,124,229,1) 100%);
    filter: progid:DXImageTransform.Microsoft.gradient( startColorstr='#499bea', endColorstr='#207ce5', GradientType=0 );

}

.red-gradient {
    background: rgba(231,56,39,1);
    background: -moz-linear-gradient(top, rgba(231,56,39,1) 0%, rgba(143,2,34,1) 44%, rgba(231,56,39,1) 100%);
    background: -webkit-gradient(left top, left bottom, color-stop(0%, rgba(231,56,39,1)), color-stop(44%, rgba(143,2,34,1)), color-stop(100%, rgba(231,56,39,1)));
    background: -webkit-linear-gradient(top, rgba(231,56,39,1) 0%, rgba(143,2,34,1) 44%, rgba(231,56,39,1) 100%);
    background: -o-linear-gradient(top, rgba(231,56,39,1) 0%, rgba(143,2,34,1) 44%, rgba(231,56,39,1) 100%);
    background: -ms-linear-gradient(top, rgba(231,56,39,1) 0%, rgba(143,2,34,1) 44%, rgba(231,56,39,1) 100%);
    background: linear-gradient(to bottom, rgba(231,56,39,1) 0%, rgba(143,2,34,1) 44%, rgba(231,56,39,1) 100%);
    filter: progid:DXImageTransform.Microsoft.gradient( startColorstr='#e73827', endColorstr='#e73827', GradientType=0 );
}

.navbar-nav > li > a {
    color: white !important;
    font-size: 15px;
}

.jumbotron {
    margin-bottom: 0;
}

#MainNav > li > a:hover, 
#MainNav > li > a:active,
#MainNav > li > a.active {
    background-color: #fff !important;
    color: rgb(73,155,234) !important;
}

.week-select a {
    font-size:20px;
    padding: 10px 20px;
}

.week-select a.active {
    font-size: 30px;
    padding: 4px 20px;
}

.week-select a:hover {
    text-decoration: none;
}

.loader {
    display: inline-block;
    height: 25px;
    width: 25px;
    background: transparent url(../Content/images/loader.gif) bottom left no-repeat;
    background-size: cover;
}

#WeekNav,
#PlayoffNav { height: 50px;}
#WeekNav > ul,
#PlayoffNav > ul {
    width: 100%;
    /*display: block;
    white-space: nowrap;
    overflow: auto;*/
}

#WeekNav > ul > li,
#PlayoffNav > ul > li {
    /*width: 5.5%;
    text-align: center;
    margin: 1px;
    display: inline-block;
    float: none;*/
    text-align: center;
}

#WeekNav > ul > li > a:hover,
#PlayoffNav > ul > li > a:hover,
#WeekNav > ul > li > a:active,
#PlayoffNav > ul > li > a:active,
#WeekNav > ul > li.active a,
#PlayoffNav > ul > li.active a {
    background-color: white;
    border-top: solid 1px rgb(231,56,39) !important;
    color: rgb(231,56,39) !important;
}

#ScheduleNav > ul {
    width: 100%;
    height: 90px;
    display: block;
    white-space: nowrap;
    overflow: auto;
}

#ScheduleNav > ul > li {
    width: 100px;
    display: inline-block;
    float: none;
}

#Picks {
    margin-top: 120px; 
    min-height: 150px; 
}

#LockBtn {margin: 20px 0;}

#StandingsTable {
    display: table;
    width: 100%;
}

#StandingsTable > .table-row > div,
#StandingsTable > .player-row > div {
    display: inline-block;
}

#StandingsTable > .table-row > div:first-child, 
#StandingsTable > .player-row > div:first-child {
    width: 50%;
}

#SmackText {
    max-width: 100%;
    font-size: 14px;
}

.locked-games {
    display: table;
    width: 100%;
    padding-left: 15px;
}

.locked-games > .table-row > div {
    margin: 5px;
    float: left;
    width: 17%;
}

.player-row, 
.table-row {
    display: inline-block;
    width: 100%;
    padding: 5px;
    border-bottom: 1px solid lightgray;
}

.player-row {
    padding: 5px 10px;
    cursor: pointer;
    background-color: #444;
}

.table-row > div, 
.player-row > div {
    display: inline-block;
}

.pickArea {
    padding: 10px 15px;
    background-color: rgb(244,244,244);
}

.pickArea > select:nth-child(3) {
    width: 100px;
}

.pickArea > div > span {
    color: black;
    font-size: 20px;
}

.scoreArea {
    background-color: rgb(244,244,244);
    font-size: 12px;
}

.scoreArea > div:first-child {
    background-color: lightgray;
    font-weight: bold;
}

.logo {
    position: absolute;
    top: 0;
    height: auto;
}

.avatar {
    width: 100px;
    height: auto;
}

.avatar-large {
    display: block;
    width: 150px;
    height: auto;
    padding: 10px;
    margin: 0 auto;
}

.won {
    font-weight: bold;
}
.won.selected {
    color: green;
}
.lost.selected {
    color: rgba(231,56,39,1);
    text-decoration: line-through;
}
.tied {
    color: blue;
    font-weight: bold;
}
.rules {
    font-size: 15px;
}

@media (min-width: 992px) {
    #WeekNav > ul > li {
        font-size: 15px;
        width:55px;
    }
}

@media (min-width: 768px) 
{
    #MainNav {
        padding-left: 120px !important;
    }

    #WeekNav > ul > li {
        font-size: 13px;
    }

    .navbar-fixed-top {
        /*top: 25px;*/
        border: none;
    }

    .logo {
        width: 110px;
        /*margin-top: -25px;*/
    }
}

@media (max-width: 767px) {
    #Picks {
        margin-top: 0 !important;
    }

    #ScheduleNav > ul {
        margin: 0 5px;
    }
    
    .logo {
         width: 75px;
         margin-top: 0;
    }

    .pickArea {
        padding: 10px 5px !important;
        margin-bottom: 10px;
    }

    .locked-games {
        padding-left: 5px !important;
    }

    .locked-games > .table-row > div {
        margin: 3px !important;
        font-size: 12px;
        width: auto;
    }
}

/* =loading Absolute Center Spinner */
.loading {
  display: none;
  position: fixed;
  height: 2em;
  width: 2em;
  overflow: visible;
  margin: auto;
  top: 0;
  left: 0;
  bottom: 0;
  right: 0;
  z-index: 1001;
}

/* Transparent Overlay */
.loading:before {
  content: '';
  display: block;
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background-color: rgba(255,255,255,.5);
}

/* :not(:required) hides these rules from IE9 and below */
.loading:not(:required) {
  /* hide "loading..." text */
  font: 0/0 a;
  color: transparent;
  text-shadow: none;
  background-color: transparent;
  border: 0;
}

.loading:not(:required):after {
  content: '';
  display: block;
  font-size: 10px;
  width: 1em;
  height: 1em;
  margin-top: -0.5em;
  -webkit-animation: spinner 1500ms infinite linear;
  -moz-animation: spinner 1500ms infinite linear;
  -ms-animation: spinner 1500ms infinite linear;
  -o-animation: spinner 1500ms infinite linear;
  animation: spinner 1500ms infinite linear;
  border-radius: 0.5em;
  -webkit-box-shadow: rgba(0, 0, 0, 0.75) 1.5em 0 0 0, rgba(0, 0, 0, 0.75) 1.1em 1.1em 0 0, rgba(0, 0, 0, 0.75) 0 1.5em 0 0, rgba(0, 0, 0, 0.75) -1.1em 1.1em 0 0, rgba(0, 0, 0, 0.5) -1.5em 0 0 0, rgba(0, 0, 0, 0.5) -1.1em -1.1em 0 0, rgba(0, 0, 0, 0.75) 0 -1.5em 0 0, rgba(0, 0, 0, 0.75) 1.1em -1.1em 0 0;
  box-shadow: rgba(0, 0, 0, 0.75) 1.5em 0 0 0, rgba(0, 0, 0, 0.75) 1.1em 1.1em 0 0, rgba(0, 0, 0, 0.75) 0 1.5em 0 0, rgba(0, 0, 0, 0.75) -1.1em 1.1em 0 0, rgba(0, 0, 0, 0.75) -1.5em 0 0 0, rgba(0, 0, 0, 0.75) -1.1em -1.1em 0 0, rgba(0, 0, 0, 0.75) 0 -1.5em 0 0, rgba(0, 0, 0, 0.75) 1.1em -1.1em 0 0;
}

/* Animation */

@-webkit-keyframes spinner {
  0% {
    -webkit-transform: rotate(0deg);
    -moz-transform: rotate(0deg);
    -ms-transform: rotate(0deg);
    -o-transform: rotate(0deg);
    transform: rotate(0deg);
  }
  100% {
    -webkit-transform: rotate(360deg);
    -moz-transform: rotate(360deg);
    -ms-transform: rotate(360deg);
    -o-transform: rotate(360deg);
    transform: rotate(360deg);
  }
}
@-moz-keyframes spinner {
  0% {
    -webkit-transform: rotate(0deg);
    -moz-transform: rotate(0deg);
    -ms-transform: rotate(0deg);
    -o-transform: rotate(0deg);
    transform: rotate(0deg);
  }
  100% {
    -webkit-transform: rotate(360deg);
    -moz-transform: rotate(360deg);
    -ms-transform: rotate(360deg);
    -o-transform: rotate(360deg);
    transform: rotate(360deg);
  }
}
@-o-keyframes spinner {
  0% {
    -webkit-transform: rotate(0deg);
    -moz-transform: rotate(0deg);
    -ms-transform: rotate(0deg);
    -o-transform: rotate(0deg);
    transform: rotate(0deg);
  }
  100% {
    -webkit-transform: rotate(360deg);
    -moz-transform: rotate(360deg);
    -ms-transform: rotate(360deg);
    -o-transform: rotate(360deg);
    transform: rotate(360deg);
  }
}
@keyframes spinner {
  0% {
    -webkit-transform: rotate(0deg);
    -moz-transform: rotate(0deg);
    -ms-transform: rotate(0deg);
    -o-transform: rotate(0deg);
    transform: rotate(0deg);
  }
  100% {
    -webkit-transform: rotate(360deg);
    -moz-transform: rotate(360deg);
    -ms-transform: rotate(360deg);
    -o-transform: rotate(360deg);
    transform: rotate(360deg);
  }
}