/* Import Fonts */

@import url(https://fonts.googleapis.com/css?family=Oxygen|Open+Sans);
body {
    font-family: 'Open Sans', sans-serif;
    font-size: 20px;
    line-height: 28px;
    font-weight: 400;
    color: #777;
    background: #000;
}

h1,
h2,
h3,
h4,
h5,
h6 {
    font-family: 'Oxygen', serif;
    color: #fff;
    font-weight: normal;
    padding: 0;
    margin: 0;
    letter-spacing: 1px;
    display: block;
}

h1 {
    font-size: 63px;
    line-height: 70px;
    margin-bottom: 8px;
    color: Beige;
}

h5 {
    font-size: 32px;
    line-height: 38px;
    margin-bottom: 42px;
    color: LightBlue;
}

p {
    font-family: 'Open Sans', sans-serif;
    font-size: 24px;
    line-height: 32px;
    display: block;
}

a {
    color: #b7b7b7;
    text-decoration: none;
    font-weight: normal;
}

a:hover {
    text-decoration: underline;
}

#contact a:hover {
    text-decoration: none;
    color: #e2f1ff;
}

#maximage {
    display: none;
    position: fixed !important;
}

.gradient {
    left: 0;
    height: 100%;
    position: absolute;
    top: 0;
    width: 100%;
    z-index: 999;
}

.show {
    display: block;
}

.hide {
    opacity: 0;
}


/* Set Page Elements */

.content {
    float: left;
    margin: 40px;
    position: absolute;
    top: 70px;
    width: 1180px;
    z-index: 9999;
    display: block;
}

.offwhite {
    color: #ddd;
}

#pricing .contrast {
    background: rgba(0, 0, 0, 0.25);
    padding: 0px 0px 0px 0px;
}

.logoimg {
    position: absolute;
    bottom: 18px;
    left: 46px;
    z-index: 1001;
}

.main-nav {
    position: absolute;
    bottom: 24px;
    left: 178px;
    z-index: 1001;
}

.main-nav ul li {
    list-style: none;
    display: inline;
    padding-left: 10px;
    padding-right: 10px;
    border-left: 1px solid #b7b7b7;
}

.main-nav ul li a {
    color: White;
}

.main-nav ul li a.active {
    color: LightBlue;
}

.phone {
    font-size: 28px;
    line-height: 68px;
    color: #eee;
}

.whatsapp {
    font-size: 24px;
    line-height: 68px;
    color: #ddd;
}

.email {
    font-size: 24px;
    line-height: 68px;
    color: #ddd;
}

.address {
    font-size: 22px;
    line-height: 32px;
    color: #bbb;
}

.copyright {
    font-size: 14px;
    line-height: 20px;
    color: #888;
    padding: 30px 0 0 0;
}

.nl,
.nl-inline {
    display: none;
}

.shorter {
    display: none;
}

#contact-table {
    background-image: none;
}

#contact-table td {
    padding: 12px 12px 12px 0px;
}

#contact-table img {
    vertical-align: middle;
    padding: 0px 0px 0px 0px;
}

#contact-table-wide {
    background-image: none;
}

#contact-table-wide td {
    padding: 24px 12px 12px 0px;
    vertical-align: middle;
}

#contact-table-wide img {
    vertical-align: middle;
    padding: 0px 0px 0px 0px;
}

#contact-table-xwide {
    background-image: none;
}

#contact-table-xwide td {
    padding: 24px 12px 12px 0px;
    vertical-align: middle;
}

#contact-table-xwide img {
    vertical-align: middle;
    padding: 0px 0px 0px 0px;
}

.grow-a,
.grow-b {
    transition: all .2s ease-in-out;
}

.grow-a:hover {
    transform: scale(1.06);
}

.grow-b:hover {
    transform: scale(1.1);
}

#pricing table,
#pricing th,
#pricing td {
    border: 1px solid #ccc;
}

#pricing th,
#pricing td {
    padding: 30px;
}

#pricing th {
    color: DodgerBlue;
}


/* ------------------------------------------------------------------------------------------------------------------------------------------------------------------ */


/* First, some media queries that only care about landscape/portrait and nothing else */


/* Button positions horizontal/adjacent */

@media screen and (orientation: landscape) {
    button.nl-lang {
        position: absolute;
        bottom: 42px;
        right: 40px;
        width: 42px;
        height: 42px;
        border: 0;
        z-index: 50000;
        background: url("../images/nl-flag-42.png");
        display: inline-block;
        cursor: pointer;
        opacity: .7;
    }
    button.uk-lang {
        position: absolute;
        bottom: 42px;
        right: 100px;
        width: 42px;
        height: 42px;
        border: 0;
        z-index: 50000;
        background: url("../images/uk-flag-42.png");
        display: inline-block;
        cursor: pointer;
        opacity: .7;
    }
    button.uk-lang:hover,
    button.nl-lang:hover {
        opacity: 1;
    }
    .langsel {
        font-size: 13px;
        bottom: 70px;
        right: 42px;
        position: absolute;
        z-index: 49000;
        color: LightBlue;
        font-weight: normal;
    }
    #contact-table-wide {
        display: inline-block;
    }
    #contact-table-xwide {
        display: none;
    }
    #contact-table {
        display: none;
    }
}


/* Button positions vertical/stacked */

@media screen and (orientation: portrait) {
    button.nl-lang {
        position: absolute;
        bottom: 92px;
        right: 44px;
        width: 42px;
        height: 42px;
        border: none;
        z-index: 50000;
        background: url("../images/nl-flag-42.png");
        display: inline-block;
        cursor: pointer;
        opacity: .7;
    }
    button.uk-lang {
        position: absolute;
        bottom: 42px;
        right: 44px;
        width: 42px;
        height: 42px;
        border: none;
        z-index: 50000;
        background: url("../images/uk-flag-42.png");
        display: inline-block;
        cursor: pointer;
        opacity: .7;
    }
    button.uk-lang:hover,
    button.nl-lang:hover {
        opacity: 1;
    }
    .langsel {
        font-size: 12px;
        bottom: 34px;
        right: 38px;
        position: absolute;
        z-index: 49000;
        color: LightBlue;
        font-weight: normal;
        transform: rotate(90deg);
        transform-origin: right bottom 0;
    }
    #contact-table-wide {
        display: none;
    }
    #contact-table-xwide {
        display: none;
    }
    #contact-table {
        display: inline-block;
    }
    .copyright {
        width: 75vw;
    }
}


/* ------------------------------------------------------------------------------------------------------------------------------------------------------------------ */


/* Media queries for phone/tablet scaling - Phil
    PC 1920x1080 or 1366x768, Mac 1302x729, Chromebook height 630
    iPhone 1461x980 (551x980 in landscape)
    iPad 1196x980 (652x980 in landscape)
    Note that Mac screen shows as 1302w x 729h and reports a pixel-ration of 2 and therefore is seen as regular PC screen below */


/* General PC screens */

@media screen and (max-height: 820px) {
    .content {
        top: 20px;
    }
    h1 {
        font-size: 53px;
        line-height: 60px;
    }
    h5 {
        font-size: 36px;
        line-height: 42px;
    }
    p {
        font-size: 22px;
        line-height: 30px;
    }
    #lessons ul li {
        font-size: 18px;
        line-height: 24px;
    }
    #pricing th,
    #pricing td {
        padding: 20px;
    }
    #contact-table a {
        font-size: 24px;
    }
    #contact-table-wide a {
        font-size: 24px;
    }
    #contact-table-xwide a {
        font-size: 24px;
    }
}

@media screen and (max-height: 660px) {
    .content {
        top: 20px;
    }
    h1 {
        font-size: 48px;
        line-height: 54px;
    }
    h5 {
        font-size: 32px;
        line-height: 38px;
    }
    p {
        font-size: 18px;
        line-height: 24px;
    }
    #lessons ul li {
        font-size: 16px;
        line-height: 22px;
    }
    #pricing th,
    #pricing td {
        padding: 12px;
    }
}

@media screen and (max-height: 600px) {
    .content {
        top: 20px;
        width: auto;
    }
    .copyright {
        font-size: 12px;
        line-height: 18px;
        color: #888;
        padding: 12px 0 0 0;
    }
    #contact-table-wide {
        display: none;
    }
    #contact-table-xwide {
        display: inline-block;
    }
    #contact-table {
        display: none;
    }
}

@media screen and (max-width: 1260px) {
    .content {
        top: 20px;
        width: auto;
    }
}

@media screen and (max-width: 1030px) {
    .content {
        top: 20px;
        width: auto;
    }
    h1 {
        font-size: 48px;
        line-height: 54px;
    }
    h5 {
        font-size: 32px;
        line-height: 38px;
    }
    p {
        font-size: 20px;
        line-height: 26px;
    }
}

@media screen and (max-width: 890px) and (orientation:portrait) {
    /* 34, 42, 92 normal stack */
    button.nl-lang {
        bottom: 150px;
    }
    button.uk-lang {
        bottom: 100px;
    }
    .langsel {
        bottom: 92px;
    }
}

@media screen and (max-width: 890px) and (orientation:landscape) {
    button.nl-lang {
        bottom: 84px;
    }
    button.uk-lang {
        bottom: 84px;
    }
    .langsel {
        bottom: 108px;
    }
}

@media screen and (max-width: 600px) {
    .content {
        top: 20px;
        width: auto;
    }
    p {
        font-size: 16px;
        line-height: 20px;
    }
    .main-nav ul li {
        font-size: 14px;
    }
}


/* ------------------------------------------------------------------------------------------------------------------------------------------------------------------ */


/* iPad screens - No need for difference between Chrome and Safari */


/* Safari + Chrome */

@media screen and (min-width: 900px) and (max-width: 1000px) and (max-height: 1399px) and (-webkit-min-device-pixel-ratio: 2) and (orientation: portrait) {
    .content {
        top: 40px;
        width: 800px;
        height: auto;
    }
    h5 {
        font-size: 40px;
        line-height: 50px;
        margin-bottom: 44px;
    }
    .logoimg {
        bottom: 20px;
        left: 48px;
    }
    .main-nav {
        bottom: 12px;
        left: 190px;
    }
    .main-nav ul li {
        font-size: 24px;
        padding-left: 16px;
        padding-right: 18px;
    }
    p {
        font-size: 26px;
        line-height: 36px;
    }
    #lessons ul li {
        font-size: 24px;
        line-height: 32px;
    }
    .phone {
        font-size: 40px;
        line-height: 48px;
        color: #fff;
    }
    .whatsapp {
        font-size: 36px;
        line-height: 48px;
        color: #fee;
    }
    .email {
        font-size: 32px;
        line-height: 48px;
        color: #eee;
    }
    .address {
        font-size: 28px;
        line-height: 32px;
        color: #bbb;
    }
    .copyright {
        font-size: 16px;
        line-height: 24px;
        color: #888;
    }
    button.nl-lang {
        position: absolute;
        bottom: 160px;
        right: 48px;
        width: 64px;
        height: 64px;
        border: none;
        background: url("../images/nl-flag-64.png");
        display: inline-block;
        cursor: pointer;
        opacity: .7;
    }
    button.uk-lang {
        position: absolute;
        bottom: 86px;
        right: 48px;
        width: 64px;
        height: 64px;
        border: none;
        background: url("../images/uk-flag-64.png");
        display: inline-block;
        cursor: pointer;
        opacity: .7;
    }
    .langsel {
        font-size: 18px;
        bottom: 74px;
        right: 42px;
        position: absolute;
        z-index: 1000;
        color: LightBlue;
        font-weight: normal;
        transform: rotate(90deg);
        transform-origin: right bottom 0;
    }
    #contact-table {
        width: 85vw;
        background: rgba(255, 255, 255, 0.15);
        background-image: url("../images/click-256.png");
        background-repeat: no-repeat;
        background-position: 90%;
    }
    #contact-table td {
        padding: 18px 24px 18px 0;
    }
}


/* Safari + Chrome */

@media screen and (min-width: 900px) and (max-width: 1000px) and (min-height: 600px) and (-webkit-min-device-pixel-ratio: 2) and (orientation: landscape) {
    .content {
        top: -10px;
        width: 900px;
        height: auto;
    }
    h1 {
        font-size: 44px;
        line-height: 62px;
    }
    h5 {
        font-size: 24px;
        line-height: 30px;
        margin-bottom: 22px;
    }
    .logoimg {
        bottom: 12px;
        left: 44px;
    }
    .main-nav {
        bottom: 12px;
        left: 180px;
    }
    .main-nav ul li {
        font-size: 20px;
        padding-left: 18px;
        padding-right: 14px;
    }
    p {
        font-size: 18px;
        line-height: 24px;
    }
    .copyright {
        font-size: 14px;
        line-height: 22px;
        color: #888;
    }
    #contact-table,
    #contact-table-wide td {
        padding: 2px 20px 20px 0;
        vertical-align: middle;
    }
    button.nl-lang {
        position: absolute;
        bottom: 32px;
        right: 30px;
        width: 42px;
        height: 42px;
        border: 0;
        z-index: 50000;
        background: url("../images/nl-flag-42.png");
        display: inline-block;
        cursor: pointer;
        opacity: .7;
    }
    button.uk-lang {
        position: absolute;
        bottom: 32px;
        right: 90px;
        width: 42px;
        height: 42px;
        border: 0;
        z-index: 50000;
        background: url("../images/uk-flag-42.png");
        display: inline-block;
        cursor: pointer;
        opacity: .7;
    }
    .langsel {
        font-size: 13px;
        bottom: 62px;
        right: 32px;
        position: absolute;
        z-index: 49000;
        color: LightBlue;
        font-weight: normal;
    }
}


/* ------------------------------------------------------------------------------------------------------------------------------------------------------------------ */


/* iPhone screens - 551 landscape in Safari, 522 in Chrome (it matters in landscape) */


/* Safari + Chrome */

@media only screen and (min-width: 900px) and (max-width: 1000px) and (min-height: 1400px) and (-webkit-min-device-pixel-ratio: 2) and (orientation: portrait),
only screen and (min-width: 900px) and (max-width: 1000px) and (min-height: 1350px) and (-webkit-min-device-pixel-ratio: 3) and (orientation: portrait) {
    .content {
        top: 10px;
        width: 800px;
        height: auto;
    }
    h1 {
        font-size: 68px;
        line-height: 76px;
    }
    h5 {
        font-size: 42px;
        line-height: 48px;
    }
    .logoimg {
        bottom: 106px;
        left: 54px;
    }
    .main-nav {
        bottom: 28px;
        left: 20px;
    }
    .main-nav ul li {
        font-size: 34px;
        color: #ddd;
        padding: 0px 20px 0px 18px;
        border-left: 2px solid #b7b7b7;
    }
    p {
        font-size: 34px;
        line-height: 42px;
    }
    .phone {
        font-size: 52px;
        line-height: 96px;
        color: #fff;
    }
    .whatsapp {
        font-size: 46px;
        line-height: 96px;
        color: #d4f8d4;
    }
    .email {
        font-size: 42px;
        line-height: 96px;
        color: #d4ebf2;
    }
    .address {
        font-size: 42px;
        line-height: 54px;
        color: #ffebeb;
    }
    .copyright {
        font-size: 20px;
        line-height: 28px;
        color: #bbb;
    }
    button.nl-lang {
        position: absolute;
        bottom: 230px;
        right: 50px;
        width: 96px;
        height: 96px;
        border: none;
        background: url("../images/nl-flag-96.png");
        display: inline-block;
        cursor: pointer;
        opacity: .7;
    }
    button.uk-lang {
        position: absolute;
        bottom: 130px;
        right: 50px;
        width: 96px;
        height: 96px;
        border: none;
        background: url("../images/uk-flag-96.png");
        display: inline-block;
        cursor: pointer;
        opacity: .7;
    }
    .langsel {
        font-size: 24px;
        bottom: 116px;
        right: 46px;
        position: absolute;
        z-index: 1000;
        color: LightBlue;
        font-weight: normal;
        transform: rotate(90deg);
        transform-origin: right bottom 0;
    }
    #contact-table {
        width: 85vw;
        background: rgba(10, 10, 10, 0.3);
        background-image: url("../images/click-256.png");
        background-repeat: no-repeat;
        background-position: 90%;
    }
    #contact-table td {
        padding: 18px 24px 18px 0;
        vertical-align: middle;
    }
    #pricing {
        font-size: 36px;
        line-height: 42px;
    }
    .longer {
        display: none;
    }
    .shorter {
        display: block;
    }
    #lessons ul li {
        font-size: 24px;
        line-height: 32px;
    }
}


/* Safari */

@media only screen and (min-width: 900px) and (max-width: 1000px) and (max-height: 599px) and (-webkit-min-device-pixel-ratio: 2) and (orientation: landscape),
only screen and (min-width: 900px) and (max-width: 1000px) and (max-height: 500px) and (-webkit-min-device-pixel-ratio: 3) and (orientation: landscape) {
    .content {
        top: -20px;
        width: 92vw;
    }
    h1 {
        font-size: 42px;
        line-height: 50px;
    }
    h5 {
        font-size: 32px;
        line-height: 38px;
        margin-bottom: 16px;
    }
    p {
        font-size: 20px;
        line-height: 26px;
    }
    #about p {
        font-size: 11px;
        line-height: 14px;
    }
    .logoimg {
        bottom: 10px;
        left: 47px;
    }
    .main-nav {
        bottom: 8px;
        left: 186px;
    }
    .main-nav ul li {
        font-size: 20px;
    }
    .copyright {
        font-size: 10px;
        line-height: 12px;
        color: #bbb;
        padding: 0px 0px 0px 0px;
    }
    button.nl-lang {
        bottom: 28px;
    }
    button.uk-lang {
        bottom: 28px;
    }
    .langsel {
        bottom: 58px;
        font-size: 18px;
    }
    #contact-table td {
        padding: 2px 20px 2px 0;
        vertical-align: middle;
    }
    #contact-table-wide td {
        padding: 8px 20px 8px 0;
    }
    #contact-table-wide {
        display: inline-block;
    }
    #contact-table-xwide {
        display: none;
    }
    #contact-table {
        display: none;
    }
    .longer {
        display: none;
    }
    .shorter {
        display: block;
    }
    #lessons ul li {
        font-size: 11px;
        line-height: 14px;
    }
}


/* Chrome */

@media screen and (min-width: 900px) and (max-width: 1000px) and (max-height: 525px) and (-webkit-min-device-pixel-ratio: 2) and (orientation: landscape) {
    .content {
        top: -50px;
        width: 92vw;
    }
    h5 {
        margin-bottom: 4px;
    }
    .logoimg {
        bottom: 82px;
        left: 47px;
    }
    .main-nav {
        bottom: 8px;
        left: 186px;
    }
    .main-nav ul li {
        font-size: 20px;
    }
    p {
        font-size: 20px;
        line-height: 26px;
    }
    .copyright {
        font-size: 8px;
        line-height: 9px;
        color: #bbb;
        padding: 0px 0px 0px 0px;
    }
    button.nl-lang {
        bottom: 28px;
    }
    button.uk-lang {
        bottom: 28px;
    }
    .langsel {
        bottom: 52px;
        font-size: 16px;
    }
    #contact-table td {
        padding: 2px 20px 2px 0;
        vertical-align: middle;
    }
    #contact-table-wide td {
        padding: 8px 20px 8px 0;
    }
    #contact-table-wide {
        display: inline-block;
    }
    #contact-table-xwide {
        display: none;
    }
    #contact-table {
        display: none;
    }
    .longer {
        display: none;
    }
    .shorter {
        display: block;
    }
    #lessons ul li {
        font-size: 12px;
        line-height: 15px;
    }
}