/*  BASE CANVAS
 *
 */
html
{
  margin: 0;
  background-color: #484848;
}
body
{
  margin: 0;
  background-color: #efefef;
  text-rendering: optimizeLegibility;
  -webkit-font-smoothing: antialiased;
}
 
/*  TYPOGRAPHY
*
*/
h1
{
  margin: 0.8em 0;
  color: #222;
  font: bold 28px/32px 'bitter','calibri',sans-serif;
}
header h1 {
  margin: 0;
}
h2
{
  margin: 1.6em 0 0.6em;
  color: #222;
  font: bold 24px/1.2 'bitter','calibri',sans-serif;
}
h3
{
  margin: 1.8em 0 0.4em;
  color: #222;
  font: bold 21px/1.25 'bitter','calibri',sans-serif;
}

p, hr, dl, pre {
  margin: 0.4em 0 1.6em;
}
form, table, address, blockquote
{
  margin: 1.6em 0;
}
p + ul, p + ol
{
  margin: -1.6em 0 1.6em;
}
p, li
{
  color: #222;
  font: normal 18px/1.333 'open sans','calibri',sans-serif;
}
a
{
  color: #369;
}
a:hover,
a:active
{
  color: #69c;
}

h2 a
{
  color: #69c;
  padding-bottom: 2px;
  border-bottom: 3px solid #69c;
}
h2 a:hover,
h2 a:active
{
  color: #69c;
  border-bottom: 3px solid #69c;
}

p a
{
  color: #369;
  padding-bottom: 1px;
  border-bottom: 1px solid #369;
  text-decoration: none;
}
p a:hover,
p a:active
{
  color: #69c;
  border-color: #69c;
}

.intro p {
  margin: 2em 0 3em;
  font-weight: bold;
}


 
/*  HEADER / LOGO WITH SITENAME + SUBTITLE
 *
 */
header
{
  background-color: #f8f8f8;
}
header .container
{
   max-width: 960px;
   margin: 0 auto;
}
.site-heading
{
  position: relative;
  z-index: 10;
  padding: 10px 25px 20px;
  display: inline-block;
  text-decoration: none;
}
.site-headline
{
  display: block;
  padding-top: 10px;
  color: #369;
  font-family: 'open sans','calibri',sans-serif;
  font-weight: 300;
  font-size: 42px;
  line-height: 1;
}
.site-subheadline
{
  display: block;
  margin: 4px 0 8px;
  color: #666;
  font-family: 'open sans','calibri',sans-serif;
  font-weight: 400;
  font-size: 18px;
  line-height: 1;
}
 
 
/*  MAIN NAV
*
*/
.main-nav-container
{
  background-color: #7ad;
  border-bottom: 3px solid #58b;
}
.main-nav {
box-sizing: border-box;
max-width: 960px;
position: relative;
margin: 0 auto;
padding: 0;
background: #69c;
}
.menu
{
  margin: 0;
  padding: 0 0 0 25px;
  list-style: none;
}
.menu li {
  display: inline-block;
  margin: 0 20px 0 0;
  padding: 0;
}
.menu a
{
  display: block;
  min-height: 40px;
  padding: 0;
  border-left: 0;
  color: #d9e8f8;
  font: bold 18px/2.2em 'bitter','calibri',sans-serif;
  text-shadow: none;
  text-transform: lowercase;
  text-decoration: none;
}
.menu a:hover,
.menu a:active,
.menu a[aria-current=page]
{
  background-color: #58B;
  color: #FFF;
}

.main-nav figure {
  display: none;
}
 
 
 /*  FOOTER
  *
  */
.footer
{
  background-color: #484848;
}
.footer-wrapper
{
  max-width: 960px;
  margin: 0 auto;
}
.footer-inner
{
  box-sizing: border-box;
  width: 100%;
  padding: 20px 25px 40px;
}  
.footer .site-headline
{
  color: #fff;
  font-size: 27px;
}
.footer .site-subheadline
{
  color: #fff;
  font-size: 18px;
}
.footer h2 {
  margin: 1em 0;
}
.footer p
{
  margin: 1em 0;
  color: #ddd;
  font-size: 16px;
  line-height: 21px;
}
.footer p:after 
{
  content: "";
  display: table;
  clear: both;
  height: 1px;
}

.footer p a
{
  display: block;
  float: left;
  clear: left;
  margin: 0 0 1em;
  padding: 10px 8px 10px 52px;
  color: #fff;
  border-bottom: 2px solid #484848;
  background-image: url(../icons/social-icons-40x40-grey.png);
  background-repeat: no-repeat;
  text-decoration: none;
}
.footer p a:hover
{
  background-image: url(../icons/social-icons-40x40.png);
  background-color: #6699cc;
  border-bottom-color: #fff;
}
.footer .linkedin
{
  background-position: 0 -320px;
}
.footer .linkedin:hover {
  background-color: #007abb;
}
.footer .vcard
{
  background-position: -120px -80px;
}
.footer .vcard:hover {
  background-color: #46b844;
}
@media screen and (max-width: 390px) {
  .footer .vcard.desktop {
    display: none;
  }  
}
@media screen and (min-width: 391px) {
  .footer .vcard.mobile {
    display: none;
  }  
}


.footer .terms
{
  background-position: -160px 0;
}
 
 

/*  CONTENT
 *
 */
.content-wrapper
{
  max-width: 960px;
  margin: 0 auto;
}
.content-inner
{
  padding: 20px 25px;
}
.content article {
  max-width: 45em;
}









/*
 *  FEATURE ON HOMEPAGE
 */
.feat
{
  background-color: #f8f8f8;
}
.feat-wrapper
{
  max-width: 960px;
  margin: -150px auto 0;
}
.feat-inner
{
  width: 100%;
  overflow: hidden;
  margin: 0;
  padding: 0;
  border: 0;
  border-radius: 0;
  background: #d4e4f6; /* Old browsers */
  background: linear-gradient(to bottom,  transparent 0, transparent 150px,#dbebfa 150px,#c0d2eb 100%); /* W3C */
}
.feat-img
{
  width: 50%;
  float: right;
  margin: -25% 0 0;
}
.feat-img img 
{
  display: block;
  width: 100%;
  height: auto;
  margin: 0 0 -50px;
}
.feat-txt {
  padding: 180px 25px 0;
}
.feat-txt p
{
  color: #369;
  font: bold 21px/1.333 'bitter','calibri',sans-serif;
  text-align: left;
}
.feat-txt p a
{
  display: inline-block;
  width: 50%;
  position: relative;
  margin-top: 1em;
  border: 0;
  color: #000;
  line-height: 1.2;
  text-align: left;
  text-decoration: underline;
  text-decoration-color: currentColor;
  text-decoration-thickness: 2px;
  text-underline-offset: 2px;
}
.feat-txt p a:after
{
  content: "›";
  display: block;
  position: absolute;
  left: 100%;
  top: 0;
  margin-left: 0.25em;
}

 




/*
*  CASES ON HOMEPAGE
*/
.cases
{
  display: flex;
  flex-direction: column;
  gap: 30px 0;
  padding: 50px 0 30px;
}
.case-title,
.case-client-logo,
.case-intro,
.case-cta
{
  box-sizing: border-box;
  padding: 0 25px;
}
.case h2
{
  max-width: 600px;
  margin-top: 0;
}
.case-content p
{
  margin: 0;
  /* line-height: 1.25; */
}
.case-client-logo
{
  margin: 20px 0 25px;
}
.case-client-logo img
{
  display: block;
  width: 80%;
}
.case-cta p {
  padding-top: .75em;
}
.case-cta p a
{
  display: inline-block;
  padding: 8px 16px;
  text-decoration: none;
  border-bottom: 2px solid #B61A30;
  background-color: #B61A30;
  color: #FFF;
}
.case-cta p a:hover {
  border-bottom: 2px solid #8e0e1f;
  background-color: #8e0e1f;
  color: #FFF;
}


/*  PREVIOUS / NEXT NAVIGATION
 *
 */
.prevnext
{
  margin: 2em 0;
  max-width: 45em;
}
.prevnext:after {
  content: "";
  display: table;
  clear: both;
}
.prevnext a
{
  display: block;
  float: left;
  margin-bottom: 20px;
  text-decoration: none;
}
.prevnext span {
  display: block;
  font: normal 14px/2.2em 'open sans','calibri',sans-serif;
  text-transform: uppercase;
  letter-spacing: 1px;
}
.prevnext a strong
{
  font-size: 1.5em;
}
.prevnext a h3
{
  display: block;
  margin: 0;
}
.prevnext .prev h3
{
  padding-left: 25px;
}
.prevnext .next {
  float: right;
}
.prevnext .next span
{
  text-align: right;
}
.prevnext .next h3
{
  padding-right: 25px;
  text-align: right;
}



@media screen and (min-width: 400px)
{
  h1 
  {
    font-size: 36px;
    line-height: 40px;
  }
  h2 
  {
    font-size: 38px;
    line-height: 1.2;
  }
  h3
  {
    font-size: 21px;
  }
  p, li 
  {
    font-size: 18px;
    line-height: 1.6667;
  }

  /* SITE HEADLINES */
  .site-headline
  {
    padding-top: 15px;
    font-size: 48px;
  }
  .site-subheadline
  {
    margin: 8px 0 12px;
    font-weight: 400;
    font-size: 21px;
  }

  /* MAIN MENU */
  .menu
  {
    padding: 0 0 0 15px;
  }
  .menu li
  {
    margin: 0;
  }
  .menu a
  {
    min-height: 40px;
    padding: 0 10px;
    font-size: 21px;
    line-height: 1.9em;
  }
}

@media screen and (min-width: 480px)
{
  .feat-inner 
  {
    display: flex;
    align-items: flex-end;
  }
  .feat-txt
  {
    box-sizing: border-box;
    width: 60%;
    flex: 1 1 auto;
  }
  .feat-txt p a
  {
    width: auto;
  }
  .feat-img
  {
    width: 40%;
    flex: 1 1 auto;
    margin-top: 0;
  }
}

@media screen and (min-width: 640px)
{
  .feat-inner 
  {
    display: block;
    position: relative;
  }
  .feat-txt
  {
    width: 65%;
    flex: none;
  }
  .feat-txt p
  {
    font-size: 21px;
    line-height: 1.333;
  }
  .feat-img
  {
    width: 45%;
    flex: none;
    position: absolute;
    bottom: 0;
    right: 0;
  }

  /* FEATURE PHOTO EXTENDS INTO MENU BAR */
  .main-nav figure {
    display: block;
    position: absolute;
    width: 45%;
    right: 0;
    top: 0;
    bottom: 0;
    overflow: hidden;
    margin: 0;
    opacity: 10%;
    mix-blend-mode: multiply;
  } 
  .main-nav figure img {
    display: block;
    width: 100%;
    position: absolute;
    bottom: 0;
  } 
}

@media screen and (min-width: 720px)
{
  .feat-img
  {
    width: 40%;
  }
  .main-nav figure {
    width: 40%;
  }
  .feat-txt p
  {
    font-size: 24px;
    line-height: 1.333;
  }
}

@media screen and (min-width: 800px)
{
  h1 
  {
    font-size: 42px;
    line-height: 48px;
  }
  h2 
  {
    font-size: 32px;
    line-height: 1.2;
  }
  h3
  {
    font-size: 24px;
  }
  p, li 
  {
    font-size: 21px;
    line-height: 1.6667;
  }


  /* SITE HEADLINES */
  .site-headline
  {
    padding-top: 20px;
    font-size: 54px;
    line-height: 1;
  }
  .site-subheadline
  {
    margin: 12px 0 18px;
    font-weight: 400;
    font-size: 24px;
    line-height: 1;
  }
  
  /* MAIN MENU */
  .menu
  {
    padding: 0;
  }
  .menu a
  {
    min-height: 50px;
    padding: 0 25px;
    font-size: 24px;
    line-height: 2;
  }

  /* FEATURE ON HOMEPAGE */
  .feat-txt
  {
    width: 60%;
  }
  .feat-img
  {
    width: 35%;
  }
  .feat-txt p
  {
    font-size: 26px;
    line-height: 1.5;
  }
  .main-nav figure {
    width: 35%;
  }
 
  /* CASES */
  .case-content
  {
    display: flex;
    flex-direction: row-reverse;
    align-items: center;
    gap: 30px 40px;
  }
  .case-content .case-client-logo
  {
    flex: 1 1 auto;
    max-width: 360px;
  }
  .case-client-logo img
  {
    width: 100%;
  }
  .case-intro {
    flex: 1 1 auto;
    width: 60%;
  }
}


