@import url('open-iconic/font/css/open-iconic-bootstrap.min.css');

:root {
    --rm-main: #C1A762;
    --rm-fg-main: #FDFDFD;
    --rm-icon-main: #C1A762;
    --rm-gold: #C1A762;
    --rm-gold-rgb: rgb(193,167,98);
    --font-main: 'corporate-s';
    --font-alt: 'trade-gothic-next-condensed';
    --traffic-light-green: #50cd4f;
    --traffic-light-red: #E84242;
    --traffic-light-yellow: #FFDE33;
    --range-slider-grey: #c9c9c9;
    --slider-tick-color: #D3D3D3;
    --rm-black: #212121;
    --rm-white: #FDFDFD;
    --rm-light-grey: #ededed;
    --range-slider-grey: #c9c9c9;
    --slider-tick-color: #D3D3D3;
    --rm-dark-grey: #BCBCBC;

    height: 100%;
}

body {
    background-color: #c1a762;
    background-color: var(--rm-main);
    font-family: var(--font-main);
    font-style: normal;
    font-weight: normal;
    font-size: 16px;
    color: var(--rm-black);
    overflow-wrap: break-word;
}

h1 {
    font-family: var(--font-alt);
    font-weight: bold;
    font-size: calc(36px + (48 - 36) * ((100vw - 300px) / (1400 - 300))); /* dynamic font size */
    letter-spacing: 0.02em;
    text-transform: uppercase;
}

h2 {
    font-family: var(--font-alt);
    font-style: normal;
    font-weight: bold;
    font-size: calc(24px + (36 - 24) * ((100vw - 300px) / (1400 - 300))); /* dynamic font size */
    letter-spacing: 0.02em;
    text-transform: uppercase;
}

h3 {
    font-family: var(--font-alt);
    font-style: normal;
    font-weight: bold;
    font-size: calc(16px + (24 - 16) * ((100vw - 300px) / (1400 - 300))); /* dynamic font size */
    letter-spacing: 0.02em;
    text-transform: uppercase;
}


h4 {
    font-family: var(--font-alt);
    font-style: normal;
    font-weight: normal;
    font-size: 16px;
    letter-spacing: 0.02em;
    text-transform: uppercase;
    color: var(--rm-black);
}

/* Button */
.btn {
    height: 32px;
    line-height: 30px;
    padding: 0 22px;
    white-space: nowrap;
    margin: 0;
}

.btn-medani-outline {
    border: 1px solid var(--rm-black);
    border-radius: 4px;
    font-weight: bold;
    font-size: 14px;
    color: black;
}

.btn-medani-filled {
    background: var(--rm-black);
    border-radius: 4px;
    color: white;
    font-weight: bold;
    font-size: 14px;
}

.btn-medani-outline:hover {
    color: var(--rm-black);
}

.btn-medani-filled:hover {
    color: var(--rm-white);
}

/*
    color stuff
*/

.background-white {
    background-color: white;
}

.foreground-white{
    color: white;
}

.foreground-main{
    color: var(--rm-fg-main);
}

.foreground-icon-main {
    color: var(--rm-icon-main);
}

.form-check-input[type="checkbox"] + label::before {
    border-radius: 3px;
    transition: 0.1s;
}

.custom-control-input:checked ~ .custom-control-label::before {
    border-color: black !important;
    background-color: black !important;
}

.checkbox-main.custom-control-input:checked ~ .custom-control-label::before {
    border-color: var(--rm-main) !important;
    background-color: var(--rm-main) !important;
}

.form-check-input[type=radio].with-gap:checked + label:after, .form-check-input[type=radio]:checked + label:after, label.btn input[type=radio].with-gap:checked + label:after, label.btn input[type=radio]:checked + label:after {
    background-color: var(--rm-icon-main);
    border: 2px solid #5a5a5a;
}

:focus {
    outline: none !important;
}

.card {
    border-radius: 10px !important;
    overflow: hidden;
    border:0;
}

ul {
    list-style-type: none;
}

.rm-list-group {
    padding-left: 0;
}

    .rm-list-group.rm-list-group-flush > .rm-list-group-item {
        display: flex;
        padding-left: 0;
        margin-bottom: 0;
        border: none;
        border-left: 6px solid var(--rm-main);
        padding: 5px 10px 5px 10px;
        /*    box-shadow: 0px 0px 10px rgba(0, 0, 0, 0.1);*/
        border-top-left-radius: 4px;
        border-bottom-left-radius: 4px;
        border-top-right-radius: 10px;
        border-bottom-right-radius: 10px;
        box-shadow: 2px 1px 10px rgba(0, 0, 0, 0.31);
    }


        .rm-list-group.rm-list-group-flush > .rm-list-group-item > span {
            overflow-wrap: break-word;
        }

    .rm-list-group.rm-list-group-flush > .rm-list-group-item {
        padding: 0.5rem !important;
    }


.cursor-pointer{
    cursor: pointer;
}

/* CONNECTION ERROR STUFF */
.my-reconnect-modal > div {
    position: fixed;
    top: 0;
    right: 0;
    bottom: 0;
    left: 0;
    z-index: 1000;
    overflow: hidden;
    background-color: #c1a762;
    opacity: 0.9;
    text-align: center;
    font-weight: bold;
}

.components-reconnect-hide > div {
    display: none;
}

.components-reconnect-show > div {
    display: none;
}

.components-reconnect-show > .show {
    display: block;
}

.components-reconnect-failed > div {
    display: none;
}

.components-reconnect-failed > .failed {
    display: block;
}

.components-reconnect-rejected > div {
    display: none;
}

.components-reconnect-rejected > .rejected {
    display: block;
}


/* LOADER */
.lds-ellipsis {
    display: inline-block;
    position: relative;
    width: 80px;
    height: 80px;
}

    .lds-ellipsis div {
        position: absolute;
        top: 33px;
        width: 13px;
        height: 13px;
        border-radius: 50%;
        background: #fff;
        animation-timing-function: cubic-bezier(0, 1, 1, 0);
    }

        .lds-ellipsis div:nth-child(1) {
            left: 8px;
            animation: lds-ellipsis1 0.6s infinite;
        }

        .lds-ellipsis div:nth-child(2) {
            left: 8px;
            animation: lds-ellipsis2 0.6s infinite;
        }

        .lds-ellipsis div:nth-child(3) {
            left: 32px;
            animation: lds-ellipsis2 0.6s infinite;
        }

        .lds-ellipsis div:nth-child(4) {
            left: 56px;
            animation: lds-ellipsis3 0.6s infinite;
        }

@keyframes lds-ellipsis1 {
    0% {
        transform: scale(0);
    }

    100% {
        transform: scale(1);
    }
}

@keyframes lds-ellipsis3 {
    0% {
        transform: scale(1);
    }

    100% {
        transform: scale(0);
    }
}

@keyframes lds-ellipsis2 {
    0% {
        transform: translate(0, 0);
    }

    100% {
        transform: translate(24px, 0);
    }
}
