ul.calendar-nav {
    margin: 1.5em 0;
    overflow: hidden;
    padding-top: .8em;
    text-align: center;
}

ul.calendar-nav li {
    list-style-type: none !important;
    width: 33.33%;
    float:left;
}

a.paging-prev {
    padding-left: 7.1428571%; /* 20 / 280 */
    text-align:left;
}

a.paging-next {
    padding-right: 15px; /* 20 / 280 */
    text-align: right;
}
    
ul.calendar-nav h2 {
    margin-top: 1.1em;
}
    
ul.calendar-nav h2 a {
    background: none;
    padding-left: 0;
}

/* *** CALENDAR *** 
all screen widths */
table.calendar {
    width: 100%;
    font-size: 11px;
}

table.calendar tbody {
    border-top: 1px solid #e2e2e2;
    border-left: 1px solid #e2e2e2;
}

table.calendar th {
    display: table-cell;
    width: 14.285714286%;/* 1/7 of width as there's always 7 days in the week */
    font-weight: bold;
}

table.calendar th abbr {
    font-weight: bold;
    letter-spacing: 1px;
    text-align: center;
    text-transform: uppercase;
}

table.calendar td {
    border: 1px solid #e2e2e2;
    text-align: left;
	vertical-align: top;
    width: 14.285714286%;/* 1/7 of width as there's always 7 days in the week */
    height: 5em;
}

table.calendar td.notinmonth {
    background: #e2e2e2;
}

table.calendar .day {
    display: block;
}

table.calendar .vevent {
    /*border-top: 1px dotted #dee0e0;*/
    display: block;
    /*padding: .5em 0;*/
}


table.calendar a.vevent abbr {
    font-weight: bold;
    margin-right: .5em;
}

table.calendar .has-event { /* just highlight days which have events */
    background: #00348e;
    color: #fff;   
}

table.calendar .has-event .eventwrap {
	/*padding: 0.2em;*/
}
    
table.calendar .has-event a,
table.calendar .has-event span {
    color: #fff;
   font-size: 14px;
}

/* on narrow widths we hide the summary */
table.calendar tr td .vevent span.summary { 
        display: none;
}

/* *** LISTING VIEW *** */
ul.calendar {
    border-top: 1px solid #dee0e0;
    margin: 0;
    padding: 0;
    width: 100%;
    list-style-type: none;
}

ul.calendar ul {
	margin: 0;
	padding: 0;
	list-style-type: none;
}

ul.calendar > li {
    padding-bottom: .8em;
    /*margin: 0 0 7% 0;*/
}
li.vevent {
    margin: 0 0 7% 0;
}
.vevent h4 {
    font-weight: 800;
    font-size: 1.2em;
}
ul.calendar li h3 {
    background: #f0f0f0;
    margin-top: 0;
    margin-bottom: 0;
    padding: 1%;
    }

ul.calendar li h3 :before {
       /* position:absolute;*/
        font-family: FontAwesome;
        /*left:-2px;*/
        content: "\f133"; 
         padding-right: 1em;
    }


ul.calendar .vevent:nth-of-type(2n) {
    border-top: 1px dotted #dee0e0;
}

ul.calendar .vevent h4 {
    margin: 0;
}

ul.calendar .vevent h4 a {
    font-weight: normal;
}

table.calendar tr td .vevent span.summary{
    display: block;
}

.primary-content {
    padding: 0 0 2em 0;
    }

.primary-content ul, .primary-content ol {

    width:100%;

}

.primary-content h2{
    font-size: 1.5em;
}

a.paging-prev {
    padding-left: 15px;
    display: block;
    background: url("../_img/arrow-left.png") center left no-repeat;
}

a.paging-next {
    padding-right: 15px;
    display: block;
    background: url("../_img/arrow-right.png") center right no-repeat;
}

.elist h3{
font-size:22px;
}

.calendar li{
    list-style: none !important;
}

.vevent{
    list-style-type: none !important;
}
    
@media only screen and (max-width: 700px) {
    ul.calendar-nav li {
        float: left;
        /*margin-right: 4.3478261%;*/ /* 20 / 460 */
        width: 33.33%; /* 140 / 460 */
        text-align: center;
        list-style-type: none !important;
    }
        
    ul.calendar-nav li h2 {

        margin-top: 0;
        text-align: center;
    }
        
    ul.calendar-nav li:nth-child(3) {
        margin-right: 0;
        width: 33.33%
    }
        
    ul.calendar-nav li a {
        /*padding-left: 14.2857143%; *//* 20 / 140 */
        text-align: center;
    }

    ul.calendar-nav li a#next_month {
       /* padding-right: 14.2857143%; *//* 20 / 140 */
        padding-left: 0;
        width: 33.33%
    }

    table.calendar td {
	   height: 3em;
       font-size: 14px;
    }
        
    table.calendar td a.vevent {
        border-top: 1px dotted #e2e2e2;
         font-size: 11px;
    }
        
    
    table.calendar tr td .vevent span.summary { 
        display: block;
    }   

                ul.calendar {
    border-top: 1px solid #dee0e0;
    margin: 0;
    padding: 0;
    width: 100%;
    list-style-type: none !important;
}

ul.calendar {
    margin: 0;
    padding: 0;
    list-style-type: none;
    position: relative;
}

ul.calendar > li {
    border-bottom: 1px solid #dee0e0;
    padding-bottom: .8em;
}

ul.calendar li h3 {
    background: #f0f0f0;
    padding-top: 0.5em;
   
}

ul.calendar li h3 :before {
    font-family: FontAwesome;
    content: "\f133";       
    padding-right: 0.5em;


    }

           
ul.calendar .vevent:nth-of-type(2n) {
    border-top: 1px dotted #dee0e0;
            }

ul.calendar .vevent h4 {
    margin: 0;
            }

ul.calendar .vevent h4 a {
    font-weight: normal;
            }

.primary-content {
    padding: 0 0 2em 0;
                }

.primary-content ul, .primary-content ol {

    width:100%;

            }

.primary-content h2{
    font-size: 1.5em;
            }

a.paging-prev {
    padding-left: 15px;
    display: block;
    background: url("../_img/arrow-left.png") center left no-repeat;
            }

a.paging-next {
    padding-right: 15px;
    display: block;
    background: url("../_img/arrow-right.png") center right no-repeat;
            }

.elist h3{
    font-size:22px;
            }

  .calendar li{
    list-style: none !important;
            }

.vevent{
    list-style-type: none !important;
            } 
 table.calendar tr td .vevent span.summary{
    display: block;
                }
}

