html,
body {
    margin: 0;
    padding: 0;
    width: 100%;
    /*height: 100%;*/
}

html {
    overflow-y: scroll;
    overflow-x: hidden;
}

body,
form input,
p,
textarea {
    font-family: 'Roboto', sans-serif;
    font-size: 16px;
    color: #666;
    line-height: 22px;
    font-weight: 300;
}

h2 {
    font-family: 'Roboto', sans-serif;
    text-transform: uppercase;
    font-weight: 300;
    float: left;
    color: #222;
    letter-spacing: 5px;
    margin: 30px 0 20px 0px;
    /*   margin-before: 0em;
margin-after: 0em;*/
}

h3 {
    font-family: 'Roboto', serif;
    font-weight: 300;
    text-transform: uppercase;
    color: #212121;
    letter-spacing: 5px;
    margin: 24px 0 15px 0px;
}

h3 a {
    text-decoration: underline;
}

h4 {
    font-family: 'Roboto', serif;
    font-weight: 200;
    color: #212121;
    letter-spacing: 2px;
    margin: 24px 0 15px 0px;
}

h4 a {
    font-weight: bold;
}

.hover-box h4 {
    color: #fff;
    text-transform: uppercase;
    margin: 24px 10px 15px 10px;
    /* margin-before: 0em;
margin-after: 0em;*/
}

p {
    margin: 0 0 20px 0;
}

.userDeets {
    float: right;
}

a {
    color: #212121;
    text-decoration: none;
}

hr {
    margin: 20px auto;
    clear: both;
    width: 100%;
    border: none;
    border-top: 1px solid #ccc;
}

.iframeContainer {
    position: relative;
    width: 100%;
    padding: 0;
    margin: 20px 0;
    overflow: hidden;
}

.iframeContainer iframe {
    border: none;
    background: #f4f4f4;
    max-width: 1392px;
    width: 100%;
}

input.error,
textarea.error {
    border: 1px solid #cc0000 !important;
}

label.error {
    color: #cc0000;
    margin-top: -40px;
}

*:focus {
    outline: none;
}

.intro {
    padding: 0 0 0 15px;
    float: left;
    margin: 26px 15px;
    text-align: left;
    font-size: 22px;
    font-weight: 200;
    line-height: 34px;
    border-left: 1px solid black;
    width: 70%;
}

.intro a {
    color: #aaa;
}

.intro a:hover {
    border-bottom: 1px dotted #999;
}

@media only screen and (max-width: 480px) {
    .intro {
        font-size: 18px;
        line-height: 26px;
        padding: 0 0 0 10px;
        margin: 26px 10px;
    }
}

/*.subNavBar {
  display: block;
  width: 100%;
  clear: right;
  height: 40px; */
.prev {
    float: left;
}

/*.ddContainer {
    box-sizing: border-box;
    position: fixed;
    top: -1300px;
    width: 100%;
    height: 1300px;

    background: rgba(255, 255, 255, 0.85);
    transition-duration: 0.5s;
    z-index: 2000;
    overflow-y: auto;
    overflow-x: hidden;
    border: 1px solid purple;
}
*/
.hover-box p {
    color: #fff;
}

.open {
    box-sizing: border-box;
    top: 0px;
    height: 100%;
    background: rgba(255, 255, 255, 0.95);
}

.aboutContactContainer {
    max-width: 1392px;
    margin: auto 0;
    box-sizing: border-box;
    position: fixed;
    left: 50%;
    transform: translateX(-50%);
    top: -100%;
    width: 100%;
    height: 100%;
    /* border-bottom: 1px solid #ddd;*/
    background: rgba(255, 255, 255, 0.95);
    transition-duration: 0.5s;
    z-index: 2000;
    overflow-y: auto;
    overflow-x: hidden;
}

.aboutContactContainer.open {
    top: 80px;
}

.ddMenu {
    max-width: 1392px;
    width: 100%;
    margin: 100px auto 0 auto;
}

.meImage {
    width: 22%;
    max-width: 260px;
    float: left;
    border-radius: 50%;
    border: 10px solid lightsalmon;
    overflow: hidden;
    margin: 0 0 20px 2%;
}

.meImage img,
.meImage video {
    width: 100%;
    /*height: 100%;*/
    margin: auto;
    display: block;
}

.meBlurb {
    float: left;
    width: 70%;
    padding-left: 3%;
}

.emailFormContainer {
    box-sizing: border-box;
    width: 96%;
    margin: 0 2%;
}

.emailFormContainer form input {
    width: 98%;
    height: 30px;
    border: 1px solid #ccc;
}

.emailFormContainer .message {
    /*height: 80%;*/
    max-width: 98%;
    width: 98%;
    border: 1px solid #ccc;
}

.emailFormContainer form input.button {
    text-align: center;
    width: 150px;
    height: 40px;
    line-height: 40px;
    border: none;
    background: #212121;
    color: #fff;
    font-family: 'Roboto', sans-serif;
    text-transform: uppercase;
    font-weight: bolder;
    font-size: 0.9em;
    margin: 20px 0;
    cursor: pointer;
}

.button {
    text-align: center;
    width: 150px;
    height: 40px;
    line-height: 40px;
    border: none;
    background: #212121;
    color: #fff;
    font-family: 'Roboto', sans-serif;
    text-transform: uppercase;
    font-weight: bolder;
    font-size: 0.9em;
    margin: 20px 0;
    cursor: pointer;
}

.emailFormContainer form input.button:hover,
.button:hover {
    width: 150px;
    background: #666;
    cursor: pointer;
}

.headerContainer {
    position: fixed;
    top: 0px;
    z-index: 3000;
    height: 80px;
    width: 100%;
    text-align: center;
}

.headerContainerOpen {
    background: linear-gradient(white 50%, rgba(255, 255, 255, 0));
}

.headerContainerBg {
    width: 100%;
    background: #fff;
    opacity: 0.7;
    height: 100%;
    position: absolute;
    top: 0px;
}

.header {
    z-index: 101;
    margin: 0 auto;
    max-width: 1392px;
    height: 100%;
    width: 98%;
    position: relative;
}

.linkedIn {
    background: url("/images/linkedin-logo.svg") left 0 no-repeat;
    padding-left: 30px;
}

.backBtn {
    width: 28px;
    height: 28px;
    float: left;
    margin: 32px 5px 0 1%;
    opacity: 0;
    background: url(/images/back_arrow.svg) left center no-repeat;
    cursor: pointer;
}

.menuBtn {
    width: 28px;
    height: 23px;
    float: right;
    margin-top: 30px;
    -webkit-transform: rotate(0deg);
    -moz-transform: rotate(0deg);
    -o-transform: rotate(0deg);
    transform: rotate(0deg);
    cursor: pointer;
}

.menuBtn span {
    display: block;
    position: absolute;
    height: 3px;
    width: 100%;
    background: #222;
    border-radius: 9px;
    opacity: 1;
    left: 0;
    -webkit-transform: rotate(0deg);
    -moz-transform: rotate(0deg);
    -o-transform: rotate(0deg);
    transform: rotate(0deg);
    -webkit-transition: .25s ease-in-out;
    -moz-transition: .25s ease-in-out;
    -o-transition: .25s ease-in-out;
    transition: .25s ease-in-out;
}

.menuBtn span:nth-child(1) {
    top: 0px;
}

.menuBtn span:nth-child(2),
.menuBtn span:nth-child(3) {
    top: 8px;
}

.menuBtn span:nth-child(4) {
    top: 16px;
}

.menuBtn.open span:nth-child(1) {
    top: 8px;
    width: 0%;
    left: 50%;
}

.menuBtn.open span:nth-child(2) {
    -webkit-transform: rotate(45deg);
    -moz-transform: rotate(45deg);
    -o-transform: rotate(45deg);
    transform: rotate(45deg);
}

.menuBtn.open span:nth-child(3) {
    -webkit-transform: rotate(-45deg);
    -moz-transform: rotate(-45deg);
    -o-transform: rotate(-45deg);
    transform: rotate(-45deg);
}

.menuBtn.open span:nth-child(4) {
    top: 18px;
    width: 0%;
    left: 50%;
}

.detailContainer,
.mainContainer {
    transition-duration: 0.3s;
    width: 98%;
    max-width: 1392px;
    margin: 0 auto;
    text-align: center;
    position: relative;
    box-sizing: content-box;
    left: 0%;
    z-index: 100;
    top: 85px;
}

.detailContainer {
    top: 50px;
}

.detailContainer div.clear {
    margin-top: 15px;
}

.detailContainer img.caseImage,
.mainContainer img.caseImage {
    width: 100%;
    max-width: 1392px;
    margin: 10px 0;
}

.mainContainer.admin {
    top: 0;
}

.videoContainer {
    width: 100%;
    display: flex;
    position: relative;
    background: #fff;
    min-height: 200px;
    justify-content: center;
}

.videoContainer.loading .vControls {
    opacity: 0;
    /* Hide controls until video is ready */
    pointer-events: none;
}

.videoContainer video {
    max-width: 100%;
    height: auto;
    /* maintain aspect ratio */
    max-height: 76vh;
    /* never taller than viewport */
    display: block;
    border: 1px solid #ccc;
}


.videoContainer:fullscreen video {
    border: none;
    max-height: none;
}

/* clear fix */
.clear {
    width: 100%;
    height: 0px;
    padding: 0;
    margin: 0;
    line-height: 0;
    clear: both;
}

.grid {
    margin: 0 auto;
}

.grid:after {
    content: '';
    display: block;
    clear: both;
}

.grid-item {
    /* box-shadow: 0px 1px 2px rgba(1, 1, 1, 0.25);*/
    box-shadow: 0px 15px 27px -5px rgba(1, 1, 1, 0.4);
    transition-duration: 0.15s;
    transition-timing-function: ease-in;
    overflow: hidden;
    position: relative;
    cursor: pointer;
    opacity: 0;
    /*transform: scale(1.07, 1.07);*/
    float: left;
    box-sizing: border-box;
}

.grid-item img.caseThumb {
    transition-duration: 0.15s;
    transform: scale(1, 1);
    width: 100%;
    display: block;
}

.grid-item .hover-box {
    width: 100%;
    height: 100%;
    position: absolute;
    top: 0px;
    opacity: 0;
    transition-duration: 0.15s;
    background: rgba(1, 1, 1, 0);
    z-index: 100;
    color: #fff;
    display: flex;
    flex-direction: column;
    justify-content: center;
    cursor: pointer;
}

.hover-box {
    /* width: 110%;
height: 110%*/
}

.hover-box h4,
.hover-box p {
    transition-duration: 0.15s;
}

.hover-box h4 {
    transform: translate(0px, -15px);
}

.hover-box p {
    transform: translate(0px, 15px);
}

/* ---- .grid-item ---- */
@media screen and (min-width: 1021px) {
    .grid-sizer {
        width: 32.8%;
        margin-bottom: 0.8%;
        margin-right: 0.8%;
    }

    .grid-item {
        width: 32.8%;
        margin-bottom: 0.8%;
        margin-right: 0.8%;
        float: left;
    }

    .gutter-sizer {
        width: 1.5%;
    }

    .grid-item img {
        max-width: 100%;
    }
}

@media only screen and (min-width: 1024px) and (max-width: 1024px) and (min-height: 1366px) and (max-height: 1366px) {
    .grid-item {
        width: 49.4%;
        margin-bottom: 0.9%;
        margin-right: 0.9%;
    }
}

@media only screen and (min-width: 481px) and (max-width: 1020px) {
    .grid-item {
        width: 49.4%;
        margin-bottom: 0.9%;
        margin-right: 0.9%;
    }

    .aboutContactContainer {
        transition-duration: 0s;

    }

    .meImage {
        border: 7px solid lightsalmon;
    }
}

@media only screen and (max-width: 480px) {
    h2 {
        letter-spacing: 2px;
        margin: 30px 0 20px 20px;
        font-size: 1.3em;
    }

    h3 {
        text-align: center;
    }

    .menuBtn {
        margin-right: 20px;
    }

    .ddMenu {
        max-width: 1392px;
        width: 100%;
        margin: 17% auto 0 auto;
    }

    .aboutContactContainer {
        transition-duration: 0s;

    }

    .meImage {
        width: 40%;
        float: none;
        padding: 0;
        margin: 2% auto;
        border-radius: 50%;
        overflow: hidden;
    }

    .meImage img {
        width: 100%;
        height: 100%;
        margin: auto;
        display: block;
    }

    .meBlurb {
        float: left;
        width: 85%;
        padding: 5%;
        text-align: center;
    }

    .emailFormContainer form p {
        margin: 0 auto;
        width: 90%;
    }

    .emailFormContainer form input {
        width: 100%;
        border: 1px solid #ccc;
        height: 40px;
    }

    .emailFormContainer .message {
        height: 60%;
        width: 100%;
        border: 1px solid #ccc;
    }

    .emailFormContainer form input.button {
        width: 150px !important;
        height: 40px;
        margin: 20px auto;
        border: none;
        background: #212121;
        color: #fff;
        font-family: 'Roboto', serif;
        font-size: 1em;
    }

    .button {
        width: 150px !important;
        height: 40px;
        margin: 20px auto;
        border: none;
        background: #212121;
        color: #fff;
        font-family: 'Roboto', serif;
        font-size: 1em;
    }

    .emailFormContainer form input.button:hover,
    .button:hover {
        width: 150px;
        background: #666;
        cursor: pointer;
    }

    .mainContainer {
        width: 100%;
        overflow-y: hidden;
    }

    .grid-sizer {
        width: 100%;
        margin-bottom: 3%;
    }

    .grid-item {
        width: 100%;
        margin-bottom: 3%;
        float: left;
    }

    .gutter-sizer {
        width: 0%;
    }

    .grid-item img {
        display: block;
        max-width: 100%;
    }

    hr {
        width: 90%;
        margin: 0 auto;
    }
}

.grid-item-right {
    float: right;
    margin-right: 0;
}

/*Extra shit*/
.red {
    display: block;
    width: 100%;
    height: 1000px;
    background: red !important;
}

.detailContent {
    position: absolute;
    width: 100%;
    transition-duration: 0.3s;
    transform: scale(1.6, 1.6);
    opacity: 0;
    display: block;
    z-index: 50;
    max-height: 100%;
    box-sizing: border-box;
}

.myInfo {
    width: 100%;
    border: 1px solid azure;
}

img.loader {
    width: 100px;
    height: 70px;
    margin: 0 auto;
    display: none;
}

video.fullscreen {
    position: fixed;
    top: 50%;
    left: 50%;
    min-width: 100%;
    min-height: 100%;
    width: auto;
    height: auto;
    z-index: -100;
    transform: translate(-50%, -50%);
}

.homeButtonContainer {
    position: fixed;
    top: 50%;
    left: 50%;
    min-width: 100%;
    min-height: 100%;
    width: auto;
    height: auto;
    z-index: -100;
    transform: translate(-50%, -50%);
    box-sizing: border-box;
    z-index: -1;
}

.homeButton {
    width: 7%;
    padding-top: 7%;
    background: green;
    top: 50%;
    left: 50%;
    transform: translate(-50%, 50%);
    position: absolute;
}

/* Top nav container */
.topNavContainer {
    width: 100%;
    background: #fff;
    position: relative;
    z-index: 1000;
}


/* Hamburger button (reuse animation) */
.menuBtn {
    display: none;
    /* only on mobile */
    flex-direction: column;
    justify-content: space-between;
    width: 25px;
    height: 20px;
    cursor: pointer;
}

.menuBtn span {
    display: block;
    height: 3px;
    background: #000;
}

/* Navigation links */
.topNav {
    font-size: 14px;
    margin: 29px 0 20px 0px;
    line-height: 27px;
    float: right;
}

.topNav ul {
    text-transform: uppercase;
    display: flex;
    list-style: none;
    margin: 0;
    justify-content: flex-end;
}

.topNav li {}

.topNav a {
    padding: 5px 10px;
    text-decoration: none;
    border-radius: 5px;
}

.topNav a.active {
    font-weight: normal;
    color: #444;
    background: #efefef;
}

/* Mobile styles */
@media (max-width: 768px) {
    h2.mainTitle {
        position: relative;
        z-index: 5000;
    }

    .topNav ul {
        /* hidden by default */
        display: flex;
        margin: 0;
        padding: 0;
        flex-direction: column;
        background: #fff;
        width: 100%;
        height: 100%;
        position: fixed;
        top: -100%;
        left: 0;
        justify-content: center;
        align-items: center;
        transition-duration: 0.3s;
    }

    .topNav ul.show {
        top: 0;
    }

    .menuBtn {
        display: flex;
        position: relative;
        z-index: 5000;
    }

    .topNav li {

        width: 100%;
        text-align: center;
        border-bottom: 1px solid #ccc;
        height: 20%;
    }

    .topNav li:first-child {
        border-top: 1px solid #ccc;
    }

    .topNav li a {
        display: flex;
        align-items: center;
        /* vertical centering */
        justify-content: center;
        /* optional, horizontal centering */
        height: 100%;
        /* set a height */
        text-decoration: none;
        font-size: 1.5em;
        letter-spacing: 5px;

    }
}

.mediaPage_mediaContainer {
    position: relative;
    display: flex;
    flex-direction: column;
    align-items: center;
    width: 100%;
    margin-bottom: 30px;
    /* Space between different media blocks */
}

.video-group {
    position: relative;
    line-height: 0;
    /* Prevents tiny gap at bottom of video */
    display: flex;
    justify-content: center;
}

/* 2. The Video - Ensure it doesn't overlap the text */
.mediaPage_video {
    display: block;
    max-width: 100%;
    height: auto;
}

/* 3. The Description */
.video-description {
    width: 100%;
    text-align: center;
    padding-top: 15px;
    /* Creates the gap between video and text */
    font-size: 14px;
    color: #888;
    line-height: 1.4;
}

/* CONTROLS WRAPPER */
.vControls {
    position: absolute;
    left: 50%;
    bottom: 16px;
    transform: translateX(-50%);

    display: flex;
    /* FLEXBOX ENGINE */
    flex-direction: row;
    /* ENSURE ROW ALIGNMENT */
    align-items: center;

    width: 98%;
    /* UPDATED TO 90% AS REQUESTED */
    height: 40px;
    /* UPDATED TO 40PX AS REQUESTED */
    padding: 0 10px;

    box-sizing: border-box;
    opacity: 0;
    transition: opacity 0.2s ease;
    z-index: 100;
}

/* BACKGROUND FIX */
.vControls .bg {
    position: absolute;
    inset: 0;
    background: #000;
    border-radius: 8px;
    opacity: 0.5;
    z-index: -1;
    /* ENSURE IT IS BEHIND FLEX ITEMS */
}

/* BUTTONS: FIXED WIDTHS */
.vControls button {
    flex: 0 0 32px;
    /* DO NOT GROW OR SHRINK, STAY 32PX */
    height: 100%;
    /* 100% HEIGHT OF CONTAINER */
    background: none;
    border: none;
    color: white;
    font-size: 16px;
    cursor: pointer;
    padding: 0;
    margin: 0;
    display: flex;
    align-items: center;
    justify-content: center;
}

/* PROGRESS BAR: STRETCHING */
.vControls .pbContainer {
    flex-grow: 1;
    /* THIS FILLS THE REMAINING SPACE */
    height: 6px;
    background: #333;
    /* ADDED VISIBLE TRACK */
    border-radius: 3px;
    position: relative;
    cursor: pointer;
    margin: 0 10px;
}

.vControls .pb {
    height: 100%;
    width: 0%;
    background: white;
    border-radius: 3px;
    position: absolute;
    /* POSITION OVER TRACK */
    left: 0;
    top: 0;
}

.vControls .pbPlayHead {
    position: absolute;
    top: 50%;
    width: 12px;
    height: 12px;
    background: white;
    border-radius: 50%;
    transform: translateY(-50%);
    pointer-events: none;
    z-index: 2;
}

/* HIDE CLEAR DIV */
.vControls .clear {
    display: none;
}

/* HOVER TRIGGER */
.mediaPage_mediaContainer:hover .vControls {
    opacity: 1;
}

.video-description {
    width: 100%;
    text-align: center;
    padding-top: 15px;
    font-size: 14px;
    color: #888;
    line-height: 1.4;
}

/* HOVER FEEDBACK */
.vControls button:hover {
    opacity: 0.85;
}

</style>#footer {
    color: #999;
}

.offline {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    height: 100vh;
    max-width: 1392px;
    margin: 0 auto;
    text-align: center;
    background: #fff;
    color: #333;
}

.offline img {
    width: 200px;
    height: auto;
    margin-bottom: 20px;
}

.offline h1 {
    font-weight: 100 !important;
    margin: 0;
    font-size: 2em;
    letter-spacing: 10px;
    text-transform: uppercase;
    line-height: 1em;
}

.help-block {
    display: block;
    color: #cc0000;
}

/* Force enable text selection in the Summernote editor */
.note-editable {
    -webkit-user-select: text !important;
    -moz-user-select: text !important;
    -ms-user-select: text !important;
    user-select: text !important;
    cursor: text !important;
}