.x-btn {
    background: #2b3834;
    position: absolute;
    top: 0px;
    right: 0px;
    display: block;
    width: 32px;
    height: 32px;
    line-height: 32px;
    font-size: 14px;
    text-align: center;
    font-weight: bolder;
    color: white;
    cursor: pointer;
    user-select: none;
    outline: 1px solid #2b3834

}

.x-btn:hover {
    background-color: red;
    outline-color: red;
    transition: 130ms all;
}

.yrCalendar .month-title {
    font-size: 14px;
    font-weight: bolder;;
    padding: 7px 0;
    background: #0B75AF ;
    color: whitesmoke;
}

.yrCalendar .month-title:hover {
    corsor: pointer;
    background-color: #004d00;
}

th.day-header {
    font-size: 12px !important;
    font-weight: bolder !important;;
}

.yrCalendar .month{
    display: flow;
    border-spacing: 1px;
    padding: 0px 4px 10px 4px;
}

.yrCalendar td.day.header {
    font-weight: 600;
}

.yrCalendar td.day {
    width: 20px;
    height:20px;
    line-height: 20px;
    font-size: 12px;
    font-weight: normal;
    text-align: center;
    padding: 0;
}

.yrCalendar td.day:hover {
    cursor: pointer;
}

.yrCalendar td.pre-selected {
    /*background-color: lightgrey;*/
    background-color: #FF9800;
}

.yrCalendar td.selected {
    /*background-color: #004d00;*/
    background-color: #3aa4b7;
    color: white;
    /*border-radius: 8px;*/
}

.yrCalendar td.selected.lft {
    border-top-left-radius: .5em .5em;
    border-bottom-left-radius: .5em .5em;
}

.yrCalendar td.selected.rht {
    border-top-right-radius: .5em .5em;
    border-bottom-right-radius: .5em .5em;
}

.yrCalendar td.day.selected:hover {
    outline: 1px solid red;
    border-radius: 3px;
}

.yrCalendar td.day:not(.selected):hover {
    background-color: #ff0036;
    border-radius: .25em;
}

.yrCalendar .months-cnt.mouse-down td.day:not(.inactive):hover {
    cursor: copy; /*cell;*/
}

.yrCalendar td.inactive {
    opacity: 0.3;
    pointer-events: none;
}

.yrCalendar .months-cnt {
    position: relative;
    display: grid;
    align-content: space-around;
    align-items: start;
    justify-items: center;
    left:0;
    transition: 566ms all;
}

.yrCalendar .months-cnt.hiding {
    opacity: 0;
}

.yrCalendar .hiding.lft {
    left: -100%;
}

.yrCalendar .hiding.rht {
    left: 100%;
}

.yrCalendar {
    display: block;
    position: absolute;
    margin: 0;
    padding: 0;
    border: 1px solid lightgray;
    box-sizing: border-box;
    user-select: none;
    background-color: #fbfbf9;

    line-height: 1.05;
    font-size: 90%;
    -webkit-text-size-adjust: 90%;
    box-sizing: border-box;
    font-feature-settings: "kern" 1;
    font-kerning: normal;
    font-family: Source Sans Pro Web, Helvetica Neue, Helvetica, Roboto, Arial, sans-serif;
    /*overflow: hidden;*/
}
.yrCalendar.minimized {
    width: 54px;
    height: 54px;
    background: ghostwhite;
    border-radius: 6px;
    border: 2px solid #537b00;
    background-image: url(//s-iihr72.iihr.uiowa.edu/modular/nwcm/img/calendar.svg);
    /* padding: 10px; */
    background-repeat: no-repeat;
    background-position: center;
    /*style="height: 30px; padding: 10px;">*/
}

.yrCalendar
div.main-header {
    position: relative;
    display: inline-flex;
    width: calc(100% - 33px);
    height: 32px;
    font-weight: 700;
    font-size: 18px;
    text-align: center;
    margin-bottom: 8px;
    justify-content: space-between;
    background-color: #f7f7f7;
    border-bottom: inherit;
}

.yrCalendar
div.main-header div {
    display: table;
    width: 30px;
    height: 100%;
    text-align: center;
}

.yrCalendar
div.main-header div span {
    display: table-cell;
    vertical-align: middle;
}

.yrCalendar
.main-header div:hover {
    background-color: lightgrey;
    transition: 360ms background-color;
    border-color: lightgrey;
    cursor: pointer;
}

.yrCalendar
div.year {
    z-index: 2;
    margin: 0 50px;
}

.yrCalendar ul {
    width: 140px;
    display: flex;
    flex-direction: column;
    list-style-type: none;
    padding: 0px;
    margin: 0px;
    height: 32px;
    overflow: hidden;
    outline: 1px solid lightgrey;
}

.yrCalendar .year ul.unfolded {
    height: 100%;
    transition: 1s height;
}

.yrCalendar li {
    line-height: 32px;
    width: 100%;
    border-bottom: 1px solid lightgrey;
    background-color: ghostwhite;
}

.yrCalendar .year li.highlight {
    background-color: #537b00;
    color: white;
}

.yrCalendar li.pre-selected {
    /*background-color: lightgrey;*/
    background-color: lightgoldenrodyellow;
}



.yrCalendar li:hover{
    background-color: lightgrey;
}



