body {
    color: var(--ob-colour-dark);
    display:flex;
    flex-direction:column;
    box-sizing: border-box;
    background: var(--ob-colour-background) !important;
    height: 100%;
}
html{
    height: 100%;
    width: 100%;
}



/*
Inter Black
Inter Bold
Inter SemiBold
Inter Regular
Inter Light
Inter Medium
 */
@font-face {
    font-family: 'Inter Light';
    src: url('https://cdn.orderblade.com/resources/fonts/Inter-Light.ttf') format('truetype');
}
@font-face {
    font-family: 'Inter Regular';
    src: url('https://cdn.orderblade.com/resources/fonts/Inter-Regular.ttf') format('truetype');
}
@font-face {
    font-family: 'Inter Medium';
    src: url('https://cdn.orderblade.com/resources/fonts/Inter-Medium.ttf') format('truetype');
}
@font-face {
    font-family: 'Inter SemiBold';
    src: url('https://cdn.orderblade.com/resources/fonts/Inter-SemiBold.ttf') format('truetype');
}
@font-face {
    font-family: 'Inter Bold';
    src: url('https://cdn.orderblade.com/resources/fonts/Inter-Bold.ttf') format('truetype');
}

@font-face {
    font-family: 'Inter Black';
    src: url('https://cdn.orderblade.com/resources/fonts/Inter-Black.ttf') format('truetype');
}

p, td, li, label {
    font-family: 'Inter Medium', sans-serif;

}
p{
    opacity: 0.7;
}
h1 {
    font-family: 'Inter Black', sans-serif;
}
h2,th,strong{
    font-family: 'Inter Bold', sans-serif;
}
h3{
    font-family: 'Inter Bold', sans-serif;
}
h4{
    font-family: 'Inter SemiBold', sans-serif;
}
h5{
    font-family: 'Inter SemiBold', sans-serif;
}

p, h1, h2, h3, h4, h5{
    /* color: var(--ob-colour-dark);*/
    margin: 0.5rem;
}
.no-margin{
    margin: 0;
}

a, a:not([href]):not([class]){
    font-family: 'Inter Bold', sans-serif;
    color: var(--ob-colour-primary);
    margin: 0.5em;
    text-decoration: none;
}
a:hover, a:not([href]):not([class]):hover{
    color: var(--ob-colour-primary-light);
    cursor: pointer;
}

.ob-text-light{
    font-family: "Inter Regular", sans-serif;
    font-size: 15px;
    color: rgba(26, 26, 26, 0.48);
}
.ob-colour-primary{
    color: var(--ob-colour-primary);
}


hr{
    /* width: 100%;*/
    border: 0;
    height: 1px;
    background: var(--ob-colour-light-gray);
    margin: 0.68rem;
}



:root {
    /* Colors */
    --ob-colour-background: #F5F5F5;
    --ob-colour-background-overlay: #FFF1F1F1;
    --ob-colour-primary-light: #5C54FF;
    --ob-colour-primary: #110054;
    --ob-colour-nav-bar: #110054;
    --ob-colour-pink: #F5C7F7;
    --ob-colour-purple: #110054;
    --ob-colour-purple-2: #110054;
    --ob-colour-gray: #EDEFFE;
    --ob-colour-dark: #1A1A1A;
    --ob-colour-white: white;
    --ob-colour-white-2: #FFF5F3F3;
    --ob-colour-white-dark: #FFE6E6E6;
    --ob-colour-white-light: #FFEDEDED;
    --ob-colour-white-blue-grey: #FFEDEFF1;
    --ob-colour-light-gray: #E0E0E0;

    /* Borders */
    --ob-border-radus: 15px;

    /* Fonts */
    --thin: "/Resources/Fonts/#Inter Light";
    --light: "/Resources/Fonts/#Inter Regular";
    --med: "/Resources/Fonts/#Inter Medium";
    --semi-bold: "/Resources/Fonts/#Inter SemiBold";
    --bold: "/Resources/Fonts/#Inter Bold";
    --ex-bold: "/Resources/Fonts/#Inter Black";

    /* Sizes */
    --display: 42px;
    --header: 33px;
    --title-1: 28px;
    --title-2: 22px;
    --headline: 20px;
    --body: 15px;
    --caption: 12px;

    --ob-breakpoint-mobile: 500px
}

.ob-base{
    margin: 20px;
    height: 100%;
    display: flex;
    flex-direction: column;
    align-items: center;
}

.ob-container{
    max-width: 1500px;
    height: 100%;
    width: 100%;
    display: flex;
    flex-direction: column;
    align-items: center;
}

.ob-card{
    background: white;
    border-radius: 15px;
    padding: 1em;
    margin: 1em;
    width: calc(100% - 40px);
}

.ob-card-shadow{
    box-shadow: 0 4px 8px 3px rgba(0,0,0,.15), 0 1px 3px rgba(0,0,0,.3);
}

a.ob-button{
    text-decoration: none;
    margin: 0em;
    color: white;
}

a.ob-button,button {
    display: inline-block;
    text-align: center;
    cursor: pointer;
    border-radius: 15px;
    border: none;
    color: white;
    margin: 2px 5px;
    padding: 10px 20px;
    font-weight: bold;
    font-family: 'Inter Bold', sans-serif;
    background-color: var(--ob-colour-primary);

    transition: transform 0.2s ease-in-out;
}

button:hover, a.ob-button:hover {
    background-color: #1c0a64;
    transform: scale(1.01);
}

button:active {
    background-color: #230e77;
}

button:disabled {
    opacity: 0.25;
}


.error-text{
    color: red;
    font-size: 15px;
    margin: 2px;
    padding: 0;
    font-weight: bold;
    text-align: center;
}

.ob-button-secondary {
    background: var(--ob-colour-primary-light);
}

.ob-button-secondary:hover {
    background: #665fff;
    transform: scale(1.01);
}

.ob-button-secondary:active {
    background: #7a6fff;
}

.ob-button-warning {
    background: #ff2828;
}

.ob-button-warning:hover {
    background: #ff4444;
}

.ob-button-warning:active {
    background: #ff6a6a;
}

.ob-button-light-gray {
    background: #6e6e6e;
}

.ob-button-light-gray:hover {
    background: #777777;
}

.ob-button-light-gray:active {
    background: #b4b4b4;
}

.ob-button-text{
    background: none;
    color: var(--ob-colour-primary);
    font-family: 'Inter Bold', sans-serif;
    font-size: 15px;
    padding: 5px 10px;
    border-radius: 12px;
    margin: 2px 5px;
    cursor: pointer;
}
.ob-button-text:hover{
    background: rgba(39, 21, 114, 0.0);
}
.ob-button-text:active{
    background: rgba(35, 14, 119, 0);
}


.ob-button-none{
    background: none;
    color: black;
    font-family: 'Inter Bold', sans-serif;
    margin: 2px 5px;
}
.ob-button-none:hover a.ob-button:hover {
    background-color: rgba(35, 14, 119, 0);
    transform: scale(1.01);
}

.ob-button-none:active {
    background-color: rgba(35, 14, 119, 0);
}



.ob-button-icon{
    color: var(--ob-colour-primary);
    border-radius: 20px;
    background: rgba(0, 0, 0, 0.56);
    padding: 5px;
}
.mud-icon-root{
    color: #666666bf;
}
#mud-snackbar-container {
    z-index: 10000000;
}

button svg{
    color:white;
}
button[class="ob-button-text"] svg{
    color: var(--ob-colour-primary);
}
.ob-button-text:hover{
    background: rgba(39, 21, 114, 0.1);

}
.ob-button-text:active{
    background: rgba(35, 14, 119, 0);
}

input[type="checkbox"] {
    appearance: none;
    outline: none;
    width: 20px;
    min-width: 20px;
    height: 20px;
    border: none;
    background-color: #ddd;
    transition: background-color 0.2s ease-in-out;
}

input[type="checkbox"]:checked {
    background-color: var(--ob-colour-primary-light);
}

input[type="checkbox"]:focus {
    outline: none;
}

input[type="checkbox"]::before {
    content: '';
    display: block;
    width: 100%;
    height: 100%;
    background-image: url('data:image/svg+xml;utf8,<svg xmlns="http://www.w3.org/2000/svg" viewBox="10 10 35 35" fill="none"><path d="M14.1 27.2l7.1 7.2 16.7-16.8" stroke="white" stroke-width="10" stroke-linecap="round" stroke-linejoin="round"/></svg>');
    background-repeat: no-repeat;
    background-position: center;
    background-size: 50%;
    opacity: 0;
    transition: opacity 0.2s ease-in-out;
}
input[type="checkbox"]:checked::before {
    opacity: 1;
}

.desktop-only{
    visibility: visible;
}
.mobile-only{
    visibility: collapse;
}
@media screen and (max-width: 420px) {
    .desktop-only {
        visibility: collapse;
    }
    .mobile-only{
        visibility: visible;
    }
}


.ob-tooltip {
    position: relative;
    display: inline-block;
    border-bottom: 1px dotted black;
}

.ob-tooltip .ob-tooltip-content {
    visibility: hidden;
    width: 50vw;
    max-width: 500px;
    background-color: #0000007d;
    color: #fff;
    text-align: center;
    border-radius: 6px;
    padding: 5px;
    position: absolute;
    z-index: 99999999;
    margin-top: 20px;
    margin-left: -32px;
}

.ob-tooltip:hover .ob-tooltip-content {
    visibility: visible;
}




.ob-collapsible-panel{
    width: 100%;
    border: 1px solid #ccc;
    border-radius: 5px;
    overflow: hidden;
}




.ob-collapsible-header {
    display: block;
    width: 100%;
    padding: 10px;
    background-color: #f5f5f5;
    text-align: left;
    border: none;
    outline: none;
    cursor: pointer;
    transition: background-color 0.3s;
}

.ob-collapsible-header:hover {
    background-color: #ddd;
}

.ob-collapsible-content {
    max-height: 0;
    overflow: hidden;
    transition: max-height 0.3s ease;
    background-color: #f9f9f9;
    padding: 0 10px;
}




.Card > img{
    width: 200px;
    max-height: 200px;
}
.Card > h3{
    margin: 0;
    text-align: center;
}
.Card{
    background: var(--ob-colour-gray);
    padding: 10px 10px 30px;
    border-radius: 15px;
    margin: 10px;
    cursor: pointer;
    min-height: 220px;
    width: 220px;
}

.CardHolder{
    display: flex;
    align-items: center;
    flex-wrap: wrap;
    max-height: 85vh;
    width: 80vw;
    max-width: 968px;
    overflow: scroll;
}

.line_v{
    width: 1px;
    height: 100%;
    background: var(--ob-colour-gray);
    margin: 0 10px;
}



/*Table*/
.ob-table {
    width: 100%;
}
.ob-table th {
    color: rgba(26, 26, 26, 0.52);
}

.ob-table th,
.ob-table td {
    border: none;
    padding: 10px;
    font-family: 'Inter Regular', sans-serif;
    font-weight: normal;
    text-align: left;

    color: #5d5d5d;
}

.ob-table tr {
    position: relative;
    border-top: 1px solid transparent;
}
.ob-table tbody tr::after {
    content: "";
    position: absolute;
    top: -1px;
    left: 0;
    width: 100%;
    height: 1px;

    background: linear-gradient(to right,transparent, rgba(175, 175, 175, 0.34), transparent);
}


.ob-table tbody tr:hover,
.ob-table tbody tr:active,
.ob-table tbody tr:focus-within {
    background-color: rgba(207, 194, 246);
    /* cursor: pointer; */
}

.ob-table tbody tr.selected {
    background-color: rgba(207, 194, 246);
}

/* Mobile Style */
@media (max-width: 767px) {
    .ob-table {
        display: block;
        overflow-x: auto;
        white-space: nowrap;
    }
    .ob-table tbody tr:hover {
    }
}

/*Table END*/



table:not(.ob-table-none):not(.ob-table) {
    width: 100%;
    border-collapse: collapse;
}

table:not(.ob-table-none):not(.ob-table) th, table:not(.ob-table-none):not(.ob-table) td {
    padding: 10px;
    text-align: left;
    border: 1px solid #ccc;
}

table:not(.ob-table-none):not(.ob-table) th {
    background-color: #f2f2f2;
}

table:not(.ob-table-none):not(.ob-table) tr:nth-child(even) {
    background-color: #f9f9f9;
}

.ob-table-none {
    width: 100%;
    border-collapse: inherit;
}
.ob-table-none thead,
.ob-table-none tbody,
.ob-table-none tfoot,
.ob-table-none tr,
.ob-table-none td,
.ob-table-none th {
    border-color: inherit;
    border-style: solid;
    border-width: 0;
}


.ob-page-title{
    /*todo: remove*/
    margin-left: 40px;
    margin-bottom: -10px;
}

.ob-page-title-container{
    width: calc(100% - 40px);
    align-items: center;
    display: flex;
    margin-bottom: -15px;
}

.ob-alert{
    padding: 5px;
    margin-left: 10px;
    padding-top: 1px;
    margin: 5px;
}

.ob-alert-danger {
    background-color: #ffdddd;
    border-left: 6px solid #f44336;
 
}

.ob-alert-success {
    background-color: #ddffdd;
    border-left: 6px solid #77777763;
   
}

.ob-alert-normal {
    background-color: transparent;
    border-left: 6px solid #777777;
  
}

.ob-alert-warning {
    background-color: #ffffcc;
    border-left: 6px solid #ffeb3b;
   
}

.ob-card-skeleton-wave {
    background: linear-gradient(90deg,
    rgba(255, 255, 255, 0.1) 25%,
    rgba(220, 220, 220, 0.5) 50%,
    rgba(255, 255, 255, 0.1) 75%);
    animation: waveslide 1.5s infinite linear;
}

.ob-card-skeleton-pulse {
    background: #ececec;
    animation: pulse 2s infinite ease-in-out;
}



@keyframes waveslide {
    to {
        background-position: 100vw 0;
    }
}

@keyframes pulse {
    0%, 100% {
        opacity: 0.6;
    }
    50% {
        opacity: 1;
    }
}











.half-modal-container{
    background: rgba(0, 0, 0, 0.54);
    width: 100vw;
    height: 100vh;
    position: fixed;
    top: 0;
    left: 0;

    z-index: 9999;
}

.half-modal{
    display: flex;
    position: absolute;
    right: 0;
    height: 100vh;
    min-width: 500px;
    max-width: 90%;
    background: white;

}
.half-modal-header{
    display: flex;
    justify-content: space-between;
    position: absolute;
    background: white;
    top: 0;
    right: 23px;
    left: 23px;

}


.half-modal-content-container{
    display: flex;
    flex-direction: column;
    width: 100%;
    overflow-y: auto;
    overflow-x: hidden;
    padding: 10px 20px;
}

.half-modal-content{
    margin-top: 40px;
}

@media screen and (max-width: 600px){
    .half-modal{
        height: auto;
        width: 100vw;
        bottom: 0;

        left: 0;
        max-width: 100%;
        max-height: 90%;
        min-height: 45vh;
    }
}



.ob-textbox-container {
    position: relative;
    margin:10px 10px 12px
}

.ob-textbox-input {
    height: 48px;
    width: 100%;
    border: 2px solid #c0c0c0;
    border-radius: 4px;
    box-sizing: border-box;
    padding: 16px;
    background: inherit;
    color: inherit;
}

.ob-textbox-label {
    position: absolute;
    top: 0;
    bottom: 0;
    left: 16px;
    display: flex;
    align-items: center;
    pointer-events: none;
}

.ob-textbox-label .ob-textbox-text {
    transition: all 0.15s ease-out;
    color: grey;
}

.ob-textbox-input:focus {
    outline: none;
    border: 2px solid #5C54FF;
}

.ob-textbox-input:focus + .ob-textbox-label .ob-textbox-text,
:not(.ob-textbox-input[value=""]) + .ob-textbox-label .ob-textbox-text {
    font-size: 12px;
    transform: translate(0, -150%);
    background-color: white;
    padding-left: 4px;
    padding-right: 4px;
}

.ob-textbox-input:focus + .ob-textbox-label .ob-textbox-text {
    color: #5C54FF;
}
.ob-textbox-container.error .ob-textbox-input {
    border-color: red;
}

.ob-textbox-error {
    color: red;
    font-size: 10px;
    margin-left: 2px;
    position: absolute;
    bottom: -15px;
}

.ob-textbox-container-error{
    margin-bottom: 20px;
}


.ob-flex{
    display: flex;
}
