/* stylelint-disable order/properties-alphabetical-order */
/* stylelint-enable */
@import 'http://fonts.googleapis.com/css?family=Work+Sans:100,200,300,400,500,600,700,800,900';
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 {
  margin: 0;
  padding: 0;
  border: 0;
  font: inherit;
  font-size: 100%;
  vertical-align: baseline;
}

html {
  line-height: 1;
}

ol, ul {
  list-style: none;
}

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

caption, th, td {
  text-align: left;
  font-weight: normal;
  vertical-align: middle;
}

q, blockquote {
  quotes: none;
}

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

a img {
  border: none;
}

article, aside, details, figcaption, figure, footer, header, hgroup, main, menu, nav, section, summary {
  display: block;
}

* {
  box-sizing: border-box;
}

html, body {
  width: 100%;
  height: 100%;
}

body {
  margin: 0;
  padding: 0;
  font-family: 'Work Sans', sans-serif;
  font-weight: 400;
  font-height: 16px;
  line-height: 1.3;
  padding-bottom: 10px;
  width: 100%;
  height: 100%;
}

/* ###############    HEADER    #################### */
header {
  background: #FFFFFF;
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  padding: 10px 30px;
  z-index: 900;
  border-bottom: 1px solid #000000;
}

.HeaderHolder {
  display: -webkit-box;
  display: flex;
  -webkit-box-orient: horizontal;
  -webkit-box-direction: normal;
  flex-direction: row;
  -webkit-box-pack: justify;
  justify-content: space-between;
  -webkit-box-align: center;
  align-items: center;
  width: 100%;
}

.HeaderLeft {
  position: relative;
  margin-left: 50px;
  width: 150px;
}

.HeaderRight {
  text-align: right;
  width: 100%;
  font-family: 'Work Sans', sans-serif;
  font-weight: 500;
  font-size: 30px;
  letter-spacing: 1.3px;
  line-height: 1;
  vertical-align: middle;
}

.HeaderRight h4 {
  padding: 0;
}

.HeaderMenu {
  width: 150px;
  text-align: right;
  margin: 0;
  padding: 0;
}

.MenuText {
  font-family: 'Work Sans', sans-serif;
  font-weight: 300;
  font-size: 16px;
}

.MenuImage {
  vertical-align: middle;
  width: 20px;
}

.cjj_logo {
  display: block;
  width: 100px;
  margin: 0;
  padding: 0;
  line-height: 0;
}

/* ###############    FOOTER    #################### */
footer {
  background: #FFFFFF;
  position: fixed;
  bottom: 0;
  left: 0;
  width: 100%;
  padding: 10px 30px;
  background: #000000;
  z-index: 900;
}

.FooterHolder {
  display: -webkit-box;
  display: flex;
  -webkit-box-orient: horizontal;
  -webkit-box-direction: normal;
  flex-direction: row;
  -webkit-box-pack: justify;
  justify-content: space-between;
  -webkit-box-align: center;
  align-items: center;
  width: 100%;
}

.FooterLeft {
  width: 50%;
  color: #FFFFFF;
  font-size: 14px;
}

.FooterRight {
  text-align: right;
  width: 50%;
  font-size: 14px;
}

.FooterRight .fa-globe {
  color: #ffffff;
}

.FooterRight a {
  color: #FFFFFF;
  text-decoration: none;
}

.FooterRight a:hover {
  color: #FFFF00;
}

/* ###############    SECTION   #################### */
section {
  position: relative;
  box-sizing: border-box;
  display: flex;
  align-content: center;
  justify-content: flex-end;
  width: 100%;
  min-height: calc(100% - 79px);
  padding: 100px 50px;
  border-top: 1px solid #cccccc;
}

/* ###############    ELEMENTS   #################### */
.GreyTextBox {
  margin: 100px 0 100px 0;
  width: 50%;
  padding: 30px;
  background: #cccccc;
}

.BottomRedBox {
  position: fixed;
  bottom: 0;
  right: 30px;
  width: 200px;
  background: #7B1205;
  height: 60px;
  z-index: 10;
}

h1 {
  font-family: 'Work Sans', sans-serif;
  font-weight: 400;
  font-size: 40px;
  margin-bottom: 30px;
  color: #7B1205;
}

h2 {
  font-family: 'Work Sans', sans-serif;
  font-weight: 200;
  font-size: 150%;
  margin-top: 30px;
  color: #7B1205;
}

h3 {
  font-family: 'Work Sans', sans-serif;
  font-weight: 400;
  font-size: 20px;
  padding: 0 0 10px 0;
  color: #7B1205;
}

h4 {
  font-family: 'Work Sans', sans-serif;
  font-weight: 200;
  font-size: 100%;
  padding: 0 0 10px 0;
}

h5 {
  font-family: 'Work Sans', sans-serif;
  font-weight: 200;
  font-size: 100%;
  padding: 0 0 10px 0;
}

h6 {
  font-family: 'Work Sans', sans-serif;
  font-weight: 200;
  font-size: 100%;
  padding: 0 0 10px 0;
}

p {
  font-family: 'Work Sans', sans-serif;
  font-weight: 400;
  line-height: 1.3;
  padding-bottom: 10px;
}

p:last child {
  padding-bottom: 0;
}

.Page1Image {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  -webkit-clip-path: polygon(0 0, 100% 0, 100% 100%, 0 100%);
  clip-path: polygon(0 0, 50% 0, 70% 100%, 0 100%);
  background-position: center center;
  background-repeat: no-repeat;
  background-size: cover;
  z-index: -1;
}

@-webkit-keyframes overlay1 {
  0% {
    left: -20%;
  }
  100% {
    left: 0%;
  }
}

@keyframes overlay1 {
  0% {
    left: -20%;
  }
  100% {
    left: 0%;
  }
}

@-webkit-keyframes overlay2 {
  0% {
    left: -25%;
  }
  100% {
    left: 0%;
  }
}

@keyframes overlay2 {
  0% {
    left: -25%;
  }
  100% {
    left: 0%;
  }
}

@-webkit-keyframes overlay3 {
  0% {
    left: -20%;
  }
  100% {
    left: 0%;
  }
}

@keyframes overlay3 {
  0% {
    left: -20%;
  }
  100% {
    left: 0%;
  }
}

.Page1Overlay1 {
  -webkit-animation-name: overlay1;
  animation-name: overlay1;
  -webkit-animation-duration: 10s;
  animation-duration: 10s;
  -webkit-animation-timing-function: ease-in-out;
  animation-timing-function: ease-in-out;
  -webkit-animation-iteration-count: infinite;
  animation-iteration-count: infinite;
  -webkit-animation-direction: alternate;
  animation-direction: alternate;
  top: 0;
  position: absolute;
  width: 100%;
  height: 100%;
  background: #FFFFFF;
  opacity: 0.2;
  align: right;
  -webkit-clip-path: polygon(calc(50% - 80px) 0, 50% 0, 70% 100%, calc(70% - 80px) 100%);
  clip-path: polygon(calc(50% - 80px) 0, 50% 0, 70% 100%, calc(70% - 80px) 100%);
}

.Page1Overlay2 {
  -webkit-animation-name: overlay2;
  animation-name: overlay2;
  -webkit-animation-duration: 8s;
  animation-duration: 8s;
  -webkit-animation-timing-function: ease-in-out;
  animation-timing-function: ease-in-out;
  -webkit-animation-iteration-count: infinite;
  animation-iteration-count: infinite;
  animation-direction: alternate-reverse;
  top: 0;
  left: 0;
  position: absolute;
  width: 100%;
  height: 100%;
  background: #FFFFFF;
  opacity: 0.2;
  -webkit-clip-path: polygon(calc(50% - 120px) 0, 50% 0, 70% 100%, calc(70% - 120px) 100%);
  clip-path: polygon(calc(50% - 120px) 0, 50% 0, 70% 100%, calc(70% - 120px) 100%);
}

.Page1Overlay3 {
  -webkit-animation-name: overlay3;
  animation-name: overlay3;
  -webkit-animation-duration: 6s;
  animation-duration: 6s;
  -webkit-animation-timing-function: ease-in-out;
  animation-timing-function: ease-in-out;
  -webkit-animation-iteration-count: infinite;
  animation-iteration-count: infinite;
  -webkit-animation-direction: alternate;
  animation-direction: alternate;
  top: 0;
  left: -100%;
  position: absolute;
  width: 100%;
  height: 100%;
  background: #FFFFFF;
  opacity: 0.2;
  -webkit-clip-path: polygon(calc(50% - 300px) 0, 50% 0, 70% 100%, calc(70% - 300px) 100%);
  clip-path: polygon(calc(50% - 300px) 0, 50% 0, 70% 100%, calc(70% - 300px) 100%);
}

section.services {
  flex-direction: column;
}

article.services {
  display: flex;
  flex-wrap: wrap;
  padding-bottom: 50px;
  justify-content: space-between;
  width: 100%;
}

.servicesholder {
  display: flex;
  width: 31.5%;
  flex-direction: column;
  padding: 30px 10px 0 10px;
  margin-bottom: 30px;
  border: 1px solid #7B1205;
}

.servicesimages {
  border-radius: 50%;
  height: 0;
  padding-bottom: 75%;
  width: 75%;
  margin: 0 auto;
  overflow: hidden;
  border: 1px solid #7B1205;
}

.servicesimages img {
  width: 102%;
}

.servicessubhead {
  font-family: 'Work Sans', sans-serif;
  font-weight: 400;
  font-size: 150%;
  margin: 20px 0px;
  color: #7B1205;
}

section.submission {
  position: relative;
  display: block;
  width: 100%;
  height: 100%;
}

.submissionImage {
  position: absolute;
  top: 0;
  right: 0;
  width: 70%;
  height: 100%;
  -webkit-clip-path: polygon(30% 0, 100% 0, 100% 100%, 0 100%);
  clip-path: polygon(30% 0, 100% 0, 100% 100%, 0 100%);
  background-position: center center;
  background-repeat: no-repeat;
  background-size: cover;
}

.GreyTextBoxLeft {
  position: absolute;
  top: 50%;
  left: 0;
  width: 50%;
  -webkit-transform: translate(0, -50%);
  transform: translate(0, -50%);
  padding: 30px;
  background: #cccccc;
}

section.projectlist {
  flex-direction: column;
}

article.projectlist {
  display: flex;
  flex-wrap: wrap;
  padding-bottom: 50px;
  width: 100%;
}

.projectlistholder {
  position: relative;
  display: flex;
  width: 31.5%;
  flex-direction: column;
  padding: 30px 10px 0 10px;
  margin-right: 2.6%;
  margin-bottom: 30px;
  border: 1px solid #7B1205;
}

.projectlistholder:nth-child(3n+0) {
  margin-right: 0;
}

.projectlistimages {
  border-radius: 50%;
  height: 0;
  padding-bottom: 75%;
  width: 75%;
  margin: 0 auto;
  overflow: hidden;
  border: 1px solid #7B1205;
  background-size: cover;
  background-position: center;
  background-repeat: no-repeat;
}

.projectlistimages img {
  width: 102%;
}

.projectlistsubhead {
  font-family: 'Work Sans', sans-serif;
  font-weight: 400;
  font-size: 150%;
  margin: 20px 0px;
  color: #7B1205;
}

.projectlistlink {
  position: absolute;
  display: flex;
  justify-content: center;
  align-items: center;
  top: 0;
  bottom: 0;
  left: 0;
  right: 0;
  background: black;
  opacity: 0;
  text-decoration: none;
}

.projectlistlink:hover {
  opacity: 0.8;
}

.projectlistoverlay {
  color: white;
}

section.project {
  flex-direction: column;
  box-sizing: border-box;
  width: 100%;
  padding: 100px 50px 0;
}

.project_holder {
  display: flex;
  width: 100%;
}

article.project {
  padding-bottom: 50px;
  width: 55%;
}

aside {
  display: block;
  padding-bottom: 50px;
  width: 40%;
  margin-left: 5%;
}

aside img {
  width: 100%;
}

.rowholder {
  display: flex;
  width: 100%;
}

.formlabel {
  width: 15%;
  text-align: right;
}

.formlabel span {
  font-size: 14px;
  padding-left: 2vpx;
  color: red;
}

.formfield {
  width: 100%;
  padding-left: 2%;
  padding-bottom: 10px;
  text-align: right;
}

.formfield input {
  font-size: 16px;
  padding: 5px;
  width: 100%;
  height: 30px;
  border-radius: 10px;
}

.formfield textarea {
  font-size: 16px;
  padding: 5px;
  width: 100%;
  height: 100px;
  border-radius: 10px;
}

.submit {
  text-align: right;
}

.professionallogosholder {
  display: flex;
  width: 100%;
}

.professionallogosholder > div {
  width: 33%;
  text-align: center;
}

.professionallogosholder > div img {
  width: 60%;
}

nav {
  position: fixed;
  top: 15px;
  left: 0;
  z-index: 950;
}

#menuToggle {
  display: block;
  position: relative;
  top: 15px;
  left: 15px;
  z-index: 1;
  -webkit-user-select: none;
  user-select: none;
}

#menuToggle a {
  text-decoration: none;
  color: #232323;
  transition: color 0.3s ease;
}

#menuToggle a:hover {
  color: tomato;
}

#menuToggle input {
  display: block;
  width: 40px;
  height: 32px;
  position: absolute;
  top: -7px;
  left: -5px;
  cursor: pointer;
  opacity: 0;
  /* hide this */
  z-index: 2;
  /* and place it over the hamburger */
  -webkit-touch-callout: none;
}

/*
 * Just a quick hamburger
 */
#menuToggle span {
  display: block;
  width: 33px;
  height: 4px;
  margin-bottom: 5px;
  position: relative;
  background: #cdcdcd;
  border-radius: 3px;
  z-index: 1;
  transform-origin: 4px 0px;
  transition: transform 0.5s cubic-bezier(0.77, 0.2, 0.05, 1), background 0.5s cubic-bezier(0.77, 0.2, 0.05, 1), opacity 0.55s ease;
}

#menuToggle span:first-child {
  transform-origin: 0% 0%;
}

#menuToggle span:nth-last-child(2) {
  transform-origin: 0% 100%;
}

/* 
 * Transform all the slices of hamburger
 * into a crossmark.
 */
#menuToggle input:checked ~ span {
  opacity: 1;
  transform: rotate(45deg) translate(-2px, -1px);
  background: #232323;
}

/*
 * But let's hide the middle one.
 */
#menuToggle input:checked ~ span:nth-last-child(3) {
  opacity: 0;
  transform: rotate(0deg) scale(0.2, 0.2);
}

/*
 * Ohyeah and the last one should go the other direction
 */
#menuToggle input:checked ~ span:nth-last-child(2) {
  transform: rotate(-45deg) translate(0, -1px);
}

/*
 * Make this absolute positioned
 * at the top left of the screen
 */
#menu {
  position: absolute;
  width: 300px;
  margin: -100px 0 0 -50px;
  padding: 50px;
  padding-top: 125px;
  background: #ededed;
  list-style-type: none;
  -webkit-font-smoothing: antialiased;
  /* to stop flickering of text in safari */
  transform-origin: 0% 0%;
  transform: translate(-100%, 0);
  transition: transform 0.5s cubic-bezier(0.77, 0.2, 0.05, 1);
}

#menu li {
  padding: 10px 0;
  font-size: 22px;
}

/*
 * And let's slide it in from the left
 */
#menuToggle input:checked ~ ul {
  transform: none;
}
