/* 
Theme Name:		Hello Elementor Child
Theme URI:		https://elementor.com/
Description:	Hello Elementor Child is a child theme of Hello Elementor, created by Elementor team
Author:			Elementor Team
Author URI:		https://elementor.com/
Template:		hello-elementor
Version:		6.2.0
Text Domain:	hello-elementor-child
Tags:           flexible-header, custom-colors, custom-menu, custom-logo, editor-style, featured-images, rtl-language-support, threaded-comments, translation-ready
*/

/*
    Add your custom styles here
*/

/* WP Gallery */
.gallery:after {content:"";display:table;clear:both;}
img.aligncenter, div.aligncenter, figure.aligncenter, img.wp-post-image {display:block; margin:1em auto;}
img.alignright, div.alignright, figure.alignright {float:right; margin:1em 0 1em 2em;}
img.alignleft, div.alignleft, figure.alignleft, img.wp-post-image.attachment-thumb {float:left; margin:1em 1em 2em 0;}
figure {max-width: 100%; height: auto; margin:1em 0;}
p img.alignright, p img.alignleft {margin-top:0;}
.gallery figure img {max-width:100%; height:auto; margin:0 auto; display:block;}
.gallery figure {float:left; margin:0 2% 1em 0;}
.gallery.gallery-columns-1 figure {width:100%; margin:0 0 1em 0; float:none;}
.gallery.gallery-columns-3 figure {width:32%;}
.gallery.gallery-columns-3 figure:nth-of-type(3n+3) {margin-right:0;}
.gallery.gallery-columns-3 figure:nth-of-type(3n+4) {clear:left;}
.gallery.gallery-columns-2 figure {width:49%;}
.gallery.gallery-columns-2 figure:nth-of-type(even) {margin-right:0;}
.gallery.gallery-columns-2 figure:nth-of-type(odd) {clear:left;}
.gallery.gallery-columns-4 figure {width:23.25%;}
.gallery.gallery-columns-4 figure:nth-of-type(4n+4) {margin-right:0;}
.gallery.gallery-columns-4 figure:nth-of-type(4n+5) {clear:left;}
.gallery.gallery-columns-5 figure {width:18%;}
.gallery.gallery-columns-5 figure:nth-of-type(5n+5) {margin-right:0;}
.gallery.gallery-columns-5 figure:nth-of-type(5n+6) {clear:left;}
.gallery.gallery-columns-6 figure {width:14.2%;}
.gallery.gallery-columns-6 figure:nth-of-type(6n+6) {margin-right:0;}
.gallery.gallery-columns-6 figure:nth-of-type(6n+7) {clear:left;}
.gallery.gallery-columns-7 figure {width:12%;}
.gallery.gallery-columns-7 figure:nth-of-type(7n+7) {margin-right:0;}
.gallery.gallery-columns-7 figure:nth-of-type(7n+8) {clear:left;}
.gallery.gallery-columns-8 figure {width:10.2%;}
.gallery.gallery-columns-8 figure:nth-of-type(8n+8) {margin-right:0;}
.gallery.gallery-columns-8 figure:nth-of-type(8n+9) {clear:left;}
.gallery.gallery-columns-9 figure {width:8.85%;}
.gallery.gallery-columns-9 figure:nth-of-type(9n+9) {margin-right:0;}
.gallery.gallery-columns-9 figure:nth-of-type(9n+10) {clear:left;}
@media (max-width:767px) {
    img.alignright, div.alignright, figure.alignright, img.alignleft, div.alignleft, figure.alignleft, img.wp-post-image.attachment-thumb {display:block; margin:1em auto; float:none;}
    .gallery.gallery-columns-4 figure, .gallery.gallery-columns-5 figure, .gallery.gallery-columns-6 figure, .gallery.gallery-columns-7 figure, .gallery.gallery-columns-8 figure, .gallery.gallery-columns-9 figure {width:100%; margin:0 0 1em 0; float:none;}
}

/* =YouTube Responsive Embed
-------------------------------------------------------------- */
.embed-responsive {
    position: relative;
    display: block;
    height: 0;
    padding: 0;
    overflow: hidden;
    margin-bottom: 2em;
}
.embed-responsive .embed-responsive-item,
.embed-responsive iframe {
    position: absolute;
    top: 0;
    bottom: 0;
    left: 0;
    width: 100%;
    height: 100%;
    border: 0;
}
.embed-responsive-16by9 {
    padding-bottom: 56.25%;
}

/* = Facebook Tall Embed
-------------------------------------------------------------- */
.facebook-vid-tall {
    overflow:hidden !important;
    padding-bottom:156.25% !important;
    position:relative !important;
    height:0 !important;
}
.facebook-vid-tall iframe, .facebook-vid-tall .iframe-container {
    left:0 !important;
    top:0 !important;
    height:100% !important;
    width:100% !important;
    position:absolute !important;
}
/* Audio player */
.mejs-container { margin-bottom: 1em; }

.elementor-widget-theme-post-content ul, .elementor-widget-theme-post-content ol { margin-bottom: 2em; }
#fb-root { max-width: 100%; }

blockquote { margin-right: 1.5rem; margin-left: 1.5rem; font-style: italic; }

.elementor-text-editor ul, .elementor-text-editor ol { margin-left: 1.25rem; }
.elementor-text-editor ul li, .elementor-text-editor ol li { margin-bottom: 0.5rem; }

.wp-block-jetpack-subscriptions__container #subscribe-email,
.wp-block-jetpack-subscriptions__container #subscribe-submit {
    display: inline-block;
}
main .wp-block-jetpack-subscriptions__container #subscribe-email,
main .wp-block-jetpack-subscriptions__container #subscribe-submit,
main .wp-block-jetpack-subscriptions__container #subscribe-email input[type=email],
main .wp-block-jetpack-subscriptions__container #subscribe-submit button[type=submit] {
    width: 100%;
}
footer .wp-block-jetpack-subscriptions__container #subscribe-email {
    width: 66%;
}
footer .wp-block-jetpack-subscriptions__container #subscribe-email input[type=email] {
    padding: 14px 14px 8px;
}
footer .wp-block-jetpack-subscriptions__container #subscribe-submit {
    width: 33%;
}
@media (max-width: 480px) {
    footer .wp-block-jetpack-subscriptions__container #subscribe-email,
    footer .wp-block-jetpack-subscriptions__container #subscribe-submit,
    footer .wp-block-jetpack-subscriptions__container #subscribe-email input[type=email],
    footer .wp-block-jetpack-subscriptions__container #subscribe-submit button[type=submit] {
        width: 100%;
    }
}
