/* Global styles */
:root {
  --serif: Georgia, 'Times New Roman', Times, serif;
  --sans-serif: 'Helvetica Neue', Helvetica, Arial, sans-serif;
}

::placeholder { color: darkgray; opacity: 1; }
::-ms-input-placeholder { color: darkgray; opacity: 1; }
::-webkit-input-placeholder { color: darkgray; opacity: 1; }
* { -webkit-overflow-scrolling: touch; }

body { font-size: 15px; line-height: calc(26 / 15); }
/* body, section.non-parallax, footer { background: #181532; } */
body, section.non-parallax, footer { background: #171433; }
section.non-parallax.inner { background: #31356c; padding-bottom: 32px; }

a:not([href]) { color: inherit; cursor: inherit; text-decoration: inherit; }
a.skiplink { background: #0a0a0a; color: #fefefe; font-size: 16px; font-weight: 600; left: 0; opacity: 1; padding: 12px 16px; position: fixed; text-shadow: 2px 1px 3px rgba(0,0,0,1); top: -1000px; z-index: 10000; }
a.skiplink:focus { top: 0; }
b, strong { font-weight: 600; }

h1 { line-height: calc(65.796 / 68); text-transform: uppercase; }
h2 { line-height: calc(48.262 / 40); margin-bottom: 12px; }
h3 { line-height: calc(40 / 30); }
h4 { line-height: calc(40 / 22); }
h5 { line-height: calc(40 / 20); }
h2, h3, h4, h5 { text-transform: none; }
h3, h4, h5 { margin-bottom: 10px; }

/* Service headings */
/* h1 { font-size: 18px; line-height: calc(48.262 / 18); text-transform: uppercase; }
h2 { font-size: 28px; line-height: calc(33.6 / 28); }
h3 { font-size: 45px; line-height: calc(106.262 / 45); }
h4 { font-size: 36px; line-height: calc(65.796 / 36); }
h2, h3, h4 { text-transform: capitalize; } */

h1 > b, h1 > strong, h2 > b, h2 > strong, h3 > b, h3 > strong, h4 > b, h4 > strong { font-weight: 500; }
iframe { border: 0.0625rem solid #554832; display: block; margin: 1rem auto; max-width: 100%; }
label { line-height: normal; }

.callout>*:nth-last-child(2) { margin-bottom: 0; }
.callout .button { margin: 0; }
.clearfix::after, .clearfix::before { content: ''; display: table; }
.clearfix::after { clear: both; }
.float-group { margin: 1.5rem auto; }
.float-group::after { clear: both; content: ''; display: table; }
.float-left { margin: 10px 24px 10px 0; }
.float-right { margin: 10px 0 10px 24px; }
.hide-display { height: 0; opacity: 0; overflow: hidden; position: absolute; white-space: nowrap; width: 0; }
.icons, .popover { display: none !important; }
.no-lrm { margin-left: 0 !important; margin-right: 0 !important; }
.nopad { padding: 0 !important; }
.radius, .rounded { border-radius: 0.313rem; }
.reverse-deco { text-decoration: none; }
.reverse-deco:focus, .reverse-deco:hover { text-decoration: underline; }
.sticky { z-index: 2; }
.text-black { color: #0a0a0a; }
.text-lower { text-transform: lowercase; }
.text-title { text-transform: capitalize; }
.text-upper { text-transform: uppercase; }
.text-yellow { color: #febe54; }
/* [aria-hidden="true"] { visibility: hidden !important; } */
.rc-anchor-invisible-text .rc-anchor-pt a:link { display: inline !important; }
/* .rc-anchor-normal-footer[aria-hidden="true"] { visibility: hidden !important; } */

.system-message-container { font-family: 'Fira Code', 'Courier New', Courier, monospace; font-size: 1rem; line-height: normal; }
.system-message-container .callout { color: #0a0a0a; }
.system-message-header { font-family: 'Open Sans', var(--sans-serif);
  font-size: 2rem; font-weight: bold; line-height: normal; margin: 0 0 1rem; text-transform: uppercase; }
.system-message-container p { line-height: normal; margin: 0.625rem 0; padding: 0 0 0 1.5rem; position: relative; text-indent: 0; }
.system-message-container p::before { color: #0a0a0a; content: '•'; direction: rtl; display: inline-block; font-weight: bold; left: 0;
  margin: 0; position: absolute; text-align: right; top: 0; width: 0.75rem; }
.system-message-container p:last-of-type { margin: 0; }

.visually-hidden, .sr-only, .visually-hidden-focusable:not(:focus):not(:focus-within) { border: 0 !important;
  clip: rect(0, 0, 0, 0) !important; height: 1px !important; margin: -1px !important; overflow: hidden !important;
  padding: 0 !important; position: absolute !important; white-space: nowrap !important; width: 1px !important; }
/* End global styles */

/* Masthead */
.masthead, .masthead-content { position: relative; }
.masthead { background: #181532;
  background: linear-gradient(90deg, rgba(24,21,50,1) 0%, rgba(49,53,108,1) 50%, rgba(24,21,50,1) 100%); height: 104px;
  margin-bottom: 6px; padding: 0; }
.masthead::after { background: #ac482c; background: linear-gradient(90deg, rgba(172,72,44,1) 0%, rgba(209,141,96,1) 100%);
  content: ''; display: block; height: 6px; }
/* The left and right padding here mimics the padding that column classes have */
.masthead-content { font-size: 0; height: inherit; margin-left: auto; margin-right: auto; max-width: 75rem; padding: 0 .625rem; }
.masthead-content::before { content: ''; display: inline-block; height: 100%; vertical-align: middle; width: 0; }
.masthead-content > * { display: inline-block; font-size: 1rem; vertical-align: middle; }
.masthead-content > *.logo { margin-right: 40px; position: absolute; top: 13px; width: 142px; }
.logo p { margin: 0; }
.logo img { max-height: 104px; }

.masthead-content > *.topnavarea { margin-left: 189px; width: calc(100% - 189px); }
/* End masthead */

/* Navigation */
/* 226 - 37px left padding => 189px */
.mainmenu { color: #fefefe; font-family: Solway, var(--serif); font-size: 18px;
  line-height: calc(126.006 / 18); text-transform: uppercase; }
/* 87 */
/* rgb(254,180,58) => 87% tint => #febe54 / rgb(254,190,84) */
.mainmenu .menu a { color: #fefefe; }
.mainmenu .menu a:hover { background: inherit; text-decoration: none; }
.mainmenu .menu li.active>a { background: inherit; color: #febe54; }
.mainmenu .menu > li a:focus, .mainmenu .menu > li a:hover, .dropdown.menu>li.is-active>a { color: #febe54; }
.mainmenu .dropdown.menu>li>a { padding: 12px 38px; }
.mainmenu .dropdown.menu>li:nth-last-child(2) { padding-right: 38px; }
.mainmenu .dropdown.menu>li:last-child>a { background: #ac482c; border-radius: 5px; }
.mainmenu .dropdown.menu>li.is-dropdown-submenu-parent>a::after { display: none; }
.mainmenu .dropdown.menu>li>ul.is-dropdown-submenu { left: 50%; top: calc(100% + 24px); transform: translateX(-50%); }

.mainmenu .is-dropdown-submenu {
  background: #ac482c;
  border: 0;
  border-radius: 5px;
  box-shadow: 3.476px 3.476px 10.65px rgba(0,0,0,0.24);
  color: #fefefe;
  font-family: Poppins, var(--sans-serif);
  font-size: 15px;
  font-weight: 600;
  line-height: calc(27 / 15);
  min-width: 250px;
  text-transform: uppercase;
  z-index: 2;
}

.mainmenu .is-dropdown-submenu::before { background: #ac482c; content: ''; display: block; height: 18px; left: 50%;
  position: absolute; top: -3px; transform: rotateZ(45deg) translateX(-50%); width: 18px; z-index: -1; }

/* .mainmenu .is-dropdown-submenu li { z-index: 1; } */
.mainmenu .is-dropdown-submenu li:not(:last-child) { border-bottom: 3px solid #31356c; }
.mainmenu .is-dropdown-submenu li:last-child a { border-bottom-left-radius: 5px; border-bottom-right-radius: 5px; }
.mainmenu .is-dropdown-submenu li:first-child a { border-top-left-radius: 5px; border-top-right-radius: 5px; }
.mainmenu .is-dropdown-submenu a { line-height: 1.2; }
.mainmenu .submenu a:focus, .mainmenu .submenu a:hover, .mainmenu .submenu .is-active>a, .mainmenu .submenu li.active>a {
  background: #31356c; color: #febe54; }
.is-dropdown-submenu .is-dropdown-submenu { margin-top: 0; }
.is-dropdown-submenu .is-dropdown-submenu-parent.opens-right>a::after { display: none; }
.is-dropdown-submenu .is-dropdown-submenu-parent.opens-right.is-active>a::after { border-color: transparent transparent transparent #fefefe; }

.pushy-menu-btn, .pushy-menu-btn:not([href]) { color: #fefefe; cursor: pointer; display: none; font-size: 36px; line-height: 1;
  position: absolute; right: 3%; top: 50%; transform: translateY(-50%); }

a.up-button { background: #171532; border: 1px solid #d18e61; border-radius: 50%; bottom: 10%; bottom: 10vh; color: #fefefe;
  cursor: pointer; box-shadow: 2.498px 2.498px 7.654px 0 rgba(0,0,0,0.24); display: block; height: 84.785px; position: fixed;
  right: 2%px; right: 2vw; transition: background 0.4s; width: 84.785px; z-index: 3; }
a.up-button:focus, a.up-button:hover { background: #d18e61; }
a.up-button::before { background-image: url('../images/up-chevron.svg'); background-position: center; background-repeat: no-repeat;
  background-size: cover; content: ''; display: block; height: 22px; left: 50%; position: absolute; top: 50%;
  transform: translate(-48%, -68%); width: 50px; }
a.up-button::after { bottom: -55px; color: #d18e61; content: 'back to top'; display: block;
  font-family: Solway, var(--serif); font-size: 18px; font-weight: 500; line-height: calc(21.6 / 18);
  position: absolute; text-align: center; text-transform: uppercase; width: 90%; }


/* End navigation */

/* Slideshow */
/* End slideshow */

/* Parallax hero */
/* https://medium.com/@PatrykZabielski/how-to-make-multi-layered-parallax-illustration-with-css-javascript-2b56883c3f27 */
/* max 740px for parallax, maybe… */
/* .parallax__outer { height: 120vh; overflow: hidden; } */
/* .parallax__wrapper, .layer { min-height: 940px; } */
/* .parallax__wrapper { height: 100%; overflow: hidden; position: relative; }
.parallax__wrapper > .layer { background-position: bottom center; background-size: cover; background-repeat: no-repeat; height: 100%; position: fixed; width: 100%;
  z-index: -1; }
.parallax__wrapper > .layer::after { background: #171433; bottom: 0; content: ''; display: block; height: 6%; position: absolute;
  pointer-events: none; width: 100%; z-index: -2; } */

/* reverting to old parallax css */
.parallax__outer { height: 683px; height: 100vh; overflow: hidden; }
.parallax__wrapper, .layer { min-height: 940px; }
.parallax__wrapper { height: 100%; overflow: hidden; position: relative; }
.layer { background-position: bottom center; background-size: auto; background-repeat: no-repeat; height: 100%; position: fixed;
  width: 100%; z-index: -1; }

.non-parallax { /* min-height: 800px; */ /* overflow-y: auto; */ position: relative; z-index: 1; }
.non-parallax.home { margin-top: -270px; margin-top: -35vh; }

.non-parallax { position: relative; z-index: 1; }
.non-parallax.home { margin-top: -216px; margin-top: -34vh; }
.non-parallax.home.servicepage { margin-top: 0; }
/* .non-parallax > .bottom-fan { bottom: 0; display: block; height: auto; left: 0; overflow: hidden; pointer-events: none;
  position: absolute; width: 100%; z-index: -1; } */
/* .non-parallax.inner > .bottom-fan { border-bottom: 25vh solid #c0542d; } */
/* Add a negative margin to the bottom of the fan container and image to prevent the background from peeking through */
/* .non-parallax > .bottom-fan, .non-parallax > .bottom-fan > img { margin-bottom: -0.2%; }
.non-parallax > .bottom-fan { height: 460px; height: 67vh; }
.non-parallax > .bottom-fan.tall-fan { border-bottom: 240vh solid #c0542d; box-sizing: content-box; }
.parallax-fans { bottom: 0; position: absolute; }
.pf3 { bottom: -160px; bottom: -24vh; }
.pf2 { bottom: -40px; bottom: -12vh; } */

/* bottom “fans” */
.fan__wrapper, .fan { background: #c0542d; }
.fan__wrapper { bottom: 0; height: 24vh; left: 0; position: absolute; width: 100%; z-index: -1; }
.fan__wrapper.tallboy { height: 260vh; }
#fanTrigger { position: absolute; top: -300px; }
.fan { -webkit-clip-path: polygon(0 90%, 100% 0, 100% 100%, 0% 100%); clip-path: polygon(0 90%, 100% 0, 100% 100%, 0% 100%); min-height: 50px; left: 0; position: absolute; top: 0; width: 100%; }
.fan__one { height: 100px; top: -92px; }
.fan__two { height: 190px; opacity: 50%; top: -175px; top: 0; }
.fan__three { height: 300px; opacity: 25%; top: -275px; top: 0; }

@media screen and (min-width: 1401px) { .fan__wrapper { bottom: -0.15vh; } }
/* end bottom “fans” */

/* Copyarea */
.copyarea { margin-bottom: 0; margin-top: 0; position: relative; }
.copyarea.home { color: #fefefe; }
.home .copy { font-size: 1rem; justify-content: center; line-height: calc(26 / 16); text-align: center; }
.home h1 { color: #fefefe; font-size: 36px; font-weight: calc(65.796 / 36); text-transform: capitalize; }
.home h2, .checkitout { color: #feb43a; }
.home h2 { font-size: 65px; line-height: calc(67.796 / 65); margin-bottom: 30px; text-transform: uppercase; }
.home p { margin-bottom: 18px; }
.checkitout { font-family: Solway, var(--serif); font-size: 26px; font-weight: 500;
  line-height: calc(44 / 26); /* line-height: calc(26 / 44); */ margin-top: 40px; }
.checkitout a, .copy .checkitout a { color: inherit; font-weight: inherit; }

/* “services at a glance” */
.saag, .saag__services--details { border-radius: 36px; text-align: left; }
.saag { background: #31356c; font-size: 14px; line-height: calc(19 / 14); margin-top: 62px; padding: 32px 40px; }
.saag__services--details { background: #2a2c56; border-top-left-radius: 0; border-top-right-radius: 0; font-size: 15px;
  line-height: calc(26 / 15); /* min-height: 310px; padding: 30px 40px; */ }
.saag__services--details { margin-bottom: -32px; margin-left: -40px; margin-right: -40px; margin-top: 30px; }
.saag__services--details div.columns:nth-child(2) { padding-top: 45px; }
.saag h2, .saag h3 { margin: 0; text-transform: uppercase; }
.saag h2 { color: #fefefe; font-size: 60px; line-height: calc(65.796 / 60); margin-bottom: 12px; }
.saag h3 { color: #feb43a; font-size: 26px; line-height: calc(31.2 / 26); margin-bottom: 36px; }
.saag h4 { color: #fefefe; font-size: 26px; line-height: calc(31.2 / 26); margin: 0; text-transform: uppercase; }
.saag__services--details img {
  border-radius: 3%;
  max-width: 336px;
}
.saag__services--details p { margin-bottom: 8px; }
.saag__services--details p.hot-tip { color: #feb43a; font-family: Solway, var(--serif); }
.saag__services--details > .row { padding: 30px 40px; }
.saag__services--item { align-content: center; align-items: center; border: 0 dashed #feb43a; display: inline-flex;
  font-weight: 600; justify-content: center; justify-items: center; min-height: 140px; position: relative; text-transform: uppercase; }
.saag__services--item { justify-content: start; justify-items: start; }
.saag__services--item > a { align-items: center; color: #fefefe; display: inherit; }
.saag__services:hover > .saag__services--item > a { opacity: 0.25; }
.saag__services:hover > .saag__services--item:hover > a { opacity: 1; }

/* .saag__services--item:first-child, .saag__services--item:nth-child(5n+1) { border-left-width: 0; }
.saag__services--item:nth-child(n+1):nth-child(-n+5) { border-top-width: 0; }
.saag__services--item:nth-last-child(n+1):nth-last-child(-n+5) { border-bottom-width: 0; }
.saag__services--item:nth-child(5n) { border-right-width: 0; }
.saag__services--item > a { align-items: center; color: #fefefe; display: inherit; } */

.saag__services--item picture { margin-right: 5px; }
.saag__services--item img { height: auto; max-width: 69px; min-width: 60px; width: 100%; }

.copyarea.inner {
  background-color: rgba(255,255,255,0.15);
  border-left: 4px solid #ff8a3a;
  border-right: 4px solid #ff8a3a;
  box-shadow: 7px 7px 9.899px 0 rgba(0,0,0,0.25);
  margin-top: 6px;
  /* min-height: 1090px; */
  padding-left: 45px;
  padding-right: 45px;
}

.copyarea.inner::after {
  background: #31356c;
  bottom: -32px;
  box-shadow: 7px 7px 9.899px 0 rgba(0,0,0,0.25);
  content: '';
  display: block;
  height: 32px;
  left: -4px;
  position: absolute;
  width: calc(100% + 8px);
}

.inner .copy {
  background-color: #fefefe;
  box-shadow: 18px 18px 27px 0 rgba(0,0,0,0.22);
  padding-bottom: 26px;
  position: relative;
}

.copy a { font-weight: bold; }

.doc-title {
  background: #181532;
  background: linear-gradient(90deg, rgb(24,21,50) 0%, rgb(49,53,108) 50%, rgb(24,21,50) 100%);
  border-bottom: 20px solid #ac482c;
  border-image: linear-gradient(90deg, #ac482c 0%, #ff8a3c 50%, #ac482c 100%) 1 / 0 0 20px 0 / 0 0 0 0 round;
  color: #fefefe;
  display: inline-flex;
  min-height: 154px;
  margin: 0 -45px;
  align-content: center;
  align-items: center;
  justify-content: center;
  text-align: center;
  width: calc(100% + 90px);
}

.projectpage.category .doc-title { border: 0; border-image: none; }

.doc-title h1 { color: inherit; font-size: 68px; line-height: calc(65.796 / 68); }

.item-image, .project-images { border-bottom: 12px solid #ac482c;
  border-image: linear-gradient(90deg, #ac482c 0%, #ff8a3c 50%, #ac482c 100%) 1 / 0 0 12px 0 / 0 0 0 0 round;
  margin: 0 -56px 0; height: inherit; width: calc(100% + 112px); }
.item-image img { height: auto; width: 100%; }

.intext-image__left, .intext-image__right { margin-bottom: 15px; margin-top: 15px; max-width: 165px; }
.intext-image__left { float: left; margin-right: 15px; }
.intext-image__right { float: right; margin-left: 15px; }

.articletop, .articlebottom { font-size: 0; margin: 30px auto 18px; position: relative; }
.articletop > *, .articlebottom > * { display: block; font-size: 15px; margin: 14px auto 0; width: auto; }
.articletop > .breadcrumb-wrapper, .articlebottom > .breadcrumb-wrapper, .articletop > *:first-child,
  .articlebottom > *:first-child { margin: 0; }

.articlebottom { border-top: 2px solid #febe54; margin: 40px -56px 0; padding: 16px 56px 18px; }
.articlebottom > .sharewidget { text-align: right; width: 100%; }

/* .copyarea ol, .copyarea ul:not(.breadcrumbs):not(.tags) { margin: 10px 0 16px 0; padding-left: 1.875rem; } */
/* .copyarea ol li, .copyarea ul:not(.breadcrumbs):not(.tags) li { line-height: calc(23 / 15); margin: 0 auto 0.625rem; } */

ol, .copy ul:not(.tags) { list-style: none; margin: 20px auto; padding: 0 0 0 55px; width: 100%; }
ol { counter-reset: li; }
.copy li { line-height: calc(26 / 15); padding-bottom: 3px; padding-left: 25px; position: relative; text-indent: 0; }
.copy li::before { color: #ff8a3a; content: '•'; direction: rtl; display: inline-block; font-weight: bold; left: 0;
  margin: 0; position: absolute; text-align: right; top: 0; width: 12px; }
ol > li { counter-increment: li; }
.copy ol > li::before { content: '.' counter(li); width: 16px; }
/* breadcrumbs – reset back to foundation from above styles */
.breadcrumb-wrapper { margin: 30px auto 18px; }
.copy ul.breadcrumbs { font-family: Poppins, var(--sans-serif); font-size: 14px;
  font-weight: normal; margin: 0 auto; padding: 0; width: auto; }
.breadcrumbs, .breadcrumbs a, .breadcrumbs li, .breadcrumbs li:not(:last-child)::after { color: #31356c; }
.breadcrumbs a { font-weight: normal; text-decoration: underline; }
.breadcrumbs a:focus, .breadcrumbs a:hover { text-decoration: none; }
.copy .breadcrumbs li { font-size: inherit; line-height: calc(32.607 / 14); padding: 0; }
.copy .breadcrumbs li::before { content: none; }
.breadcrumbs li:not(:last-child)::after { margin: 0 9px; }

.copyarea ul.pagination { padding: 0; }
.copy ul.pagination { margin: 0 auto 1rem; padding: 0; }
.pagination li { padding: 0; }
.pagination li::before { content: none; }
.pagination li.active > span { padding: .1875rem .625rem; }

/* Share button and page navigation */
.sharenav { text-align: right; }
.servicepage .sharenav { margin-top: -30px; }
.sharenav > nav { display: inline-block; vertical-align: middle; }
.sharenav > nav.sharebuttons { margin-right: 35px; }
nav.pager.pagenav { font-size: 0; margin: 0; padding: 0; width: auto; }
.pager.pagenav > div { display: inline-block; margin: 0 5px; }
.pager.pagenav a { background: #31356c; border: 0; border-radius: 50%; color: #fefefe; cursor: pointer;
  box-shadow: 2.498px 2.498px 7.654px 0 rgba(0,0,0,0.24); display: block; height: 40px; width: 40px; z-index: 1; }
.pager.pagenav a::after { background-position: center; background-repeat: no-repeat; background-size: contain;
  content: ''; display: block; height: 29px; width: 17px; }
.pager.pagenav > .next > a::after { background-image: url('../images/right-page-arrow.svg'); transform: translate(90%, 18%); }
.pager.pagenav > .previous > a::after { background-image: url('../images/left-page-arrow.svg'); transform: translate(50%, 18%); }

.sharebuttons > a:not([href]) { cursor: pointer; }
.sharewidget.hidden { opacity: 0; position: absolute; z-index: -10; }
/* .sharewidget.hidden * { visibility: hidden; } */
.sharetools { clear: both; font-size: 0; margin: 1rem auto; }
.st-button { display: inline-block; font-family: sans-serif; font-size: 0.75rem; line-height: normal; margin: 0 0.625rem 0.625rem 0;
  vertical-align: middle; }
.st-button iframe { border: 0; margin: 0; }
.st-button a.mail { background: #f4f4f4; border: 0; border-radius: 0.1875rem; color: #0a0a0a; padding: 0.25rem 0.75rem;
  text-decoration: none; transition: background-color 0.4s; }
.st-button a.mail:focus, .st-button a.mail:hover { background: #eaeaea; }

/* Reset left/right margins back to auto for component content that may contain its own rows and columns */
.row.reset { margin-left: auto; margin-right: auto; }
/* JCE flex columns */
.wf-columns .wf-column { margin-bottom: 2rem; margin-left: 2rem; }
.wf-columns .wf-column img { display: block; margin-left: auto; margin-right: auto; }

ul.tags { font-size: 0; margin: 16px 0 0; padding: 0; }
ul.tags li { display: inline-block; font-size: 13px; line-height: normal; margin: 0 16px 16px 0; vertical-align: top; }
ul.tags li > a { background: #4b9cd3; border-radius: 0; color: #fefefe; cursor: pointer; display: block; font-size: inherit; line-height: inherit;
  padding: 6px 10px; text-decoration: none; transition: background 0.4s; white-space: nowrap; }
ul.tags li > a:focus, ul.tags li > a:hover { background: #3089c6; }

dl dt.result-title:first-child { margin: 0 auto 0.3125rem; }
dl dt.result-title:not(:first-child) { margin: 1rem auto 0.3125rem; }
.search-result { margin: 0 auto 30px; }
.search-result:first-child { margin-top: 15px; }
.search-result::after { border: 0; border-bottom: 1px dotted #eee; content: ''; display: block; line-height: 1; margin: 24px auto; }

.videowrapper { border: 0; box-shadow: 7px 7px 9.899px 0 rgba(0,0,0,0.25); margin: 0 auto 36px; position: relative; }
.videowrapper::before, .videowrapper:before { content: ''; float: left; margin-left: -1px; padding: 56.25% 0 0 0; width: 1px; }
.videowrapper::after, .videowrapper:after { clear: both; content: ''; display: table; }
.videowrapper embed, .videowrapper iframe, .videowrapper object { border: 0; height: 100%; margin: 0; max-width: unset; position: absolute; width: 100%; }
.squarephoto { margin: 0 auto; position: relative; }
.squarephoto::before, .squarephoto:before { content: ''; float: left; margin-left: -1px; padding: 100% 0 0 0; width: 1px; }
.squarephoto::after, .squarephoto:after { clear: both; content: ''; display: table; }
.squarephoto img { border: 0; height: 100%; margin: 0; max-width: unset; position: absolute; top: 0; width: 100%; }

.photoblock { background-position: center; background-repeat: no-repeat; background-size: contain; display: inline-block;
  font-size: 0; height: 200px; margin: 10px 0; width: 100%; }
.photoblock a { display: block; height: 100%; }

input[name="a_password"] { display: none; height: 0; visibility: hidden; }

aside.sidebar { color: #fefefe; font-size: 16px; font-weight: 500; line-height: calc(35 / 16); padding-top: 45px; }
.sidebar .moduletable { margin-bottom: 25px; }
.sidebar a { color: #fefefe; }
.sidebar a:focus, .sidebar a:hover, .sidebar .menu .active>a { background: none; color: #ff8a3a; }
.sidebar h2 { color: #fefefe; font-size: 25px; line-height: calc(65.8 / 25); margin-bottom: 0; text-transform: uppercase; }
.sidebar .menu { text-transform: uppercase; }
.sidebar .menu li { border-bottom: 1px solid #d8a65e; }
.sidebar .menu a { padding: 12px 0; }

.sidesearch .input-group { margin-bottom: 0; }
.sidesearch input[type="text"] { background: transparent; border-color: #d8a65e; border-right-width: 0; color: #fefefe;
  padding: 20px 17px 17px; font-size: 14px; line-height: calc(25 / 14); }
.sidesearch .input-group-button { border: 1px solid #d8a65e; border-left-width: 0; padding: 6px 0; }
.sidesearch .input-group-button > button { background-image: url('../images/magnifier.svg'); background-position: center;
  background-repeat: no-repeat; background-size: contain; height: 100%; width: 45px; }
/* .sidesearch .fa { color: #fefefe; } */
.sidesearch ::placeholder { color: #fefefe; opacity: 1; }
.sidesearch ::-ms-input-placeholder { color: #fefefe; opacity: 1; }
.sidesearch ::-webkit-input-placeholder { color: #fefefe; opacity: 1; }

/* Blog pages */
.blogpage.category .copy { background-color: transparent; box-shadow: none; padding-bottom: 0; padding-top: 45px; }
.blogpage.article .copy {
  margin-bottom: 50px;
  padding-bottom: 0;
}
/* .blog.blogpage, .blogpage div[itemprop="articleBody"] { min-height: 150vh; }
.blogpage div[itemprop="articleBody"] { min-height: 110vh; } */
.blogpage div[class*="leading-"] { margin-bottom: 34px; }
.blogpage.category article { background: #47487e; border: 3px solid #febe54; border-radius: 12px; height: 100%; }
.blogpage.category article > * { flex: none; height: auto; }
.blogpage .item-image { border: none; margin: 0 auto; width: 100%; }
.blogpage.category .item-image, .blogpage.category .item-image img { border-top-left-radius: 9px; border-top-right-radius: 9px; }
.blogpage.category article > .item-image img { filter: grayscale(1); }
.blogpage.category article:hover > .item-image img { filter: grayscale(0); }
.blogpage.article .item-image { margin-left: -56px; margin-right: -56px; width: calc(100% + 112px); }

.blogpage h2[itemprop="name"], .blogpage h1[itemprop="headline"], .blogpage h2[itemprop="headline"] {
  background-color: #ff8a3a;
  background: linear-gradient(90deg, rgba(172,72,44,1) 0%, rgba(255,138,58,1) 50%, rgba(172,72,44,1) 100%);
  font-family: Solway, var(--serif);
  margin: 0;
  padding-bottom: 12px;
  padding-top: 12px;
  text-transform: capitalize;
}

.blogpage h1[itemprop="headline"], .blogpage h2[itemprop="headline"] {
  box-shadow: 3.476px 3.476px 4.916px 0 rgba(0,0,0,0.24);
  font-size: 40px;
  line-height: calc(48.262 / 40);
  margin: 0 -56px 40px;
  padding-left: 42px;
  padding-right: 42px;
  /* text-align: center; */
}

.blogpage h2[itemprop="name"] { font-size: 23px; line-height: calc(31 / 23); }
.blogpage h2[itemprop="name"], .blogpage h1[itemprop="headline"], .blogpage h2[itemprop="headline"],
  .blogpage h2[itemprop="name"] > a { color: #fefefe; font-weight: 500; }
.blogpage h2[itemprop="name"], .blogpage .leading-content { padding-left: 21px; padding-right: 21px; }

.blogpage .leading-content {
  border-bottom-left-radius: 9px;
  border-bottom-right-radius: 9px;
  color: #fefefe;
  font-size: 14px;
  line-height: calc(19 / 14);
  padding-bottom: 16px;
  padding-top: 16px;
}

.readmore > a { color: #ff8a3a; font-weight: 500; text-transform: uppercase; }
a.inf-view-more { bottom: 5%; cursor: pointer; font-size: 16px; font-weight: normal; line-height: 1; position: absolute;
  right: 4%; text-transform: uppercase; }
a.inf-view-more, a.inf-view-more:focus, a.inf-view-more:hover { color: #fefefe; }
a.inf-view-more:focus, a.inf-view-more:hover { text-decoration: underline; }

.scroll-status { color: #fefefe; display: none; font-family: Solway, var(--serif);
  font-size: 18px; font-weight: 500; line-height: normal; margin: 0 auto 27px; }
.scroll-status-inner { align-items: center; display: flex; height: 100%; justify-content: center; }
.scroll-status p { margin: 0; }
/* End blog pages */

/* Service pages */
.copyarea.servicepage {
  background: linear-gradient(180deg, rgba(254,254,254,1) 0%, rgba(254,254,254,1) 35%, rgba(254,254,254,0.7) 55%, rgba(254,254,254,0.5) 100%);
}

.copyarea.servicepage.category { background: #2c2c5a;
  background: linear-gradient(180deg, rgba(43,44,90,1) 0%, rgba(43,44,90,0.9) 60%, rgba(43,44,90,0.75) 75%, rgba(43,44,90,0.5) 100%);
  color: #fefefe; padding-left: 0; padding-right: 0; text-align: center; }
.servicepage.category .copy { background: none; box-shadow: none; }
.servicepage .saag { margin-bottom: 40px; margin-top: 0; }

.servicepage .copy { background-color: transparent; box-shadow: none; padding-bottom: 0; padding-top: 40px; }
.servicepage:not(.category) h1 { font-size: 18px; line-height: calc(40 / 18); margin-bottom: 0; }
.servicepage:not(.category) h2 { font-size: 28px; line-height: calc(33.6 / 28); margin-bottom: 10px; }
.hero-image { margin-left: -45px; margin-right: -45px; }

.breakoutarea { background: #181532;
  background: linear-gradient(90deg, rgb(24,21,50) 0%, rgb(49,53,108) 50%, rgb(24,21,50) 100%);
  box-shadow: 12.728px 12.728px 18px 0 rgba(0,0,0,0.22); border-radius: 12px; color: #fefefe; padding: 0 80px 58px; }
h2.breakout-heading { background-color: #ff9024; border: 0 solid #febe54; border-bottom-width: 5px;
  border-top-left-radius: 12px; border-top-right-radius: 12px; color: #fefefe; font-size: 45px; line-height: calc(55 / 45);
  margin: 0 -80px 34px; padding: 24px 40px 14px; text-align: center; }
.breakoutarea h3 { background-color: #ff8a3a;
  background: linear-gradient(90deg, rgba(172,72,44,1) 0%, rgba(255,138,58,1) 50%, rgba(172,72,44,1) 100%);
  box-shadow: 3.476px 3.476px 4.916px 0 rgba(0,0,0,0.24); color: #fefefe; font-size: 36px; line-height: calc(65.796 / 36);
  margin: 30px 0; text-align: center; }

/* .breakoutarea h4 { } */
.breakoutarea img { display: block; margin-left: auto; margin-right: auto; }
.breakoutarea p { margin-left: 50px; margin-right: 50px; }
.breakoutarea ol, .breakoutarea ul { padding-left: 80px; }
.breakoutarea li::before { color: #febe54; }
.breakoutarea li:not(:last-child) { padding-bottom: 15px; }
.breakoutarea li > h4 { color: #febe54; font-family: Poppins, var(--sans-serif);
  font-size: inherit; font-weight: 600; line-height: inherit; margin-bottom: 0; text-transform: uppercase; }
.closingarea {
  background: #fefefe;
  margin-left: -101px;
  margin-right: -101px;
  margin-top: 26px;
  padding: 36px 101px 20px;
  width: calc(100% + 101px + 101px);
}
.closingarea .contact-btn { font-family: Solway, var(--serif); margin-top: 27px; text-align: center;
  text-transform: uppercase; }
.closingarea .contact-btn > .button { border-radius: 7px; font-size: 26px; font-weight: 500; margin-bottom: 0; padding: 7px 40px; }
/* End service pages */

/* Project pages */
.projectpage.category .copy { background: none; box-shadow: none; margin-bottom: 24px; margin-top: 46px; /* overflow: hidden; */
  padding: 0 0 18px; }

.projectnavbar {
  background: #ff8a3c;
  background: linear-gradient(90deg, #ac482c 0%, #ff8a3c 50%, #ac482c 100%);
  color: #fefefe;
  font-family: Solway, var(--serif);
  font-size: 0;
  font-weight: 500;
  margin: 0 -45px;
  text-align: center;
  text-transform: uppercase;
  width: calc(100% + 90px);
}

.projectnavbar > * { display: inline-block; font-size: 21px; line-height: calc(35 / 21); padding: 0 13px; vertical-align: middle; }
.projectnavbar a { color: #fefefe; }
.projectnavbar a.isotope-active, .projectnavbar a:hover { background: #febe54; }

.grid-sizer, .masonry-item { width: calc((100% - 24px) / 2); }
/* .grid-sizer, .masonry-item { width: calc((100% - 20px) / 3); } */
.gutter-sizer { width: 2%; }
.masonry-item { background-color: #31356c; box-shadow: 6px 6px 10px 3px rgba(0,0,0,0.22); display: inline-block; margin-bottom: 24px;
  overflow: hidden; position: relative; vertical-align: top; }
.masonry-item img { /* max-width: 275px; */ transition: all 0.25s; width: 100%; }
.masonry-item:hover img { mix-blend-mode: multiply; transform: scale(1.25); }

.masonry-item:hover .project-title__overlay { display: flex; }
.project-title__overlay { align-items: center; bottom: 0; color: #fefefe; display: none; justify-content: center; font-size: 14px;
  line-height: normal; overflow: hidden; pointer-events: none; position: absolute; text-align: center; text-transform: capitalize;
  top: 0; width: 100% }
.project-title__overlay > span { border: 2px solid #febe54; border-radius: 12px; display: block; max-width: 65%; padding: 3vw 2vw; }

.project-images { position: relative; }
.project-images__main { width: 79%; }
.project-images__thumbnails { display: flex; flex-direction: column; height: 100%; justify-content: space-between;
  position: absolute; right: 0; top: 0; width: 23%; }
.project-images__thumbnails > img { box-shadow: 3.476px 3.476px 10.65px 0 rgba(0,0,0,0.24); cursor: pointer; width: 100%; }

/* .servicepage .copy { } */
/* .projectpage .sharenav { bottom: 0; position: absolute; right: 0; } */
/* End project pages */

/* Staff/about page */
.copyarea.staffpage { background: #2c2c5a;
  background: linear-gradient(180deg, rgba(43,44,90,1) 0%, rgba(43,44,90,0.7) 30%, rgba(43,44,90,0.45) 65%, rgba(43,44,90,0.25) 100%);
  color: #fefefe; padding-left: 0; padding-right: 0; text-align: center; }
.staffpage .hero-image { margin-left: 0; margin-right: 0; }
.staffpage .copy { background: none; box-shadow: none; padding-bottom: 0; }
.staffpage h1, .staffpage h2 { color: #fefefe; }
.staffpage h1 { font-size: 28px; line-height: normal; margin-bottom: 16px; text-transform: none; }
.staffpage h1 > span { font-size: 42px; line-height: normal; text-transform: uppercase; }

/* .staffpage h2 { }
.staffpage h2 > span { } */

.staffpage hr { background: #febe54; border: 0; border-radius: 12px; height: 4px; margin: 20px auto 40px; width: 90%; }
.staffpage .moduletable.copyfoot { background: #262867; box-shadow: 12.728px 12.728px 18px 0 rgba(0,0,0,0.22);
  margin: 80px 0; width: 100%; }
.staffpage .moduletable.copyfoot > .custom { padding: 60px 12% 34px; padding: 60px 12vw 36px; text-align: left; }
.staffpage .moduletable.copyfoot h2 { background: #ff9024; border-bottom: 5px solid #febe54; color: #fefefe;
  font-size: 36px; line-height: calc(43 / 36); margin: 0; padding: 16px 0; }
.staffpage .moduletable.copyfoot h3 { font-size: 30px; line-height: calc(44 / 30); text-transform: uppercase; }
.staffpage .moduletable.copyfoot h3, .staffpage .moduletable.copyfoot h3 > a { color: #febe54; }
.staffbio-category .column { margin-bottom: 32px; }
.staffbio-category .column:last-child { align-items: center; display: flex; justify-content: center; }
.staffbio-category .column:last-child .button { background: #862633; border: 3px solid #febe54; border-radius: 12px;
  color: #fefefe; font-family: Solway, var(--serif); font-size: 16px; font-weight: 500;
  line-height: calc(18 / 16); padding: 12px 30px 11px; text-transform: uppercase; width: 100%; }
.staffbio-category .column:last-child .button:focus, .staffbio-category .column:last-child .button:hover { background: #77222d;
  color: #fefefe; }
.staff-flex { align-items: start; display: flex; flex-direction: column; flex-wrap: wrap; font-size: 14px;
  line-height: calc(19 / 14); justify-content: center; text-align: left; }
.staff-flex > div { width: 100%; }

/* Staff photos/flipping */
/* @link https://davidwalsh.name/css-flip */
.staff-flex > div.photo-container { border: 3px solid #febe54; border-radius: 12px;
  box-shadow: 3.476px 3.476px 10.65px 4.916px rgba(0,0,0,0.24); margin-right: 24px; overflow: hidden;
  perspective: 1000px; width: 238px; }
/* touch is being seen as hover (at least in Chrome), so we'll comment this for now… */
.photo-container:hover .flipper/* , .photo-container.hover .flipper */ { transform: rotateY(180deg); }
.staff-flex > div.photo-container, .front, .back { height: 50vw; width: 50vw; }
.flipper { position: relative; transition: 0.6s; transform-style: preserve-3d; }
.front, .back { backface-visibility: hidden; left: -3px; position: absolute; top: -3px; }
.front { transform: rotateY(0deg); z-index: 2; }
.front > img { filter: grayscale(1); /* filter: grayscale(0.75); */ }
.back { transform: rotateY(180deg); }
.back > img { position: relative; z-index: 2; }
.back > span { font-size: 28px; position: absolute; text-align: center; top: 50%; transform: translateY(-50%); width: 100%;
  z-index: 1; }
.staff-flex > div.staff-info { padding-top: 12px; }
.photo-container img { border-radius: 9px; height: auto; width: 100%; }
/* End staff photos/flipping */

.staff-flex h2 { color: #febe54; font-size: 22px; line-height: calc(27 / 22); margin: 0 0 5px; text-transform: capitalize; }
.staff-flex h3 { color: #fefefe; font-size: 15px; line-height: calc(25 / 15); text-transform: uppercase; }


/* 2c2c5a */

.staffpage .ffp-feed-wrap { border-radius: 0; border-width: 0; }
.staffpage .ffp-feed-container { background: #fefefe; }

/* End staff/about page */

/* End copyarea */

/* Footer */

.prefooter { background: #c0542d; color: #fefefe; font-size: 15px; line-height: calc(26 / 15); min-height: 410px;
  padding: 48px 0 40px; position: relative; text-align: center; }
.prefooter p { margin-bottom: 12px; }
/* Testimonials slideshow */
.reviewbox { margin: 0 auto; max-width: 1200px; position: relative; }
.client-testimonials__wrapper { margin: 0 auto; max-width: 75rem; padding: 0 115px; position: relative; }
.prefooter .slider__button { background: #31356c; border: 0; border-radius: 12px;
  box-shadow: 2.498px 2.498px 7.654px 0 rgba(0,0,0,0.24); color: #fefefe; height: 84.785px; width: 84.785px; }
.tns-inner { padding-top: 5px; }
a.tns-next, a.tns-prev { background: #31356c; border: 0; border-radius: 50%; color: #fefefe; cursor: pointer;
  box-shadow: 2.498px 2.498px 7.654px 0 rgba(0,0,0,0.24); display: block; height: 84.785px; position: absolute; top: 50%;
  transform: translateY(-50%); width: 84.785px; z-index: 1; }
a.tns-next::after, a.tns-prev::after { background-position: center; background-repeat: no-repeat; background-size: cover; content: '';
  display: inline-block; height: 55px; left: 50%; position: absolute; top: 50%; width: 55px; }
a.tns-next { right: 1%; /* right: 1.5vw; */ }
a.tns-next::after { background-image: url('../images/right-chevron.svg'); transform: translate(-38%, -50%); }
a.tns-prev { left: 1%; /* left: 1.5vw; */ }
a.tns-prev::after { background-image: url('../images/left-chevron.svg'); transform: translate(-58%, -50%); }

.prefooter .client-name, .prefooter .client-location, .quote-marks { font-family: Solway, var(--serif);
  font-weight: 500; margin: 0; }
.quote-marks { color: #d79c74; display: inline-block; font-size: 50px; line-height: 0; vertical-align: middle; }
.quote-marks.end { vertical-align: bottom; }
.prefooter .client-name { line-height: calc(30 / 15); text-transform: uppercase; }
.prefooter .client-location { color: #d79c74; font-size: 26px; line-height: calc(33.2 / 26); margin-bottom: 14px; }
/* End testimonials slideshow */

footer { background: #181532; color: #fefefe; font-size: 14px; line-height: calc(24 / 14); padding: 56px 0; text-align: left; }

footer a, footer a:focus, footer a:hover { color: #fefefe; }
footer h4, footer h4 > * { color: #d79c74; }
footer h4 { font-size: 18px; line-height: calc(21.6 / 18); margin-bottom: 6px; text-transform: uppercase; }
footer .logo img { height: auto; max-height: unset; width: 170px; }
footer p { margin: 0 0 14px; }
footer .larger { font-size: 19px; line-height: calc(27.6 / 19); }
footer .quick-blurb { font-size: 10px; line-height: calc(21 / 10); }
footer .moduletable { margin: 0 0 18px; }
footer .column:last-child > .moduletable:last-child { margin-bottom: 0; }

footer .menu { font-weight: 600; text-transform: uppercase; }
footer .menu a { padding: 8px 16px; position: relative; }
footer .menu a:focus, footer .menu a:hover, footer .menu .active>a { background: none; color: #d79c74; }
/* footer .menu li>a::after { border-color: transparent transparent transparent #fefefe; content: ''; } */
footer .menu h4 { line-height: calc(30 / 18); margin: 0; }
footer .menu h4 > a { padding-bottom: 6px; padding-top: 6px; }
footer .menu h4 > a:focus, footer .menu h4 > a:hover, footer .menu .active h4 > a { color: #fefefe; }
footer .menu li a::after { border: inset 6px; border-color: transparent transparent transparent #6698ad; border-left-style: solid;
  border-right-width: 0; content: ''; display: block; position: absolute; height: 0; left: 0; top: 50%; transform: translateY(-50%);
  width: 0; }

[class*="followus"] { display: inline-block; margin: 7.5px; vertical-align: middle; }
[class*="followus"]:first-child { margin-left: 0; }
.followus__label { color: #d79c74; font-family: Solway, var(--serif); font-size: 18px;
  font-weight: 500; line-height: calc(21.6 / 18); text-transform: uppercase; }
a.followus__link { padding: 0; text-align: center; }
a.followus__link, .followus__link .fa, .followus__link .fab { border-radius: 12px; color: #fefefe; font-size: 26px;
  line-height: calc(39 / 26); }
.followus__link .fa, .followus__link .fab { background: #d79c74; height: 38px; width: 38px; }
.followus__link .fa-facebook, .followus__link .fa-facebook-f { background: #1877f2; }
.followus__link .fa-instagram { background: #b900b4; background: linear-gradient(228deg,#1400c8 0%,#b900b4 51%,#f50000 100%); background: radial-gradient(circle farthest-corner at 35% 90%, #fec564, transparent 50%), radial-gradient(circle farthest-corner at 0 140%, #fec564, transparent 50%), radial-gradient(ellipse farthest-corner at 0 -25%, #5258cf, transparent 50%), radial-gradient(ellipse farthest-corner at 20% -50%, #5258cf, transparent 50%), radial-gradient(ellipse farthest-corner at 100% 0, #893dc2, transparent 50%), radial-gradient(ellipse farthest-corner at 60% -20%, #893dc2, transparent 50%), radial-gradient(ellipse farthest-corner at 100% 100%, #d9317a, transparent), linear-gradient(#6559ca, #bc318f 30%, #e33f5f 50%, #f77638 70%, #fec66d 100%); }
.followus__link .fa-linkedin { background: #0966c2; }
.followus__link .fa-pinterest { background: #e60023; }
.followus__link .fa-twitter { background: #1da1f2; }
.followus__link .fa-youtube { background: #ff0000; }

footer .ingallery-items{ background: #fefefe; border: 1px solid #6698ad; }
/* .ingallery-cell { padding: 0 2px 4px !important; }
.ingallery-cell:first-child, .ingallery-cell:nth-child(3n+1) { padding-left: 0 !important; }
.ingallery-cell:nth-child(3n) { padding-right: 0 !important; }
.ingallery-cell:nth-last-child(n):nth-last-child(-n+3) { padding-bottom: 0 !important; } */

/* .ingallery-cell { border: 2px solid #fefefe; }
.ingallery-cell:first-child, .ingallery-cell:nth-child(3n+1) { border-left-width: 0; }
.ingallery-cell:nth-child(3n) { border-right-width: 0; }
.ingallery-cell:nth-child(n):nth-child(-n+3) { border-top-width: 0; }
.ingallery-cell:nth-last-child(n):nth-last-child(-n+3) { border-bottom-width: 0; } */

.dev-copyright { font-size: 14px; margin-top: 96px; }
/* End footer */

/* Locations map styles */
.gmaps-wrapper { position: relative; }
.noscroll { pointer-events: none; }
.gmaps-wrapper, .location-map { border: 0.063rem solid #0a0a0a; box-shadow: 0 0 0.188rem 0 rgba(51,51,51,0.5); }
.gmaps-wrapper .details * { color: #fff; }
.gmaps-wrapper .details a { color: #ccd699; text-decoration: underline; }
.gmaps-wrapper .details a:focus, .gmaps-wrapper .details a:hover { text-decoration: none; }
.gmaps-wrapper .details { background: rgba(0,0,0,0.8); bottom: 0; cursor: default; left: 0;
  padding: 0.625rem; pointer-events: unset; position: absolute; right: 0; top: 0; z-index: 1000; }
/* End locations map styles */

/* Custom CSS */
blockquote { border-left: 0.1875rem solid #0a0a0a; margin: 1rem 0; padding: 0.9375rem 1rem; }
blockquote, blockquote p { color: inherit; }
blockquote > p:last-child, blockquote [class*="button"]:last-of-type { margin-bottom: 0; }
input[readonly] { background-color: inherit; }
select { background-position: right center; }
span.br { display: initial; }
span.horizontal-link { display: inline-block; vertical-align: middle; }
span.horizontal-link:not(:last-child)::after { content: '|'; display: inherit; margin-left: 7px; margin-right: 7px;
  vertical-align: inherit; }

.recap-container { position: relative; }
.recap-container > div { display: none; }
.grecaptcha-badge { margin: 0 0 1rem; }
.required::before, .required:before { color: #c71c24; content: '*'; display: inline-block; vertical-align: top; }
.pagination-list { margin-left: 0; }
.pagination .has-tip { cursor: pointer; }
.pagination li:last-child, .pagination li:first-child, .pagination li.nav-start,
  .pagination li.nav-prev, .pagination li.nav-next, .pagination li.nav-end { display: inline-block; }

.imageset img { display: block; margin: 0 auto; }

/* End custom CSS */

/* Media queries */
/* Small and up */
@media only screen and (min-width: 0em) {}

/* Small only */
@media screen and (max-width: 29.313em) {
  .saag { font-size: 10px; line-height: calc(15 / 10); }
}

@media screen and (max-width: 37.438em) {
  .item-image, .project-images { margin: 0 -10px 0; width: calc(100% + 20px); }
  .blogpage.article .item-image { margin-left: -10px; margin-right: -10px; width: calc(100% + 20px); }
  .blogpage h1[itemprop="headline"], .blogpage h2[itemprop="headline"] { font-size: 32px; line-height: normal; margin-left: -10px;
    margin-right: -10px; padding-left: 20px; padding-right: 20px; }

  .breakoutarea p { margin-left: 0; margin-right: 0; }
  .breakoutarea ol, .breakoutarea ul { padding-left: 30px; }
  .closingarea {
    margin-left: -20px;
    margin-right: -20px;
    padding: 36px 12% 80px;
    width: calc(100% + 20px + 20px);
  }

  /* project images */
  .project-images { position: relative; }
  .project-images__main, .project-images__main > img { width: 100%; }
  .project-images__thumbnails { flex-direction: row; height: auto; margin-top: -6px; position: unset; right: unset;
    top: unset; width: 100%; }
  .project-images__thumbnails > img { box-shadow: 3.476px -3.476px 10.65px 0 rgba(0,0,0,0.24); width: 30%; }
}

@media screen and (min-width: 29.375em) and (max-width: 39.9375em) {
  .saag { font-size: 12px; line-height: normal; }
}

@media only screen and (max-width: 39.9375em) {
  .masthead-content > *.logo { margin-right: 0; width: 200px; }
  .masthead-content > *:last-child { width: calc(100% - 200px); }

  .home h1 { font-size: 27px; line-height: normal; }
  .home h2 { font-size: 40px; line-height: normal; }
  .home .copy { font-size: 15px; line-height: calc(26 / 15); }
  .checkitout { font-size: 21px; line-height: normal; margin-top: 20px; }

  .doc-title { padding: 0 5%; }
  .doc-title h1 { font-size: 46px; line-height: calc(52 / 46); }

  .saag { /* font-size: 10px; line-height: calc(15 / 10); */ padding: 32px 30px; }
  .saag h2 { font-size: 38px; line-height: calc(40 / 38); margin-bottom: 10px; }
  .saag h3 { font-size: 18px; line-height: calc(24 / 18); margin-bottom: 34px; }
  .saag__services--item { border-left-width: 0; border-right-width: 2px; border-bottom-width: 2px; justify-content: center; }
  .saag__services--item > a { display: block; flex: none; text-align: center; width: 100%; }
  .saag__services--item:nth-child(2n) { border-right-width: 0; }
  .saag__services--item:last-child { border-bottom-width: 0; border-right-width: 2px; }
  .saag__services--item:nth-last-child(n+1):nth-last-child(-n+2) { border-bottom-width: 0; }
  .saag__services--item:nth-child(2n) { border-right-width: 0; }
  .saag__services--item img, .saag__services--item picture { display: block; margin: 0 auto; max-width: 40px; min-width: 40px; }

  .prefooter { font-size: 12px; line-height: calc(21 / 12); }
  .client-testimonials__wrapper { padding: 0 70px; }
  .client-testimonials__item { padding-top: 3px; }
  a.tns-next, a.tns-prev { height: 30px; width: 30px; }
  a.tns-next { right: 2.5%; }
  a.tns-prev { left: 2.5%; }
  a.tns-next::after, a.tns-prev::after { background-size: 35%; }
  a.tns-prev::after { transform: translate(-52%, -50%); }
  a.tns-next::after { transform: translate(-46%, -50%); }

  ol, .copy ul:not(.tags) { padding: 0 0 0 30px; }
  .copy ul.breadcrumbs { padding: 0; }

  a.up-button { height: 50px; width: 50px; }
  a.up-button::before { background-size: auto; height: 22px; transform: translate(-46%, -58%); width: 60%; }
  a.up-button::after { bottom: -34px; font-size: 10px; left: 50%; line-height: normal; transform: translateX(-50%); }

  footer .columns { margin-bottom: 1rem; }
  footer .text-right { text-align: left; }
}

/* Medium and up */
@media screen and (min-width: 28.750em) {
  .project-title__overlay { text-transform: uppercase; }
}

@media screen and (min-width: 28.750em) and (max-width: 56.188em) {
  .project-title__overlay { font-size: 18px; }
}

@media screen and (min-width: 37.500em) {
  .inner .copy { padding-left: 56px; padding-right: 56px; }
}

@media screen and (max-width: 52.438em) {
  .intext-image__left, .intext-image__right { display: block; float: none; margin: 15px auto; max-width: unset; }
}

@media screen and (max-width: 56.188em) {
  section.breakoutarea { padding: 0 6vw 58px; }
  h2.breakout-heading { margin-left: -6vw; margin-right: -6vw; }
}

@media screen and (min-width: 37.500em) and (max-width: 63.688em) {
  .staffpage .copy { margin-top: -50px; }
  .staffpage h1 { font-size: 40px; line-height: calc(50 / 40); }
  .staffpage h1 > span { font-size: 64px; line-height: calc(69 / 64); }
}

@media screen and (min-width: 38.750em) {
  .staff-flex { flex-direction: row; }
  .staff-flex > div { width: calc(100% - 238px - 24px); }
  .staff-flex > div.photo-container, .front, .back { height: 238px; width: 238px; }
  .staffbio-category .column:last-child .button { font-size: 26px; line-height: calc(46.625 / 26); }
}

@media screen and (min-width: 38.750em) and (max-width: 63.9375em) {
  .staffbio-category .column:last-child { min-height: 200px; }
}


@media only screen and (min-width: 40em) {
  .masthead-content { padding: 0 .9375rem; }

  .grid-sizer, .masonry-item { width: calc((100% - 48px) / 3); }
}

/* Medium only */
@media only screen and (min-width: 40em) and (max-width: 63.9375em) {}

@media screen and (max-width: 60.000em) {
  .wf-columns .wf-column { border-bottom: 1px solid #ccc; margin-left: 0; justify-content: center; padding-bottom: 2rem; text-align: center; }
  .wf-columns .wf-column p:last-of-type { margin-bottom: 0; }
}

/* Medium and lower */
/* min-width should have been 40em (640px), not 39.9375em (639px) */
@media screen and (min-width: 40.000em) and (max-width: 63.9375em) {
  .saag__services { justify-content: center; }
  .saag__services--item { border-left-width: 0; border-right-width: 2px; border-bottom-width: 2px; }
  .saag__services--item:nth-child(3n) { border-right-width: 0; }
  .saag__services--item:last-child { border-bottom-width: 0; border-right-width: 2px; }
  .saag__services--item:last-child::before { border-left: 2px dashed #feb43a; content: ''; height: 100%; left: -2px;
    position: absolute; }

}

@media screen and (min-width: 40em) and (max-width: 68.063em) {
  .saag { font-size: 12px; line-height: calc(17 / 12); }
}

@media screen and (min-width: 56.250em) {
  .project-title__overlay { font-size: 23px; }
  .project-title__overlay > span { padding: 36px; }
}

@media screen and (min-width: 58.750em) {
  .articletop > *, .articlebottom > * { display: inline-block; margin: 0; vertical-align: top; width: 50%; }
  .articlebottom > * { vertical-align: middle; }
}

@media screen and (min-width: 40.000em) and (max-width: 61.813em) {
  a.tns-next, a.tns-prev { height: 55px; width: 55px; }
  a.tns-next::after, a.tns-prev::after { background-size: auto; }
}

@media screen and (min-width: 37.500em) and (max-width: 63.9375em) {
  .closingarea { margin-left: -66px; margin-right: -66px; padding-bottom: 80px; width: calc(100% + 66px + 66px); }
}

@media only screen and (max-width: 63.9375em) {
  .copyarea.inner:not(.staffpage) { padding-left: 10px; padding-right: 10px; }
  .doc-title, .projectnavbar { width: calc(100% + 20px); margin: 0 -10px; }
  .hero-image { margin-left: -10px; margin-right: -10px; }
}

/* Large and up */
@media screen and (min-width: 63.750em) {
  .staffpage .copy { margin-top: -130px; }
  .staffpage h1 { font-size: 50px; line-height: calc(65.796 / 50); margin-bottom: .5rem; }
  .staffpage h1 > span { font-size: 80px; line-height: calc(79.796 / 80); }
}

@media only screen and (min-width: 64em) {
  .saag__services--item { border-left-width: 0; border-right-width: 2px; border-bottom-width: 2px; }
  .saag__services--item:nth-child(5n) { border-right-width: 0; }
  .saag__services--item:last-child { border-bottom-width: 0; border-right-width: 2px; }
  .saag__services--item:nth-last-child(n+1):nth-last-child(-n+5) { border-bottom-width: 0; }
  .saag__services--item:nth-child(5n) { border-right-width: 0; }
}

/* Large only */
@media only screen and (min-width: 64em) and (max-width: 74.9375em) {}

/* Xlarge and up */
@media only screen and (min-width: 75em) {

}

/* Variable max-width; depends on size of the menubar */
@media only screen and (max-width: 70.563em) {
  .mainmenu { display: none; }
  .pushy-menu-btn, .pushy-menu-btn:not([href]) { display: block; }
}

@media only screen and (max-width: 75em) {
  footer { padding-left: 3%; padding-right: 3%; }
}

/* @media screen and (min-width: 1174px) {
  .grid-sizer, .masonry-item { width: calc((100% - 20px) / 3); }
} */

/* Xxlarge and up */
@media only screen and (min-width: 90em) {
  a.tns-next { right: 0; /* right: 6vw; */ }
  a.tns-prev { left: 0; /* left: 6vw; */ }
}

@media screen and (min-width: 100.625em) {
  .non-parallax.home { margin-top: -236px; margin-top: -30vh; }
}
