@import url('https://fonts.googleapis.com/css2?family=Open+Sans:ital,wght@0,300..800;1,300..800&display=swap');

/* This document contains the base design for the Dubline payment automation.

    Creater by: Joost Lieftink
    For: Dubline Nederland b.v.

*/


/* REST CSS */
html, body, div, span, applet, object, iframe,
h1, h2, h3, h4, h5, h6, p, blockquote, pre,
a, abbr, acronym, address, big, cite, code,
del, dfn, em, img, ins, kbd, q, s, samp,
small, strike, strong, sub, sup, tt, var,
b, u, i, center,
dl, dt, dd, ol, ul, li,
fieldset, form, label, legend,
table, caption, tbody, tfoot, thead, tr, th, td,
article, aside, canvas, details, embed,
figure, figcaption, footer, header, hgroup,
menu, nav, output, ruby, section, summary,
time, mark, audio, video {
    margin: 0;
    padding: 0;
    border: 0;
    font-size: 100%;
    font: inherit;
    vertical-align: baseline;
}
/* HTML5 display-role reset for older browsers */
article, aside, details, figcaption, figure,
footer, header, hgroup, menu, nav, section {
    display: block;
}
body {
    line-height: 1;
}
ol, ul {
    list-style: none;
}
blockquote, q {
    quotes: none;
}
blockquote:before, blockquote:after,
q:before, q:after {
    content: '';
    content: none;
}
table {
    border-collapse: collapse;
    border-spacing: 0;
}

/* Body design */

body {
    background-color: rgb(242, 230, 207);
    font-family: "Open Sans", Verdana, Geneva, sans-serif;
    font-size: 16px;
    color: rgb(74, 74, 74);
    line-height: 1.75rem;
}

#wrapper {
    position: relative;
}

.header-mobile {
    display: none;
}
.display-mobile {
     display: none;
}


@media only screen and (max-width: 600px) {
    .header-desktop {
        display: none;
    }
    .header-mobile {
        display: block;
        margin-bottom: 2rem !important;
    }
    .display-desktop {
        display: none;
    }
    .display-mobile {
     display: block;
    }

    body {
        font-size: 1em;
        line-height: 2rem;
    }


    #wrapper {
        width: auto !important;
    }
}
.header {
    max-width: 1200px;
    height: 100px;
    margin-left: auto;
    margin-right: auto;
}

@media only screen and (max-width: 600px) {
    .header {
        margin-left: 1.25rem;
        margin-right: 1.25rem;
        height: 3.8rem;
    }
}

@media only screen and (min-width: 600px) and (max-width: 1240px) {
    .header {
        margin-left: 1.25rem;
        margin-right: 1.25rem;
    }
}

.fusion-logo {
    margin-top: 40px;
    max-width: 285px;
}
@media only screen and (max-width: 600px) {
    .fusion-logo {
        max-width: 50%;
        margin-top: 1.5rem
    }
}

.main-content {
    max-width: 1200px;
    margin-left: auto;
    margin-right: auto;
}

@media only screen and (max-width: 600px) {
    .main-content {
        margin-left: 1.25rem;
        margin-right: 1.25rem;
    }
}

@media only screen and (min-width: 600px) and (max-width: 1240px) {
    .main-content {
        margin-left: 1.25rem;
        margin-right: 1.25rem;
    }
}

.content-box {
    background-image: radial-gradient(circle at left top, rgb(242, 230, 207) 0%, rgb(253, 198, 2) 100%);
    border-radius: 1.5rem;
    min-height: 384px;
    padding: 2rem;
    display: flex;
    flex-flow: row nowrap;
    justify-content: space-between;
    align-content: space-between;
    font-size: 0.8em;
}

@media only screen and (min-width: 600px) {
    .content-box  {
       font-size: 1em;
    }
}

.content-box.green-gradient {
    background-image: radial-gradient(circle at left top, rgb(6, 144, 144) 0%, rgb(253, 198, 2) 100%);

}

.content-box-right  {
    display: flex;
    flex-flow: column nowrap;
    align-content: space-between;
    justify-content: space-between;
}

.content-text {
    align-self: flex-start;
}
.content-submit-button {
    background-color: rgb(5, 88, 98);
    border: 2px solid rgb(5, 88, 98);
    color: white;
    border-radius: 10px;
    width: calc(100% - 2rem);
    padding: 1em;
    cursor: pointer;
    -webkit-transition: 0.5s;
    transition: 0.5s;
}
.content-submit-button.animate {
    transition: 0.5s;
    -webkit-transition: 0.5s;
    background: linear-gradient(270deg, rgb(6, 144, 144), rgb(5, 88, 98));
    background-size: 600% 600%;
    animation: moveGradient 6s ease-in-out infinite;
    transition: transform 0.2s ease-in-out;
}

@keyframes moveGradient {
      0% {
        background-position: 0% 50%;
      }
      50% {
        background-position: 100% 50%;
      }
      100% {
        background-position: 0% 50%;
      }
    }

.content-buttons {
    align-self: flex-end;
    width: 100%;
    margin: 0px;
    min-height: 63px;
}

.content-submit-button:hover {
    background-color: rgb(6, 144, 144);
    transform: scale(1.025);
}
.content-submit-button strong {
    font-weight: 600;
}
@media screen and (max-width: 600px) {
    .content-box {
        border-radius: 1rem;
        flex: auto;
        flex-wrap: wrap !important;
        font-size: 1em;
        line-height: 2em;
        padding: 1rem;
    }
    .content-buttons {
        margin-top: 1em;
    }
    .content-submit-button {
        width: 100%;
        margin-bottom: 2rem;
        font-size: 0.95rem;
    }

}

@media screen and (min-width: 600px) and (max-width: 1240px) {
    .content-box {
        border-radius: 1.125rem;
        flex-wrap: wrap;

    }
    #bundle-selector {
        width: 100%;
    }
    #bundle-selector .bundle-select, #frm-select-payment-method .bundle-select {
        width: calc(50% - 0.5em) !important;
        margin-bottom: 0 !important;
        margin-top: 0 !important;
    }
    .bundle-select:nth-of-type(2n+2) {
        margin-right: 0 !important;
    }
    #email-div {
        margin-top: 0em !important;
        margin-bottom: 1rem !important;
        margin-right: 0 !important;

    }
}
@media only screen and (min-width: 1240px) {
    #email-div {
        margin-right: 3rem !important;
    }
}

.content-box-left {
    flex-grow: 6;
    flex-basis: auto;
    min-width: 700px
}

@media only screen and (min-width: 600px) and (max-width: 1240px) {
    .content-box-left {
    flex-grow: 4;
    flex-basis: auto;
    min-width: 100%;
    }
}

@media only screen and (max-width: 600px) {
    .content-box-left {
        min-width: 100%;
        width: 100%;
    }
}

.content-box-right {
    background-color: white;
    border-radius: 1rem;
    min-height: calc(250px - 2.5rem);
    flex-grow: 2;
    flex-basis: auto;
    padding: 2rem;
}

.content-box h1 {
    font-size: 1.5em;
    color:  rgb(5, 88, 98);
    margin-bottom: 20px;
    font-weight: 600;
}

.signaling-icon {
    font-size: 128px;
    color: white;
    margin-left: auto;
    margin-right: auto;
    margin-top:auto;
    margin-bottom: auto;
    width: 128px;
    padding-top: 128px;
    align-self: center;
    display: flex;
}

#bundle-selector, #frm-select-payment-method {
    display: flex;
    flex-direction: row;
    flex-wrap: wrap;
}

#bundle-selector label.bundle-select, #frm-select-payment-method label.bundle-select{
    width: calc(50% - 2em);
    margin-right: 1rem;
    margin-bottom: 1rem;

}
.bundle-select input + div{ /* DIV STYLES */
    cursor:pointer;
    border: 2px solid white;
    border-radius: 10px;
    padding: 1em;
    padding-top: 8em;
    text-align: center;
    -webkit-transition: 0.5s;
    transition: 0.5s;
}
.bundle-select > input:hover + div {
    border: 2px solid rgb(6, 144, 144);
}
@media only screen and (min-width: 600px) {
    .bundle-select > input:checked + div {
        border: 2px solid rgb(5, 88, 98);
        font-weight: 600;
        border-radius: 10px;
        padding: 1em;
        padding-top: 8em;
    }
}
.bundle-select > input{ /* HIDE RADIO */
    visibility: hidden; /* Makes input not-clickable */
    position: absolute; /* Remove input from document flow */
}
/* .bundle-select:nth-of-type(3n+3), .bundle-select:nth-of-type(4n+4){
    margin-top: 1em;
} */

@media only screen and (max-width: 600px) {
    .bundle-select input + div { /* DIV STYLES */
        cursor:pointer;
        border: 2px solid white;
        border-radius: 10px;
        padding: 1em;
        padding-top: 1em;
        padding-left: 4.22rem;
        text-align: left;
        -webkit-transition: 0.5s;
        transition: 0.5s;
    }
    .bundle-select > input:checked + div {
        border: 3px solid rgb(5, 88, 98);
        border-radius: 10px;
        padding: 1em;
        padding-top: 1em;
        padding-left: 4.22rem;
        text-align: left;
        -webkit-transition: 0.5s;
        transition: 0.5s;
    }
    .bundle.m3, .bundle.m6, .bundle.m12, .bundle.min100, .bundle.min200, .bundle.min300, .bundle.min400, .bundle.payIdeal, .bundle.payMail {
        background-size: 10%;
        background-position: 1.5rem 50%;
    }

    .bundle-select > input:checked + div {
        border: 3px solid rgb(5, 88, 98);
    }

    #bundle-selector, #frm-select-payment-method{
        width: 100%;
        justify-content: space-between;
    }
    #bundle-selector label.bundle-select, #frm-select-payment-method label.bundle-select{
        width: 100%;
        margin-right: 0rem;
    }

    #bundle-selector label.bundle-select:nth-of-type(2n+2), #bundle-selector label.bundle-select:nth-of-type(2n+2) {
        margin-right: 0rem;
    }
    .bundle-select:nth-of-type(3n+3), .bundle-select:nth-of-type(4n+4){
        margin-top: unset;
    }
    #frm-select-payment-method label.bundle-select:nth-of-type(2n+2), #bundle-selector label.bundle-select:nth-of-type(2n+2) {
        margin-right: 0rem;
    }
}

.bundle {
    background-size: 5em;
    background-position: center 2em;
    background-repeat: no-repeat;
}
.bundle.m1 {
    background-image: url("https://provisioning.dubline.nl/test/assets/img/avatars/prepaid-1month-value.svg");
}
.bundle.m3 {
    background-image: url("https://provisioning.dubline.nl/test/assets/img/avatars/prepaid-3month-value.svg");
}
.bundle.m6 {
    background-image: url("https://provisioning.dubline.nl/test/assets/img/avatars/prepaid-6month-value.svg");
}
.bundle.m12 {
    background-image: url("https://provisioning.dubline.nl/test/assets/img/avatars/prepaid-12month-value.svg");
}
.bundle.min100 {
    background-image: url("https://payment.dubline.nl/assets/100-minutes.svg");
}
.bundle.min200 {
    background-image: url("https://payment.dubline.nl/assets/200-minutes.svg");
}
.bundle.min300 {
    background-image: url("https://payment.dubline.nl/assets/300-minutes.svg");
}
.bundle.min400 {
    background-image: url("https://payment.dubline.nl/assets/400-minutes.svg");
}
.bundle.min700 {
    background-image: url("https://payment.dubline.nl/assets/700-minutes.svg");
}
.bundle.min750 {
    background-image: url("https://payment.dubline.nl/assets/750-minutes.svg");
}
.bundle.min1000 {
    background-image: url("https://payment.dubline.nl/assets/1000-minutes.svg");
}
.bundle.payIdeal {
    background-image: url("https://payment.dubline.nl/assets/payment-ideal.svg");
}
.bundle.payMail {
    background-image: url("https://payment.dubline.nl/assets/payment-mail.svg");
}
#email-div {
    flex-grow: 4;
    background-color: white;
    border-radius: 10px;
    padding: 1em;
    margin-top: 1em;
    margin-right: 2em;
}
input[type=email].email-input {
    padding: 1.25em;
    border: solid rgb(5, 88, 98) 2px;
    border-radius: 5px;
    margin-top: 1.25em;
    margin-bottom: 0.25em;
    width: calc(100% - 3em);
    font-size: 1em;
    color: rgb(5, 88, 98);
    -webkit-transition: 0.5s;
    transition: 0.5s;
    outline: none;
}
input[type=email].email-input:focus {
    border: solid rgb(253, 198, 2) 2px;
}
#email-div sub {
    font-size: 0.75em;
    color: rgba(74, 74, 74, 0.5);
}
@media only screen and (max-width: 600px) {
    #email-div {
        margin-top: 0em;
        margin-right: 0;
        margin-bottom: 1rem;
        width: 100%;
    }
}
@media only screen and (min-width: 600px) and (max-width: 1240px) {
    #bundle-selector label.bundle-select, #frm-select-payment-method label.bundle-select{
        height: 12rem;
    }
}

.footer {
    font-size: 0.8rem;
    max-width: 1200px;
    margin-top: 1.25rem;
    margin-left: auto;
    margin-right: auto;
    display: flex;
    flex-direction: row;
    justify-content: space-between;
}
@media only screen and (max-width: 600px) {
    .footer {
        flex-wrap: wrap;
        flex-direction: column;
        font-size: 0.9rem !important;
        line-height: 1.1rem;
    }
    .footer div {
        flex-basis: 100%;
        min-height: 1.5rem;
    }
}

@media only screen and (max-width: 600px) {
    .footer {
        margin-left: 1.25rem;
        margin-right: 1.25rem;
    }
}

@media only screen and (max-width: 1240px) {
    .footer {
        margin-left: 1.25rem;
        margin-right: 1.25rem;
    }
}
