/*
Theme Name: G-RAF
Author: Mike Goudie
Description: A theme for the Glasgow Real Ale Festival (G-RAF), similar to CAMRA's BeerEngine in appearance.
Version: 1.0
License: GNU General Public License v3 or later
License URI: http://www.gnu.org/licenses/gpl-3.0.html
*/

#flex-page-container {
   display:flex;
   flex-direction:column;
/* fallback height */
   min-height:100vh;
/* new small viewport height for modern browsers */
   min-height:100svh;
}

#flex-page-container > footer {
   margin-top:auto;
}

* {
  box-sizing: border-box;
}

body {
  background: var(--body-background);
  font-family: 'Arboria', sans-serif;
  font-size: 16px;
}

body > header > h1 > a {
  color: #ffffff;
  font-weight: 400;
}

article > header {
}

header {
  background-color: var(--body-background);
}

h1 {
  font-size: 28px;
}

a {
  color: #000066;
  text-decoration: underline;
  transition: 0.3s;
}

a:hover {
  text-decoration: underline;
}

/* 'Margin: 0 auto' centers block content on the page */
.wrap {
  margin: 0 auto 0 0;
}

.content-area {
  display: inline-block;
}

.content-thin {
    width: 79%;
}

.content-full-width {
    width: 100%;
}

.content-area,
.primary-sidebar {
  display: inline-block;
}

.primary-sidebar {
  width: 20vw;
  max-width: 200px;
  vertical-align: top;
  background-color: var(--camra-tint-80);
  display: inline-block;
}

.article-loop {
    width: 45%;
    text-align: left;
    margin: 5px;
    padding: 10px;
}

.article-full {
  width: 100%;
  padding: 0 10px 0 10px;
}

.article-loop,
.article-full {
  display: inline-block;
  vertical-align: top;
  background-color: #FFF;
  border-radius: 4px;
  margin-bottom: 4px;
}

.unclickable a:hover {
  cursor: default !important;
  text-decoration: none;
  background-color: inherit;
}

@media only screen and (max-width: 440px) {
  .content-thin {
    width: 95% !important;
  }
  .primary-menu {
    margin-top: 0;
    padding-top: 0;
  }
}

/* 
* The following entries are used by the camra-auth plugin by Tom Blakemore
*/

.camra-auth-form input {
  font-family: inherit;
  font-size: small;
  border: solid #999999 1px;
/*  background-color: #ffe4a5; */
}

.camra-auth-form label {
  float: left;
  width: 12.5em;
  font-size: small;
  text-align: right;
  margin: 0 0.5em 0 0;
}

.camra-auth-form a {
  font-family: inherit;
  font-size: small;
  padding-left: 12.5em;
}

.camra-auth-form > .form-group {
  margin-bottom: 10px;
}

.camra-auth-form > .btn-group > input.submit {
  margin-left: 12.5em;
  font-family: inherit;
  font-size: small;
  background-color: #ffffff;
  border: solid #999999 1px;
  cursor: pointer;
}

/*
* End of the camra-auth plugin entries
*/

