.events.content table td {
    padding : 0;
}

/****************  default view  ***********************/

.events.default table {
    width            : 100%;
    padding          : 0;
    margin           : 0;
    border-left      : 1px solid #A2ADBC;
    font             : normal 12px/20px "Trebuchet MS", Verdana, Arial, Helvetica, sans-serif;
    color            : #616B76;
    text-align       : center;
    background-color : #fff;
}

.events.default table th {
    border-left : none;
}

.events.default table td {
    padding     : 0;
    border-left : none;
}

/*.events.default .nav,*/
/*.events.default .nav a {*/
/*font            : bold 18px "Trebuchet MS", Verdana, Arial, Helvetica, sans-serif;*/
/*color           : #fff;*/
/*text-align      : center;*/
/*text-decoration : none;*/
/*}*/

.events.default div.caption {
    margin     : 0;
    padding    : 0;
    width      : 100%;
    background : #A2ADBC;
    color      : #fff;
    font       : bold 12px "Trebuchet MS", Verdana, Arial, Helvetica, sans-serif;
    text-align : center;
}

.events.default th {
    font          : bold 11px/20px "Trebuchet MS", Verdana, Arial, Helvetica, sans-serif;
    text-align    : center;
    color         : #616B76;
    background    : #D9E2E1;
    border-right  : 1px solid #A2ADBC;
    border-bottom : 1px solid #A2ADBC;
    border-top    : 1px solid #A2ADBC;
}

.events.default td {
    border-right   : 1px solid #A2ADBC;
    border-bottom  : 1px solid #A2ADBC;
    width          : 14%;
    height         : 80px;
    vertical-align : top;
    text-align     : left;
    background     : #f6f5f1;
}

.events.default td.notinmonth, .events.default td.week {
    background     : #e2e2e2;
    width          : auto;
    vertical-align : middle;
    text-align     : center;
}

.events.default td.currentweek:before {
    content : "\00AB";
}

.events.default td.currentweek, .mini-cal tr.currentweek td, .mini-cal td.currentday {
    background : #bfbfbf;
}

.events.default td.currentweek:after {
    content : "\00BB";
}

.mini-cal tr.displayweek, .mini-cal td.displayday {
    border-color : black;
    border-style : solid;
    border-width: 2px;
}

.mini-cal tr.displayweek td, .mini-cal td.displayday {
    background : #E12735;
}

.mini-cal td.weeknum, .mini-cal th.weeknum {
    font-size-adjust: 0.35;
}

.events.default td .number {
    /*border       : 1px solid #A2ADBC;*/
    /*border-width : 0 0 1px 1px;*/
    /*background : #fff;*/
    padding    : 3px;
    float      : right;
    display    : block;
    width      : 15px;
    text-align : right;
}

.events.default .today {
    /*.events.default td.today a,*/
    /*.events.default td.today a:link,*/
    /*.events.default td.today a:visited,*/
    /*.events.default td.today a:hover,*/
    /*.events.default td.today a:focus,*/
    /*.events.default td.today a:active {*/
    /*color       : #F6F4DA;*/
    font-weight : bold;
    background  : #DF9496;
}

.events.default td .number.today {
    /*border       : 1px solid #A2ADBC;*/
    /*border-width : 0 0 1px 1px;*/
    background : #DF9496;
    padding    : 3px;
    float      : right;
    display    : block;
    width      : 15px;
    text-align : right;
}

#main .events.default .calevent {
    background-color: #E12735;
    color: #fff;
    border: none;
    margin: 0px;
    margin-bottom: 4px;
    -moz-border-radius: 0px;
    -webkit-border-radius: 0px;
    border-radius: 0px;
}

#main .events.default table {
    border-left: none;
}

#main .events.default th {
    border-top: none;
}

#main .events.default th {
    color: #000;
}

.events.default .calevent .icalpopevent {
    cursor: pointer;
}

.events.default td.today a.edit {
    text-transform : capitalize;
    background     : url(../../../../core/assets/images/edit.png) no-repeat 0 50%;
}

.events.default td.today a.delete {
    text-transform : capitalize;
    background     : url(../../../../core/assets/images/delete.png) no-repeat 0 50%;
}

/****************  headlines  ***********************/

.upcoming-events-headlines .link,
.upcoming-events-headlines .date,
.upcoming-events-summary .link,
.upcoming-events-summary .date {
    display : block;
}

.upcoming-events-headlines ul li,
.upcoming-events-headlines ul,
.upcoming-events-summary ul li,
.upcoming-events-summary ul {
    margin     : 0;
    padding    : 0;
    list-style : none;
}

.upcoming-events-headlines ul li .date,
.upcoming-events-summary ul li .date {
    margin-bottom : 5px;
}

.upcoming-events-headlines ul li,
.upcoming-events-summary ul li {
    margin-bottom : 10px;
}

/****************  mini-cal  viewday viewweek***********************/

.mini-cal {
    border     : none;
    width      : 10em;
    text-align : center;
}

.mini-cal caption, .viewweek caption, .viewday caption, p.caption {
    background    : #A2ADBC;
    color         : #fff;
    font          : bold 12px "Trebuchet MS", Verdana, Arial, Helvetica, sans-serif;
    line-height   : 2.5em;
    text-align    : center;
    font-weight   : bold;
    border-top    : 1px solid black;
    margin-bottom : 0;
}

.monthbox .mini-cal {
    width: 100%;
    padding-bottom: 2px;
}

.viewweek td {
    padding : .1em .1em .1em 0;
}

.mini-cal th, .mini-cal td {
    padding    : .1em .2em;
    text-align : right;
}

.viewweek, .viewday {
    border     : none;
    width      : 100%;
    list-style : none;
    margin     : 0;
    padding    : 0;
}

.mini-cal th {
    text-align : center;
}

.mini-cal table {
    margin-bottom : 2px;
}

dl.viewweek {
    text-align : left;
}

.viewweek dt {
    line-height : 2em;
}

.divider, .viewday li, .viewweek dt {
    border-top : 1px solid;
}

.events .cancelled {
    color: red;
    text-decoration: line-through;
}

.events .cancelled-label {
    color: red;
    font-weight: bold;
}

/* BASIC CALENDAR LINK STYLES */

.events .addevent {
    background-image    : url(../images/addevent.png);
    background-repeat   : no-repeat;
    background-position : 0% 50%;
    padding-left        : 18px;
}

.events .listviewlink {
    background-image    : url(../images/list.gif);
    background-repeat   : no-repeat;
    background-position : 0% 50%;
    padding-left        : 18px;
}

.events .monthviewlink {
    background-image    : url(../images/date_month.png);
    background-repeat   : no-repeat;
    background-position : 0% 50%;
    padding-left        : 18px;
}

.events .weekviewlink {
    background-image    : url(../images/date_week.png);
    background-repeat   : no-repeat;
    background-position : 0% 50%;
    padding-left        : 18px;
}

.events .dayviewlink {
    background-image    : url(../images/date_day.png);
    background-repeat   : no-repeat;
    background-position : 0% 50%;
    padding-left        : 18px;
}

.events .adminviewlink {
    background-image    : url(../images/site-admin.png);
    background-repeat   : no-repeat;
    background-position : 0% 50%;
    padding-left        : 18px;
}

.events .icallink {
    background-image    : url(../images/ical.gif);
    background-repeat   : no-repeat;
    background-position : 0% 50%;
    padding-left        : 38px;
}

a.cats {
    padding-left      : 20px;
    background-image  : url(../images/tree.png);
    background-repeat : no-repeat;
}

#popup {
    text-align : center;
    display    : block;
    z-index    : 999;
}

#lb-bg {
    position   : absolute;
    top        : 0;
    bottom     : 0;
    left       : 0;
    right      : 0;
    background : black;
    opacity    : .25;
    /* IE8 */
    -ms-filter : "progid:DXImageTransform.Microsoft.Alpha(Opacity=25)";
    /* IE7 */
    filter     : alpha(opacity = 25);
}




/* Calendar Week Styles */


.weekviewdayheader {
    background-color: #E9E8E3;
    color: #000;
    border: none;
    padding-top: 10px;
    padding-bottom: 10px;
    text-transform: uppercase;
    width:100%;
}

.weekviewdayheader td {
    padding-top: 2px;
    padding-bottom: 2px;
    width:10.2%;
    text-align:center;
}

.weekagenda {
    width:100%;
    
    
}

.weekagenda td {
    height:48px;
    background-color: #CCCCCC ;
    padding:0px;
    width:10.2%;
    vertical-align:top;
    box-shadow: inset 0 0 0 1px #E9E8E3;
    -webkit-box-shadow: inset 0 0 0 1px #E9E8E3;
    -moz-box-shadow: inset 0 0 0 1px #E9E8E3;
}

.weekagendawrapper {
    height:500px;
    overflow:scroll;
    overflow-x: hidden;
}

.weekvieweventwrapper {
    position:relative;
    width:100%;
    /*height:100%;*/
    
}

.weekviewevent {
    background-color: #E12735;
    color: #fff ;
    border:solid 1px #CB1D2B;
    box-shadow: inset 0 0 0 1px #F2535C;
    -webkit-box-shadow: inset 0 0 0 1px #F2535C;
    -moz-box-shadow: inset 0 0 0 1px #F2535C;
    margin:-1px ;
    padding:0px;
    position:absolute;
    width:100%;
    height:100%;
    display: block;
}

.weekviewsecondaryevent {
    background-color: #CB1D2B;
}

.weekviewevent div {
 text-overflow: initial;
    white-space: normal;
    overflow: visible;
    padding-left: 2px;
    font-size: 74%;
    padding-right: 2px;
}


.weekagenda tr td:first-child {
    padding-left:6px;
}

/* Calendar Day Styles */



.dayagenda {
    width:100%;
    
}

.dayagenda td {
    height:48px;
    background-color: #CCCCCC ;
    padding:0px;
    vertical-align:top;
    box-shadow: inset 0 0 0 1px #E9E8E3;
    -webkit-box-shadow: inset 0 0 0 1px #E9E8E3;
    -moz-box-shadow: inset 0 0 0 1px #E9E8E3;
}

.dayagendawrapper {
    height:500px;
    overflow:scroll;
    overflow-y: scroll;
    overflow-x: hidden;
    background: #D6D6D6;
}

.dayvieweventwrapper {
    position:relative;
    width:100%;
    /*height:100%;*/
}

.dayviewevent {
    background-color: #E12735;
    color: #fff ;
    border:solid 1px #CB1D2B;
    box-shadow: inset 0 0 0 1px #F2535C;
    -webkit-box-shadow: inset 0 0 0 1px #F2535C;
    -moz-box-shadow: inset 0 0 0 1px #F2535C;
    margin:-1px ;
    padding:0px;
    position:absolute;
    width:100%;
    height:100%;
}

.dayviewevent div {
    text-overflow: ellipsis;
    white-space: nowrap;
    overflow:hidden;
    padding-left:2px;
    padding-right:2px;
}


.dayagenda tr td:first-child {
    padding-left:6px;
    width:10%;
}

.dayagenda tr:first-child {
    width:10%;
}

.dayagenda tr:last-child {
    width:90%;
}

.calheaderdate {
    text-align:center;
    font-family:Arial, Helvetica, sans-serif;
    font-size:24px;
    font-weight:bold;
    color: #fff;
    padding-top:14px;
    padding-bottom:14px;
    text-transform:uppercase;
    
}

/* -- Event View Styles --*/

.eventsheet {
    background-color:#fff;
    min-height:500px;
    padding:16px;
}

.eventsheet span{
    color: #E12735;
    text-decoration:none;
}

/* -- Mini Cal Styles --*/
.mini-calwrapper {
    margin-left:3px;
    margin-right:3px;
}

.mini-cal {
    width:100%;
    background-color:#E12735;
    /*border: solid 1px #ABABAB;*/
    
}

.mini-cal th, .mini-cal td {
    text-align:center;
    border: solid 1px #D6D6D6;
    color:#fff;
    
}

.mini-cal th {
    background-color:#CCCCCC;
    
}

.mini-cal td {
    background-color:#CCCCCC;
    border: solid 1px #D6D6D6;
}

.mini-cal th {
    background-color:#ABABAB;
    border: solid 1px #D6D6D6;
}

.mini-cal div, .mini-cal div a, .mini-cal div a:hover {
    color:#fff;
    text-decoration:none;
}

.mini-cal div a, {
    padding-top:8px;
    padding-bottom:8px;
}

.mini-calcurrentday {
    background-color:#E12735 !important;
}

@media (max-width: 1023px) {

    .caldrop {
        float:none;
        margin-top:4px;
    }

    .calheaderyears {
        display:none !important;
    }

    .newcalnav {
        text-align:center;
    }

    #sidebar .monthbox {
        padding: 0px 0px 0px 0px ;
    }

    .calheaderbutton {
        padding-top:4px;
        margin-top:4px;
        margin-bottom:8px;
        margin-right:4px;
        margin-left:4px;
        display: inline-block;
        width:200px;
    }

    .buttonsdiv {
        text-align:center;
    }

    .span3 {
        width: 202px !important;
        margin: 0 auto 4px !important;
        padding: 0px !important;
    }
    #main .monthbox {
        padding: 0px 0px 0px 0px;
    }
    h1 {
        font-size: 20px !important;
        line-height: 22px !important;
        margin: 0 0 8px !important;
    }

}

.weektime {
    width: 91px !important;
}

.weektime td {
    width: 91px;
    height: 48px;
    padding: 0 0 0 6px !important;
    background: #ccc;
    border-right: 1px solid #fff;
    border-bottom: 1px solid #fff;
}


.daytime {
    width: 670%;
}

.daytime td {
    width: 100%;
    height: 48px;
    padding-left: 6px;
    box-shadow: inset 0 0 0 1px #E9E8E3;
    -webkit-box-shadow: inset 0 0 0 1px #E9E8E3;
    background: #ccc;
    border-right: 1px solid #fff;
    border-bottom: 1px solid #fff;
}

.calbutton.yearbutton a, .calbutton.monthbutton a, .calheaderbutton.calbutton a, .calheaderyears a {
    color: #fff;
    text-decoration: none;
}

.events.default td span.number, .events.default td a.number { 
    float: left;
}

#main .events.default td .number.today {
    border: none;
    float: left;
}



#main .fc-event {
    //background-color: #E12735 !important; 
    color: #fff !important;
    border:none ;
    margin:0px ;
    margin-bottom:4px ;
    -moz-border-radius    : 0px ;
    -webkit-border-radius : 0px ;
    border-radius         : 0px ;
    font: normal 12px/20px "Trebuchet MS", Verdana, Arial, Helvetica, sans-serif;
}

#main .fc-grid .fc-day-number {
    float: left;
}

#main #calendar table td.fc-day {
    background-color: #CCCCCC;
    border: #E9E8E3 1px solid;
    cursor: pointer;
}

#main #calendar table td.fc-day .fc-day-number {
    padding-top: 5px;
    padding-left: 7px;
}

#main #calendar .fc-event-inner {
    font-size: 80%;
    line-height: 130%;
    padding : 2px;
}

#main #calendar table td.fc-other-month {
    background-color: #ABABAB;
    border: #E9E8E3 1px solid;
}

#main #calendar table td.fc-today {
    font-weight: bold;
    background-color: #25AAE1 !important;//#DF9496;
    border: #E9E8E3 1px solid;
}

#main #calendar .fc-header {
    background-color: #D6D6D6;
}

#main #calendar .fc-header .fc-header-title h2 {
    text-align: center;
    font-family: Arial, Helvetica, sans-serif;
    font-size: 45px;
    font-weight: bold;
    color: #fff;
    padding-top: 14px;
    padding-bottom: 14px;
}

#main #calendar th.fc-day-header {
    font: bold 11px/20px "Trebuchet MS", Verdana, Arial, Helvetica, sans-serif;
    text-align: center;
    color: #616B76;
    background: #D9E2E1;
    border-right: 1px solid #A2ADBC;
    border-bottom: 1px solid #A2ADBC;
    border-top: 1px solid #A2ADBC;

    
    background-color: #E9E8E3;
    color: #000;
    border: none;
    padding-top: 10px;
    padding-bottom: 10px;
    text-transform: uppercase;
}

#main #calendar table div.fc-day-number{
    text-decoration: underline;
    color: #000;
}

#main #calendar table td.fc-day:hover div.fc-day-number{
    text-decoration: none;
}

.fc-border-separate{
    font: normal 12px/20px "Trebuchet MS", Verdana, Arial, Helvetica, sans-serif;
    width: 100%;
}

.fc-border-separate td{
    width: 14%;
    height: 80px;
}

.span12.calheadermonth h2{
    font-size: 45px;
}

.currentweek.displayweek td{
    background: #bfbfbf;
}
.currentweek.displayweek td.weeknum{
    background: #E12735 !important;
}

tr.displayweek {
    border:none !important;
}

.mini-cal td {
    text-align: center !important;
}

.row {
    margin: 0 auto;
}

.module.events.show {
    color: #E12735; /* date without inline tag/class */
}

.eventsheet strong {
    color: #000;
}

.module.events .tooltiptext, .module.events .tooltiptitle {
    display: none;
}
