/*
custom
.thumbnail, .pretty, .wp-caption, .featured-item .featured-image, .thumb-wrapper img, img[class*="wp-image"] {
    padding: 4px;
    line-height: 1.428571429;
    background-color: #fff;
    border: 1px solid #ddd;
    border-radius: 4px;
    display: block;
    margin-bottom: 15px;
}

.wp-caption img[class*="wp-image"], img.no-border {
    padding: 0;
    0 background-color: transparent;
    border: none;
    border-radius: 0;
    margin-bottom: 0;
}
*/
html, body {
    font-size: 18px;
}

body a, #ctf p.ctf-media-link, #ctf p.ctf-tweet-text {
    line-height: 125%
}

h1 {
    font-size: 26px;
    margin-bottom: 20px;
}

.list-wrap .entry-title, .post_grid .entry-title, h2 {
    font-size: 23px
}

.fixed-sidebar .widget-title, h3 {
    font-size: 19px;
    font-weight: bold;
}

hr {
    border-top: 1px solid #000;
}

.menu-sticky #menu-search-popup {
    display: none;
}

.header-top>.wrap {
    padding: 0;
}

@media (max-width: 1060px) {
    .sf-menu li .menu-btn, .sf-menu ul.sub-menu .menu-btn, .sf-menu .mega-section-header {
        font-size: 18px;
    }

    body #branding>.wrap ul.sf-menu>li>a {
        padding-left: 10px;
        padding-right: 10px;
    }
}

@media (max-width: 767px) {
    .entry-content>.row>* {
        padding-bottom: 20px;
        border-bottom: solid 1px #cccccc;
        margin-bottom: 20px;
    }

    .entry-content>.row>*:last-child {
        padding-bottom: 0;
        border-bottom: none;
        margin-bottom: 0;
    }

    .logo.header-nav .wrap .site-logo img {
        height: inherit !important
    }
}

@media (min-width: 768px) {
    .menu-icon-home span {
        display: none;
    }

    .header-content .site-logo, .header_logo_image.logo-mobile {
        width: 100%;
    }

    #menu-main-menu {
        clear: both;
    }

    .fix-menu #menu-main-menu {
        clear: none;
    }

    body #branding>.wrap .logo.header-nav ul.sf-menu>li>a {
        padding-top: 20px !important;
        padding-bottom: 24px !important;
    }

    .fix-menu.logo.header-nav .wrap .site-logo {
        padding: 15px 0 !important;
    }

    .fix-menu .tb-primary-menu {
        float: right;
    }

    .fix-menu .sf-menu li .menu-btn {
        font-size: 16px;
    }

    .fix-menu.logo.header-nav .wrap .site-logo img {
        height: 35px !important;
    }
}

body #top #branding>.wrap .center div>ul.sf-menu {
    float: left;
}

#access.fix-menu {
    background-color: rgba(255, 255, 255, 1) !important;
}

/* home */
/*
.home #content {
    max-width: 100%;
    width: 800px;
}

/* news */
.ctf {
    font-family: arial, sans-serif !important;
}

.jma-news-list-item {
    margin-bottom: 20px;
    border-bottom: solid 1px #000000;
}

/*
.jma-news-list-item:last-child {
    margin-bottom: 0;
    border-bottom: none
}*/
.jma-list-date {
    display: block;
    margin-bottom: 3px;
}

.jma-news-list-item a {
    font-size: 20px;
}

.jma-news-list-item img {
    max-width: 100%;
    margin-bottom: 5px;
    display: block;
}

.jma-news-list-item.highlight {
    display: block;
    padding: 5px;
    background: #eee;
    border: solid 2px red;
}

.ctf-tweet-content {
    max-width: 100%;
}

.btn.pdf-btn {
    display: block;
    text-align: center;
    white-space: normal;
    text-transform: none;
    font-size: 18px
}

/* email page */
.ctct-form-field abbr {
    text-decoration: none;
}

/* single blog */
.blog-wrap>article>.featured-item, article.single>.featured-item {
    float: right;
    width: 40%;
    margin: 0 0 20px 20px;
}

/* current projects */
.page-id-64 .entry-content>.row>.col-sm-8 {
    padding-right: 90px;
}

/* prev projects */
.jmayt-item h3.jmayt-title {
    display: none;
}

/* contact */
.wpcf7 label {
    width: 100%
}

.footer-content {
    background-color: #ffffff;
}

.admin-only {
    display: none;
}

.logged-in .admin-only {
    display: block;
}