

@font-face {
    font-family: Gotham;
    font-weight: 500;
    src: url("../assets/fonts/gotham-bold.otf") format("opentype");
}

@font-face {
    font-family: Gotham;
    font-weight: 400;
    src: url("../assets/fonts/gotham-medium.otf") format("opentype");
}

@font-face {
    font-family: Gotham;
    font-weight: 300;
    src: url("../assets/fonts/gotham-book.otf") format("opentype");
}

@font-face {
    font-family: Gotham;
    font-weight: 200;
    src: url("../assets/fonts/gotham-light.otf") format("opentype");
}

html, body {
    /*height: fit-content;*/
    /*min-height: 100%;*/
}

b {
    font-weight: 500 !important;
}

#debug-notif {
    width: 120px;
    text-align: center;
    background-color: rgba(200, 200, 200, 0.8);
    height: 30px;
    position: fixed;
    top: 0;
    font-size: 16px;
    line-height: 30px;
    z-index: 100;
    color: #d32f2f;
    right: 0;
    border-bottom-left-radius: 8px;
    display: none;
}

@media only screen and (max-width: 640px) {
    nbn-h1 {
        font-family: "Gotham", Helvetica, sans-serif;
        font-weight: 400;
        color: white;
        margin: 0;
        font-size: 26px;
        line-height: 26px;
        display: block;
        text-align: center;
    }

    nbn-h2 {
        font-family: "Gotham", Helvetica, sans-serif;
        font-weight: 400;
        color: white;
        margin: 0;
        font-size: 20px;
        line-height: 20px;
        display: block;
    }

    nbn-h3 {
        font-family: "Gotham", Helvetica, sans-serif;
        font-weight: 400;
        color: white;
        margin: 0;
        font-size: 18px;
        line-height: 18px;
        display: block;
    }

    nbn-h4 {
        font-family: "Gotham", Helvetica, sans-serif;
        font-weight: 200;
        color: white;
        margin: 0;
        font-size: 14px;
        line-height: 20px;
        display: block;
        text-align: center;
    }

    nbn-light{
        font-family: "Gotham", Helvetica, sans-serif;
        font-weight: 200;
        color: white;
        font-size: 11px;
        line-height: 14px;
        display: block;
        text-align: left;
        margin: 4px 3px 12px;
    }
}

@media only screen and (min-width: 640px) {
    nbn-h1 {
        font-family: "Gotham", Helvetica, sans-serif;
        font-weight: 400;
        color: white;
        margin: 0;
        font-size: 32px;
        line-height: 36px;
        display: block;
    }

    nbn-h2 {
        font-family: "Gotham", Helvetica, sans-serif;
        font-weight: 400;
        color: white;
        margin: 0;
        font-size: 26px;
        line-height: 26px;
        display: block;
    }

    nbn-h3 {
        font-family: "Gotham", Helvetica, sans-serif;
        font-weight: 400;
        color: white;
        margin: 0;
        font-size: 24px;
        line-height: 24px;
        display: block;
    }

    nbn-h4 {
        font-family: "Gotham", Helvetica, sans-serif;
        font-weight: 300;
        color: white;
        margin: 0;
        font-size: 15px;
        line-height: 20px;
        display: block;
        text-align: left;
    }
    nbn-light{
        font-family: "Gotham", Helvetica, sans-serif;
        font-weight: 200;
        color: white;
        font-size: 11px;
        line-height: 14px;
        display: block;
        text-align: left;
        margin: 4px 4px 12px;
    }
}

b {
    font-weight: 500;
}

body {
    margin: 0;
}

body::after {
    content: '';
    display: block;
    position: fixed;
    z-index: 2;
    width: 100%;
    height: 100%;
    top: 0;
    background-image: url('../assets/images/bg.jpg');
    background-size: cover;
    background-repeat: no-repeat;
    background-position: center;
}

.half-fields > .mdl-textfield {
    margin-bottom: 8px;
}

.full-field > nbn-h4 {
    padding: 2px;
    color: white;
    text-align: left;
}

.full-field {
    margin-bottom: 8px;
}

.full-field {
    -webkit-transition: all 0.4s ease-in-out;
    -moz-transition: all 0.4s ease-in-out;
    -ms-transition: all 0.4s ease-in-out;
    -o-transition: all 0.4s ease-in-out;
    transition: all 0.4s ease-in-out;
    opacity: 1;
    margin-bottom: 0;
}

.full-field.hide {
    margin-bottom: -100px;
    opacity: 0;
}

.choices {
    width: 100%;
    background: #fbfbfb;
    display: flex;
    margin: 6px 2px 24px;
    flex-direction: row;
    justify-content: center;
    -webkit-border-radius: 12px;
    -moz-border-radius: 12px;
    border-radius: 12px;
}

.choices > .choice {
    border: #eaeaea solid;
    border-width: 1px 0;
    flex: 1;
    text-align: center;
    height: 36px;
    line-height: 36px;
    cursor: pointer;
    color: #424242;
    -webkit-transition: all 0.2s;
    -moz-transition: all 0.2s;
    -ms-transition: all 0.2s;
    -o-transition: all 0.2s;
    transition: all 0.2s;
    background: transparent;
}

.choices > .choice.selected {
    background-color: #08b5ff;
    border-color: white;
    color: white;
}

.choices > .choice.left {
    border-left-width: 1px;
    border-right-width: 1px;
    -webkit-border-radius: 12px 0 0 12px;
    -moz-border-radius: 12px 0 0 12px;
    border-radius: 12px 0 0 12px;
}

.choices > .choice.right {
    border-left-width: 0;
    border-right-width: 1px;
    -webkit-border-radius: 0 12px 12px 0;
    -moz-border-radius: 0 12px 12px 0;
    border-radius: 0 12px 12px 0;
}

#main-content {
    background-color: #21327e;
    max-width: 640px;
    width: 90%;
    min-width: 300px;
    margin: auto;
    position: relative;
    -webkit-box-shadow: 0px 2px 5px 0px rgba(0, 0, 0, 0.2);
    -moz-box-shadow: 0px 2px 5px 0px rgba(0, 0, 0, 0.2);
    box-shadow: 0px 2px 5px 0px rgba(0, 0, 0, 0.2);
    z-index: 20;
    padding-bottom: 2px;
}

.banner-container > img {
    width: 100%;
}

.footer {
}

.loading-overlay {
    width: 100%;
    position: relative;
    display: block;
    top: 0;
    left: 0;
    -webkit-transition: all 0.2s;
    -moz-transition: all 0.2s;
    -ms-transition: all 0.2s;
    -o-transition: all 0.2s;
    transition: all 0.2s;
}

.loading-overlay .spinner {
    position: absolute;
    display: block;
    top: calc(40% - 14px);
    left: calc(50% - 14px);
    z-index: 15;
}

.loading-overlay.loading::after {
    content: '';
    width: 100%;
    height: 100%;
    position: absolute;
    background-color: rgba(255, 255, 255, 0.9);
    display: block;
    z-index: 10;
    top: 0;
    left: 0;
    border-radius: 8px;
}

.loading-overlay.loaded {
    height: 180px;
    overflow: hidden;
    margin-bottom: 40px;
    -webkit-box-shadow: 0px 2px 5px 0px rgba(0, 0, 0, 0.2);
    -moz-box-shadow: 0px 2px 5px 0px rgba(0, 0, 0, 0.2);
    box-shadow: 0px 2px 5px 0px rgba(0, 0, 0, 0.2);
}

.loading-overlay.loaded::after {
    content: '';
    width: 100%;
    height: 100%;
    position: absolute;
    background-color: white;
    display: block;
    z-index: 10;
    top: 0;
    left: 0;
    border-radius: 8px;
}

#loader-description {
    text-align: center;
    position: absolute;
    font-size: 16px;
    line-height: 24px;
    top: calc(40% + 48px);
    left: 50%;
    z-index: 15;
    transform: translateX(-50%);
    color: #002856;
}

.loaded #loader-description {
    text-align: center;
    font-size: 20px;
    line-height: 24px;
    z-index: 15;
    color: #002856;
    width: 80%;
    position: absolute;
    display: block;
    top: 50%;
    transform: translate(-50%, -50%);
}

.form-container {
    margin: 24px 16px;
    position: relative;
}

.form-container nbn-h2 {
    margin-left: 12px;
    margin-bottom: 14px;
}

.form-container form {
    padding: 12px;
    /* background-color: rgba(158, 158, 158, 0.04); */
    border-radius: 8px;
}

.description-box {
    margin: 16px 28px;
}

.full-field .mdl-textfield {
    width: 100% !important;
    margin: 0 4px !important;
}

.submit-button > button {
    background-color: #01040a82 !important;
}

.footer p a {
   color:white;
}

@media only screen and (max-width: 640px) {
    .full-field.hide {
        margin-bottom: -130px !important;
    }
    
    .page-title{
        margin-top: 16px;
    }

    #logo-container {
        width: 100%;
        height: 90px;
        position: relative;
    }

    #nbn-logo {
        max-width: 240px;
        width: 30%;
        min-width: 180px;
        margin: 10px;
        position: relative;
        left: 50%;
        transform: translateX(-50%);
    }

    #headline-image {
        height: 100%;
        width: 100%;
        position: relative;
        border-radius: 200px 0 0 200px;
        background-image: url('../assets/images/virtual.jpg');
        background-position-y: 50%;
        background-size: cover;
        background-repeat: no-repeat;
        z-index: 0;
    }

    #headline-image .overlay {
        background-color: #253e6c;
        position: relative;
        width: 100%;
        height: 100%;
        border-radius: 200px 0 0 200px;
        opacity: 0.6;
        -moz-opacity: 60%;
        -webkit-opacity: 60%;
        z-index: 2;
    }

    #title-block {
        position: relative;
        top: 70px;
        transform: translateY(-50%);
        border-right: 2px #009fe3 solid;
        padding-right: 10px;
        margin-right: 24px;
        float: right;
        z-index: 1;
    }

    #headline {
        height: 140px;
        padding-left: 10px;
    }

    #title-block nbn-h3 {
        padding-top: 4px;
        text-align: right;
    }

    #title-block nbn-h1 {
        text-align: right;
    }

    .half-fields {
        display: block;
        margin-left: 4px;
        margin-right: -4px;
    }

    .half-fields .mdl-textfield {
        width: 100% !important;
    }

    .description-box nbn-h4 {
        text-align: center;
    }

    .form-container {
        padding-bottom: 16px;
    }

    .form-container nbn-h2::after {
        display: block;
        content: '';
        width: 36px;
        height: 2px;
        margin-left: 1px;
        margin-top: 8px;
        background-color: #08b5ff;
    }

    .half-radios {
        display: flex;
        flex-direction: column;
        justify-content: flex-start;
    }

    .half-radios label {
        margin: 8px 4px;
    }

    .submit-button {
        display: flex;
        justify-content: center;
        margin: 54px 4px 0px 4px;
    }

    .footer {
        height: 36px;
        width: 100%;
        position: absolute;
        bottom: 0;
        display: block;
    }

    .footer p {
        font-size: 7px;
        color: white;
        padding: 0 8px;
        margin: 0;
        line-height: 10px;
        text-align: center;
    }
}

@media only screen and (min-width: 640px) {
    #logo-container {
        width: 100%;
        height: 120px;
        position: relative;
    }

    .page-title{
        margin: 12px 28px;
    }

    #nbn-logo {
        max-width: 240px;
        width: 37.5%;
        min-width: 200px;
        margin: 18px;
        position: relative;
        float: right;
    }

    #headline-image {
        height: 100%;
        width: 55%;
        position: relative;
        border-radius: 200px 0 0 200px;
        background-image: url('../assets/images/virtual.jpg');
        background-size: cover;
        background-repeat: no-repeat;
        background-position-y: 50%;
    }

    #title-block {
        position: relative;
        top: 50%;
        transform: translateY(-50%);
        border-left: 2px #009fe3 solid;
        padding-left: 10px;
        margin-left: 32px;
    }

    #headline {
        display: flex;
        flex-direction: row;
        justify-content: space-between;
        height: 200px;
    }

    #title-block nbn-h3 {
        padding-top: 4px;
    }

    .half-fields {
        display: flex;
        justify-content: space-between;
        margin-left: 4px;
        margin-right: -4px;
    }

    .half-fields .mdl-textfield {
        width: 48% !important;
    }

    .form-container {
        padding-bottom: 24px;
    }

    .form-container nbn-h2::after {
        display: block;
        content: '';
        width: 42px;
        height: 2px;
        margin-left: 2px;
        margin-top: 10px;
        background-color: #08b5ff;
    }

    .half-radios {
        display: flex;
        justify-content: space-evenly;
        margin: 10px 4px;
    }

    .submit-button {
        display: flex;
        justify-content: center;
        margin: 4px;
    }

    .footer {
        height: 24px;
        width: 100%;
        position: absolute;
        bottom: 0;
        display: block;
    }

    .footer p {
        font-size: 7px;
        color: white;
        padding: 0px 16px;
        margin: 0;
        text-align: center;
        line-height: 10px !important;
    }
}

.grecaptcha-badge {
    opacity: 0.6 !important;
}