/*
 Theme Name:   MyBag Child
 Theme URI:    https://demo2.chethemes.com/mybag/
 Description:  This is the child theme of MyBag
 Author:       Transvelo
 Author URI:   http://transvelo.com/
 Template:     mybag
 Version:      1.2.9
 License:      GNU General Public License v2 or later
 License URI:  http://www.gnu.org/licenses/gpl-2.0.html
 Tags:         light, dark, two-columns, right-sidebar, responsive-layout, accessibility-ready
 Text Domain:  mybag-child
*/

/* Keep featured-news thumbnails visually consistent regardless of source size. */
.home .mybag-blog-element .posts .image .media-attachment {
	aspect-ratio: 16 / 10;
	border-radius: 10px;
	overflow: hidden;
}

.home .mybag-blog-element .posts .image .media-attachment > a {
	display: block;
	height: 100%;
	width: 100%;
}

.home .mybag-blog-element .posts .image .media-attachment img {
	display: block;
	height: 100% !important;
	object-fit: cover;
	object-position: center;
	width: 100%;
}

/* Balance the three main footer columns on desktop. */
@media (min-width: 1025px) {
	.footer-3.site-footer .footer-top-contents-wrap .footer-top-contents .footer-contact {
		flex: 0 0 38%;
		width: 38%;
	}

	.footer-3.site-footer .footer-top-contents-wrap .footer-top-contents .footer-top-widgets {
		flex: 0 0 28%;
		width: 28%;
	}

	.footer-3.site-footer .footer-top-contents-wrap .footer-top-contents .footer-top-widgets > .container {
		max-width: none;
		padding-left: 0;
		padding-right: 0;
		width: 100%;
	}

	.footer-3.site-footer .footer-top-contents-wrap .footer-top-contents .footer-widgets {
		flex: 0 0 34%;
		width: 34%;
	}

	.footer-3.site-footer .footer-top-contents-wrap .footer-top-contents .footer-widgets > .row > div {
		width: 100%;
	}
}

.footer-3.site-footer .footer-widgets .list-social-icons > li > a {
	color: #fff;
}

.footer-3.site-footer #custom_html-5 .widget-title,
.footer-3.site-footer #custom_html-3 .widget-title {
	margin-bottom: 12px;
}

@media (max-width: 768px) {
	.header-2 .navbar .nav-bg-class .left-nav-menu .navbar-nav > #menu-item-9798,
	.header-2 .navbar .nav-bg-class .left-nav-menu .navbar-nav > #menu-item-9798 > a {
		text-align: left !important;
	}

	.header-2 .navbar .nav-bg-class .left-nav-menu .navbar-nav > #menu-item-9798 > a {
		display: flex !important;
		justify-content: flex-start !important;
		width: 100%;
	}

	.header-2 .navbar .nav-bg-class .left-nav-menu .navbar-nav > #menu-item-9798 > a > .caret {
		margin-left: auto;
	}

	.footer-3.site-footer .footer-top-contents-wrap .footer-top-contents .footer-widgets {
		display: block !important;
		flex: 0 0 100%;
		margin-top: 24px;
		text-align: left;
		width: 100% !important;
	}

	.footer-3.site-footer .footer-top-contents-wrap .footer-top-contents .footer-widgets > .row > div {
		width: 100%;
	}
}
