body, * {
    margin: 0;
    padding: 0;
    font-family: Helvetica, sans-serif;
    box-sizing: border-box;
}

h1 {
    color: #9B2915;
}

a {
    text-decoration: none;
    color: #222;
}

.navbar {
    padding: 10px 0;
    background-color: #E9B44C;
}

.nav-content {
    display: flex;
    justify-content: space-between;
    width: 90%;
    margin: 0 auto;
}

.navbar .nav-links {
    display: flex;
    list-style-type: none;
    align-items: center;
}

.nav-links li:not(:last-of-type) {
    margin-right: 15px;
}

.nav-links li a {
    text-decoration: none;
    color: #222;
    font-family: 'Gilroy Bold', Helvetica, sans-serif;
    font-size: 20px;
}

.search-wrapper {
    background: #E9B44C;
    width: 100%;
    height: 300px;
    text-align: center;
    display: flex;
    justify-content: center;
    align-items: center;
}

.search-content {
    width: 100%;
}

.search-form {
    width: 60%;
    margin: 0 auto;
    
    height: 100%;
}

.form-group {
    width: 100%;
}

.search-form input {
    width: 100%;
    height: 40px;
    border: 1px solid transparent;
    font-size: 18px;
    padding-left: 10px;
    padding-right: 10px;
    border-radius: 3px;
}

.btn {
    font-size: .875rem;
  padding-left: 1rem;
  padding-right: 1rem;
  padding-top: .5rem;
  padding-bottom: .5rem;
  background-color: #e6e6e6;
  color: rgba(0,0,0,.8);
  border-radius: .25rem;
  border-style: none;
  border-width: 0;
  cursor: pointer;
  -webkit-appearance: button;
  text-transform: none;
  overflow: visible;
  line-height: 1.15;
  margin: 0;
  will-change: transform;
  -moz-osx-font-smoothing: grayscale;
  -webkit-backface-visibility: hidden;
  backface-visibility: hidden;
  -webkit-transform: translateZ(0);
  transform: translateZ(0);
  transition: -webkit-transform .25s ease-out;
  transition: transform .25s ease-out;
  transition: transform .25s ease-out,-webkit-transform .25s ease-out;
    font-family: Rockwell, georgia, serif;
}

.events-wrapper {
    padding: 20px;
}

.events {
    display: flex;
    flex-wrap: wrap;
    margin-top: 50px;
}

@media (min-width: 1200px) {
    .events {
        width: 1200px;
        margin: 50px auto;
    }
}

.event {
    display: flex;
    flex-direction: column;
    width: 25%;
    margin-bottom: 15px;
}

.event:not(:last-of-type) {
    padding-right: 15px;
}


@media (max-width: 980px) {
    .event {
        width: 33%;
    }
}

@media (max-width: 767px) {
    .event {
        width: 50%;
    }
}

@media (max-width: 568px) {
    .event {
        width: 100%;
    }
}


.event .evt-image {
    flex: 1;
}

.event img {
    width: 100%;
    max-height: 150px;
}

.event .evt-content {
    flex: 1;
    padding: 10px;
    background-color: #E4D6A7;
    display: flex;
    flex-direction: column;
}

.evt-content .btn {
    text-align: center;
}

.evt-content p {
    padding-bottom: 7px;
}

.ev-main {
    background-color: #E9B44C;
    display: flex;
    justify-content: flex-end;
    align-items: flex-start;
    min-height: 100vh;
}

.ev-image img {
    width: 100%;
    /*flex: 1;*/
}

@media (max-width: 980px){
    .ev-main {
        display: block;
    }

    .ev-image {
        display: none;
    }
}

.ev-details {
    flex: 1;
}

.ev-details p {
    color: #fff;
}

.detail-group {
    background-color: #222;
    color: #fff;
    padding: 20px;
    min-height: 40%;
}

@media (max-width: 570px){
    .hidden-sm {
        display: none;
    }
}

@media (max-width: 400px){
    .hidden-xs {
        display: none;
    }
}


/* FORM STUFF BEGINS HERE */
form{
  font-size:110%
}
label{
  display:block;
  color:saddlebrown;
  margin:16px 0 3px;
}
fieldset label{
  display: inline-block;
  font-size:85%;
  font-family: Calibri, sans-serif;
}

.login-form fieldset label {
    display: block;
}


input[type=text],
input[type=password],
input[type=email],
input[type=tel],
textarea,
select{
  width:100%;
  padding:5px;
  box-sizing:border-box;
  background-color:cornsilk;
  border: 1px solid #222;
  font-family:'Lucida Console', monospace;
}
textarea{
  resize: vertical;
  min-height: 70px;
}
fieldset{
  border:none;
  margin:20px 0 ;
  padding:10px 0;
  border-bottom: 1px solid tan;
}
legend{
  color:white;
  background-color:#222;
  display:block;
  width:100%;
  padding:3px;
}

legend.new-bet {
    font-size: 1.5em;
}
input[type=checkbox]{
  background-color:red;
  border: solid 1px red;
  color:red;
  outline:red;
}
/* BUTTONS */
input[type=submit]{
  background-color:forestgreen;
  color:white;
  border:none;
  padding: 6px 20px;
  font-size:110%;
  border-radius:3px;
  font-family: Rockwell, georgia, serif;
  cursor: pointer;
}
/* Reset Button: minimize the appearance */
input[type=reset]{
  background-color:transparent;
  border:none;
  text-decoration:underline;
  cursor:pointer;
  margin:20px 0;
  color:olive;
}

/* hovers and tabs */
input[type=text]:hover,
input[type=email]:hover{
  background-color:khaki;
}
input[type=text]:focus,
input[type=email]:focus{
  outline: 2px solid tan;
}
input[type=sumbit]:hover,
input[type=submit]:focus{
  background-color:limegreen;
}
/* responsive bonus round */
@media screen and (min-width:450px){
/*  2col  */
  .column{
    width:50%;
    /*float:left;*/
    
    box-sizing:border-box;
  }

  .section {
    padding:3%;
  }
}


.match-main {
    width: 50%;
    margin: 100px auto;
}

@media (max-width: 767px) {
    .match-main {
        width: 100%;
        margin: 50px auto;
    }
}

.match-form {

}

.match-form ul {
    list-style: none;
}

.error {
    color: red;
}

.styled-table {
    border-collapse: collapse;
    margin: 25px 0;
    font-size: 0.9em;
    font-family: sans-serif;
    min-width: 400px;
    box-shadow: 0 0 10px rgba(0, 0, 0, 0.15);
}

.styled-table thead tr {
    background-color: #009879;
    color: #fff;
    text-align: left;
}

.styled-table th,
.styled-table td {
    padding: 12px 15px;
}

.styled-table tbody tr {
    border-bottom: thin solid #dddddd;
}

.styled-table tbody tr:nth-of-type(even) {
    background-color: #f3f3f3;
}

.styled-table tbody tr:last-of-type {
    border-bottom: 2px solid #009879;
}

.styled-table tbody tr.active-row {
    font-weight: bold;
    color: #009879;
}

/*Login*/
form.login-form  {
    margin: 50px auto;
    width: 400px;
    padding: 1em;
    border: 1px solid #ccc;
    border-radius: 1em;
}

.login-form ul {
    list-style: none;
    padding: 0;
    margin: 0;
}

form.login-form  li + li {
    margin-top: 1em;
}

.login-form input,
.login-form textarea {
    font: 1em sans-serif;
    width: 300px;
    box-sizing: border-box;
    border: 1px solid #999;
}

.login-form input:focus,
.login-form textarea:focus {
    border-color: #000;
}

.login-form textarea {
    vertical-align: top;
    height: 5em;
}

.button {
    padding-left: 90px;
}

.login-form button {
    margin-left: .3em;
}

@media (max-width: 500px){
    .nav-content {
        display: block;
    }

    .nav-links {
        margin-top: 10px;
    }

    .nav-links li a {
        font-size: 15px;
    }

    form.login-form {
        width: 100%;
        border: none;
        margin-top: 20px;
    }

    .login-form input,
    .login-form textarea {
        width: 100%;
    }
}

.bet-options {

}

tr.selected {
    font-style: italic;
    color: red;
}

.player-bets > h3 {
    padding-bottom: 10px;
}
.player-bets h3 span {
    font-style: italic;
    color: red;
}