/**
Theme Name: Astra Child
Author: Brainstorm Force
Author URI: http://wpastra.com/about/
Description: Astra is the fastest, fully customizable & beautiful theme suitable for blogs, personal portfolios and business websites. It is very lightweight (less than 50KB on frontend) and offers unparalleled speed. Built with SEO in mind, Astra comes with schema.org code integrated so search engines will love your site. Astra offers plenty of sidebar options and widget areas giving you a full control for customizations. Furthermore, we have included special features and templates so feel free to choose any of your favorite page builder plugin to create pages flexibly. Some of the other features: # WooCommerce Ready # Responsive # Compatible with major plugins # Translation Ready # Extendible with premium addons # Regularly updated # Designed, Developed, Maintained & Supported by Brainstorm Force. Looking for a perfect base theme? Look no further. Astra is fast, fully customizable and beautiful theme!
Version: 1.0.0
License: GNU General Public License v2 or later
License URI: http://www.gnu.org/licenses/gpl-2.0.html
Text Domain: astra-child
Template: astra
*/

/*=======================*/
/* ===== GENERAL ===== */
/*=======================*/

/* Make footer sticky to bottom */
div.site#page {
	display: flex;
	flex-flow: column;
	min-height: 100vh;
}
div.site#page footer {
	margin-top: auto;
}
/* Fix for admin loaded */
body.admin-bar div.site#page {
	min-height: calc(100vh - 50px);
}

/* Helpers */
.custom-hide {display: none !important;}

/* Defaults */
.elementor-widget-text-editor.list-double-separate ul li {
	padding-bottom: 2rem;
}
blockquote {font-size: 1rem;}

input[type=email], input[type=number], input[type=password], input[type=reset], input[type=search], input[type=tel], input[type=text], input[type=url], select, textarea {
	background: transparent;
	border-color: #000;
}

.elementor-button {background-color: #000;}
.ast-single-post .entry-content a.elementor-button,
.ast-single-post .entry-content h2 a {text-decoration: none;}
/* .ast-single-post .entry-content a, .ast-comment-content a:not(.ast-comment-edit-reply-wrap a) {text-decoration: none;} */

/* Header */
.site-title, .site-title a {
	word-spacing: .5em;
	text-decoration: none !important;
}

@media (min-width: 545px) and (max-width: 1200px) {
	.site-title, .site-title a {
		word-spacing: .2em;
		font-size: 1.25em;
	}
}

/* Menús */
.site-header-section .ast-builder-menu .menu-item > .menu-link {
	font-size: 0.8rem;
	/* padding: 0 1.2rem; */
}

@media (min-width: 922px) and (max-width: 1090px) {
	.site-header-section .ast-builder-menu .menu-item > .menu-link {
		padding: 0 0.4em;
	}
}

/* Submenu */
.ast-builder-menu-1 .sub-menu, .ast-builder-menu-1 .inline-on-mobile .sub-menu {
	border: 1px solid #000;
	box-shadow: none;
}
.site-header-section .ast-builder-menu .sub-menu .menu-item:not(:last-child) {border-bottom: 1px solid #000;}
.main-header-menu .sub-menu .menu-item > .menu-link {padding: 1.2em;}
.site-header-section .ast-builder-menu .sub-menu .menu-item.current-menu-item > .menu-link,
.site-header-section .ast-builder-menu .sub-menu .menu-item:hover > .menu-link {background: #000; color: #FFF;}
.ast-builder-menu-1 .sub-menu .menu-item > .menu-link {line-height: 1.2em;}


/* content */

.ast-separate-container {
	background-color: #fff;
}

/* elementor general*/

.elementor-column-gap-default > .elementor-column > .elementor-element-populated {
	padding: 0;
}

/* Footer */

#astra-footer-menu .menu-item { text-align: center;}

#astra-footer-menu .menu-item > a,
ul#astra-footer-menu li:last-child > a {padding: 0;}

ul#astra-footer-menu li > a {padding: 0 1em 0 0;}

ul#astra-footer-menu.astra-footer-horizontal-menu > li:not(:last-child) .menu-link:after {
	content: "|";
	display: block;
    margin-left: 1em;
	margin-right: 1em;
}

/* .ast-footer-copyright p {font-family: 'Roboto', sans-serif;} */

footer {
	font-family: 'Raleway', sans-serif;
}

@media screen and (max-width: 921px) {
	.footer-widget-area[data-section="section-footer-menu"] .astra-footer-tablet-vertical-menu {display: flex;}
}
@media screen and (min-width: 640px) {
	.site-footer-section.site-footer-section-1 {order: 2;}
	.site-footer-section.site-footer-section-2 {order: 1;}
	.ast-footer-copyright {text-align: left;}
	.footer-widget-area[data-section="section-footer-menu"] .astra-footer-horizontal-menu {justify-content: flex-end;}
}
@media screen and (max-width: 639px) {
	.ast-builder-grid-row-container.ast-builder-grid-row-tablet-2-equal .ast-builder-grid-row {grid-template-columns: none;}
	.footer-widget-area[data-section="section-footer-menu"] .astra-footer-horizontal-menu {justify-content: center;}
}

figcaption {}
figcaption .title {display: none;}
figcaption .caption {}
figcaption .date {}
figcaption .measures {}
figcaption .photographer {}

figcaption .date,
figcaption .measures,
figcaption .photographer {
	font-size: 0.6em;
}

/* Custom Gallery w descriptions  LAYOUT  */

/* Menu sstyled as selector */

.custom-gallery-selector {font-family: 'Raleway', sans-serif;padding-top: 3rem;}

.custom-gallery-selector .elementor-element ul.sub-menu {
	width: 100% !important;
	min-width: 100% !important;
}
.custom-gallery-selector .elementor-element ul.sub-menu li a.uael-sub-menu-item {padding-left: 15px !important;}

.custom-gallery-selector .elementor-element .sub-menu li.menu-item {
	border-bottom: 1px solid #000000 !important;
	border-right: 1px solid #000000;
	border-left: 1px solid #000000;
}

.custom-gallery-selector .uael-nav-menu a.uael-menu-item,
.custom-gallery-selector .uael-nav-menu a.uael-sub-menu-item {justify-content: center;}

.custom-gallery-selector .elementor-element .sub-menu li.menu-item.current-menu-item a {
	background-color: #000;
	color: #FFF;
}

.custom-gallery-selector .elementor-element .sub-menu li.menu-item:hover a {
	background-color: #000;
	color: #FFF;
}

.custom-gallery-selector .elementor-button-wrapper .elementor-button {
	background-color: #FFF !important;
	color: #000 !important;
	border: 1px solid #000;
}

/* Fix the arrow icon */
.uael-submenu-icon-classic .uael-nav-menu .parent-has-child .sub-arrow i:before {
	content: '';
	background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='14.654' height='7.429' viewBox='0 0 14.654 7.429'%3E%3Cpath d='M3783,223l6.972,6.382L3796.98,223' transform='translate(-3782.662 -222.63)' fill='none' stroke='%23000' stroke-width='1'/%3E%3C/svg%3E");
	background-repeat: no-repeat;
	background-position: center center;
	background-size: contain;
	width: 1em;
    height: 1em;
    display: block;
}

.uael-nav-menu__breakpoint-none.uael-submenu-icon-classic .uael-nav-menu__layout-horizontal .menu-item-has-children .sub-menu-active a.uael-menu-item .sub-arrow i:before,
.uael-submenu-icon-classic .uael-nav-menu__layout-horizontal .menu-item-has-children .sub-menu-active a.uael-menu-item .sub-arrow i:before {
	content: '';
}

/* Override the image max-width */
.gallery-description-wrapper {
	margin: 3rem;
	padding-bottom: 3rem;
}

.gallery-description-wrapper .full-img-grid .elementor-section.elementor-section-boxed > .elementor-container {
	max-width: 100%;
}
.gallery-description-wrapper .full-img-grid img {
	width: 100%;
}

/* Galleries set imgs to height hack */
.gallery-description-wrapper .elementor-image-gallery .gallery[class*="gallery-columns"] {display: flex;min-width: fit-content;}
.gallery-description-wrapper .elementor-image-gallery .gallery[class*="gallery-columns"] .gallery-item {
	max-width: none !important;
	margin: 0 1.75rem 0 0;
}

.gallery-description-wrapper .gallery-content .gallery-icon.portrait {
	height: 100%;
	width: auto;
}

/* .gallery-description-wrapper figure.gallery-item figcaption { */
figure.gallery-item figcaption {
	position: absolute;
    top: 0;
    left: 0;
    border: 0;
    background: rgba(0,0,0,0.5);
    height: 100%;
    width: 100%;
	opacity: 0;
	color: #FFF;
	display: flex;
	flex-flow: column;
    align-items: center;
    justify-content: center;
    text-align: center;

	font-size: 35px;
	font-weight: 600;
	padding: 30px;
	font-family: 'Raleway', sans-serif;


	cursor: pointer;
	transition: opacity 0.3s ease-in;
}

/* .gallery-description-wrapper figure.gallery-item { */
figure.gallery-item {
	position: relative;
	padding: 0;
}

/* .gallery-description-wrapper figure.gallery-item:hover figcaption { */
figure.gallery-item:hover figcaption {
	opacity: 1;
}

.gallery-description-wrapper .gallery-item img {
	height: 100%;
	width: auto;
	max-width: none;
}

.swiper-container .elementor-slideshow__title {display: none!important;}
.swiper-container .elementor-slideshow__description {font-size: 30px;}
.gallery-icon {
	overflow: unset;
}

.gallery-description-wrapper .elementor-widget-image-gallery .elementor-image-gallery .gallery-icon a {
	display: contents;
}

@media screen and (max-width: 767px) {
	.gallery-description-wrapper {margin-top: 0;margin-left: 20px;margin-right: 20px;}
	.gallery-description-wrapper .elementor-widget-heading {
		padding-top: 1.75rem;
	}
	.gallery-description-wrapper .elementor-image-gallery {
		padding-bottom: 2rem;
		overflow: auto;
	}
	/* width */
	.gallery-description-wrapper .elementor-image-gallery::-webkit-scrollbar {
	  width: 20px;
	}
	/* Track */
	.gallery-description-wrapper .elementor-image-gallery::-webkit-scrollbar-track {
	  background: #fff;
	  border: 1px solid #000;
	}
	/* Handle */
	.gallery-description-wrapper .elementor-image-gallery::-webkit-scrollbar-thumb {
	  background: #000;
	}
	/* Handle on hover */
	.gallery-description-wrapper .elementor-image-gallery::-webkit-scrollbar-thumb:hover {
	  background: #555;
	}
	/* Firefox */
	.gallery-description-wrapper {
		scrollbar-color: #000000 #FFFFFF;
		scrollbar-width: 20px;
	}

	.gallery-description-wrapper .elementor-image-gallery .gallery[class*="gallery-columns"] .gallery-item {margin: 0 1.1rem 0 0;}
	/* set height to images its important */
	.gallery-description-wrapper .gallery-item img {
		height: 70vw;
	}
	.gallery-description-wrapper figure.gallery-item figcaption,
	.swiper-container .elementor-slideshow__description {font-size: 20px;}
}

@media screen and (min-width: 768px) {
	.gallery-description-wrapper {
/* 		margin: 3rem;
		padding-bottom: 3rem; */
		overflow: auto;
	}

	/* width */
	.gallery-description-wrapper::-webkit-scrollbar {
	  width: 20px;
	}
	/* Track */
	.gallery-description-wrapper::-webkit-scrollbar-track {
	  background: #fff;
	/*   box-shadow: inset 0 0 6px rgba(0, 0, 0, 0.3); */
	  border: 1px solid #000;
	}
	/* Handle */
	.gallery-description-wrapper::-webkit-scrollbar-thumb {
	  background: #000;
	}
	/* Handle on hover */
	.gallery-description-wrapper::-webkit-scrollbar-thumb:hover {
	  background: #555;
	}
	/* Firefox */
	.gallery-description-wrapper {
		scrollbar-color: #000000 #FFFFFF;
		scrollbar-width: 20px;
	}

	.gallery-description-wrapper .elementor-widget-image-gallery {
		height: calc(100% - 4.6rem);
	}
	.gallery-description-wrapper .elementor-widget-image-gallery .elementor-widget-container,
	.gallery-description-wrapper .elementor-widget-image-gallery .elementor-image-gallery,
	.gallery-description-wrapper .elementor-widget-image-gallery .elementor-image-gallery .gallery,
	.gallery-description-wrapper .elementor-widget-image-gallery .elementor-image-gallery .gallery-icon {
		display: inline-flex;
		height: 100%;
		width: auto;
	}

	.gallery-description-wrapper .elementor-image-gallery .gallery[class*="gallery-columns"] > figure:first-child {
		margin-left: 1.75rem !important;
	}
}


/* TIMELINE PLUGIN */

body .cool-timeline-horizontal .clt_caru_slider ul.slick-slider .slick-list li.slick-slide .timeline-post .content-details > p:not(:last-child),
body .cool-timeline-horizontal .clt_caru_slider ul.slick-slider .slick-list li.slick-slide .timeline-post .content-details > .custom-content > p:not(:last-child) {margin-bottom: 1.6em;}
body .cool-timeline-horizontal .clt_caru_slider ul.slick-slider .slick-list li.slick-slide .timeline-post .content-details {padding: 4rem;}

/* body .ctl-slick-next, body .ctl-slick-prev {top: -51px !important;} */
.cool-timeline-horizontal {padding: 0 30px;}
body .cool-timeline-horizontal .timeline-post .content-details {font-size: 1rem !important;}


.timeline-post .content-details .timeline-w-image-wrapper {
	display: flex;
}
.cool-timeline-horizontal .clt_caru_slider ul.slick-slider .slick-list li.slick-slide .timeline-post .content-details p.img-description {
	padding-left: 2rem;
}
.cool-timeline-horizontal .clt_caru_slider ul.slick-slider .slick-list li:nth-child(even) .timeline-post .content-details p {
	order: 2;
}
.cool-timeline-horizontal .clt_caru_slider ul.slick-slider .slick-list li:nth-child(even) .timeline-post .content-details p.img-description {
	padding-left: 0;
	padding-right: 2rem;
	order: 0;
}

.timeline-post .elementor-image-gallery > div { display: flex; }
.timeline-post .elementor-image-gallery .gallery-item { max-width: none !important;width: auto; }
.timeline-post .elementor-image-gallery .gallery-icon { display: flex;height: 100%; }
.timeline-post .elementor-image-gallery .gallery-item img  { height: 100%; }
.timeline-post .elementor-image-gallery .gallery > figure:not(:first-child)  { margin-left: 1.75rem !important; }
.timeline-post .elementor-image-gallery .gallery figure.gallery-item figcaption  { font-size: 25px; }

/*=======================*/
/* =====    BLOG   ===== */
/*=======================*/

.ast-separate-container .ast-archive-description, .ast-separate-container .ast-author-box {background: transparent;padding: 0;}
.ast-separate-container .ast-article-post {padding: 2rem 0;}
.ast-separate-container .ast-article-single {padding: 2rem;}
body.archive article .entry-meta {display: none;}

.ast-separate-container .post-navigation {padding: 2rem 0;}
.ast-separate-container .comment-respond {padding: 2rem;}


/* Aside Form */

form.wp-block-search .wp-block-search__inside-wrapper {
    display: flex;
    .wp-block-search__input {
        line-height: 1.2em;
        flex: 1 1 100%;
        width: 100%;
    }
    .wp-block-search__button {
        flex: 0 0 auto;
    }
}
form.wp-block-search .wp-block-search__input,
.wp-block-search.wp-block-search__button-inside .wp-block-search__inside-wrapper,
.wp-block-search.wp-block-search__button-inside .wp-block-search__inside-wrapper {
	background: transparent;
	border-color: #000;
}
aside .wp-block-search__label,
aside h2 {
	font-size: 1.2rem;
	font-family: 'Raleway',sans-serif;
	text-transform: uppercase;
	margin-bottom: 1.2rem;
	font-weight: bold;
}

aside .wp-block-group {padding: 2rem 0;}

aside .latest-posts li a {
	width: 100%;
	overflow: hidden;
	text-overflow: ellipsis;
	word-break: break-all;
	white-space: nowrap;
	display: inline-block;
}




/* Solve the floating elements in responsive */
.ast-row article > div[class*="blog-layout"]::after {
   content: " ";
   display: block;
   height: 0;
   clear: both;
}
@media screen and (min-width: 768px) {
	.blog-layout-3 .post-content {
		padding-left: 2em;
	}
}


/*Form*/
.gform_wrapper.gravity-theme .ginput_complex label, .gform_wrapper.gravity-theme .ginput_complex legend {
	display: none !important;
}

.elementor-1296 .elementor-element.elementor-element-3f6c0a0 .uael-gf-style .gform_wrapper input[type="email"], .elementor-1296 .elementor-element.elementor-element-3f6c0a0 .uael-gf-style .gform_wrapper input[type="text"], .elementor-1296 .elementor-element.elementor-element-3f6c0a0 .uael-gf-style .gform_wrapper input[type="password"], .elementor-1296 .elementor-element.elementor-element-3f6c0a0 .uael-gf-style .gform_wrapper input[type="url"], .elementor-1296 .elementor-element.elementor-element-3f6c0a0 .uael-gf-style .gform_wrapper input[type="tel"], .elementor-1296 .elementor-element.elementor-element-3f6c0a0 .uael-gf-style .gform_wrapper input[type="number"], .elementor-1296 .elementor-element.elementor-element-3f6c0a0 .uael-gf-style .gform_wrapper input[type="date"], .elementor-1296 .elementor-element.elementor-element-3f6c0a0 .uael-gf-style .gform_wrapper select, .elementor-1296 .elementor-element.elementor-element-3f6c0a0 .uael-gf-style .gform_wrapper .chosen-single, .elementor-1296 .elementor-element.elementor-element-3f6c0a0 .uael-gf-style .gform_wrapper .chosen-choices, .elementor-1296 .elementor-element.elementor-element-3f6c0a0 .uael-gf-style .gform_wrapper .chosen-container .chosen-drop, .elementor-1296 .elementor-element.elementor-element-3f6c0a0 .uael-gf-style .gform_wrapper textarea, .elementor-1296 .elementor-element.elementor-element-3f6c0a0 .uael-gf-style .gfield_checkbox input[type="checkbox"] + label::before, .elementor-1296 .elementor-element.elementor-element-3f6c0a0 .uael-gf-style .ginput_container_consent input[type="checkbox"] + label::before {
	border-color: #000;
}

/* Single fixes */

body.single {
    article.ast-article-single {
        padding: 0 !important;

        header.entry-header {
            margin-bottom: 1rem !important;
            & + .entry-content {
                .elementor-column-gap-default>.elementor-column>.elementor-element-populated {padding: 0 !important;}
            }
        }
        
        @media screen and (min-width: 768px) {
            header.entry-header {
                margin-bottom: 2rem !important;
            }
        }
    }
}


/*=======================*/
/* ===== RESPONSIVE ===== */
/*=======================*/

@media (min-width: 1001px) {
	/* Footer*/
	#astra-footer-menu .menu-item .menu-link:after {
		content: "|";
		margin-left: 10px;
	}

	#astra-footer-menu .menu-item:last-child .menu-link:after {
		content: none;
	}
}

/* breakpoints template */
@media (max-width: 1024px) {
	.div-imgback .elementor-widget-wrap {
		min-height: 400px;
	}
}
@media screen and (max-width: 921px) {
	header .custom-logo-link img {max-width: 60px;}
}
@media screen and (max-width: 767px) {
	.timeline-post .content-details .timeline-w-image-wrapper {
		flex-flow: column;
	}
	.cool-timeline-horizontal .clt_caru_slider ul.slick-slider .slick-list li.slick-slide .timeline-post .content-details p.img {
		order: 2;
		text-align: center;
	}
	.cool-timeline-horizontal .clt_caru_slider ul.slick-slider .slick-list li.slick-slide .timeline-post .content-details img {
		margin: 0 auto;
	}
	.cool-timeline-horizontal .clt_caru_slider ul.slick-slider .slick-list li.slick-slide .timeline-post .content-details p.img-description {
		order: 1;
		padding-left: 0;
		padding-bottom: 2rem;
	}
}

@media screen and (max-width: 544px) {
	header .custom-logo-link img {max-width: 35px;}

	body .cool-timeline-horizontal .clt_caru_slider ul.slick-slider .slick-list li.slick-slide .timeline-post .content-details {padding: 2rem;}

	blockquote {margin-left: 0;margin-right: 0;}
	blockquote.poema {font-size: 0.7em;}

	.ast-separate-container #content .ast-container {padding-left: 1.75rem;padding-right: 1.75rem;}
	.ast-separate-container .ast-article-single, .ast-separate-container .comment-respond, .ast-separate-container.ast-right-sidebar #secondary {padding-left: 0;padding-right: 0;}

	body.page-id-500 .uael-post-wrapper .uael-post__title a {font-size: 14px;line-height: 24px;}
	body.page-id-500 .uael-post__excerpt {display: none;}
}

@media screen and (max-width: 420px) {
	.single .post-navigation .nav-links {display: flex;}
	.single .post-navigation .nav-next a, .single .post-navigation .nav-previous a {padding: 0;font-size: 13px;width: auto;}
}
/* Custom external link icon */
.c-icon-external-link::after {
	content: '';
	display: inline-block;
	width: 0.8em;
	height: 0.8em;
	background-repeat: no-repeat;
	background-position: center center;
	background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' x='0px' y='0px' viewBox='0 0 32 32' style='enable-background:new 0 0 32 32;'%3E%3Cpath d='M27.3,28.9V12.7h3v19.2H0V1.6h19.2v3H3.1v24.2L27.3,28.9z M26.8,3.1h-4v-3H32v9.2h-3v-4L14.8,19.4l-2.1-2.1L26.8,3.1z' fill='%23000'/%3E%3C/svg%3E%0A");
	background-size: contain;
	margin: 0 0.5em;
}

/* Specific markup for some news */

@media screen and (min-width: 768px) {
	.custom-same__height .elementor-container > .elementor-column:first-child {
		width: 57% !important;
	}
	.custom-same__height .elementor-container > .elementor-column:last-child {
		width: 43% !important;
	}
}

/* Simple overflow gallery */

.custom--overflow-gallery::-webkit-scrollbar {
	width: 20px;
}
/* Track */
.custom--overflow-gallery::-webkit-scrollbar-track {
	background: #fff;
	/*   box-shadow: inset 0 0 6px rgba(0, 0, 0, 0.3); */
	border: 1px solid #000;
}
/* Handle */
.custom--overflow-gallery::-webkit-scrollbar-thumb {
	background: #000;
}
/* Handle on hover */
.custom--overflow-gallery::-webkit-scrollbar-thumb:hover {
	background: #555;
}
/* Firefox */
.custom--overflow-gallery {
	scrollbar-color: #000000 #FFFFFF;
	scrollbar-width: 20px;
}

.custom--overflow-gallery{
	overflow-x: auto;
}
.custom--overflow-gallery .elementor-image-gallery {
	display: inline-flex;
	height: 100%;
	width: auto;

	scrollbar-color: #000000 #FFFFFF;
    scrollbar-width: 20px;
	padding-bottom: 30px;
}
.custom--overflow-gallery .elementor-image-gallery .gallery {gap: 30px;}
.custom--overflow-gallery .elementor-image-gallery .gallery,
.custom--overflow-gallery .elementor-image-gallery figure {
	max-width: none !important;
	display: inline-flex;
	height: auto;
	width: auto;
}
.custom--overflow-gallery .elementor-image-gallery figure .gallery-icon {
	display: inline-flex;
    height: 100%;
    width: auto;
}
.custom--overflow-gallery .elementor-image-gallery figure .gallery-icon a {
	display: contents;
}
.custom--overflow-gallery .elementor-image-gallery figure img {
	height: 100%;
    width: auto;
    max-width: none;
	max-height: 60vmin;
}