* {
  -webkit-box-sizing: border-box;
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

html,
body {
  width: 100%;
  height: 100%;
}

body {
  font-family: "futura-pt", Helvetica, Arial, sans-serif;
}

h1,
h2,
h3,
h4,
h5,
h6 {
  font-family: "warnock-pro", Georgia, serif;
  font-weight: normal;
  line-height: 1em;
  margin: 0
}

h2 {
  font-size: 75px;
  margin-top: 40px;
}

h3 {
  font-size: 50px;
  padding-top: 20px;
  padding-bottom: 0px;
}

p {
  font-size: 16px;
  line-height: 1.2em;
}

a {
  color: inherit;
  text-decoration: underline;
}

header,
section {
  background-color: #A864A8;
  margin-bottom: 5px;
  width: 100%;
  color: white;
  position: relative;
  overflow: hidden;
}

section {
  padding: 0 30px;
}

.clearfix:before,
.clearfix:after,
section:before,
section:after {
  content: '.';
  display: block;
  overflow: hidden;
  visibility: hidden;
  font-size: 0;
  line-height: 0;
  width: 0;
  height: 0;
}

.clearfix:after,
section:after {
  clear: both;
}

/*
  The following zoom:1 rule is specifically for IE6 + IE7.
  Move to separate stylesheet if invalid CSS is a problem.
*/

.clearfix,
section {
  zoom: 1;
}

header {
  height: 432px;
}

#masthead {
  height: 100%;
  width: 100%;
  max-width: 960px;
  margin: auto;
}

#lodge-title {
  -webkit-box-flex: 1;
  /* OLD - iOS 6-, Safari 3.1-6 */
  -moz-box-flex: 1;
  /* OLD - Firefox 19- */
  width: 590px;
  /* For old syntax, otherwise collapses. */
  -webkit-flex: 1 1 auto;
  /* Chrome */
  -ms-flex: 1 1 auto;
  /* IE 10 */
  flex: 1 1 auto;
  padding-left: 30px;
  float: left;
}

#lodge-title h1 {
  font-size: 56px;
  line-height: 1em;
}

#lodge-title span {
  font-size: 38px;
  height: 0.6em;
  line-height: 0.6em;
}

#crest {
  background-color: #7e317b;
  border-style: solid;
  border-width: 0 2px;
  border-color: rgb(255, 200, 255);
  width: 370px;
  height: 100%;
  float: right;
  background-position: center center;
  background-repeat: no-repeat;
  background-size: 296px 342px;
  background-image: url(../img/logo.png);
  background-image: url(../img/logo.svg);

  -webkit-box-flex: 1;
  /* OLD - iOS 6-, Safari 3.1-6 */
  -moz-box-flex: 1;
  /* OLD - Firefox 19- */
  width: 370px;
  /* For old syntax, otherwise collapses. */
  -webkit-flex: 0 0 auto;
  /* Chrome */
  -ms-flex: 0 0 auto;
  /* IE 10 */
  flex: 0 0 auto;
}

.doge #crest {
  background-image: url(../img/doge.png);
  background-position: center bottom;
}

#intro div {
  width: 50%;
  max-width: 480px;
  padding-left: 30px;
  margin-left: 50%;
  padding-bottom: 25px;
}

#intro #hall {
  position: absolute;
  top: 0;
  left: 0;
  right: 50%;
  bottom: 0;
  height: 100%;
  background: white url(../img/hall.jpg) no-repeat right center;
  -webkit-background-size: auto 962px;
  -moz-background-size: auto 962px;
  background-size: auto 962px;
  padding-left: 0;
  margin-left: 0;
  max-width: none;
  width: auto;
  border-right: 2px solid rgb(255, 200, 255);
}

#cathedral {
  background: url(../img/cathedral.jpg) no-repeat center top;
  background-size: cover;
  text-align: center;
  font-family: "warnock-pro", Georgia, serif;
  padding: 80px 40px 60px;
  font-size: 75px;
  line-height: 1.1em;
  text-shadow: 0 3px 9px rgba(0, 0, 0, 0.7);
}

.wrapper {
  width: 100%;
  max-width: 960px;
  margin: auto;
}

#meetingscontact {
  height: 320px;
}

h3 {
  text-align: center;
}

#meetingscontact p {
  font-size: 16px;
}

#meetings,
#contact {
  float: left;
  width: 100%;
  max-width: 370px;
  height: 320px;
}

#meetings {
  padding-left: 30px;
}

#contact {
  padding-right: 30px;
  padding-left: 20px;
  float: left;
}

#spiral {
  float: left;
  width: 220px;
  height: 320px;
  background-image: url(../img/spiral.png);
  background-image: url(../img/spiral.svg);
  background-repeat: no-repeat;
  background-position: center center;
  background-size: contain;
  display: block;
}

#moreinfo {
  clear: both;
  background: white;
  color: #a864a8;
  border-top: 5px solid #a864a8;
  padding-top: 13px;
  margin-bottom: 0;
}

#moreinfo p {
  font-size: 16px;
}

#moreinfo div {
  max-width: 645px;
  padding: 0 30px 20px 30px;
  float: right;
}

#moreinfo .moreinfowrapper {
  width: 62%;
  max-width: none;
  padding: 0;
  margin-right: 0;
  float: none;
}

#moreinfo #board {
  position: absolute;
  top: 0;
  left: 62%;
  right: 0;
  bottom: 0;
  height: 100%;
  background: white url(../img/board.jpg) no-repeat center center;
  -webkit-background-size: cover;
  -moz-background-size: cover;
  background-size: cover;
  padding: 0;
  margin: 0;
  max-width: none;
  width: auto;
  border-left: 2px solid rgb(255, 200, 255);
}

h4 {
  font-size: 25px;
  width: 100%;
  max-width: 340px;
  text-align: center;
}

#socialmedia {
  height: 600px;
  background-image: url(../img/column.png);
  background-image: url(../img/column.svg);
  background-position: center center;
  background-repeat: no-repeat;
}

#tweets {
  margin-top: 10px;
  float: left;
  width: 370px;
  margin-right: 30px;
}

#pillar {
  float: left;
  width: 100px;
  display: block;
  height: 600px;
  border-style: solid;
  border-width: 27px 0px;

  -moz-border-image: url(../img/column.png) 27 0 repeat;
  -webkit-border-image: url(../img/column.png) 27 0 repeat;
  -o-border-image: url(../img/column.png) 27 0 repeat;
  border-image: url(../img/column.png) 27 0 fill repeat;
  -moz-border-image: url(../img/column.svg) 27 0 repeat;
  -webkit-border-image: url(../img/column.svg) 27 0 repeat;
  -o-border-image: url(../img/column.svg) 27 0 repeat;
  border-image: url(../img/column.svg) 27 0 fill repeat;
}

#socialmedialinks {
  margin-top: 10px;
  float: left;
  height: 100%;
  width: 100%;
  display: none;
}

#fbposts {
  margin-top: 10px;
  margin-left: 30px;
  float: right;
  height: 100%;
  width: 370px;
}

.fb-like-box {
  background: white;
  width: 100%;
}

.fb-like-box>span,
.fb-like-box>span>iframe {
  width: 100% !important;
}

footer {
  font-size: 10px;
  background: #a864a8;
  color: white;
  padding: 16px 0;
  text-align: right;
}

#copyright {
  padding: 0 30px;
}

@media(max-width: 860px) {

  #tweets,
  #fbposts {
    width: 40%;
  }
}

@media(max-width: 1019px) {
  #spiral {
    display: none;
  }

  #meetings {
    border-right: 5px solid white;
  }

  #contact {
    float: right;
    border-left: 5px solid white;
  }
}

@media(max-width: 819px) {
  #meetingscontact {
    height: auto;
  }

  #meetings,
  #contact {
    float: none;
    margin: auto;
    border-left: 5px solid white;
    border-right: 5px solid white;
  }

  #cathedral {
    font-size: 50px;
  }
}

@media(max-width: 666px) {
  #fbposts {
    display: none;
  }

  #tweets {
    margin-left: auto;
    margin-right: auto;
    float: none;
    width: 100%;
    text-align: center;
  }

  #tweets iframe {
    margin: auto;
  }
}

@media(max-width: 709px) {
  section {
    padding: 0 10px;
  }

  #meetings,
  #contact {
    padding-left: 0;
    padding-right: 0;
    border: none;
    float: none;
  }

  #crest {
    display: none;
  }

  #lodge-title {
    background-color: rgba(126, 49, 123, 0.8);
    text-align: center;
    padding: 0 20px;
  }

  header {
    background-color: #7e317b;
    background-position: center center;
    background-repeat: no-repeat;
    background-size: 75% auto;
    background-image: url(../img/logo.png);
    background-image: url(../img/logo.svg);
    text-shadow: 0 1px 3px rgba(0, 0, 0, 0.8);
  }

  header.doge {
    background-position: center bottom;
    background-repeat: no-repeat;
    background-size: auto 90%;
    background-image: url(../img/doge.png);
  }

  #moreinfo #board {
    position: static;
    float: none;
    margin: 0;
    height: 400px;
    border: none;
    margin: -10px;
  }

  #moreinfo .moreinfowrapper {
    width: 100%;
    margin: 0;
    float: none;
  }

  #hall {
    display: none;
  }

  #intro div {
    float: none;
    margin: 0;
    width: auto;
    padding-left: 0;
  }

  .parallax-img {
    display: none;
  }
}

.flex-container {
  display: -webkit-box;
  /* OLD - iOS 6-, Safari 3.1-6 */
  display: -moz-box;
  /* OLD - Firefox 19- (buggy but mostly works) */
  display: -ms-flexbox;
  /* TWEENER - IE 10 */
  display: -webkit-flex;
  /* NEW - Chrome */
  display: flex;
  /* NEW, Spec - Opera 12.1, Firefox 20+ */
}

.flex {
  -webkit-box-flex: 1;
  /* OLD - iOS 6-, Safari 3.1-6 */
  -moz-box-flex: 1;
  /* OLD - Firefox 19- */
  width: auto;
  /* For old syntax, otherwise collapses. */
  -webkit-flex: 1 1 auto;
  /* Chrome */
  -ms-flex: 1 1 auto;
  /* IE 10 */
  flex: 1 1 auto;
  /* NEW, Spec - Opera 12.1, Firefox 20+ */
}

.flex-justify {
  -webkit-box-pack: center;
  -moz-box-pack: center;
  box-pack: center;
  -webkit-justify-content: center;
  justify-content: center;
}

.flex-align {
  -webkit-box-align: center;
  -webkit-align-items: center;
  -moz-box-align: center;
  -ms-flex-align: center;
  align-items: center;
}

.flex-column {
  -webkit-box-orient: vertical;
  -moz-box-orient: vertical;
  box-orient: vertical;

  -webkit-flex-direction: column;
  -ms-flex-direction: column;
  flex-direction: column;
}

.flex-row {
  -webkit-box-orient: horizontal;
  -moz-box-orient: horizontal;
  box-orient: horizontal;

  -webkit-flex-direction: row;
  -ms-flex-direction: row;
  flex-direction: row;
}

.parallax-inner {
  width: 100%;
  max-width: none;
  overflow: hidden;
  position: relative;
  /* 	height: 300px; */
}

.parallax-inner span {
  position: relative;
  z-index: 10;
}

.parallax-img {
  display: block;
  width: 100%;
  height: auto;
  position: absolute;
  top: 0;
  left: 0;
}