/*
Theme Name: HHAG
Description: Built solely for use by HHAG
Author: Jo Cox Design
Author URI: http://www.jocoxdesign.co.uk
License: GNU General Public License version 3.0
License URI: http://www.gnu.org/licenses/gpl-3.0.html
Version: 1.0

*/

@import url('https://fonts.googleapis.com/css?family=Lato:400,700');

.screen-reader-text {
	clip: rect(1px, 1px, 1px, 1px);
	position: absolute !important;
}

body {
    background: #2e3445;
}

hr {
    margin-top: 30px;
    margin-bottom: 30px;
    opacity: 0.25;
}

#mepr-unauthorized-for-resource {
    display: none;
}

/**********************************************************/
/* TYPOGRAPHY
/**********************************************************/

body,
p,
ul,
ol,
li,
h1,
h2,
h3,
h4,
label,
button,
.button,
.top-bar-section ul li > a,
.top-bar-section .dropdown li a,
.top-bar .toggle-topbar a,
table tr th, 
table tr td {
    font-family: 'Lato', sans-serif;
    font-weight: 400;
    font-size: 1.2rem;
}

.top-bar-section ul li > a {
    font-weight: 400;
    transition: 300ms all ease;
    text-transform: uppercase;
}

h1 {
    font-size: 2rem;
    line-height: 2rem;
    margin-bottom: 15px;
    font-weight: 700;
    text-transform: uppercase;
}

h2 {
    font-size: 1.5rem;
    line-height: 1.5rem;
    margin-bottom: 15px;
    font-weight: 700;
    text-transform: uppercase;
}

h3 {
    font-size: 1.3rem;
    font-weight: 700;
}

h4 {
    font-size: 1.1rem;
    font-weight: 400;
    text-transform: uppercase;
}

p:last-child {
    margin-bottom: 0;
}

p a,
.mp_wrapper a,
.bbpress-wrapper a {
    color: #555e7c;
    font-weight: 400;
}

p a:hover,
.mp_wrapper a:hover,
.bbpress-wrapper a:hover {
    color: #555e7c;
	text-decoration: underline;
}

.small-text {
    font-size: 13px;
    line-height: 1.4;
}

.legal-text h2 {
    font-size: 1.1rem;
}

.legal-text p {
    font-size: 0.9rem;
    line-height: 1.4;
}

/**********************************************************/
/* LAYOUT
/**********************************************************/

.wrapper {
    float: left;
    width: 100%;
}

.header {
    background: #555f7d;
}

.main-content {
    background: #FFF;
}

.footer {
    border-top: solid 10px #555f7d;
    padding-top: 40px;
    padding-bottom: 40px;
}

/**********************************************************/
/* HEADER
/**********************************************************/

.logo {
    padding-top: 20px;
    padding-bottom: 20px;
}

/**********************************************************/
/* CONTENT
/**********************************************************/

.hero {
    padding-top: 15vh;
    padding-bottom: 15vh;
}

.hero h1 {
    color: #FFF;
    font-size: 1.3rem;
    text-transform: uppercase;
    font-weight: 400;
    background: rgba(155, 24, 20, 0.35);
    padding: 10px 15px;
    margin-left: 50px;
    margin-right: 50px;
}

.padding {
    padding-top: 40px;
    padding-bottom: 40px;
}

.paddingsm {
    padding-top: 20px;
    padding-bottom: 20px;
}

.marginbottom {
    margin-bottom: 40px;
}

.marginbottomsm {
    margin-bottom: 20px;
}

.white {
    background: #FFF;
}

.grey {
    background-color: #c9d5d5;
}

.page .white ul {
    list-style: none; 
    margin: 0 0 20px 0;
    padding: 0;
}

.page .white ul li::before {
    color: #991814;  
    content: "\25A0"; 
    font-size: 1rem; 
    padding-right: 0.5rem; 
    position: relative;
    top: 0em; 
}

.section-title {
    width: 100%;
    float: left;
    background: #555f7d;
    padding-top: 30px;
    padding-bottom: 15px;
}

.section-title h2 {
    color: #FFF;
    padding: 0;
    margin: 0;
}

.image-cover {
    padding: 0;
}

.image-cover img {
    width: 100%;
}

.featuredimage {
	margin-bottom: 20px;
}

.rounded-image { 
    border-radius: 5px;
}

/**********************************************************/
/* FOOTER
/**********************************************************/

.footer,
.footer p,
.footer h4,
.footer li,
.footer a,
.footer a:hover {
    color: #FFF;
}

.footer a:hover { 
    text-decoration: underline;
}
    
.footer p {
    padding-top: 0px;
    padding-bottom: 0px;
    margin: 0;
}

.footer h4 {
    opacity: 0.7;
}

.footer ul {
    margin: 0;
    padding: 0;
    list-style: none;
}

ul.social-icons {
    text-align: right;
}

ul.social-icons li {
    display: inline-block;
    margin-left: 5px;
}

.footer i {
    font-size: 2rem;
}

.copyright {
    margin: 60px 0 20px 0;
    padding-top: 20px;
    border-top: solid 1px #555f7d;
}

.footer-menu li {
    display: inline-block;
    margin-right: 20px;
}

/**********************************************************/
/* GENERAL STYLES
/**********************************************************/
    
p.lead {
    font-size: 1.2rem;
    line-height: 1.8rem;
    font-weight: 400;
}

.panel {
    background: #f1f0f0;
    border: none;
    padding: 30px;
}

.panel p {
    font-size: 18px;
    line-height: 24px;
    margin: 0;
    padding: 0;
}

.panel .button {
    margin-bottom: 0;
}

/**********************************************************/
/* FORMS
/**********************************************************/

.mp_wrapper .mepr-payment-method {
    margin-bottom: 0;
}

.mepr-unauthorized-message {
    background-color: rgba(85,95,125,0.15);
    margin-bottom: 20px;
    padding: 10px;
    border-radius: 3px;
}

button,
.main-content .button,
.button,
button:hover,
button:focus,
.button:hover,
.button:focus, 
.mepr-submit,
.button-primary {
    -webkit-appearance: none;
    -moz-appearance: none;
    border-radius: 0;
    border-style: solid;
    border-width: 3px;
    font-weight: 700;
    line-height: normal;
    margin: 0;
    position: relative;
    text-align: center;
    text-decoration: none;
    display: inline-block;
    padding: 0.6rem 1.8rem;
    font-size: 1.2rem;
    background: #2e3445;
    background-color: #2e3445;
    border: none;
    color: #FFF!important;
    transition: 300ms ease all;
    outline: none;
    text-transform: uppercase;
}

.red,
.red:hover {
    background: #991814;
}

button:hover,
button:focus,
.main-content .button:hover,
.button:hover,
.main-content .button:focus,
.button:focus,
.mepr-submit:hover,
.button-primary:hover {
    color: #FFF;
    background: #555e7c;
    background-color: #555e7c;
    opacity: 0.8;
}

.gform_wrapper {
    margin: 0!important;
}

body .gform_wrapper ul li.gfield {
    margin-top: 0!important;
}

.gform_wrapper .gform_footer {
    margin-top: 0!important;
    padding-top: 0!important;
    margin-bottom: 30px!important;
}

/**********************************************************/
/* BLOCKQUOTES
/**********************************************************/

blockquote {
    padding: 0 0 0 30px;
    margin: 0;
    border-left: none;
    position: relative;
}

blockquote::before{
  content: "\201C"; /*Unicode for Left Double Quote*/
  font-family: Georgia, serif;
  font-size: 40px;
  font-weight: bold;
  color: #0e4a90;
  position: absolute;
  left: 0px;
  top: -10px;
    opacity: 0.5;
}

blockquote p {
    font-size: 1.2rem;
    font-style: italic;
}

blockquote cite {
    display: block;
    font-size: 0.8125rem;
    color: #666;
    text-transform: uppercase;
    font-style: normal;
}

blockquote cite:before {
    content: "";
}

blockquote cite a,
blockquote cite a:visited {
    color: #999;
}

blockquote,
blockquote p {
    line-height: 1.6;
    color: #000;
}


/**********************************************************/
/* WP STANDARD
/**********************************************************/

.alignleft {
    float: left;
    margin: 0.375em 1.75em 1.75em 0;
}

.alignright {
    float: right;
    margin: 0.375em 0 1.75em 1.75em;
}

.aligncenter {
    clear: both;
    display: block;
    margin: 0 auto 1.75em;
}

/**********************************************************/
/* COMMENTS
/**********************************************************/

.comments-area ol.comment-list {
    list-style: none;
    margin: 0;
    padding: 0;
}

.comments-area ol.children {
    list-style: none;
    margin: 0 0 0 30px;
    padding: 0;
}

.comments-area .comment-body {
    float: left;
    width: 100%;
    padding-bottom: 15px;
    margin-bottom: 15px;
    border-bottom: solid 1px #EEE;
}

.comments-area .vcard {
    border: none;
    padding: 0;
    margin: 0 5% 0 0;
    width: 10%;
    float: left;
    text-align: center;
}

.comments-area .vcard img {
    width: 100%;
    border-radius: 5rem;
}

.comments-area .comment-content {
    width: 85%;
    float: left;
}

.comments-area .reply {
    width: 100%;
    float: left;
    text-align: right;
    margin-bottom: 15px;
}

.comments-area .reply a {
    border: solid 1px #111;
    padding: 5px;
}

.comments-area .pingback {
    width: 100%;
    float: left;
}

.comment-metadata {
    font-size: 0.85rem;
}

.comment-respond {
    width: 100%; 
    float: left;
}

/**********************************************************/
/* TABLES
/**********************************************************/

table {
    background: #f2f2f2;
    border: none;
    margin-bottom: 30px;
    table-layout: auto;
}

table caption {
    background: transparent;
    color: #222222;
    font-size: 1rem;
    font-weight: bold;
}

table thead {
    background: #2e3445;
}

table thead tr th,
table thead tr td {
    color: #FFF;
    font-size: 1.1rem;
    font-weight: 400;
    padding: 0.5rem 0.625rem 0.625rem;
}

table tr th,
table tr td {
    color: #000;
    font-size: 1.1rem;
    padding: 0.5625rem 0.625rem;
    text-align: left;
}

table tr.even,
table tr.alt,
table tr:nth-of-type(even) {
    background: #f2f2f2;
}

table thead tr th,
table tfoot tr th,
table tfoot tr td,
table tbody tr th,
table tbody tr td,
table tr td {
    display: table-cell;
    line-height: 1.125rem;
}