/*
* {
    border: red dashed 1px;
}
*/

/** {
    -webkit-font-smoothing: antialiased;
}*/

@font-face {
    font-family: Din-Light;
    src: url('fonts/FF_DIN_Light.otf');
}

@font-face {
    font-family: Din-Regular;
    src: url('fonts/FF_DIN_Regular.otf');
}

@font-face {
    font-family: Din-Medium;
    src: url('fonts/FF_DIN_Medium.otf');
}

@font-face {
    font-family: SF-Pro-Regular;
    src: url('fonts/SF-Pro-Text-Regular.otf');
}

@font-face {
    font-family: SF-Pro-Bold;
    src: url('fonts/SF-Pro-Text-Bold.otf');
}

body {
    -webkit-font-smoothing: subpixel-antialiased;
    /*text-rendering: geometricPrecision;*/
    margin: 0px;
    padding: 0px;
    width: 100%;
/*    background-color: #1F1F1F;*/
    /* font-family: 'Open Sans', sans-serif; */
}

#wrapper {
    position: absolute;
    height: 100%;
    width: 100%;
}

.bg {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    z-index: -99;
}
#header {
    margin-top: 5vh;
    padding: 0 30px;
    -webkit-box-sizing: border-box;
    -moz-box-sizing: border-box;
    box-sizing: border-box;
}
.section {
    width: 100%;
    padding-top: 50px;
    padding-bottom: 50px;
    position: relative;
    z-index: 1000;
}

a {
    text-decoration: none;
}

#header-image {
    filter: blur(10px);
    transform: scale(1.1);
}

@media only screen and (max-width: 1500px) {
    #header-image {
        width: 100vw;
        height: 70vh;
        z-index: -1;
        top: 0;
        position: absolute;
        background-image: url("images/bg2b_med.jpg");
        background-repeat: no-repeat;
        background-size: cover;
    }
}
@media only screen and (min-width: 1501px) {
    #header-image {
        width: 100vw;
        height: 45vh;
        z-index: -1;
        top: 0;
        position: absolute;
        background-image: url("images/bg2b_big.jpg");
        background-repeat: no-repeat;
        background-size: cover;
    }
}
#header-title {
    color: white;
    font-family: 'Din-Regular', sans-serif;
    font-size: 2em;
    letter-spacing: 0.1em;
}
.raised-letter {
    vertical-align: 17%;
}
#header-menu {
    width: 100%;
    margin-top: 15px;
    margin-bottom: 25px;
}

.sidebar-pic-holder {
    overflow: hidden;
}

@media only screen and (max-width: 1000px) {
    .sidebar-pic-holder {
        display: block;
        width: 100%;
    }
}
@media only screen and (min-width: 1001px) {
    .sidebar-pic-holder {
        display: inline-block;
        float: left;
        width: calc(50% - 15.5em);
        margin-top: 2em;
    }
}
.flex-container {
    width: 100%;
    display: flex;
    align-items: center;
    justify-content: center;
}
#me-pic {
    width: 15vw;
    height: 15vw;
    min-width: 200px;
    min-height: 200px;
    max-width: 300px;
    max-height: 300px;
    /* background-image: url("images/me.jpg"); */
/*    background-image: url("images/Met_square.jpg");*/
    background-image: url("images/calton.jpg");
    background-position: center;

    background-repeat: no-repeat;
    background-size: cover;
    border-radius: 100%;
    transform: scale(0.9);
}
#project-card-holder {
    display: inline-block;
    margin: auto;
    padding: 1em;
}
.project-card {
    width: 10em;
    height: 10em;
    display: inline-block;
    margin: 1em;
    background-size: 100%;
}

.overlay {
    width: 100%;
    height: 100%;
    background: #000;
    opacity: 0;
    /*-moz-transition: all 0.4s;
    -webkit-transition: all 0.4s;
    transition: all 0.4s;*/
}

.distributed {
    justify-content: space-between;
    display: flex;
    align-items: center;
    flex-wrap: wrap;
    flex-direction: row;
    /*display: -webkit-flex;*/
    /*-webkit-justify-content: space-between;*/
    /*-webkit-align-items: center;*/
    /*-webkit-flex-wrap: nowrap;*/
    /*-webkit-flex-direction: row;*/
}
@media only screen and (max-width: 500px) {
    .menu-link {
        font-size: 0.7em;
    }
}
@media only screen and (mix-width: 501px) {
    .menu-link {
        font-size: 1em;
    }
}
.menu-link {
    color: white;
    font-family: 'Din-Regular', sans-serif;
    font-weight: 300;
    /*font-size: 0.8em;*/
    text-transform: uppercase;
    letter-spacing: 0.15em;
    text-decoration: none;
    border-bottom: 0;

    /*margin: 8px 0;*/
    padding-top: 15px;

    -o-transition: 0.5s;
    -ms-transition: 0.5s;
    -moz-transition: 0.5s;
    -webkit-transition: 0.5s;
    transition: 0.5s;
}
.menu-link:hover {
    color: #0FCCFB;
    border-bottom: 0;
    text-decoration: none;
}
.dark {
/*    background-color: #2E2E2E;*/
    background-color: #1F1F1F;
    color: #CFCFCF;
}
.light {
    background-color: #FFFFFF;
    color: #3B3B3B;
}
.section-content {
    max-width: 31em;
    margin: auto;
    padding: 2em;
}

.section-body {
    font-family: "SF-Pro-Regular";
    font-size: 0.9em;
}

.section-body strong {
    font-family: "SF-Pro-Bold";
}

.skinny-content {
    padding: 1em 2em 0 2em;
}
.section-head {
    margin-bottom: 2em;
}
.section-head-box {
    border: solid 1px #6cb5c6;
    display: inline-block;
}
.section-head-text {
    color: #6cb5c6;
    letter-spacing: 0.1em;
    text-transform: lowercase;
    font-family: "Din-Light", sans-serif;
    font-size: 1.2em;
    transform: translateY(-2%);
    /*-webkit-transform: translateY(-5%);*/
    /*-ms-transform: translateY(-5%);*/
    padding: 0.5em 0.7em;
    vertical-align: middle;
}
.section-text {
    margin-bottom: 1.25em;
    line-height: 1.5em;
    letter-spacing: 0.025em;
}
.project {
    padding: 0;
}
.project-title {
    font-family: Din-Regular, sans-serif;
    font-size: 2.5em;
    letter-spacing: 0.075em;
    text-transform: uppercase;
    line-height: 1.5em;
    font-weight: 400;
}
.echo-title {
    margin-top: 0.25em;
    margin-bottom: 0.25em;
    margin-right: 1em;
    float: left;
    display: inline-block;
}
@media only screen and (max-width: 900px) {
    .lightning-title {
        margin-bottom: 0.5em;
        display: block;
        text-align: left;
    }
    #design-image {
        width: 65%;
        margin: 20px auto;
        display: block;
        border: rgba(0, 0, 0, 1.0) solid 1px;
    }
    .design-text {
        vertical-align: middle;
        display: inline-block;
        width: 100%;
    }
    .image-set {
        background-color: #222222;
        max-width: 100vw;
        margin: auto;
        overflow: scroll;
    }
    .echo-image {
        width: 70%;
        height: 70%;
        padding: 2vw;
    }
}
@media only screen and (min-width: 901px) {
    .lightning-title {
        margin-top: 0.6em;
        margin-bottom: 0.5em;
        margin-left: -40%;
        margin-right: 0.75em;
        float: left;
        text-align: right;
        display: inline-block;
    }
    #design-image {
        width: 50%;
        margin-left: -40%;
        margin-right: 2em;
        vertical-align: middle;
        display: inline-block;
        border: rgba(0, 0, 0, 1.0) solid 1px;
    }
    .design-text {
        vertical-align: middle;
        display: inline-block;
        width: 80%;
    }
    .image-set {
        background-color: #222222;
        max-width: 65vw;
        margin: auto;
        margin-bottom: 4em;
        overflow: scroll;
    }
    .echo-image {
        width: 30%;
        height: 30%;
        padding: 2vw;
    }
}
.tti-title {
    padding: 0.25em 0;
}
.design-title {
    padding: 0.25em 0;
}
.lightning-image {
    width: 40%;
    display: inline-block;
    margin: 1%;
    border: rgba(0, 0, 0, 1.0) solid 1px;
}
a {
    color: #00ccff;
    text-decoration: none;
    border-bottom: 0;
}
a:hover {
    color: #0745A9;
    border-bottom: 1px solid;
}
a:active {
    color: #4785F9;
}
#masthead {
/*    color: rgba(255, 255, 255, 0.45);*/
    font-family: "Din-Regular", sans-serif;
    font-weight: 300;
    font-size: 13px;
    letter-spacing: 0.025em;
    text-align: center;
    padding-top: 10px;
    padding-bottom: 10px;
}
p {
    margin: 0;
    padding: 0;
}
.lightning-video {
    max-width: 100%;
    height: auto;
}
.video-container {
    position: relative;
    padding-bottom: 67%;
    height: 0;
    overflow: hidden;
}
.video-container iframe,
.video-container object,
.video-container embed {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
}
.video-wrapper {
    width: 550px;
    max-width: 80%;
    margin: 0 auto;
    padding: 0 0 5em 0;
}
