/*
 * Theme Name: The News Quiz
 */

@import url("assets/css/header.css");

@font-face {
  font-family: "Open Sans";
  src: url(assets/fonts/Open_Sans/OpenSans-Regular.ttf) format("truetype");
  font-weight: normal;
}

@font-face {
  font-family: "Roboto";
  src: url(assets/fonts/Roboto/Roboto-Regular.ttf) format("truetype");
  font-weight: normal;
}

@font-face {
  font-family: "Libre Baskerville";
  src: url(assets/fonts/Libre_Baskerville/LibreBaskerville-Regular.ttf) format("truetype");
  font-weight: normal;
}

@font-face {
  font-family: "Libre Baskerville-Bold";
  src: url(assets/fonts/Libre_Baskerville/LibreBaskerville-Bold.ttf) format("truetype");
  font-weight: 500;
}

@font-face {
  font-family: "Caveat";
  src: url(assets/fonts/Caveat/Caveat-Regular.ttf) format("truetype");
  font-weight: 400;
}

@font-face {
  font-family: "Caveat";
  src: url(assets/fonts/Caveat/Caveat-Medium.ttf) format("truetype");
  font-weight: 500;
}

@font-face {
  font-family: "Caveat";
  src: url(assets/fonts/Caveat/Caveat-SemiBold.ttf) format("truetype");
  font-weight: 600;
}

@font-face {
  font-family: "Caveat";
  src: url(assets/fonts/Caveat/Caveat-Bold.ttf) format("truetype");
  font-weight: bold;
}

html,
body {
  font-size: 16px;
  font-family: "Roboto", "Open Sans", sans-serif;
  background-color: #fff;
  min-height: 100vh;
  display: flex;
  flex-direction: column;
}

body.place,
body.page-template-page-share {
  background-color: #f5f8fa;
}

body a:hover {
  text-decoration: none;
}

#content {
  min-height: calc(100vh - 10.875rem);
}

@media screen and (max-width: 767.98px) {
  #content {
    min-height: calc(100vh - 9.125rem);
  }
}

button:focus {
  outline: none;
}

.select-container {
  position: relative;
}

.select-container select {
  -webkit-appearance: none;
  appearance: none;
}

.select-container::after {
  content: "\f107";
  font-family: FontAwesome;
  position: absolute;
  top: 0;
  right: 10px;
  width: 30px;
  text-align: center;
  font-size: 28px;
  line-height: 45px;
  pointer-events: none;
}

footer {
  height: 4rem;
  font-family: "Roboto";
  font-size: .725rem;
  letter-spacing: 0.05em;
  color: #9f9f9f;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  background: #fff;
  border-top: 1px solid #D3D3D3;
  margin-top: auto;
}

footer.place {
  background-color: #f5f8fa;
}

footer p,
footer p a {
  margin-bottom: 0px;
  color: #9f9f9f;
}