.masonry-filter, .masonry-filter-dates {
    clear: both;
    overflow: hidden;
}

/* using bigger rule presision to allow overriding and avoid !important */
.masonry-filter ul.masonry-paging {
    padding: 0 0 1em 0;
}

.masonry-paging li {
    list-style-type: none;
    display: inline-block;
    cursor: pointer;
    line-height: 1.25rem;
    width: 1.25rem;
    height: 1.25rem;
    text-align: center;
}

.masonry-paging li:hover, .masonry-paging li.pager.active {
    border-color: #2ea3f2;
    background-color: #2ea3f2;
    color: #fff;
}

.masonry-paging .pager-prev { margin-right: .25rem; }
.masonry-paging .pager-next { margin-left: .25rem; }

.masonry-categories li {
    list-style-type: none;
    display: block;
    margin-right: 1rem;
    margin-left: 2rem;
    cursor: pointer;
    position: relative;
    line-height: 1.25rem;
}

.masonry-categories li:before {
    content: '';
    border: 1px solid #000;
    width: 1rem;
    height: 1rem;
    display: block;
    position: absolute;
    left: -1.5rem;
}

.masonry-categories li.active:before, .masonry-categories li:hover:before {
    border-color: #2ea3f2;
    background-color: #2ea3f2;
}

.masonry-filter-dates {
    text-align: center;
    margin-bottom: 2em;
}

.masonry-date, .masonry-expire {
    border: 1px solid #ddd;
    height: 1.5rem;
    color: #666;
    width: 40%;
}

.masonry-date-sep {
    display: inline-block;
    width: 10%;
    text-align: center;
}

.masonry-container .post {
    margin-bottom: 30px;
    min-height: 215px;
    position: relative;
    width: 48.5%;
    float: left;
    border-bottom: 2px dotted #999;
}

.masonry-container .post .entry-featured-image-url {
    width: 35%;
    float: left;
    display: block;
    position: relative;
    margin-bottom: 30px;
}

.masonry-container .post h2, .masonry-container .post p {
    width: 60%;
    float: right;
}

.masonry-container .post h2 {
    line-height: 1em;
    padding-bottom: 0;
    margin-bottom: 10px;
    font-size: 22px;
    color: #2ea3f2;

    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
}

.masonry-container .post p {
    display: -webkit-box;
    -webkit-line-clamp: 4;
    -webkit-box-orient: vertical;
    overflow: hidden;
}

.masonry-container .post .post-date {
    position: absolute;
    top: 0;
    left: 0;
    width: 4em;
    height: 4em;
    background-color: #2ea3f2;
    color: #fff;
    text-align: center;
}

.masonry-container .post .post-date .post-date-day {
    font-size: 2em;
    line-height: 1.2em;
    display: block;
}

.masonry-container .post .post-date .post-date-month {
    font-size: 1.1em;
    display: block;
}

.masonry-container .post .more-link {
    clear: both;
    padding-left: 40%;
    padding-top: 155px;
    position: absolute;
    width: 100%;
    height: 100%;
    top: 0;
    left: 0;
}

.masonry-container .post .more-link:hover {
    background-color: rgba(255, 255, 255, .3) !important;
    color: #000 !important;
}

/* Responsive tablet and up */
@media (min-width: 768px) {
    .masonry-categories {
        text-align: right;
    }

    .masonry-categories li {
        display: inline-block;
    }

    .masonry-date, .masonry-expire {
        width: auto;
    }
}

/* Datepicker */
.ui-datepicker {
    width: 216px;
    height: auto;
    margin: 5px auto 0;
    font: 9pt Arial,sans-serif;
    -webkit-box-shadow: 0 0 10px 0 rgba(0,0,0,.5);
    -moz-box-shadow: 0 0 10px 0 rgba(0,0,0,.5);
    /* box-shadow:0 0 10px 0 rgba(0,0,0,.5); */
}
.ui-datepicker a {
    text-decoration: none;
}
.ui-datepicker table {
    width: 100%;
    border-collapse: collapse;
}
.ui-datepicker-header {
    background-color: #666;
    color: #e0e0e0;
    font-weight: 700;
    -webkit-box-shadow: inset 0 1px 1px 0 rgba(250,250,250,.2);
    -moz-box-shadow: inset 0 1px 1px 0 rgba(250,250,250,.2);
    box-shadow: inset 0 1px 1px 0 rgba(250,250,250,.2);
    text-shadow: 1px -1px 0 #000;
    filter:dropshadow(color=#000, offx=1, offy=-1);
    line-height: 30px;
    min-height: 30px!important;
    border-width: 1px 0 0;
    border-style: solid;
    border-color: #666;
}
.ui-datepicker tbody tr,
.ui-datepicker thead {
    border-bottom: 1px solid #bbb;
}
.ui-datepicker-title {
    text-align: center;
}
.ui-datepicker-title select {
    margin-top: 2.5%;
}
.ui-datepicker-next,
.ui-datepicker-prev {
    display: inline-block;
    width: 30px;
    height: 30px;
    text-align: center;
    cursor: pointer;
    background-repeat: no-repeat;
    background-size: 20px 20px;
    background-position: 50% 50%;
    line-height: 600%;
    overflow: hidden;
}
.ui-datepicker-prev {
    float: left;
    background-image: url('data:image/svg+xml;base64,PHN2ZyB4bWxucz0iaHR0cDovL3d3dy53My5vcmcvMjAwMC9zdmciIHdpZHRoPSIzMiIgaGVpZ2h0PSIzMiIgdmlld0JveD0iMCAwIDMyIDMyIj48cGF0aCBkPSJNMjAuNjk3IDI0TDkuMzAzIDE2LjAwMyAyMC42OTcgOHoiLz48L3N2Zz4=');
}
.ui-datepicker-next {
    float: right;
    background-image: url('data:image/svg+xml;base64,PHN2ZyB4bWxucz0iaHR0cDovL3d3dy53My5vcmcvMjAwMC9zdmciIHdpZHRoPSIzMiIgaGVpZ2h0PSIzMiIgdmlld0JveD0iMCAwIDMyIDMyIj48cGF0aCBkPSJNMTEuMzAzIDhsMTEuMzk0IDcuOTk3TDExLjMwMyAyNHoiLz48L3N2Zz4=');
}
.ui-datepicker thead {
    background: url("data:image/svg+xml;base64,PD94bWwgdmVyc2lvbj0iMS4wIiA/Pgo8c3ZnIHhtbG5zPSJodHRwOi8vd3d3LnczLm9yZy8yMDAwL3N2ZyIgd2lkdGg9IjEwMCUiIGhlaWdodD0iMTAwJSIgdmlld0JveD0iMCAwIDEgMSIgcHJlc2VydmVBc3BlY3RSYXRpbz0ibm9uZSI+CiAgPGxpbmVhckdyYWRpZW50IGlkPSJncmFkLXVjZ2ctZ2VuZXJhdGVkIiBncmFkaWVudFVuaXRzPSJ1c2VyU3BhY2VPblVzZSIgeDE9IjAlIiB5MT0iMCUiIHgyPSIwJSIgeTI9IjEwMCUiPgogICAgPHN0b3Agb2Zmc2V0PSIwJSIgc3RvcC1jb2xvcj0iI2Y3ZjdmNyIgc3RvcC1vcGFjaXR5PSIxIi8+CiAgICA8c3RvcCBvZmZzZXQ9IjEwMCUiIHN0b3AtY29sb3I9IiNmMWYxZjEiIHN0b3Atb3BhY2l0eT0iMSIvPgogIDwvbGluZWFyR3JhZGllbnQ+CiAgPHJlY3QgeD0iMCIgeT0iMCIgd2lkdGg9IjEiIGhlaWdodD0iMSIgZmlsbD0idXJsKCNncmFkLXVjZ2ctZ2VuZXJhdGVkKSIgLz4KPC9zdmc+");
    background: -moz-linear-gradient(top,#f7f7f7 0,#f1f1f1 100%);
    background: -webkit-gradient(linear,left top,left bottom,color-stop(0,#f7f7f7),color-stop(100%,#f1f1f1));
    background: -webkit-linear-gradient(top,#f7f7f7 0,#f1f1f1 100%);
    background: -o-linear-gradient(top,#f7f7f7 0,#f1f1f1 100%);
    background: -ms-linear-gradient(top,#f7f7f7 0,#f1f1f1 100%);
    background: linear-gradient(to bottom,#f7f7f7 0,#f1f1f1 100%);
    filter:progid:DXImageTransform.Microsoft.gradient( startColorstr='#f7f7f7', endColorstr='#f1f1f1', GradientType=0 );
}
.ui-datepicker th {
    text-transform: uppercase;
    text-align: center;
    font-size: 6pt;
    padding: 5px 0;
    color: #666;
    text-shadow: 1px 0 0 #fff;
    filter:dropshadow(color=#fff, offx=1, offy=0);
}
.ui-datepicker tbody td {
    padding: 0;
    border-top: 1px solid #bbb;
    border-right: 1px solid #bbb;
}
.ui-datepicker tbody td:last-child {
    border-right: 0;
}
.ui-datepicker tbody tr:last-child {
    border-bottom: 0;
}
.ui-datepicker td a,
.ui-datepicker td span {
    display: inline-block;
    font-weight: 700;
    text-align: center;
    width: 30px;
    height: 30px;
    line-height: 30px;
    color: #666;
    text-shadow: 1px 1px 0 #fff;
    filter:dropshadow(color=#fff, offx=1, offy=1);
}
.ui-datepicker-calendar .ui-state-default {
    background: url("data:image/svg+xml;base64,PD94bWwgdmVyc2lvbj0iMS4wIiA/Pgo8c3ZnIHhtbG5zPSJodHRwOi8vd3d3LnczLm9yZy8yMDAwL3N2ZyIgd2lkdGg9IjEwMCUiIGhlaWdodD0iMTAwJSIgdmlld0JveD0iMCAwIDEgMSIgcHJlc2VydmVBc3BlY3RSYXRpbz0ibm9uZSI+CiAgPGxpbmVhckdyYWRpZW50IGlkPSJncmFkLXVjZ2ctZ2VuZXJhdGVkIiBncmFkaWVudFVuaXRzPSJ1c2VyU3BhY2VPblVzZSIgeDE9IjAlIiB5MT0iMCUiIHgyPSIwJSIgeTI9IjEwMCUiPgogICAgPHN0b3Agb2Zmc2V0PSIwJSIgc3RvcC1jb2xvcj0iI2VkZWRlZCIgc3RvcC1vcGFjaXR5PSIxIi8+CiAgICA8c3RvcCBvZmZzZXQ9IjEwMCUiIHN0b3AtY29sb3I9IiNkZWRlZGUiIHN0b3Atb3BhY2l0eT0iMSIvPgogIDwvbGluZWFyR3JhZGllbnQ+CiAgPHJlY3QgeD0iMCIgeT0iMCIgd2lkdGg9IjEiIGhlaWdodD0iMSIgZmlsbD0idXJsKCNncmFkLXVjZ2ctZ2VuZXJhdGVkKSIgLz4KPC9zdmc+");
    background: -moz-linear-gradient(top,#ededed 0,#dedede 100%);
    background: -webkit-gradient(linear,left top,left bottom,color-stop(0,#ededed),color-stop(100%,#dedede));
    background: -webkit-linear-gradient(top,#ededed 0,#dedede 100%);
    background: -o-linear-gradient(top,#ededed 0,#dedede 100%);
    background: -ms-linear-gradient(top,#ededed 0,#dedede 100%);
    background: linear-gradient(to bottom,#ededed 0,#dedede 100%);
    filter:progid:DXImageTransform.Microsoft.gradient( startColorstr= '#ededed', endColorstr='#dedede', GradientType=0 );
    -webkit-box-shadow: inset 1px 1px 0 0 rgba(250,250,250,.5);
    -moz-box-shadow: inset 1px 1px 0 0 rgba(250,250,250,.5);
    box-shadow: inset 1px 1px 0 0 rgba(250,250,250,.5);
}
.ui-datepicker-calendar .ui-state-hover {
    background: #f7f7f7;
}
.ui-datepicker-calendar .ui-state-active {
    background: #FFF2AA;
    border: 1px solid #c19163;
    color: #666;
    -webkit-box-shadow: inset 0 0 10px 0 rgba(0,0,0,.1);
    -moz-box-shadow: inset 0 0 10px 0 rgba(0,0,0,.1);
    box-shadow: inset 0 0 10px 0 rgba(0,0,0,.1);
    text-shadow: 0 1px 0 #FFF;
    filter:dropshadow(color=#FFF, offx=0, offy=1);
    position: relative;
}
.ui-datepicker-unselectable .ui-state-default {
    background: #f4f4f4;
    color: #b4b3b3;
}
.ui-datepicker-calendar td:first-child .ui-state-active {
    width: 29px;
    margin-left: 0;
}
.ui-datepicker-calendar td:last-child .ui-state-active {
    width: 29px;
    margin-right: 0;
}
.ui-datepicker-calendar tr:last-child .ui-state-active {
    height: 29px;
    margin-bottom: 0;
}
td.ui-datepicker-unselectable.ui-state-disabled {
    background-color: #d7d7d7;
}
table.ui-datepicker-calendar {
    margin: 0!important;
}
body div#ui-datepicker-div[style] {
    z-index: 9999!important;
}