/*
 * Mobile styles & Breakpoints
 * By Funkhaus - 2016
 * www.funkhaus.us
 *
 * @see https://www.emailonacid.com/blog/article/email-development/emailology_media_queries_demystified_min-width_and_max-width
 * (min-width: 1800px) == Greater than or equal to 1800px
 * (max-width: 750px) == Less than or equal to 750px
 *
 */


/*
 * Globals
 */


/*
 * Breakpoints
 */
    /* Cinema Display and larger */
    @media (min-width: 1800px) {

        /* Header */
        .menu-label,
        .main-menu .menu-item {
            font-size: 24px;
        }

        /* Front page */
        .meta-slide .svg {
            max-width: 600px;
        }
        .meta-slideshow .line {
            font-size: 50px;
        }
        .meta-slideshow .line-2 {
            font-size: 35px;
        }

        /* Editor grid */
        .editor-menu ul {
            margin: 0 380px 40px
        }

        /* Work detail */
        .work-detail .meta .field span:first-child {
            font-size: 23px;
        }
        .work-detail .meta .field span:last-child {
            font-size: 26px;
        }

        /* Single */
        .single .post .title {
            font-size: 50px;
        }
        .single .post .entry p {
            font-size: 20px;
        }
    }

    @media (min-width: 1650px) {

        /* Teaser */
        .teaser a {
            font-size: 21px;
        }
        .teaser .title {
            font-size: 27px;
        }

        /* Editor menu */
        .editor-menu li {
            font-size: 30px;
        }

        /* Work block */
        .work-block .meta .title {
            font-size: 45px;
        }
        .work-block .meta .client {
            font-size: 30px;
        }
        .work-block .meta .director {
            font-size: 26px;
        }

        /* Work detail */
        .work-detail .media .svg {
            height: 70px;
        }
        .work-detail .meta .field span:first-child {
            font-size: 15px;
        }
        .work-detail .meta .field span:last-child {
            font-size: 18px;
        }

        /* Contact */
        .contact h3 {
            font-size: 65px;
        }
        .contact address {
            font-size: 30px;
        }
        .contact .name {
            font-size: 40px;
        }
        .contact .title {
            font-size: 22px;
        }
        .contact .phone {
            font-size: 30px;
        }
    }

    /* Larger than mobile device */
    @media (min-width: 750px) {
        .main-menu:hover ~ .menu-label {
            opacity: 0;
        }
        .main-menu:hover {
            opacity: 1;
            visibility: visible;
        }
    }

    @media only screen
    and (min-device-width : 750px)
    and (max-device-width : 1024px)  {
        #container .main-menu:hover ~ .menu-label {
            opacity: 1;
        }
    }

    @media (max-width: 1200px) {

        /* News page */
        .blog .grid {
            margin: 0 30px;
        }
        .blog .news-block {
            padding: 0 50px;
        }
    }

    /* Smaller than tablet */
    @media (max-width: 750px),
           only screen and (min-device-width: 768px) and (max-device-width: 1024px) {

        /* Globals */
        #content {
            padding-top: 70px
        }
        #header,
        body.light-bg #container #header {
            height: 60px;
        }

        /* Main menu */
        #header .menu-container {
            padding-left: 15px;
            top: 20px;
        }
        #header .logo {
            right: 15px;
            top: 5px;
        }
        #header .logo .svg {
            width: 120px;
        }
        .menu-label {
            cursor: pointer;
        }
        #header .main-menu {
            display: none;
        }
        /* Mobile menu open states */
        .mobile-menu-open #content {
            height: 100vh;
            opacity: 0;
            overflow: hidden;
        }
        .mobile-menu-overlay {
            background-color: #000000;
            position: fixed;
            top: 0;
            bottom: 0;
            left: 0;
            right: 0;
            z-index: 155;
            padding-left: 15px;
        }
        .mobile-menu-open .mobile-menu-overlay {
            opacity: 1;
            visibility: visible;
        }
        .mobile-menu-overlay .menu-label {
            z-index: 155;
            color: #ffffff;
            top: 20px;
            position: absolute;
        }
        .mobile-menu-overlay .logo {
            z-index: 150;
            position: absolute;
            right: 15px;
            top: 5px;
        }
        .mobile-menu-overlay .logo .svg {
            width: 120px;
            height: 54px;
        }
        .mobile-menu-open .mobile-main-menu a {
            color: #ffffff;
        }
        .mobile-menu-open #header a,
        .mobile-menu-open #header .menu-label {
            color: #ffffff;
        }
        .mobile-menu-open #container #header .logo .svg *:not(.blue) {
            fill: #ffffff;
        }
        .mobile-main-menu {
            position: fixed;
            top: 0;
            bottom: 0;
            left: 0;
            right: 0;
            background-color: #000000;
            padding: 100px 0;
            z-index: 15;
            opacity: 0;
            visibility: hidden;
            margin: 0;

            display: -webkit-flex;
            display: flex;
            -webkit-flex-direction: column;
            flex-direction: column;
            -webkit-justify-content: space-between;
            justify-content: space-between;
        }
        .mobile-menu-open .mobile-main-menu {
            opacity: 1;
            visibility: visible;
            z-index: 150;
        }
        .main-menu .menu-label {
            padding: 10px;
            left: -10px;
        }
        .mobile-main-menu .menu-item {
            display: block;
            text-align: center;
            padding: 0;
            font-size: 29px;
        }


        /* Editor menu */
        .editor-menu .filter-button {
            display: block;
            font-size: 20px;
            margin: 0 15px;
            border: 2px white solid;
            box-sizing: border-box;
            padding: 5px;
            position: relative;
            margin-bottom: 40px;
        }
        .editor-menu .filter-button select {
            position: absolute;
            left: 0;
            width: 100%;
            height: 100%;
            top: 0;
            -webkit-appearance: none;
            appearance: none;
            opacity: 0;
            cursor: pointer;
        }
        .editor-menu .svg {
            position: absolute;
            right: 15px;
            height: 100%;
            top: 0;
            opacity: 0;
        }
        .images-loaded .svg {
            opacity: 1;
        }
        .editor-menu .editor-main-menu,
        .editor-menu .editor-filter-menu span {
            display: none;
        }
        .editor-filter-menu li {
            display: block;
            padding: 10px 0;
        }

        /* Newsletter signup */
        .newsletter-signup .email {
            width: 100%;
            margin: 0 0 30px 0;
        }


        /* Front page */
        body.front-page {
            overflow-y: hidden;
        }

        /* Work grid */
        .work-block {
            width: 100%;
        }
        .work-block .responsive-container {
            padding-bottom: 85% !important;
        }

        /* Work detail */
        .work-detail .stage {
            left: 0;
            right: 0;
        }
        .work-detail .media-stage {
            left: 15px;
            right: 15px;
            width: auto;
        }
        .work-detail .media-stage .container {
            margin: 0;
            left: 0;
            right: 0;
            position: absolute;
        }
        .work-detail .meta {
            text-align: center;
            margin-bottom: 35px;
            position: relative;
        }
        .work-detail .meta .field span:first-child {
            font-size: 16px;
        }
        .work-detail .meta .field span:last-child {
            font-size: 18px;
        }
        .work-detail .meta .field.title {
            margin-top: 130px;
            position: absolute;
            margin: auto;
            left: 0;
            right: 0;
            top: 130px;
            text-align: center;
        }
        .work-detail .meta .agency {
            text-align: left;
        }
        .work-detail .meta .director {
            text-align: right;
        }
        .work-detail .meta .nav {
            display: block;
            position: absolute;
            width: 20px;
            bottom: 0;
            top: 130px;
        }
        .work-detail .meta .nav.prev {
            left: 0;
            padding-right: 30px;
        }
        .work-detail .meta .nav.next {
            right: 0;
            padding-left: 30px;
        }
        .work-detail .meta .nav .svg {
            margin: 0;
            height: 50px;
        }
        .teaser {
            display: none;
        }

        /* News page */
        .blog .social-links {
            margin: 80px 0 40px 0;
        }
        .blog .grid {
            margin: 0 20px;
        }
        .blog a.news-block {
            color: #ffffff;
        }
        .blog .news-block {
            padding: 0;
            width: 100%;
            margin-bottom: 40px;
            position: static !important;
        }
        .blog .news-block:nth-child(even) {
            margin-top: 0;
        }
        .blog h3 {
            font-size: 20px;
            margin: 0 20px 20px;
        }
        .blog .excerpt {
            font-size: 13px;
        }
        .blog .static {
            opacity: 0;
        }

        /* Single post */
        .single #content {
            padding-top: 90px;
        }
        .single .post {
            padding: 0 20px;
        }
        .single .post .responsive-container {
            margin-bottom: 20px;
        }
        .single .post .title {
            margin-left: 0;
            text-align: center;
            font-size: 20px;
            margin-bottom: 20px;
        }
        .single .post .entry {
            padding-bottom: 15px;
        }
        .single .post .entry p {
            margin-right: 0;
            font-size: 15px;
        }
        .single .post .entry img {
            width: 100%;
            height: auto;
        }
        .single .mobile-nav {
            display: block;
            color: #000000;
            font-size: 14px;
            text-transform: uppercase;
            padding-bottom: 65px;
        }
        .single .mobile-nav .svg * {
            fill: #000000;
        }
        .single .mobile-nav .news {
            position: absolute;
            left: 0;
            right: 0;
            text-align: center;
        }
        .single .mobile-nav .prev .svg {
            padding-right: 20px;
            transform: translateY(2px);
        }
        .single .mobile-nav .next {
            position: absolute;
            right: 20px;
        }
        .single .mobile-nav .next .svg {
            padding-left: 20px;
            transform: translateY(2px);
        }
        
        /* About Page */
        .section-about .entry {
			margin: 30px 30px;
			font-size: 18px;
        }
        .section-about .wp-post-image {
	        width: calc(100% - 30px);
	        left: 15px;
        }

        /* Contact */
        body.light-bg.contact #container #header {
            background-color: #ffffff;
        }
        .contact .section {
            height: 75vh;
        }
        .contact .entry {
            position: static;
            text-align: center;

            -webkit-flex-direction: column;
            flex-direction: column;
            -webkit-justify-content: flex-start;
            justify-content: flex-start;
        }
        .contact .branch {
            margin: 60px 0;
            min-height: auto;
            display: block;
        }
        .contact .branch + .branch {
            padding-top: 0;
            margin-top: 0;
        }
        .contact .spacer,
        .contact .name:empty,
        .contact address:empty {
            display: none;
        }
        .contact .static {
            visibility: hidden;
        }
        .contact h3 {
            font-size: 30px;
        }
        .contact .address {
            font-size: 14px;
        }
        .contact .name {
            font-size: 17px;
        }
        .contact .title {
            font-size: 11px;
        }
        .contact .phone {
            font-size: 14px;
        }
        .contact .section-mission .entry {
            margin: 20px 50px;
            font-size: 14px;
        }
        .contact .section-mission .wp-post-image {
            left: 30px;
            right: 30px;
            top: 30px;
            width: calc(100% - 60px);
            height: calc(100% - 60px);
        }
        .contact .section-mission .social-links .text {
            margin-top: 30px;
        }
        .scroll-button {
            bottom: 10px;
        }
        .social-links .link {
            margin: 0 5px 10px 5px;
        }
        .section-contact-info .social-links {
            display: none;
        }
    }

    /* Smaller than tablet and landscape */
    @media (max-width: 750px) and (orientation: landscape){

    }
