/*  Style Overrides for Theatre Eddys site */

.align-center {
    text-align: center;
    margin: 0 auto;
    display:block;
}
article div {
    margin-bottom: 15px;
}

.site-header .search-form {
    float: left;
    width: 100%;
}

.site-header .widget-area {
    width: 360px;
}

.search-form-input {
    width: calc(100% - 104px);
}

.widget_search input[type="submit"], .widget_search input[type="submit"]:focus {
    border: 0;
    clip: inherit;
    height: 100%;
    margin: 0;
    padding: 16px 24px;
    position: unset;
    width: auto;
}
.widget_search input[type="submit"]:focus{
    background-color: #000;
    box-shadow: none;
    color: #fff;
    display: inline-block;
    font-size: 14px;
}

.wp-custom-logo .title-area {
    /*background-color: darkred;*/
    /*padding: 2.5em 1.5em 2em;*/
    /*border: 5px solid darkgoldenrod;*/
    /*border-radius: 50px;*/
    position: relative;
    margin-left: 0 !important;
    margin-right: 0 !important;
    padding: 2em 0;
    max-width: 700px !important;
}

.wp-custom-logo .title-area p.site-description {
    height: auto;
    width: 100%;
    clip: unset;
    padding-left: 20px;
    font-size: 1.2em;
    font-style: italic;
    letter-spacing: 1px;
    color: #222;
    font-family: Roboto, sans-serif;

}

.site-header .wrap {
    border: none;
    padding-bottom: 0;
}

.ab-post-grid-section-title, .sidebar .widget-title {
    /*background-color: darkred;*/
}

.widget-area .enews-widget {
    background-color: #F4F4F4;
    border: 2px solid #222;
    color: #222;
}

.widget-area .enews-widget .widget-title {
    color: #222;
}

.button-more-link .ab-block-post-grid-more-link {
    border-radius: 50px;
    width: 50%;
    margin: 20px auto 0;
}

.button-more-link .ab-block-post-grid-more-link:hover {
    background-color: #000;
    color: #fff;
}


#recent-reviews .listing-item {
    margin-bottom: 20px;
    display: flex;
}

#recent-reviews .listing-item div:first-of-type {
    margin-right: 20px;
}

#recent-reviews img {
    min-width: 150px;
}

#recent-reviews p {
    margin-bottom: 0;
    padding-left: 10px;
}

#recent-reviews h3 {
    margin: 10px 0;
}

.nav-links {
    line-height: 1.25;
}

/* Next/Previous navigation */
.display-posts-pagination {
    margin: 5em 0;
    width: 100%;
    max-width: 100%;
}

.display-posts-pagination .nav-links {
    display: flex;
    flex-direction: column;
    margin: 0 1rem;
    max-width: 100%;
}


@media only screen and (min-width: 768px) {
    .display-posts-pagination .nav-links {
        display: flex;
        flex-direction: row;
        padding: 0 calc(.5 * 1rem);
    }
}
.display-posts-pagination .nav-links a:focus {
    text-decoration: underline;
    outline-offset: -1px;
}

.display-posts-pagination .nav-links *.page-numbers {
    padding: 1em;
}
.display-posts-pagination .nav-links *.page-numbers.current {
    font-weight: bold;
    border: 1px dotted #e1e1e1;
}
.display-posts-pagination .nav-links *.page-numbers.prev, .display-posts-pagination .nav-links *.page-numbers.next {
    background-color: #222;
    color: #fff;
    padding: 1em 2em;
}
.display-posts-pagination .nav-links *.page-numbers.prev:hover,
.display-posts-pagination .nav-links *.page-numbers.next:hover {
    background-color: #1e73be;
}

@media only screen and (max-width: 1180px) {
    .wp-custom-logo .title-area {
        max-width: 620px !important;
    }

    .site-header .widget-area {
        width: 300px;
    }

}

@media only screen and (max-width: 840px) {
    .wp-caption {
        width: 100% !important;
    }

    .wp-caption img {
        width: 100% !important;
    }
}