.school-calendar{
    width: 93%;
    padding: 3%;
    background: #fff;
    border: solid 1px #c7c7c7;
}
.pdf-download{
    float: left;
    width: 100%;
    font-size: .8em;
    padding-bottom: 30px;
}

div.row {
}

div.clearfix:before,
div.clearfix:after,
div.row:before,
div.row:after {
    content: '\0020';
    display: block;
    overflow: hidden;
    visibility: hidden;
    width: 0;
    height: 0;
}

div.row:after,
div.clearfix:after {
    clear: both;
}

div.row,
div.clearfix {
    zoom: 1;
}

div.events {
    float: left;
    width: 50%;    
}

div.calendar {
    float: right;
    width: 50%;    
}

fieldset {
    display: inline;
    width: 100%;
}

div.calendar ul {
    padding: 0 0 20px 0;
}

div.calendar li {
    display: inline-block;
    line-height: 2em;
    margin: 0 0 2px;
}

div.calendar ul.categories li a:link,
div.calendar ul.categories li a:visited {
    color: #fff;
    padding: 0.4em;
    background: #264863;    
}

div.calendar input,
div.calendar textarea {
    padding: 7px;
    font-size: 1em;
    font-family: inherit;
}

div.calendar form.search input {
    width: 90%;
    margin: 0 0 20px;
    border: solid 1px #9E9E9E;
}

div.calendar form.date select {
    width: 210px;
    margin: 0 0 20px;
}

div.calendar select {
    font-size: 1em;
    font-family: "Segoe UI", inherit;
}
div.calendar p{
    font-size: .8em;
}
div.calendar h2{
    margin: 0 0 10px;
}

div.control-group {
    display: inline;    
}

div.form-actions {
    display: inline;
}

div.form-actions button {
    left: 10px;
    color: #264863;
    width: 120px;
    border: 1px solid #FFFFFF;
    padding: 10px;
    position: relative;
    background: #DCDCDC;
    background: linear-gradient(#F0F0F0, #DCDCDC);
    box-shadow: inset 0 -1px 1px #C8C8C8;
    font-family: inherit;
}

div.form-actions button:hover {
    cursor: pointer;
    color: #FFFFFF;
    border: 1px solid #0A273D;
    background: #264863;
    box-shadow: 0 1px 2px #0A273D;
    font-weight: normal;
    text-shadow: 0 1px 1px #0A273D;
}

div.information {
    margin: 0 0 25px;
}
div.information h2 {
    font-size: 1.6em;
    font-weight: normal;
    margin: 0 0 15px;
}

div.events h2.date {
  font-size: 1.2em;
  font-weight: bold;
  color: #590956;
  margin: .3em 0;
}

div.event {
    margin: 5px 0;
    padding: 5px 5px 5px 0;
    position: relative;
    background: #FFFFFF;
    overflow: hidden;
    /*-webkit-transition: background 0.2s linear;  
    -moz-transition: background 0.2s linear;  
    -o-transition: background 0.2s linear;  
    transition: background 0.2s linear;*/
}

div.event:first-child {
    margin-top: 0;
}

/*div.event:hover {
    background: #F0F0F0;
    box-shadow: inset 0 -1px 1px #DCDCDC;
}*/

div.event div.metadata {
    float: left;   
}
div.metadata ul{
    margin: 0;
    padding: 0;
}
div.metadata ul li{
    font-size: .85em;
    color: #575757;
}

div.event h3 {
    color: #262626!important;
    font-size: .95em!important;
    font-weight: normal;
    text-align: left!important;
    text-transform: none!important;
    font-family: "ff-dagny-web-pro", Arial, sans-serif;
    margin: 0!important;
}

div.event li {
    display: inline;
}

div.event ul.categories {
    padding: 6px 10px 0 0;
    float: left;
    margin: 0;
}

div.event ul.categories li {
    width: 10px;
    height: 10px;
    display: block;
    margin-bottom: 5px;
}

div.event p {
    line-height: 1.4em;
}

div.event hr {
    border: 1px solid #DCDCDC;
    margin: 10px 0;
    border-bottom: none;
}

.ui-datepicker {
    width: 100%;
    margin: 10px 0;
}

.ui-datepicker th,
.ui-datepicker td {
    font-family: "ff-tisa-sans-web-pro", "Helvetica Neue", "Helvetica", "Arial", sans-serif;
}

.ui-datepicker .ui-datepicker-header {
    position: relative;
}

.ui-datepicker .ui-datepicker-prev,
.ui-datepicker .ui-datepicker-next {
    top: 2px;
    width: 80px;
    height: 40px;
    display: block;
    position: absolute;
}

.ui-datepicker .ui-datepicker-prev {
    left: 0;
}
.ui-datepicker .ui-datepicker-next {
    right: 0;
}

.ui-datepicker .ui-datepicker-prev span,
.ui-datepicker .ui-datepicker-next span {
    top: 50%;
    left: 50%;
    display: block;
    position: absolute;
    margin-top: -10px;
    margin-left: -10px;
    cursor: pointer;
}

.ui-datepicker .ui-datepicker-title {
    margin: 0 2.3em;
    line-height: 1.8em;
    text-align: center;
}

.ui-datepicker .ui-datepicker-title select {
    margin: 1px 0;
    font-size: 1em;
}

.ui-datepicker select.ui-datepicker-month-year {
    width: 100%;
}

.ui-datepicker select.ui-datepicker-month,
.ui-datepicker select.ui-datepicker-year {
    width: 49%;
}

.ui-datepicker table {
    width: 100%;
    margin: 0 0 0.4em;
    font-size: 0.9em;
    border-collapse: collapse;
}

.ui-datepicker th {
    padding: .7em .3em;
    text-align: center;
    font-weight: normal;
    border: 0;
}

.ui-datepicker td {
    border: 0;
}

.ui-datepicker td a,
.ui-datepicker td span {
    color: #264863;
    width: 60px;
    height: 40px;
    border: 1px solid #F0F0F0;
    display: table-cell;
    padding: 0.2em;
    text-align: center;
    background: #DCDCDC;
    background: linear-gradient(#F0F0F0, #DCDCDC);
    box-shadow: inset 0 -1px 1px #C8C8C8;
    text-decoration: none;
    vertical-align: middle;
}

.ui-datepicker td.ui-datepicker-current-day a,
.ui-datepicker td.ui-datepicker-current-day span {
    color: #FFFFFF;
    border: 1px solid #0A273D;
    background: #590956;
    /*box-shadow: 0 1px 2px #0A273D;*/
    font-weight: normal;
    text-shadow: 0 1px 1px #0A273D;
}

/* MEDIA QUERIES */

@media only screen and (max-width: 480px) {
    /* phone styles */

div.events {    
    width: 100%;    
}

div.calendar {
    float: left;
    width: 100%; 
    border-top: solid 5px #590956;
    padding-top: 15px;
    margin-top: 15px;
}

}