/* Override default calendar style
table#calendar li.horizontalEvent {
        margin:0px;
        padding:3px;
        line-height: 12px;
        margin-bottom:1px;
        white-space:pre-line;
        position:relative;
}

table#calendar li.horizontalEvent2 {
        margin:0px;
        padding:3px;
        line-height: 12px;
        margin-bottom:1px;
        white-space:pre-line;
        position:relative;
}

table#calendar th{
    font-size:12px;
    font-weight: bold;

}

table#calendar td, table#calendar th{
    width:calc(13% - 1px);
    border:1px solid #f1f1f1;
    border-right:none;
    border-top:none;
    display: block;
    float: left;
    text-align: center;
    padding: 0px;
}

table#calendar th{
  background-color:#f1f1f1;
    border-bottom:1px solid #ddd;
}

table#calendar td:last-child, table#calendar th:last-child{
    width:calc(8% - 1px);
    margin-left: auto;
    padding: 0 auto;
    background-color:#f1f1f1;
    border-left:1px solid #ddd;
    vertical-align: middle;
    overflow: hidden;
}

table#calendar th:last-child{
  background-color: #fff;
}

thead, tfoot{
    border:none;
    line-height: 20px;
    display: relative;
    z-index: 1;
    background-color: #fff;
}


table#calendar{
    width:100%;
    display: block;
    float: left;
    font-size:11px;
    border-spacing: 0px;
    border-collapse: collapse;
    position: relative;
    overflow: visible;
}

table#calendar tr{
  height:71px;

}

table#calendar thead tr{
  height: 20px;
  width:100%;
}

table#calendar thead, table#calendar tbody, table#calendar tfoot, table#calendar tr{
  width:100%;
  display: block;
  float: left;
}
table#calendar tr{
  width:auto;
}

table#calendar td ul{
    margin:0px;
    padding:0px;
    list-style: none;
    display: block;
    float: left;
    width:100%;
    font-size: 10px;
    position: relative;
    
}

table#calendar td:not(:last-child) ul{
    background-color: #fff;
}

table#calendar td{
    background-color:#fff;
    height:70px;
}*/

table#calendar li.horizontalEvent {
        margin:0px;
        padding:3px;
        line-height: 12px;
        margin-bottom:1px;

        position:relative;
}

table#calendar li.horizontalEvent2 {
        margin:0px;
        padding:3px;
        line-height: 12px;
        margin-bottom:1px;

        position:relative;
}


table#calendar th{
    font-size:11px;
    font-weight: bold;
}

table#calendar td, table#calendar th{
    width:66px;

    text-align: center;
    padding: 0px;
}

table#calendar th{
    background-color:#f1f1f1;
}

table#calendar td.caltdv, table#calendar th.caltdv{
    width:44px;
    background-color:#f1f1f1;
    vertical-align: middle;
}

table#calendar thead, tfoot{
    line-height: 20px;
    position: relative;
}


table#calendar{
    width:100%;
    font-size:11px;
    position: relative;
    overflow: visible;
    table-layout: auto;
    margin-bottom:100px;
}

table#calendar tbody{}

table#calendar td{
  border:1px solid #f1f1f1;
}

table#calendar thead, table#calendar tbody, table#calendar tfoot, table#calendar tr{
    width:100%;
    position: relative;
    overflow: visible;
    border:1px solid #f1f1f1;
}

table#calendar td ul{
    margin:0px;
    padding:0px;
    list-style: none;
    width:100%;
    font-size: 10px;
    position: relative;
    
}

table#calendar td:not(:last-child) ul{
    background-color: #fff;
    margin:0px;
    padding:0px;
}

table#calendar td{

    height:70px;
}


table#calendar td div.event-box{
    top:0px;
    position: relative;
    display: inline-block;
    height:90px;
    width: 100%;
    cursor: pointer;
    overflow: hidden;
    text-align:left;
    position: relative;
    margin:0px;
    padding:0px;
}

table#calendar td div.event-box:hover{
    overflow:visible;
    position:relative;
    z-index:100;
}

table#calendar td div.event-box:hover > ul{
    -webkit-box-shadow:0 0 10px rgb(255,255,190); 
    -moz-box-shadow: 0 0 10px rgb(255,255,190); 
    box-shadow:0 0 10px #000;
}


table#calendar td div.event-box ul li{
    padding:3px;
    line-height: 12px;
    margin-bottom:1px;
    white-space:pre-line;
    position: relative;
}

table#calendar td div.event-box ul li:hover{
    -webkit-box-shadow: inset 0 0 15px #fff;
    -moz-box-shadow: inset 0 0 15px #fff;
    box-shadow: inset 0 0 15px rgba(255,255,255,0.3);
}

i.cal-time{
  color:rgb(75, 75, 75);
  display: block;
  padding:0 0 2px 0;
  margin: 3px 0;
  width:100%;
  height:15px;
    line-height: 15px;
    font-size:10px;
}

div.minical-event-block{
  margin-bottom:3px;
  border-bottom: 1px solid #ddd;
  padding-bottom:2px;
}

div.minical-event-block:last-child{
  border-bottom: none;
}


#popupDiv{
    position: absolute;
}
/*

#minialmanac{
  width:250px;
  margin-bottom:5px;
  clear: both;
  float: none;
  display: inline-block;
}

#minialmanac tbody, #minialmanac thead, #minialmanac tfoot{
  width:250px;
}

#minialmanac td{
    width:31px;
    height:15px;
    line-height: 15px;
}
#minialmanac tbody td:last-child{
  width:19px;
}

#minialmanac td.hasEvent{
  background-color: rgb(0, 82, 147);
  color: #fff;
  cursor: pointer;
}

#minialmanac td.hasEvent:hover{
  background-color: rgb(55, 131, 191);
  color:#fff;
}



#minialmanac thead tr:first-child th{
    width:174px;
    height:20px;
    background-color: #f1f1f1;
    border-bottom: 1px solid #ddd;
}

#minialmanac thead tr:first-child td{
    width:37px;
    height: 20px;
    background-color: #f1f1f1;
    border:none;
    border-bottom: 1px solid #ddd;
}

#minialmanac thead tr:last-child td{
    height: 20px;
    background-color: #f1f1f1;
}

#minialmanac tr{
  width:250px;
  height:16px;
  overflow: hidden;
}

#minialmanac tr td:last-child{
    font-size: 10px;
    vertical-align: middle;
}*/





#minialmanac{
  table-layout: fixed;
  border-collapse: collapse;
  margin-bottom:5px;
  border:1px solid #ddd;
}

#minialmanac thead tr th{
  border-bottom:1px solid #ddd;
}

#minialmanac thead tr:first-child td a{
  height:100%;
  width:100%;
  display: block;
}

#minialmanac thead tr:first-child td a:hover{
  background-color:#fff;
}
#minialmanac thead tr:first-child td{
  text-align: center;
}
#minialmanac thead tr:first-child td:last-child{
  border-bottom:none;
}

#minialmanac td{
  text-align: center;
  padding:2px 0px;
}

#minialmanac thead td{
  background-color: #f1f1f1;
  border-bottom: 1px solid #ddd;
  border-left:1px solid #ddd;
  border-right: 1px solid #ddd;
  text-align: center;
}

#minialmanac tbody tr td{
  width:31px;
  border-left:1px solid #ddd;
  border-bottom:1px solid #ddd;
  border-right: 0px;
}
#minialmanac tbody tr td.minitdv, #minialmanac tbody tr td.minitdvlast{
  border-right:1px solid #ddd;
  width:none;
  background-color: #f1f1f1;
}

#minialmanac td.hasEvent{
  background-color: rgb(0, 82, 147);
  color: #fff;
  cursor: pointer;
}

#minialmanac td.hasEvent:hover{
  background-color: rgb(55, 131, 191);
  color:#fff;
}

#calendar span.popover-time, span.popover-time{
    display: block;
    float: left;
    width:100%;
    height:15px;
    line-height: 15px;
    border-bottom: 1px solid #f1f1f1;
    font-size:10px;
    font-style: italic;
    color:rgb(75, 75, 75);
    padding:0 0 2px 0;
    margin: 5px 0;
}

#calendar span.popover-time i{
    margin-right:5px;
}





#calendar li.seemore{
    text-align: center;
    margin-top:-7px;
    line-height: 16px;
    font-size: 16px;
}





.clearfix {
  *zoom: 1;
}
.clearfix:before,
.clearfix:after {
  display: table;
  content: "";
  line-height: 0;
}
.clearfix:after {
  clear: both;
}
.hide-text {
  font: 0/0 a;
  color: transparent;
  text-shadow: none;
  background-color: transparent;
  border: 0;
}
.input-block-level {
  display: block;
  width: 100%;
  min-height: 30px;
  -webkit-box-sizing: border-box;
  -moz-box-sizing: border-box;
  box-sizing: border-box;
}
.popup {
  position: absolute;
  top: 0;
  left: 0;
  z-index: 1010;
  display: none;
  max-width: 276px;
  padding: 1px;
  text-align: left;
  background-color: #ffffff;
  -webkit-background-clip: padding-box;
  -moz-background-clip: padding;
  background-clip: padding-box;
  border: 1px solid #ccc;
  border: 1px solid rgba(0, 0, 0, 0.2);
  -webkit-box-shadow: 0 5px 10px rgba(0, 0, 0, 0.2);
  -moz-box-shadow: 0 5px 10px rgba(0, 0, 0, 0.2);
  box-shadow: 0 5px 10px rgba(0, 0, 0, 0.2);
  white-space: normal;
}
.popup.top {
  margin-top: -10px;
}
.popup.right {
  margin-left: 10px;
}
.popup.bottom {
  margin-top: 10px;
}
.popup.left {
  margin-left: -10px;
}
.popup-title {
  margin: 0;
  padding: 8px 14px;
  font-size: 14px;
  font-weight: normal;
  line-height: 18px;
  background-color: #f7f7f7;
  border-bottom: 1px solid #ebebeb;
  -webkit-border-radius: 5px 5px 0 0;
  -moz-border-radius: 5px 5px 0 0;
  border-radius: 5px 5px 0 0;
}
.popup-title:empty {
  display: none;
}
.popup-content {
  padding: 4px 14px;
}