﻿@media (max-width:899px) {
    .scrolled-hidden.is-mobile {
        display: none
    }

    .my-header.is-mobile {
        min-height: 0;
    }

    .spa-container .edit-form-container .edit-form {
        width: 100%;
        max-width: 100% !important;
        margin: 0 !important;
        top: 0;
        bottom: 0;
        left: 0;
        right: 0;
    }

    .spa-container fieldset {
        margin: 0;
        padding: 0;
        border: 0;
    }
}

.my-toast-container {
    padding: 2px;
    z-index: 10000;
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
}

    .my-toast-container .my-toast {
        border: 1px solid gray;
        padding: 10px;
        margin: 1px 1px 0 1px;
        font-size: 1.2rem;
        border-radius: 5px;
        color: white;
        width: 100%;
    }

        .my-toast-container .my-toast i {
            float: right;
            margin-right: 30px;
            cursor: pointer;
        }

        .my-toast-container .my-toast.danger {
            background-color: rgb(178, 12, 29);
            border-color: rgb(165 32 46);
        }

        .my-toast-container .my-toast.info {
            background-color: rgb(116,137,145);
            border-color: rgb(109,109,145);
        }

        .my-toast-container .my-toast.success {
            background-color: rgb(70, 162, 43);
            border-color: #87b800;
        }

.btn>i.bi{margin-right: 5px;}
.spa-container .edit-form {
    overflow: scroll
}

input.disabled,
input:disabled,
select.disabled,
select:disabled,
.btn.disabled,
.btn:disabled,
i.bi.disabled {
    cursor: not-allowed !important;
}

.spa-local-container {
    position: absolute;
    right: 0;
    z-index: 1;
}

.spa-local {
    color: #3a7292;
    display: inline-block;
    margin-right: 20px;
    padding: 0 10px;
    cursor: pointer;
    border: 1px solid #3a7292;
    border-radius: 10px;
}

    .spa-local:hover {
        background-color: #3a7292;
        color: #fff;
    }

        .spa-local:hover.selected,
        .spa-local.selected {
            background-color: #3a7292;
            color: #fff;
        }

.spa-container {
    min-height: 115px;
    position: relative;
    margin-bottom: 20px;
    padding-bottom: 20px;
}
    .spa-container.no-spacing {
        min-height: 80px;
        position: relative;
        margin-bottom: 10px;
        padding-bottom: 0;
    }

    .spa-container .fas {
        cursor: pointer;
        z-index: 1;
    }

        .spa-container .fas.fa-edit {
            color: #3a7292 !important
        }

        .spa-container .fas.fa-plus-circle {
            color: #3a7292 !important;
            font-size: 17px;
            position: relative;
            top: -5px;
            left: 5px;
        }

.spa .ccard {
    position: relative;
    display: flex;
    flex-direction: column;
    background-color: rgba(0, 0, 0, 0.025);
    padding: 20px;
    margin-bottom:20px;
    -moz-border-radius: 5px;
    -webkit-border-radius: 5px;
    border: 1px solid rgba(0, 0, 0, 0.3);
    border-radius: 5px;
    box-shadow: 2px 2px 2px 0px rgba(0, 0, 0, 0.25);
    -webkit-box-shadow: 2px 2px 2px 0px rgba(0, 0, 0, 0.25);
    -moz-box-shadow: 2px 2px 2px 0px rgba(0, 0, 0, 0.25);
}
.spa .ccard h2{font-size:18px;}
.spa-add{ margin-left:45px; margin-bottom:25px; cursor:pointer;}
.spa-add .fas {
    margin-right: 10px;
    top: 0 !important;
}

.scrolled .scrolled-hidden {
    display: none;
}

.my-spa-loading {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-image: url('/images/loading-gold-dot.gif');
    background-repeat: no-repeat;
    background-position: center;
    background-size: 80px;
    background-color: rgba(255,255,255,.8);
    z-index: 95;
}

.my-header.top-header {
    padding: 0px 30px 5px 30px;
    z-index: 99;
}

    .my-header.top-header div.photo {
        width: 100px;
        float: left;
    }

        .my-header.top-header div.photo img {
            max-height: 80px;
            max-width: 80px;
            margin: 0 0 20px 0;
            padding: 0;
        }

    .my-header.top-header div.name {
        display: inline-block;
    }

        .my-header.top-header div.name h2 {
            font-size: 1.25em;
        }


    .my-header.top-header.scrolled div.photo img {
        max-height: 40px;
        max-width: 40px;
        margin: 0 0 10px 0;
        padding: 0;
    }


.my-main-area {
    padding: 20px;
}


.my-info-container {
    float: left;
}

    .my-info-container h1 {
        text-align: left;
        font-size: 1.5em;
        margin-bottom: 0;
    }

    .my-info-container h2 {
        text-align: left;
        font-size: 1em;
        margin-top: 10px;
        margin-bottom: 30px;
    }

p.my-other-info {
    font-size: 1em;
    margin-bottom: 10px;
}

    p.my-other-info a {
        text-decoration: none;
        color: black;
    }

        p.my-other-info a:hover {
            text-decoration: underline;
            color: black;
        }

.my-buttons {
    margin-top: 20px;
    margin-bottom: 30px;
}

.my-button {
    text-align: center;
    width: 100%;
    padding: 6px 0 6px 0;
    font-size: 1em !important;
    background: #3a7292;
    margin-bottom: 8px !important;
    border-radius: 5px;
}

    .my-button a {
        text-decoration: none;
        color: white;
    }

        .my-button a:hover {
            text-decoration: underline;
            color: white;
        }

.my-button-critical {
    background: maroon !important;
}

.my-content-area {
    margin-top: -60px;
}


.my-info-card {
    position: relative;
    display: inline-block;
    width: 45%;
    padding: 10px;
    min-height: 35px;
    min-width: 275px;
    max-width: 325px;
    overflow: hidden;
    cursor: pointer;
    z-index:1;
}

    .my-info-card:hover {
        background-color: #edebe9;
    }
    .my-info-card.no-highlight:hover{
        background-color: inherit;
    }

    .my-info-card span {
        color: darkgray;
    }

    .my-info-card i {
        margin-right: 10px;
    }

    .my-info-card i.fas.fa-toggle-off,
    .my-info-card i.fas.fa-toggle-on
    {
        margin-right: 20px;
        margin-top: 10px;
        float: left;
        font-size: 1.15em;
    }

    .my-info-card a {
    }

    .my-info-card .my-info-card-icon {
        position: absolute;
        top: 0;
        left: 15px;
    }

    .my-info-card .my-info-card-content {
        position: absolute;
        top: 5px;

        overflow: hidden;
    }
    .my-info-card.subscriptions .my-info-card-content {
        position: absolute;
        top: 5px;
        left: 50px;
        overflow: hidden;
    }

    .my-info-card .my-info-card-edit {
        position: absolute;
        top: 30px;
        left: 15px;
    }

    .my-info-card .my-info-card-content .my-info-card-label {
        overflow: hidden;
        text-overflow: ellipsis;
        white-space: nowrap;
        max-width: 250px;
    }

.my-bubble {
    background: #e5e5e5;
    border-radius: 10px;
    font-size: .8em;
    padding: 1px 7px 2px 6px;
    text-align: center;
}

.my-info-card span.my-code-default,
.my-code-default {
    color: green;
    margin-left:20px;
}
.subscription-tile {
    width: 190px !important;
    height: 300px !important;
    float: left !important;
    box-shadow: 2px 2px 5px rgba(0,0,0,.1) !important;
    border: 1px solid #f0f0f0;
    padding: 10px 10px 10px 15px !important;
    margin-right: 20px;
    overflow: scroll;
}

    .subscription-tile.expiring {
        background-image: url('/Images/Icons/ExpiringSubscription.png');
        background-position: top right;
        background-repeat: no-repeat;
    }

    .subscription-tile .subscription-tile-logo {
        position: relative !important;
        top: 0 !important;
        left: 0 !important;
        width: 100% !important;
        height: 125px !important;
        text-align: center !important;
        margin: 0 !important;
        padding: 0 !important;
    }

        .subscription-tile .subscription-tile-logo img {
            max-height: 120px !important;
            float: left;
        }

        .subscription-tile .subscription-tile-logo a {
            float: right;
            border-radius: 4px;
            background: #3a7292;
            color: white;
            padding: 4px 10px 4px 10px;
            margin-top: 75px;
        }

    .subscription-tile .subscription-tile-title {
        font-size: 1.1em !important;
        font-weight: bold !important;
        line-height: 1.2em !important;
        margin-top: 5px !important;
        margin-bottom: 10px !important;
        height: 45px !important;
        margin: 5px 0 0 0 !important;
        padding: 0 !important;
        overflow: hidden !important;
    }

        .subscription-tile .subscription-tile-title a {
            color: black !important;
            text-decoration: none !important;
        }

    .subscription-tile .subscription-tile-content {
        text-align: left !important;
        font-size: .9em !important;
        overflow: scroll !important;
        padding-right: 5px !important;
        margin: 5px 0 0 0 !important;
        padding: 0px !important;
    }

    .subscription-tile .subscription-tile-more {
        text-align: left !important;
        font-size: .9em !important;
        overflow: hidden !important;
        padding-right: 5px !important;
        height: 30px !important;
        margin: 5px 0 0 0 !important;
        padding: 0px !important;
        text-align: right !important;
    }

        .subscription-tile .subscription-tile-more a {
            color: rgba(0,90,158,1) !important;
            text-decoration: underline !important;
        }

.issue-tile {
    width: 160px !important;
    height: 208px !important;
    float: left !important;
    box-shadow: 2px 2px 5px rgba(0,0,0,.1) !important;
    border: 1px solid #e0e0e0;
    padding: 0 !important;
    margin-right: 20px;
    margin-bottom: 20px;
    overflow: hidden;
}

    .issue-tile .issue-tile-title {
        margin-top: 100px !important;
        font-size: 1em !important;
        font-weight: bold !important;
        line-height: 1.1em !important;
        height: 35px !important;
        padding: 3px 5px 0 5px !important;
        overflow: hidden !important;
        background-color: rgba(255,255,255,.8);
        text-align: center;
    }

    .issue-tile .issue-tile-content {
        background-color: rgba(255,255,255,.8);
        text-align: left !important;
        font-size: .9em !important;
        overflow: scroll !important;
        padding-right: 5px !important;
        margin: 0 !important;
        padding: 6px 0px 6px 10px !important;
        height: 80px;
    }

        .issue-tile .issue-tile-content a {
            float: left;
            text-align: center;
            border-radius: 4px;
            background: #3a7292;
            color: white;
            padding: 3px 10px 4px 10px;
            margin-right: 10px;
            margin-bottom: 5px;
            width: calc(50% - 30px);
        }

.older-issue {
    display: none;
}

.fulfillment-tile {
    width: 200px !important;
    height: 260px !important;
    float: left !important;
    box-shadow: 2px 2px 5px rgba(0,0,0,.1) !important;
    border: 1px solid #e0e0e0;
    padding: 0 !important;
    margin-right: 20px;
    margin-bottom: 20px;
    overflow: hidden;
    background-size: cover;
}

    .fulfillment-tile .fulfillment-tile-title {
        margin-top: 80px !important;
        font-size: 1em !important;
        font-weight: bold !important;
        line-height: 1.1em !important;
        height: 32px !important;
        padding: 3px 5px 0 5px !important;
        overflow: hidden !important;
        background-color: rgba(255,255,255,.9);
        text-align: center;
    }

    .fulfillment-tile .fulfillment-tile-content {
        background-color: rgba(255,255,255,.9);
        text-align: left !important;
        font-size: .85em !important;
        overflow: scroll !important;
        padding-right: 5px !important;
        margin: 0 !important;
        padding: 6px 0 0 10px !important;
        height: 139px;
    }

        .fulfillment-tile .fulfillment-tile-content p {
            line-height: 1.4em;
            margin-bottom: 5px;
        }

.older-fulfillment {
    display: none;
}

.event-tile {
    width: 100%;
    border-top: 1px solid #f0f0f0;
    min-height: 28px;
    clear: both;
    padding-top: 5px;
}

    .event-tile .event-tile-title {
        float: left;
        width: 60%;
    }

    .event-tile .event-tile-downloads {
        float: left;
        width: 30%;
        padding-left: 10px;
    }

        .event-tile .event-tile-downloads a {
            float: left;
            text-align: center;
            border-radius: 4px;
            background: #3a7292;
            color: white;
            padding: 3px 10px 4px 10px;
            margin-right: 10px;
        }

.older-event {
    display: none;
}

.invoice-tile {
    width: 100%;
    border-top: 1px solid #f0f0f0;
    min-height: 28px;
    clear: both;
    padding-top: 5px;
}

    .invoice-tile .invoice-tile-date {
        float: left;
        width: 30%;
    }

    .invoice-tile .invoice-tile-number {
        float: left;
        width: 25%;
    }

    .invoice-tile .invoice-tile-status {
        float: left;
        width: 20%;
    }

    .invoice-tile .invoice-tile-action {
        float: left;
        width: 25%;
    }

        .invoice-tile .invoice-tile-action a {
            float: left;
            text-align: center;
            border-radius: 4px;
            background: #3a7292;
            color: white;
            padding: 3px 10px 4px 10px;
            margin-right: 10px;
        }

.older-event {
    display: none;
}

.spa-container .edit-form-container {
    position: fixed;
    top: 0;
    bottom: 0;
    left: 0;
    right: 0;
    display: flex;
    -webkit-justify-content: center;
    justify-content: center;
    background-color: rgba(255,255,255,.8);
    z-index: 0;
    opacity: 0;
}

    .spa-container .edit-form-container.show {
        z-index: 100;
        opacity: 1;
        -webkit-transition: opacity 0.5s ease-in-out;
        -moz-transition: opacity 0.5s ease-in-out;
        -ms-transition: opacity 0.5s ease-in-out;
        -o-transition: opacity 0.5s ease-in-out;
        transition: opacity 0.5s ease-in-out;
    }

    .spa-container .edit-form-container .edit-form {
        width: 80%;
        max-width: 600px;
        z-index: 0;
        opacity: 0;
        position: absolute;
        background-color: white;
        padding: 20px;
        margin-top: 50px;
        -moz-border-radius: 5px;
        -webkit-border-radius: 5px;
        border: 1px solid gray;
        border-radius: 5px;
        box-shadow: 2px 2px 2px 0px rgba(0, 0, 0, 0.25);
        -webkit-box-shadow: 2px 2px 2px 0px rgba(0, 0, 0, 0.25);
        -moz-box-shadow: 2px 2px 2px 0px rgba(0, 0, 0, 0.25);
    }

    .spa-container .edit-form-container.show .edit-form {
        z-index: 2;
        opacity: 1;
        -webkit-transition: opacity 0.5s ease-in-out;
        -moz-transition: opacity 0.5s ease-in-out;
        -ms-transition: opacity 0.5s ease-in-out;
        -o-transition: opacity 0.5s ease-in-out;
        transition: opacity 0.5s ease-in-out;
    }

.spa-container .btn {
    color: white;
    background-color: rgba(245, 158, 11);
    text-align: center;
    padding-top: 0.5rem;
    padding-bottom: 0.625rem;
    padding-left: 10px;
    padding-right: 10px;
    margin-left:10px;
    margin-top:5px;
    border: none;
    min-width: 150px;
    cursor: pointer;
    -ms-transition: background-color .3s;
    -moz-transition: background-color .3s;
    -webkit-transition: background-color .3s;
    -o-transition: background-color .3s;
    transition: background-color .3s;
    box-shadow: 0 0 #0000, 0 0 #0000, 0 10px 15px -3px rgba(0, 0, 0, 0.1), 0 4px 6px -2px rgba(0, 0, 0, 0.05);
    font-weight: 700;
    font-size: 1.25rem;
    border-radius: 0.25rem;
    font-family: "Noto Sans", ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, "Helvetica Neue", Arial, "Noto Sans", sans-serif, "Apple Color Emoji", "Segoe UI Emoji", "Segoe UI Symbol", "Noto Color Emoji";
}

    .spa-container .btn:hover {
        background-color: rgb(251, 191, 36);
    }

    .spa-container .btn:disabled {
        background-color: gray !important;
        border-color: gray !important;
        cursor: not-allowed;
    }

    .spa-container .btn.cancel {
        background-color: #3777b7;
        border: 1px solid #3777b7;
    }
        .spa-container .btn.cancel:hover {
            background-color: #079EB2;
        }

    .spa-container .btn.delete {
        background-color: #a20c0c;
        border: 1px solid #a20c0c;
    }
        .spa-container .btn.delete:hover {
            background-color: #DB0C0C;
        }

    .spa-container .btn.apply {
        background-color: rgb(70, 162, 43);
        border: 1px solid #87b800;
        float: right;
    }
        .spa-container .btn.apply:hover {
            background-color: rgb(90, 200, 63);
        }



@media only screen and (max-width: 768px) {
    .subscription-tile {
        width: calc(100% - 50px) !important;
    }

    .spa-local-container {
        position: fixed;
        right: 0;
        z-index: 100;
        top: 83px;
    }

    .spa-local {
        color: #fff;
        display: inline-block;
        margin-right: 20px;
        padding: 0 10px;
        cursor: pointer;
        border: 1px solid #fff;
        border-radius: 10px;
    }

        .spa-local:hover {
            background-color: #3a7292;
            color: #fff;
        }

            .spa-local:hover.selected,
            .spa-local.selected {
                background-color: #fff;
                color: #3a7292;
            }
}

.img-avatar.large {
    width: 80px !important;
    border-radius: 50px !important;
}

/*Responsive layout support*/
/* Container row */
.crow {
    display: flex;
    flex-wrap: wrap;
    margin-left: -0.5rem;
    margin-right: -0.5rem;
}

/* Column base */
[class^="ccol-"] {
    padding-left: 0.5rem;
    padding-right: 0.5rem;
    box-sizing: border-box;
}

/* 12-column grid */
.ccol-1 {
    flex: 0 0 8.33%;
    max-width: 8.33%;
}

.ccol-2 {
    flex: 0 0 16.66%;
    max-width: 16.66%;
}

.ccol-3 {
    flex: 0 0 25%;
    max-width: 25%;
}

.ccol-4 {
    flex: 0 0 33.33%;
    max-width: 33.33%;
}

.ccol-5 {
    flex: 0 0 41.66%;
    max-width: 41.66%;
}

.ccol-6 {
    flex: 0 0 50%;
    max-width: 50%;
}

.ccol-7 {
    flex: 0 0 58.33%;
    max-width: 58.33%;
}

.ccol-8 {
    flex: 0 0 66.66%;
    max-width: 66.66%;
}

.ccol-9 {
    flex: 0 0 75%;
    max-width: 75%;
}

.ccol-10 {
    flex: 0 0 83.33%;
    max-width: 83.33%;
}

.ccol-11 {
    flex: 0 0 91.66%;
    max-width: 91.66%;
}

.ccol-12 {
    flex: 0 0 100%;
    max-width: 100%;
}
@media (max-width: 768px) {
    .ccol-1,
    .ccol-2,
    .ccol-3,
    .ccol-4,
    .ccol-5,
    .ccol-6,
    .ccol-7,
    .ccol-8,
    .ccol-9,
    .ccol-10,
    .ccol-11,
    .ccol-12 {
        flex: 0 0 100%;
        max-width: 100%;
    }

}