.dncalendar-inactive { opacity: 0.2; }

.dncalendar-header {
 margin: 0;
 padding: 5px 0;
 position: relative;
 text-align: center;
}

.dncalendar-header h2 {
 line-height: 1;
 margin: 0px;
 display: inline-block;
 position: relative;
 z-index: 1000;
}

.dncalendar-header .dncalendar-links {
 height: 32px;
 width: 100%;
 position: absolute;
 top: 0;
 left: 0;
 z-index: 2;
}

.dncalendar-header .dncalendar-links div {
 cursor: pointer;
 width: 32px;
 height: 32px;
-webkit-user-select: none;
touch-action: pan-y;
-webkit-user-drag: none;
-webkit-tap-highlight-color: rgba(0, 0, 0, 0);
}

.dncalendar-header .dncalendar-links .dncalendar-next-month {
 position: absolute;
 right: 0;
 top: 5px;
}

.dncalendar-header .dncalendar-links .dncalendar-prev-month {
 position: absolute;
 left: 0;
 top: 5px;
}

.dncalendar-header .dncalendar-links .dncalendar-next-month:before,
.dncalendar-header .dncalendar-links .dncalendar-prev-month:before {
 font-family: 'Material Icons';
 font-weight: normal;
 font-style: normal;
 font-size: 32px;
 display: inline-block;
 width: 1em;
 height: 1em;
 line-height: 1;
 text-transform: none;
 letter-spacing: normal;
 word-wrap: normal;
 white-space: nowrap;
 direction: ltr;
 -webkit-font-smoothing: antialiased;
 text-rendering: optimizeLegibility;
 -moz-osx-font-smoothing: grayscale;
 font-feature-settings: 'liga';
 color: #636363;
}

.dncalendar-header .dncalendar-links .dncalendar-next-month:before { content: "\E315"; }
.dncalendar-header .dncalendar-links .dncalendar-prev-month:before { content: "\E314"; }

.dncalendar-header .dncalendar-links .dncalendar-next-month:hover:before,
.dncalendar-header .dncalendar-links .dncalendar-prev-month:hover:before {
 color: #000000;
}

.dncalendar-body { margin: 0 0 10px; }

.dncalendar-body table {
 width: 100%;
 text-align: center;
 border-collapse: collapse;
 /* font-size: 15px; */
}

.dncalendar-body table th, .dncalendar-body table td {
 display: table-cell;
 margin: 0;
 padding: 0;
 border: 0;
 vertical-align: baseline;
}

.dncalendar-body thead td {
 /* font-size: 11px; */
 text-transform: uppercase;
 padding: 10px 0;
}

.dncalendar-body tbody tr td {
 width: 13%;
 border-top: 1px solid #dddddd;
 color: #bbbbbb;
 background: #eeeeee;
 text-decoration: none;
 vertical-align: middle;
}

.dncalendar-body tbody td#calendarClick { cursor: pointer; }

/* .dncalendar-body tbody td.calendarClick {color:#434343;background:#fff} */

.dncalendar-body tbody td .entry {
 padding: 11px 0 13px;
 position: relative;
}

.dncalendar-body tbody td.calendarClick:active { background: #dddddd; }

.dncalendar-body tbody td .entry:after {
 content:attr(data-title);
 left:0;
 position:absolute;
 font-size:10px; /* !!! */
 bottom:1px;
 text-align:center;
 width:100%
}

.dncalendar-body table td.holiday { color: #dc2525 !important; }

.dncalendar-body table td.calendarClick.holiday { color: #dc2525 !important; }

/* PÄIVÄN TYYLIT !!!!? nyt oletusarvot, testattava ja tuunattava */
.dncalendar-body table td.default-date {
 border: 1px solid #96D4FD;
 color: #96D4FD !important;
 background: #e6f2fa;
}

/* !!!!? */
.dncalendar-body table td.calendarClick.default-date {
 border: 1px solid #0d7fcc;
 color: #0d7fcc !important;
 background: #e6f2fa;
}


/*
.dncalendar-body table td.today-date{border:1px solid #7ee699;color:#7ee699 !important;background:#e9fdee}

.dncalendar-body table td.calendarClick.today-date{border:1px solid #0dcc3f;color:#0dcc3f !important;background:#e9fdee}
*/

.dncalendar-body table td.note,
.dncalendar-body table td.calendarClick.note {
 position: relative;
 z-index: 999999; 
}

.dncalendar-body table td.note:before {
 display: block;
 position: absolute;
 width: 0;
 height: 0;
 content: "";
 border: 18px solid #cceeff;
 top: 4px;
 left: 4px;
 top: 50%;
 left: 50%;
 margin-left: -18px;
 margin-top: -18px;
 border-radius: 50%;

/* OIKEA KULMA */
/*
 display:block;
 position:absolute;
 width:0;
 height:0;
 top:0;
 right:0;
 content:"";
 border-top:5px solid #c55;
 border-right:5px solid #c55;
 border-left:5px solid transparent;
 border-bottom:5px solid transparent
*/

}



/*
.dncalendar-body table td.calendarClick.note:before { 
 display:block;
 position:absolute;
 width:0;
 height:0;
 top:0;
 right:0;
 content:"";
 border-top:5px solid #d00;
 border-right:5px solid #d00;
 border-left:5px solid transparent;
 border-bottom:5px solid transparent
}
*/

/* .dncalendar-note-list {
 list-style: none;
 margin-left: 4.5%;
 margin-bottom: 20px;
 padding: 0;
 color: #999
 color: #00ff00;
} */

/* .dncalendar-note-list .date { color: #d00; color: #0000ff; } */

.dncalendar-body table td.calendarClick:hover {
 cursor: pointer;
 background: #eeeeee;
}

/* !!!! Oletuskuvakoko, katsottava sopivat eri respisnäyttöihin */
img.dnImg {
 width: 250px;
 float: left;
 margin-right: 10px;
}

span.noteTitle { font-weight: bold; }
