@charset "UTF-8";

/*
Theme Name: Historic Annapolis Theme
Theme URI: /themes/ha_twentytwentyone/
Author: 
Author URI: 
Description: The Historic Annapolis theme
Version: 1.0
License: GNU General Public License v2 or later
License URI: http://www.gnu.org/licenses/gpl-2.0.html
Text Domain: twentytwentyone
*/

figure {margin: 0;}

figcaption.wp-caption-text {
	font-size: 14px;
	font-style: italic;
	padding: 5px 2px;
}

p.add-to-calendar {margin-top: 30px;}

p a.more-link {display: none;}

.pagination {
	padding:1em 0;
	clear: both;
}

.page-numbers {
	padding:0 0.25em;
}

.navigation.pagination .page-numbers, 
.navigation.pagination .svg-icon, 
.navigation.pagination .nav-prev-text,
.navigation.pagination .nav-next-text {
	vertical-align: middle;
}

.ngg-galleryoverview {
	margin-top: 0;
}

.sl-overlay {background-color: #111; z-index: 9999;}

.sl-wrapper .sl-navigation button, .sl-wrapper .sl-close {color: #fff;}

.entry-content.search-results .entry-content {
	border-bottom: solid 1px #ccc;
	padding-bottom: 1em;
	margin-bottom: 1em;
}

input.search-field {
	padding: 10px;
	border: solid 1px #999;
}

.alignleft {
	display: block;
	margin:0.5em 0
}

.alignright {
	display: block;
	margin:0.5em 0
}

.aligncenter {
	clear: both;
	display: block;
	margin:0.5em auto
}

@media screen and ( min-width: 650px ) {
    .alignleft {
	    float: left;
	    margin:0.5em 3% 0.5em 0;
	    max-width: 47%;
    }
    .alignright {
	    float: right;
	    margin:0.5em 0 0.5em 3%;
	    max-width: 47%;
    } 
}

@media screen and ( min-width: 651px ) {
	#topnav {
		display: flex;
		/*flex-direction: row-reverse;*/
		align-items: center;
		justify-content: flex-end;
	}
}

/* FOOTER */
footer .bottom p.footer-remembrance {
	margin: 2em 0 1em;
    padding: 1em;
    text-align: center;
    font-size: 18px;
	line-height: 1.2;
    background-color: #7da6cf;
    color: #fff;
	-webkit-border-radius: 5px;
	-moz-border-radius: 5px;
    border-radius: 5px;
}

footer .bottom p.footer-remembrance a {
	-webkit-transition: all 0.2s ease;
	transition: all 0.2s ease;
	color: #fff;
}

footer .bottom p.footer-remembrance a:hover {
	opacity: .8;
	text-decoration: underline;
}

footer .bottom p.footer-disclaimer {
	padding-bottom: 1.5em;
}

footer .bottom p.footer-email-signup {
	display: inline-block;
	vertical-align: middle;
	padding: 0.75em 2em;
    margin-bottom: 1em;
	margin-right: 1em;
    text-align: center;
    font-size: 14px;
    background-color: #7da6cf;
    color: #fff;
    -webkit-border-radius: 50px;
    -moz-border-radius: 50px;
    border-radius: 50px;
    line-height: 1;
    font-weight: 700;
}

footer .bottom p.footer-email-signup a {
	-webkit-transition: all 0.2s ease;
	transition: all 0.2s ease;
	color: #fff;
}

footer .bottom p.footer-email-signup a:hover {
	opacity: .8;
	text-decoration: underline;
}

footer .bottom ul.footer-social-links {
	display: inline-block;
	vertical-align: middle;
	padding: 0;
	margin-bottom: 1em;
	white-space: nowrap;
}

footer .bottom ul.footer-social-links li {
	display: inline-block;
	max-width: 35px;
	padding: 0;
	padding-right: 6px;
}

footer .bottom ul.footer-social-links li img {
	border: 0;
}

/*--------------------------------------------------------------
Clearfix
--------------------------------------------------------------*/
.clearfix:before,
.clearfix:after {
    content: " "; 
    display: table; 
}

.clearfix:after {
    clear: both;
}

.clearfix {
    *zoom: 1;
}
