.title:not(:last-child) {
    margin-bottom: 1.5rem;
}

body,
h1,
h2 {
    margin: 0;
    padding: 0;
}

h1,
h2 {
    font-weight: 400;
}

*,
::after,
::before {
    box-sizing: inherit;
}

section {
    display: block;
}

body {
    font-family: BlinkMacSystemFont, -apple-system, "Segoe UI", Roboto, Oxygen, Ubuntu, Cantarell, "Fira Sans", "Droid Sans", "Helvetica Neue", Helvetica, Arial, sans-serif;
    color: #1B4F72;
    font-size: 1rem;
    font-weight: 400;
    line-height: 1.5;
}

a {
    color: #fff;
    cursor: pointer;
    text-decoration: none;
    margin: 10px;
    padding: 5px;
    display: block;
}

a:hover {
    color: #2874A6;
}

.has-text-centered {
    text-align: center !important;
}

.container {
    margin: 0 auto;
    position: relative;
    max-width: 100%;
    min-width: 300px;
    width: 1000px;
}

.navbar {
    background-color: #e6faff;
    position: fixed;
    z-index: 30;
    top: 0;
    left: 0;
    width: 100%;
    padding: 0;
    align-content: center;
    box-shadow: 0 4px 8px 0 rgba(0, 0, 0, 0.2), 0 6px 20px 0 rgba(0, 0, 0, 0.19);
}

.navbar a {
    color: #1B4F72;
    display: block;
    font-size: 1.5em;
    padding: 0;
    position: relative;
    flex-grow: 0;
    flex-shrink: 0;
    opacity: 0.8;
}

.navbar a:hover {
    opacity: 1;
}


a.navbar-item {
    cursor: pointer;
}

a.navbar-item:hover {
    background-color: #5DADE2;
    color: #1B4F72;
}

.navbar,
.navbar-end {
    align-items: stretch;
    display: flex;
    justify-content: space-evenly;
}

.navbar-menu {
    align-items: stretch;
    display: flex;
    justify-content: space-between;
    padding: 0 10px;
}

.hero {
    align-items: stretch;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
}

.hero.is-primary {
    color: #1B4F72;
}

.hero.is-primary a:not(.button):not(.dropdown-item):not(.tag) {
    color: inherit;
}

.hero.is-primary .title {
    color: #fff;
}

.hero.is-primary .subtitle {
    color: rgba(255, 255, 255, .9);
}

.hero.is-primary .navbar-item {
    color: #1B4F72;
}

.hero.is-primary a.navbar-item:hover {
    background-color: #5DADE2;
}

.hero.is-fullheight .hero-body {
    align-items: center;
    display: flex;
    padding-top: 56px;
}

.hero.is-fullheight {
    min-height: 100vh;
}

.hero-head {
    flex-grow: 0;
    flex-shrink: 0;
}

.hero-body {
    flex-grow: 1;
    flex-shrink: 0;
}

button {
    color: white;
    background-color: #111111;
    padding: 5px;
    margin: 10px;
    border-radius: 5px;
    border: 2px solid white;
}

.icon-button {
    border-radius: 5px;
    border: 1px solid #1B4F72;
    background-color: #1B4F72;
    color: white;
    padding: 5px 10px;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1rem;
    min-width: 60px;
    box-shadow: 0 4px 8px 0 rgba(0, 0, 0, 0.2), 0 6px 20px 0 rgba(0, 0, 0, 0.19);
    transition: all 0.2s;
    opacity: 0.8;
}

.icon-button:hover {
    opacity: 1;
}

.icon-button.danger {
    background-color: #e74c3c;
    border-color: #e74c3c;
}


/* Shared Form Styles */
.form-group {
    position: relative;
    display: flex;
    justify-content: center;
    align-items: center;
    padding: 10px 0;
    margin: 5px;
}

.icon-label {
    position: absolute;
    left: 15px;
    top: 50%;
    transform: translateY(-50%);
    color: #00a2ac;
    font-size: 1.2rem;
    z-index: 5;
    pointer-events: none;
    width: 30px;
    text-align: center;
}

.form-control {
    width: 100%;
    padding: 12px 15px 12px 55px !important;
    border: 2px solid #cae6e9;
    border-radius: 8px;
    font-size: 1rem;
    transition: border-color 0.2s;
    background-color: white;
    color: #1B4F72;
    box-sizing: border-box;
    display: block;
}

.form-control:focus {
    outline: none;
    border-color: #00a2ac;
    background-color: #f0f9fa;
}

.text-center {
    text-align: center;
}

.mt-4 {
    margin-top: 2rem;
}

.inline {
    margin: 10px 0;
    display: block;
    padding: 0;
}

.inline input,
.inline select {
    width: 40%;
    padding: 2px;
    margin: 5px;
    border-radius: 5px;
    display: inline-block;
}

.inline button {
    display: inline-block;
    margin: 5px;
}

.inline label {
    display: inline-block;
    width: 40%;
    text-align: right;
}

.inline input {
    border-bottom: 1px solid black;
}

.limited {
    max-width: 600px;
    margin: 0 auto;
}

table {
    color: #1B4F72;
    text-align: left;
    width: 100%;
    margin: 0;
    border-collapse: collapse;
}

form button {
    box-shadow: 0 4px 8px 0 rgba(0, 0, 0, 0.2), 0 6px 20px 0 rgba(0, 0, 0, 0.19);
}

caption {
    font-size: 1.6em;
    font-weight: 400;
}

td:nth-child(1),
th:nth-child(1) {
    width: 1%;
    white-space: nowrap;
}

tr:nth-child(odd) {
    background-color: #e6faff;
}

tr:nth-child(even),
th {
    background-color: #ccf5ff;
}

th {
    text-align: center;
}

td span:not(:first-child) {
    border-left: 1px solid black;

}

td span {
    padding-left: 5px;
    padding-right: 5px;
}

.time_select {
    display: inline-block;
}

.time_select select {
    width: 5rem;
    font-size: 1em;
    border: none;
    border-radius: 0.5em;
}

/* Loading Bar */
.loading-bar {
    position: fixed;
    bottom: 0;
    left: 0;
    width: 100%;
    height: 10px;
    background-color: #1B4F72;
    z-index: 2000;
    overflow: hidden;
}

.loading-bar::after {
    content: '';
    display: block;
    width: 40%;
    height: 100%;
    background-color: white;
    position: absolute;
    left: -40%;
    animation: loading-slide 1.5s infinite linear;
}

@keyframes loading-slide {
    0% {
        left: -40%;
    }

    100% {
        left: 100%;
    }
}