html {
    font-family: "Nunito", sans-serif;
    font-optical-sizing: auto;
    font-style: normal;
}

html.frontend {
    background: rgb(3, 65, 78);
    background: linear-gradient(180deg, rgba(3, 65, 78, 1) 0%, rgba(57, 3, 78, 1) 100%);
    min-height: 100vh;
}

body.frontend-theme {
    background: none;
}

main > .container {
    padding: 5rem 15px 2rem;
}

.frontend-theme main > .container {
    padding: 0 15px 2rem;
}

.logo {
    text-align: center;
    margin: 2rem 0;
}

.logo img {
    width: 250px!important;
    height: auto!important;
    display: inline-block;
}

.cover-container {
    padding: 0 0 1rem;
    margin: 1rem 0 3rem;
    color: #fff;
}

.cover-container .desc {
    max-width: 768px;
    margin: 0 auto;
}

.policy {
    display: inline-block;
    margin-top: 1rem;
    width: 100%;
    text-align: right;
}

h2.header-title {
    margin: 1rem 0 3rem;
    text-align: center;
}

.frontend-theme  img {
    width: 100%;
    height: auto;
}

.ticket-list {
    margin: 0 -1rem -2rem -1rem;
}

.flex-row {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
}

.flex-row.vertical {
    flex-direction: column!important;
}

.flex-row .item {
    background: #fff;
    margin: 0 1rem 3rem 1rem;
    flex: 0 1 calc((100% - 6rem)/3);
}

.flex-row .item .name {
    text-align: center;
    font-size: 1.3rem;
    margin: 1rem 0;
    height: calc(2*1.3rem*1.2);
    line-height: 1.2;
    padding: 0 15px;
    display: flex;
    align-items: center;
    justify-content: center;
}

.flex-row .item .thumb {
    margin-bottom: 1.5rem;
}

.flex-row .item.disabled .thumb {
    filter: saturate(0);
}

.flex-row .item .date {
    text-align: center;
    text-transform: uppercase;
    font-weight: bold;
}

.flex-row .item .button-field {
    padding: 1.5rem 0;
    text-align: center;
}

.flex-row .item .button-field .button {
    display: inline-block;
    padding: 0.75rem 2rem;
    background: #cf0e3d;
    color: #fff;
    border: 1px solid #cf0e3d;
    text-transform: uppercase;
    cursor: pointer;
    transition: all 0.3s;
}

.flex-row .item .button-field .button:hover {
    background: #fff;
    color: #cf0e3d;
}

.flex-row .item.disabled .button-field .button {
    background: #585858!important;
    color: #fff!important;
    border: 1px solid #585858;
    cursor: default;
}

.flex-row .item .free {
    text-align: center;
    font-size: 0.8rem;
    margin-bottom: 1rem;
}

.frontend-theme  .footer {
    background-color: #f5f5f5;
    font-size: .9em;
    height: 60px;
}

.frontend-theme  .footer > .container {
    padding-right: 15px;
    padding-left: 15px;
}

.not-set {
    color: #c55;
    font-style: italic;
}

/* add sorting icons to gridview sort links */
a.asc:after, a.desc:after {
    content: '';
    left: 3px;
    display: inline-block;
    width: 0;
    height: 0;
    border: solid 5px transparent;
    margin: 4px 4px 2px 4px;
    background: transparent;
}

a.asc:after {
    border-bottom: solid 7px #212529;
    border-top-width: 0;
}

a.desc:after {
    border-top: solid 7px #212529;
    border-bottom-width: 0;
}

.grid-view th {
    white-space: nowrap;
}

.hint-block {
    display: block;
    margin-top: 5px;
    color: #999;
}

.error-summary {
    color: #a94442;
    background: #fdf7f7;
    border-left: 3px solid #eed3d7;
    padding: 10px 20px;
    margin: 0 0 15px 0;
}

/* align the logout "link" (button in form) of the navbar */
.nav li > form > button.logout {
    padding-top: 7px;
    color: rgba(255, 255, 255, 0.5);
}

@media (max-width:767px) {
    .nav li > form > button.logout {
        display:block;
        text-align: left;
        width: 100%;
        padding: 10px 0;
    }

    .flex-row .item {
        margin: 0 1rem 4rem 1rem;
        flex: 0 1 100%;
    }

}

.nav > li > form > button.logout:focus,
.nav > li > form > button.logout:hover {
    text-decoration: none;
    color: rgba(255, 255, 255, 0.75);
}

.nav > li > form > button.logout:focus {
    outline: none;
}
