/* Global styles for the Webstar application */

@font-face {
    font-family: "WebstarSans-Regular";
    src: url("/fonts/WebstarSans-Regular.ttf") format("truetype");
}

:root {
    /* Colors: */
    --black: #000000;
    --white: #FFFFFF;
    --grey-dark: #444444;
    --grey-medium: #8B8B8B;
    --grey-light: #F2F2F2;
    --delivery-pendant: #BEBE00;
    --delivery-okay: #00A000;
    --secondary-color: #958C7D;
    --primary-color: #DD1010;
    --shadow-color: #DD291072;
    --white-shadow-color: #FFFFFF33;
    --error-color: #DD1010;
    --btn-hover: #bd0f0f;
    --grey-light-border: #8B8B8B80;
    --red-light: #F8CFCF;
    --red-variant-dark: #E54B4B;
    /* Spacing, etc */
    --header-height: 80px;
    --header-customer-info-dropdown-height: 30px;
    --bottom-header-height: 5rem;
    --content-width: 72%;
    --font-size: 16px;
    --font-size-large: 18px;
    --font-size-mlarge: 28px;
    --font-size-xlarge: 32px;
    --font-size-xxlarge: 48px;
    --line-height: 18px;
    --line-height-large: 24px;
    --line-height-xlarge: 28px;
    --line-height-xxlarge: 60px;
    --font-family: WebstarSans-Regular, sans-serif;
    --font-family-light: "WebstarSans-Regular", sans-serif;
}

@media only screen and (max-width: 1052px) {
    /* For mobile phones: */
    :root {
        --content-width: 92%;
        --header-height: 50px;
    }
}

body {
    background-color: var(--white);
    font-family: var(--font-family);
    font-size: var(--font-size);
    line-height: var(--line-height);
    color: var(--grey-dark);
    padding-top: var(--header-height);
}

.hidden {
    display: none;
}

.bolder {
    font-weight: 600;
}

.h1-bolder {
    font-weight: 600;
    font-size: var(--font-size-large);
}

.h2-bolder {
    font-weight: 600;
    font-size: var(--font-size);
}

.h1-normal {
    font-size: var(--font-size-large);
}

.h2-normal {
    font-size: var(--font-size);
}

.header-24 {
    font-size: 24px;
    line-height: normal;
    font-weight: 600;
}

a {
    color: var(--grey-dark);
    text-decoration: none;
}

a:hover {
    color: var(--primary-color);
}

.w-btn-round {
    border-radius: 28px;
    font-size: var(--font-size);
    font-weight: 600;
    padding: 0.6rem 1.5rem;
}

.w-btn-primary {
    background-color: var(--primary-color);
    color: var(--white);
}

/* Spinner START */
.spinner {
    width: 40px;
    height: 40px;
    display: block;
    position: fixed;
    top: calc( 50% - ( 40px / 2) );
    right: calc( 50% - ( 40px / 2) );
}

.double-bounce1, .double-bounce2 {
    width: 100%;
    height: 100%;
    border-radius: 50%;
    background-color: #333;
    opacity: 0.6;
    position: absolute;
    top: 0;
    left: 0;
    -webkit-animation: sk-bounce 2.0s infinite ease-in-out;
    animation: sk-bounce 2.0s infinite ease-in-out;
}

.double-bounce2 {
    -webkit-animation-delay: -1.0s;
    animation-delay: -1.0s;
}

@-webkit-keyframes sk-bounce {
    0%, 100% {
        -webkit-transform: scale(0.0)
    }

    50% {
        -webkit-transform: scale(1.0)
    }
}

@keyframes sk-bounce {
    0%, 100% {
        transform: scale(0.0);
        -webkit-transform: scale(0.0);
    }

    50% {
        transform: scale(1.0);
        -webkit-transform: scale(1.0);
    }
}
/* Spinner END */
