body {
    background: white;
    background-attachment: fixed;
    line-height: 1.5;
    font-size: 18px;
    font-family: 'cambria', serif;
    color: #444;
}
.container {
    background: #fff;
}
.elpcom2 p {
    margin-bottom: 1em;
}
h1 {
    text-align: center; margin-bottom: 0;
    font-family: 'Abel', sans-serif;
    font-size: 2.25em;
    margin-bottom: 0.15em;
    margin-top: 0.25em;
}
h1 a,
h1 a:active,
h1 a:visited,
h1 a:hover {
    color: inherit;
    font-family: inherit;
    font-weight: inherit;
    text-decoration: inherit;
}
h2 {
    font-family: 'Abel', sans-serif;
    font-size: 1.875em;
    margin-top: 0;
}
h2 a, 
h2 a:active,
h2 a:hover,
h2 a:visited {
    font-family: 'Abel', sans-serif;
    color: inherit;
    font-weight: inherit;
    text-decoration: none;
}
h3 {
    font-family: 'Abel', sans-serif;
    font-size: 1.2em;
    margin-bottom: 0.2em;
    margin-top: 0;
}
h3 a {
    color: inherit !important;
    font-weight: bold !important;
    text-decoration: none;
}
h3 a:hover {
    text-decoration: underline;
}
h4 {
    font-size: 1em;
    font-family: 'Abel', sans-serif;
    margin: 0 0 1em 0;
}
h4 a {
    color: inherit !important;
    font-weight: bold !important;
    text-decoration: none;
}
h4 a:hover {
    text-decoration: underline;
}
ul {
    text-align: left;
}
.thumbnail {
    background: #fff;
}
.thumbnail img {
    border: 1px solid #ddd;
}
img.float-left {
    float: left;
    display: inline-block;
    padding: 0 0.5em 5px 0;
}

/** Layout utility classes **/

.margin-image {
    position: absolute;
    top: 5px;
    left: 5px;
}
.margined-column {
    padding: 0.5em 0.5em 0.5em 90px;
}

/** Header **/

.region-header {
}

/** Content **/

/** Footer **/

.region-footer {
    border-top: solid 1px rgb(221,221,221);
    padding: 1.5em 0.5em 0.5em 0.5em;
    text-align: center;
    line-height: 1.6;
}

.region-footer .block {
    padding-top: 0;
}

.region-footer .block .content {
    border: none;
}

/** General node theme **/

.node-article .field-name-body {
    background: url('ornament.png') bottom center no-repeat;
    padding-bottom: 8px;
}
.node .submitted {
    margin-bottom: 1em;
    border-bottom: solid 1px rgb(221,221,221);
}
.node ul.links {
    display: block;
    text-align: center;
}
.node .links li {
    display: inline-block;
}
.node .field-name-field-tags .field-label {
    display: inline;
    font-weight: normal;
}
.node .field-name-field-tags .field-items {
    display: inline;
}
.node .field-name-field-tags .field-item {
    display: inline;
}
.node .field-name-field-tags .field-item::after {
    content: ", ";
}
.node .field-name-field-tags .field-item:last-child::after {
    content: "";
}
.node .field-name-field-image {
    margin-bottom: 1em;
}
.node .field-name-body {
    text-align: justify;
}
.node-readmore {
    display: none !important;
}

.article-image {
    float: left;
    margin-top: 0.25em;
    margin-right: 1.5em; margin-bottom: 1em;
}

.block {
    padding-top: 1.75em;
}
.block .content {
    border-bottom: solid 2px #ddd;
}
.block .content .content {
    border: none;
}

/** Main menu **/
#block-system-main-menu {
    padding-top: 0;
}
#block-system-main-menu .content {
    text-align: center;
}
#block-system-main-menu h3 {
    display: none;
}
#block-system-main-menu .content ul {
    margin: 0;
    padding: 0;
    list-style: none;
    display: flex;
    flex-wrap: wrap;
    justify-content: space-between;
    font-size: 1.2em;
    text-align: justify;
}
#block-system-main-menu .content li {
    display: inline-block;
    margin: 0 0.25em -0.25em 0.25em;
    padding: 0;
}
#block-system-main-menu .content li:first-child {
    margin-left: 0;
}
#block-system-main-menu .content li:last-child {
    margin-right: 0;
}
#block-system-main-menu .content li.active-trail a,
#block-system-main-menu .content li.active-trail a:visited,
#block-system-main-menu .content li.active-trail a:active {
    color: #444;
}
#block-system-main-menu .content li a,
#block-system-main-menu .content li a:visited,
#block-system-main-menu .content li a:active
{
    color: #999;
    display: inline-block;
    font-family: Abel;
    font-weight: inherit;
    text-decoration: inherit;
}
#block-system-main-menu .content li a:hover
{
    color: rgb(51,51,51);
}

/** Sidebar **/
.region-sidebar-first .content {
    font-size: 14px;
}

/** Recent updates block **/

.recent-update .content {
    line-height: 1;
    margin-bottom: 0.6em;
}

/** Comments block **/

li.dsq-widget-item {
    margin: 1em 0 !important;
    border:solid 1px #ddd;
    border-radius: 5px;
    padding: 5px;
}

img.dsq-widget-avatar {
    display: inline-block !important;
    width: 1.5em !important;
    height: 1.5em !important;
    display: inline-block !important;
    margin-right: 0.5em !important;
}

.dsq-widget-comment {
    display: block;
    clear: both;
}

/** Tagcloud block **/

.block-tagclouds .content, .tagclouds {
    font-family: 'Helvetica Nueue', Helvetica, sans-serif !important;
    font-weight: bold !important;
    text-align: center;
    line-height: 1.2;
}
.tagclouds-term {
    display: inline-block;
    margin-right: 0.5em;
}
#block-block-4 {
    padding-top: 10px;
}

ul.pager {
    margin-top: 1em;
    margin-bottom: 1em;
}

/** Projects view **/

.view-projects {
    padding-top: 0;
}

.view-projects .thumbnail {
    height: 10em;
    overflow: hidden;
    position: relative;
}
.view-projects .views-field-title a {
    display: block;
    position: relative;
    z-index: 2;
    background-color: rgba(255,255,255,0.75);
    padding: 0.25em;
    line-height: 1;
    font-family: 'Abel', Helvetica, sans-serif;
    font-size: 1.2em;
    border: solid 1px #ccc;
}

.view-projects .thumbnail {
    background: #ddd;
}
.view-projects .thumbnail img {
    position: absolute;
    top: 50%;
    left: 50%;
    margin-left: -50%;
    margin-top: -50%;
    z-index: 0;
}
.view-projects h2 {
    border-bottom: solid 1px rgb(221,221,221);
}
.view-projects a,
.view-projects a:hover,
.view-projects a:visited,
.view-projects a:active {
    text-decoration: inherit;
    color: inherit;
}
@media (max-width: 512px) {
    .headshot img {
        width: 80px;
    }
}

.contact-form label {
    display: block;
    margin-bottom: 0;
}

.contact-form .form-item:first-child {
    margin-top: 0;
}
