html {
    scroll-behavior: auto !important;
}

body {
    font-family: Rawson, serif;
    background-color: black;
}

/* Tables */

table {
    background-color: #272727;
    color: white !important;
    border: #989898 !important;
    width: 65% !important;
}

.table-th {
    font-family: RawsonSemiBold;
    font-size: 1.2rem;
}

.borderless-cell {
    background-color: black !important;
    border: 1px solid black !important;
}

@font-face {
    font-family: Rawson;
    src: url("../css/font/Rawson-Regular.otf") format("opentype");
}

@font-face {
    font-family: RawsonSemiBold;
    src: url("../../../font/Rawson-SemiBold.otf") format("opentype");
}

@font-face {
    font-family: RawsonMedium;
    src: url("../../../font/Rawson-Medium.otf") format("opentype");
}

a {
    color: transparent;
}

a:hover {
    color: transparent;
}

header {
    padding-top: 1rem;
    padding-bottom: 1rem;
}

.line {
    background-color: #989898 !important;
}

.link {
    color: white;
}

.link:hover {
    color: #5eb5e0;
}

/* Stepper CSS */

.completed {
    background-color: #00A6E2 !important;
}

.uncompleted {
    background-color: #989898 !important;;
}

.completed-title {
    color: #00A6E2 !important;
}

.uncompleted-title {
    color: #989898 !important;
}

.half-line {
    max-width: 5rem;
}

.quarter-line {
    max-width: 2.5rem;
}

.main-circle {
    width: 1rem;
    height: 1rem;
}

.secondary-circle {
    width: 0.5rem;
    height: 0.5rem;
    padding: 0;
}

.bs-stepper-circle {
    background-color: #989898;
}

.bs-stepper-label {
    font-family: RawsonMedium;
    font-size: 1.1rem;
    color: #989898;
    position: absolute;
    margin-bottom: 3.5rem;
}

.step-active {
    background-color: #5eb5e0;
    color: white;
}

.bs-stepper-label {
    color: #989898;
}

#stepper {
    width: 80%;
    margin-right: auto;
    margin-left: auto;
}

/* Flashes */

.flash-success {
    text-align: center;
    font-family: 'RawsonMedium';
    background-color: #009900;
    color: white;
    font-weight: bold;
    padding-top: 0.6rem;
    padding-bottom: 0.6rem;
    position: absolute;
    width: 100%;
    top: 0;
}

.flash-error {
    text-align: center;
    font-family: 'RawsonMedium';
    background-color: #6a1a21;
    color: white;
    font-weight: bold;
    padding-top: 0.6rem;
    padding-bottom: 0.6rem;
    position: absolute;
    width: 100%;
    top: 0;
}

/* Cards */

#main-card-body {
    padding-bottom: 2rem;
}

.content-card {
    background-color: #272727;
    color:white;
}

/* Symfony error messages on form */
.content-card ul li {
    color:red;
    margin-bottom: -1.5rem;
    margin-left: -2rem;
    font-size: 0.9rem;
}

#btn-menu {
    margin-left: 1rem;
    position: absolute;
}

/* Form buttons */

.edit-btn {
    cursor:pointer;
}

.submit-form-btn {
    background-color: #5A5A5A;
    color: white;
    border: solid 2px #5A5A5A;
    font-family: RawsonSemiBold;
    font-size: 1rem;
    width: 100%;
    margin-top: 1rem;
}

.cancel-form-btn {
    background-color: black;
    color: #989898;
    border: solid 2px #989898;
    font-family: RawsonMedium;
    font-size: 1rem;
    width: 100%;
    margin-top: 1rem;
}

.submit-form-btn:hover {
    color:white;
    background-color: #00A6E2;
    border-color: #00A6E2;
}

.cancel-form-btn:hover {
    color:white;
    border-color: white;
}

ul {
    list-style: none;
}

li {
    color: white;
}

h1 {
    font-family: RawsonSemiBold;
    color: white;
    font-size: 3.4rem;
}

h2 {
    font-family: RawsonMedium;
    color: white;
    font-size: 2.8rem;
}

h3 {
    font-family: RawsonSemiBold;
    color: #989898;
    font-size: 1.6rem;
}

h4 {
    font-family: RawsonMedium;
    color: white;
    font-size: 1.6rem;
}

.accent {
    font-family: RawsonSemiBold;
    font-size: 1rem;
    color: #989898
}

p {
    font-family: RawsonMedium;
    color: #989898;
    font-size: 1rem;
}


.flags {
    position: absolute;
    top: 1rem;
    left: 1rem;
}

/* Back & Next buttons */

.backnextbuttons button {
    padding: 0.5rem 2rem;
    border-radius: 0.6rem;
}

.back-btn {
    margin-top: 2rem !important;
    margin-bottom: 2rem;
    background-color: #00A6E2;
    color: white;
    margin-left: 12rem;;
}

.next-btn {
    margin-top: 2rem !important;
    margin-bottom: 2rem;
    background-color: #00A6E2;
    color: white;
    position: absolute;
    right: 10%;
}

.back-btn:hover {
    color: white;
    background-color: #007EAC;
}

.next-btn:hover {
    color: white;
    background-color: #007EAC;
}

#logo-stormaudio {
    display: block;
    margin-left: auto;
    margin-right: auto;
}

.form-submit {
    font-size: 1rem;
    margin-bottom: 1rem;
    margin-right: 1rem;
}

.nav-crumb {
    color: white;
}

@media (max-width: 1000px) {

    header {
        margin-bottom: 1rem;
    }

    #nav-big {
        display: none;
    }

    #nav-small {
        display: block;
    }

    #login-card {
        padding-bottom: 5rem;
    }

    #login-card form {
        margin-left: 1rem;
    }

}

/* Styles Responsive Base */

@media (max-width: 1200px) {
    .back-btn {
        margin-left: 9rem;
    }
}

    @media (max-width: 1200px) and (min-width: 992px) {
        .back-btn {
            margin-left: 6rem;
        }
    
        .mobile-table {
            display: none;
        }
    }

@media (max-width: 991px) {
    .back-btn {
        margin-left: 2rem;
    }

    .card-title {
        top: 4%;
    }

    #stepper {
        display: none;
    }

    .big-table {
        display: none;
    }
}

@media (min-width: 1200px) {
    .mobile-table {
        display: none;
    }
}

/* Test Styles */

#test-title {
    top: 7%;
}

.ISPImgBack {
    display: block;
    margin-left: auto;
    margin-right: auto;
}

#dialog-form {
    width: 50%;
    position: absolute;
    margin-left: auto;
    margin-right: auto;
    top: 15%;
    left: 25%;
    display: none;
}

map area {
    cursor: pointer;
}

.highlightLine {
    animation: fadeOut 3s forwards;
}

.test-text {
    margin-left: 3rem;
}

@keyframes fadeOut {
    0% {background-color: transparent;}
    50% {background-color: #83e293;}
    100% {background-color: transparent;}
}
