/* Colors */
.colorBlack {
    color: #454f63 !important;
}

.colorDark {
    color: #3e3f42 !important;
}

.colorGray {
    color: #9ea0a5 !important;
}

.colorWhite {
    color: #fff !important;
}

.colorPrimary {
    color: #3acce1 !important;
}

.colorSecondary {
    color: #e6007e !important;
}

.colorSuccess {
    color: #69d565;
}

/* Background Colors */
.bg-primary {
    background-color: #3acce1 !important;
}

.bg-primary:focus,
button.btn.bg-primary,
button.btn.bg-primary:hover,
a.btn.bg-primary,
a.btn.bg-primary:hover,
a.bg-primary:hover {
    background-color: #3acce1 !important;
}

.bg-secondary:focus,
a.bg-secondary:hover {
    background-color: #e6007e !important;
}

.bg-secondary {
    background-color: #e6007e !important;
}

.bg-green {
    background-color: #1fd386;
}

/* Events */
.clickable {
    cursor: pointer;
}

/* Texts */
.heading-title {
    font-family: "Gibson SemiBold", sans-serif;
    font-size: 36px;
    display: flex;
    align-items: center;
}

.heading-2 {
    font-family: "Gibson SemiBold", sans-serif;
    font-size: 24px;
}

.incident-value {
    font-size: 15px;
    color: #9ea0a5;
}

.semi-bold {
    font-family: "Gibson SemiBold", sans-serif;
}

.open-sans {
    font-family: "Open Sans", Arial, sans-serif;
}

.text-regular {
    font-size: 14px;
}

.validation-message {
    color: red;
}

.card-heading {
    font-family: "Gibson SemiBold", sans-serif;
    font-size: 24px;
    margin: 0;
}

/* Buttons */
.button {
    padding: 16px;
    min-width: 150px;
}

.btn .button-icon {
    min-width: 40px;
    min-height: 40px;
}

/* --- Utils --- */
.wrap-white-space {
    white-space: pre-wrap;
}

.content {
    background: #fbfbfd !important;
}

.no-border {
    border: none;
}

/* Flex */
.flex-col {
    display: flex;
    flex-direction: column;
}

.flex-row {
    display: flex;
    flex-direction: row;
}

/* Divider */
.divider-v {
    background-color: #eaedf3;
    width: 1px;
    height: 38px;
}

/* Ripple Effect */
.btn-ripple {
    position: relative;
    overflow: hidden;
}

.ripple {
    position: absolute;
    width: 2px;
    height: 2px;
    animation-name: ripple;
    animation-duration: 0.5s;
    opacity: 0;
    border-radius: 50%;
}

@keyframes ripple {
    0% {
        opacity: 0.4;
        transform: scale(0);
        background: #000;
    }

    100% {
        opacity: 0;
        transform: scale(100);
        background: #000;
    }
}

/* Toast */
.blazored-toast-container {
    margin-top: 75px;
}

.info-toast-override {
    background: #fff !important;
    color: #454f63 !important;
}

.info-toast-override .blazored-toast-header {
    position: absolute;
    top: 0;
    right: 0;
}

.info-toast-override .blazored-toast-header .blazored-toast-heading {
    display: none;
}

input.form-check-input {
    accent-color: #3acce1;
    height: 20px;
    width: 20px;
}

/* custom-loader */
.custom-loader,
.custom-loader:after {
    border-radius: 50%;
    width: 50px;
    height: 50px;
}

.custom-loader.custom-loader--small,
.custom-loader.custom-loader--small:after {
    width: 30px;
    height: 30px;
    border-width: 3px;
}

.custom-loader {
    margin: 20px auto;
    font-size: 10px;
    position: relative;
    text-indent: -9999em;
    border-top: 5px solid rgba(255, 255, 255, 0.2);
    border-right: 5px solid rgba(255, 255, 255, 0.2);
    border-bottom: 5px solid rgba(255, 255, 255, 0.2);
    border-left: 5px solid #3acce1;
    -webkit-transform: translateZ(0);
    -ms-transform: translateZ(0);
    transform: translateZ(0);
    -webkit-animation: load8 1.1s infinite linear;
    animation: load8 1.1s infinite linear;
}

@-webkit-keyframes load8 {
    0% {
        -webkit-transform: rotate(0deg);
        transform: rotate(0deg);
    }

    100% {
        -webkit-transform: rotate(360deg);
        transform: rotate(360deg);
    }
}

@keyframes load8 {
    0% {
        -webkit-transform: rotate(0deg);
        transform: rotate(0deg);
    }

    100% {
        -webkit-transform: rotate(360deg);
        transform: rotate(360deg);
    }
}

/*
  Custom radio button
  Source: https://www.w3schools.com/howto/howto_css_custom_checkbox.asp
*/

.custom-radio-container {
    display: block;
    position: relative;
    padding-left: 35px;
    margin-bottom: 12px;
    cursor: pointer;
    font-size: 22px;
    -webkit-user-select: none;
    -moz-user-select: none;
    -ms-user-select: none;
    user-select: none;
}

/* Hide the browser's default input */
.custom-radio-container input {
    position: absolute;
    opacity: 0;
    cursor: pointer;
    height: 0;
    width: 0;
}

/* Create a custom button */
.custom-radio-checkmark {
    position: absolute;
    top: 0;
    left: 0;
    height: 20px;
    width: 20px;
    background-color: #eee;
    border-radius: 3px;
}

/* On mouse-over */
.custom-radio-container:hover input ~ .custom-radio-checkmark {
    background-color: #ccc;
}

/* When checked */
.custom-radio-container input:checked ~ .custom-radio-checkmark {
    background-color: #3acce1;
}

/* Create the indicator */
.custom-radio-checkmark:after {
    content: "\f00c";
    position: absolute;
    font-family: "Font Awesome 5 Free";
    display: none;
    color: #fff;
    width: 100%;
    height: 100%;
    justify-content: center;
    align-items: center;
    font-size: 8px;
}

/* Show the indicator when checked */
.custom-radio-container input:checked ~ .custom-radio-checkmark:after {
    display: flex;
}
