/* Global CSS */
.mvw-66 {
    max-width: 66vw;
}

hr {
    display: block;
    height: 0px;
    border: 0;
    width: 30px;
    border-top: 5px solid;
    margin: 1em auto;
    padding: 0; }

a.button {
    -webkit-appearance: button;
    -moz-appearance: button;
    appearance: button;

    text-decoration: none;
}

#back_to_top {
    display: none;
    right: 1vmax;
    bottom: 1vmax;
    z-index: 100;
}

.navbar-toggler-icon {
    background-image: url("data:image/svg+xml;charset=utf8,%3Csvg viewBox='0 0 32 32' xmlns='http://www.w3.org/2000/svg'%3E%3Cpath stroke='rgba(248,102,36,0.8)' stroke-width='2' stroke-linecap='round' stroke-miterlimit='10' d='M4 8h24M4 16h24M4 24h24'/%3E%3C/svg%3E") !important;
}

.navbar-toggler {
    border-color: rgba(248,102,36, 0.5) !important;
}

input[type="date"]::-webkit-clear-button {
    display: none;
    -webkit-appearance: none;
}

input[type="date"]::-webkit-inner-spin-button {
    -webkit-appearance: none;
    display: none;
}

input[type=number]::-webkit-inner-spin-button,
input[type=number]::-webkit-outer-spin-button {
    -webkit-appearance: none;
    margin: 0;
}

/* Stars CSS */
.rating:not(:checked) > input {
    display: none;
    position:absolute;
    top:-9999px;
    clip:rect(0, 0, 0, 0);
}

.rating:not(:checked) > label {
    float: right;
    cursor: pointer;
    color: #ddd;
    margin-bottom: 0;
}

.rating > input:checked ~ label {
    color: #f70;
}

.rating:not(:checked) > label:hover, .rating:not(:checked) > label:hover ~ label {
    color: gold;
}

.rating > input:checked + label:hover, .rating > input:checked + label:hover ~ label, .rating > input:checked ~ label:hover, .rating > input:checked ~ label:hover ~ label, .rating > label:hover ~ input:checked ~ label {
    color: #ea0;
}

.rating > label:active {
    position:relative;
}

/* Greet CSS */
#greet {
    text-shadow: 0 0 10px #000;
    position: relative;
    background-size: 100vmax;
    background-repeat: no-repeat;
    height: 40vmax;
    background-position: center;
    -webkit-transition: background 1s ease-in-out;
    transition: background 1s ease-in-out;
    z-index: 0; }

#greet:after {
    content: '';
    position: absolute;
    left: 0;
    top: 0;
    width: 100%;
    height: 100%;
    background: #FFFFFF;
    opacity: 1;
    z-index: -1;
    -webkit-transition: opacity 1s;
    transition: opacity 1s; }

#greet.opacity0:after {
    opacity: 0; }

#greet.opacity0.hideafter:after {
    display: none; }

#greet h1 div.image-container {
    max-width: 350px;
}

#landing-trio .col {
    border-width: 2px !important;
}

/* Profile */
#profile-greet {
    text-shadow: 0 0 10px #000;
    position: relative;
    background-size: 100vmax;
    background-repeat: no-repeat;
    height: 40vmax;
    background-position: center;
    -webkit-transition: background 1s ease-in-out;
    transition: background 1s ease-in-out;
    z-index: 0; }

#profile-greet:after {
    content: '';
    position: absolute;
    left: 0;
    top: 0;
    width: 100%;
    height: 100%;
    background: #FFFFFF;
    opacity: 1;
    z-index: -1;
    -webkit-transition: opacity 1s;
    transition: opacity 1s; }

#profile-greet.opacity0:after {
    opacity: 0; }

#profile-greet.opacity0.hideafter:after {
    display: none; }

#mobile-greet h4 {
    font-size: 1.75rem;
}

#table .position-fixed.w-100 {
    z-index: 1100;
    top:0;
    left: 0;
    pointer-events: none;
}

#table form div.position-fixed.w-100.modal-container {
    top: 50%;
    left: 0;
    transform: translate(0, -50%);
}

#table .position-fixed.w-100 .alert {
    pointer-events: auto;
}

#table .date-overflow-fix {
    max-width: calc(50% - 0.5rem - 3.2px); /* 50% of parent, 0.5rem is one side of px-2 from '-', 3.2px is half of '-' width */
}

#table .stars-container {
    flex-basis: 50%;
}