/*! HTML5 Boilerplate v8.0.0 | MIT License | https://html5boilerplate.com/ */

/* main.css 2.1.0 | MIT License | https://github.com/h5bp/main.css#readme */
/*
 * What follows is the result of much research on cross-browser styling.
 * Credit left inline and big thanks to Nicolas Gallagher, Jonathan Neal,
 * Kroc Camen, and the H5BP dev community and team.
 */

/* ==========================================================================
   Base styles: opinionated defaults
   ========================================================================== */
@font-face {
  font-family: PlayfairDisplay-Regular;
  src: url(../fonts/Playfair_Display/static/PlayfairDisplay-Regular.ttf);
}

@font-face {
  font-family: PlayfairDisplay-Medium;
  src: url(../fonts/Playfair_Display/static/PlayfairDisplay-Medium.ttf);

}

@font-face {
  font-family: PlayfairDisplay-Bold;
  src: url(../fonts/Playfair_Display/static/PlayfairDisplay-SemiBold.ttf);

}

html {
  color: #222;
  font-size: 1em;
  line-height: 1.4;
  font-family: PlayfairDisplay-Regular, serif;
  background-color: #F0F3F4;
}

body {
  margin: 3% 20% 5% 20%;
  font-size: 100%;
}


#court {
  max-width: 40%;
  height: auto;
  opacity: 1;
  border-right: solid #2A6094;
  vertical-align: middle;
}

#court:hover {
  opacity: 0.5;
}

#background-to-header {
  position: relative;
  border: solid #2A6094 2px;
  left: -20%;
  width: 140%;
  border-radius: 5px;
  background-color: #EBF2F9;
}

#header {
  position: absolute;
  top: 60%;
  left: 40%;
  width: 60%;
}

#main-page {
  display: block;
  height: 100%;
  width: 100%;
}

#main-page:hover {
  background-color: #C3D9EE;
  color: #1d5168;
}

#title {
  color: #2A6094;
  text-decoration: none;
  display: block;
}

#logo:hover {
  fill: #1d5168;
  cursor: pointer;
}

#logo {
  margin-top: 5px;
  max-width: 20%;
  float: right;
  fill: #2A6094;
}

h1 {
  margin: 0 0 0 3%;
  font-size: 2.54vw;
  letter-spacing: 0.1vw;
  top: 30%;
  font-family: PlayfairDisplay-Bold, sans-serif;
}

h2 {
  margin: 0 0 0 3%;
  font-size: 2.2vw;
  letter-spacing: 0.05vw;
  font-family: PlayfairDisplay-Bold, sans-serif;
}

#menu {
  float: bottom;
  min-height: 50px;
  margin: 10px 0 10px 0;
  width: 140%;
  left: -18%;
  position: relative;
}

.menu {
  font-size: 1.75vw;
  border: #2A6094 solid;
  width: 22.5%;
  height: 4vw;
  padding: 1vw 0 0 0;
  margin-left: 1%;
  margin-right: 0.5%;
  float: left;
  border-radius: 5px;

  box-shadow: 0 1px 0 2px #B0C4DE;
  background-color: #EBF2F9;
}

.menu > a {
  text-decoration: none;
  font-family: PlayfairDisplay-Bold, sans-serif;
  color: #2A6094;
  display: block;
  height: 100%;
  width: 100%;
}

td {
  text-align: center;
}

#main-content {
  margin-top: 4%;
  font-size: 1.8vw;
  line-height: 1.8;
  min-height: 800px;
  color: #1d5168;
  width: 130%;
  left: -16%;
  position: relative;
}

.menu:hover {
  background-color: #C3D9EE;
  color: white;
  cursor: pointer;
}


.bolded {
  font-family: PlayfairDisplay-Bold, serif;
}

.news {
  margin-top: 1vw;
  min-height: 350px;
  border-top: #2A6094 solid;
}

.news-picture {
  float: left;
  max-width: 40%;
}


.news-picture > img {
  width: 100%;
}

.news-copyright {
  color: #2A6094;
  font-size: 1vw;
  padding-left: 1vw;
}

.news-copyright > a {
  text-decoration: none;
  font-family: PlayfairDisplay-Bold, serif;
  color: #2A6094;
}

.news-title {
  font-family: PlayfairDisplay-Bold, sans-serif;
  font-size: 2vw;
  letter-spacing: 0.1vw;
}

.news-date {
  float: right;
}

.news-content {
  width: 58%;
  float: right;
}

.news-text {
  font-size: 1.6vw;
  padding: 5px 0 0 2vw;
  float: left;
}

#main-content > h2 {
  text-align: center;
}

#contact > div {
  float: left;
  margin-right: 7px;
}

#map {
  float: left;
  width: 60%;
  margin-right: 20px;
}

small > a {
  color: #2A6094;
  text-decoration: none;
}

iframe {
  width: 100%;
}

#download-icon {
  max-width: 4%;
  fill: #2A6094;
  margin: 0 20px 0 20px;
  float: left;
}

.download-point {
  text-decoration: none;
  color: #2A6094;
  display: block;
  height: 100%;
  width: 100%;
}

.download-point:hover {
  fill: #1d5168;
  color: #1d5168;
  cursor: pointer;
  background-color: #C3D9EE;
}

