/*!
	Theme Name: Hello Elementor Child
	Theme URI: https://github.com/pojome/elementor-hello-theme
	Description: A child theme for the Hello Elementor template
	Template: hello-elementor
	Author: Stone Ward
	Author URI: https://www.stoneward.com
	Version: 1.0
	Text Domain: hello-elementor-child
*/

/* See scss/bhco.scss for custom styles */

h1, h2, h3, h4, h5, h6 {
    margin-top: 1rem;
    font-family: 'merriweather', Sans-serif;
    font-weight: 500;
    color: #001a71;
}

h2 {
    font-size: 1.6rem;
}

h3 {
    font-size: 1.3rem;
}

h4 {
    font-size: 1rem;
}

a {
    color: #0274be;
}

strong, b {
    font-weight: 600;
}

blockquote {
    font-style: italic;
    border-left: 4px solid #00b040;
    padding: 12px 16px 8px 16px;
    font-size: 1.2em;
}

a.btn-default {
    padding: 12px 16px;
    background-color: #001a71;
    color: #fff;
    border-radius: 4px;
}

a.btn-default:hover {
    color: #fff;
}

.doctor-appointment-button {
    font-size: 1rem;
    color: #fff !important;
    background-color: #001a71;
    font-family: proxima-nova, Sans-serif;
    border-radius: 0;
    float: right;
    line-height: 1.3em;
    padding: 10px 20px;
    display: inline-block;
    text-align: center;
    -webkit-transition: all .5s;
    -o-transition: all .5s;
    transition: all .5s;
    margin-bottom: 1em;
}

.doctor-appointment-button:hover, .doctor-appointment-button:focus {
    background-color: #1a348b;
    text-decoration: none !important;
}

.doctor-appointment-button i.eci {
    margin-right: 0.8rem;
    font-size: 1.2rem;
    display: inline-block;
    width: 20px;
    text-align: center;
    vertical-align: middle;
}

@media screen and (max-width: 767px) {
	.doctor-appointment-button {
    	float: none;
    }
}

#doctor-main-location-name {
    font-family: 'merriweather', Sans-serif;
    font-size: 1.2rem;
    font-weight: 500;
    color: #001a71;
}

h2#other-doctor-locations-header {
    font-size: 1.2rem;
    margin-top: 1em;
}

#other-doctor-locations-list {
    list-style-type: none !important;
    padding-left: 0;
}

#other-doctor-locations-list li:before {
    content: "\f138";
    display: inline-block;
    font: normal normal normal 17px/1 FontAwesome;
    font-family: "Font Awesome 5 Free";
    text-rendering: auto;
    -webkit-font-smoothing: antialiased;
    margin-right: 10px;
    color: #00b040;
    font-weight: 900;
}

/*.page-cta h3::after {
    content: "\f0c1";
    font-family: "Font Awesome 5 Free";
    font-weight: 900;
    margin-left: 8px;
    font-size: 1.1rem;
    color: #00b040;
}*/

/* Temporary Swiftype search results page tweaks */
body.search.search-results img.attachment-post-thumbnail.size-post-thumbnail.wp-post-image {
    max-height: 250px;
    width: auto;
}

body.search.search-results .page-header {
    padding: 2em 0;
}

body.search.search-results .page-content p {
    border-bottom: 1px solid #e5e5e5;
    padding-bottom: 2em;
}

body.search.search-results h2 {
    margin-top: 1em;
}

body.search.search-results .site-main {
    padding-bottom: 3em;
}

/* Hide all sidebar items by default, enable display if "parent page" has children */
#services-sidebar .child-sidebar-menu > li.page_item {
    display: none;
}

#services-sidebar .child-sidebar-menu > li.page_item.has_children {
    display: block;
}

/* Update all Gutenberg buttons to consistent styling */
.wp-block-button__link {
    font-family: "merriweather", Sans-serif;
    font-size: 16px;
    background-color: #001a71;
    color: #fff;
    border-radius: 4px;
    padding: 10px 30px;
}

.wp-block-button__link:hover, .wp-block-button__link:focus {
    background-color: #1a348b !important;
}

/* Blog sidebar search form */
.blog-search-form input#query {
    border-color: #fff;
    width: calc(100% - 61px);
    border-radius: 0;
}

.blog-search-form input#query:focus {
    outline: 5px auto -webkit-focus-ring-color;
}

.blog-search-form input.blog-search-submit {
    margin-left: 6px;
    color: #001a71;
    border-color: #001a71;
}

.blog-search-form input.blog-search-submit:hover, .blog-search-form input.blog-search-submit:focus {
    background-color: #001a71;
    color: #fff;
}

iframe[src="javascript:false"] {
    display: block;
}

.alert-btn-sm {
    margin: 0 8px; 
    font-size: 14px;
    background-color: #001a71;
    color: #fff;
    border-radius: 4px;
    padding: 4px 10px;
    white-space: nowrap;
}

.alert-btn-sm:hover, .alert-btn-sm:focus {
    background-color: #1a348b;
    color: #fff;
}

@media screen and (max-width: 500px) {
    .alert-btn-sm {
        margin-left: 8px;
    }
}

.youtube-playlist-link-container {
    padding: 0 1em 4em;
    text-align: center;
}

a#youtube-playlist-link {
    padding: 1em 2em;
    background-color: #001a71;
    color: #ffffff;
}

a#youtube-playlist-link:hover, a#youtube-playlist-link:focus {
    background-color: #1a348b;
}

button.slick-next.slick-arrow:focus, button.slick-prev.slick-arrow:focus {
    outline: 5px auto -webkit-focus-ring-color;
}

.slick-active button:focus {
    outline: 5px auto -webkit-focus-ring-color !important;
}

.uael-overlay {
    z-index: 9997;
}

.elementor-element.elementor-button-danger a.elementor-button {
    background-color: #D4403A;
}

.elementor-element.elementor-button-danger a.elementor-button:hover, .elementor-element.elementor-button-danger a.elementor-button:focus {
    background-color: #BB2721;
}

#google_translate_element {
    min-width: 12em;
}

@media only screen and (min-width: 768px) {
    /* accommodate for sticky header */
    .elementor-menu-anchor {
        position: absolute;
        top: -130px;
        z-index: -1;
    }
}

/* Add bottom margin to post content ul/ol elements */
.elementor-widget-theme-post-content .elementor-widget-container ul, .elementor-widget-theme-post-content .elementor-widget-container ol {
    margin-bottom: 0.9rem;
}