﻿* {
    outline: none !important;
}

.schermAfmeting {
    display: none;
}

body {
    margin: 0;
    padding: 0;
    background: url('/images/stars.png');
    overflow: hidden;
    font-family: 'Rawson-Medium';
}

html,
body {
    overflow: hidden;
    position: relative;
    height: 100%;
}

.clear {
    clear: both;
}

h1, h2 {
    margin: 0;
    padding: 0;
    width: 186px;
    height: 45px;
    background-image: url('/images/header_geel.svg');
    background-repeat: no-repeat;
    font-weight: normal;
    font-size: 27px;
    letter-spacing: -0.97px;
    color: #EA6D88;
    color: rgb(234, 109, 136);
    font-family: 'Rawson-SemiBold';
    text-align: center;
    line-height: 42px;
}

    h1 a {
        color: #EA6D88 !important;
        text-decoration: none;
        padding: 0 10px;
        display: inline-block;
    }

h2 {
    width: 244px;
    height: 45px;
    background-image: url('/images/header_zwart_klein.svg');
    color: #FFF;
}

.wrapper {
    position: relative;
    width: 970px;
    /*height: calc(100vh - 160px);
    margin: 80px auto;*/
    height: calc(100vh - 0px);
    margin: 0px auto;
    box-sizing: border-box;
    border: 1px solid rgba(250, 248, 240, 1);
    border: 0.5px solid rgba(250, 248, 240, 1);
}

    .wrapper main {
        padding: 0 105px 30px;
    }

.noAnim {
    transition: none !important;
}

.btn {
    color: #FFF;
    font-family: 'Rawson-SemiBold';
    font-size: 27px;
    letter-spacing: -1px;
    text-decoration: none;
    position: relative;
    margin: 0 30px 0 0;
    display: block;
}

    .btn span {
        position: absolute;
        top: 4px;
        margin: 0 0 0 10px;
    }

.col50 {
    position: relative;
    width: 50%;
}

header {
    position: relative;
    top: 0;
    left: 1px;
    height: 75px;
    width: calc(100% - 2px);
    background: rgba(49, 68, 153, 1);
    z-index: 1;
    box-sizing: border-box;
}

    header .logo {
        position: absolute;
        height: 50px;
        margin: auto;
        top: 0;
        bottom: 0;
        left: 0;
        right: 0;
        display: none;
    }

    header .slaapZ {
        position: absolute;
        right: 25px;
        top: 20px;
        display: flex;
        width: 50px;
    }

        header .slaapZ .z_1 {
            height: 22px;
            opacity: 0;
            animation-delay: 2s;
        }

        header .slaapZ .z_2 {
            height: 18px;
            margin: 11px 2px 0;
            position: relative;
            opacity: 0;
            animation-delay: 2.5s;
        }

        header .slaapZ .z_3 {
            height: 11px;
            margin: 15px 2px 0;
            position: relative;
            opacity: 0;
            animation-delay: 3s;
        }

        header .slaapZ.mobielSlaapt .z_1, header .slaapZ.mobielSlaapt .z_2, header .slaapZ.mobielSlaapt .z_3 {
            animation-name: fadein;
            animation-duration: 5s;
            animation-iteration-count: infinite;
        }

.mobielMenu {
    position: absolute;
    top: 75px;
    width: 100%;
    height: calc(100% - 75px);
    z-index: 99;
    display: flex;
    justify-content: center;
    flex-direction: column; /* <--- I added this */
    align-items: center;
    opacity: 0;
    pointer-events: none;
    transition: ease-in-out opacity 0.5s;
}

    .mobielMenu.active {
        opacity: 1 !important;
        pointer-events: all;
    }

    .mobielMenu a {
        font-size: 27px;
        line-height: 50px;
        height: 50px;
        font-family: 'Rawson-SemiBold';
        color: #FFF;
        text-decoration: none;
        text-transform: uppercase;
        display: inline-block;
        width: 50%;
        display: flex;
        align-items: center;
        justify-content: center;
        transition: ease-in-out color 0.3s;
        background: #314499;
    }

        .mobielMenu a:hover {
            color: rgb(163,171,209);
        }

main {
    position: relative;
    width: 100%;
    height: calc(100% - 150px);
    box-sizing: border-box;
    font-size: 25px;
    overflow-x: hidden;
    overflow-y: auto;
    background: rgba(250, 248, 240, 1);
}

    main.blauw {
        background: rgba(237, 246, 248, 1);
    }

    main.oranje {
        background: rgba(254,239,224, 1);
    }

    main.geel {
        background: rgba(255,253,245, 1);
    }

    main.groen {
        background: rgba(236,244,235, 1);
    }

    main.roze {
        background: rgba(249,238,241, 1);
    }

footer {
    position: fixed;
    bottom: 0;
    height: 75px;
    width: 969px;
    box-sizing: border-box;
    z-index: 1;
    font-size: 27px;
    letter-spacing: -0.97px;
    color: #FFFFFF;
    display: flex;
    align-items: flex-start;
    justify-content: flex-end;
    font-family: 'Rawson-SemiBold';
    font-size: 27px;
    letter-spacing: -1px;
    padding: 0 30px;
    box-sizing: border-box;
    background: url('/images/stars.png');
    border: 1px solid rgba(250, 248, 240, 1);
    border: 0.5px solid rgba(250, 248, 240, 1);
}

    footer .indicator {
        position: absolute;
        top: 0;
        height: 100%;
        width: 0;
        background: rgba(191, 227, 236, 1);
        left: 0;
        transition: ease-in-out width 0.5s;
    }

    footer .terug {
        display: flex;
        justify-content: flex-start;
        justify-items: center;
        align-items: center;
        height: 100%;
        opacity: 0;
        transition: ease-in-out opacity 0.3s, ease-in-out color 0.3s;
        text-decoration: none;
        color: #FFF;
    }

    footer .volgende {
        display: flex;
        justify-content: flex-end;
        align-items: center;
        height: 100%;
        opacity: 0;
        transition: ease-in-out opacity 0.3s, ease-in-out color 0.3s;
        text-decoration: none;
        color: #FFF;
    }

        footer .volgende.disabled, footer .terug.disabled {
            pointer-events: none;
            cursor: default;
        }

        footer .terug.zichtbaar, footer .volgende.zichtbaar {
            opacity: 1;
        }

        footer .terug .buttonText, footer .volgende .buttonText {
            display: inline-block;
            margin: -4px 10px 0;
        }

        footer .terug:hover, footer .volgende:hover {
            color: rgb(163, 171, 209);
        }

.mobielSlaapzakContainer {
    position: absolute;
    width: 280px;
    height: calc(100vh + 200px);
    right: calc(50% - (280px / 2));
    transition: ease-in-out all 1s;
    z-index: 100;
}

    .mobielSlaapzakContainer.inslaapzak {
        top: 50px;
        height: 458px;
    }

    .mobielSlaapzakContainer.naarTop {
        transform: scale(0.23);
        right: calc(((100% - 970px) / 2) - 20px);
        top: -160px;
    }

    .mobielSlaapzakContainer .mobiel {
        position: absolute;
        top: -478px;
        width: 280px;
        height: 393.9px;
        background: url('/images/mobiel.svg');
        background-position: center top;
        background-repeat: no-repeat;
        background-size: 280px 100%;
        transition: ease-in-out top 2s;
    }

    .mobielSlaapzakContainer.inslaapzak .mobiel {
        top: 30px;
    }

    .mobielSlaapzakContainer.naarTop .mobiel {
    }

    .mobielSlaapzakContainer .slaapzak {
        position: absolute;
        top: 100%;
        width: 280px;
        height: 458px;
        transition: ease-in-out top 2s;
    }

    .mobielSlaapzakContainer.inslaapzak .slaapzak {
        top: 0;
    }

    .mobielSlaapzakContainer .slaapzak .onder .slaapzakContent {
        position: absolute;
        bottom: 40px;
        font-size: 25px;
        line-height: 30px;
        text-align: center;
        padding: 0 30px;
        box-sizing: border-box;
        width: 100%;
        color: #FFF;
    }

.slaapzak .boven {
    position: absolute;
    top: 0;
    height: 459px;
    width: 100%;
    background: url(/images/slaapzak-boven.svg);
    background-size: 430px 100%;
    z-index: -1;
    background-position: center top;
    background-repeat: no-repeat;
}

.slaapzak .onder {
    position: absolute;
    bottom: 0;
    height: 451px;
    width: 100%;
    background: url('/images/slaapzak-onder.svg');
    background-size: 100%;
    z-index: 1;
    background-repeat: no-repeat;
}

.logoBlauw {
    position: absolute;
    height: 100px;
    margin: auto;
    top: 0;
    bottom: 0;
    left: 0;
    right: 0;
}

.content {
    position: relative;
    width: 100%;
    box-sizing: border-box;
    padding: 0 35px 0 95px;
    margin-top: 30px;
    display: none;
}

    .content.uitleg {
        padding: 0 95px;
        margin: 80px 0 0;
    }

        .content.uitleg a {
            color: #314499;
        }

    .content .header {
        z-index: 10;
        position: relative;
    }

    .content.uitleg .header {
        margin-left: -60px;
        height: auto;
    }

    .content.uitleg h1 {
        margin-bottom: 40px;
    }

    .content .intro {
        position: relative;
        width: 100%;
        background-repeat: no-repeat;
        padding: 25px 20px;
        box-sizing: border-box;
        font-size: 25px;
        line-height: 30px;
        color: rgb(26, 23, 27);
        min-height: 110px;
        background-size: cover;
    }

        .content .intro.uitlegIntro {
            background-image: url('/images/bg_geel.svg');
            margin-top: -20px;
            min-height: 160px;
            -webkit-mask-image: none;
            -webkit-mask-size: unset;
            mask-image: none;
            background-size: cover;
        }

    .content .uitleg {
        font-size: 17px;
        line-height: 23px;
        color: rgb(26, 23, 27);
        padding: 30px 20px;
        width: 100%;
        box-sizing: border-box;
    }

    .content .header {
        height: 100px;
    }

        .content .header .vraag {
            position: absolute;
            transform: rotate(-90deg);
            margin-top: 85px;
            transform-origin: left top 0;
            width: 80px;
        }

        .content .header .vraagNummer {
            position: absolute;
            padding: 0 40px 0 40px;
            line-height: 100px;
            height: 100px;
            display: inline-block;
            text-shadow: 3px 3px #FFF;
            margin: 0 0 0 30px;
            letter-spacing: 5px;
            font-family: 'MEXE';
            font-size: 63px;
            -webkit-mask-image: url('/images/bg_vraagnummer.svg');
            -webkit-mask-size: 100% 100%;
            mask-image: url('/images/bg_vraagnummer.svg');
            mask-size: 100% 100%;
            mask-repeat: no-repeat;
            -webkit-mask-repeat: no-repeat;
        }

main.blauw .header .vraagNummer {
    background: rgba(132, 192, 204, 1);
}

main.oranje .header .vraagNummer {
    background: rgba(250,143,48, 1);
}

main.geel .header .vraagNummer {
    background: rgba(255,213,51, 1);
}

main.groen .header .vraagNummer {
    background: rgba(125,178,122, 1);
}

main.roze .header .vraagNummer {
    background: rgba(213,137,155, 1);
}

main.blauw .intro {
    background-image: url('/images/bg_vraag_blauw.svg');
}

main.oranje .intro {
    background-image: url('/images/bg_vraag_oranje.svg');
}

main.geel .intro {
    background-image: url('/images/bg_vraag_geel.svg');
}

main.groen .intro {
    background-image: url('/images/bg_vraag_groen.svg');
}

main.roze .intro {
    background-image: url('/images/bg_vraag_roze.svg');
}

.antwoorden {
    position: relative;
    width: 100%;
    margin: 40px 0;
    display: flex;
    align-items: flex-start;
}

    .antwoorden .col50 {
        padding: 0 0 0 35px;
        box-sizing: border-box;
    }

        .antwoorden .col50:first-of-type {
            padding: 0 35px 0 0;
        }

        .antwoorden .col50 .antwoordHeader {
            background-image: url('/images/bg_antwoord_header.svg');
            background-repeat: no-repeat;
            background-size: 100% 100%;
            color: #FFF;
            text-align: center;
            font-size: 23px;
            letter-spacing: -0.83px;
            font-family: 'Rawson-SemiBold';
            line-height: 45px;
            text-transform: uppercase;
        }

        .antwoorden .col50 .antwoordContainer {
            position: relative;
            width: 100%;
            box-sizing: border-box;
            margin: 30px 0 20px;
            padding: 0 15px;
            min-height: 300px;
            background-color: rgba(132, 192, 204, 0.15);
            font-size: 19px;
            line-height: 35px;
            color: rgb(26,23,27);
        }

            .antwoorden .col50 .antwoordContainer:before {
                position: absolute;
                top: -20px;
                width: 100%;
                left: 0;
                content: '';
                display: block;
                height: 20px;
                background-size: 100% auto;
            }

            .antwoorden .col50 .antwoordContainer:after {
                position: absolute;
                bottom: -20px;
                width: 100%;
                left: 0;
                content: '';
                display: block;
                height: 20px;
                background-size: 100% auto;
                background-position: center bottom;
            }

main.blauw .antwoorden .col50 .antwoordContainer {
    background-color: rgba(132, 192, 204, 0.15);
}

    main.blauw .antwoorden .col50 .antwoordContainer:before, main.blauw .antwoorden .col50 .antwoordContainer:after {
        background-image: url('/images/bg_blauw.svg');
    }

main.oranje .antwoorden .col50 .antwoordContainer {
    background: rgba(253,224,197, 1);
}

    main.oranje .antwoorden .col50 .antwoordContainer:before, main.oranje .antwoorden .col50 .antwoordContainer:after {
        background-image: url('/images/bg_oranje.svg');
    }

main.geel .antwoorden .col50 .antwoordContainer {
    background: rgba(249,242,215, 1);
}

    main.geel .antwoorden .col50 .antwoordContainer:before, main.geel .antwoorden .col50 .antwoordContainer:after {
        background-image: url('/images/bg_geel_antwoord.svg');
    }

main.groen .antwoorden .col50 .antwoordContainer {
    background: rgba(219,234,218, 1);
}

    main.groen .antwoorden .col50 .antwoordContainer:before, main.groen .antwoorden .col50 .antwoordContainer:after {
        background-image: url('/images/bg_groen.svg');
    }

main.roze .antwoorden .col50 .antwoordContainer {
    background: rgba(243,222,227, 1);
}

    main.roze .antwoorden .col50 .antwoordContainer:before, main.roze .antwoorden .col50 .antwoordContainer:after {
        background-image: url('/images/bg_roze.svg');
    }

.checkbox {
    font-family: 'Rawson-Medium' !important;
    font-size: 19px !important;
    color: rgb(26,23,27) !important;
    cursor: pointer !important;
    margin: 0 0 8px;
}

    .checkbox .dxichCellSys {
        padding: 0 10px 0 0 !important;
    }

    .checkbox.cbOnderWekker {
        margin: 240px 0 0;
    }

.box {
    font-family: 'Rawson-Medium' !important;
    font-size: 19px !important;
    background-image: url('/images/bg_textbox.svg');
    margin: 0 0 8px;
    text-transform: uppercase;
    transition: ease-in-out opacity 0.3s;
    max-width: 240px;
}

    .box.dxeDisabled {
        opacity: 0.5;
    }

    .box.tijd.dxeDisabled {
        opacity: 1 !important;
        color: #FFF !important;
    }

    .box.tijd {
        background-image: none;
        font-family: 'Rawson-SemiBold' !important;
        font-size: 60px !important;
        text-align: center;
        opacity: 1 !important;
    }

        .box.tijd input {
            text-align: center;
        }

.kindAvatarSlider, .ouderAvatarSlider, .kindHoudingSlider, .ouderHoudingSlider {
    position: relative;
    margin: 20px 0 0;
    width: 100%;
    opacity: 0;
    transition: ease-in-out opacity 0.3s;
}

    .kindAvatarSlider .avatarItem, .ouderAvatarSlider .avatarItem, .kindHoudingSlider .houdingItem, .ouderHoudingSlider .houdingItem {
        position: relative;
        width: 270px;
        padding: 0 35px;
        box-sizing: border-box;
        height: 270px;
        display: flex !important;
        justify-content: center; /* align horizontal */
        align-items: flex-end; /* align vertical */
    }

    .kindHoudingSlider .houdingItem, .ouderHoudingSlider .houdingItem {
        height: 220px;
    }

    .kindAvatarSlider .avatarItem img, .ouderAvatarSlider .avatarItem img {
        display: inline-block;
    }

    .kindHoudingSlider .houdingItem img, .ouderHoudingSlider .houdingItem img {
        height: 220px;
    }

.btnPrevAvatar, .btnNextAvatar, .btnPrevHouding, .btnNextHouding {
    position: absolute;
    top: 150px;
    left: 10px;
    font-size: 27px;
    color: #F7901F;
    cursor: pointer;
    z-index: 9999;
    transition: ease-in-out opacity 0.3s;
}

.btnPrevAvatar, .btnNextAvatar, .btnPrevHouding, .btnNextHouding {
    color: #D58B9D;
}

.btnNextAvatar, .btnNextHouding {
    left: auto;
    right: 10px;
}

    .btnPrevAvatar:hover, .btnNextAvatar:hover, .btnPrevHouding:hover, .btnNextHouding:hover {
        opacity: 0.7;
    }

    .btnPrevAvatar.slick-disabled, .btnNextAvatar.slick-disabled, .btnPrevHouding.slick-disabled, .btnNextHouding.slick-disabled {
        opacity: 0;
        cursor: default;
    }

.avatarOnPageWrapper {
    position: absolute;
    bottom: 10px;
    left: 15px;
    z-index: 10;
}

    .avatarOnPageWrapper.avatarOuder {
        position: absolute;
        bottom: 10px;
        left: calc(100% - 15px - 125px);
    }

.avatarOnPage {
    position: fixed;
    bottom: 90px;
}

    .avatarOnPage img {
        width: 125px;
    }

.popup, .popupError {
    position: fixed;
    top: 0;
    left: calc(50% - (970px / 2));
    width: 970px;
    height: calc(100vh - 0px);
    z-index: 9999;
    background: rgba(213, 139, 157, 0.85);
}

.popupError {
    background: rgba(255, 53, 58, 0.65);
}

.popupDoeEens {
    background: rgba(132,192,204, 0.85);
}

.popup .popupContentContainer, .popupError .popupErrorContentContainer {
    position: absolute;
    top: -40px; /*was 0*/
    bottom: 0;
    left: 0;
    right: 0;
    margin: auto;
    height: 450px;
    width: 640px;
    background: url('/images/bg_popup.svg') no-repeat 100%;
    background-size: cover; /*was 100% 100%;*/
    padding: 30px;
    box-sizing: border-box;
}

    .popup .popupContentContainer .popupTitel, .popupError .popupErrorContentContainer .popupErrorTitel {
        position: relative;
        display: inline-block;
        font-family: 'MEXE';
        text-shadow: 3px 3px #FFF;
        font-size: 63px;
        letter-spacing: -2.27px;
        background-image: url('/images/bg_popup_titel.svg');
        line-height: 100px;
        padding: 0 25px;
        background-size: 100% 100%;
        width: 400px;
        height: 100px;
        box-sizing: border-box;
    }

    .popupError .popupErrorContentContainer .popupErrorTitel {
        background-image: url('/images/bg_popup_titel_error.svg');
    }

.popupDoeEens .popupContentContainer .popupTitel {
    background-image: url('/images/bg_popup_titel_doeeens.svg');
}

.popup .popupContentContainer .popupContent, .popupError .popupErrorContentContainer .popupErrorContent {
    position: relative;
    box-sizing: border-box;
    width: 100%;
    padding: 30px 10px;
    font-size: 22px; /*was 24*/
    line-height: 30px;
    color: #1A171B;
    color: rgb(26, 23, 27);
}

.popup .popupContentContainer .popupCloseButton, .popupError .popupErrorContentContainer .popupErrorCloseButton {
    position: absolute;
    top: 25px;
    right: 20px;
    font-size: 25px;
    color: #000;
    transition: ease-in-out opacity 0.3s;
    cursor: pointer;
}

    .popup .popupContentContainer .popupCloseButton:hover {
        opacity: 0.7;
    }

.popup .popupContentContainer .popupIcon {
    position: absolute;
    bottom: -80px;
    right: -30px;
}

.wekker {
    position: relative;
    margin: 50px 0 0;
    float: left;
    width: 234px;
    height: 107px;
    background-image: url('/images/wekker_groen.svg');
}

    .wekker.slaapcijfer {
        background-image: url('/images/bg_slaapcijfer.svg');
        width: 90px;
        height: 105px;
    }

    .wekker.disabled, .btnOmhoog.disabled, .btnOmlaag.disabled {
        opacity: 0.3;
        pointer-events: none !important;
    }

    .wekker .bedTijdContainer {
        position: absolute;
        top: 15px;
        left: 27px;
    }

    .wekker.slaapcijfer .bedTijdContainer {
        left: 5px;
    }

.btnOmhoog, .btnOmlaag {
    position: absolute;
    height: 30px;
    width: 30px;
    color: #314499;
    transform: rotate(90deg);
    font-size: 28px;
    left: 67px;
    cursor: pointer;
}

    .btnOmhoog.slaapcijfer, .btnOmlaag.slaapcijfer {
        left: 47px;
    }

    .btnOmhoog.record {
        top: 40px;
    }

.btnOmlaag {
    top: 180px;
    transform: rotate(-90deg);
}

    .btnOmlaag.record {
        top: 200px;
    }

.minuutPlus, .minuutMinus {
    left: 167px;
}

.bedTijdUur, .bedTijdSep, .bedTijdMinuut {
    position: relative;
    float: left;
    font-family: 'Rawson-SemiBold' !important;
    font-size: 60px !important;
    color: #FFF;
}

.bedTijdSep {
    padding: 0 5px;
    line-height: 60px;
}

.logoWitAfgerond {
    width: 470px;
    margin: 20px auto 70px;
    display: block;
}

main.afgerond {
    background: transparent;
}

    main.afgerond .addShadow {
        font-size: 55px;
        text-shadow: 3px 3px #000;
        color: #FFF;
        font-family: 'MEXE';
        letter-spacing: -1.91px;
    }

.mobielInSlaapZakAfgerond {
    position: absolute;
    bottom: -500px;
    right: 70px;
    transition: ease-in-out bottom 1s;
}

    .mobielInSlaapZakAfgerond.active {
        bottom: -200px;
    }

.slick-dots {
    display: flex;
    flex-direction: row;
    justify-content: center;
    list-style-type: none;
    width: 100%;
    margin: 20px 0 0;
    padding: 0;
}

    .slick-dots li {
        background: #FFF;
        border-radius: 100%;
        border: 0;
        width: 10px;
        height: 10px;
        margin: 0 3px;
        cursor: pointer;
    }

.oranje .slick-dots li.slick-active {
    background: rgba(250,143,48, 1);
}

.roze .slick-dots li.slick-active {
    background: rgba(213,137,155, 1);
}

.slick-dots li button {
    display: none;
}
.schoolContainer{
    display:none;
    width:100%;
    position:relative;
}
.schoolContainer.active {
    display: block;
}
@media screen and (max-width:970px) {
    .wrapper {
        width: 100%;
    }

    .mobielSlaapzakContainer.naarTop {
        transform: scale(0.23);
        right: 0;
        top: -160px;
    }

    .popup, .popupError {
        left: 0;
        width: 100%;
    }

    .wrapper main {
        padding: 0;
    }

    footer {
        width: 100%;
    }

    .mobielInSlaapZakAfgerond {
        width: 300px;
    }

        .mobielInSlaapZakAfgerond.active {
            bottom: -150px;
        }
}

@media screen and (max-width:650px) {
    .schermAfmeting {
        display: block;
    }

    .kleinscherm {
        display: none;
    }

    .schermAfmetingPopUp {
        margin: 30px;
        padding: 20px;
        background: #FFF;
    }
}
