.icalendar:not(.mobile) {
    background-color: #fff;
    padding: 10px;
}

.icalendar ul {
    list-style: none;
    display: flex;
    padding: 0;
    width: 100%;
}

.icalendar ul li:hover {
    cursor: pointer;
    color: #fff;
}

.icalendar ul:not(.vertical-wrt) {
    flex-direction: column;
    margin: auto 0;
    height: 100%;
}

.icalendar ul li.align-end p {
    margin: 0 0 0 auto;
}

.icalendar ul.align-end {
    align-items: flex-end;
}

.icalendar ul.vertical-wrt li {
    writing-mode: vertical-rl;
    transform: rotate(180deg);
    -ms-transform: rotate(180deg);
    width: 100%;
    border-left: solid 1px grey;
    font-size: 13px;
    font-family: Roboto Condensed;
    display: flex;
    align-items: center;
}

.icalendar ul:not(.vertical-wrt) li {
    width: 100%;
    font-size: 13px;
    font-family: Roboto Condensed;
    padding: 15px 0;
    display: flex;
    border-bottom: solid 1px grey;
    flex: 1;
    justify-content: center;
}

.icalendar ul li[type="groups"] {
    padding: 20px 5px 20px 0;
    align-items: center;
}

.icalendar ul li[type="phases"] {
    padding: 18px 5px 18px 0;
    align-items: center;
}

.icalendar ul li[type="stadiums"] {
    padding: 7px 0 7px 7px;
    flex-direction: column;
}

.icalendar td p,
.icalendar ul li[type="stadiums"] p {
    margin-top: 0;
    margin-bottom: 0;
}

.icalendar th,
.icalendar td {
    font-size: 13px;
    font-family: Roboto Condensed;
    text-align: left !important;
    vertical-align: middle;
}

.icalendar td[type="stadiums"] p:first-child {
    font-weight: bold;
}

.icalendar ul li[type="teams"] {
    padding: 0 0 5px 0;
    justify-content: flex-end;
}

.icalendar ul li[type="days"] {
    padding: 5px 0 0 0;
}

.icalendar td[type="groups"].color,
.icalendar ul li[type="groups"].color {
    background-color: rgb(248, 224, 195);
}

.icalendar td[type="phases"].color,
.icalendar ul li[type="phases"].color {
    background-color: rgb(248, 224, 195);
}

.icalendar td[type="stadiums"].color,
.icalendar ul li[type="stadiums"].color {
    background-color: rgb(158, 224, 250);
}

.icalendar td[type="teams"].color,
.icalendar ul li[type="teams"].color {
    background-color: rgb(158, 250, 170);
}

.icalendar td[type="days"].color,
.icalendar ul li[type="days"].color {
    background-color: rgb(250, 181, 158);
}

.icalendar ul.months li {
    height: 80px;
}

.icalendar .match_list{
    display: flex;
    flex-direction: column;
    justify-content: center;
    position: relative;
    min-height: 500px;
}

.icalendar .match_list h2 {
    position: absolute;
    top: 0;
    left: 50%;
    transform: translate(-50%, 0);
    font-size: 22px;
    font-weight: bold;
    text-transform: uppercase;
    width: max-content;
    text-align: center;
}

.icalendar .match_card {
    display: flex;
    flex-direction: column;
    margin: 5px 0;
    box-shadow: 0 2px 8px 0 rgba(0, 0, 0, 0.4);
}

.icalendar .match_card div.top {
    padding: 2px 5px;
    background-color: grey;
    width: 100%;
    display: flex;
    justify-content: space-evenly;
    font-size: 12px;
    color: #fff;
    border-top-right-radius: 8px;
    border-top-left-radius: 8px;
}

.icalendar .match_card div.bottom {
    padding: 2px 5px;
    width: 100%;
    display: flex;
    justify-content: center;
    font-size: 16px;
    font-weight: bold;
    text-transform: uppercase;
}

.icalendar .match_card div.bottom p {
    margin: 0 5px;
}

.icalendar .match_card div.bottom div.bottom-div {
    text-align: center;
    display: flex;
    align-items: center;
}

.icalendar .match_card div.bottom div.bottom-div:first-child {
    margin-right: auto;
    width: 40%;
}

.icalendar .match_card div.bottom div.bottom-div.result {
    margin: 0 auto;
}

.icalendar .match_card div.bottom div.bottom-div:last-child {
    margin-left: auto;
    width: 40%;
    justify-content: end;
}

.icalendar .match_card p {
    margin: 0;
}

.icalendar .subtitle {
    display: flex;
    justify-content: center;
    align-items: center;
    font-size: 13px;
    font-weight: bold;
}

.icalendar .match_card img {
    max-width: 100%;
    height: auto;
    max-height: 30px;
}

.icalendar .teams img {
    max-width: 100%;
    height: auto;
    max-height: 20px;
    margin-top: 5px;
    transform: rotate(180deg);
}

.icalendar td[type="teams"] img {
    max-width: 100%;
    height: auto;
    max-height: 20px;
}

.icalendar .match_card div.bottom div.bottom-div:first-child img {
    margin: 0 5px 0 0;
}

.icalendar .match_card div.bottom div.bottom-div:last-child img {
    margin: 0 0 0 5px;
}

.icalendar .zztable tbody tr {
    height: 40px;
}

.icalendar .zztable tbody tr:hover {
    background-color: inherit;
}

.icalendar.zz-dropdown {
    display: inline-table;
    width: 100%;
    box-sizing: border-box;
}

.icalendar.zz-dropdown.open .zz-dropdown-menu {
    width: 100%;
    height: max-content;
    max-height: max-content;
    top: auto;
}