.mobile #video-background {
    display: none;
}

body.mobile {
    overflow-y: scroll !important;
}

.mobile #fullpage {
    padding-top: 80px;
    position: relative;
    left: 0;
    margin: 0 auto;
}

.mobile #fullpage .section {
    position: relative;
    top: 0;
    left: 0;
    margin: 50px 0 0;
    padding: 0;
    -webkit-transform: none;
    transform: none;
    opacity: 1;
    padding-top: 80px;
}

.mobile #fullpage .section * {
    -webkit-transform: none;
    transform: none;
    opacity: 1;
}

.mobile #fixed-bg {
    display: none;
}

.mobile #fixed-bg-home {
    opacity: 1;
    background-size: 70%;
    background-position: center 50px;
}

.mobile #nav_bar {
    height: 80px;
}

.mobile #logo {
    height: 50px !important;
    margin: 15px 0 0 10px !important;
    background-size: auto 100% !important;
    background-repeat: no-repeat;
}

.mobile #nav-links a {
    padding-top: 35px;
}

.mobile #fullpage #home.section {
    margin-top: 0;
    padding-top: 138px;
}

.mobile #fullpage #home h1 {
    margin-top: 0;
}

.mobile #fullpage #advertisers .intro,
.mobile #fullpage #console .intro,
.mobile #fullpage #publishers .intro {
    margin-top: 50px;
}

.mobile #fullpage #contact .cities h3.opened {
    color: #fff200;
}

/* laptops */
@media screen and ( max-height: 900px ) and ( min-width: 900px ) {
    h1 {
        margin: 25px 0 0;
    }

    #highlight .content {
        -webkit-transform: scale(1);
        transform: scale(1);
    }

    #fullpage .section .intro {
        margin-top: 70px;
    }

    #fullpage #publishers .intro,
    #fullpage #console .intro,
    #fullpage #advertisers .intro {
        margin-top: -50px;
    }

    #home .arrow_down {
        margin-top: 130px;
    }
}

/* ultrabooks */
@media screen and ( max-height: 800px ) and ( min-width: 900px ) {
    h1 {
        margin: 0;
    }

    #home h1 {
        margin-top: 100px;
    }

    #fullpage .section .intro {
        margin-top: 30px;
    }

    #fullpage #team .intro {
        margin-top: -30px;
        -webkit-transform: scale(.70);
        transform: scale(.70);
    }

    #fullpage #contact h1 {
        margin-top: 5px;
    }

    #fullpage #contact .cities {
        margin-top: -80px;
    }

    #fullpage #contact .touch-links {
        margin-top: -30px;
    }

    #fullpage #contact .touch-rights {
        margin-top: 0;
    }

    #fullpage #contact .offices {
        top: 190px;
    }

    .mobile #fullpage #contact .offices .office-img {
        top: 34px;
    }
}

/* ultrabooks 11" */
@media screen and ( max-height: 760px ) and ( min-width: 900px ) {
    #fullpage .section .intro,
    #fullpage .section > h1 {
        -webkit-transform-origin: 50% 0;
        transform-origin: 50% 0;
        transform: scale(.8) !important;
    }

    #fullpage .section > h1 {
        margin-top: 20px;
    }

    #fullpage #team.section .intro {
        margin-top: 30px;
    }

    #servicelevels > p {
        margin-top: 0;
    }

    #servicelevels > h1 {
        height: 60px;
    }

    #nav_bar {
        height: 80px;
    }

    #nav_bar #logo {
        width: 131px;
        height: 50px;
        margin-top: 15px;
    }

    #nav_bar .nav-links a {
        font-size: 12px;
        padding-top: 34px;
    }
}

/* widescreen */
@media screen and ( min-width: 1500px ) {
    #nav_bar, #fullpage {
        width: 1473px;
        margin-left: -736px;
    }

    #fullpage .section {
        max-width: 1473px;
    }

    #nav-links a {
        /*display: inline-block !important;*/ /*uncomment for new navigation */
    }

    #nav-links-collapse {
        display: none;
    }

    #nav_bar #sandwich-nav-links {
        display: none;
    }
}

/* mobile */
@media screen and ( min-width: 0 ) and ( max-width: 750px ) {
    #fixed-bg-home {
        top: 0;
    }
    #nav_bar {
        width: 370px;
        margin-left: -185px;
        -webkit-overflow-scrolling: touch;
    }

    #fullpage {
        width: 100%;
    }

    #fullpage .sections {
        width: 370px;
        margin: auto;
    }

    #fullpage .section {
        max-width: 370px;
        overflow: visible;
    }

    #nav-links {
        display: none !important;
    }

    #nav_bar #sandwich-nav-links {
        display: inline-block;
    }

    #nav_bar #sandwich-nav-links {
        margin-top: 35px;
    }

    #nav_bar #nav-links-collapse a:nth-child(-n+4) {
        display: block;
    }

    #nav_bar #sandwich-nav-links span {
        display: inline;
    }

    #fullpage .section .intro {
        width: 310px;
        margin: 30px auto 0;
    }

    #fullpage .section h1 {
        font-size: 2.5rem;
        margin-top: 20px;
    }

    #fullpage .section h2 {
        font-size: 2.1rem;
        font-family: AzoSansRegular;
    }

    #fullpage .section p {
        font-size: 1.6rem;
    }

    /*#fullpage .section.visible h1 {
        font-family: AzoSansMedium;
        font-size: 28px;
        line-height: 42px;
    }

    #fullpage #intro p {
        font-size: 14px;
    }*/

    .sub-popup-inner {
        top: 80px;
        width: 370px;
        padding: 20px 20px 30px;
        margin-left: -185px;
        margin-bottom: 100%;
    }

    .sub-popup-inner .sub-popup-close {
        top: 23px;
    }

    .sub-popup-inner.visible {
        top: 100px;
    }

    .sub-popup-inner form input,
    .sub-popup-inner form select {
        font-size: 1.3rem;
        margin-bottom: 20px;
    }

    .sub-popup-inner form input.button {
        width: 170px;
        height: 36px;
        font-size: 1.4rem;
        margin-top: 30px;
    }

    #fullpage #home {
        height: 650px;
    }

    .mobile #fullpage #home h1 {
        font-size: 28px;
        margin-top: 0;
        line-height: 42px;
    }

    #fullpage #home p {
        font-size: 14px;
        margin-top: 15px;
        margin-right: auto;
        margin-left: auto;
    }

    #fullpage #intro p:first-child {
        margin-bottom: 0;
    }

    #fullpage #intro p:last-child {
        margin-top: 0;
    }

    .mobile #fullpage #home .intro h1 {
        margin-bottom: 25px;
    }

    .mobile #fullpage #vi .intro p {
        font-size: 1.5rem;
        margin-bottom: 25px;
        line-height: 1.5em;
    }

    #fullpage #home p span {
        font-size: 1.7rem;
    }

    #fullpage #home .intro {
        margin-top: 30px;
        width: 340px;
    }

    #fullpage #home .arrow_down_container {
        bottom: auto;
        position: relative;
        width: 100px;
        left: auto;
        margin: auto;
        padding-top: 40%;
    }

    #fullpage #intro .one-fourth,
    #fullpage #servicelevels .one-third {
        display: block;
        float: none;
        margin: 0 auto 30px;
        width: 250px;
    }

    #fullpage #intro .one-fourth .image,
    #fullpage #servicelevels .one-third .image {
        width: 96px;
        height: 96px;
        background-size: 100%;
        margin: 0 auto;
    }

    #fullpage #intro .one-fourth h2,
    #fullpage #servicelevels .one-third h2 {
        margin: 10px 0;
        font-size: 2.1;
    }

    #fullpage #intro .one-fourth p,
    #fullpage #servicelevels .one-third .text-content {
        margin: 0;
        padding: 0 2px;
        text-align: left;
        font-size: 1.5rem;
    }

    #fullpage #intro .one-fourth .comscore {
        background-position: 50% 0;
        width: 150px;
        height: 30px;
        margin-bottom: 5px;
    }

    #fullpage #intro .one-fourth .deloitte {
        background-position: 50% 0;
        height: 30px;
        margin-bottom: 5px;
    }

    #fullpage #servicelevels {
        height: auto !important;
    }

    #fullpage #servicelevels > p {
        width: 310px;
        margin: 16px auto;
    }

    #fullpage #highlight {
        margin: 150px 0 100px;
    }

    #fullpage #highlight .intro {
        width: 370px;
        min-width: 370px;
        padding: 35px;
    }

    #fullpage #highlight h3 {
        font-size: 1.7rem;
    }

    #fullpage #contact {
        padding-bottom: 100px;
    }

    #fullpage #contact .cities {
        height: 215px;
        width: 305px;
        margin: auto;
        background: none;
    }

    #fullpage #contact .cities h3 {
        font-family: AzoSansMedium;
        font-weight: normal;
        font-size: 1.5rem;
        left: 0;
        z-index: 399;
    }

    #fullpage #contact .cities h3:after {
        display: none;
    }

    #contact .cities .sydney {
        top: 130px;
    }

    #contact .cities .timisoara {
        top: 160px;
    }

    #contact .cities .zurich {
        top: 10px;
    }

    #contact .cities .kyiv {
        top: 40px;
    }

    #contact .cities .london {
        top: 70px;
    }

    #contact .cities .ny {
        top: 100px;
    }

    .mobile #contact .offices .office-img {
        display: none;
    }

    #contact .offices .office-inner {
        background: none;
        padding: 25px 0 0 140px;
        height: 215px;
        box-shadow: none;
    }

    #contact .offices h3 {
        display: none;
    }

    #contact .touch-links {
        margin-top: 20px;
        width: 305px;
        text-align: center;
    }

    #contact .touch-links a {
        width: 36px;
        height: 36px;
        margin-left: 36px;
        font-size: 1.1rem;
        font-family: AzoSansMedium;
    }

    #contact .touch-links a.touch-link-mail-press {
        padding-left: 10px;
        padding-right: 10px;
    }

    #contact .touch-links a:nth-child(-n+3) {
        margin-left: 34px;
        width: 73px;
        height: 70px;
    }

    #contact .touch-links a:first-child,
    #contact .touch-links a:nth-child(4) {
        margin-left: 0;
    }

    #contact .touch-links a:last-child {
        width: 36px;
    }

    #contact .touch-links a:last-child .touch-link-img {
        margin: 0;
    }

    #contact .touch-links .touch-link-img {
        width: 36px;
        height: 36px;
        background-size: 100%;
    }

    #contact .touch-rights {
        width: 305px;
    }

    #contact .touch-rights .touch-terms {
        width: 100%;
        font-size: 1.5rem;
        line-height: 30px;
        margin-top: 10px;
        float: none;
    }

    #contact .touch-rights .touch-rights-copy {
        width: 100%;
        float: none;
        font-size: 1.2rem;
        text-align: left;
        line-height: 30px;
        margin-bottom: 10px;
    }

    #news .display-posts-listing .listing-item .title,
    #news .display-posts-listing .listing-item .date {
        font-size: 1.5rem;
    }

    #events .display-posts-listing .listing-item .excerpt .date {
        font-size: 1.5rem;
    }

    #events .display-posts-listing .listing-item .excerpt a {
        font-size: 2.1rem;
    }

    #events .display-posts-listing .listing-item:first-child .excerpt a {
        font-size: 2.5rem;
    }

    #fullpage #contact .offices {
        display: block;
        top: 132px;
        left: 32px;
        width: 305px;
        height: auto;
        margin: 0;
    }

    .mobile #contact .offices .office-close {
        display: none;
    }

    .mobile #contact .offices .office-inner {
        padding-bottom: 20px;
    }

    .mobile #contact .offices .office-inner p:first-child {
        color: #fff200;
        margin-bottom: 12px;
        font-family: AzoSansRegular;
    }

    .mobile #contact .offices .office-inner p {
        font-size: 1.5rem;
    }

    .mobile #contact .offices .office-inner p.space {
        line-height: 0.8em;
    }

    .mobile #contact .offices .office-inner p.space-sm {
        line-height: 0.6em;
    }

    .mobile #contact .offices .office-inner p.space-null {
        line-height: 0;
    }

    .mobile #contact .offices .office-img {
        margin-top: 25px;
    }

    .mobile #fullpage #contact .cities h3.opened {
        font-family: AzoSansBold;
    }
}

/* mobile landscape, sort of */
@media screen and ( min-width: 0 ) and ( max-width: 750px ) and ( max-height: 400px ) {
    .mobile #fullpage #home.section {
        padding-top: 20px;
    }

    #fullpage #home .arrow_down_container {
        padding-top: 30px;
    }
}

/* iphone <6 */
@media screen and ( min-width: 0 ) and ( max-width: 350px ) {
    #nav_bar {
        width: 320px;
        margin-left: -160px;
        -webkit-overflow-scrolling: touch;
    }

    #fullpage {
        width: 320px;
        margin: 0 auto;
        padding-top: 80px;
        position: relative;
        left: 0;
    }

    #fullpage .section {
        max-width: 320px;
        position: relative;
        top: 0;
        left: 0;
        margin: 50px 0 0;
        padding: 0;
        -webkit-transform: none;
        transform: none;
        opacity: 1;
        padding-top: 80px;
    }

    #fullpage .section * {
        -webkit-transform: none;
        transform: none;
        opacity: 1;
    }

    #fullpage .section .intro {
        width: 300px;
    }

    .sub-popup {
        width: 320px;
        position: fixed;
        height: 600px;
    }

    .sub-popup.visible {
        top: -80px;
    }

    .sub-popup-inner {
        width: 320px;
        margin-left: -160px;
    }

    .sub-popup-inner form input,
    .sub-popup-inner form select {
        font-size: 1.3rem;
        margin-bottom: 10px;
    }

    #fullpage #home .intro {
        width: 300px;
    }

    .mobile #fullpage #home.section {
        padding-top: 50px;
    }

    #fullpage #home .arrow_down_container {
        padding-top: 120px;
    }

    .sub-popup-close {
        top: 5px;
        right: 5px;
    }

    #fullpage #highlight .intro {
        width: 320px;
        min-width: 320px;
        padding: 35px;
    }

    #contact .cities {
        margin-left: -40px;
    }

    #fullpage #contact .offices {
        left: 7px;
    }
}

/* tablet portrait */
@media only screen
and (min-device-width: 750px)
and (max-device-width: 900px) {
    #nav_bar {
        width: 100%;
        margin-left: 0;
        left: 0;
        -webkit-overflow-scrolling: touch;
    }

    #fullpage {
        width: 100%;
    }

    #fullpage .section {
        max-width: 100%;
        height: auto;
    }

    #fullpage .section h1 {
        font-size: 2.5rem;
        margin-top: 20px;
    }

    #fullpage .section h2 {
        font-size: 2.1rem;
        font-family: AzoSansRegular;
    }

    #fullpage .section p {
        font-size: 1.6rem;
    }

    #fullpage #home {
        height: 1000px;
    }

    #fullpage #home h1 {
        font-size: 2.5rem;
        margin-top: 150px !important;
    }

    #fullpage #home p {
        font-size: 2.5rem;
        margin-top: 15px;
    }

    #fullpage #home .intro {
        max-width: 500px;
    }

    #fullpage #intro .one-fourth,
    #fullpage #servicelevels .one-third {
        margin-left: 10px;
        width: 240px;
    }

    #fullpage #servicelevels .one-third {
        padding: 0 5px;
    }

    #fullpage #advertisers,
    #fullpage #publishers,
    #fullpage #console {
        padding-bottom: 90px;
    }

    #fullpage #advertisers {
        padding-bottom: 122px;
    }

    #fullpage #highlight .intro {
        width: 100%;
        margin: 100px 0;
    }

    #fullpage #team .intro {
        margin-top: 40px;
        -webkit-transform: scale(.75);
        transform: scale(.75);
    }

    #fullpage #team .description,
    #fullpage #team .links {
        opacity: 0;
    }

    #fullpage #team .active .description,
    #fullpage #team .active .links {
        opacity: 1;
    }

    #fullpage #contact .cities {
        -webkit-transform-origin: 0 0;
        transform-origin: 0 0;
        margin-left: 0;
    }

    #fullpage #contact .offices {
        top: 200px
    }

    #fullpage #contact .offices .office-img {
        top: 35px;
    }

    #fullpage #contact .touch-rights {
        letter-spacing: -.4px;
    }

    #fullpage #home h1 {
        font-family: AzoSansMedium;
        font-size: 61px;
    }

    #home .arrow_down_container {
        bottom: 50px;
    }
}
