/* Debug */
.xdebug-var-dump,
.xdebug-error {
    position: relative;
    z-index: 10000;
}

.xdebug-var-dump {
    background-color: #000;
}

/* Layout */
html, body {
    height: 100%;
    min-height: 0;
    width: 100%;
    margin: 0;
}

html {
    font-size: 62.5%; /* Sets up the REM value to equal the pixel value e.g. 14px = 1.4rem */
}

body {
    font-family: "metropolisregular", Arial, Helvetica, sans-serif;
    font-size: 1.6rem; /* 16px */
    color: #738f9e;
    line-height: normal;
}

/* Global */
.show-mobile {
    display: none !important;
}

.mobile-search {
    display: none;
}

.container {
    width: 954px;
    margin: 0 auto;
}

/* Backgrounds */
.bg-red {
    background-color: #bb8d84;
}

.bg-green {
    background-color: #85c89b;
}

.bg-yellow {
    background-color: #d5aa41;
}

.bg-purple {
    background-color: #705985;
}

.bg-blue {
    background-color: #6dd2d1;
}

/* Buttons */
.btn {
    display: inline-block;
    font-family: "metropolisbold", Arial, Helvetica, sans-serif;
    font-size: 1.8rem;
    color: #FFF;
    text-transform: uppercase;
}

.btn-default {
    background: none;
    border: 3px solid #FFF;
    padding: 1.2rem 1.5rem;
}

.the-post .btn {
    color: #738f9e;
    text-transform: none;
    padding: 1.2rem 1.5rem;
}

.the-post .btn.btn-default {
    background: none;
    border: 3px solid #738f9e;
}

.the-post span.btn.btn-default a {
    color: #738f9e;
}

.the-post .btn.btn-invert {
    color: #FFF;
    background-color: #738f9e;
    padding: 1.5rem 2rem;
}

/* Anchors */
a {
    color: #6dd2d1;
    text-decoration: none;
}

.the-post a {
    font-family: "metropolisbold", Arial, Helvetica, sans-serif;
}

/* H Tags */
.the-post h1, .the-post h2, .the-post h3, .the-post h4, .the-post h5 {
    font-family: "metropolisbold", Arial, Helvetica, sans-serif;
}

.the-post h2, .the-post h3, .the-post h4, .the-post h5 {
    font-size: 2rem;
    clear: both;
}

.the-post p + h2, .the-post p + h3, .the-post p + h4, .the-post p + h5 {
    margin-bottom: 0.5rem;
}

/* Paragraphs */
#home-content p,
.the-post p {
    margin: 4rem 0;
    line-height: 2.4rem;
}

.the-post h2 + p, .the-post h3 + p, .the-post h4 + p, .the-post h5 + p {
    margin-top: 0;
}

.the-post .first-para {
    font-family: "metropolisbold", Arial, Helvetica, sans-serif;
    font-size: 2.4rem;
    line-height: normal;
    margin: 0 0 3rem 0;
}

/* Figure */
figure.image {
    position: relative;
    margin: 0 0 4.5rem 4.5rem;
}

figure.image img {
    display: block;
    width: 100% \9;
    max-width: 100%;
    height: auto;
    position: relative;
    z-index: -1;
}

figure.image figcaption {
    font-family: "metropolisbold", Arial, Helvetica, sans-serif;
    font-size: 1.2rem;
    text-transform: uppercase;
    text-align: right;
    margin-top: 0.8rem;
}

figure.image:before {
    font-family: "theme_icons";
    content: "\e904";
    display: block;
    position: absolute;
    top: 1.7rem;
    right: 1.7rem;
    font-size: 2.6rem;
    color: #FFF;
}

/* Footer */
footer {
    position: relative;
    z-index: 10;
    background-color: #738f9e;
    color: #FFF;
    padding: 5.4rem 0;
}

footer .footer-col {
    float: left;
    width: 25%;
}

footer nav a {
    display: inline-block;
    font-size: 1.4rem;
    color: #FFF;
    margin: 0.3rem 0;
}

footer nav a.highlight {
    font-family: "metropolisbold", Arial, Helvetica, sans-serif;
}

footer .credit {
    margin-top: 9rem;
    text-align: center;
    font-size: 1.2rem;
}

footer .credit a {
    color: #FFF;
}

/* Header */
header .mobile-bar {
    display: none;
    float: right;
}

header .mobile-bar a {
    color: #738f9e;
    font-size: 3rem;
    margin-left: 1.5rem;
}

header {
    background-color: #FFF;
    position: fixed;
    top: 0;
    /*    height: 214px;*/
    width: 100%;
    /*    overflow: hidden;*/
    z-index: 1000;
    float: left;
    height: auto;
}

header .nav,
header .site-logo,
header .sub,
header .white-box {
    float: left;
}

header .nav-right,
header .nav-right nav,
header .sub-right > div {
    float: right;
}

header .site-logo {
    width: 20%;
    padding: 2rem 0;
}

header .site-logo img {
    margin: 0 auto;
    -webkit-transition: padding 0.5s, height 0.5s ease;
    -moz-transition: padding 0.5s, height 0.5s ease;
    -ms-transition: padding 0.5s, height 0.5s ease;
    transition: padding 0.5s, height 0.5s ease;
    width: 200px;
}

header .site-logo img.logo-small {
    display: none;
    width: 45px;
}

header.sticky .site-logo img.logo-small {
    display: block;
}

header.sticky .site-logo img.logo-large {
    display: none;
}

header .nav {
    background-color: #738f9e;
    width: 100%;
    padding: 2rem 0;
}

header .nav-left,
header .sub-left {
    padding-left: 6.5rem;
}

header .nav-right,
header .sub-right {
    padding-right: 6.5rem;
}

/* Navigation */
.nav nav ul {
    margin: 0;
}

.nav nav ul li a {
    display: block;
    font-family: "metropolisbold", Arial, Helvetica, sans-serif;
    color: #FFF;
    font-size: 1.555rem;
    /*    font-size: 1.2vw;*/
    letter-spacing: 0.1rem;
    margin-left: 3rem;
    -webkit-transition: all 0.1s ease;
    -moz-transition: all 0.1s ease;
    -ms-transition: all 0.1s ease;
    transition: all 0.1s ease;
}

.nav nav ul li:first-child a {
    margin-left: 0;
}

.nav nav ul li a:hover,
.nav nav ul li a.active {
    position: relative;
    color: #d5aa41;
    padding-bottom: 1rem;
}

.nav nav ul li a:hover:after,
.nav nav ul li a.active:after {
    content: "";
    display: block;
    position: absolute;
    bottom: 0;
    height: 5px;
    background-color: #d5aa41;
    border-radius: 50px;
    width: 100%;
}

header .sub-bar {
    z-index: 5;
    float: left;
    width: 100%;
    background-color: #FFF;
    color: #738f9e;
    margin-bottom: 0;
    height: auto;
}

header .sub {
    padding-top: 2.8rem;
    padding-bottom: 2.8rem;
    margin: 3rem 0 0 0;
    width: 40%;
}

header.sticky .sub {
    margin: 0;
}

header .sub a {
    color: #738f9e;
}

header .white-box {
    width: 20%;
    padding: 1.5rem 0;
}

header .social .title,
header .social .social-list {
    float: left;
}

header .social .title {
    display: inline-block;
    font-family: "metropolisregular", Arial, Helvetica, sans-serif;
    font-size: 1.5rem;
    text-transform: uppercase;
    letter-spacing: 0.1rem;
    margin-right: 2rem;
    padding: 0.8rem 0;
}

header .social .social-list ul li {
    margin-left: 1rem;
}

header .social .social-list ul li:first-child {
    margin-left: 0;
}

header .social .social-list ul li a {
    color: #738f9e;
    font-size: 2.9rem;
}

/* Search box */
.search {
    position: relative;
    width: 75%;
}

.mobile-search {
    padding: 1rem 3.5rem;
}

.mobile-search .search {
    width: 100%;
}

.search input,
.search button {
    background-color: #FFF;
    color: #738f9e;
    border: none;
}

.search input {
    font-family: "metropolisregular", Arial, Helvetica, sans-serif;
    font-size: 1.5rem;
    text-align: right;
    padding: 1rem 8rem 1rem 0;
    width: 100%;
}

.search button {
    position: absolute;
    right: 0;
    top: 0;
    cursor: pointer;
}

.search button i {
    font-size: 3.4rem;
}

/* Homepage: Scroll box */
.slide-box .scroll-box {
    position: absolute;
    bottom: 2.5rem;
    right: 6.5rem;
    z-index: 500;
    background-color: rgba(255, 255, 255, 0.2);
    width: 95px;
    height: 95px;
    border-radius: 50px;
}

.slide-box .scroll-box a {
    position: absolute;
    color: #FFF;
    font-size: 3.2rem;
    width: 100%;
    height: 100%;
    top: 30px;
    text-align: center;
}

/* Homepage Slides */
/*
.video-bg {
    position: fixed;
    right: 0;
    bottom: 0;
    min-width: 100%;
    min-height: 100%;
    width: auto;
    height: auto;
    z-index: -100;
}

.video-bg video {
    position: absolute;
    top: 50%;
    left: 50%;
    margin: auto;
    min-height: 50%;
    min-width: 50%;
    -webkit-transform: translate(-50%, -50%);
    -moz-transform: translate(-50%, -50%);
    -ms-transform: translate(-50%, -50%);
    transform: translate(-50%, -50%);
}
*/
.video {
    position: absolute;
    height: 100%;
    width: 100%;
    overflow: hidden;
}

.slide-box .video-tint {
    position: absolute;
    width: 100%;
    height: 100%;
    right: 0;
    bottom: 0;
    min-width: 100%;
    min-height: 100%;
    background-color: rgba(0, 0, 0, 0.2);
    z-index: 5;
}

.slide-box.pier-beneath .video-tint {
    background-color: rgba(0, 0, 0, 0);
}

video.video-bg {
    position: absolute;
    top: 0;
    left: 0;
    min-width: 100%;
    min-height: 100%;
    width: auto;
    height: auto;
    z-index: -100;
}

.slide-caption.mobile {
    display: none;
    text-align: center;
}

.slide-box {
    position: relative;
    z-index: 10;
    width: 100%;
    height: 100%;
    margin: auto;
    overflow: hidden;
}

.slide-box .image {
    position: relative;
    background: fixed transparent none no-repeat 50% 50%;
    background-size: cover;
    width: 100%;
    height: 100%;
    margin: auto;
}

.slide-box .caption {
    position: absolute;
    top: 40%;
    text-align: center;
    width: 100%;
    -webkit-transform: translateY(-40%);
    -moz-transform: translateY(-40%);
    -ms-transform: translateY(-40%);
    transform: translateY(-40%);
    color: #FFF;
    z-index: 5;
}

.slide-box .caption .caption-title {
    font-family: "metropolisbold", Arial, Helvetica, sans-serif;
    font-size: 4rem;
    letter-spacing: 1rem;
    text-transform: uppercase;
}

.slide-box .caption .big-title {
    font-family: "playfair_display_scblack", Arial, Helvetica, sans-serif;
    font-size: 14rem;
    text-transform: uppercase;
    line-height: 100%;
    letter-spacing: 2rem;
}

.slide-box .caption-icon {
    position: absolute;
    z-index: 100;
    top: 55%;
    height: 100%;
    text-align: center;
    width: 100%;
}

.slide-box .caption-icon img {
    width: 500px;
    margin: 0 auto;
}

.slide-box .caption-icon img {
    margin: 3.5rem auto;
}

.slide-box .caption-animate {
    position: absolute;
    z-index: 100;
    bottom: 0;
    text-align: center;
    width: 100%;
    -webkit-animation-delay: 0.7s;
    -moz-animation-delay: 0.7s;
    animation-delay: 0.7s;
}

.slide-caption .caption-body,
.slide-box .caption-body {
    margin: 0 auto;
    padding: 2rem 3rem;
    max-width: 666px;
    color: #FFF;
}

.slide-caption .caption-body .body p,
.slide-box .caption-body .body p {
    font-size: 1.4rem;
    line-height: normal;
}

.slide-caption .caption-body .body .body-button,
.slide-box .caption-body .body .body-button {
    margin-top: 2rem;
}

.slide-caption .caption-body .body .body-button i,
.slide-box .caption-body .body .body-button i {
    margin-left: 0.4rem;
}

/* Sponsors */
#sponsor-bar {
    position: relative;
    z-index: 10;
    background-color: #e8d3cf;
    padding: 6rem 0;
    text-align: center;
    color: #000;
}

#sponsor-bar .sponsor-image {
    margin-bottom: 3rem;
}

#sponsor-bar .sponsor-image img {
    margin: 0 auto;
}

#sponsor-bar .sponsor-body {
    font-family: "metropolislight", Arial, Helvetica, sans-serif;
    font-size: 2.2rem;
    color: #000;
    text-transform: uppercase;
    margin-bottom: 3rem;
    letter-spacing: 0.2rem;
}

#sponsor-bar .sponsor-list {
    font-family: "metropolisbold", Arial, Helvetica, sans-serif;
    font-size: 1.4rem;
    text-transform: uppercase;
}

#social-bar {
    position: relative;
    z-index: 10;
    background-color: #FFF;
    padding: 7rem 0;
}

#social-bar a {
    font-size: 4.4rem;
    color: #738f9e;
}

#social-bar .social-item .title {
    font-family: "metropolisbold", Arial, Helvetica, sans-serif;
    font-size: 1.8rem;
    margin-bottom: 1rem;
}

#social-bar .social-item {
    position: relative;
display: inline-block;
    width: 25%;
    text-align: center;
}

#social-bar .social-item:after {
    position: absolute;
    content: "";
    right: 0;
    top: 0;
    height: 100%;
    border-right: 2px solid #738f9e;
}

#social-bar .social-item:last-child:after {
    border: none;
}

#social-bar .social-item img {
    margin: 0 auto;
}

/* Homepage */
#home-content {
    position: relative;
    z-index: 10;
    background-color: #FFF;
    text-align: center;
    padding: 15rem;

}

#home-content h1,
#home-content p.first-para {
    font-family: "metropolisbold", Arial, Helvetica, sans-serif;
    font-size: 2.2rem;
    margin-bottom: 3rem;
    line-height: normal;
}

/* Banner */
#banner,
#banner .slide {
    height: 630px;
    position: relative;
    -webkit-transition: height 0.5s ease;
    -moz-transition: height 0.5s ease;
    -ms-transition: height 0.5s ease;
    transition: height 0.5s ease;
    width: 100%;
    clear: both;
}

#banner .slide {
    background: fixed 50% 50% transparent;
    background-size: cover;
    z-index: 1;
}

#banner .slide .caption {
    position: absolute;
    width: 100%;
    top: 70%;
    -webkit-transform: translateY(-70%);
    -moz-transform: translateY(-70%);
    -ms-transform: translateY(-70%);
    transform: translateY(-70%);
    z-index: 20;
    text-align: center;
}

#banner .slide .caption .slide-title {
    font-family: "playfair_display_scblack", Arial, Helvetica, sans-serif;
    font-size: 8.9rem;
    text-transform: uppercase;
    line-height: 100%;
    letter-spacing: 1rem;
    color: #FFF;
}

/* Page slideshow */
#page-slideshow .slider-prev,
#page-slideshow .slider-next {
    position: absolute;
    z-index: 20;
    top: 50%;
    -webkit-transform: translateY(-50%);
    -moz-transform: translateY(-50%);
    -ms-transform: translateY(-50%);
    transform: translateY(-50%);
    color: #FFF;
    cursor: pointer;
    font-size: 2.6rem;

    -webkit-border-radius: 50px;
    -moz-border-radius: 50px;
    border-radius: 50px;
    background-color: #6dd2d1;
    width: 100px;
    height: 100px;
}

#page-slideshow .slider-prev i,
#page-slideshow .slider-next i {
    position: absolute;
    top: 50%;
    left: 50%;
    -webkit-transform: translate(-50%, -50%);
    -moz-transform: translate(-50%, -50%);
    -ms-transform: translate(-50%, -50%);
    transform: translate(-50%, -50%);
}

#page-slideshow .slider-prev {
    left: 12vw;
}

#page-slideshow .slider-next {
    right: 12vw;
}

#page-slideshow .slide {
    background: no-repeat 50% 50% transparent;
    background-size: cover;
    float: left;
    max-width: 400px;
    height: 400px;
    background-position: center center;
    background-repeat: no-repeat;
    background-size: cover;
    margin: 0 2rem;
    position: relative;
    z-index: 10;
}

#page-slideshow .slide img {
    position: relative;
    z-index: 5;
    max-width: 100%;
    max-height: 100%;
}

#page-slideshow .slide .mask-overlay {
    position: absolute;
    top: 0;
    left: 0;
    z-index: 15;
    width: 100%;
    height: 100%;
    background-color: rgba(0, 0, 0, 0.3);

}

#page-slideshow .slide:hover .mask-overlay {
    background-color: rgba(107, 154, 150, 0.5);
    -webkit-transition: background-color 0.5s ease-in-out;
    -moz-transition: background-color 0.5s ease-in-out;
    -ms-transition: background-color 0.5s ease-in-out;
    transition: background-color 0.5s ease-in-out;
}

#page-slideshow .slide .mask-caption {
    opacity: 0;
    position: absolute;
    z-index: 25;
    width: 100%;
    top: 50%;
    text-align: center;
    -webkit-transform: translateY(-50%);
    -moz-transform: translateY(-50%);
    -ms-transform: translateY(-50%);
    transform: translateY(-50%);

    -webkit-transition: opacity 0.5s ease;
    -moz-transition: opacity 0.5s ease;
    -ms-transition: opacity 0.5s ease;
    transition: opacity 0.5s ease;

}

#page-slideshow .slide:hover .mask-caption {
    opacity: 1;
}

#page-slideshow .slide .mask-caption .slide-title {
    font-family: "metropolisbold", Arial, Helvetica, sans-serif;
    font-size: 2rem;
    color: #FFF;
}

/* Content */
#content {
    padding: 11rem 0 8rem 0;
}

.the-post {
    color: #738f9e;
}

.blue-section {
    background-color: #738f9e;
    color: #FFF;
    padding: 5rem 0 11rem 0;
}

.blue-section .section-title {
    margin: 0 auto 5rem auto;
    text-align: center;
    width: 100%;

}

/* Article list */
#content-list .content-item .article-image,
#content-list .content-item .article-body {
    float: left;
    width: 42%;
}

#content-list .content-item {
    float: left;
    width: 100%;
    margin-bottom: 6rem;
    padding-bottom: 6rem;
    border-bottom: 1px solid #738f9e;
}

#content-list .content-item:last-child {
    margin-bottom: 0;
    border: none;
}

#content-list .content-item .article-body {
    width: 58%;
    padding-left: 7rem;
}

#content-list .content-item .the-post .article-body h3 {
    font-size: 1.6rem;
    margin: 0 0 0.6rem 0;
}

/* Gallery */
.gallery-images ul li {
    margin-right: 1%;
    margin-bottom: 1%;
    width: 220px;
    height: 220px;
    position: relative;

    background-position: 50% 50%;
    background-size: cover;
}

.gallery-images ul li:first-child {
    margin-left: 0;
}

.gallery-images ul li a {
    display: block;
    width: 100%;
    height: 100%;
    color: #FFF;
}

.gallery-images ul li .expand-image {
    position: absolute;
    top: 1rem;
    right: 1rem;
    font-size: 2.6rem;
    color: #FFF;
}

.gallery-images ul li .expand-image i {
    font-size: 2.2rem

}

.gallery-images ul li .gallery-title {
    display: block;
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    text-align: center;
    background-color: rgba(0, 0, 0, 0.3);
}

.gallery-images ul li:hover .gallery-title {
    background-color: rgba(107, 154, 150, 0.5);
    -webkit-transition: background-color 0.5s ease-in-out;
    -moz-transition: background-color 0.5s ease-in-out;
    -ms-transition: background-color 0.5s ease-in-out;
    transition: background-color 0.5s ease-in-out;
}

.gallery-images ul li .gallery-title .the-title {
    display: block;
    position: absolute;
    top: 50%;
    left: 0;
    width: 100%;
    -webkit-transform: translateY(-50%);
    -moz-transform: translateY(-50%);
    -ms-transform: translateY(-50%);
    transform: translateY(-50%);
}

.gallery-more-link {
    float: right;
}


.footer-navigation ul {
	margin-top: 0px;
	padding-top: 0px;
}


ul.sub_navigation {
	list-style-type: none;
	margin: 0px;
	padding: 0px;
}

ul.sub_navigation::before {
	content: "Related Pages";
	color: #cccccc;
	font: 20px Georgia;
	display: block;
	font-style: italic;
	padding: 20px 0px;
}

ul.sub_navigation li {
	width: 200px;
	height: 150px;
	background-position: center center;
	background-repeat: no-repeat;
	background-size: cover;
	position: relative;
	display: inline-block;
	margin: 0px 10px 0px 0px;
}

ul.sub_navigation li .sub_page_title {
	position: absolute;
	left: 0;
	right: 0;
	top: 0;
	bottom: 0;
	vertical-align: center;
	color: #ffffff;
	text-align: center;
	padding: 50% 4px 5px 4px;
	background-color: rgba(0,0,0,0.2 );
	font-size: 14px;
	text-transform: uppercase;
}

ul.sub_navigation li a:hover .sub_page_title {
	background-color: transparent;
	text-shadow: 0px 0px 5px #000000;
}


.board_table {
	border-collapse: collapse;
	border-width: 0;
}

.board_table td { 
	border-width: 0;
	padding: 20px;
	vertical-align: top;
}

.board_table td p {
	margin: 0;
	padding: 0;
}

.board_table td h2 {
	border-bottom: 2px solid #738f9e;
	padding: 0 0 5px 0;
	margin: 0 0 20px 0;
	font-weight: normal;
}

.board_table td table {
	width: 100% !important;
	height: auto !important;
}

.board_table td table td {
	width: auto !important;
}

body.pier-pressure\/ .board_table td h2 { color: #6fbc89 !important; }
body.pier-into-the-past .board_table td h2 { color: #5d4772 !important; }
body.pier-in-a-box\/ .board_table td h2 { color: #52c8c7 !important; }
body.pier-beneath\/ .board_table td h2 { color: #cf9a2f !important; }

