/*

Theme Name: Josh Motlong Pro
Theme URI: http://client.com/
Author: Josh Motlong
Author URI: http://joshmotlong.com/
Description: A Wordpress Theme
Version: 1.0.0
Template: pro

*/
.wide {
  display: block;
  max-width: 780px;
  margin-left: auto;
  margin-right: auto;
}

.narrow {
  display: block;
  max-width: 680px;
  margin-left: auto;
  margin-right: auto;
}

.narrower {
  display: block;
  max-width: 480px;
  margin-left: auto;
  margin-right: auto;
}

@keyframes swipe {
  0% {
    left: 0;
    width: 0;
  }
  50% {
    width: 100%;
  }
  100% {
    right: 0;
    left: auto;
    width: 0;
  }
}
.swipe {
  animation-name: swipe;
  animation-duration: 0.2s;
  animation-delay: 0s;
  animation-iteration-count: forwards;
  animation-timing-function: cubic-bezier(0.46, 0, 0.07, 1);
  animation-direction: normal;
}

@keyframes window {
  0% {
    left: 0;
    width: 0;
  }
  50% {
    width: 100%;
  }
  100% {
    width: 0;
    right: 0;
    left: auto;
  }
}
.window {
  animation-name: window;
  animation-duration: 0.3s;
  animation-delay: 0s;
  animation-iteration-count: initial;
  animation-timing-function: cubic-bezier(0.46, 0, 0.07, 1);
  animation-direction: normal;
}

body {
  font-family: "Source Sans Pro", "source-sans-pro", Frutiger, "Frutiger Linotype", Univers, Calibri, "Gill Sans", "Gill Sans MT", "Myriad Pro", Myriad, "DejaVu Sans Condensed", "Liberation Sans", "Nimbus Sans L", Tahoma, Geneva, "Helvetica Neue", Helvetica, Arial, sans-serif;
}

.entry-content h1, .entry-content .h1 {
  font-size: 2.5em;
}
.entry-content h2, .entry-content .h2 {
  font-size: 2.2em;
}
.entry-content h3, .entry-content .h3 {
  font-size: 1.75em;
}
.entry-content h4, .entry-content .h4 {
  font-size: 1.25em;
}
.entry-content h5, .entry-content .h5 {
  font-size: 1em;
}
.entry-content h6, .entry-content .h6 {
  font-size: 0.75em;
}

.single-post .h-landmark, .page.page-template-default .h-landmark, .page.page-template-template-layout-full-width .h-landmark, .blog .h-landmark, .archive .h-landmark, .category .h-landmark, .search .h-landmark {
  font-size: 2em;
}

.single-post .entry-title {
  font-size: 2em;
}

.page.page-template-default .entry-title, .page.page-template-template-layout-full-width .entry-title {
  font-size: 2.25em;
}

.blog .entry-title, .archive .entry-title, .category .entry-title, .search .entry-title {
  font-size: 1.5em;
}

.single-post .p-meta, .page.page-template-default .p-meta, .page.page-template-template-layout-full-width .p-meta, .blog .p-meta, .archive .p-meta, .category .p-meta, .search .p-meta {
  font-size: 16px;
  color: rgba(44, 44, 44, 0.65);
}

.single-post .entry-footer {
  font-size: 1em;
}

aside.x-sidebar h4.h-widget {
  font-size: 1.5em;
}

aside.x-sidebar .widget div,
aside.x-sidebar .widget li {
  font-size: 1em;
}

.x-colophon.top h4.h-widget {
  font-size: 1.5em;
}

.x-colophon.top .widget div,
.x-colophon.top .widget li {
  font-size: 1em;
}

* {
  box-sizing: border-box;
}

html {
  overflow-x: hidden;
}

body {
  font-family: "Source Sans Pro", "source-sans-pro", Frutiger, "Frutiger Linotype", Univers, Calibri, "Gill Sans", "Gill Sans MT", "Myriad Pro", Myriad, "DejaVu Sans Condensed", "Liberation Sans", "Nimbus Sans L", Tahoma, Geneva, "Helvetica Neue", Helvetica, Arial, sans-serif;
  color: #2C2C2C;
}

em {
  font-style: italic;
}

strong {
  font-weight: 700;
}

img {
  max-width: 100%;
}

a {
  text-decoration: none;
}

.clear {
  clear: both;
}

.center {
  text-align: center;
}

a:focus, select:focus, input[type=file]:focus, input[type=radio]:focus, input[type=submit]:focus, input[type=checkbox]:focus {
  outline: none !important;
}

::-moz-placeholder {
  color: #2C2C2C !important;
  opacity: 1 !important;
}

::-moz-placeholder {
  color: #2C2C2C !important;
  opacity: 1 !important;
}

::-webkit-input-placeholder {
  color: #2C2C2C !important;
  opacity: 1 !important;
}

:-moz-placeholder { /* Firefox 18- */
  color: #2C2C2C !important;
  opacity: 1 !important;
}

::-moz-placeholder { /* Firefox 19+ */
  color: #2C2C2C !important;
  opacity: 1 !important;
}

:-ms-input-placeholder {
  color: #2C2C2C !important;
  opacity: 1 !important;
}

datalist {
  font-family: "Source Sans Pro", "source-sans-pro", Frutiger, "Frutiger Linotype", Univers, Calibri, "Gill Sans", "Gill Sans MT", "Myriad Pro", Myriad, "DejaVu Sans Condensed", "Liberation Sans", "Nimbus Sans L", Tahoma, Geneva, "Helvetica Neue", Helvetica, Arial, sans-serif !important;
  font-size: 1rem;
}

label {
  display: block;
  margin: 10px 0;
}

textarea {
  -webkit-appearance: none;
  overflow: auto;
}

input[type=range] {
  height: 2.5em !important;
  width: 100%;
  max-width: 100%;
}

input[type=file] {
  min-height: 2.5em !important;
}

input[type=search] {
  height: 2.5em !important;
  -webkit-appearance: none;
}

input[type=search]::-webkit-search-cancel-button,
input[type=search]::-webkit-search-decoration {
  -webkit-appearance: none;
}

input[type=checkbox],
input[type=radio] {
  display: inline-block;
  vertical-align: middle;
}

select {
  height: 2.5em !important !important;
  font-size: 1rem !important;
  -webkit-appearance: none; /*Removes default chrome and safari style*/
  -moz-appearance: none; /* Removes Default Firefox style*/
  appearance: none;
  background-image: url("/wp-content/uploads/icon-select-down.svg") !important;
  background-repeat: no-repeat;
  background-position: right 0.75em center;
  width: 100%; /*Width of select dropdown to give space for arrow image*/
  text-indent: 0.01px; /* Removes default arrow from firefox*/
  text-overflow: ""; /*Removes default arrow from firefox*/ /*My custom style for fonts*/
  box-shadow: none;
  padding-right: 0 !important;
}
select option {
  padding: 0.5em 0 0.5em 1em;
  margin: 0;
  background: white;
  color: #2C2C2C;
  font-size: 0.95rem !important;
}
select option:focus {
  margin: 0;
  border: none;
}

select[multiple] {
  height: auto;
  min-height: 2.5em !important;
  padding: 0;
}
select[multiple] option {
  margin: 0;
  padding: 2.5em !important/3;
}

fieldset {
  padding: 10px 25px;
  border-radius: 2px;
  border: 1px solid #cccccc;
}

legend {
  padding: 0 5px;
  font-weight: 700;
}

input[disabled],
textarea[disabled],
select[disabled],
option[disabled],
button[disabled] {
  cursor: not-allowed;
}

input:focus,
textarea:focus,
select:focus,
option:focus,
button:focus {
  background-color: #F7F6F4 !important;
  border-color: #EAB75B;
}

input[type=checkbox]:focus,
input[type=radio]:focus {
  outline: #EAB75B solid 2px;
}

/* Buttons, Input Type Submit/Reset ------------------ */
/* Buttons, Input Type Submit/Reset ------------------ */
body:not(.mce-btn) button:not(.x-off-canvas-close):not(.x-modal-close):not(.wc-forward), body:not(.mce-btn) .button, body:not(.mce-btn) .btn, body:not(.mce-btn) .x-btn, body:not(.mce-btn) .gform_button,
body:not(.mce-btn) input[type=button],
body:not(.mce-btn) input[type=submit],
body:not(.mce-btn) input[type=reset],
body:not(.mce-btn) input[type=image] {
  cursor: pointer;
  -webkit-appearance: none;
  -moz-appearance: none;
}

input[type=image] {
  text-align: center;
  padding: 2.5em !important/5;
}

.page-template-default .entry-content.content .x-container.width {
  width: 100%;
}

.single-post .entry-content.content .x-container.width {
  width: 100%;
}

figure img + br,
figure a + br,
figure img + p,
figure a + p {
  display: none;
}

.ilightbox-overlay {
  background: black !important;
  opacity: 0.85 !important;
}

.ilightbox-loader {
  display: none !important;
}

.ilightbox-holder {
  border: none !important;
  padding: 0 !important;
  background: transparent;
}
.ilightbox-holder .ilightbox-container {
  background: #2C2C2C !important;
  box-shadow: 20px 25px 45px 0 rgba(0, 0, 0, 0.55), -20px 25px 45px 0 rgba(0, 0, 0, 0.55);
}

.ilightbox-toolbar {
  top: 1.5em !important;
  right: 1.5em !important;
  left: auto !important;
  height: auto !important;
  border: none !important;
  background-color: transparent !important;
}
.ilightbox-toolbar a.ilightbox-close {
  width: 32px !important;
  height: 32px !important;
  color: white;
}
.ilightbox-toolbar a.ilightbox-close:before {
  content: "" !important;
  top: 0;
  right: 0;
  bottom: 0;
  left: 0;
  position: absolute;
  background: transparent url("assets/icon-close-white.svg") center center no-repeat;
  background-size: contain;
}
.ilightbox-toolbar a.ilightbox-fullscreen {
  display: none !important;
}

.site-intro .screen {
  position: relative;
}
.site-intro .screen:before {
  display: block;
  content: "";
  width: 100%;
  padding-top: 89.0909090909%;
}
.site-intro .screen > .content {
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
}
.site-intro .screen .x-div {
  background-image: linear-gradient(203deg, rgba(44, 46, 59, 0.9) 0%, rgba(39, 41, 51, 0.2) 60%);
}

.screen-ratio {
  position: relative;
}
.screen-ratio:before {
  display: block;
  content: "";
  width: 100%;
  padding-top: 89.0909090909%;
}
.screen-ratio > .content {
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
}

@keyframes grain {
  0%, 100% {
    transform: translate(0, 0);
  }
  10% {
    transform: translate(-5%, -10%);
  }
  20% {
    transform: translate(-15%, 5%);
  }
  30% {
    transform: translate(7%, -25%);
  }
  40% {
    transform: translate(-5%, 25%);
  }
  50% {
    transform: translate(-15%, 10%);
  }
  60% {
    transform: translate(15%, 0%);
  }
  70% {
    transform: translate(0%, 15%);
  }
  80% {
    transform: translate(3%, 35%);
  }
  90% {
    transform: translate(-10%, 10%);
  }
}
.tv > .x-bg .x-bg-layer-lower-image {
  z-index: -1;
}
.tv > .x-bg .x-bg-layer-lower-image:before {
  content: "";
  animation: grain 8s steps(10) infinite;
  background-image: url(/wp-content/uploads/bg-grain.png);
  height: 300%;
  width: 300%;
  position: fixed;
  z-index: -1;
  top: -100%;
  left: -50%;
  opacity: 0.5;
}

.form-project-inquiry fieldset {
  padding: 0;
  border: none;
}
.form-project-inquiry fieldset legend {
  display: none;
}
.form-project-inquiry fieldset li.gfield {
  margin: 0 0 1rem !important;
  padding: 0 !important;
}
.form-project-inquiry fieldset h2 {
  font-family: "Source Sans Pro", "source-sans-pro", Frutiger, "Frutiger Linotype", Univers, Calibri, "Gill Sans", "Gill Sans MT", "Myriad Pro", Myriad, "DejaVu Sans Condensed", "Liberation Sans", "Nimbus Sans L", Tahoma, Geneva, "Helvetica Neue", Helvetica, Arial, sans-serif !important;
  font-size: 2rem !important;
}
.form-project-inquiry fieldset p {
  font-size: 1rem !important;
  line-height: 1.6;
}
.form-project-inquiry .inquiry-introduction,
.form-project-inquiry .timeline {
  max-width: 950px;
  margin: 0 auto;
}
.form-project-inquiry .inquiry-introduction {
  padding: calc(2.5rem + 2vw) 0 calc(2.5rem + 4vw);
}
.form-project-inquiry .inquiry-introduction ul.gform_fields {
  display: flex;
  flex-direction: row;
  flex-wrap: wrap;
  justify-content: space-between;
}
.form-project-inquiry .inquiry-introduction .gfield_html {
  display: flex;
  flex: 1 1 100%;
}
@media screen and (max-width: 768px) {
  .form-project-inquiry .inquiry-introduction .gfield_html {
    flex-direction: column;
  }
  .form-project-inquiry .inquiry-introduction .gfield_html h2 {
    text-align: center;
  }
}
.form-project-inquiry .inquiry-introduction .gfield_html h2, .form-project-inquiry .inquiry-introduction .gfield_html p {
  flex: 1 1 47.5%;
}
.form-project-inquiry .inquiry-introduction .gfield:not(.gfield_html) {
  flex: 0 0 47.5%;
  padding: 0;
}
.form-project-inquiry .inquiry-introduction .gfield:not(.gfield_html) label {
  position: absolute;
  top: -999vh;
  left: -999vw;
  visibility: hidden;
}
.form-project-inquiry .interest {
  position: relative;
  width: 90vw;
  left: 50%;
  transform: translateX(-50%);
  padding: calc(2.5rem + 4vw) 7.5vw;
  background: #F7F6F4;
}
.form-project-inquiry .interest:before {
  content: "";
  position: absolute;
  z-index: -1;
  top: -2em;
  left: -6em;
  width: 300px;
  height: 300px;
  background: transparent url("/wp-content/uploads/bg-dots-accent-1.svg") center center no-repeat;
  background-size: contain;
}
.form-project-inquiry .interest:after {
  content: "";
  position: absolute;
  z-index: -1;
  bottom: 3em;
  right: -2em;
  width: 320px;
  height: 320px;
  background: transparent url("/wp-content/uploads/bg-dots-accent-2.svg") center center no-repeat;
  background-size: contain;
}
@media screen and (max-width: 768px) {
  .form-project-inquiry .interest {
    width: 100vw;
  }
}
.form-project-inquiry .interest ul.gform_fields h2 {
  text-align: center;
  margin-bottom: calc(2.5rem + 2vw);
}
.form-project-inquiry .interest ul.gform_fields label.gfield_label {
  position: absolute;
  top: -999vh;
  left: -999vw;
  visibility: hidden;
}
.form-project-inquiry .interest ul.gform_fields ul.gfield_checkbox {
  max-width: 650px;
  margin: 0 auto !important;
  display: flex;
  flex-direction: row;
  flex-wrap: wrap;
  justify-content: space-between;
}
.form-project-inquiry .interest ul.gform_fields ul.gfield_checkbox li {
  flex: 0 0 47.5%;
}
@media screen and (max-width: 480px) {
  .form-project-inquiry .interest ul.gform_fields ul.gfield_checkbox li {
    flex: 1 1 100%;
  }
}
.form-project-inquiry .timeline {
  position: relative;
  padding: calc(2.5rem + 4vw) 0;
}
.form-project-inquiry .timeline:before {
  content: "";
  position: absolute;
  z-index: -1;
  top: 10em;
  left: -42.5%;
  width: 350px;
  height: 350px;
  background: transparent url("/wp-content/uploads/bg-dots-accent-3.svg") center center no-repeat;
  background-size: contain;
}
@media screen and (max-width: 768px) {
  .form-project-inquiry .timeline:before {
    display: none;
  }
}
.form-project-inquiry .timeline .gfield_html {
  display: flex;
  flex: 1 1 100%;
}
@media screen and (max-width: 768px) {
  .form-project-inquiry .timeline .gfield_html {
    flex-direction: column;
  }
  .form-project-inquiry .timeline .gfield_html h2 {
    text-align: center;
  }
}
.form-project-inquiry .timeline .gfield_html h2, .form-project-inquiry .timeline .gfield_html p {
  flex: 1 1 47.5%;
}
.form-project-inquiry .timeline .gfield_label {
  display: block !important;
  text-align: center !important;
  padding: 2rem 0 1.5rem;
  text-transform: uppercase;
}
.form-project-inquiry .timeline .budget .noUi-tooltip:before {
  content: "$";
}
.form-project-inquiry .timeline .budget .noUi-tooltip:after {
  content: "K";
}
.form-project-inquiry .timeline .timeline .noUi-tooltip:after {
  content: " Weeks";
}
.form-project-inquiry .details {
  position: relative;
  width: 90vw;
  left: 50%;
  transform: translateX(-50%);
  padding: calc(2.5rem + 4vw) 7.5vw 12rem;
  background: #F7F6F4;
}
@media screen and (max-width: 768px) {
  .form-project-inquiry .details {
    width: 100vw;
  }
}
.form-project-inquiry .details:before {
  content: "";
  position: absolute;
  z-index: -1;
  top: 2em;
  right: -2em;
  width: 350px;
  height: 350px;
  background: transparent url("/wp-content/uploads/bg-dots-accent-3.svg") center center no-repeat;
  background-size: contain;
}
@media screen and (max-width: 768px) {
  .form-project-inquiry .details:before {
    width: 300px;
    width: 300px;
    top: -3.5em;
  }
}
.form-project-inquiry .details:after {
  content: "";
  position: absolute;
  z-index: -1;
  top: 25%;
  left: -4em;
  width: 320px;
  height: 320px;
  background: transparent url("/wp-content/uploads/bg-dots-accent-4.svg") center center no-repeat;
  background-size: contain;
  transform: rotateY(180deg);
}
@media screen and (max-width: 768px) {
  .form-project-inquiry .details:after {
    top: 60%;
  }
}
.form-project-inquiry .details ul.gform_fields {
  display: flex;
  flex-direction: column;
  flex-wrap: wrap;
  align-items: center;
}
.form-project-inquiry .details .gfield_html {
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  flex: 1 1 100%;
}
.form-project-inquiry .details .gfield_html p {
  max-width: 500px;
}
.form-project-inquiry .details .gfield_label {
  position: absolute;
  top: -999vh;
  left: -999vw;
  visibility: hidden;
}
.form-project-inquiry .details textarea:focus {
  background: white !important;
}
.form-project-inquiry .gform_footer {
  margin-top: -8rem !important;
  margin-bottom: calc(10.5rem + 4vw) !important;
  display: flex;
  justify-content: center;
  align-items: center;
}
.form-project-inquiry .gform_footer .button {
  background: #1B2833;
  border-radius: 0;
  font-family: Helvetica, Arial, Sans-Serif !important;
  font-size: 1.25rem !important;
  text-transform: uppercase;
  padding: 1rem 2rem;
  box-shadow: 0 18px 36px 0 rgba(44, 44, 44, 0.2) !important;
  transition: 0.3s ease all;
}
.form-project-inquiry .gform_footer .button:hover {
  color: #2C2C2C;
  transform: scale(1.3);
  transition: 10s ease-out transform;
}

.noUi-target {
  background: transparent !important;
  box-shadow: none !important;
  border-radius: 0 !important;
  border: none !important;
  border-bottom: 1px solid #ccc !important;
}
.noUi-target.noUi-horizontal {
  height: 1px;
}
.noUi-target .noUi-handle {
  top: -15px !important;
  width: 32px !important;
  height: 32px !important;
  border-radius: 50% !important;
  border: none !important;
  background: #1B2833 !important;
  box-shadow: 0 5px 18px 0 rgba(44, 44, 44, 0.15) !important;
}
.noUi-target .noUi-handle:before, .noUi-target .noUi-handle:after {
  top: 50% !important;
  transform: translateY(-50%) !important;
}
.noUi-target .noUi-handle .noUi-tooltip {
  font-family: Helvetica, Arial, Sans-Serif !important;
  font-size: 1.25rem !important;
  border: none !important;
  padding: 0 !important;
  background: transparent !important;
}
.noUi-target span.min-val-relation,
.noUi-target span.max-val-relation {
  font-family: Frutiger, "Frutiger Linotype", Univers, Calibri, "Gill Sans", "Gill Sans MT", "Myriad Pro", Myriad, "DejaVu Sans Condensed", "Liberation Sans", "Nimbus Sans L", Tahoma, Geneva, "Helvetica Neue", Helvetica, Arial, sans-serif !important;
  text-transform: uppercase !important;
  font-size: 0.8rem !important;
  margin: 0.5em 0 !important;
}

.gform_wrapper .poll .gform_body .columns ul {
  display: flex;
  flex-direction: row;
  flex-wrap: wrap;
  justify-content: space-between;
}
.gform_wrapper .poll .gform_body .columns ul li {
  flex: 1 1 49%;
  min-width: 220px;
}
.gform_wrapper .poll .gform_footer button {
  background: #1B2833;
  border-radius: 0;
  min-width: 150px;
  font-family: Helvetica, Arial, Sans-Serif !important;
  text-transform: uppercase;
}
.gform_wrapper .poll .gform_footer a.gpoll_button {
  display: none !important;
}
