.ec-calendar{
    border:1px solid #ececec;
    border-radius:10px;
    overflow:hidden;
    background:#fff;
    font-size:13px;
}

.ec-day{
    padding:6px 10px;
    background:#f7f7f7;
    font-size:16px;
    font-weight:700;
}

.ec-head{
    display:grid;  grid-template-columns: 45px 40px 40px 1fr 70px 70px 70px;    
    gap:15px;
    padding:3px 10px;
    background:#fafafa;
    border-top:1px solid #ececec;
    border-bottom:1px solid #ececec;
    font-size:13px;
    font-weight:600;
    color:#888;
}

.ec-row{
    display:grid;
   grid-template-columns: 45px 40px 40px 1fr 70px 70px 70px; 
   gap:15px;
    align-items:center;
    padding:3px 10px;
    border-bottom:1px solid #f0f0f0;
}

.ec-row:last-child{
    border-bottom:none;
}

.ec-time{
    font-weight:600;
}

.ec-currency{
    font-weight:700;
}

.ec-title{
    line-height:1.45;
}

.ec-actual,
.ec-forecast,
.ec-previous{

    text-align:right;

    white-space:nowrap;

}

.ec-impact{
    display:flex;
    gap:4px;

}

.ec-impact span{
    width:8px;
    height:8px;
    border-radius:50%;
    background:#ddd;

}

.impact-1 span:nth-child(-n+1){

    background:#f7b500;

}

.impact-2 span:nth-child(-n+2){
    background:#ff7a00;
}

.impact-3 span{
    background:#d92323;
}

.holiday{
    grid-template-columns: 130px 1fr;
    background:#fffbe9;
    padding:3px 10px;
    gap:45px;

}
.holiday-type{text-align:center}
.holiday-title{
    font-weight:600;
}

/* Mobile */

@media(max-width:768px){

.ec-calendar{
    max-height: 400px;
    overflow-y: auto;
}
.ec-head{
    display:none;
}

.ec-row{
    display:block;
    padding:10px 10px 10px 20px;
}

.ec-row>div{
    margin-bottom:4px;
}

.ec-row>div:last-child{
    margin-bottom:0;
}

.ec-time,
.ec-currency,
.ec-impact{
    display:inline-block;
    vertical-align:middle;
    margin-right:10px;

}
.ec-impact{display:inline-flex;}
.ec-title{

    margin-top:10px;
    font-size: 15px;
    font-weight:600;

}

.ec-actual::before{
    content:"Actual: ";
    color:#888;

}

.ec-forecast::before{
    content:"Forecast: ";
    color:#888;

}

.ec-previous::before{
    content:"Previous: ";
    color:#888;

}

.ec-actual,
.ec-forecast,
.ec-previous{
    display:inline-block;
    text-align:left;
    padding-right: 8px;
}

.holiday-type{text-align: left;}
.holiday-title{font-size: 15px;}

}