:root {
    --primary-bg-color: #ffffff;
    --return-to-top-color: #0d6efd;
    --return-to-top-hover-color: #084298;
    --width-sm: 576px;
    --width-md: 768px;
    --width-lg: 992px;
    --width-xl: 1200px;
    --width-xxl: 1400px;
    --frame-width: 1400px;
}

:root {
    --frame-width: 1500px;
}

html {
    height: 100% !important;
}

body {
    display: -ms-flexbox !important;
    display: flex !important;
    -ms-flex-direction: column !important;
    flex-direction: column !important;
    height: 100% !important;
}

a {
    text-decoration: none;
}

/* default forms and fields */
.form-row label {
    margin-left: 0.8rem;
    color: gray;
}

.form-control, .form .btn {
    border-radius: 15px;
    outline: none !important;
    height: 45px;
}

.form-control {
    font-size: 16px;
    transition: all 0.4s;
    box-shadow: none;
}

.g-recaptcha {
    display: inline-block;
    padding-bottom: 30px;
}

.ck.ck-editor__editable {
    min-height: 300px;
}

.ck.ck-rounded-corners {
    border: 1px solid #ced4da;
    border-radius: 15px;
    outline: none !important;
    transition: border-color 0.15s ease-in-out, box-shadow 0.15s ease-in-out;
}

.form-control-file {
    width: 100%;
    height: calc(1.5em + 0.75rem + 2px);
    padding: 0.375rem 0.75rem;
    font-size: 1rem;
    font-weight: 400;
    line-height: 1.5;
    color: #495057;
    background-color: #fff;
    background-clip: padding-box;
    border: 1px solid #ced4da;
    border-radius: 0.25rem;
    transition: border-color 0.15s ease-in-out, box-shadow 0.15s ease-in-out;
    border-radius: 15px;
    outline: none !important;
    height: 45px;
    font-size: 16px;
    transition: all 0.4s;
    box-shadow: none;
}

/* General content */
.container.restrictMedium {
    max-width: 750px;
}

.container .hintText {
    color: #999;
    padding: 0 20px;
    margin: 0 auto 20px auto;
}
.container h1 {
    margin: 30px 0 20px 0;
    font-weight: 100;
    font-size: 1.8em;
    text-align: center;
}

/* Login and Registration */
.container.login {
    margin-bottom: 40px;
    max-width: 720px;
}
.container.login .social .lost {
    color: #999;
    text-align: center;
    margin-bottom: 20px;
}
.container.login .social a {
    background: #fff;
    border: 1px solid lightgray;
    display: inline-block;
    vertical-align: middle;
    position: relative;
    height: 50px;
    border-radius: 15px;
    padding: 0 37px 0 0;
    overflow: hidden;
    margin-bottom: 15px;
    font-weight: 400;
    font-size: 16px;
    line-height: 46px;
    width: 100%;
}
.container.login .social img {
    display: inline-block;
    width: 30px;
    height: 32px;
    margin: 10px 15px 10px 20px;
}
.container.login .social.Facebook a {
    background-color: white;
}
.container.login .social.Facebook a img {
    height: 28px;
    content: url("/images/auth/fb-logo.png");
}
.container.login .social.Google a {
    background-color: white;
}
.container.login .social.Google a img {
    margin-top: 7px;
    margin-left: 5px;
    content: url("/images/auth/google-logo.png");
}
.container.login div.orDivider {
    font-size: 14px;
    line-height: 1.42857143;
    color: #333;
    margin: 30px 0 0;
    text-align: center;
    border-top: 1px solid #e0e0e0;
}
.container.login div.orDivider p {
    margin: 0 auto 0 auto;
    padding: 0 10px;
    width: 40px;
    height: 40px;
    font-size: 16px;
    text-align: center;
    line-height: 40px;
    background: #fff;
    display: inline-block;
    border: 1px solid #e0e0e0;
    border-radius: 50%;
    position: relative;
    top: -22px;
    z-index: 1;
}
.container.login div.form-check {
    margin: 13px 0 10px 0;
    padding-left: 40px;
}
.container.login div.form-check input {
    margin-top: 0.25rem;
}
.container.login .btn-primary {
    width: 100%;
    transition: all 0.4s;
}
.container.login #register_btn {
    width: 55%;
}
.container.login #login_lost_btn {
    width: 40%;
}
.container.login .switchToSignIn span {
    line-height: 45px;
}

/* Default text styling */
.text-muted {
    color: #6c757d !important;
}

.error-message {
    color: darkred;
}

div.error-message {
    margin: 10px 0 20px 0;
    text-align: center;
    width: 100%;
}

/* Form Validation */
.alert-validate::before {
    content: attr(data-validate);
    position: absolute;
    max-width: 70%;
    background-color: #fff;
    border-radius: 2px;
    padding: 4px 14px 4px 10px;
    top: 50%;
    -webkit-transform: translateY(-50%);
    -moz-transform: translateY(-50%);
    -ms-transform: translateY(-50%);
    -o-transform: translateY(-50%);
    transform: translateY(-50%);
    right: 18px;
    pointer-events: none;
    color: #c80000;
    font-size: 16px;
    line-height: 1.4;
    text-align: left;
    visibility: hidden;
    opacity: 0;
    -webkit-transition: opacity 0.4s;
    -o-transition: opacity 0.4s;
    -moz-transition: opacity 0.4s;
    transition: opacity 0.4s;
}

.alert-validate::after {
    content: "!";
    display: block;
    position: absolute;
    color: #c80000;
    font-size: 20px;
    font-weight: bold;
    font-family: monospace;
    top: 50%;
    -webkit-transform: translateY(-50%);
    -moz-transform: translateY(-50%);
    -ms-transform: translateY(-50%);
    -o-transform: translateY(-50%);
    transform: translateY(-50%);
    right: 18px;
}

.alert-validate:hover:before {
    visibility: visible;
    opacity: 1;
}

@media (max-width: 992px) {
    .alert-validate::before {
        visibility: visible;
        opacity: 1;
    }
}
a.picEdit {
    display: inline-block;
    width: 32px;
    height: 32px;
    background: url("/images/core/theme/picEdit.png");
    background-size: contain;
}

a.generalEdit {
    display: inline-block;
    width: 40px;
    height: 40px;
    background: url("/images/core/theme/edit.png") center no-repeat;
    background-size: 20px 20px;
}

div.myProfile {
    margin-bottom: 40px;
}
div.myProfile img.profile150 {
    width: 150px;
    height: 150px;
    position: relative;
}
div.myProfile .accountHeader {
    background: url("/images/core/theme/dark.png");
    padding: 10px 10px 0 10px;
    margin-top: -20px;
    border-radius: 8px;
    -moz-border-radius: 8px 8px 0 0;
    -webkit-border-top-right-radius: 8px 8px;
    -webkit-border-top-left-radius: 8px;
    border: 1px darkgray;
    overflow: hidden;
}
div.myProfile .accountHeader .mainRow {
    width: 100%;
    position: relative;
}
div.myProfile .accountHeader a.profile150 {
    display: block;
    width: 150px;
    height: 150px;
    margin: 10px auto;
}
div.myProfile .accountHeader a.profile150 .profileImage {
    width: 150px;
    height: 150px;
}
div.myProfile .accountHeader a.profile150 .editIcon {
    background: url(/images/core/theme/picEdit.png) no-repeat;
    background-size: contain;
    width: 30px;
    height: 30px;
    position: absolute;
    top: 115px;
    left: 120px;
}
div.myProfile .accountHeader div.accountDetail {
    margin: 10px auto 30px;
    text-align: center;
}
div.myProfile .accountHeader div.accountDetail .name-large {
    font-size: 2rem;
}
div.myProfile .accountHeader div.accountDetail div.memberId {
    color: #6c757d;
    position: relative;
    font-size: 1.15rem;
}
div.myProfile .accountHeader div.accountDetail div.memberId span {
    color: black;
}
div.myProfile .accountHeader div.accountDetail div.memberId .generalEdit {
    margin-left: 10px;
    position: absolute;
    bottom: -5px;
}
div.myProfile .accountHeader .controlPanel a {
    display: block;
    text-align: center;
    margin: 15px;
}
div.myProfile .accountHeader .mobileToggle {
    left: 0;
    bottom: 0;
}
div.myProfile .headerContent {
    padding: 20px 0 0 0;
    margin-top: 10px;
}
div.myProfile .bodyContent {
    background: url("/images/core/theme/light.png");
    padding: 20px 20px 10px 20px;
    margin: 5px -15px 0 -15px;
    border-radius: 8px;
    -moz-border-radius: 8px 8px 0 0;
    -webkit-border-top-right-radius: 8px 8px;
    -webkit-border-top-left-radius: 8px;
    border: 1px darkgray;
    overflow: hidden;
}
div.myProfile .bodyContent .controlOptions {
    margin-bottom: -10px;
    flex: 0 0 100%;
    max-width: 100%;
    padding-right: 0;
}
div.myProfile .bodyContent .controlOptions a {
    display: inline-block;
    float: right;
    padding: 0 0 0 20px;
}
div.myProfile span.subject {
    display: inline-block;
    min-width: 200px;
    color: #6c757d;
}
div.myProfile span.result {
    display: inline-block;
}

@media (min-width: 500px) {
    div.myProfile .accountHeader {
        height: 230px;
        margin-top: 20px;
    }
    div.myProfile .accountHeader a.profile150 {
        display: inline-block;
        margin: 10px 10px;
        position: absolute;
    }
    div.myProfile .accountHeader .controlPanel {
        position: absolute;
        bottom: 0;
        right: 0;
    }
    div.myProfile .accountHeader .controlPanel a {
        display: inline-block;
        float: right;
        padding: 0 0 0 20px;
        margin: 15px 0 0 15px;
    }
    div.myProfile .accountHeader div.accountDetail {
        margin: 10px 0 30px 190px;
        text-align: left;
    }
    div.myProfile .accountHeader div.accountDetail .memberId {
        padding-left: 20px;
    }
    div.myProfile .mobileToggle {
        left: 0;
        bottom: 0;
    }
}
@media (min-width: 768px) {
    div.myProfile .accountHeader {
        height: 190px;
    }
    div.myProfile a.profile150 {
        margin: 10px 30px;
    }
    div.myProfile div.accountDetail {
        margin-left: 210px;
    }
    div.myProfile .bodyContent .mobileToggle {
        visibility: hidden;
        opacity: 0;
        position: absolute;
    }
}
.container.changeAvatar form {
    margin-top: 40px;
}

/*admin bar*/
div#adminBar {
    margin: 0 0 20px 0;
    max-width: 100%;
    background-color: #e3f3f7;
    border: 1px solid;
    border-color: darkgray;

    position: fixed;
    width: 100%;
    left: 0;
    z-index: 1000;
}

div#adminBar ul {
    list-style: none;
    padding: 0;
    max-width: var(--frame-width);
    margin: 0 auto
}

div#adminBar li {
    display: inline;
    font-size: 1rem;
    padding: 0 15px 0 15px;
}

div#adminBar a {
    color: #993333;
    font-weight: 500;
    text-decoration: none;
}

div#adminBar .selectedGallery {
    color: #7B7B7A;
}

div#adminBar a:hover {
    color: #ff0000;
    text-decoration: none;
}

div#adminBar + nav,
div#adminBar + div,
div#adminBar + h2 {
    margin-top: calc(22px + 1rem);
}

div.adminSubBar {
    margin: -20px 0 20px 0;
    padding: 2px 0 2px 0;
    background-color: lightcyan;
    border: 1px solid;
    border-color: darkgray;
}

div.adminSubBar ul {
    list-style: none;
    padding: 0;
    margin: 0;
}

div.adminSubBar li {
    display: inline;
    font-size: 14px;
    padding: 0 15px 0 15px;
    width: 150px;
    height: 20px;
}

div.adminSubBar a {
    color: #993333;
    font-weight: 500;
    text-decoration: none;
}

div.adminSubBar .selectedGallery {
    color: #7B7B7A;
}

div.adminSubBar a:hover {
    color: #ff0000;
    text-decoration: none;
}

/* Order Info
****************/
div.orderInvoice.container {
    padding-bottom: 20px;
}

div.orderInvoice h2 {
    text-align: center;
}
div.orderInvoice .transactionDate {
    width: 200px;
    text-align: left;
    display: inline-block;
}
div.orderInvoice .transactionDesc {
    width: 450px;
    text-align: left;
    display: inline-block;
}
div.orderInvoice .transactionAmount {
    width: 80px;
    text-align: right;
    display: inline-block;
}
div.orderInvoice .transactionStatus {
    width: 80px;
    text-align: center;
    display: inline-block;
}
div.orderInvoice .orderItemTitle {
    text-align: left;
}
div.orderInvoice .orderItemDesc {
    margin-left: 30px;
    text-align: left;
    display: inline-block;
    color: #333333;
}
div.orderInvoice .orderItemPrice {
    text-align: right;
    display: inline-block;
}
div.orderInvoice .orderItem {
    padding-top: 1em;
}
div.orderInvoice .header {
    font-size: 1.1em;
    text-align: center;
    background-color: #dddddd;
}
div.orderInvoice .checkOutLine {
    text-align: right;
    padding-right: 10px;
}
div.orderInvoice .subtotal {
    float: left;
    width: 125px;
    padding-right: 5px;
    text-align: right;
    font-weight: bold;
}
div.orderInvoice .paymentPanel {
    width: 100%;
    padding-right: 15px;
    padding-left: 15px;
    margin-right: auto;
    margin-left: auto;
}

form.inlineLink {
    display: inline;
}
form.inlineLink button {
    background: none;
    border: none;
    color: blue;
    text-decoration: underline;
    cursor: pointer;
    font-size: 1em;
    font-family: serif;
}
form.inlineLink button:focus {
    outline: none;
}
form.inlineLink button:active {
    color: red;
}

.sr-only {
    position: absolute;
    width: 1px;
    height: 1px;
    padding: 0;
    margin: -1px;
    overflow: hidden;
    clip: rect(0, 0, 0, 0);
    border: 0;
}

.sr-only-focusable:focus {
    position: relative;
    width: auto;
    height: auto;
    clip: initial;
    margin: inherit;
    padding: inherit;
    border: initial;
}