/*

	Theme Name: VandQ
	Theme URI:
	Author: Chris Lloyd
	Author URI:
	Description: A custom theme for Vancouver and Quadra Freemasons
	Version: 1.0.0
	License: GNU General Public License v2 or later
	License URI:
	Text Domain: vandq
	Tags:

*/


/*******************************************

	Global Site Styles

********************************************/

* {
    box-sizing: border-box;
}

html {
    min-width: 100%;
    min-height: 100%;
}

body {
    min-width: 100%;
    min-height: 100%;
    font-family: 'Goudy Bookletter 1911', serif;
    font-size: 1.2em;
    color: #333;
    background-color: hsla(200, 12%, 88%, 1);
}

h1,
h2,
h3,
h4 {
    color: #A48F61 !important;
}

p {
    line-height: 1.65em !important;
}

a:link,
a:visited {
    text-decoration: none;
    color: #333;
}

a:hover {
    color: #ccc;
}

ul {
    margin: 0;
    padding-left: 1.2em;
    list-style-type: none !important;
}

li {
    text-decoration: none;
}


/*******************************************

	Helper Classes

********************************************/

.container {
    margin: 0 auto;
    max-width: 960px;
}

.fixed {
    position: fixed;
    top: 0;
    left: 0;
    max-width: 100% !important;
    width: 100%;
    height: 3em;
    background: rgba(51, 51, 51, .5);
}

.align-right {
    text-align: right;
}

.left-pin {
    margin: 0 auto;
    margin-top: 5.5em;
    width: 30%;
}

.middle-pin {
    margin: 0 auto;
    width: 30%;
}

.right-pin {
    margin: 0 auto;
    margin-top: 2.75em;
    width: 30%;
}

.flex-member {
    display: flex;
    flex-direction: row;
}

.flex-member>.panel-grid-cell:first-child {
    order: 1;
}

.flex-member>.panel-grid-cell:last-child {
    order: 2;
}

.posts-container {
    max-height: 1200px;
    overflow: auto;
}

/*******************************************

  Site Header
  
********************************************/

.site-header {
    position: relative;
    margin: 0;
    padding: 0;
    width: 100%;
    height: 42em;
    background-image: url('../uploads/Front-Steps.jpg');
    background-size: cover;
    background-position: center top;
    background-attachment: fixed;
    background-repeat: no-repeat;
    z-index: 1;
}

.site-header-bg {
    width: 100%;
    height: 100%;
    position: absolute;
    top: 0;
    left: 0;
    background-color: rgba(0, 0, 0, .8);
    z-index: -1;
}

.site-header-title {
    margin-bottom: 5em;
    width: 100%;
    height: 30em;
}

.title-valign {
    position: absolute;
    width: 100%;
    top: 50%;
    transform: translateY(-50%);
    text-align: center;
}

.title {
    padding: 2em 0;
}

.site-header h1 {
    margin: 0;
    margin-bottom: .5em;
    padding: 0;
    font-family: 'IM Fell Double Pica SC';
    font-size: 2.5em;
    color: #ffffff;
    text-shadow: 2px 1px 2px #333;
}

.title-sub img {
    width: 120px;
    height: 15px;
}

.title-sub h2 {
    margin: 0;
    font-family: 'Goudy Bookletter 1911', serif;
    font-size: 1.75em;
    color: #A48F61;
}

.logo {
    margin-top: .5em;
    margin-bottom: 1em;
    padding: .5em;
    width: 150px;
    height: 150px;
    text-align: center;
    /* temp */
}


/*******************************************

	Site Navigation

********************************************/

#nav-container {
    /* this container can be anything! customize as needed */
    width: 100%;
    max-width: 960px;
    margin: 0 auto;
}

.nav {
    width: 100%;
    display: none;
}

.nav ul {
    margin: 0;
    padding: 0;
    align-items: center;
    height: 3em;
}

.nav li {
    display: inline-block;
    list-style-type: none;
    flex-grow: 1;
    text-align: center;
    height: 50px;
    /* customize menu height */
    line-height: 50px;
    /* line-height should be the same as height */
    margin: 0;
    padding: 0;
}

.nav a {
    display: block;
    width: 100%;
    height: 100%;
    text-decoration: none;
    color: #fff;
    /* whatever color text you want */
    transition: all .5s ease-in-out;
}

.nav a:hover {
    color: #d1b67d;
    /* whatever background color you want */
}

#desktop-nav {
    width: 100%;
    max-width: 730px;
    margin: 0 auto;
}

#nav-icon-container {
    display: none;
    margin: 0.5em;
}

#nav-icon {
    width: 47px;
    /* customize menu icon width */
    height: 34px;
    /* and height */
    margin: 0 auto;
    /* and position */
    position: relative;
    cursor: pointer;
}

#nav-icon span {
    display: block;
    position: absolute;
    height: 15%;
    width: 100%;
    background: #fff;
    /* color of menu icon */
    border-radius: 9px;
}

#nav-icon span:nth-child(1) {
    top: 0px;
}

#nav-icon span:nth-child(2) {
    top: 50%;
    transform: translateY(-50%);
}

#nav-icon span:nth-child(3) {
    bottom: 0px;
}

#mobile-nav {
    margin-top: .82em;
}

#mobile-nav li {
    margin-bottom: 2px;
    display: block;
    background: rgba(45, 45, 45, .5);
    margin-top: -1px;
}

.menu-item a {
    font-size: 1.4em;
}


/***** Slider Previous Next Buttons *****/

.sow-slider-base {
    overflow: visible !important;
}

.sow-slider-base .sow-slide-nav {
    top: -2% !important;
}


/*******************************************

	Page Style

********************************************/

section {
    position: relative;
    margin: 0;
    padding: 0;
    width: 100%;
}

article {
    position: relative;
    padding: 5em 0;
}

article h2 {
    display: inline-block;
    padding: 0 .5em 1em .5em;
    color: #A48F61;
    font-family: 'Goudy Bookletter 1911', serif;
    font-size: 2.5em;
}

article h3 {
    margin-left: -1em;
    color: #A48F61;
    text-align: left;
}

article h3:before {
    margin-right: .5em;
    content: "›";
    text-align: left;
}

article h3.widget-title {
    color: #A48F61 !important;
    text-align: center;
}

article a,
article a:link {
    color: #A48F61;
}

article a:hover {
    color: #A48F61;
    text-decoration: underline;
}

.page-divider {
    width: 100%;
    height: 7em;
    background-image: url('../images/dotted-gold-divider.png');
    background-repeat: repeat;
}

.page-title {
    text-align: center;
}

.page-title img {
    width: 150px;
    height: 30px;
}

.page-content {
    position: relative;
    padding: 1em 2em;
    background-image: none;
    background-repeat: repeat;
    box-shadow: 3px 3px 30px rgba(138, 152, 160, 0.4);
}

.page-footer {
    margin: 0;
    padding: 0;
    position: relative;
    width: 100%;
    height: 20em;
    background-size: cover;
    background-position: center top;
    background-attachment: fixed;
    background-repeat: no-repeat;
    z-index: -1;
}

.page-footer-bg {
    width: 100%;
    height: 100%;
    position: absolute;
    top: 0;
    left: 0;
    background-color: rgba(0, 0, 0, .6);
    z-index: -2;
}

.so-widget-sow-layout-slider-default-aeb3a97cf1a7,
.sow-slider-base,
.sow-slider-image-wrapper p {
    text-shadow: none !important;
}

.widget_sow-layout-slider {
    position: relative;
    z-index: 0;
}

.so-widget-sow-image h3 {
    padding-top: .5em;
    font-size: .8em;
}

.time-footer {
    margin-top: 1em;
    text-align: center;
    font-style: italic;
}


/*******************************************

	Contact Form (relies on Contact Form 7 Plugin)

********************************************/

.contact-form {
	margin: 0 auto !important;
	max-width: 768px;
	font-family: 'Goudy Bookletter 1911', serif;
	font-size: 1.2em !important;
	font-weight: normal !important;
	color: #333;
}

.contact-form form div label {
	font-size: 18px !important;
	font-weight: normal !important;
}

.contact-form form div input[type="text"],
.contact-form form div input[type="email"],
.contact-form form div textarea {
  padding: .25em !important;
  min-width: 100% !important;
  font-size: 18px !important;
	font-weight: normal !important;
  color: #333 !important;
  background-color: #eee !important;
  border: none !important;
  border-radius: 5px !important;
  box-shadow: 0 2px 2px #ccc;
}

.contact-form form div button {
  cursor: pointer;
  display: block !important;
  margin: 0 auto !important;
  padding: .4em 1em !important;
  width: 25% !important;
  color: #fff !important;
  background-color: rgb(128, 163, 176) !important;
  transition: all .1s ease-in-out;
}

.contact-form form div button:hover {
    background-color: #A48F61 !important;
    box-shadow: none !important;
}

.contact-form form div button:focus {
    box-shadow: none !important;
}

.contact-form form div button:active {
    transform: scale(.9) !important;
    box-shadow: none !important;
}

/*******************************************

	Google invisible recaptcha

********************************************/

.grecaptcha-badge {
	position: initial !important;
}

/*******************************************

	Calendar (relies on gcal calendar plugin)

********************************************/

#fullcal {
    position: relative;
    margin: 0 auto;
    width: 80%;
    z-index: 0;
}

#fullcal table,
#fullcal td,
#fullcal tr,
#fullcal th {
    border: none;
}

#fullcal span.fc-title {
    border: none;
}

#fullcal .fc-event-container {
    border: none;
}

#fullcal .fc-day-grid-event {
    padding: .25em;
    color: #fff;
    background-color: rgb(128, 163, 176);
    border: none;
    border-radius: 4px;
}

.qtip-default {
    border: none;
}

.qtip-title,
.qtip-titlebar {
    width: 260px;
    color: #fff;
    background-color: rgb(128, 163, 176) !important;
    font-size: 1.3em;
    line-height: 1.1em;
}

.qtip-content {
    width: 260px;
    color: #fff;
    background-color: rgb(128, 163, 176);
    font-size: 1.6em;
    line-height: 1.2em;
}

.recaptcha {
    margin: 0 auto;
    text-align: center;
    width: 304px;
}


/*******************************************

	Site Footer

********************************************/

.site-footer {
    position: relative;
    display: table;
    width: 100%;
    height: 7em;
    background-image: url('../images/dotted-gold-divider.png');
    background-repeat: repeat;
}

.site-footer p {
    display: table-cell;
    vertical-align: middle;
    font-family: 'IM Fell Double Pica SC';
    color: #eee;
    text-align: center;
}


/*******************************************

	Media Queries for different screen sizes

********************************************/


/*@media (min-width: 769px) {

	.page-footer {
		background-attachment: fixed;
  }
  
}*/

@media (max-width: 780px) {
    .original {
        min-height: 5em;
        font-size: .8em;
    }
    .left-pin,
    .middle-pin,
    .right-pin {
        margin: 0 auto;
        margin-top: -2em;
        width: 30%;
    }
    .flex-member>.panel-grid-cell:first-child {
        order: 2;
    }
    .flex-member>.panel-grid-cell:last-child {
        order: 1;
    }
}

@media (max-width: 630px) {
    .site-header,
    .page-footer {
        background-attachment: local;
        background-position: center center !important;
    }
    .page-title img {
        display: none;
    }
    .site-nav li {
        display: none;
        width: 100%;
    }
    .mobile-menu {
        display: block;
    }
}