/** Variables **/
:root {
    /** Font **/
    --font-family: "Roboto", sans-serif;
    /** Colors **/
    --grey: #676a6b;
    --light-grey: #777;
    --main-color: #fb5c04;
    --white: #F8F8F8;
    --black: #0e0a0a;
    --warning: #e79a0b;
    --error: #ad0808;
    --success: #409b54;
  }

/* Page structure */
    body {
        display: flex;
        flex-direction: column;
        min-height: 100vh;
    }
    
    main {
        flex: 1 0 auto; 
        overflow-y: auto; 
    }

    html, body {
        height: 100%;
        margin: 0;
        scrollbar-width: none;
        -ms-overflow-style: none;
        font-family: var(--font-family);
    }
    html::-webkit-scrollbar, body::-webkit-scrollbar {
        display: none;
    }
      
/* Header */
    .navbar-default {
        border-bottom:2px solid var(--main-color);
        border-radius: 0%;
        font-size: large;
        z-index: 1000;
        background: var(--white);
    }

/* Footer */
    img.logo {
        height: 50px;
    }

    footer.footer {
        flex-shrink: 0;
        border-top: 2px solid var(--main-color);
        background: var(--white);
        padding: 1rem;
        text-align: center;
    }

    div.copyright {
        border-top: 2px solid silver;
    }

    a.footer-link {
        font-size: large;
        color: var(--light-grey);
    }
    a.footer-link:hover,
    a.footer-link:focus {
        color: var(--black);
    }

/* Main page section */
    h1 {
        margin-bottom: 40px;
    }

    table.checkform {
        border-collapse: separate;
        border-spacing: 5px 3px;
        margin-left: 40px;
        width: 70%;
    }

    table.checkform td {
        vertical-align: text-top;
    }

    .form-label {
        width:50%;
    }

    .hidden {
        display: none;
        }

    /* Hovarable bullet point to display help for the user */
    .info-tag {
        color: var(--main-color);
        opacity: 0.4;
    }

    /* Not used yet but might be useful */
    .warning-tag {
        color: var(--warning);
    }


/* Status messages after form actions */
    .error-msg {
        font-size: large;
        color: var(--error);
    }
    .error-details {
        font-size: small;
    }

    .success-msg {
        font-size: large;
        color: var(--success);
    }

/* Orange button like area */
    .button-1 {
    background-color: var(--main-color);
    border-radius: 8px;
    border-style: none;
    box-sizing: border-box;
    color: #FFFFFF;
    cursor: pointer;
    display: inline-block;
    font-family: "Haas Grot Text R Web", "Helvetica Neue", Helvetica, Arial, sans-serif;
    font-size: 14px;
    font-weight: 500;
    height: 40px;
    line-height: 20px;
    list-style: none;
    margin: 10px;
    outline: none;
    padding: 10px 16px;
    position: relative;
    text-align: center;
    text-decoration: none;
    transition: color 100ms;
    vertical-align: middle;
    user-select: none;
    -webkit-user-select: none;
    touch-action: manipulation;
    width:300px;
    left: 0%;
    }

    .button-1:disabled {
        background-color: var(--grey);
    }

/* Spinner styles */
    .spinner-icon {
        border: 2px solid rgba(0, 0, 0, 0.1);
        border-left-color: var(--main-color);
        border-radius: 50%;
        width: 25px;
        height: 25px;
        animation: spin 1s linear infinite;
    }

    @keyframes spin {
        0% {
            transform: rotate(0deg);
        }
        100% {
            transform: rotate(360deg);
        }
    }
    
    input:invalid {
        background-color: lightpink;
    }

/** Select feature**/
.select_feature {
    border: none;
    padding: 20px 34px;
    text-align: left;
    text-decoration: none;
    display: inline-block;
    margin: 4px 2px;
    cursor: pointer;
}

/** Input **/
.input-pathgen {
    width: 100%;
    padding-left: 6px;
}


/** Colors **/
.light-grey {
    color: var(--light-grey);
}

/** Display **/
.d-flex {
    display: flex;
}

/** Position **/
.p-sticky {
    position: sticky;
}

/** Top **/
.top-0 {
    top: 0;
}

/** Padding **/
.pt-1 {
    padding-top: 1rem;
}
.pb-1 {
    padding-bottom: 1rem;
}
.pl-3 {
    padding-left: 3rem;
}
.pr-3 {
    padding-right: 3rem;
}
.p-3px {
    padding: 3px;
}
.pl-6px {
    padding-left: 6px;
}
.p-10px {
    padding: 10px;
}

/** Margin **/
.m-0 {
    margin:0;
}
.ml-0 {
    margin-left: 0;
}
.mb-0 {
    margin-bottom: 0;
}
.mr-1 {
    margin-right: 1rem;
}
.ml-1 {
    margin-left: 1rem;
}
.mt-1 {
    margin-top: 1rem;
}
.mb-2 {
    margin-bottom: 2rem;
}
.mt-2 {
    margin-top: 2rem;
}
.ml-2 {
    margin-left: 2rem;
}
.mr-2 {
    margin-right: 2rem;
}
.ml-3 {
    margin-left: 3rem;
}
.mr-3 {
    margin-right: 3rem;
}
.mb-3 {
    margin-bottom: 3rem;
}
.ml-auto {
    margin-left: auto;
}

/** Width **/
.w-100 {
    width: 100%;
}
.w-50 {
    width: 50%;
}
.w-min-content {
    width: min-content;
}
.w-1rem {
    width: 1rem;
}

/** Heigth **/
.h-100 {
    height: 100%;
}

.h-80vh {
    height: 80vh;
}

.h-65vh {
    height: 65vh;
}

.maxh-65vh {
    max-height: 65vh;
}


/** Align **/
.align-items-center {
    align-items: center;
}

/** Justify **/
.justify-content-flex-end {
    justify-content: flex-end;
}
.justify-content-center {
    justify-content: center;
}

/** Overflow **/
.overflow-y-auto {
    overflow-y: auto;
}

/** Scrollbar **/
/* For Chrome, Safari and Opera */
.hide-scrollbar::-webkit-scrollbar {
    width: 0px;
    background: transparent;
}

/* For Firefox */
.hide-scrollbar {
    scrollbar-width: none; 
    -ms-overflow-style: none; 
}

/** Font-size **/
.fs-small {
    font-size: small;
}

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

.flex-1 {
    flex: 1;
}
