/*
==========================================
  Reset
==========================================
*/
html, body, div, span, applet, object, iframe,
h1, h2, h3, h4, h5, h6, p, blockquote, pre,
a, abbr, acronym, address, big, cite, code,
del, dfn, em, img, ins, kbd, q, s, samp,
small, strike, strong, sub, sup, tt, var,
b, u, i, center, dl, dt, dd, ol, ul, li,
fieldset, form, label, legend,
table, caption, tbody, tfoot, thead, tr, th, td,
article, aside, canvas, details, embed,
figure, figcaption, footer, header, hgroup,
menu, nav, output, ruby, section, summary,
time, mark, audio, video, #wrapper {
    margin: 0;
    padding: 0;
    border: 0;
    font-size: 100%;
    font: inherit;
    vertical-align: baseline;
    text-decoration: none;
    outline: none;
    list-style: none;
}

/* HTML5 display-role reset for older browsers */
article, aside, details, figcaption, figure, footer, header, hgroup, menu, nav, section {
    display: block;
}

body {
    line-height: 1;
}

ol, ul {
    list-style: none;
}

blockquote, q {
    quotes: none;
}

blockquote:before, blockquote:after, q:before, q:after {
    content: '';
    content: none;
}

table {
    border-collapse: collapse;
    border-spacing: 0;
}

/*
==========================================
  
  General
  
  Logo Font: Open Sans

  Colours:

  Dark: #222
  Light: #e3dcd4 / #e3dcd4
  Accent: #c0a496ff / #c0a496

==========================================
*/
* {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

html, body {
  height: 100%;
  width: 100%;
  font-family: "Open Sans", sans-serif;
  font-optical-sizing: auto;
  font-weight: 100;
  font-style: normal;
  font-variation-settings: "wdth" 100;
  color: #222;
  background-color: #e3dcd4;
  line-height: 1.75rem;
  text-underline-offset: 0.35rem;
}

h1 {
  font-size: 2.2rem;
  margin-bottom: 2.5em;
  line-height: 1.5em;
}

h1:after {
  content: '';
  position: relative;
  display: block;
  border-bottom: 2px solid #c0a496;
  padding-bottom: 1em;
  padding-left: 0.3em;
  padding-right: 2.5em;
  bottom: 0;
  left: 0;
}

h3 {
  color: #c0a496;
  font-size: 1.2em;
  margin-bottom: 0.5em;
  font-weight: 400;
}

a {
  color: #222;
  transition: 0.3s;
  text-decoration-line: underline;
  text-decoration-color: #c0a496;
}

a:hover {
  color: #c0a496;
}

b {
  font-weight: bold;
}

li::marker {
  color: #c0a496;
  font-size: 1.4em;
}

.page-wrapper {
  display: flex;
  flex-direction: column;
  min-height: 100vh;
}

.container {
  display: flex;
  height: 100vh;
  flex-direction: row;
  align-items: stretch;
}

.half {
  padding: 2rem;
}

.left {
  background-color: #222;
  flex: 0 0 50%;
  display: flex;
  flex-direction: column;
  justify-content: center; /* centers logo initially */
  align-items: center;
  position: sticky;
  top: 0;
  height: 100vh;
  padding: 2rem;
  border-right: 2px solid #c0a496;
}

.left a img {
  max-width: 60%;
  height: auto;
}

.logo {
  display: flex;
  justify-content: center;
  align-items: center;
  height: 100%;
}

.logo a {
  display: block;
  text-align: center;
}

.logo img {
  max-width: 60%;
  height: auto;
  display: block;
  margin: 0 auto;
}

.right {
  flex: 1;
  overflow-y: auto;
}

.right .content {
  max-width: 600px;
  margin: 0 auto;
  padding-bottom: 6rem; /* space for footer */
}

.right p {
  margin-bottom: 1rem;
}

.right img {
  max-width: 100%;
  height: auto;
  margin-top: 2rem;
}

.content {
  padding-top: 30vh; /* 50% of viewport or max 10rem */
  padding-bottom: 6rem; /* space for footer */
}

.content section {
  padding-bottom: 3rem;
}

.content section p {
  padding-left: 1em;
}

.menu {
  margin-top: auto; /* pushes menu to bottom */
  text-align: center;
  width: 100%;
}

.menu ul {
  list-style: none;
  padding: 0;
  margin: 2rem 0 0;
}

.menu li {
  margin: 0.5rem 0;
}

.menu a {
  text-decoration: none;
  color: #c0a496;
  font-weight: 600;
  letter-spacing: 0.2rem;
  text-underline-offset: 0.5em;
}

.menu a:hover {
  color: #e3dcd4;
  text-decoration: underline;
}  

.menu a.active {
  color: #e3dcd4;
  text-decoration: underline;
}  

.sub-title {
  padding-bottom: 1em;
  color: #c0a496;
  font-size: 1.5em;
  font-style: italic;
  font-weight: 400;
  text-transform: lowercase;
}

.tag-line {
  font-style: italic;
  font-size: 1.1em;
  font-weight: 400;
  color: #c0a496;
  padding: 1em;
  padding-left: 1em;
  margin-left: 2em;
  display: block;
  border-left: 2px solid #c0a496;
}

.inset {
  padding-left: 4rem;
}

#copyright {
  color: #c0a496;
  padding-top: 1rem;
  font-size: 0.8rem;
}

.service-list {
  position: relative;
  line-height: 2.1rem;
  text-transform: lowercase;
}

.service-list li {
  list-style: none;
  padding-bottom: 1rem;
}

.service-list li:before {
    content: '>';
    font-size: 15px;
    font-style: normal;
    font-weight: 400;
    color: #c0a496;
    width: 10px;
    margin-right: 7px;
    position: absolute;
    margin-left: -1rem;
    display: inline-block;
}

.service-list a {
  text-decoration-line: none;
  border-bottom: 1px solid #c0a496;
  padding-bottom: 0.5em;
  padding-right: 2.5em;
}

.service-list a:hover {
  /* color: inherit; */
  /*text-decoration-line: underline;*/
  padding-right: 5em;
}

.service-list-long p {
  /*font-size: 0.9em;*/
}

.service-list-long li {
  text-decoration: none;
  list-style: none;
}

.glossary { 
  text-decoration-line: underline;
}



/*====================================
   Footer
======================================*/

.footer {
  color: #222;
  max-width: 600px;
  margin: 0 auto;
  padding-left: 1em;
  padding-top: 3.5em;
  border-top: 2px solid #c0a496;
  position: relative;
}

.footer:before {
  content: '';
  color: #222;
  width: 100%;
  padding-top: 2em;
  border-top: 2px solid #c0a496;
  display: block;
  position: absolute;
  top: 0.5em;
  left: 0;

}

.footer section {
  padding-left: 2em;
}

#get-in-touch {
  font-style: italic;
  color: #c0a496;
  font-weight: 400;
  font-size: 1.5em;
  margin-bottom: 2em;
}

.footer ul {
  margin-bottom: 2em;
  font-weight: 400;
}

.footer p {
  color: #c0a496;
}

.footer p span {
  font-size: 0.8em;
}

.footer img {
  max-width: 50px;
  opacity: 50%;
}

#footer-logo img {
  max-width: 100px;
}


/*====================================
   Page CSS
======================================*/
#index .service-list {
  font-weight: 400;
}

#index .content p {
  margin-bottom: 3em;
}

#knx-partner {
  max-width: 100px;
  display: block;
  padding-left: 1em;
}

/*====================================
   Mobile
======================================*/

/* Mobile Styles */
@media (max-width: 768px) {
  .container {
    flex-direction: column;
    height: auto;
  }

  .left {
    position: static;
    height: auto;
    flex: 1;
    border-right: none;  /* clear border */
  }

  .right {
    overflow-y: visible;
  }

  .right .content {
    padding-bottom: 2rem;
  }

  .content {
    padding-top: 4rem; /* Clear pad */
  }

  .left a img {
    max-width: 45%;
  }
} 