/**
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
*/

/* === Video embed */
section.video-container .elementor-widget-container {
    position: relative;
    padding-bottom: 50%;
    padding-top: 30px;
    height: 0;
    overflow: hidden;
}

.video-container .elementor-widget-container iframe, .video-container .elementor-widget-container object, .video-container .elementor-widget-container embed {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
}

/* === Elementor Widgets */
/* --- Read More Widget - remove visible space */
.elementor-widget-read-more {
    margin-bottom: 0 !important;
}

/* === Hiking Requirements Table */
table, th, td {
	border-style: none;
}

th {
	font-weight: bold;
}

/* === WP Fulltext Search Search Field */
/* --- Hide Search Button */
.search-submit {
	display: none;
}

/* --- Increase Search Field Size */
.search-field {
	margin-right: 10px;
	width: 420px;
}

/* === Aastra Theme */
/* --- Adjustments to Elementor */
.ast-separate-container #primary, .ast-separate-container.ast-left-sidebar #primary, .ast-separate-container .ast-right-sidebar #primary, .content-area .primary #primary {
    margin: 0;
    padding: 0;
}

.ast-separate-container {
    background-color: white;
}

.ast-single-post .entry-title {
    font-family: var( --e-global-typography-primary-font-family ), Sans-serif;
    font-weight: var( --e-global-typography-primary-font-weight );
    text-decoration: var( --e-global-typography-primary-text-decoration );
    color: var( --e-global-color-primary );
    font-size: 40px;
}

/* --- Make archive and post as wide as possible */
.ast-container, .ast-container-fluid {
    padding-left: 0;
    padding-right: 0;
}

.ast-separate-container .ast-article-post
{
    padding-top: 0;
    padding-bottom: 2em;
    padding-left: 0;
    padding-right: 0;
}

.ast-separate-container .ast-archive-description
{
    padding: 0;
}

body.archive .ast-archive-description
{
    padding: 0;
}
    
.ast-separate-container .ast-article-single
{
    padding: 0;
}

/* --- Adjust breadcrumbs to content */
.ast-breadcrumbs
{
    padding-left: 0;
    padding-right: 0;
}

/* --- Change color of archive title */
.ast-archive-title {
    color: var( --e-global-color-secondary ) !important;
}

/* --- Remove border below breadcrumbs */
.ast-header-break-point .main-header-bar.ast-header-breadcrumb {
    border-bottom-width: 0;
}

/* --- Format post date */
span.published { 
	display: inline-block;
	border: 0px;
	border-radius: 30px;
	box-sizing: border-box;
	clear: both;
	color: #ffffff;
	background-color: #6C727A;
	font-family: Inter, sans-serif;
	font-size: 20px;
	font-style: inherit;
	font-weight: 600;
	margin: 0px;
	margin-bottom: 0px;
	outline: none;
	padding-left: 10px;
	padding-right: 10px;
	text-align: center;
	vertical-align: baseline;
	word-wrap: break-word;
}

/* --- Correct container width for desktop and more */
@media (min-width: 922px) {
    .ast-container {
        max-width: 1024px;
    }
    
    /* --- Remove border below breadcrumbs */
    .main-header-bar {
        border-bottom-width: 0;
    }
}

/* === Inline images */
.alignleft {
    margin-right: 1em;
}

.alignright {
    margin-left: 1em;
}

.alignleft, .alignright, .aligncenter {
    margin-bottom: 1em;
}

figure.alignright figcaption, figure.alignleft figcaption, figure.aligncenter figcaption {
    text-align: center;
    font-style: italic;
    font-weight: 400;
    font-size: 18px;
}

/* === Media Queries */
@media (max-width: 1024px) {
    /* === WP Fulltext Search Search Field */
    /* --- Increase Search Field Size */
	.search-field {
		width: 270px;
	}
	
	/* === Aastra Theme */
	/* --- Make archive and post as wide as possible */
	/* --- Decrease the left and right padding, but 0 would look bad! */
	.ast-separate-container #content .ast-container, #content .ast-container, .ast-breadcrumbs {
        padding-left: 0.7em;
        padding-right: 0.7em;
    }

    /* --- Format post date */
	span.published { 
		font-size: 20px;
	}
	
    /* --- Archive page navigation */
    .ast-pagination .page-numbers {
        font-size: 1.5rem;
    }
    
	/* === Inline images */
	.alignleft {
	    margin-right: 0.7em;
    }	
	
	.alignright {
	    margin-left: 0.7em;
    }
    
	.alignleft, .alignright, .aligncenter {
	    margin-bottom: 0.7em;
        width: 50%;
    }
}

@media (max-width: 767px) {
	/* === WP Fulltext Search Search Field */
	/* --- Increase Search Field Size */
	.search-field {
		width: 250px;
	}

	/* === Aastra Theme */
    /* --- Format post date */
	span.published { 
		font-size: 20px;
	}
    
	.alignleft, .alignright, .aligncenter {
        width: 50%;
    }
}

@media (max-width: 512px) {
	.alignleft, .alignright, .aligncenter {
        width: auto;
    }
}