a {
  color: #e4a72f;
  text-decoration: none;
  transition: all .2s;
  transform: translate3d(0, 0, 0);
  -webkit-transform: translate3d(0, 0, 0);
}

h1,
h2,
h3,
h4,
h5,
h6 {
  font-family: 'pier_sansbold', sans-serif;
  font-weight: normal;
  text-transform: uppercase;
  letter-spacing: 2px;
  margin: 0 0 18px 0;
}

body {
  font-size: 14px !important;
  font-family: 'pier_sansregular', sans-serif;
  line-height: 24px;
  font-weight: normal;
  color: #656565;
  background: #fafafa;
  overflow-x: hidden;
}

#header {
  width: 100%;
  background: #fcfcfc;
  position: static;
  z-index: 500;
  text-align: right;
}

ul {
  list-style-type: square;
  margin: 0 0 20px 20px;
}

.site-logo {
  height: 73px;
  width: 73px;
  display: block;
  float: left;
  position: relative;
  overflow: hidden;
  line-height: 0;
  margin: 12px 0;
  transition: all .2s;
  transform: translate3d(0, 0, 0);
  -ms-transform: translate3d(0, 0, 0);
  -webktit-transform: translate3d(0, 0, 0);
}

.site-logo-image {
  width: 100%;
  height: auto;
}

.shrink .site-logo {
  width: 48px;
  height: 48px;
  margin: 8px 0;
}

.wrap {
  max-width: 1280px;
  margin: 0 auto;
  padding: 0 40px;
  position: relative;
}

ul.menu {
  margin: 0;
  padding: 0;
}

/* Top Bar */

.top-bar {
  background: #1b1b1b;
  color: #fafafa;
  overflow: hidden;
  position: relative;
}

.top-bar nav {
  float: right;
  text-align: right;
}

.top-bar nav ul {
  margin: 0;
  padding: 0;
}

.top-bar nav ul li {
  display: inline-block;
}

.top-bar nav ul li a {
  display: block;
  line-height: 32px;
  padding: 0 12px;
  color: #fafafa;
  font-family: 'pier_sansbold', sans-serif;
  font-weight: normal;
  text-transform: uppercase;
  letter-spacing: 1px;
  text-decoration: none;
  font-size: 10px;
}

.top-bar nav ul li.last a {
  padding-right: 0;
}

.social-links {
  border-left: 1px solid rgba(255, 255, 255, 0.2);
  position: relative;
  overflow: hidden;
  width: auto;
  float: left;
}

[class^="sl-"] {
  font-size: 0;
  display: block;
  float: left;
  position: relative;
  width: 32px;
  height: 32px;
  text-align: center;
  line-height: 32px;
  border-right: 1px solid rgba(255, 255, 255, 0.2);
}

[class^="sl-"]:before {
  font-family: saif;
  font-weight: normal;
  font-size: 14px;
  color: #fafafa;
}

.sl-facebook:before {
  content: "\f09a";
}

.sl-twitter:before {
  content: "\f099";
}

.sl-pinterest:before {
  content: "\f231";
}

.layout-content {
  padding: 40px 0;
}

table,
tbody,
th,
tr,
td {
  margin: 0;
  padding: 0;
  border: 0;
  font-size: 100%;
  font: inherit;
  vertical-align: baseline;
}

/* Main Navigation */

#main-menu {
  width: auto;
  position: relative;
  text-align: right;
  display: inline-block;
}

#main-menu ul {
  margin: 0;
  padding: 0;
}

#main-menu ul li {
  display: inline-block;
  margin: 0;
  padding: 0;
}

#main-menu ul>li>a {
  display: block;
  line-height: 94px;
  padding: 0 20px;
  font-size: 12px;
  color: #555;
  font-family: 'pier_sansbold', sans-serif;
  font-weight: normal;
  text-transform: uppercase;
  letter-spacing: 1px;
  text-decoration: none;
}

.shrink #main-menu ul>li>a {
  line-height: 62px;
}

/* Footer */

#footer {
  background: #252525;
  color: #e0e0e0;
  padding: 60px 0;
}

#footer:after {
  content: "";
  display: table;
  clear: both;
}

/* Bottom Region */

#bottom {
  background: #1b1b1b;
  padding: 40px;
  width: 100%;
}

#bottom:after {
  content: "";
  display: table;
  clear: both;
}

.copyright {
  text-align: center;
  font-size: 10px;
  color: #a0a0a0;
  line-height: 20px;
  margin: 0;
}

/* Spider Full Width Sections */

.spider-fw-section {
  position: relative;
  width: 100%;
}

.spider-fw-section:after {
  content: "";
  display: table;
  clear: both;
}

.spider-fw-section .wrap>*:last-child {
  margin-bottom: 0;
}

/* Front Page */

.node-1>.columns-row:first-of-type {
  text-align: center;
  margin: 40px auto 40px auto;
}

.node-1>.columns-row:first-of-type h3 {
  padding: 0 0 24px 0;
  margin: 0 0 24px 0;
  position: relative;
}

.node-1>.columns-row:first-of-type h3:after {
  content: "";
  display: block;
  width: 60px;
  height: 4px;
  background: #e4a72f;
  position: absolute;
  bottom: 0;
  left: 50%;
  margin-left: -30px;
}

.front .spider-fw-section:before {
  content: "";
  position: absolute;
  top: -24px;
  left: 50%;
  margin-left: -24px;
  width: 0;
  height: 0;
  border-left: 18px solid transparent;
  border-right: 18px solid transparent;
  border-bottom: 24px solid #f3f3f3;
}

.front .spider-fw-section [class^="spider-col"] {
  text-align: center;
}

.front .spider-fw-section [class^="spider-col"] h3 {
  font-size: 18px;
  position: relative;
  padding: 0 0 12px 0;
  margin: 0 0 16px 0;
}

.front .spider-fw-section [class^="spider-col"] h3:after {
  content: "";
  display: block;
  width: 40px;
  height: 4px;
  background: #e4a72f;
  position: absolute;
  bottom: 0;
  left: 50%;
  margin-left: -20px;
}

/* Spider Slider */

.spider-slider {
  height: 500px;
  width: 100%;
  overflow: hidden;
}

.slick-track,
.slick-list {
  height: 100%;
}

.spider-slide {
  height: 100%;
  width: 100%;
}

.spider-slide .wrap {
  height: 100%;
}

.slide-image {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  z-index: -1;
}

.slide-content {
  position: relative;
  top: 70%;
  transform: translate3d(0, 0, 0) translateY(-50%);
  -moz-transform: translate3d(0, 0, 0) translateY(-50%);
  -webkit-transform: translate3d(0, 0, 0) translateY(-50%);
  transition: all 1s;
  text-align: center;
  opacity: 0;
  padding: 0 20%;
}

.slide-content.reveal {
  top: 50%;
  opacity: 1;
}

.spider-slide a {
  color: #fafafa;
  text-decoration: none;
}

.spider-slide h2 {
  font-size: 38px;
  line-height: 50px;
  letter-spacing: 3px;
  color: #fafafa;
}

.spider-slide p {
  margin: 0;
  font-size: 18px;
  line-height: 28px;
  color: #fafafa;
}

.slick-dots {
  text-align: center;
  position: absolute;
  bottom: 0 !important;
  left: 50%;
  transform: translateX(-50%);
  -moz-transform: translateX(-50%);
  -webkit-transform: translateX(-50%);
}

.slick-dots li {
  display: inline-block;
  margin: 0 1px;
}

.slick-dots button {
  border: none;
  line-height: 0;
  font-size: 0;
  background: rgba(255, 255, 255, 0.4);
  width: 8px;
  height: 8px;
  overflow: hidden;
  padding: 0 !important;
  border-radius: 0;
}

.slick-dots li.slick-active button {
  background: rgba(255, 255, 255, 0.7);
}

.slick-arrow {
  border: none;
  line-height: 0;
  font-size: 0;
  overflow: hidden;
  padding: 0 !important;
  border-radius: 0;
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  -moz-transform: translateY(-50%);
  -webkit-transform: translateY(-50%);
  height: 44px;
  width: 44px;
  line-height: 44px;
}

.slick-arrow:before {
  font-family: saif;
  font-size: 38px;
  color: rgba(255, 255, 255, 0.4);
}

.slick-prev {
  left: 12px;
}

.slick-prev:before {
  content: "\e110";
}

.slick-next {
  right: 12px;
}


.slick-next:before {
  content: "\e111";
  right: 12px;
}

.element-invisible:not([for=edit-search-block-form--2]) {
  position: absolute !important;
  clip: rect(1px 1px 1px 1px);
  clip: rect(1px, 1px, 1px, 1px);
  top: -1000000px;
  font-size: 0;
  line-height: 0;
}

.element-invisible.element-focusable:active,
.element-invisible.element-focusable:focus {
  position: static !important;
  clip: auto;
}

a {
  color: #e4a72f;
  text-decoration: none;
  transition: all .2s;
  transform: translate3d(0, 0, 0);
  -webkit-transform: translate3d(0, 0, 0);
}

h1,
h2,
h3,
h4,
h5,
h6 {
  font-family: 'pier_sansbold', sans-serif;
  font-weight: normal;
  text-transform: uppercase;
  letter-spacing: 2px;
  margin: 0 0 18px 0;
}

body {
  font-size: 12px;
  font-family: 'pier_sansregular', sans-serif;
  line-height: 24px;
  font-weight: normal;
  color: #656565;
  background: #fafafa;
  overflow-x: hidden;
}

#header {
  width: 100%;
  background: #fcfcfc;
  position: static;
  z-index: 500;
  text-align: right;
}

/* Header search */

#toggle-search {
  position: absolute;
  top: -100000px;
}

#toggle-search,
label[for="toggle-search"] {
  z-index: -1;
}

#toggle-search+label {
  font-size: 0;
  cursor: pointer;
}

#toggle-search+label:before {
  content: "\f002";
  font-family: saif;
  font-weight: normal;
  font-size: 14px;
}

#toggle-search+label~.region {
  max-height: 0;
  overflow: hidden;
  opacity: 0;
  transition: all .2s;
}

#toggle-search:checked+label:before {
  color: #e4a72f;
}

#toggle-search:checked+label~.region {
  max-height: 500px;
  opacity: 1;
  overflow: hidden;
  padding-bottom: 20px;
}

#header .region {
  width: 100%;
  clear: both;
  position: relative;
}

#header .region .form-type-search {
  padding-right: 60px;
  position: relative;
}

#header .region [name="keys"] {
  border: none;
  background: rgba(0, 0, 0, 0.05);
  line-height: 28px;
  padding: 12px 16px;
  font-weight: normal;
  font-size: 18px !important;
  color: transparent;
  text-shadow: 0 0 0 #777;
}

#header .region [name="keys"]:focus {
  outline: none;
}

#header .region #edit-actions input {
  opacity: 0;
  font-size: 0;
  width: 52px;
  height: 52px;
  position: absolute;
  top: 0;
  left: 0;
}

#header .region #edit-actions {
  width: 52px;
  height: 52px;
  background: #e4a72f;
  color: #fafafa;
  border: 2px solid #e4a72f;
  position: absolute;
  right: 0;
  top: 0;
  line-height: 52px;
  text-align: center;
  border-radius: 2px;
  transition: all .2s;
}

#header .region #edit-actions:hover {
  background: none;
  color: #555;
}


#header .region #edit-actions:before {
  content: "\e2ca";
  font-family: material-icons;
  font-weight: normal;
  font-size: 24px;
  line-height: 50px;
}

label[for="edit-keys--2"] {
  font-size: 0;
}

label[for="edit-keys--2"]:before {
  position: absolute;
  left: 12px;
  top: 12px;
  content: "|";
  font-weight: bold;
  font-size: 30px;
  color: #777;
  -webkit-animation: 1s blink step-end infinite;
  -moz-animation: 1s blink step-end infinite;
  -ms-animation: 1s blink step-end infinite;
  -o-animation: 1s blink step-end infinite;
  animation: 1s blink step-end infinite;
}

@keyframes "blink" {

  from,
  to {
    color: transparent;
  }

  50% {
    color: #777;
  }
}

@-moz-keyframes blink {

  from,
  to {
    color: transparent;
  }

  50% {
    color: #777;
  }
}

@-webkit-keyframes "blink" {

  from,
  to {
    color: transparent;
  }

  50% {
    color: #777;
  }
}

@-ms-keyframes "blink" {

  from,
  to {
    color: transparent;
  }

  50% {
    color: #777;
  }
}

@-o-keyframes "blink" {

  from,
  to {
    color: transparent;
  }

  50% {
    color: #777;
  }
}

.site-logo {
  height: 73px;
  width: 73px;
  display: block;
  float: left;
  position: relative;
  overflow: hidden;
  line-height: 0;
  margin: 12px 0;
  transition: all .2s;
  transform: translate3d(0, 0, 0);
  -ms-transform: translate3d(0, 0, 0);
  -webktit-transform: translate3d(0, 0, 0);
}

.site-logo-image {
  width: 100%;
  height: auto;
}

.shrink .site-logo {
  width: 48px;
  height: 48px;
  margin: 8px 0;
}

.wrap {
  max-width: 1280px;
  margin: 0 auto;
  padding: 0 40px;
  position: relative;
}

ul.menu {
  margin: 0;
  padding: 0;
}

/* Top Bar */

.top-bar {
  background: #1b1b1b;
  color: #fafafa;
  overflow: hidden;
  position: relative;
}

.top-bar nav {
  float: right;
  text-align: right;
}

.top-bar nav ul {
  margin: 0;
  padding: 0;
}

.top-bar nav ul li {
  display: inline-block;
}

.top-bar nav ul li a {
  display: block;
  line-height: 32px;
  padding: 0 12px;
  color: #fafafa;
  font-family: 'pier_sansbold', sans-serif;
  font-weight: normal;
  text-transform: uppercase;
  letter-spacing: 1px;
  text-decoration: none;
  font-size: 10px;
}

.top-bar nav ul li.last a {
  padding-right: 0;
}

.social-links {
  border-left: 1px solid rgba(255, 255, 255, 0.2);
  position: relative;
  overflow: hidden;
  width: auto;
  float: left;
}

[class^="sl-"] {
  font-size: 0;
  display: block;
  float: left;
  position: relative;
  width: 32px;
  height: 32px;
  text-align: center;
  line-height: 32px;
  border-right: 1px solid rgba(255, 255, 255, 0.2);
}

[class^="sl-"]:before {
  font-family: saif;
  font-weight: normal;
  font-size: 14px;
  color: #fafafa;
}

.sl-facebook:before {
  content: "\f09a";
}

.sl-twitter:before {
  content: "\f099";
}

.sl-pinterest:before {
  content: "\f231";
}

.layout-content {
  padding: 40px 0;
}

table,
tbody,
th,
tr,
td {
  margin: 0;
  padding: 0;
  border: 0;
  font-size: 100%;
  font: inherit;
  vertical-align: baseline;
}

/* Main Navigation */

#main-menu {
  width: auto;
  position: relative;
  text-align: right;
  display: inline-block;
}

#main-menu ul {
  margin: 0;
  padding: 0;
}

#main-menu ul li {
  display: inline-block;
  margin: 0;
  padding: 0;
}

#main-menu ul>li>a {
  display: block;
  line-height: 94px;
  padding: 0 20px;
  font-size: 12px;
  color: #555;
  font-family: 'pier_sansbold', sans-serif;
  font-weight: normal;
  text-transform: uppercase;
  letter-spacing: 1px;
  text-decoration: none;
}

.shrink #main-menu ul>li>a {
  line-height: 62px;
}

/* Footer */

#footer {
  background: #252525;
  color: #e0e0e0;
  padding: 60px 0;
}

#footer:after {
  content: "";
  display: table;
  clear: both;
}

/* Bottom Region */

#bottom {
  background: #1b1b1b;
  padding: 40px;
  width: 100%;
}

#bottom:after {
  content: "";
  display: table;
  clear: both;
}

.copyright {
  text-align: center;
  font-size: 10px;
  color: #a0a0a0;
  line-height: 20px;
  margin: 0;
}

/* Spider Full Width Sections */

.spider-fw-section {
  position: relative;
  width: 100%;
}

.spider-fw-section:after {
  content: "";
  display: table;
  clear: both;
}

.spider-fw-section .wrap>*:last-child {
  margin-bottom: 0;
}

/* Front Page */

.node-1>.columns-row:first-of-type {
  text-align: center;
  margin: 40px auto 40px auto;
}

.node-1>.columns-row:first-of-type h3 {
  padding: 0 0 24px 0;
  margin: 0 0 24px 0;
  position: relative;
}

.node-1>.columns-row:first-of-type h3:after {
  content: "";
  display: block;
  width: 60px;
  height: 4px;
  background: #e4a72f;
  position: absolute;
  bottom: 0;
  left: 50%;
  margin-left: -30px;
}

.front .spider-fw-section:before {
  content: "";
  position: absolute;
  top: -24px;
  left: 50%;
  margin-left: -24px;
  width: 0;
  height: 0;
  border-left: 18px solid transparent;
  border-right: 18px solid transparent;
  border-bottom: 24px solid #f3f3f3;
}

.front .spider-fw-section [class^="spider-col"] {
  text-align: center;
}

.front .spider-fw-section [class^="spider-col"] h3 {
  font-size: 18px;
  position: relative;
  padding: 0 0 12px 0;
  margin: 0 0 16px 0;
}

.front .spider-fw-section [class^="spider-col"] h3:after {
  content: "";
  display: block;
  width: 40px;
  height: 4px;
  background: #e4a72f;
  position: absolute;
  bottom: 0;
  left: 50%;
  margin-left: -20px;
}

/* Spider Slider */

.spider-slider {
  height: 500px;
  width: 100%;
  overflow: hidden;
}

.slick-track,
.slick-list {
  height: 100%;
}

.spider-slide {
  height: 100%;
  width: 100%;
}

.spider-slide .wrap {
  height: 100%;
}

.slide-image {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  z-index: -1;
}

.slide-content {
  position: relative;
  top: 70%;
  transform: translate3d(0, 0, 0) translateY(-50%);
  -moz-transform: translate3d(0, 0, 0) translateY(-50%);
  -webkit-transform: translate3d(0, 0, 0) translateY(-50%);
  transition: all 1s;
  text-align: center;
  opacity: 0;
  padding: 0 20%;
}

.slide-content.reveal {
  top: 50%;
  opacity: 1;
}

.spider-slide a {
  color: #fafafa;
  text-decoration: none;
}

.spider-slide h2 {
  font-size: 38px;
  line-height: 50px;
  letter-spacing: 3px;
  color: #fafafa;
}

.spider-slide p {
  margin: 0;
  font-size: 18px;
  line-height: 28px;
  color: #fafafa;
}

.slick-dots {
  text-align: center;
  position: absolute;
  bottom: 0 !important;
  left: 50%;
  transform: translateX(-50%);
  -moz-transform: translateX(-50%);
  -webkit-transform: translateX(-50%);
}

.slick-dots li {
  display: inline-block;
  margin: 0 1px;
}

.slick-dots button {
  border: none;
  line-height: 0;
  font-size: 0;
  background: rgba(255, 255, 255, 0.4);
  width: 8px;
  height: 8px;
  overflow: hidden;
  padding: 0 !important;
  border-radius: 0;
}

.slick-dots li.slick-active button {
  background: rgba(255, 255, 255, 0.7);
}

.slick-arrow {
  border: none;
  line-height: 0;
  font-size: 0;
  overflow: hidden;
  padding: 0 !important;
  border-radius: 0;
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  -moz-transform: translateY(-50%);
  -webkit-transform: translateY(-50%);
  height: 44px;
  width: 44px;
  line-height: 44px;
}

.slick-arrow:before {
  font-family: saif;
  font-size: 38px;
  color: rgba(255, 255, 255, 0.4);
}

.slick-prev {
  left: 12px;
}

.slick-prev:before {
  content: "\e110";
}

.slick-next {
  right: 12px;
}


.slick-next:before {
  content: "\e111";
  right: 12px;
}

.element-invisible:not([for=edit-search-block-form--2]) {
  position: absolute !important;
  clip: rect(1px 1px 1px 1px);
  clip: rect(1px, 1px, 1px, 1px);
  top: -1000000px;
  font-size: 0;
  line-height: 0;
}

.element-invisible.element-focusable:active,
.element-invisible.element-focusable:focus {
  position: static !important;
  clip: auto;
}

/* Page Title */

.page-header {
  background: rgba(0, 0, 0, 0.1) url('../images/page-header-bg.jpg') no-repeat center center;
  background-size: cover;
  padding: 40px 0;

}

.page-header h1 {
  color: #fafafa;
  font-size: 28px;
  line-height: 36px;
  margin: 0;
}

.page-subtitle {
  color: #fafafa;
  font-size: 14px;
  line-height: 24px;
  margin: 0;
  font-family: 'pier_sansbold', sans-serif;
  font-weight: normal;
  text-transform: uppercase;
  letter-spacing: 2px;
}

/* Shrink CSS */

@media screen and (min-width: 769px) {

  html {
    opacity: 1;
    background: #1b1b1b;
  }
}

@media screen and (max-width: 768px) {

  .spider-call-to-action {
    text-align: center;
  }

  .spider-call-to-action a {
    position: relative;
    right: auto;
    top: auto;
    margin-top: 12px;
  }

  .wrap {
    padding: 0 12px;
  }

  #header {
    position: absolute;
  }

  .site-logo {
    width: 64px;
    height: 62px;
    margin: 0;
  }

  input#toggle-search+label,
  input#toggle-menu+label {
    position: absolute;
    right: 0px;
    top: 0 !Important;
    line-height: 62px;
    height: 62px;
    display: block;
    font-size: 0;
    cursor: pointer;
  }

  input#toggle-search+label {
    right: 40px;
  }

  input#toggle-menu+label {
    top: -16px !important;
  }

  input#toggle-menu+label:before {
    content: "\e20e";
    font-family: material-icons;
    font-weight: normal;
    font-size: 24px;
  }

  input#toggle-menu:checked+label:before {
    content: "\e209";
  }

  #main-menu {
    float: none;
  }

  #main-menu ul {
    position: fixed;
    top: 0;
    left: 0;
    transform: translate3d(0, 0, 0) translateY(-100%);
    -moz-transform: translate3d(0, 0, 0) translateY(-100%);
    transition: all .3s;
    width: 100%;
    height: calc(100% - 94px);
    z-index: -1;
    padding-top: 40px;
  }

  input#toggle-menu:checked+label~ul {
    transform: translate3d(0, 0, 0) translateY(92px);
    -moz-transform: translate3d(0, 0, 0) translateY(92px);
    background: #fcfcfc;
  }

  #main-menu ul li {
    display: block;
    width: 100%;
    text-align: center;
  }

  #main-menu ul li a {
    line-height: 40px;
    width: 100%;
    padding: 0;
  }

  /* Front Page */

  .node-1>.columns-row:first-of-type {
    max-width: 100%;
  }

  /* Page Headers */

  .page-header h1 {
    font-size: 22px;
    line-height: 34px;
  }

  /* Forums */

  .page-forum .action-links {
    transform: none;
    -webkit-transform: none;
  }

  .page-forum .action-links a {
    float: left;
    border: 2px solid #e4a72f;
    color: #555;
    margin: 0 0 12px 0;
  }

  .page-forum .action-links a:hover {
    background: #e4a72f;
    color: #fafafa;
  }

  #forum {
    transform: none;
    -webkit-transform: none;
  }

  .section-forum #forum table[id^="forum-"] th:last-of-type,
  .section-forum #forum table[id^="forum-"] td:last-of-type,
  .section-forum #forum table[id^="forum-"] th:nth-of-type(3),
  .section-forum #forum table[id^="forum-"] td:nth-of-type(3),
  #forum table[id^="forum-topic-"] th:first-of-type,
  #forum table[id^="forum-topic-"] td:first-of-type,
  #forum table[id^="forum-topic-"] th:last-of-type,
  #forum table[id^="forum-topic-"] td:last-of-type {
    display: none;
  }

  .section-forum #forum table[id^="forum-"] th:nth-of-type(2),
  #forum table[id^="forum-topic-"] th:nth-of-type(3) a {
    font-size: 0;
  }

  .section-forum #forum table[id^="forum-"] th:nth-of-type(2):before,
  #forum table[id^="forum-topic-"] th:nth-of-type(3) a:before {
    font-family: saif;
    content: "\e055";
    font-size: 18px;
    color: #fafafa;
    height: 24px;
    line-height: 24px;
    font-weight: normal;
    vertical-align: middle;
  }

  .section-forum #forum table[id^="forum-"] th:nth-of-type(2),
  .section-forum #forum table[id^="forum-"] td:nth-of-type(2),
  #forum table[id^="forum-topic-"] th:nth-of-type(3),
  #forum table[id^="forum-topic-"] td:nth-of-type(3) {
    text-align: right;
  }

  /* Single Topics */

  .node-forum:not(.comment) {
    padding-left: 0 !Important;
    position: relative;
    width: 100%;
    border-left: none;
    margin: 0 0 20px 0 !important;
  }

  .node-forum>header {
    width: 100%;
    float: left;
    position: relative;
    left: 0;
    top: 0;
    text-align: left;
  }

  .comment-title {
    width: 100%;
    display: block;
    clear: both;
    padding-bottom: 16px;
  }


  .comment .links.inline {
    position: relative;
    top: auto;
    text-align: left;
    right: auto;
    float: left;
    margin: 16px 0 0 0;
  }

  .comment:after {
    content: "";
    display: table;
    clear: both;
  }

  .spider-slider,
  .spider-slider .wrap {
    height: 400px;
  }

  .spider-slide h2 {
    font-size: 32px;
    line-height: 44px;
    letter-spacing: 2px;
    color: #fafafa;
  }

  .spider-slide p {
    font-size: 14px;
    line-height: 24px;
    color: #fafafa;
  }

  .spider-masonry article {
    width: calc(50% - 40px);
  }

  .node-type-article #content,
  .page-user main {
    width: 100%;
  }

  .node-type-article #content+aside,
  .page-user .sidebars {
    width: 100%;
    margin: 0 0 40px 0;
  }

  #user-profile-form label,
  #user-profile-form input,
  #user-profile-form select,
  #user-profile-form textarea,
  #user-profile-form .description,
  #user-profile-form .form-item-files-picture-upload label,
  #user-profile-form .form-type-checkbox.form-item-picture-delete {
    width: 100%;
    float: left;
  }

  .page-user #content .profile {
    margin-top: 90px;
    margin-left: 0;
    width: 100%;
  }

  .page-user #content .profile .user-picture {
    position: absolute;
    left: auto;
    top: -90px;
    width: 70px;
  }

  span.user-label,
  span.user-value {
    display: block;
    width: 100%;
    float: left;
    position: relative;
  }

  .top-bar nav ul li a {
    padding: 0 6px;
  }

  .site-logo-image {
    padding: 0.2rem;
  }

}

@media screen and (max-width: 500px) {

  .spider-masonry article {
    width: 100%;
    margin: 0 !important;
  }

}

input#toggle-menu,
input#toggle-menu+label {
  display: none;
}

/* Page Title */

.page-header {
  background: rgba(0, 0, 0, 0.1) url('../images/page-header-bg.jpg') no-repeat center center;
  background-size: cover;
  padding: 40px 0;

}

.page-header h1 {
  color: #fafafa;
  font-size: 28px;
  line-height: 36px;
  margin: 0;
}

.page-subtitle {
  color: #fafafa;
  font-size: 14px;
  line-height: 24px;
  margin: 0;
  font-family: 'pier_sansbold', sans-serif;
  font-weight: normal;
  text-transform: uppercase;
  letter-spacing: 2px;
}

/* Shrink CSS */

@media screen and (min-width: 769px) {

  html {
    opacity: 1;
    background: #1b1b1b;
  }
}

@media screen and (max-width: 768px) {

  .spider-call-to-action {
    text-align: center;
  }

  .spider-call-to-action a {
    position: relative;
    right: auto;
    top: auto;
    margin-top: 12px;
  }

  .wrap {
    padding: 0 12px;
  }

  #header {
    position: absolute;
  }

  .site-logo {
    width: 64px;
    height: 62px;
    margin: 0;
  }

  input#toggle-search+label,
  input#toggle-menu+label {
    position: absolute;
    right: 0px;
    top: 0 !Important;
    line-height: 62px;
    height: 62px;
    display: block;
    font-size: 0;
    cursor: pointer;
  }

  input#toggle-search+label {
    right: 40px;
  }

  input#toggle-menu+label {
    top: -16px !important;
  }

  input#toggle-menu+label:before {
    content: "\e20e";
    font-family: material-icons;
    font-weight: normal;
    font-size: 24px;
  }

  input#toggle-menu:checked+label:before {
    content: "\e209";
  }

  #main-menu {
    float: none;
  }

  #main-menu ul {
    position: fixed;
    top: 0;
    left: 0;
    transform: translate3d(0, 0, 0) translateY(-100%);
    -moz-transform: translate3d(0, 0, 0) translateY(-100%);
    transition: all .3s;
    width: 100%;
    height: calc(100% - 94px);
    z-index: -1;
    padding-top: 40px;
  }

  input#toggle-menu:checked+label~ul {
    transform: translate3d(0, 0, 0) translateY(92px);
    -moz-transform: translate3d(0, 0, 0) translateY(92px);
    background: #fcfcfc;
  }

  #main-menu ul li {
    display: block;
    width: 100%;
    text-align: center;
  }

  #main-menu ul li a {
    line-height: 40px;
    width: 100%;
    padding: 0;
  }

  /* Front Page */

  .node-1>.columns-row:first-of-type {
    max-width: 100%;
  }

  /* Page Headers */

  .page-header h1 {
    font-size: 22px;
    line-height: 34px;
  }

  /* Forums */

  .page-forum .action-links {
    transform: none;
    -webkit-transform: none;
  }

  .page-forum .action-links a {
    float: left;
    border: 2px solid #e4a72f;
    color: #555;
    margin: 0 0 12px 0;
  }

  .page-forum .action-links a:hover {
    background: #e4a72f;
    color: #fafafa;
  }

  #forum {
    transform: none;
    -webkit-transform: none;
  }

  .section-forum #forum table[id^="forum-"] th:last-of-type,
  .section-forum #forum table[id^="forum-"] td:last-of-type,
  .section-forum #forum table[id^="forum-"] th:nth-of-type(3),
  .section-forum #forum table[id^="forum-"] td:nth-of-type(3),
  #forum table[id^="forum-topic-"] th:first-of-type,
  #forum table[id^="forum-topic-"] td:first-of-type,
  #forum table[id^="forum-topic-"] th:last-of-type,
  #forum table[id^="forum-topic-"] td:last-of-type {
    display: none;
  }

  .section-forum #forum table[id^="forum-"] th:nth-of-type(2),
  #forum table[id^="forum-topic-"] th:nth-of-type(3) a {
    font-size: 0;
  }

  .section-forum #forum table[id^="forum-"] th:nth-of-type(2):before,
  #forum table[id^="forum-topic-"] th:nth-of-type(3) a:before {
    font-family: saif;
    content: "\e055";
    font-size: 18px;
    color: #fafafa;
    height: 24px;
    line-height: 24px;
    font-weight: normal;
    vertical-align: middle;
  }

  .section-forum #forum table[id^="forum-"] th:nth-of-type(2),
  .section-forum #forum table[id^="forum-"] td:nth-of-type(2),
  #forum table[id^="forum-topic-"] th:nth-of-type(3),
  #forum table[id^="forum-topic-"] td:nth-of-type(3) {
    text-align: right;
  }

  /* Single Topics */

  .node-forum:not(.comment) {
    padding-left: 0 !Important;
    position: relative;
    width: 100%;
    border-left: none;
    margin: 0 0 20px 0 !important;
  }

  .node-forum>header {
    width: 100%;
    float: left;
    position: relative;
    left: 0;
    top: 0;
    text-align: left;
  }

  .comment-title {
    width: 100%;
    display: block;
    clear: both;
    padding-bottom: 16px;
  }


  .comment .links.inline {
    position: relative;
    top: auto;
    text-align: left;
    right: auto;
    float: left;
    margin: 16px 0 0 0;
  }

  .comment:after {
    content: "";
    display: table;
    clear: both;
  }

  .spider-slider,
  .spider-slider .wrap {
    height: 400px;
  }

  .spider-slide h2 {
    font-size: 32px;
    line-height: 44px;
    letter-spacing: 2px;
    color: #fafafa;
  }

  .spider-slide p {
    font-size: 14px;
    line-height: 24px;
    color: #fafafa;
  }

  .spider-masonry article {
    width: calc(50% - 40px);
  }

  .node-type-article #content,
  .page-user main {
    width: 100%;
  }

  .node-type-article #content+aside,
  .page-user .sidebars {
    width: 100%;
    margin: 0 0 40px 0;
  }

  #user-profile-form label,
  #user-profile-form input,
  #user-profile-form select,
  #user-profile-form textarea,
  #user-profile-form .description,
  #user-profile-form .form-item-files-picture-upload label,
  #user-profile-form .form-type-checkbox.form-item-picture-delete {
    width: 100%;
    float: left;
  }

  .page-user #content .profile {
    margin-top: 90px;
    margin-left: 0;
    width: 100%;
  }

  .page-user #content .profile .user-picture {
    position: absolute;
    left: auto;
    top: -90px;
    width: 70px;
  }

  span.user-label,
  span.user-value {
    display: block;
    width: 100%;
    float: left;
    position: relative;
  }

  .top-bar nav ul li a {
    padding: 0 6px;
  }

}

@media screen and (max-width: 500px) {

  .spider-masonry article {
    width: 100%;
    margin: 0 !important;
  }

}

/* News Page */

.view-id-news_articles {
  width: 100%;
  overflow: hidden;
  position: relative;
}

.view-id-news_articles .view-content,
.view-id-news_articles .spider-masonry {
  width: 100%;
}

.spider-masonry article {
  width: calc((100% - 80px) / 3);
  position: relative;
  margin: 0 0 20px 0 !important;
  opacity: 1;
  transition: all .6s;
  padding: 0 0 16px 0;
  display: block;
  float: left;
  transform: translate3d(0, 0, 0) translateY(50px) scale(0.9);
  -webkit-transform: translate3d(0, 0, 0) translateY(50px) scale(0.9);
}

.spider-masonry article.visible {
  opacity: 0;
  transform: translate3d(0, 0, 0) translateY(0) scale(1);
  -webkit-transform: translate3d(0, 0, 0) translateY(0) scale(1);
}

.spider-masonry article:nth-of-type(3n) {
  margin-right: 0;
}

.spider-masonry a {
  color: #555;
}

.spider-masonry a:hover {
  color: #e4a72f;
}

.spider-masonry h3 {
  font-size: 16px;
  line-height: 26px;
  margin: 0;
}

.spider-masonry .post-date {
  font-family: 'pier_sansbold', sans-serif;
  font-weight: normal;
  text-transform: uppercase;
  letter-spacing: 2px;
  font-size: 8px;
  display: block;
  line-height: 18px;
  margin: 0 0 12px 0;
}

.spider-masonry .featured-image {
  margin: 0 0 12px 0;
}

.spider-masonry .featured-image a {
  display: block;
  line-height: 0;
  overflow: hidden;
}

.spider-masonry .featured-image a img {
  transition: all 1.2s ease;
  transform: translate3d(0, 0, 0) scale(1);
  -webkit-transform: translate3d(0, 0, 0) scale(1);
}

.spider-masonry .featured-image a:hover img {
  transform: translate3d(0, 0, 0) scale(1.03);
  -webkit-transform: translate3d(0, 0, 0) scale(1.03);
}

/* Pagination */

.pager {
  margin: 0 16px;
  padding: 0;
  text-align: center;
  width: 100%;
  clear: both;
}

.pager ul {
  list-style: none;
}

ul>li:before {
  content: none !important;
}

nav>ul.pager__items {
  margin: 20px !important;
}

.pager li {
  list-style-type: none;
  display: inline-block;
  min-width: 44px;
  height: 44px;
  line-height: 40px;
  text-align: center;
  border: 2px solid #e4a72f;
  font-family: 'pier_sansbold', sans-serif;
  font-weight: normal;
  vertical-align: top;
  position: relative;
  border-radius: 2px;
}

.pager li a {
  display: inline-block;
  width: 100%;
  height: 100%;
  position: absolute;
  top: 0;
  left: 0;
}

.pager li a:hover {
  background: #e4a72f;
  color: #fafafa;
}

.pager li.pager-first a,
.pager li.pager-previous a,
.pager li.pager-next a,
.pager li.pager-last a {
  font-size: 0;
}

.pager li.pager-first a:before,
.pager li.pager-previous a:before,
.pager li.pager-next a:before,
.pager li.pager-last a:before {
  font-family: 'font-awesome';
  speak: none !important;
  font-style: normal;
  font-weight: normal;
  font-variant: normal;
  text-transform: none;
  line-height: 1;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  font-size: 14px;
  display: block;
  height: 100%;
  width: 100%;
  position: absolute;
  top: 0;
  left: 0;
  line-height: 38px;
}

.pager li.pager-first a:before {
  content: "\f100";
}

.pager li.pager-previous a:before {
  content: "\f104";
}

.pager li.pager-next a:before {
  content: "\f105";
}

.pager li.pager-last a:before {
  content: "\f101";
}

.layout-main-container {
  display: flex;
  flex-direction: row;
  align-items: flex-start;
}

.layout-content {
  flex: 1;
  padding-right: 20px;
  /* Optional: adds spacing between content and sidebar */
}

.layout-sidebar-second {
  width: 300px;
  padding-bottom: 20px;
  /* Set a fixed width for the sidebar */
}

@media (max-width: 768px) {
  .layout-main-container {
    flex-direction: column;
  }

  .layout-sidebar-second,
  .layout-content {
    width: 100%;
    /* Make each item take the full width */
    padding-right: 0;
    /* Remove extra padding */
  }
}
