﻿:root {
    --primary-color: #084d85; /* Default primary color */
    --secondary-color: #a6a6a6; /* Default secondary color */
    --text-color: white; /* Default text color */
}

body {
    display: flex;
    color: #58585b;
    font-size: 11px;
    min-height: 100vh;
    flex-direction: column;
    justify-content: space-between;
    font-family: Arial,Helvetica,sans-serif;
}

table {
    margin: 0;
    padding: 0;
    width: 100%;
}

ul, h1, h2 {
    margin: 0;
    padding: 0;
    list-style-type: none;
}

.none {
    display: none;
}

.block {
    display: block;
}

/* Set padding to keep content from hitting the edges */
.body-content {
    padding-left: 15px;
    padding-right: 15px;
}

select {
    height: 30px;
}

/* Styles for validation helpers */
.field-validation-error {
    color: #E80C4D;
    display: block;
    font-size: 11px;
    margin-top: 10px;
    text-shadow: none;
    visibility: visible;
    line-height: normal;
}

.field-validation-valid {
    display: block;
    visibility: hidden;
}

.sign-up .field-validation-valid {
    height: 10px;
}

input[type="checkbox"].input-validation-error {
    border: 0 none;
}

.validation-summary-errors {
    color: #e80c4d;
    font-weight: bold;
    font-size: 1.1em;
}

.validation-summary-valid {
    display: none;
}

.editor-field {
    position: relative;
}

.display-label {
    margin: 0;
    font-weight: bold;
    padding: 0 0 0 10px;
}

.display-field {
    width: 96%;
    padding: 10px;
    /*border-radius: 4px;*/
    position: relative;
    background: #ffffff;
    margin: 5px 0 20px 0;
    border-bottom: 1px solid #cacaca;
}


.notification {
    display: none;
    font-size: 13px;
    margin: 20px auto;
}


/* info and errors */
.message-info {
    clear: both;
    font-size: 13px;
}

.message-error {
    clear: both;
    color: #e80c4d;
    font-size: 13px;
    padding: 5px 10px;
    border-radius: 4px;
    background-color: #ffeeee;
    border-bottom: 1px solid #e80c4d;
}

.message-success {
    color: #229c1c;
    font-size: 13px;
    padding: 5px 10px;
    border-radius: 4px;
    background-color: #bef2bb;
    border-bottom: 1px solid #000000;
}

.message-warn {
    color: #EBA324;
    font-size: 13px;
    padding: 5px 10px;
    border-radius: 4px;
    background-color: #FFE6BA;
    border-bottom: 1px solid #000000;
}

/* Override the default bootstrap behavior where horizontal description lists 
   will truncate terms that are too long to fit in the left column 
*/
.dl-horizontal dt {
    white-space: normal;
}

.clear {
    clear: both;
}

.form {
}

    .form div, .form p {
        position: relative;
        margin-bottom: 10px;
    }

    .form .fas {
        top: 16px;
        left: 5px;
        color: #58585b;
        font-size: 15px;
        position: absolute;
    }

a, a:visited, a:active, a:focus {
    border: 0;
    outline: none;
    color: #000000;
    cursor: pointer;
    text-decoration: none;
}

    a:hover {
        color: #171e79;
        outline: none !important;
        border: 0 !important;
    }

.x-input {
    color: #000;
    width: 100%;
    outline: none;
    padding: 10px;
    display: block;
    border: 0 none;
    font-size: 13px;
    min-height: 48px;
    background: #fff;
    text-decoration: none;
    border-bottom: 1px solid #ddd;
}

    .x-input:focus {
        outline: none;
        text-decoration: none;
        border-bottom: 2px solid green;
    }

    .x-input.input-validation-error {
        outline: none;
        text-decoration: none;
        border-bottom: 2px solid #e80c4d;
    }

    .x-input.has-icon {
        padding-left: 30px;
    }


.x-button {
    height: 36px;
    border: 0 none;
    color: #ffffff;
    font-size: 14px;
    padding: 0 30px;
    margin-top: 4px;
    margin-left: 2px;
    font-weight: 500;
    margin-right: 2px;
    margin-bottom: 4px;
    border-radius: 64px;
    background: #58585b;
    transition: box-shadow 280ms cubic-bezier(.4, 0, .2, 1), background-color 15ms linear, color 15ms linear;
}

    .x-button.x-primary {
        background: #58585b;
    }

    .x-button.x-dark {
        background: #363636;
    }

    .x-button.x-light {
        background: #58585b;
    }



.x-tabs {
    max-width: 0px;
    font-size: 15px;
}

    .x-tabs.x-selected {
        color: #363636 !important;
        border-bottom: 3px solid #363636 !important;
    }



.rich-text {
    font-size: 11px !important;
    text-align: left !important;
    line-height: 18px !important;
}

    .rich-text ul {
        padding-left: 12px !important;
    }

        .rich-text ul li {
            list-style-type: disc;
        }

        .rich-text ul ul li {
            padding-left: 10px;
        }

    .rich-text p {
        margin-top: 0 !important;
    }


.my-grid-slide {
    color: #363636;
    padding: 0 10px;
    margin: 0 -15px;
    margin-top: -10px;
    padding-top: 10px;
    text-align: center;
    margin-bottom: 10px;
    padding-bottom: 10px;
    background: #ffffff;
}

    .my-grid-slide div.scrollable {
        overflow-x: auto;
        white-space: nowrap;
        scrollbar-width: none;
        -ms-overflow-style: none;
        -webkit-overflow-scrolling: touch;
    }

    .my-grid-slide table {
        padding: 0;
        border-collapse: separate;
        border-spacing: 15px;
        table-layout: fixed;
    }

        .my-grid-slide table td {
            padding: 0;
            margin: 0;
            width: 120px;
            vertical-align: top;
        }

.deal-square {
    display: block;
    text-decoration: none;
    position: relative;
    width: 120px;
    height: 120px;
    background: #fff;
    border-radius: 8px;
    overflow: hidden;
    box-shadow: 0 3px 6px rgba(0,0,0,0.16);
    transition: transform 0.2s ease, box-shadow 0.2s ease;
}

    .deal-square:hover {
        transform: translateY(-2px);
        box-shadow: 0 4px 8px rgba(0,0,0,0.2);
    }

    .deal-square img {
        width: 100%;
        height: 100%;
        object-fit: cover;
    }

.deal-title {
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    padding: 8px;
    background: rgba(255,255,255,0.9);
    color: #58585b;
    font-size: 12px;
    margin: 0;
}

.info-button {
    width: 30px;
    height: 30px;
    color: #fff;
    border: none;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 20px;
}

.info-button-container {
    position: absolute;
    top: -55px;
    right: 20px;
}

.info-popup {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(0, 0, 0, 0.5);
    display: flex;
    align-items: center;
    justify-content: center;
    z-index: 9999;
}

.info-popup-content {
    background-color: #fff;
    padding: 20px;
    border-radius: 4px;
    max-width: 400px;
    text-align: center;
}

.page-container {
    display: flex;
    flex-direction: column;
    min-height: 100vh;
    position: relative;
}

.pm {
    padding: 5px;
    background: #58585b;
    border-right: 2px solid #ffffff;
}

    .pm.selected {
        background: #363636 !important;
    }

footer {
    left: 0;
    bottom: 0;
    color: #fff;
    width: 100%;
    z-index: 900;
    height: 70px;
    display: flex;
    padding: 10px 0;
    position: fixed;
    text-align: center;
    align-items: center;
    background-color: var(--secondary-color);
}


.red {
    color: red;
    font-weight: bold;
}


.shake-it, .shake-it:hover {
    animation: shake 0.5s;
    animation-iteration-count: 5;
}

@keyframes shake {
    0% {
        transform: translate(1px, 1px) rotate(0deg);
    }

    10% {
        transform: translate(-1px, -2px) rotate(-1deg);
    }

    20% {
        transform: translate(-3px, 0px) rotate(1deg);
    }

    30% {
        transform: translate(3px, 2px) rotate(0deg);
    }

    40% {
        transform: translate(1px, -1px) rotate(1deg);
    }

    50% {
        transform: translate(-1px, 2px) rotate(-1deg);
    }

    60% {
        transform: translate(-3px, 1px) rotate(0deg);
    }

    70% {
        transform: translate(3px, 1px) rotate(-1deg);
    }

    80% {
        transform: translate(-1px, -1px) rotate(1deg);
    }

    90% {
        transform: translate(1px, 2px) rotate(0deg);
    }

    100% {
        transform: translate(1px, -2px) rotate(-1deg);
    }
}