@charset "utf-8";

#calendar {
 width: 500px;
	border: 0; 
}

.calendar{
  font-size:12px;
  border: 0px solid #DDDDDD;
  margin:0px;
  padding:0px;
  text-align:center;
  width:100%;
 }

.calendar-month{
  border-collapse:collapse;
  border: 0px solid #DDDDDD;
  background: #DDDDDD;
  border-bottom: none;
  margin:0px;
  padding:5px;

}

.calendar table
{
  border-collapse:collapse;
  margin:0px;
  padding:0px;
}

.calendar table, th, td
{
  border: 0px solid #DDDDDD;
  margin:0px;
  padding:3px;
  text-align: center;
}

.calendar th {
	background: #F5F5F5;
}

.calendar-prev a{
   color:rgb(0,136,1);
}

.calendar-next a{
   color:rgb(0,136,1);
}

.calendar-wrapper {
    border: 0px solid #DDDDDD;
    display: inline-block;
    height: 100%;
    margin-bottom: 20px;
    margin-top: 30px;
    padding: 0;
    width: 100%;
}


.calendar-month{
  color:#000000;
  vertical-align: top;
  text-align: center;
   
}


.calendar-caption{
  color:#000000;
 
}


.linked-day{
    background-color:rgb(250,244,165);
}

.blank-day{
    background-color:#FFFFFF;
}


.calendar-container{
    /*  margin: 100px;*/
}

.calendar-widget-content{
    clear: both;
    float: right;
    margin-left: 36px;
    width: 292px;
    margin-bottom: 30px;
}


.calendar-content{
    width: 620px;
    height: 100%;
}

.calendar-page{
    margin: 0;
}


/* ── Kalendár (nový) ── */
.cal {
    font-family: 'Inter',system-ui,sans-serif;
    max-width: 340px;
    margin: 0 auto
}

.cal-header {
    display: flex;
    align-items: center;
    justify-content: space-between;
    margin-bottom: 14px;
    gap: 8px
}

.cal-title {
    font-size: 21px;
    font-weight: 700;
    color: #000
}

.cal-nav {
    display: flex;
    align-items: center;
    gap: 4px
}

.cal-nav button {
    background: none;
    border: none;
    cursor: pointer;
    color: #009a44;
    font-size: 18px;
    line-height: 1;
    padding: 6px 9px;
    border-radius: 4px
}

.cal-nav button:hover {
    background: rgba(0,154,68,.08)
}

.cal-month {
    font-size: 12.5px;
    font-weight: 700;
    color: #009a44;
    white-space: nowrap;
    letter-spacing: .03em;
    min-width: 104px;
    text-align: center
}

.cal-dow {
    display: grid;
    grid-template-columns: repeat(7,1fr);
    gap: 2px;
    margin-bottom: 4px
}

.cal-dow span {
    text-align: center;
    font-size: 11px;
    font-weight: 700;
    color: #8c8c8c;
    letter-spacing: .04em;
    padding: 2px 0
}

.cal-grid {
    display: grid;
    grid-template-columns: repeat(7,1fr);
    gap: 3px
}

.cal-day {
    text-align: center;
    font-size: 13px;
    font-weight: 600;
    color: #009a44;
    width: 34px;
    height: 34px;
    line-height: 34px;
    margin: 0 auto;
    border-radius: 50%;
    border: 0;
    background: none;
    font-family: inherit;
    padding: 0
}

.cal-day.event {
    background: #009a44;
    color: #fff;
    font-weight: 700;
    cursor: pointer;
    text-decoration: none;
}

.cal-day.event:hover,.cal-day.event[aria-pressed="true"] {
    background: #007a35
}

.cal-day.event:focus-visible {
    outline: 2px solid #009a44;
    outline-offset: 2px
}

.cal-empty {
    width: 34px;
    height: 34px
}

.cal-detail {
    margin-top: 16px;
    border-top: 1px solid #e3e8e5;
    padding-top: 14px;
    font-size: 14px;
    line-height: 1.6
}

.cal-detail[hidden] {
    display: none
}

.cal-detail h4 {
    font-size: 15px;
    font-weight: 700;
    line-height: 1.35;
    color: #000;
    margin: 0
}

.cal-detail .cal-date {
    display: block;
    margin-top: 16px;
    font-size: 13px;
    font-weight: 600;
    color: #666
}

.cal-detail p {
    margin: 16px 0 0;
    font-weight: 500;
    color: #222
}

.cal-detail .viac,.viac {
    display: inline-block;
    margin-top: 12px;
    font-size: 14px;
    font-weight: 600;
    color: #009a44;
    background: none;
    border: 0;
    padding: 0;
    cursor: pointer;
    font-family: inherit;
    text-decoration: none
}

.cal-detail .viac:hover,.viac:hover {
    color: #007a35
}

.cal-detail .ev+.ev {
    margin-top: 20px;
    padding-top: 16px;
    border-top: 1px dashed #e3e8e5
}