body {
    font-family: Montserrat, Verdana, serif;

    background-image: url("../img/PSQR_Top_Logo_plain.svg");
    background-position: -508px 0;
    background-size: 1016px 1016px;
    background-repeat: no-repeat;
    background-attachment: fixed;
}

#content {
    padding: 30px;
    margin-top: 20px;
    margin-bottom: 20px;
}

#flash-message {
    padding: 30px;
    margin-top: 20px;
    margin-bottom: 20px;
}

#flash-message.error {
    background-color: red;
}

#header .mui-appbar {
    background-image: url('../img/PSQR_Top_Logo_plain.svg');
    background-repeat: no-repeat;
    background-size: 60px 60px;
}

#AppBarHeadline {
    font-weight: normal;
    font-size: 20px;
    padding-top: 10px;
    padding-left: 60px;
    letter-spacing: 3pt;
    float:left;
    line-height:20px;
}

#AppBarWelcome {
    font-weight: normal;
    font-size: 20px;
    padding-top: 10px;
    padding-right: 100px;
    float:right;
    line-height:20px;
    text-align: right;
}

#cartWrapper > #cartItemsCount {
    position: absolute;
    top: 10px;
    right: 60px;
    height: 16px;
    width: 16px;
    border: 1px solid #2db4ac;
    background-color: #2db4ac;
    color: white;
    border-radius: 0.5rem;
    z-index: 1;
    line-height: 16px;
    text-align: center;
}

#cartWrapper > #cart {
    position: absolute;
    top: 10px;
    right: 66px;
}

#cartWrapper > #cart > svg {
    color: white;
    height: 32px;
}

#profile {
    position: absolute;
    top: 10px;
    right: 30px;
}

#profile > svg  {
    color: white;
    height: 32px;
}

#reset-password-link {
    cursor: pointer;
}

.password-reset-container {
    width: 600px;
    margin: 0 auto;
}
/**
 * Body CSS
 */
html,
body {
    height: 100%;
    background-color: #eee;
}

html,
body,
input,
textarea,
button {
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
    text-shadow: 1px 1px 1px rgba(0, 0, 0, 0.1);
}

table {
    border: 1px solid;
}

/**
 * Layout CSS
 */
#header {
    position: fixed;
    top: 0;
    right: 0;
    left: 0;
    z-index: 2;
    transition: left 0.2s;
}

#sidedrawer {
    position: fixed;
    top: 0;
    bottom: 0;
    width: 300px;
    left: 0;
    padding-top: 50px;
    overflow: auto;
    z-index: 2;
    background-color: #fff;
    transition: transform 0.2s;
}

#content-wrapper {
    min-height: 100%;
    overflow-x: hidden;
    margin-left: 0;
    transition: margin-left 0.2s;

    /* sticky bottom */
    padding-bottom: 0px;
    margin-bottom: -60px;
}

.psqr--footer-height {
    height:60px;
}

#footer {
    height: 60px;
    width: 100%;
    margin-left: 0;
    transition: margin-left 0.2s;
    z-index: 4;
    position: relative;
    bottom: 0px;
}

#footer > div {
    text-align: center  ;
}

@media (min-width: 768px) {
    #header {
        left: 0;
    }

    #sidedrawer {

    }

    #content-wrapper {
        margin-left: 300px;
    }

    #footer {
        margin-left: 0;
    }

    body.hide-sidedrawer #header {
        left: 0;
    }

    body.hide-sidedrawer #sidedrawer {
        transform: translate(0px);
    }

    body.hide-sidedrawer #content-wrapper {
        margin-left: 0;
    }

    body.hide-sidedrawer #footer {
        margin-left: 0;
    }
}


/**
 * Toggle Side drawer
 */
#sidedrawer.active {
    transform: translate(200px);
}


/**
 * Header CSS
 */
.sidedrawer-toggle {
    color: #fff;
    cursor: pointer;
    font-size: 20px;
    line-height: 20px;
    margin-right: 10px;
}

.sidedrawer-toggle:hover {
    color: #fff;
    text-decoration: none;
}


/**
 * Footer CSS
 */
#footer {
    background-color: #402877;
    color: #fff;
}

#footer a {
    color: #fff;
    text-decoration: underline;
}

/**
 * Side drawer CSS
 */
#sidedrawer ul {
    list-style: none;
}

#sidedrawer > ul {
    padding-left: 0;
}

#sidedrawer > ul > li:first-child {
    padding-top: 10px;
}

#sidedrawer strong {
    display: block;
    padding-left: 15px;
    padding-top: 10px;
    padding-bottom: 0px;
    cursor: pointer;
}

#sidedrawer span.menuSectionText {
    display: block;
    padding-bottom: 0px;
    cursor: pointer;
}

#sidedrawer ul li ul {
    margin-left: 0;
    padding-left: 30px;
}

#sidedrawer ul li ul li:not(.menuSection):hover {
    margin-left: -60px;
    padding-left: 60px;
    background-color: #E0E0E0;
}

#sidedrawer span.menuSectionText + ul > li,
#sidedrawer strong + ul > li {
    padding: 3px 0;
}

#sidedrawer .menuSection ul {
    max-height: 3000px;
    transition: max-height ease-in 0.2s;
}

#sidedrawer .menuSection.collapsed ul {
    max-height: 0;
    overflow: hidden;
    transition: max-height ease-out 0.2s;
}

#sidedrawer span.toggleIcon {
    font-weight: bold;
    float: right;
    margin-right: 30px;
}

#sidedrawer .menuSection .collapseIcon,
#sidedrawer .menuSection.collapsed .expandIcon {
    display: block;
}

#sidedrawer .menuSection .expandIcon,
#sidedrawer .menuSection.collapsed .collapseIcon {
    display: none;
}

table {
    border-collapse: collapse;
}
table td, table th {
    padding:5px;
    border: 1px solid black;
}
a.btn {
    display: inline-block;
    border:1px solid #402877;
    padding: 5px 15px;
    border-radius: 5px;
    text-decoration: none;
}

.MarkDown code:not([class]) {
    background-color: #eee;
    padding: 1pt 4pt 1pt 4pt;
    border-radius: 2pt;
    font-size: smaller;
}

.MarkDown span.jiraIssue {
    font-family: monospace;
    padding: 1pt 4pt 1pt 4pt;
    border-radius: 2pt;
    background-color: #eef;
}

[data-tooltip]:before {
    /* needed - do not touch */
    content: attr(data-tooltip);
    white-space: pre;
    position: absolute;
    opacity: 0;

    /* customizable */
    transition: all 1s ease;
    padding: 10px;
    color: #333;
    border-radius: 10px;
    box-shadow: 2px 2px 1px silver;
}

[data-tooltip]:hover:before {
    /* needed - do not touch */
    opacity: 1;

    /* customizable */
    background: #eeeeee;
    margin-top: -120px;
    margin-left: 5%;
}

.word-break {
    word-break: break-all;
}

/* Variables */

#payment-message {
    color: rgb(105, 115, 134);
    font-size: 16px;
    line-height: 20px;
    padding-top: 12px;
    text-align: center;
}

#payment-element {
    margin-bottom: 24px;
}

.payment-card {
    position: relative;
    border: 1px solid black;
    width: fit-content;
    padding: 10px 40px 10px 10px;
    margin: 10px 0;
    border-radius: 0.5rem;
    box-shadow: 3px 3px 5px 1px rgba(0,0,0,0.44);
    -webkit-box-shadow: 3px 3px 5px 1px rgba(0,0,0,0.44);
    -moz-box-shadow: 3px 3px 5px 1px rgba(0,0,0,0.44);
}

.payment-card .card-type {
    font-size: 1.15rem;
    line-height: 2.15rem;
}

.payment-card .card-number {
    padding: 10px 0;
}

.payment-card .delete-card {
    position: absolute;
    right: 10px;
    top: 18px;
    cursor: pointer;
}
