@import url("https://cdnjs.cloudflare.com/ajax/libs/font-awesome/4.7.0/css/font-awesome.min.css");

#about {
	margin-top:84px;
  	padding: 25px 50px;
}

.navbar-header, .navbar-brand
{
	height:84px; 
}

.navbar-brand {
  padding: 15px 0px;
}

.navbar-brand p {
  margin:17px 0px 0px 0px;
  float: left;
  width: 405px;
}

@media only screen and (max-width: 570px) {
  	.navbar-brand p {
  		margin:7px 0px 0px 0px;
  		width: 200px;
	}
}

@media only screen and (max-width: 356px) {
  	.navbar-brand p {
    	font-size: 14px;
      	width: 164px;
	}
}

.navbar-toggle {
 padding: 26px 10px; 
}

#myNavbar li {
	font-size:15px;  
  	font-weight:bold;
}

.navbar-default .navbar-nav > li > a {
  padding-top:32px;
  padding-bottom:32px;
}

.navbar-default .navbar-nav > li {
	background-color: navy; 
}

.navbar-default .navbar-toggle .icon-bar {
	background-color:white; 
}

@media (max-width: 768px) {
  
	.ground-details {
  		border: 1px solid navy;
	}
  
  	.gap {
    	margin-bottom: 40px;
  	}
}

a .fa {
  	font-size:14px;
  	padding: 0px;
	width: 14px;
}

.card {
  box-shadow: 0 4px 8px 0 rgba(0, 0, 0, 0.2);
  margin-bottom: 20px;
  min-width: 115px;
}

.title {
  color: grey;
}

body {
    font: 400 15px Lato, sans-serif;
    line-height: 1.8;
    color: black;
  }
.carousel-inner {
  margin-top:50px;
  max-height: 1225px;
}

#team-grid img {
  max-height:372px;
}

@media (max-width: 1500px) {
  	
.navbar-default .navbar-nav > li > a {
  padding-top:10px;
  padding-bottom:10px;
}
  
    .navbar-header {
        float: none;
    }
    .navbar-toggle {
        display: block;
    }
    .navbar-collapse {
        border-top: 1px solid transparent;
        box-shadow: inset 0 1px 0 rgba(255,255,255,0.1);
    }
    .navbar-collapse.collapse {
        display: none!important;
    }
    .navbar-nav {
        float: none!important;
        margin: 0px -15px;
		text-align: center;
    }
    .navbar-nav>li {
        float: none;
      	border-bottom: 1px solid white;
    }
    .navbar-nav>li>a {
        padding-top: 10px;
        padding-bottom: 10px;
    }
    .navbar-text {
        float: none;
        margin: 15px 0;
    }
    /* since 3.1.0 */
    .navbar-collapse.collapse.in {
        display: block!important;
    }
    .collapsing {
        overflow: hidden!important;
    }
}

.container {
    width: 100%;
}

.carousel-inner img {
  width:100%;
  height:100%;
}

  h2 {
    font-size: 24px;
    text-transform: uppercase;
    color: #303030;
    font-weight: 600;
    margin-bottom: 30px;
  }
  h4 {
    font-size: 19px;
    line-height: 1.375em;
    color: navy;
    font-weight: 400;
  }
  .jumbotron {
    color: #fff;
    font-family: Montserrat, sans-serif;
    padding-top: 0px;
    padding-bottom: 0px;
    margin-bottom: 0px;
  }
      .jumbotron p {
        color: navy;
      }

      .news-grid, #players-grid {
        padding: 0px 50px 50px 50px;
      }

	
#team-grid {
        padding: 50px 50px 50px 50px;
}

  .container-fluid {
    padding: 50px 50px;
  }

  .bg-grey {
    background-color: #f6f6f6;
  }
  .logo-small {
    color: navy;
    font-size: 50px;
}

  body {
    font: 400 15px Lato, sans-serif;
    line-height: 1.8;
    color: black;
  }

.carousel-inner {
  margin-top:50px;
  max-height: 1225px;
}

.carousel-inner img {
  width:100%;
  height:100%;
}

  h2 {
    font-size: 24px;
    text-transform: uppercase;
    color: #303030;
    font-weight: 600;
  }
  .logo {
    color: navy;
    font-size: 200px;
  }
  .thumbnail {
    padding: 0 0 15px 0;
    border: none;
    border-radius: 0;
  }
  .thumbnail img {
    width: 100%;
    height: 100%;
    margin-bottom: 10px;
  }
  .carousel-control.right, .carousel-control.left {
    background-image: none;
    color: navy;
  }
  .carousel-indicators li {
    border-color: navy;
  }
  .carousel-indicators li.active {
    background-color: navy;
  }
  .item h4 {
    font-size: 19px;
    line-height: 1.375em;
    font-weight: 400;
    font-style: italic;
    margin: 70px 0;
  }
  .item span {
    font-style: normal;
  }
  .panel {
    border: 1px solid navy;
    border-radius:0 !important;
    transition: box-shadow 0.5s;
  }
  .panel:hover {
    box-shadow: 5px 0px 40px rgba(0,0,0, .2);
  }
  .panel-footer .btn:hover {
    border: 1px solid navy;
    background-color: #fff !important;
    color: navy;
  }
  .panel-heading {
    color: #fff !important;
    background-color: navy !important;
    padding: 25px;
    border-bottom: 1px solid transparent;
    border-top-left-radius: 0px;
    border-top-right-radius: 0px;
    border-bottom-left-radius: 0px;
    border-bottom-right-radius: 0px;
  }
  .panel-footer {
    background-color: white !important;
  }
  .panel-footer h3 {
    font-size: 32px;
  }
  .panel-footer h4 {
    color: #aaa;
    font-size: 14px;
  }
  .panel-footer .btn {
    margin: 15px 0;
    background-color: navy;
    color: #fff;
  }
  .navbar     
{
	height: 84px;
    margin-bottom: 0;
    background-color: navy;
    z-index: 9998;
    border: 0;
    font-size: 12px !important;
    line-height: 1.42857143 !important;
    letter-spacing: 4px;
    border-radius: 0;
    font-family: Montserrat, sans-serif;
  }
  .navbar li a, .navbar .navbar-brand {
    color: #fff !important;
  }
  .navbar-nav li a:hover, .navbar-nav li.active a {
    color: navy !important;
    background-color: #fff !important;
  }
  .navbar-default .navbar-toggle {
    border-color: transparent;
    color: #fff !important;
  }
  footer .glyphicon {
    font-size: 20px;
    color: navy;
  }
  .slideanim {visibility:hidden;}
  .slide {
    animation-name: slide;
    -webkit-animation-name: slide;
    animation-duration: 1s;
    -webkit-animation-duration: 1s;
    visibility: visible;
  }
  @keyframes slide {
    0% {
      opacity: 0;
      transform: translateY(70%);
    }
    100% {
      opacity: 1;
      transform: translateY(0%);
    }
  }
  @-webkit-keyframes slide {
    0% {
      opacity: 0;
      -webkit-transform: translateY(70%);
    }
    100% {
      opacity: 1;
      -webkit-transform: translateY(0%);
    }
  }
  @media screen and (max-width: 768px) {
    .col-sm-4, .col-sm-3 {
      text-align: center;
      margin: 25px 0;
    }
    .btn-lg {
      width: 100%;
      margin-bottom: 35px;
    }
  }
  @media screen and (max-width: 480px) {
    .logo {
      font-size: 150px;
    }
  }
  .logo {
    width: 82px;
    float:left;
    margin-top:-15px;
    margin-right:15px;
  }
  .background-image{
    height:auto;
    width:100%
  }

#gallery {
 margin-top: 50px;
}

#calendar {
	margin-top: 0px;
  	padding: 20px 50px;
}

#teams {
  margin-top: 84px;
  padding: 25px 50px;
}

#club {
  margin-top: -25px;
}

 #contact {
   margin-top: 0px;
 }



@media screen and (max-width: 768px) {
  #news, #club, #calendar, #gallery, #contact {
     margin-top: 0px;
    }

     .reduce-gap {
       margin-top: -48px;
     }
}

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

    #calendar {
      margin-top:0px;
    }

    #teams, #contact, #news {
    }

    #club {
      margin-top: -25px;
    }
  }

.w3-image {
  margin-top: -30px
}

.fa {
  padding: 20px;
  font-size: 30px;
  width: 70px;
  text-align: center;
  text-decoration: none;
  margin: 5px 2px;
  border-radius: 50%;
}

.fa:hover {
    opacity: 0.7;
  text-decoration: none;
}

.fa-facebook {
  background: #3B5998;
  color: white;
  margin-right:10px;
}

.fa-twitter {
  background: #55ACEE;
  color: white;
}

.hero-image {
  height:400px;
  width:100%;
  background-position: center;
  background-repeat: no-repeat;
  background-size: cover;
  position: relative;
}

.hero-text {
  text-align: center;
position: absolute;
top: 7%;
left: 50%;
transform: translate(-50%, -50%);
color: white;
background-color: black;
width: 100%;
height: 63px;
opacity: 0.7;
}

.hero-text button {
  border: none;
  outline: 0;
  display: inline-block;
  padding: 10px 25px;
  color: black;
  background-color: #ddd;
  text-align: center;
  cursor: pointer;
}

.hero-image p{
	display: none;
}

.hero-image:hover p{
	display: block;
}

.hero-image:hover h1{
	display: none;
}

.hero-image:hover .hero-text{
      text-align: center;
      position: absolute;
      top: 50%;
      left: 50%;
      transform: translate(-50%, -50%);
      background-color:white;
      color: black;
      width: 100%;
      height:40px;
}

.hero-image:hover {
  background-color: #555;
  color: white;
}

#calendar {
  min-height:550px;
}

.googleCalendar {
  position: relative;
  height: 0;
  width: 100%;
  padding-bottom: 50%;
}

.googleCalendar iframe{
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
}

.googleCalendar #mobile {
  display: none;
  min-height: 500px;
}

.googleCalendar #desktop {
	display:block;
  min-height: 500px;
}


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

.googleCalendar #mobile {
  display: block;
  min-height: 500px;
}

.googleCalendar #desktop {
	display:none;
  min-height: 500px;
}
}

.form-signin {
  max-width: 330px;
  padding: 15px;
  margin: 0 auto;
}
.form-signin .form-signin-heading,
.form-signin .checkbox {
  margin-bottom: 10px;
}
.form-signin .checkbox {
  font-weight: normal;
}
.form-signin .form-control {
  position: relative;
  height: auto;
  -webkit-box-sizing: border-box;
     -moz-box-sizing: border-box;
          box-sizing: border-box;
  padding: 10px;
  font-size: 16px;
}
.form-signin .form-control:focus {
  z-index: 2;
}
.form-signin input[type="email"] {
  margin-bottom: -1px;
  border-bottom-right-radius: 0;
  border-bottom-left-radius: 0;
}
.form-signin input[type="password"] {
  margin-bottom: 10px;
  border-top-left-radius: 0;
  border-top-right-radius: 0;
}