﻿body {
}

/* Reserved class name of Microsoft validation */
.field-validation-error {
    color: red;
}

/* Used to indicate that the content is a date time string 
    that needs to be converted to local date. No css formatting applied. */
.to-local-date {
    display: none;
}

/* Account pages */

.account-html {
    font-size: 13px;
}

.account-body {
    font-family: Ubuntu, sans-serif;
    height: 100%;
    margin-bottom: 0;
    min-width: 850px;
}

.account-language-navigator {
    margin-top: 20px;
    margin-right: 30px;
}

    .account-language-navigator > .dropdown > .btn-sm {
        background-color: white;
        color: black;
        font-size: 14px;
    }

/* Account pages - left pane contents */

.account-left-pane {
    display: flex;
    justify-content: center;
}

.account-left-pane-content {
    width: 350px;
    margin-top: 60px;
}

.account-sbb-slogan {
    font: 18px Ubuntu, Arial, sans-serif;
}

.account-demo-environment-banner {
    font: 18px Ubuntu, Arial, sans-serif;
    border-radius: 25px;
    background: rgba(248, 99, 82, 0.7);
    color: black;
    padding: 10px 25px 10px 25px;
    margin-top: 20px;
    display: flex;
    justify-content: center;
}

.account-info-block {
    font: 14px Ubuntu, sans-serif;
    border-radius: 25px;
    background: rgba(211, 232, 252, 0.9);
    color: black;
    padding: 10px 25px 10px 25px;
    margin-top: 20px;
}

.account-info-header-button {
    display: flex;
    justify-content: center;
    font: 15px Ubuntu, sans-serif;
    color: #00669e;
}

.account-info-content-button {
    width:100%;
    background-color: transparent;
    cursor: pointer
}

.account-arrow {
    border-top: 10px solid #00669e;
    border-right: 10px solid transparent;
    border-left: 10px solid transparent;
    height: 0px;
    width: 0px;
    transition: 0.5s ease all;
    margin-top: 4px;
    margin-left: 10px;
}

.account-arrow.rotate {
    transform: rotate(180deg);
}

/* Account pages - right pane contents */

.account-right-pane {
}

.account-container {
    position: relative;
    border-radius: 25px;
    background: rgba(211, 232, 252, 0.9);
    padding: 20px 25px 20px 25px;
    margin-top: 65px;
    margin-bottom: 10px;
    width: 410px;
    height: 410px;
}

.account-container-sm {
    height: 200px;
}

.account-container-lg {
    height: 480px;
}

.account-container-xl {
    height: 600px;
}

.account-info-welcome {
    font: 12px/1 Verdana, Arial, sans-serif;
    color: black;
}

.account-info-title {
    font: 32px/1 Verdana, Arial, sans-serif;
    color: black;
    margin-bottom: 20px;
    margin-top: 10px;
}

.account-action-text {
    font: 12px/1 Verdana, Arial, sans-serif;
    color: black;
    margin-bottom: 3px;
}

.account-action-link {
    font: 12px/1 Verdana, Arial, sans-serif;
    /*color: #007bff*/
    color: #00669e;
}

.account-button-position {
    position: absolute;
    bottom: 20px;
    right: 25px
}

.account-button-spacing {
    margin-right: 0.3rem;
}

.account-terms-conditions-link {
    text-decoration: underline;
}

    .account-terms-conditions-link:hover {
        cursor: pointer;
    }

/* Client-side password validation summary on MVC pages */

.model-validation-summary {
    color: #dc3545;
    font-size: 12px;
    position: relative;
    left: -20px;
}

.model-validation-summary-profile {
    color: #dc3545;
    font-size: 14px;
    position: relative;
    left: -20px;
}

/* Button spinner for MVC pages */

.spinner-transparent {
    color: transparent;
}

.spinner-border-overrides {
    position: absolute;
    top: 0;
    bottom: 0;
    left: 0;
    right: 0;
    margin: auto;
    width: 1.5rem;
    height: 1.5rem;
    border-width: .3em;
}


/* Subscription selection */

.card-select-element:not(.selected) {
    border: 2px solid transparent;
    -webkit-transition: border .3s;
    -o-transition: border .3s;
    transition: border .3s;
}

.card-select-element.selected {
    border: 2px solid #1861ac;
    -webkit-transition: border .3s;
    -o-transition: border .3s;
    transition: border .3s;
    background: cornsilk;
}

.card-select-element.disabled {
    /*border: 2px solid #1861ac;*/
    -webkit-transition: border .3s;
    -o-transition: border .3s;
    transition: border .3s;
    /*opacity: 0.5;*/
}

.card-select-element:not(.disabled):hover {
    cursor: pointer;
    border: 2px solid #1861ac;
}

.card-select-element > *:last-child::after {
    content: '-';
    color: transparent;
    font-size: 24px;
    position:absolute;
    bottom:0;
    left:1rem;
    -webkit-animation-timing-function: cubic-bezier(0.4, 0, 0.2, 1);
    animation-timing-function: cubic-bezier(0.4, 0, 0.2, 1);
}

.card-select-element.selected > *:last-child::after {
    content: '\2713';
    color: #AFB8EA;
    position: absolute;
    left: 2rem;
    bottom: 1rem;
}

.card-select-element-bottom {
    position: absolute;
    left: 50%;
    transform: translateX(-50%);
    bottom: 1.5rem;
}


/* Stripe related classes */

* {
    box-sizing: border-box;
}

.stripe-container {
    font-family: -apple-system, BlinkMacSystemFont, sans-serif;
    font-size: 16px;
    -webkit-font-smoothing: antialiased;
    display: flex;
    justify-content: center;
    align-content: center;
    /*    height: 100vh;
    width: 100vw;
*/
}

.stripe-form {
    width: 30vw;
    min-width: 500px;
    align-self: center;
    box-shadow: 0px 0px 0px 0.5px rgba(50, 50, 93, 0.1), 0px 2px 5px 0px rgba(50, 50, 93, 0.1), 0px 1px 1.5px 0px rgba(0, 0, 0, 0.07);
    border-radius: 7px;
    padding: 40px;
}


.hidden {
    display: none;
}

#error-message {
    /*color: rgb(105, 115, 134);*/
    color: red;
    text-align: left;
    font-size: 13px;
    line-height: 17px;
    margin-top: 12px;
}

#card-element {
    border-radius: 4px 4px 0 0;
    padding: 12px;
    border: 1px solid rgba(50, 50, 93, 0.1);
    height: 44px;
    width: 100%;
    background: white;
}

#payment-request-button {
    margin-bottom: 32px;
}

.stripe-button {
    background: #5469d4;
    color: #ffffff;
    font-family: Arial, sans-serif;
    border-radius: 6px;
    border: 0;
    padding: 12px 16px;
    font-size: 16px;
    font-weight: 600;
    cursor: pointer;
    display: block;
    transition: all 0.2s ease;
    box-shadow: 0px 4px 5.5px 0px rgba(0, 0, 0, 0.07);
    width: 100%;
}

    .stripe-button:hover {
        filter: contrast(115%);
    }

    .stripe-button:disabled {
        opacity: 0.5;
        cursor: default;
    }

/* Button spinner used with Stripe Elements */

.spinner,
.spinner:before,
.spinner:after {
    border-radius: 50%;
}

.spinner {
    color: #ffffff;
    font-size: 22px;
    text-indent: -99999px;
    margin: 0px auto;
    position: relative;
    width: 20px;
    height: 20px;
    box-shadow: inset 0 0 0 2px;
    -webkit-transform: translateZ(0);
    -ms-transform: translateZ(0);
    transform: translateZ(0);
}

    .spinner:before,
    .spinner:after {
        position: absolute;
        content: "";
    }

    .spinner:before {
        width: 10.4px;
        height: 20.4px;
        background: #5469d4;
        border-radius: 20.4px 0 0 20.4px;
        top: -0.2px;
        left: -0.2px;
        -webkit-transform-origin: 10.4px 10.2px;
        transform-origin: 10.4px 10.2px;
        -webkit-animation: loading 2s infinite ease 1.5s;
        animation: loading 2s infinite ease 1.5s;
    }

    .spinner:after {
        width: 10.4px;
        height: 10.2px;
        background: #5469d4;
        border-radius: 0 10.2px 10.2px 0;
        top: -0.1px;
        left: 10.2px;
        -webkit-transform-origin: 0px 10.2px;
        transform-origin: 0px 10.2px;
        -webkit-animation: loading 2s infinite ease;
        animation: loading 2s infinite ease;
    }

@-webkit-keyframes loading {
    0% {
        -webkit-transform: rotate(0deg);
        transform: rotate(0deg);
    }

    100% {
        -webkit-transform: rotate(360deg);
        transform: rotate(360deg);
    }
}

@keyframes loading {
    0% {
        -webkit-transform: rotate(0deg);
        transform: rotate(0deg);
    }

    100% {
        -webkit-transform: rotate(360deg);
        transform: rotate(360deg);
    }
}

@media only screen and (max-width: 600px) {
    .stripe-form {
        width: 80vw;
    }
}
