body {
    line-height: 1.4;
    margin: 0;
    background-color: black;
    -moz-osx-font-smoothing: grayscale;
    -webkit-font-smoothing: antialiased;
    font-family: "Montserrat", sans-serif;
}

a {
    color: rgb(138, 138, 138);
    text-decoration: none;
    -webkit-transition: color 0.25s; /* For Safari 3.0 to 6.0 */
    transition: color 0.25s; /* For modern browsers */
    border-bottom: 0;
    padding-bottom: 3px;
}

a:hover {
    color: rgb(255, 255, 255);
    border-bottom: 1px solid currentColor;
}

img {
    max-width: 100%;
    height: auto;
    width: auto\9; /* ie8 */
}

/** TOP MENU **/
#topbar {
    position: fixed;
    width: 100%;
    height: 100px;
    top: 0;
    bottom: 0;
    z-index: 1;
    background-color: #000000;
}

#sitetitle {
    float: left;
    margin-left: 3.15vw; /*35px;*/
    margin-right: 3.15vw; /*35px;*/
    padding-top: 1.5em; /*25px;*/
    padding-bottom: 1em; /*30px;*/
}

h1 {
    font-size: 2em;
}

h1,
h1 a:link,
h1 a:visited,
h1 a:hover {
    text-decoration: none;
    font-family: "Cormorant Garamond", serif;
    color: #ffffff;
    border-bottom: 0;
    padding-bottom: 0;
    margin: 0;
    font-weight: 400;
}

h2 {
    font-size: 0.8em;
    color: #8c8c8c;
    line-height: 10px;
    font-weight: 100;
    margin: 0;
    letter-spacing: 0.04em;
}

h3 {
    font-weight: 100;
    font-size: 1.65em;
    color: #f0f0f0;
    font-style: normal;
    margin-top: 0;
}

h4 {
    margin-bottom: 0.25em;
    font-weight: 100;
    font-size: 1.2em;
    color: #f0f0f0;
    font-style: normal;
}

#nav {
    margin-top: 0;
    padding-bottom: 25px;
    padding-top: 2.2em;
    padding-left: 0;
    letter-spacing: 0.1em;
    line-height: 16.8px;
    text-transform: uppercase;
    width: auto;
    word-wrap: normal;
}

#nav li {
    font-size: 0.75em;
    padding-right: 2%;
    padding-bottom: 1%;
}

.nav_item {
    display: inline-flex;
    white-space: normal;
}

a#selected:link,
a#selected:visited,
a#selected:hover {
    color: rgb(255, 255, 255);
    border-bottom: 1px solid currentColor;
}

/** Content Containers **/
.wrapper {
    z-index: -1;
    margin-top: 100px;
    padding-top: 45px;
    background-color: #000000; /*#0d0d0d;*/
}

.wrapper_content {
    display: inline-block;
    color: #b5b5b5;
    font-size: 0.82em;
    line-height: 1.47em;
    font-weight: 300;
    width: 100%;
}

/** REEL / INDEX Page **/

iframe {
    border-width: 0;
}

#reel_wrapper {
    text-align: center;
    overflow-x: hidden;
    margin-top: 4%;
    width: 75vw;
    height: auto;
    padding-left: 12.5vw;
}

/** CONTACT Page **/
.about {
    width: 55%;
    padding-left: 2%;
    float: left;
    text-align: justify;
    justify-content: space-between;
}

.contact_info {
    padding: 0 0 0 0;
    padding-top: 5%;
    margin-top: 0;
}

.contact_info a {
    text-decoration: none;
    color: #ffffff;
}

.contact_image {
    padding-left: 5%;
    padding-right: 10%;
    float: right;
    width: 25%;
    font-size: 0.8em;
    text-align: right;
    line-height: 107%;
}

.contact_image_credit {
    list-style: none;
    padding: 0 0 0 0;
    padding-top: 2.5%;
}

.contact_h3 {
    margin-bottom: 1%;
    margin-top: 0;
}

/** CV Page **/
.cv_category {
    width: 100%;
    display: inline-block;
    margin-left: 35px;
    padding-bottom: 25px;
    font-size: 0.915em;
}

.cv_cat_type {
    text-align: right;
    float: left;
    width: 20%;
    font-weight: 700;
}

.cv_entries {
    float: left;
    text-align: left;
    width: 75%;
    padding-left: 15px;
}

.cv_item {
    width: 100%;
    display: inline-block;
}

.cv_festival {
    margin-left: 1.5em;
    text-indent: -1.5em;
}

.dot {
    font-size: 1em;
    display: inline;
}

.symbol {
    display: inline;
    color: #f0f0f0;
    margin-right: 0.5em;
}

/** CAMERA Page **/
.camera_wrapper {
    display: block;
    max-width: 80%;
    margin: 0 auto;
}

/**
 * #equip_image {
* } 
**/

#equip_info {
    padding-top: 1%;
    display: block;
    text-align: left;
    float: right;
}

#equip_info ul {
    list-style-type: none;
}

.equip_info li {
    margin-bottom: 0.5em;
}

/** WORK Page **/
#work_wrapper {
    margin-left: 1%;
    width: 100%;
}

.project {
    display: inline-block;
    margin-bottom: 1.5em;
}

.project_thumbnails {
    width: 100%;
}

.project_thumbnail {
    width: 32.25%;
    margin-right: 0.75%;
    float: left;
    text-align: center;
    text-transform: uppercase;
    margin-bottom: 0.3em;
}

.project_name {
    width: 100%;
    text-align: center;
    line-height: 0.5em;
    font-size: 1.25em;
    text-transform: capitalize;
}

.project_thumbnails a:hover {
    border-bottom: 0;
}

.toggle {
    opacity: 0.5;
    -webkit-transition: opacity 0.5s; /* For Safari 3.0 to 6.0 */
    transition: opacity 0.5s; /* For modern browsers*/
}

.untoggle {
    opacity: 1;
    -webkit-transition: opacity 0.5s; /* For Safari 3.0 to 6.0 */
    transition: opacity 0.5s; /* For modern browsers*/
}

/** WORK GALLERY Pages **/
/* 16x9 Aspect Ratio */

#index_wrapper {
    text-align: center;
    overflow-x: hidden;
}

#works_wrapper {
    padding-top: 0;
}

.works_embed-container {
    position: relative;
}

/**PROJECT PAGE LAYOUT**/
.project_media {
    position: absolute;
    top: 0;
    left: 0;
    width: 60vw;
    /*height: 100%;*/
    padding-left: 5%;
    z-index: 0;
}

.project_media img {
    padding-bottom: 2%;
}

.project_information {
    position: relative;
    margin-left: 68vw;
    width: 28vw;
    text-align: left;
    font-family: "Montserrat", sans-serif;
}

.project_information h3 {
    font-size: 1.75em;
    margin-top: 0;
    font-family: "Montserrat", sans-serif;
    margin-bottom: 0;
}

.project_information a {
    color: rgb(138, 138, 138);
    text-decoration: underline;
    -webkit-transition: color 0.25s; /* For Safari 3.0 to 6.0 */
    transition: color 0.25s; /* For modern browsers */
    border-bottom: 0;
    padding-bottom: 3px;
}

.project_information a:hover {
    color: rgb(255, 255, 255);
}

.project_runtime {
    padding-bottom: 1.5em;
    font-size: 0.8em;
}

.project_description {
    font-size: 0.9em;
    padding-bottom: 1.5em;
    font-style: italic;
    line-height: 1.2em;
}

.project_credit {
    font-size: 0.9em;
    display: flex;
}

.credit_title {
    white-space: nowrap;
    padding-right: 2%;
    text-transform: uppercase;
}

/*
 * .credit_text {    
 * }
 */

.project_credit a {
    text-decoration: none;
}

.project_videolink {
    padding-top: 0.5em;
}

.project_break {
    margin-top: 1em;
    border: none;
    height: 1px;
    /* Set the hr color */
    color: #4a4949; /* old IE */
    background-color: #4a4949; /* Modern Browsers */
}

.project-media-video {
    position: relative;
    padding: 56.25% 0 0% 0;
    margin-bottom: 2.5%;
    height: 0;
    overflow: hidden;
}

/**
.tiled-project-videos {
    
}
**/

.tiled-project-videos-item {
    padding-bottom: 5%;
}

.project-media-video iframe,
.project-media-video object,
.project-media-video embed {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
}
/**PROJECT PAGE**/

/*IMAGE POPUP**/
.image {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: 0.5s;
    cursor: pointer;
}

/* popup */

.popup {
    position: fixed;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%) scale(0);
    width: 90%;
    max-width: 1600px;
    height: 90vh;
    max-height: 800px;
    border-radius: 20px;
    background: rgba(0, 0, 0, 0.9);
    display: flex;
    justify-content: center;
    align-items: center;
    z-index: 5;
    overflow: hidden;
    transition: 0.5s;
    opacity: 0;
}

.popup.active {
    transform: translate(-50%, -50%) scale(1);
    opacity: 1;
    float: left;
}

.image_navigator {
    position: absolute;
}

.close-btn {
    position: absolute;
    top: 3%;
    right: 0%;
    border: none;
    background: none;
    cursor: pointer;
    opacity: 0.5;
}

.arrow-btn {
    transform: translateY(-50%);
    border: none;
    background: none;
    cursor: pointer;
    width: 10%; /**this controls how much padding on left and right of image */
    scale: 100%;
    display: flex;
}

.left-arrow {
    justify-content: right;
    padding-right: 0.7%;
    opacity: 0.5;
}

.right-arrow {
    justify-content: left;
    opacity: 0.5;
}

.arrow-btn:hover,
.close-btn:hover {
    opacity: 1;
    -webkit-transition: opacity 0.25s; /* For Safari 3.0 to 6.0 */
    transition: opacity 0.25s; /* For modern browsers */
}

.index {
    position: absolute;
    bottom: 10px;
    right: 10px;
    font-size: 80px;
    font-weight: 100;
    color: rgba(255, 255, 255, 0.4);
    opacity: 0;
}

.large-image {
    width: 100%;
    height: 100%;
    object-fit: contain;
}
/**IMAGE POPUP CODE START **/

/**----------------------------------------------------------- MOBILE SITE MEDIA QUERY------------------------- **/
@media screen and (max-width: 480px) and (orientation: portrait) {
    /** TOP MENU **/
    #topbar {
        text-align: center;
        display: block;
        position: relative;
    }

    #sitetitle {
        width: 100%;
        margin-left: 0;
        margin-right: 0;
        padding-top: 20px;
        padding-bottom: 10px;
        font-size: 0.98em;
    }

    #nav {
        position: relative;
        display: inline-block;
        margin-left: 3%;
        margin-right: 0;
        margin-top: 0;
        padding-bottom: 0;
        padding-top: 3%;
        padding-left: 0;
        font-size: 0.9em;
        line-height: 80%;
    }

    #nav li {
        font-size: 0.7em;
        padding-right: 1em;
        padding-bottom: 10px;
    }

    .wrapper {
        margin-top: 5%;
    }

    .wrapper_content {
        display: inline-block;
        color: #b5b5b5;
        font-size: 0.82em;
        line-height: 1.47em;
        font-weight: 300;
        width: 100%;
    }

    /** REEL / INDEX Page **/
    /**#reel-embed-container iframe, #reel-embed-container object, #reel-embed-container embed {
        width: 100vw;
        height:86vw;
        padding-left: 0;
        padding-top: 10%;
    }*/
    /
    
    /** CONTACT Page **/
    .contact_info {
        width: 100%;
    }

    .about {
        font-size: 0.85em;
        width: 96%;
    }

    .contact_image {
        padding-left: 0%;
        padding-right: 0%;
        padding-top: 8%;
        width: 100%;
    }

    /** CV Page **/
    .cv_category {
        line-height: normal;
        width: 96%;
        margin-left: 1%;
        margin-right: 2%;
        font-size: 0.7em;
        padding-bottom: 2%;
    }

    .cv_item {
        font-size: 0.8em;
        text-indent: -2em;
        padding-left: 2em;
        line-height: 1em;
    }

    #cv_wrapper {
        padding-top: 0;
    }

    /** WORK GALLERY Page **/
    #work_wrapper {
        font-size: 0.8em;
    }

    .project {
        display: inline-block;
        margin-bottom: 1.5em;
    }

    .project_thumbnail {
        width: 32.25%;
        margin-bottom: 0.5%;
    }

    .project_name {
        font-size: 1em;
    }

    /**PROJECT PAGE LAYOUT**/
    .project_media {
        width: 90vw;
        padding-left: 0;
        height: auto;
        top: 105%;
        left: 5%;
    }

    /**
    .project_media img {
    }
    **/

    .project_information {
        padding-left: 0;
        width: 90%;
        line-height: 0.95em;
        font-size: 0.9em;
        left: -61%;
    }

    .project_information h3 {
        line-height: 0.95em;
        font-size: 1.5em;
    }

    /**
    .project-media-video {
    }
    **/

    /**PROJECT PAGE**/
}

/**FONT LOADING**/
/* cormorant-garamond-regular - latin */
@font-face {
    font-family: "Cormorant Garamond";
    font-style: normal;
    font-weight: 400;
    src: url("../fonts/cormorant-garamond-v7-latin-regular.eot"); /* IE9 Compat Modes */
    src:
        local("Cormorant Garamond Regular"),
        local("CormorantGaramond-Regular"),
        url("../fonts/cormorant-garamond-v7-latin-regular.eot?#iefix") format("embedded-opentype"),
        /* IE6-IE8 */ url("../fonts/cormorant-garamond-v7-latin-regular.woff2") format("woff2"),
        /* Super Modern Browsers */ url("../fonts/cormorant-garamond-v7-latin-regular.woff") format("woff"),
        /* Modern Browsers */ url("../fonts/cormorant-garamond-v7-latin-regular.ttf") format("truetype"),
        /* Safari, Android, iOS */ url("../fonts/cormorant-garamond-v7-latin-regular.svg#CormorantGaramond")
            format("svg"); /* Legacy iOS */
}

/* montserrat-300 - latin */
@font-face {
    font-family: "Montserrat";
    font-style: normal;
    font-weight: 300;
    src: url("../fonts/montserrat-v14-latin-300.eot"); /* IE9 Compat Modes */
    src:
        local("Montserrat Light"),
        local("Montserrat-Light"),
        url("../fonts/montserrat-v14-latin-300.eot?#iefix") format("embedded-opentype"),
        /* IE6-IE8 */ url("../fonts/montserrat-v14-latin-300.woff2") format("woff2"),
        /* Super Modern Browsers */ url("../fonts/montserrat-v14-latin-300.woff") format("woff"),
        /* Modern Browsers */ url("../fonts/montserrat-v14-latin-300.ttf") format("truetype"),
        /* Safari, Android, iOS */ url("../fonts/montserrat-v14-latin-300.svg#Montserrat") format("svg"); /* Legacy iOS */
}

/* montserrat-700 - latin */
@font-face {
    font-family: "Montserrat";
    font-style: normal;
    font-weight: 700;
    src: url("../fonts/montserrat-v14-latin-700.eot"); /* IE9 Compat Modes */
    src:
        local("Montserrat Bold"),
        local("Montserrat-Bold"),
        url("../fonts/montserrat-v14-latin-700.eot?#iefix") format("embedded-opentype"),
        /* IE6-IE8 */ url("../fonts/montserrat-v14-latin-700.woff2") format("woff2"),
        /* Super Modern Browsers */ url("../fonts/montserrat-v14-latin-700.woff") format("woff"),
        /* Modern Browsers */ url("../fonts/montserrat-v14-latin-700.ttf") format("truetype"),
        /* Safari, Android, iOS */ url("../fonts/montserrat-v14-latin-700.svg#Montserrat") format("svg"); /* Legacy iOS */
}
