#my-eventi-root{
    width: 58vw;
    max-width: 58vw;
    margin: 0 auto;
    box-sizing: border-box;
}

#my-eventi-root *,
#my-eventi-root *::before,
#my-eventi-root *::after{
    box-sizing: border-box;
}

#my-eventi-root .my-eventi-wrapper{
    display: grid;
    grid-template-columns: 240px minmax(0, 1fr);
    gap: 12px;
    align-items: start;
    width: 100%;
}

#my-eventi-root .my-eventi-calendar{
    width: 240px;
    min-width: 240px;
    max-width: 240px;
    background: #f2f2f2;
    border: 1px solid #d7d7d7;
    border-radius: 8px;
    padding: 10px;
    box-shadow: 0 1px 4px rgba(0,0,0,.05);
}

#my-eventi-root .me-cal-header{
    display: grid;
    grid-template-columns: 52px minmax(0, 1fr) 52px;
    gap: 8px;
    align-items: center;
    margin-bottom: 10px;
}

#my-eventi-root .me-prev,
#my-eventi-root .me-next{
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 52px;
    height: 44px;
    border: 0;
    border-radius: 6px;
    background: #0f92c7;
    color: #fff;
    font-size: 26px;
    line-height: 1;
    cursor: pointer;
    box-shadow: 0 2px 5px rgba(0,0,0,.12);
}

#my-eventi-root .me-month-year{
    text-align: center;
    font-size: 18px;
    font-weight: 500;
    color: #222;
}

#my-eventi-root .me-grid-weekdays,
#my-eventi-root .me-grid-days{
    display: grid;
    grid-template-columns: repeat(7, minmax(0, 1fr));
    gap: 4px;
    width: 100%;
}

#my-eventi-root .me-grid-weekdays{
    margin-bottom: 4px;
}

#my-eventi-root .me-grid-weekdays > div{
    width: 100%;
    min-width: 0;
    text-align: center;
    font-size: 14px;
    color: #222;
    padding: 2px 0;
}

#my-eventi-root .me-day{
    width: 100%;
    min-width: 0;
    min-height: 54px;
    padding: 7px 7px 6px;
    border-radius: 4px;
    text-align: right;
    position: relative;
    background: #eef5fb;
    border: 1px solid #d7e7f5;
    color: #0a2340;
}

#my-eventi-root .me-day.other-month{
    opacity: .55;
}

#my-eventi-root .me-day .dot{
    width: 7px;
    height: 11px;
    border-radius: 999px;
    background: #2877cf;
    position: absolute;
    left: 7px;
    top: 9px;
}

#my-eventi-root .me-day.highlight{
    background: #e5f0fb;
    border: 1px solid #bfd8f3;
}

#my-eventi-root .my-eventi-list{
    min-width: 0;
    width: 100%;
}

#my-eventi-root .me-filter-bar{
    display: block;
    margin-bottom: 12px;
}

#my-eventi-root .me-search-hidden{
    display: none !important;
}

#my-eventi-root .me-city-filter{
    width: 100%;
    min-height: 48px;
    padding: 10px 14px;
    border: 1px solid #cfcfcf;
    background: #fff;
    font-size: 16px;
}

#my-eventi-root .me-table{
    width: 100%;
    border-collapse: collapse;
    table-layout: fixed;
    background: #fff;
}

#my-eventi-root .me-table thead th{
    padding: 12px 10px;
    border-bottom: 1px solid #d9d9d9;
    font-size: 18px;
    color: #001d69;
    text-align: left;
    background: #f3f3f3;
}

#my-eventi-root .me-table th:nth-child(1),
#my-eventi-root .me-table td:nth-child(1){ width: 18%; }

#my-eventi-root .me-table th:nth-child(2),
#my-eventi-root .me-table td:nth-child(2){ width: 22%; }

#my-eventi-root .me-table th:nth-child(3),
#my-eventi-root .me-table td:nth-child(3){ width: 12%; }

#my-eventi-root .me-table th:nth-child(4),
#my-eventi-root .me-table td:nth-child(4){ width: 48%; }

#my-eventi-root .me-table td{
    padding: 10px 10px 12px;
    border-bottom: 1px solid #e5e5e5;
    vertical-align: top;
    overflow-wrap: anywhere;
}

#my-eventi-root .me-table td:first-child{
    font-weight: 600;
}

#my-eventi-root .me-location-city{
    font-weight: 700;
    text-transform: uppercase;
}

#my-eventi-root .me-location-place{
    display: block;
    margin-top: 4px;
    color: #333;
}

#my-eventi-root .me-title{
    color: #0b63b6;
    font-weight: 700;
    margin-bottom: 8px;
}

#my-eventi-root .me-desc{
    color: #222;
    line-height: 1.35;
}

@media (max-width: 1200px){
    #my-eventi-root{
        width: 90vw;
        max-width: 90vw;
    }
}

@media (max-width: 900px){
    #my-eventi-root{
        width: 100%;
        max-width: 100%;
    }

    #my-eventi-root .my-eventi-wrapper{
        grid-template-columns: 1fr;
    }

    #my-eventi-root .my-eventi-calendar{
        width: 100%;
        min-width: 0;
        max-width: 100%;
    }

    #my-eventi-root .me-table{
        table-layout: auto;
    }
}


/* refinement pass */
#my-eventi-root .my-eventi-list{
    min-width: 0;
    width: 100%;
    max-width: 100%;
    overflow: hidden;
}

#my-eventi-root .me-table thead th{
    padding: 10px 8px;
    font-size: 17px;
}

#my-eventi-root .me-table td{
    padding: 9px 8px 11px;
    line-height: 1.28;
}

#my-eventi-root .me-table th:nth-child(1),
#my-eventi-root .me-table td:nth-child(1){ width: 19%; }

#my-eventi-root .me-table th:nth-child(2),
#my-eventi-root .me-table td:nth-child(2){ width: 23%; }

#my-eventi-root .me-table th:nth-child(3),
#my-eventi-root .me-table td:nth-child(3){ width: 11%; }

#my-eventi-root .me-table th:nth-child(4),
#my-eventi-root .me-table td:nth-child(4){ width: 47%; }

@media (max-width: 1400px){
    #my-eventi-root{
        width: 62vw;
        max-width: 62vw;
    }
}

@media (max-width: 1200px){
    #my-eventi-root{
        width: 88vw;
        max-width: 88vw;
    }
}

@media (max-width: 900px){
    #my-eventi-root{
        width: 100%;
        max-width: 100%;
    }

    #my-eventi-root .my-eventi-wrapper{
        grid-template-columns: 1fr;
    }

    #my-eventi-root .my-eventi-calendar{
        width: 100%;
        min-width: 0;
        max-width: 100%;
    }
}


/* refine day number: smaller and horizontal */
#my-eventi-root .me-day{
    font-size: 13px;
    line-height: 1;
    text-align: right;
    white-space: nowrap;
}

#my-eventi-root .me-day span,
#my-eventi-root .me-day .day-number{
    font-size: 13px !important;
    white-space: nowrap;
}
