 body, html {
    height: 100%;
    margin-left: 25px;
    margin-right: 25px;
}

body {
    padding-bottom: 20px;
}

textarea {
    overflow: auto;
    outline: none;

    -webkit-box-shadow: none;
    -moz-box-shadow: none;
    box-shadow: none;
}

.close-modal {
    display: inline;
    float: right;
    width: 5%;
    transform: translateY(-15px);
}

.modal-title {
    display: inline; 
    width: 95%;
    float: left;
}

.partner-network {
    font-size: 35px;
    color: rgb(112, 173, 71);
}

.contact-field-element {
    width: 30%;
    padding: 12px;
    margin: 6px 0 4px;
    border: 1px solid #ccc;
    background: #fafafa;
    font-family: sans-serif;
    font-size: 12px;
    line-height: normal;
    box-sizing: border-box;
    border-radius: 2px
}

.parallax-padding {
    padding-top: 1%;
}

.text-overlay {
    letter-spacing: 50px;
    font-size: 100px;
    line-height: 300%;
    color: #3a3d3b;
    font-family: 'Oswald', sans-serif;
    -webkit-text-stroke: 1px black;
}

#message {
    width: 500px;
    height: 150px;
}

.clients-text {
    color: grey;
    margin-left: 25%;
    margin-right: 25%;
}

.parallax {
    /* The image used */
    background-image: url('/static/images/63.jpg');

    /* Full height */
    height: 100%;

    /* Create the parallax scrolling effect */
    background-attachment: fixed;
    background-position: center;
    background-repeat: no-repeat;
    background-size: cover;
}


.parallax-1 {
    /* The image used */
    background-image: url('/static/images/street.jpg');

    /* Full height */
    height: 100%;

    /* Create the parallax scrolling effect */
    background-attachment: fixed;
    background-position: center;
    background-repeat: no-repeat;
    background-size: cover;
}

.published-work-link {
    margin-left: 0px;
}

a {

    color: grey;
    margin-left: 15px;
}

a:hover {
    color: black;
    text-decoration: none;
}

a.main-link {
    color: black;
}
* {
    font-family: 'Lato', sans-serif;
}

.subtext {
    /*line-height: 200%;*/
}

.text1 {
    margin-top: 25px;
    height: 100px; 
    background-color: white;
}

.text2 {
    height: 800px; 
    overflow: hidden;
    margin-top: 50px;
    font-family: 'Oswald', sans-serif;
}

.main-header {
    float: left;
    margin-top: 40px;
    font-family: Arial, Helvetica, sans-serif;
    font-size: 27px;
    letter-spacing: 0em;
    font-family: Futura, Futura-Medium, "Futura Medium", "Century Gothic", CenturyGothic, "Apple Gothic", AppleGothic, "URW Gothic L", "Avant Garde", sans-serif;
    font-size: 16px;
    line-height: 1em;
    text-transform: uppercase;
    letter-spacing: 1em;
    font-weight: 700;
    font-style: normal;
    color: #000;
    
    /*margin-top: 40px;
    font-size: 24px;
    font-weight: bold;
    letter-spacing: 1px;
    font-weight: 500px;
    font-family: 'Oswald', sans-serif;*/
}

.nav-bar {
    float: right;
    margin-top: 45px;
    font-size: 10px;
    font-family: 'Lato', sans-serif;
    font-weight: bold;
    padding-right: 20px;
}

.text2Header {
    float: left;
    margin-left: 10%;
    width: 200px;
    margin-top: 75px;
    font-size: 20px;
    font-family: Futura, Futura-Medium, "Futura Medium", "Century Gothic", CenturyGothic, "Apple Gothic", AppleGothic, "URW Gothic L", "Avant Garde", sans-serif;
}

.text2Body {
    margin-left: 50%;
    font-family: Futura, Futura-Medium, "Futura Medium", "Century Gothic", CenturyGothic, "Apple Gothic", AppleGothic, "URW Gothic L", "Avant Garde", sans-serif;
}

.text2Body p {
    color: grey;
}

.subtext {
    height: 200px;
    margin-top: 50px;
    margin-left: 10%;
    margin-right: 10%;
    /*line-height: 2.5;*/
    /*font-size: 12px;*/
/*    font-family: 'Oswald', sans-serif;
*/}

img.lisa-img {
    padding-top: 40px;
    padding-bottom: 50px;
    height: 450px;
    width: auto;

    filter: gray; /* IE6-9 */
    -webkit-filter: grayscale(1); /* Google Chrome, Safari 6+ & Opera 15+ */
    filter: grayscale(1); /* Microsoft Edge and Firefox 35+ */
}
.lisa-bio {
    padding-bottom: 100px;
    padding-top: 100px;
}

.publication {
    margin-right: 0px;
    margin-left: 0px;
}

.bio-text {
    margin-left: 310px;
    margin-right: 310px;
    line-height: 2;
    color: grey;
    text-align: left;
    font-size: 16px;
}

.belifs {
    padding-bottom: 100px;
    /*padding-top: 100px;*/
}

.belifs-text {
    margin-left: 310px;
    margin-right: 310px;
    line-height: 2.5;
    text-align: left;
    color: grey;
    font-size: 115%;
}

.whatwedo {
    padding-bottom: 100px;
    /*padding-top: 100px;*/
}

.whatwedo-text {
    margin-left: 310px;
    margin-right: 310px;
    line-height: 2.5;
    color: grey;
    font-size: 115%;
    text-align: left;
}

.contact {
    padding-bottom: 50px;
}

.contact-text {
    margin-left: 310px;
    margin-right: 310px;
    line-height: 2.5;
    color: grey;
}

.submit {
    border : solid 2px #000000;
    font-size : 20px;
    color : #000000;
    background-color : #ffffff;
}

.submit:hover {
    border : solid 2px #000000;
    font-size : 20px;
    color : #ffffff;
    font-family: 'Lato', sans-serif;   
    background-color : #000000;
}

.nav-menu {
    display: none;
    background: white;
    border-width: 0;
    font-size: 24px;
    float: left;
}

.sidenav {
    height: 100%;
    width: 0;
    top: 0;
    position: fixed;
    z-index: 1;
    margin-top: 0px;
    left: 0;
    background-color: #fff;
    overflow-x: hidden;
    transition: 0.5s;
    padding-top: 60px;
}

.sidenav a {
    padding: 8px 8px 8px 32px;
    text-decoration: none;
    font-size: 25px;
    color: #818181;
    display: block;
    transition: 0.3s
}

.sidenav a:hover, .offcanvas a:focus{
    color: #000;
}

.sidenav .closebtn {
    position: absolute;
    top: 0;
    float: right;
    font-size: 25px;
}

#showsidenav {
    display: none;
}

.card img {
    width: auto;
    //height: 75px;
    width: 150px;
    height: auto;
    -webkit-filter: grayscale(1); /* Webkit */
    filter: gray; /* IE6-9 */
    filter: grayscale(1); /* W3C */
}

.card.case-study img:hover {
      -webkit-filter: grayscale(0); /* Webkit */
    filter: gray; /* IE6-9 */
    filter: grayscale(0); /* W3C */
}

.card.logo-small img {
    width: 125px;
}

.card.logo-tiny img {
    width: 100px;
}

.card.logo-big img {
    width: 200px;
}

.card {
    display: inline-block;
    padding-right: 100px;
    padding-top: 50px;
    padding-bottom: 50px;
}

.card-text {
    color: grey;
}

.publications {
    color: black;
}

@media (max-width: 850px) {

    img.lisa-img {
        width: 300px;
        height: auto;
    }

    #showsidenav {
        display: inline;
        margin-right: 0;
        overflow: auto;
        margin-left: 0;
    }
    .sidenav {padding-top: 15px;}
    .sidenav a {font-size: 18px;}


    .mobile-overlay {
        display: block;
    }
    .nav-bar.main {
        display: none;
    }

    .text2 {
        height: 1225px;
    }

    .text2Header {
        display: none;
    }

    .text2Body {
        margin-left: 10px;
    }

    .bio-text {

        margin-left: 10px;
        margin-right: 10px;
    }

    .belifs-text {
        margin-left: 10px;
        margin-right: 10px;
    }

    .whatwedo-text {
        margin-left: 10px;
        margin-right: 10px;
    }

    .contact-text {
        margin-left: 10px;
        margin-right: 10px;
    }

    .whatwedo {
        padding-top: 10px;
    }

    .lisa-bio {
        padding-top: 10px;
    }

    .belifs {
        padding-top: 10px;
    }
    .main-header {
        margin: 0 auto;
        overflow: auto;
        width: 100%;
        text-align: center;
        float: right;
        margin-top: -30px;
        font-size: 15px;
    }

    .clients-text {
        margin-left: 5%;
        margin-right: 5%;
        font-size: 15px;
    }

    .card {
        margin-bottom: 100px;
    }

    .text-overlay {
        letter-spacing: 25px;
        font-size: 30px;
        line-height: 200%;
        color: white;
    }

    .parallax {
        height: 300px;
    }

    .parallax-1 {
        height: 500px;
    }

}

@media (max-width: 400px) { 
    .main-header {
        font-size: 12px;
        text-align: right;
    }

    #showsidenav {
        width: 5px;
    }

    .text-overlay {
        font-size: 20px;
        letter-spacing: 10px
    }

    .parallax {
        height: 300px;
    }
}
