@import url("https://use.typekit.net/nde1ees.css");

@keyframes slide-down {
    0% {
        top: -4rem;
    }

    25% {
        top: 2rem;
    }

    75% {
        top: 2rem;
    }

    100% {
        top: -4rem;
    }
}

@keyframes slide-up {
    0% {
        bottom: 0;
        opacity: 0;
    }

    25% {
        opacity: 1;
    }

    100% {
        bottom: calc(100% - 35px);
        opacity: 0;
    }
}

html {
    display: flex;
    min-height: 100%;
    font-size: 10px;
}

body {
    flex: 1;
    width: 100%;
    margin: 0;
    font-family: korolev, sans-serif;
    font-size: 1.5rem;
    background: white;
    color: black;
}
*.hidden {
    display: none !important;
}

.flex-2 {
    flex: 2 !important;
}

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

.w-100 {
    width: 100%;
}

.w-90 {
    width: 90%;
}

.w-80 {
    width: 80%;
}

.w-50 {
    width: 50%;
}

.w-30 {
    width: 30%;
}

.txt-black {
    color: #000 !important;
}

.bg-black {
    background-color: var(--rosso);

}

.bg-white {
    background-color: white;

}

.bg-grey {
    background-color: #ededed;

}

.pad-1 {
    padding: 1rem;
}

.pad-bot-0 {
    padding-bottom: 0 !important;
}

.heading {
    margin-top: 0;
    color: #fff;
    font-size: 3.5rem;
    font-weight: 700;
}

.title-home {
    font-size: 5.5rem !important;    
    margin-bottom: 2rem ! important;
}
.subtitle-home {
    font-size: 3rem !important;    
    margin-bottom: 1.5rem ! important;
}

.sub-heading {
    color: black;
    font-size: 2.2rem;
    font-weight: 700;
}

.sub-heading a{
    color: black;
}

.nome-team {
    color: black;
    font-size: 1.9rem;
    font-weight: 700;
    font-style: italic;
}

.label {
    display: block;
    margin: 1.5rem 0;
    font-weight: 700;
    cursor: pointer;
}

.input {
    display: block;
    box-sizing: border-box;
    width: 100%;
    padding: 1rem;
    margin-bottom: 1rem;
    border: none;
    border-bottom: 2px solid #a5a5a5;
    outline: none;
    background-color: #ededed;
    font-family: Arial, sans-serif;
    font-size: 1.5rem;
    resize: none;
    transition-property: border-color;
    transition-duration: 0.25s;
}

.input:focus {
    border-bottom: 2px solid black;
}

.input[type="date"],
.input[type="time"],
select.input {
    height: 39px;
}

.input::file-selector-button {
    padding: 1rem;
    margin-right: 1rem;
    border: none;
    border-radius: 0.5rem;
    color: white;
    background-color: black;
}

.input-disabled {
    background-color: #dbdbdb;
    cursor: not-allowed;
}

.anchor {
    color: black;
}

.error {
    color: red;
    font-weight: 700;
}

.success {
    color: green;
    font-weight: 700;
}

.button {
    display: flex;
    align-items: center;
    padding: 1rem;
    margin: 1rem 1rem 1rem 0;
    width: max-content;
    height: max-content;
    border: none;
    border-radius: 0.5rem;
    color: black;
    background-color: #ededed;
    font-family: Arial, sans-serif;
    font-size: 1.5rem;
    font-weight: 700;
    text-decoration: none;
    cursor: pointer;
    transition-property: background-color;
    transition-duration: 0.25s;
}

.button:hover {
    background-color: #dbdbdb;
}

.button .material-icons {
    margin-right: 0.5rem;
}

.row {
    display: flex;
    align-items: center;
    height: max-content;
}

.row-top {
    display: flex;
    height: max-content;
}

.column {
    flex: 1;
}

.column:not(.column:last-child) {
    padding-right: 1rem;
}

.container {
    box-sizing: border-box;
    width: 100rem;
    max-width: 100%;
    padding: 1rem;
    margin: auto;
}

.container-fluid {
    box-sizing: border-box;
    width: 100%;
    padding: 1rem;
    margin: auto;
}

.navbar {
    position: sticky;
    top: 0;
    left: 0;
    z-index: 22;
    color: white;
    background-color: var(--main-color);
}

.navbar-neg {
    color: black;
    background-color: white;
}

.navbar .row {
    justify-content: right;
}

.navbar-neg .navbar-item {
    color: black;
}

.navbar-item {
    position: relative;
    display: block;
    padding: 1rem;
    border-radius: 0.5rem;
    color: white;
    font-weight: 700;
    text-decoration: none;
    transition-property: background-color;
    transition-duration: 0.25s;
    cursor: pointer;
    -webkit-user-select: none;
    user-select: none;
}

.navbar-item .material-icons {
    transform: rotate(0);
    transition-property: transform;
    transition-duration: 0.5s;
}

.navbar-item:not(.navbar-item:last-child) {
    margin-right: 0.5rem;
}

.navbar-item:hover,
.navbar-item-active {
    background-color: #e01f26;
}

.navbar-item:hover .navbar-item-dropdown {
    display: block;
}

.navbar-item:hover .material-icons {
    transform: rotate(180deg);
}

.navbar-item-heading {
    display: flex;
    align-items: center;
}

.navbar-item-dropdown {
    position: absolute;
    top: 4rem;
    left: 0;
    display: none;
    padding: 1rem;
    border-radius: 0.5rem;
    background-color: white;
    box-shadow: 0 0 1rem #c9c9c9;
}

.navbar-item-dropdown .dropdown-item {
    position: relative;
    display: block;
    padding: 1rem;
    border-radius: 0.5rem;
    color: black;
    font-weight: 700;
    text-decoration: none;
    transition-property: background-color;
    transition-duration: 0.25s;
    -webkit-user-select: none;
    user-select: none;
}

.navbar-item-dropdown .dropdown-item:hover {
    background-color: #ededed;
}
/*
.navbar-logo {
    position: absolute;
    top: 2%;
    left: 3%;
    height: 180%;
}
    */
.navbar-logo{
    display: flex;
    align-items: center;
    height: max-content;
    margin-right: auto;
    color: white;
    text-decoration: none;
}
.navbar-logo img {
    width: 30%;
    margin: .25rem;
}

.page {
    padding-top: 2.5rem;
    padding-bottom: 2.5rem;
}

.checkbox-container:not(.checkbox-container:last-child) {
    margin-right: 2.5rem;
}

.checkbox {
    position: relative;
    display: flex;
    width: 2.5rem;
    height: 2.5rem;
    margin-right: 1rem;
    border: none;
    border-bottom: 2px solid #a5a5a5;
    background-color: #ededed;
    cursor: pointer;
    -webkit-user-select: none;
    user-select: none;
    transition-property: border-color;
    transition-duration: 0.25s;
}

.checkbox input {
    position: absolute;
    top: 0;
    left: 0;
    width: 1px;
    height: 1px;
    opacity: 0;
}

.checkbox span {
    margin: auto;
    color: #ededed;
    transition-property: color;
    transition-duration: 0.25s;
}

.break {
    width: 75rem;
    max-width: 100%;
    margin: 2.5rem auto;
    border: 1px solid black;
    color: black;
}

.tab {
    padding: 1rem;
    text-align: center;
    cursor: pointer;
    -webkit-user-select: none;
    user-select: none;
    transition-property: background-color;
    transition-duration: 0.25s;
    color: #FFF;
    font-weight: 700;
}

.tab:not(.tab-active):hover {
    background-color: #ededed;
}

.tab-active {
    background-color: #dbdbdb;
    font-weight: 700;
    color: #000;
}

.table-container {
    overflow: auto;
}

.table {
    width: 98rem;
    margin: 2.5rem 0;
    border-collapse: collapse;
    text-align: center;
}

.table caption {
    margin-bottom: 1rem;
    text-align: left;
}

.table th,
.table td {
    padding: 1rem;
}

.table thead tr {
    background-color: #dbdbdb;
}

.table tbody tr:nth-child(even) {
    background-color: #ededed;
}

.table tbody tr:nth-child(odd) {
    background-color: white;
}

.table a {
    color: black;
}

.td-risultato {
    font-size: 2rem;
    font-weight: 700;
}

.streaming {
    display: flex;
    align-items: center;
    height: max-content;
    padding: 1rem;
    margin-bottom: 1rem;
    border-radius: 0.5rem;
    color: black;
    text-decoration: none;
    transition-property: background-color;
    transition-duration: 0.25s;
}

.streaming:hover {
    background-color: #ededed;
}

.streaming .material-icons {
    margin-left: auto;
}

.question {
    display: flex;
    height: max-content;
    margin: 2.5rem 0;
}

.emoji {
    padding: 1rem;
    border: 2px solid #dbdbdb;
    border-radius: 0.5rem;
    background-color: #ededed;
    font-size: 2.5rem;
    cursor: pointer;
    -webkit-user-select: none;
    user-select: none;
}

.emoji:not(.emoji:last-child) {
    margin-right: 1rem;
}

.emoji:hover {
    background-color: #dbdbdb;
}

.emoji.disabled {
    opacity: 0.5;
    cursor: not-allowed;
}

.emoji.disabled:hover {
    background-color: #ededed;
}

.reaction {
    position: absolute;
    bottom: 0;
    opacity: 0;
    font-size: 2.5rem;
    -webkit-user-select: none;
    user-select: none;
    animation-name: slide-up;
    animation-duration: 10s;
    animation-fill-mode: forwards;
}

#login {
    box-sizing: border-box;
    width: 50rem;
    max-width: 100%;
    padding: 2.5rem;
    margin: 2.5rem auto auto auto;
}

#toolbar {
    color: white;
    background-color: black;
}

#user {
    margin-left: 0.5rem;
}

#logout {
    display: flex;
    align-items: center;
    height: max-content;
    margin-left: auto;
    color: white;
    text-decoration: none;
}

#logout span {
    margin-left: 0.5rem;
}

#mobile-navbar {
    display: none;
}

#open-menu {
    display: block;
}

#menu {
    position: fixed;
    top: 0;
    right: -100%;
    z-index: 21;
    width: 100%;
    height: 100%;
    overflow: auto;
    background-color: var(--main-color);
    transition-property: right;
    transition-duration: 0.5s;
}

#menu.active {
    right: 0;
}

.menu-item {
    display: block;
    width: max-content;
    padding: 1rem;
    margin-left: auto;
    color: white;
    font-size: 1.8rem;
    font-weight: 700;
    text-align: right;
    text-decoration: none;
}

.menu-item .material-icons {
    transform: rotate(0);
    transition-property: transform;
    transition-duration: 0.5s;
}

.menu-item-active {
    text-decoration: underline;
}

.menu-item-heading {
    display: flex;
    align-items: center;
    justify-content: right;
}

.menu-item-dropdown {
    max-height: 0;
    overflow: hidden;
    border-left: 0.2rem solid white;
    transition-property: max-height;
    transition-duration: 0.5s;
}

.menu-item.active .menu-item-dropdown {
    max-height: 50rem;
}

.menu-item.active .material-icons {
    transform: rotate(180deg);
}

.menu-item-dropdown .dropdown-item {
    display: block;
    padding: 1rem;
    color: white;
    text-decoration: none;
}

#close-menu {
    display: block;
    margin: 2.5rem 0;
    color: white;
    font-size: 48px;
    text-align: right;
}

#snackbar-container {
    position: relative;
    width: 30rem;
    margin: auto;
}

#snackbar {
    position: absolute;
    top: -4rem;
    left: 0;
    z-index: 2;
    box-sizing: border-box;
    width: 100%;
    padding: 1rem;
    border-radius: 0.5rem;
    color: white;
    background-color: green;
    text-align: center;
    animation-name: slide-down;
    animation-duration: 2s;
    animation-delay: 0.5s;
    animation-fill-mode: forwards;
}

#live-container {
    position: relative;
    padding-top: 56.25%;
}

#live {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
}

#emoji-container {
    margin-top: 1rem;
}

.w-100 {
    width: 100%;
}

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

.coming {
    font-size: 6rem;
    color: black;
    font-weight: 700;
    margin-top: 0;
}
/*
#header {
    width: 100%;
    color: white;
    text-align: center;
}

#header img {
    width: 100%;
    display: block;
}*/
#header {
    object-fit: cover;
    display: block;
    width: 100%;
}
#header-mobile {
    display: none;
}

.logo-ico {
    width: 50px;
}

.logo-class {
    width: 30px;
    /* margin-right: 1rem; */
}

.logo-teams {
    width: 80%;
}

.logo-sponsor {
    width: 68%;
}

.logo-regione {
    width: 30%;
}

.logo-main-sponsor {
    width: 100%;
}

.col-classifica {
    padding: 1rem;
}

.box-home {
    text-align: center;
    padding: 1.5rem;
    margin: 1rem;
}

.box-home a {
    background: var(--rosso);
    color: white;
    font-weight: 700;
    padding: 1rem 1.5rem;
    font-size: 1.4rem;
    display: block;
    margin: 1rem auto;
}

#footer {
    position: relative;
    width: 100%;
    background-color: var(--main-color);
    color: white;
}

#footer a {
    text-decoration: underline;
    color: white;
}

#countdown {
    font-weight: 700;
    font-size: 3.5rem;
    color: #009548;
    text-align: center;
}

.toggle_on {
    color: #009548;
}

.toggle_off {
    color: red;
}

.bt-add {
    padding: 1rem;
    background: green;
    color: white;
    display: inline-block;
    text-decoration: none;
}
.smaller{
    font-size: .85em;
}
.label-eng{
    font-size: .85em;
    display: block;
}