/*
	Theme Name: Stepping Stone
	Theme URI: http://steppingstonemedia.co.uk
	Description: Stepping Stone Wordpress Theme
	Version: 1.0.0
	Author: Harry Atkins (@harryjatkins)
	Author URI: http://harryatkins.me
*/

/*------------------------------------*\
    MAIN
\*------------------------------------*/

html {
  box-sizing: border-box;
}

*,
*:before,
*:after {
  box-sizing: inherit;
}

img {
  max-width: 100%;
  height: auto;
  width: auto\9;
  /* ie8 */
}

.cf:before,
.cf:after {
  content: " ";
  /* 1 */
  display: table;
  /* 2 */
}

.cf:after {
  clear: both;
}

.text-l {
  text-align: left;
}

.text-c {
  text-align: center;
}

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

.float-l {
  float: left;
}

.float-r {
  float: right;
}

/* General Styles */
html {
  -webkit-transition: left 200ms ease;
  transition: left 200ms ease;
  left: 0;
  position: relative;
}

html.open {
  left: 200px;
  overflow: hidden;
}
html.open body {
  overflow: hidden;
}
html.open .main-header {
  left: calc(50% + 200px);
}

body {
  background: #fff;
  font-family: "Lato", sans-serif;
  -webkit-font-smoothing: antialiased;
  font-smoothing: antialiased;
  position: relative;
}

b,
strong {
  font-weight: bold;
}
em,
i {
  font-style: italic;
}
u {
  text-decoration: underline;
}

.non-active-link:hover {
  cursor: default !important;
}

#container {
  background: #fff;
  max-width: 1200px;
  margin: 0 auto 60px auto;
  padding: 235px 0 35px 0;
  text-align: center;
}

html.touch #container {
  padding: 230px 0 35px 0;
}

.main-header {
  position: fixed;
  top: 0;
  left: 50%;
  padding-top: 25px;
  -webkit-transform: translateX(-50%);
  -ms-transform: translateX(-50%);
  transform: translateX(-50%);
  width: 100%;
  z-index: 200;
  background: rgba(255, 255, 255, 1);
  -webkit-transition: left 200ms ease;
  transition: left 200ms ease;
}
.main-header .header-inner {
  max-width: 1200px;
  margin: 0 auto;
  text-align: center;
}
.main-header .logo {
  display: inline-block;
  -webkit-transition: all 300ms ease;
  transition: all 300ms ease;
  position: relative;
  left: 0;
  max-width: 98px;
}
@media all and (max-width: 580px) {
  .main-header .logo {
    left: 0;
  }
}
.main-header .logo .small-logo {
  display: none;
}
.main-header .logo img {
  width: 100%;
}

/*
html.touch .main-header {
  position: static;
   -webkit-transform: translateX(0%);
      -ms-transform: translateX(0%);
          transform: translateX(0%);
}
*/

.responsive-menu-button .close-icon {
  display: none;
}
.responsive-menu-button.clicked .menu-icon {
  display: none;
}
.responsive-menu-button.clicked .close-icon {
  display: inline-block;
}

.main-nav {
  max-width: 900px;
  margin: 25px auto 5px auto;
}
@media (min-width: 581px) {
  .main-nav ul {
    display: block !important;
  }
}
@media (max-width: 580px) {
  .main-nav ul {
    display: none;
  }
}
.main-nav li {
  display: inline-block;
  width: 20%;
  margin: 0;
  -webkit-transition: margin 200ms ease;
  transition: margin 200ms ease;
}
@media (max-width: 890px) {
  .main-nav li {
  }
}
@media (max-width: 768px) {
  .main-nav li {
    margin: 0;
  }
}
@media (max-width: 580px) {
  .main-nav li {
    margin: 0;
    display: block;
    width: 100%;
  }
}
.main-nav li:first-child {
  margin-left: 0;
}
.main-nav li:last-child {
  margin-right: 0;
}
.main-nav li a {
  color: #979da6;
  text-decoration: none;
  text-transform: uppercase;
  font-size: 15px;
  display: block;
  padding: 20px 10px;
  -webkit-transition: all 200ms ease;
  transition: all 200ms ease;
}
.main-nav li a:hover {
  color: #042c51;
}
@media (max-width: 580px) {
  .main-nav li a {
    font-size: 12px;
    padding: 20px 5px;
  }
}
.main-nav li.current_page_item a {
  color: #042c51;
}

.main-header.scrolled {
  padding-top: 15px;
  background: rgba(137, 160, 192, 0.9);
  -webkit-transition: all 200ms ease;
  transition: all 200ms ease;
}
.main-header.scrolled .header-inner {
  max-width: 100%;
}
.main-header.scrolled .logo {
  max-width: 60px;
}
.main-header.scrolled .responsive-menu-button {
  position: absolute;
  top: 8px;
  left: 20px;
}
.main-header.scrolled .main-nav {
  margin-top: 15px;
  border-top: none;
}
.main-header.scrolled .main-nav li a {
  color: #052b51;
  padding: 10px;
}
.main-header.scrolled .main-nav li a:hover {
  color: #fff;
}
.main-header.scrolled .main-nav li.current_page_item a {
  color: #fff;
}
.main-header.scrolled .responsive-menu-button svg rect {
  fill: #052b51;
}
.main-header.scrolled .responsive-menu-button:hover svg rect {
  fill: #ffffff;
}

h1 {
  font-size: 28px;
  color: #393938;
  font-weight: bold;
  text-transform: uppercase;
  margin-bottom: 25px;
}

h2 {
  color: #636363;
  font-size: 18px;
  line-height: 1.5;
}

.main-content {
  max-width: 1100px;
  margin: 0 auto;
}
@media (max-width: 980px) {
  .main-content {
    padding: 0 30px;
  }
}
@media (max-width: 890px) {
  .main-content {
    padding: 0 10px;
  }
}
.main-content h2 {
  max-width: 580px;
  margin: 0 auto;
}

.about-content {
  padding: 0 90px;
  margin: 0 auto;
}
@media (max-width: 980px) {
  .about-content {
    padding: 0 30px;
  }
}
@media (max-width: 890px) {
  .about-content {
    padding: 0 10px;
  }
}
.about-content h2 {
  max-width: 580px;
  margin: 0 auto;
}

.grid {
  margin: 0px 0 20px 0;
  padding: 0 20px 0 0;
}
@media all and (max-width: 580px) {
  .grid {
    padding: 0;
  }
}
.clients-grid {
  padding: 0 !important;
}
.home-page-items {
  padding: 0;
}
.grid.margin-top {
  margin: 60px 0 80px 0;
}
.grid .block {
  width: 49.5%;
  display: block;
  float: left;
  background: #042c51;
  color: white;
  height: 0;
  padding-bottom: calc(55% / 2);
  -webkit-transition: all 200ms ease;
  transition: all 200ms ease;
  position: relative;
  overflow: hidden;
}
.grid .block:nth-child(n) {
  margin-bottom: 1%;
  margin-right: 1%;
}
.grid .block:nth-child(2n) {
  margin-right: 0;
  margin-bottom: 0;
}
@media (max-width: 580px) {
  .grid .block {
    width: 100%;
    margin-bottom: 10px !important;
    padding-bottom: 55%;
  }
  .grid .block:nth-child(n) {
    margin-bottom: 0%;
    margin-right: 0%;
  }
  .grid .block:nth-child(1n) {
    margin-right: 0;
    margin-bottom: 0;
  }
}
.grid .block .block-link {
  display: block;
  width: 100%;
  height: 100%;
  position: absolute;
  top: 0;
  right: 0;
  bottom: 0;
  left: 0;
  color: white;
}
.grid .block .block-link .icon-play {
  position: absolute;
  top: 50%;
  left: 50%;
  -webkit-transform: translate(-50%, -50%);
  -moz-transform: translate(-50%, -50%);
  transform: translate(-50%, -50%);
  z-index: 20;
  width: 54px;
  height: 54px;
  margin-top: 0;
  -webkit-transition: all 200ms ease;
  -moz-transition: all 200ms ease;
  transition: all 200ms ease;
  opacity: 0;
  visibility: hidden;
  padding-bottom: 0;
}
.grid .block .block-link a {
  display: block;
}
.grid .block .block-link:hover .icon-play {
  opacity: 1;
  visibility: visible;
  -webkit-transition: all 400ms 400ms ease;
  -moz-transition: all 400ms 400ms ease;
  transition: all 400ms 400ms ease;
}
.grid .block .bg {
  position: absolute;
  top: 100%;
  right: 0;
  bottom: 0;
  left: 0;
  height: 100%;
  background: rgba(4, 44, 81, 0.9);
  z-index: 2;
  opacity: 0;
  -webkit-transition: all 350ms ease 0ms;
  transition: all 350ms ease 0ms;
}
.grid .block .link-content {
  text-align: left;
  position: absolute;
  bottom: 0px;
  left: 30px;
  color: white;
  z-index: 4;
  opacity: 0;
  visibility: hidden;
  width: calc(100% - 60px);
  -webkit-transition: all 400ms ease 300ms;
  transition: all 400ms ease 300ms;
}
.home-page-items .block .link-content {
  width: calc(100% - 40px);
  left: 20px;
}
.grid .block .link-content p {
  width: calc(100% - 40px);
  font-size: 0.9em;
  line-height: 1.5;
}
.grid .block .link-title {
  font-size: 1.6em;
  font-weight: bold;
  margin-bottom: 10px;
  display: inline-block;
}
.home-page-items .block .link-title {
  font-size: 1.4em;
  margin-bottom: 0;
}
@media all and (max-width: 1200px) {
  .home-page-items .block .link-title {
    font-size: 2vw;
  }
  .home-page-items .block .link-content p {
    font-size: 1vw;
  }
}
@media all and (max-width: 580px) {
  .home-page-items .block .link-title {
    font-size: 4vw;
  }
  .home-page-items .block .link-content p {
    font-size: 3vw;
  }
}
.grid .block .block-link.hovered .link-content {
  -webkit-transition: all 400ms ease 0ms;
  transition: all 400ms ease 0ms;
}
.grid .block .block-link:hover .bg {
  top: 0;
  opacity: 1;
}
.grid .block .block-link:hover .link-content {
  opacity: 1;
  bottom: 20px;
  visibility: visible;
}

#item-container {
  padding: 0;
  position: relative;
}
#item-container .item {
  width: calc((100% - 30px) / 3);
  float: left;
  margin-bottom: 15px;
  text-align: center;
  height: 270px;
  background-size: cover !important;
  overflow: hidden;
}
#item-container .item a {
  display: block;
  width: 100%;
  height: 100%;
  position: relative;
  z-index: 2;
}
#item-container .item a:hover .bg {
  top: 0;
  opacity: 1;
}
#item-container .item .bg {
  position: absolute;
  top: 100%;
  right: 0;
  bottom: 0;
  left: 0;
  opacity: 0;
  -webkit-transition: all 200ms ease 0ms;
  transition: all 200ms ease 0ms;
  /* background: rgba(4, 44, 81, 0.9); */
  background: rgba(0, 0, 0, 0.9);
}
#item-container .item .link-content {
  text-align: left;
  position: absolute;
  top: 50%;
  left: 50%;
  -webkit-transform: translate(-50%, -50%);
  -moz-transform: translate(-50%, -50%);
  transform: translate(-50%, -50%);
  color: white;
  text-transform: uppercase;
  letter-spacing: 2px;
  border: 1px solid white;
  display: inline-block;
  z-index: 4;
  font-size: 1.8em;
  font-weight: bold;
  line-height: 1;
  padding: 10px 15px;
  -webkit-transition: all 400ms ease 300ms;
  transition: all 400ms ease 300ms;
}
#item-container .item .link-text {
  position: absolute;
  text-align: center;
  position: absolute;
  top: 150%;
  left: 50%;
  color: white;
  z-index: 4;
  width: 90%;
  padding: 20px;
  -webkit-transform: translate(-50%, -50%);
  -moz-transform: translate(-50%, -50%);
  transform: translate(-50%, -50%);
  -webkit-transition: all 400ms ease 300ms;
  -moz-transition: all 400ms ease 300ms;
  transition: all 400ms ease 300ms;
  line-height: 1.5;
  font-size: 1em;
}
#item-container .item .link-content p {
  width: calc(100% - 40px);
  font-size: 0.9em;
  line-height: 1.5;
}
#item-container .item:hover .link-content {
  top: 0;
  -webkit-transform: translate(-50%, -100%);
  -moz-transform: translate(-50%, -100%);
  transform: translate(-50%, -100%);
}
#item-container .item:hover .link-text {
  top: 50%;
}
#item-container .item:hover {
}
#item-container .item.tall {
  height: 555px;
}
#item-container .item.wide {
  width: calc(((100% - 9px) / 3) * 2);
}
@media all and (max-width: 768px) {
  #item-container .item {
    width: calc((100% - 15px) / 2) !important;
  }
  #item-container .item.tall {
    height: 270px;
  }
}
@media all and (max-width: 480px) {
  #item-container .item {
    width: 100% !important;
  }
}

@-moz-document url-prefix() {
  .grid .block .block-link .link-content {
    transition: all 400ms ease 0ms;
  }

  .grid .block .block-link.hovered .link-content {
    transition: all 400ms ease 300ms;
  }
}

.block-image {
  display: block;
  width: 100%;
}

footer {
  border-top: 1px solid #979da6;
  max-width: 980px;
  margin: 60px auto 0 auto;
  padding: 80px 20px 0 20px;
  color: #393938;
  font-size: 14px;
  font-weight: bold;
}
footer p {
  text-transform: uppercase;
  margin-bottom: 15px;
}
footer a {
  color: #393938;
  text-decoration: none;
}
footer a:hover {
  color: #042c51;
}
.footer-contact {
  padding: 20px 0 0 0;
}
@media all and (max-width: 580px) {
  footer {
    padding: 80px 20px 0 20px;
  }
}

.about-footer {
  max-width: 1020px;
}

.footer-social {
  margin-top: 25px;
}
.footer-social li {
  display: inline-block;
  margin: 0 5px;
}
.footer-social li a {
  display: block;
  color: #052b51;
  -webkit-transition: all 200ms ease-out;
  transition: all 200ms ease-out;
  opacity: 1;
}
.footer-social li a:hover {
  color: #8ba1bf;
}

.icon {
  display: inline-block;
  -webkit-transition: all 200ms ease;
  transition: all 200ms ease;
  width: 30px;
  margin-top: 20px;
  padding-bottom: 20px;
}
.icon rect {
  fill: #979da6;
}
.icon:hover rect {
  fill: #042c51;
}

.footer-icon {
  display: inline-block;
  width: 1.7em;
  height: 1.9em;
  fill: currentColor;
}

.responsive-menu-button,
#responsive-nav {
  display: none;
}
@media (max-width: 580px) {
  .responsive-menu-button,
  #responsive-nav {
    display: block;
  }
}

.close-menu .icon {
  padding-bottom: 0;
  position: absolute;
  top: -5px;
  right: 10px;
}

#responsive-nav {
  position: fixed;
  top: 0;
  right: 100%;
  z-index: 300;
  width: 200px;
  background: #f5f5f5;
  height: 100%;
  padding-top: 50px;
  -webkit-transition: right 200ms ease;
  transition: right 200ms ease;
  text-align: center;
}
#responsive-nav.open {
  right: calc(100% - 200px);
}
#responsive-nav li a {
  color: #979da6;
  text-decoration: none;
  text-transform: uppercase;
  font-size: 15px;
  display: block;
  padding: 20px 10px;
  -webkit-transition: all 200ms ease;
  transition: all 200ms ease;
}
#responsive-nav li a:hover {
  color: #042c51;
}
#responsive-nav li.current_page_item a {
  color: #042c51;
}

.main-left {
  width: 75%;
  float: left;
}
@media (max-width: 580px) {
  .main-left {
    width: 100%;
  }
}
.main-left article p,
.single-page-container article p {
  margin-bottom: 15px;
}
.main-left article p a {
  color: #8ba1bf;
}
.main-left article p a:hover {
  color: #999;
}

article iframe {
  margin: 30px 0;
}

.main-right {
  width: 25%;
  float: left;
}
@media (max-width: 580px) {
  .main-right {
    width: 100%;
    margin-bottom: 30px;
  }
}

form.search {
  position: relative;
  margin-bottom: 20px;
}
form.search input {
  outline: 0;
  border: 0;
  padding: 15px 0 15px 45px;
  -webkit-appearance: none;
  -moz-appearance: none;
  appearance: none;
  border-top: 1px solid #c3c1c1;
  border-bottom: 1px solid #c3c1c1;
  width: 100%;
}
form.search button {
  outline: 0;
  border: 0;
  -webkit-appearance: none;
  -moz-appearance: none;
  appearance: none;
  background: none;
  cursor: pointer;
  position: absolute;
  top: 50%;
  -webkit-transform: translateY(-50%);
  -ms-transform: translateY(-50%);
  transform: translateY(-50%);
  left: 0;
}

ul li.current_menu_item a,
ul li a:hover,
ul li a.active {
  color: #042c51;
}
ul li a {
  color: #c3c1c1;
  text-decoration: none;
  display: block;
  padding: 5px;
}

@media all and (max-width: 768px) {
  .work-container .block {
    width: 100%;
    margin-bottom: 1% !important;
    padding-bottom: 55%;
  }
}

.two-col {
  width: 49%;
  display: block;
  float: left;
}
.two-col:nth-child(n) {
  margin-bottom: 2%;
  margin-right: 2%;
}
.two-col:nth-child(2n) {
  margin-right: 0;
  margin-bottom: 0;
}
@media (max-width: 580px) {
  .two-col {
    width: 100%;
    margin-bottom: 50px !important;
  }
  .two-col:nth-child(n) {
    margin-bottom: 0;
    margin-right: 0;
  }
  .two-col:nth-child(1n) {
    margin-right: 0;
    margin-bottom: 0;
  }
}

.three-col {
  width: 32%;
  display: block;
  float: left;
}
.three-col:nth-child(n) {
  margin-bottom: 2%;
  margin-right: 2%;
}
.three-col:nth-child(3n) {
  margin-right: 0;
  margin-bottom: 0;
}
@media (max-width: 580px) {
  .three-col {
    width: 49%;
    margin-bottom: 50px !important;
  }
  .three-col:nth-child(n) {
    margin-bottom: 2%;
    margin-right: 2%;
  }
  .three-col:nth-child(3n) {
    margin-right: 0;
    margin-bottom: 0;
  }
}

.four-col {
  width: 24%;
  display: block;
  float: left;
}
.four-col:nth-child(n) {
  margin-bottom: 1%;
  margin-right: 1%;
}
.four-col:nth-child(4n) {
  margin-right: 0;
}
@media (max-width: 580px) {
  .four-col {
    width: 49%;
  }
  .four-col:nth-child(n) {
    margin-bottom: 1%;
    margin-right: 1%;
  }
  .four-col:nth-child(2n) {
    margin-right: 0;
  }
}

h3 {
  font-size: 23px;
  font-weight: bold;
  margin-bottom: 20px;
}

.team-container {
  margin: 0 0 40px 0;
  padding-right: 0;
}
.team-container .two-col {
  text-align: left;
  color: #636363;
  font-size: 14px;
  line-height: 1.7;
  margin-bottom: 40px;
}
.team-container .team-image {
  width: 100%;
  display: block;
}
.team-container h3 {
  color: #393938;
}

.post-featured-image {
  margin-bottom: 30px;
}
.post-featured-image img {
  display: block;
  width: 100%;
}
article.post,
article.work_item {
  padding-right: 30px;
  margin-bottom: 50px;
}
article.post p,
article.work_item p {
  line-height: 1.7;
  font-weight: 300;
}
article.post .post-meta,
article.work_item .post-meta {
  color: #999;
  margin-bottom: 30px;
}
p a {
  color: #999;
  text-decoration: none;
}
p a:hover {
  color: #103458;
}
.hero-image {
  background-size: cover !important;
  height: 0;
  display: block;
  padding-bottom: 45%;
  margin-left: 0;
  margin-right: 0;
  margin-bottom: 50px;
}
@media all and (max-width: 980px) {
  .hero-image {
    margin-left: -30px;
    margin-right: -30px;
  }
}
@media all and (max-width: 890px) {
  .hero-image {
    margin-left: -10px;
    margin-right: -10px;
  }
}
#map-canvas {
  margin-top: 50px;
  height: 400px;
}
#map-canvas img {
  max-width: none;
}

p.address {
  margin: 30px 0;
  color: #757575;
  font-weight: bold;
  line-height: 2;
}
clients-grid {
  padding: 0;
}
.clients-grid .client-link {
  display: block;
  float: left;
  width: calc((100% - 4%) / 5);
  margin-right: 1%;
  margin-bottom: 1%;
  height: 0;
  padding-bottom: 20%;
  background: #042a51;
  opacity: 1;
  -webkit-transition: all 200ms ease;
  -moz-transition: all 200ms ease;
  transition: all 200ms ease;
  position: relative;
}
.clients-grid .client-link img {
  display: block;
  position: absolute;
  top: 50%;
  left: 50%;
  max-height: 150px;
  max-width: 150px;
  -webkit-transform: translate(-50%, -50%);
  -moz-transform: translate(-50%, -50%);
  transform: translate(-50%, -50%);
  z-index: 2;
}
.clients-grid .client-link img.hover-logo {
  opacity: 0;
  z-index: 1;
}
.clients-grid .client-link:hover {
  background: none;
  cursor: default;
}
.clients-grid .client-link:hover img.hover-logo {
  z-index: 2;
  opacity: 1;
}
.clients-grid .client-link:hover .default-logo {
  z-index: 1;
  opacity: 0;
}
.clients-grid .client-link:nth-child(5n) {
  margin-right: 0;
}
@media all and (max-width: 850px) {
  .clients-grid .client-link {
    width: calc((100% - 2%) / 3);
    margin-right: 1% !important;
    padding-bottom: 35%;
  }
  .clients-grid .client-link:nth-child(3n) {
    margin-right: 0 !important;
  }
}
@media all and (max-width: 768px) {
  .clients-grid .client-link img {
    max-width: 120px;
    max-height: 120px;
  }
}
@media all and (max-width: 550px) {
  .clients-grid .client-link {
    width: 100%;
    margin-right: 0% !important;
    padding-bottom: 60%;
  }
}

.post-password-required {
  position: fixed;
  top: 0;
  right: 0;
  bottom: 0;
  left: 0;
  background: rgba(0, 0, 0, 0.9);
  z-index: 205;
}
.post-password-form {
  position: fixed;
  top: 50%;
  left: 50%;
  -webkit-transform: translate(-50%, -50%);
  -moz-transform: translate(-50%, -50%);
  transform: translate(-50%, -50%);
  z-index: 210;
  background: white;
  padding: 50px;
  width: 100%;
  max-width: 480px;
}

.post-password-form p:nth-child(2) {
  text-align: left;
  margin-top: 10px;
}
.post-password-form input[type="password"] {
  margin: 10px 0;
  padding: 10px;
  width: 100%;
}

.post-password-form input[type="submit"] {
  outline: 0;
  border: 0;
  background: #042a51;
  padding: 10px;
  -webkit-border-radius: 2px;
  -moz-border-radius: 2px;
  border-radius: 2px;
  color: white;
  width: 150px;
  cursor: pointer;
}
.post-password-form input[type="submit"]:hover {
  background: #8ba1bf;
}

.page-inner {
  margin: 20px 0 50px 0;
}

.about-blocks .item:before {
  content: "";
  display: block;
  position: absolute;
  top: 0;
  right: 0;
  bottom: 0;
  left: 0;
  background: rgba(3, 3, 3, 0.5);
  z-index: 1;
  -webkit-transition: all 350ms ease 350ms;
  -moz-transition: all 350ms ease 350ms;
  transition: all 350ms ease 350ms;
}

.about-blocks .item:after {
  content: "";
  display: block;
  position: absolute;
  top: 100%;
  right: 0;
  bottom: 0;
  left: 0;
  /* background: rgba(137, 160, 192, 0.5); */
  background: #89a0c0;
  z-index: 1;
  -webkit-transition: all 350ms ease 350ms;
  -moz-transition: all 350ms ease 350ms;
  transition: all 350ms ease 350ms;
}
.about-blocks .item:hover:after {
  top: 0;
  -webkit-transition: all 350ms ease;
  -moz-transition: all 350ms ease;
  transition: all 350ms ease;
}

.archive-widget .archive-block {
  margin-bottom: 10px;
}
.archive-widget .archive-block .archive-list {
  display: none;
}
.archive-widget .archive-block h2 {
  position: relative;
  display: inline-block;
}
.archive-widget .archive-block h2:hover {
  cursor: pointer;
  color: #c3c1c1;
}
.archive-widget .archive-block:first-child .archive-list {
  display: block;
}
.archive-widget .archive-block.current-block h2:hover {
  cursor: default;
  color: #636363;
}
.archive-widget .archive-block.current-block h2:hover .small-triangle {
  opacity: 1;
}
.archive-widget .archive-block h2:hover .small-triangle {
  opacity: 0.5;
  -webkit-transition: all 200ms ease;
  -moz-transition: all 200ms ease;
  transition: all 200ms ease;
}
.archive-widget .archive-block.current-block h2 .small-triangle {
  -webkit-transform: rotate(180deg);
  -moz-transform: rotate(180deg);
  transform: rotate(180deg);
}
.archive-widget .archive-block h2 .small-triangle {
  position: absolute;
  top: 50%;
  margin-top: -1px;
  left: 100%;
  margin-left: 5px;
}

.grow-in {
  -webkit-transform: scale(0);
  -ms-transform: scale(0);
  transform: scale(0);
  -webkit-animation: grow-in 0.8s ease forwards;
  animation: grow-in 0.8s ease forwards;
}
.already-visible-grow {
  -webkit-transform: scale(1);
  -ms-transform: scale(1);
  transform: scale(1);
  -webkit-animation: none;
  animation: none;
}

@-webkit-keyframes grow-in {
  to {
    -webkit-transform: scale(1);
    transform: scale(1);
  }
}

@keyframes grow-in {
  to {
    -webkit-transform: scale(1);
    transform: scale(1);
  }
}

.member-image {
  width: 100%;
  height: 0;
  padding-bottom: 100%;
  background-size: cover !important;
}
.member-rollover {
  position: relative;
  overflow: hidden;
  display: block;
}
.member-rollover .role {
  position: absolute;
  top: calc(100% - 20px);
  left: 50%;
  -webkit-transform: translate(-50%, -100%);
  -moz-transform: translate(-50%, -100%);
  transform: translate(-50%, -100%);
  opacity: 0;
  color: white;
  z-index: 4;
  -webkit-transition: all 200ms ease;
  -moz-transition: all 200ms ease;
  transition: all 200ms ease;
  text-align: center;
  width: 90%;
}
.member-rollover .role h3 {
  color: white;
  text-transform: uppercase;
  margin-bottom: 6px;
  font-size: 21px;
}
.member-rollover .role span {
  display: block;
  margin-bottom: 20px;
  font-size: 14px;
}
.member-rollover .role a {
  color: white;
  display: inline-block;
  margin: 0 5px;
}
.member-rollover .role a .footer-icon {
  width: 1.8em;
  height: 1.9em;
}
.member-rollover .role a:hover {
  color: #979da6;
}
.member-rollover:after {
  content: "";
  position: absolute;
  top: 100%;
  right: 0;
  bottom: 0;
  left: 0;
  background: rgba(4, 42, 81, 0.8);
  -webkit-transition: all 200ms ease;
  -moz-transition: all 200ms ease;
  transition: all 200ms ease;
}
.member-rollover:hover:after {
  top: 0;
}
.member-rollover:hover .role {
  opacity: 1;
  -webkit-transition: all 200ms ease 200ms;
  -moz-transition: all 200ms ease 200ms;
  transition: all 200ms ease 200ms;
}

#fancybox-title-float-left,
#fancybox-title-float-right,
#fancybox-title-float-main {
  background: none !important;
}
#fancybox-title-float-main {
  background: rgba(0, 0, 0, 0.8) !important;
  line-height: 0 !important;
  display: block !important;
  padding: 20px !important;
}
.prev-next-posts {
  margin-bottom: 0;
  display: block;
  width: 100%;
}
.prev-next-posts a {
  text-decoration: none;
  background: #042a51;
  color: white;
  padding: 10px;
  margin: 0 10px;
  display: inline-block;
}
.prev-next-posts .prev-posts-link,
.prev-next-posts .next-posts-link {
  display: inline-block;
}
.prev-next-posts a:hover {
  background: #073d75;
}

@media all and (max-width: 580px) {
  .fancybox-title-float {
    position: static !important;
    height: auto;
    margin-top: 5px;
  }
  #fancybox-title-float-wrap td {
    white-space: normal !important;
    line-height: 29px !important;
  }
  #fancybox-title-float-left,
  #fancybox-title-float-right {
    padding: 0 !important;
  }
}

/*------------------------------------*\
    WORDPRESS CORE
\*------------------------------------*/

.alignnone {
  margin: 5px 20px 20px 0;
}
.aligncenter,
div.aligncenter {
  display: block;
  margin: 5px auto 5px auto;
}
.alignright {
  float: right;
  margin: 5px 0 20px 20px;
}
.alignleft {
  float: left;
  margin: 5px 20px 20px 0;
}
a img.alignright {
  float: right;
  margin: 5px 0 20px 20px;
}
a img.alignnone {
  margin: 5px 20px 20px 0;
}
a img.alignleft {
  float: left;
  margin: 5px 20px 20px 0;
}
a img.aligncenter {
  display: block;
  margin-left: auto;
  margin-right: auto;
}
.wp-caption {
  background: #fff;
  border: 1px solid #f0f0f0;
  max-width: 96%;
  padding: 5px 3px 10px;
  text-align: center;
}
.wp-caption.alignnone {
  margin: 5px 20px 20px 0;
}
.wp-caption.alignleft {
  margin: 5px 20px 20px 0;
}
.wp-caption.alignright {
  margin: 5px 0 20px 20px;
}
.wp-caption img {
  border: 0 none;
  height: auto;
  margin: 0;
  max-width: 98.5%;
  padding: 0;
  width: auto;
}
.wp-caption .wp-caption-text,
.gallery-caption {
  font-size: 11px;
  line-height: 17px;
  margin: 0;
  padding: 0 4px 5px;
}
.sticky {
}
.bypostauthor {
}

.privacy-links {
  margin-top: 40px;
  float: right;
  color: #9b9b9b;
}
@media all and (max-width: 580px) {
  .privacy-links {
    float: none;
  }
}

.privacy-links a {
  color: #9b9b9b;
}

/*------------------------------------*\
    PRINT
\*------------------------------------*/

@media print {
  * {
    background: transparent !important;
    color: #000 !important;
    box-shadow: none !important;
    text-shadow: none !important;
  }
  a,
  a:visited {
    text-decoration: underline;
  }
  a[href]:after {
    content: " (" attr(href) ")";
  }
  abbr[title]:after {
    content: " (" attr(title) ")";
  }
  .ir a:after,
  a[href^="javascript:"]:after,
  a[href^="#"]:after {
    content: "";
  }
  pre,
  blockquote {
    border: 1px solid #999;
    page-break-inside: avoid;
  }
  thead {
    display: table-header-group;
  }
  tr,
  img {
    page-break-inside: avoid;
  }
  img {
    max-width: 100% !important;
  }
  @page {
    margin: 0.5cm;
  }
  p,
  h2,
  h3 {
    orphans: 3;
    widows: 3;
  }
  h2,
  h3 {
    page-break-after: avoid;
  }
}
