/* 
Theme Name: Aha! Template
Description: A child theme for Hello Elementor, created by Aha! Creative
Author: Aha! Creative
Author URI: https://aha-creative.com/
Template: hello-elementor
Version: 1.0.1
Text Domain: aha-theme
License: GNU General Public License v3 or later.
License URI: https://www.gnu.org/licenses/gpl-3.0.html
*/

html, body {
    height: 100%;
}

body {
    display: flex;
    flex-direction: column;
}

.hentry, .aha-main-content {
    flex: 1 0 auto;
}

.sr-only-button-text .elementor-button-text {
    border: 0 !important;
    clip: rect(1px, 1px, 1px, 1px) !important;
    -webkit-clip-path: inset(50%) !important;
    clip-path: inset(50%) !important;
    height: 1px !important;
    overflow: hidden !important;
    margin: -1px !important;
    padding: 0 !important;
    position: absolute !important;
    width: 1px !important;
    white-space: nowrap !important;
}

.elementor-widget-text-editor ul:not(:last-child){
    margin-bottom: .9rem;
}

/** IMAP Shortcode **/

.imap-wrapper {
    display: block;
    margin: auto;
    max-width: 922px;
    position: relative;
}

.imap-wrapper > img {
    max-width: 100%;
    height: auto;
    margin: auto;
    display: block;
}

#countyName {
    position: absolute;
    top: 0;
    right: 0;
    color: white;
    background: #1f3044;
    padding: 10px;
}

#countyInfo {
    padding: 14px;
}

#countyInfo p,
#countyInfo h2,
#countyInfo .fas {
    color: #1f3044;
    font-size: 92%;
}

#countyInfo p {
    margin-bottom: 25px;
}

#countyInfo h2 {
    font-size: 150%;
    text-align: center;
    border-bottom: solid 3px #1f3044;
    padding-bottom: 5px;
    font-family: "Open Sans", Arial, sans-serif;
}

#countyInfo a.btn {
    width: 100%;
    background: #1f3044;
    display: block;
    text-align: center;
    padding: 8px 0;
    font-size: 125%;
    font-weight: bold;
    color: #fff;
}

.county-map {
    display: flex;
    max-width: 1250px;
    margin: auto auto 40px;
    background: white;
}

.county-map > .map-panel {
    width: 75%;
}

.county-map > .info-panel {
    background: white;
    width: 25%;
}

.imapTarget {
    cursor: pointer;
}

.county-list {
    display: flex;
    flex-wrap: wrap;
}

.county-list a {
    background: #1f3044;
    padding: 10px 15px;
    color: white;
    flex-grow: 1;
    text-align: center;
    font-size: 110%;
}

.county-list a:hover {
    background: #b9872f;
}

@media (max-width: 880px) {
    .county-map {
        display: block;
    }

    .county-map > .map-panel,
    .county-map > .info-panel {
        width: 100%;
    }

    #countyInfo > p,
    #countyInfo > a {
        max-width: 300px;
        margin: auto;
    }

    #countyInfo > p {
        margin-top: 15px;
        margin-bottom: 15px;
    }
}