/*
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.1
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;
}

label {
	font-style: inherit;
	font-size: small;
}

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
*
* In order to assign the correct styles the form must be enclosed in
* a div with the class 'camra-auth-login-form'
*/

.camra-auth-login-form {
  font-family: inherit;
  font-size: small;
}

.camra-auth-login-form input {
  font-family: inherit;
  border: solid #999999 1px;
  vertical-align: center;
}

.camra-auth-login-form label {
  float: left;
  width: 12.5em;
  text-align: right;
  margin: 0 0.5em 0 0;
}

.camra-auth-login-form a {
/*  font-size: small; */
  padding-left: 13em;
  margin-bottom: 5px;
}

.camra-auth-login-form .form-group {
  margin-bottom: 10px;
}

.camra-auth-login-form .btn-group {
  margin-top: 0px;
}

.camra-auth-login-form p {
  margin-top: 0px;
  margin-bottom: 10px;
}

input#camra_auth_submit.submit {
  margin-left: 13em;
  cursor: pointer;
  margin-top: 10px;
}

/*
* End of the camra-auth plugin entries
*/

/* 
* The following entries are used by the contact form 7 plugin
*/

input.wpcf7-text {
  max-width: 20em;
  width: 100%;
  min-width: 300px;
  font-family: inherit;
  font-size: small;
  border: solid #999999 1px;
  vertical-align: center;
}

input.wpcf7-submit {
	font-style: inherit;
	font-size: small;
}

textarea.wpcf7-form-control {
	max-width: 40em;
	width: 100%;
	min-width: 300px;
	font-style: inherit;
	font-size: small;
}

/*
* End of the contact form 7 plugin entries
*/

/*
 * Styling for sponsorship table
 */
table.sponsorship {
	margin: 10px;
	border-collapse: collapse
}

table.sponsorship td {
	border-width: 1px;
	border-color: black;
	border-style: solid none none none;
}

table.sponsorship th,
table.sponsorship td {
	padding: 10px;
}
