.alert {
    padding: 20px;
    background-color: #f44336;
    color: white;
}

.alert.success {
    background-color: #04AA6D;
}

.closebtn {
    margin-left: 15px;
    color: white;
    font-weight: bold;
    float: right;
    font-size: 22px;
    line-height: 20px;
    cursor: pointer;
    transition: 0.3s;
}

.closebtn:hover {
    color: black;
}

{
    box-sizing: border-box
;
}

/* Button used to open the contact form - fixed at the bottom of the page */
.open-button {
    background-color: #555;
    color: white;
    padding: 16px 20px;
    border: none;
    cursor: pointer;
    opacity: 0.8;
    position: fixed;
    bottom: 23px;
    right: 28px;
    width: 280px;
}

/* The popup form - hidden by default */
.form-popup {
    display: none;
    position: fixed;
    width: 100%;
    height: 100%;
    background-color: rgba(0, 0, 0, 0.5);
    border: 3px solid #f1f1f1;
    top: 0;
    left: 0;
}

/* Add styles to the form container */
.form-popup-container {
    max-width: 300px;
    padding: 10px;
    background-color: white;
    position: fixed;
    top: 50%;
    left: 50%;
    transform: translateX(-50%) translateY(-50%);
}

.form-popup-container h1 {
    text-align: center;
}

.form-popup-container input[type=text], .form-popup-container input[type=file] {
    width: 100%;
    padding: 15px;
    margin: 5px 0 22px 0;
}

/* When the inputs get focus, do something */
.form-popup-container input[type=text]:focus {
    background-color: #ddd;
    outline: none;
}

.form-popup-container select {
    width: 100%;
    padding: 15px;
    margin: 5px 0 22px 0;
}

.form-popup-container select:focus {
    background-color: #ddd;
    outline: none;
}

/* Set a style for the submit/login button */
.form-popup-container .btn {
    background-color: #04AA6D;
    color: white;
    padding: 16px 20px;
    border: none;
    cursor: pointer;
    width: 100%;
    margin-bottom: 10px;
    opacity: 0.8;
}

/* Add a red background color to the cancel button */
.form-popup-container .cancel {
    background-color: red;
}

/* Add some hover effects to buttons */
.form-popup-container .btn:hover, .open-button:hover {
    opacity: 1;
}

/*loading button*/
.loading-btn .button-text {
    visibility: hidden;
    opacity: 0;
}

.loading-btn::after {
    content: "";
    position: absolute;
    width: 16px;
    height: 16px;
    left: 0;
    right: 0;
    margin: auto;
    border: 4px solid transparent;
    border-top-color: #ffffff;
    border-radius: 50%;
    animation: button-loading-spinner 1s ease infinite;
}

@keyframes button-loading-spinner {
    from {
        transform: rotate(0turn);
    }

    to {
        transform: rotate(1turn);
    }
}
#import-form-error {
    color: red;
    margin-top: 0px;
}

#newInputFormRow {
    display: flex;
    width: 100%;
    margin-left: 5px;
    margin-right: 5px;
    margin-top: 5px;
    align-items: center;
}

#newRowInput {
    border: 1px solid black;
    margin-top: 5px;
    border-radius: 5px;
    color: black;
    flex: 12;
}

#addRow {
    width: fit-content;
    margin: 5px;
    background-color: green;
    color: white;
    border-width: 0px;
    padding: 10px 10px;
    font-size: 15px;
}

#removeRow {
    width: fit-content;
    flex: 1;
    margin-left: 5px; /* width: 20px; */
    color: #ffffff;
    background-color: #4e4848 !important;
    height: max-content;
    border-width: 0px;
    padding: 10px 10px;
    font-size: 15px;
}

#submitSearch {
    width: fit-content;
    color: #ffffff;
    background-color: #A71F2A !important;
    border-width: 0px;
    padding: 10px 10px;
    font-size: 15px;
}