body{
  font-family: 'Lato', sans-serif;
}

.outercontainer1{
  text-align: center;
  position: absolute;
  top:0;
  bottom: 0;
  left: 0;
  right: 0;
  padding-bottom: 4rem;
  overflow: auto;
  padding-top: 10%;
}

.outercontainer2{
  text-align: center;
  padding-top: 5%;
}

h1, h2, logo{
  font-family: 'Roboto Slab', serif;
  margin: 0 0 0 0.5rem;
}

h3{
  margin: 0.5rem 0 0.5rem 0;
}

button, [type="button"], [type="submit"]{
  border-radius: 5px;
  border: 0px;
  background-color: #4286f4;
  color: white;
}

button:hover{
  background-color: #1b53ad;
}

.outercontainer2 #h2{

  text-align: left;
  padding-top: 20px;
}
#logoimg{
  width: 8rem;
}

#liveGame #corner{

  border-radius: 5px;
  border: 0px;
  background-color: white;
  color: black;
  height: .5rem;
  width: 16rem;
  font-size: .5rem;
}
#corner p{

  text-align: left;
}


.gamebutton {
  text-align: center;
  width: 16rem;
  margin: .5rem auto 0 auto;
  display: block;
}

.gamebutton p{

}

#teamimgcontainerteam{
  width: 7rem;
  height: 7rem;
  background: lightgrey;
  -moz-border-radius: 6rem;
  -webkit-border-radius: 6rem;
  border-radius: 6rem;
  margin: 0.2rem auto 1rem auto;
}

#teamimgcontainergame{
  display: inline-block;
  width: 5rem;
  height: 5rem;
  background: lightgrey;
  -moz-border-radius: 6rem;
  -webkit-border-radius: 6rem;
  border-radius: 6rem;
  margin: 0.2rem  1rem auto;
}

#teamimggame{
  width: 4.5rem;
}

#teamimg{
  width: 6.5rem;
}

#gamedetailcontainer{
  margin: 0.2rem  1rem auto;
  text-align: center;

}

#gamedetailcontainer div{

  display: inline-block;
  width: 45%;
}

#firstdiv #teamimgdetailfirst{
  width: 5rem;
  height: 5rem;
  background: lightgrey;
  -moz-border-radius: 6rem;
  -webkit-border-radius: 6rem;
  border-radius: 6rem;

}

#seconddiv #teamimgdetailsecond{
  width: 5rem;
  height: 5rem;
  background: lightgrey;
  -moz-border-radius: 6rem;
  -webkit-border-radius: 6rem;
  border-radius: 6rem;

}

#gamedetailwarpper{

  width: 100%;
  display: inline-block;
}
#gamedetailfirst {

  width: 50%;
  height: 50%;
  position: absolute;
  text-align: left;
}

#gamedetailsecond {

    width: 50%;
    border-left: 1px solid black;
    height: 50%;
    position: absolute;
    left: 50%;
    text-align: left;
}

#gamedetailteams p{
  display: inline;
  padding-right: .5rem;
  padding-left: .5rem;
}

#stats p{

  display: inline;
  padding-right: .3rem;
  padding-left: .3rem;
}

#goals p{

  display: inline;
  padding-right: .9rem;
  padding-left: .9rem;
}

#addgamebutton {
  position: absolute;
  top: 1rem;
  right: 1.5rem;
  font-size: 20px;
  width: 1.8rem;
}

#schedulecontainer{
  padding-top: 40px;
  overflow-y: auto;
  max-height: 28rem;
}

#addgameform {
  width: 18rem;
  margin-left: auto;
  margin-right: auto;
  text-align: center;
}

#addgameform input{
  display: block;
  width: 18rem;
  height: 2rem;
  border-radius: 5px;
  margin-top: .5rem;
  -webkit-box-sizing: border-box;
  -moz-box-sizing: border-box;
  box-sizing: border-box;
}

#addgameform .addgamebutton {
  width: 12rem;
  margin: 1rem auto 1rem auto;
}

#addgameform select {
    display: block;
    border: 1px solid #ccc;
    width: 18rem;
    height: 2rem;
    border-radius: 5px;
}

#addgameform .addgamebutton {
  width: 12rem;
  margin: 1rem auto 1rem auto;
}

#addgameform .addgamebutton:hover{
  background-color: #1b53ad;
}

#addgameform .addgameformfield{
  border: 1px solid lightgray;
  margin: 0.7rem auto 0 auto;
  padding-left: 3px;
}


#homebutton{

  position: absolute;
  top: 1rem;
  right: 1rem;
  font-size: 10px;
  width: 3rem;
  height: 2rem;
}

footer {
  position: fixed;
  bottom: 0;
  right: 0;
  width: 100%;
  padding-top: .5rem;
  padding-bottom: .5rem;
  background-color: rgb(240,240,240);
}

footer #logofooterimg{
  display: inline;
  width: 2rem;
  height: 2rem;
}

footer #logofootertext{
  margin-top: 0;
  display: inline-block;
  vertical-align: middle;
  font-family: 'Roboto Slab', serif;
}

footer .footerlogo {
  text-align: center;
  height: 2rem;
}

footer .logofootertextcenter {
  display: inline;
  line-height: 2rem;
  height: 2rem;
}

@media only screen and (max-width: 400px) {

  .outercontainer2{
    text-align: center;
    padding-top: 1%;
  }

  h1{
    font-size: 30px;
  }

  #teaminput{
    height: 2rem;
  }

  #addgamebutton {
    position: absolute;
    top: 1rem;
    right: 1rem;
    font-size: 15px;
    width: 1.5rem;
  }

  #gamedetailcontainer div{

    display: inline-block;
    width: 45%;
    font-size: .8rem;
  }

  #firstdiv #teamimgdetailfirst{
    width: 3.5rem;
    height: 3.5rem;
    background: lightgrey;
    -moz-border-radius: 4rem;
    -webkit-border-radius: 4rem;
    border-radius: 4rem;

  }

  #seconddiv #teamimgdetailsecond{
    width: 3.5rem;
    height: 3.5rem;
    background: lightgrey;
    -moz-border-radius: 4rem;
    -webkit-border-radius: 4rem;
    border-radius: 4rem;

  }

  #gamedetailwarpper{

    width: 100%;
    display: inline-block;
    font-size: .8rem;
  }

}
