/**
* Contains responsive styling
*
* @author Pix & Hue
*/

/* ------------------------------- 1. Max-Width: 1275px ------------------------------- */
@media only screen and (max-width: 1275px) {

	/* Global CSS */
	.brielle-container, 
	.brielle-full-width {
		width: 1100px;
	}
	.brielle-default-width {
		width: 725px;
	}

	/* Single Post */
	#commentform input {
		width: 32.3%;
	}
	.brielle-related-post-img {
		height: 240px;
	}
	.brielle-full-width .brielle-related-post-img {
		height: 270px;
	}

	/* Gutenberg */
	.brielle_fullwidth_narrow .alignwide {
   		width: 1100px;
    	margin-left: -16.7%;
    }	

     /* WooCommerce */
    .woocommerce-cart .brielle-default-width table.cart td.actions .coupon .input-text {
		width: 52%;
	}
}	

/* ------------------------------- 2. Max-Width: 1250px ------------------------------- */
@media only screen and (max-width: 1250px) {

	/* ---- Elementor Styles ----- */
	.brielle-hero-middle-column {
		left: 41%;
		width:  40% !important;
	}
	.brielle-about-me-section .brielle-align-middle-column > .elementor-widget-wrap {
		width:  calc(100% + 30px);
	}
	.brielle-services-hero-section .brielle-hero-middle-column {
		width: 43% !important;
		left:  41%;
	}
	.brielle-insta-links-section:after {
		display: none;
	}
	.brielle-contact-page .brielle-hero-middle-column {
		width:  60% !important;
		left: 20%;
	}

	/* WooCommerce */
	.woocommerce #review_form #respond .comment-form-author, 
	.woocommerce #review_form #respond .comment-form-email {
		width:  49.2%;
	}
	.woocommerce-cart table.cart td.actions .coupon .input-text {
		width:  53%;
	}
	.brielle-default-width .woocommerce table.cart td.actions .coupon {
		width: 57%;
	}
	 .woocommerce-cart .brielle-default-width table.cart td.actions .coupon .input-text {
		width: 52%;
	}

	/* --- Footer Styles --- */ 
	.brielle-footer-subscription-section .brielle-shortcode-subscription-form input {
		width:  230px;
	}

	/* --- Convertkit Styles --- */ 
	.brielle-footer-subscription-section .formkit-form {
		max-width: 650px !important;
	}
	.brielle-footer-subscription-section .formkit-form .formkit-field {
		max-width:  230px;
	}

	/* --- Mailerlite Styles --- */ 
	.brielle-footer-subscription-section .ml-form-embedContainer .ml-form-embedWrapper .ml-form-embedBody .ml-form-fieldRow {
		width: 225px !important;
	}	
}

/* ------------------------------- 3. Max-Width: 1150px ------------------------------- */
@media only screen and (max-width: 1150px) {

	/* Global CSS */
	.brielle-container, 
	.brielle-full-width {
		width: 975px;
	}
	.brielle-default-width {
		width: 625px;
	}
	#brielle-content {
		padding: 0 50px 0 0;
	}

	/* Single Post */
	#commentform input {
		width: 32.1%;
	}
	.brielle-full-width #commentform input {
		width: 32.6%;
	}
	.brielle-related-post-img {
		height: 210px;
	}
	.brielle-full-width .brielle-related-post-img {
		height: 245px;
	}
	.brielle-item-related-caption {
		padding: 20px 10px 22px;
	}

	/* Gutenberg */
	.brielle_fullwidth_narrow .alignwide {
   		width: 975px;
    	margin-left: -9%;
    }	
	
	/* WooCommerce */
	.brielle-default-width .woocommerce table.cart td.actions .coupon {
		width: 65%;
	}
}

/* ------------------------------- 4. Max-Width: 1050px ------------------------------- */
@media only screen and (max-width: 1050px) {

	/* Global CSS */
	.brielle-container, 
	.brielle-full-width,
	.brielle-default-width {
		width: 825px;
	}
	#brielle-sidebar {
		margin: 0 auto 100px auto;
		float: none;
		width: 425px;
	}
	#brielle-content {
		padding: 0;
	}

	/* ---- Elementor Header ----*/
	.elementor-element.brielle-header-menu-column.elementor-column > .elementor-widget-wrap {
		justify-content: flex-start !important;
	}
	.brielle-header-menu-column .elementor-nav-menu--dropdown {
		max-width: 500px;
	}

	/* ---- Elementor Styles ----*/
	.brielle-hero-middle-column,
	.brielle-services-hero-section .brielle-hero-middle-column {
		width:  50% !important;
		left:  40%;
	}
	.brielle-hero-right-column {
		margin-top:  70px;
		margin-left:  5.5%;
	}
	.brielle-about-me-section .brielle-align-middle-column > .elementor-widget-wrap {
		width:  100%;
	}
	.brielle-align-middle-image-column > .elementor-widget-wrap {
		align-content:  center !important;
	}
	.brielle-contact-page .brielle-hero-middle-column {
		width:  75% !important;
		left: 12.5%;
	}

	/* ---- MailerLite Styles ----- */
	.brielle-footer-subscription-section .ml-form-embedContainer .ml-form-embedWrapper .ml-form-embedBody .ml-form-formContent {
		width:  100% !important;
		display: block;
	}
	.brielle-footer-subscription-section .ml-form-embedContainer .ml-form-embedWrapper .ml-form-embedBody .ml-form-fieldRow {
		width: 80% !important;
		display: block;
		margin:  0 auto 20px auto !important;
	}
	.brielle-footer-subscription-section .ml-form-embedContainer .ml-form-embedWrapper.embedForm {
		text-align: center;
	}

	/* ---- Convertkit Styles ----- */
	.brielle-footer-subscription-section .formkit-form{
		display: block;
		max-width: 100% !important;
		margin: 0 auto !important;
	}
	.brielle-footer-subscription-section .formkit-form .formkit-fields {
		max-width:  100%;
		display: block;
	}
	.brielle-footer-subscription-section .formkit-form .formkit-field,
	.brielle-footer-subscription-section .formkit-form .formkit-submit {
		display: block !important;
		max-width:  80%;
		width: 80%;
		margin:  0 auto 20px auto !important;
	}
	.brielle-footer-subscription-section .formkit-form .formkit-submit {
		margin:  0 auto !important;
	}

	/* ---- Footer Styles ----- */
	.brielle-footer-subscription-section .mc4wp-form-fields {
		text-align: center;
	}
	.brielle-footer-subscription-section .brielle-shortcode-subscription-form input {
		width:  80%;
		margin: 0 auto;
	}
	.brielle-footer-subscription-section .mc4wp-form-fields p {
		display:  block;
		margin: 0 0 20px 0;
	}

	/* Single Post */
	.brielle-single-post {
		margin-bottom: 100px;
	}
	.brielle-default-width .brielle-single-post {
		margin-bottom: 100px;
	}
	#commentform input,
	.brielle-full-width #commentform input {
		width: 32.4%;
	}
	.brielle-full-width .brielle-related-post-img,
	.brielle-related-post-img {
		height: 260px;
	}
	.brielle-full-width .brielle-item-related {
		width: 33.3%;
	}
	.brielle-full-width .brielle-item-related:nth-of-type(3) {
		margin-right: 0;
	}
	.brielle-full-width .brielle-item-related:last-of-type {
		display: none;
	}
	.brielle-item-related-caption {
		padding: 23px 20px 26px;
	}
	#brielle-content .brielle-post-header h1 {
		font-size: 40px;
	}
	.brielle-cat a,
	.brielle-post-date a {
		font-size: 13px;
	}
	.brielle-author-content {
		padding-left: 25px;
	}
	#brielle-content .brielle-item-related-caption h4 a {
		font-size:  24px;
	}
	#comments #reply-title,
	#brielle-content .brielle-comment-list-title,
	#brielle-content .brielle-related-posts h3 {
		font-size: 32px;
	}
	#brielle-content .brielle-author-content h5, 
	#brielle-content .brielle-author-content h5 a {
		font-size: 32px;
	}
	#brielle-content .brielle-comment-author a {
		font-size: 27px;
	}

	/* Gutenberg */
	.brielle_fullwidth_narrow .alignwide {
    	width: 100%;
    	margin-left: 0;
	}
	.brielle_fullwidth_narrow .brielle-post-entry-wrapper,
	.brielle_fullwidth_narrow .brielle-page-content-wrapper {
		width: 100%;
	}
	.brielle_fullwidth_narrow h1.brielle-single-page-title {
		text-align: left;
	}

	/* MISC WordPress Styles */
	#brielle-content h1.brielle-single-page-title {
		font-size: 40px;
	}
	.brielle-single-page .brielle-full-width,	
	.brielle-single-page .brielle-default-width {
		margin: 0 0 85px 0;
	}
	.brielle-single-page .brielle_fullwidth_narrow h1 {
		text-align: left;
	}

	/* Sidebar */
	.brielle-about-img {
		height: 450px;
	}
	#brielle-searchform input[type="text"] {
		width: 340px;
	}
	.brielle-custom-image-list-item {
		height: 225px;
	}
	.brielle-map-widget img {
		width: 500px;
		max-width: 500px !important;
	}
	.brielle-side-image {
		width: 150px;
	}
	.brielle-side-item-text {
		width: 260px;
	}

	/* ---- WooCommerce Styles ----- */
	.brielle-shop-products-section .elementor-element.elementor-products-grid ul.products {
		display: block;
	}
	.woocommerce .brielle-shop-products-section .elementor-element.elementor-products-grid ul.products li.product {
		width: 100%;
		margin-bottom: 70px;
		display: block;
	}
	.woocommerce .brielle-shop-products-section .elementor-element.elementor-products-grid ul.products li.product:last-of-type {
		margin-bottom:  0px;
	}
	.woocommerce #review_form #respond .comment-form-author, 
	.woocommerce #review_form #respond .comment-form-email {
		width:  100%;
		margin:  0;
	}
	.woocommerce table.cart td.actions .coupon,
	.brielle-default-width .woocommerce table.cart td.actions .coupon {
		width:  50%;
	}
	.woocommerce-cart .brielle-default-width table.cart td.actions .coupon .input-text {
		width:  54%;
	}
	.woocommerce-cart .wc-proceed-to-checkout a.checkout-button {
		padding:  15px;
	}
	.post-type-archive .elementor-products-grid nav.woocommerce-pagination {
		margin: 60px 0 -20px 0;
	}
	.wc-block-components-notice-banner > .wc-block-components-notice-banner__content .wc-forward {
		width: 100%;
		margin: 7px 0 !important;
	}
}

/* ------------------------------- 5. Max-Width: 900px ------------------------------- */
@media only screen and (max-width: 900px) {

	/* Global CSS */
	.brielle-container, 
	.brielle-full-width,
	.brielle-default-width {
		width: 700px;
	}

	/* Single Post */
	#commentform input,
	.brielle-full-width #commentform input {
		width: 32.2%;
	}
	.brielle-full-width .brielle-related-post-img,
	.brielle-related-post-img {
		height: 235px;
	}

	/* WooCommerce */
	.woocommerce table.cart td.actions .coupon,
	.brielle-default-width .woocommerce table.cart td.actions .coupon {
		width:  57%;
	}
	.woocommerce-cart .brielle-default-width table.cart td.actions .coupon .input-text {
		width:  52%;
	}
}

/* ------------------------------- 7. Max-Width: 767px ------------------------------- */
@media only screen and (max-width: 767px) {

	/* Global CSS */
	.brielle-container, 
	.brielle-full-width,
	.brielle-default-width {
		width: 575px;
	}	

	/* ---- Elementor Styles -----*/
	.elementor-lightbox .swiper-container .elementor-swiper-button-next i, 
	.elementor-lightbox .swiper-container .elementor-swiper-button-prev i {
		color:  #FFFFFF !important;
	}
	.brielle-home-hero-section > .elementor-container {
		min-height: auto !important;
	}
	.elementor-reverse-mobile > .elementor-container > .brielle-hero-left-column:first-child {
		order:  8;
		min-height: 400px;
	}
	.elementor-container > .brielle-hero-middle-column:nth-child(2) {
		order: 10 !important;
		position: relative !important;
		width:  90% ! important;
		left:  5%;
		top:  0;
	}
	.brielle-hero-right-column {
		margin-top:  50px;
	}
	.brielle-block-list-inner-section:before {
		display: none;
	}
	.brielle-pricing-table-section:after {
		height: 15%;
	}
	.brielle-contact-page .elementor-container > .brielle-hero-middle-column:nth-child(2) {
		margin-top: -320px;
	}
	.brielle-flex-middle-column {
		position: relative !important;	
	}
	.brielle-elementor-blog-section .elementor-pagination {
		margin:  50px 0 10px 0;
	}

	/* ---- Footer Styles ----- */
	.brielle-footer-subscription-section .brielle-shortcode-subscription-form input,
	.brielle-vertical-subscribe-column .mc4wp-form input {
		width:  100%;
	}
	.brielle-footer-subscription-section .brielle-shortcode-subscription-form input[type="submit"],
	.brielle-vertical-subscribe-column .mc4wp-form input[type="submit"] {
		padding: 20px 30px;
	}
	.brielle-instagram-footer .layout-legacy .zoom-instagram-widget__item {
		width: calc(33.333% - 17.5px);
		height: 195px;
	}
	.brielle-instagram-footer .zoom-instagram-widget__items.layout-legacy .zoom-instagram-widget__item .zoom-instagram-link {
		height:  100% !important;
		width:  100% !important;
	}
	.brielle-instagram-footer .layout-legacy .zoom-instagram-widget__item:nth-of-type(3) {
		margin-right:  0px !important;
	}
	.brielle-instagram-footer .layout-legacy .zoom-instagram-widget__item:nth-of-type(4),
	.brielle-instagram-footer .layout-legacy .zoom-instagram-widget__item:last-of-type {
		display: none;
	}
	.brielle-footer-subscription-section .formkit-form .formkit-field,
	.brielle-footer-subscription-section .formkit-form .formkit-submit  {
		max-width:  100%;
		width: 100%;
	}
	.brielle-footer-instagram-section .zoom-instagram .layout-grid.zoom-instagram-widget__items {
		gap: 15px !important;  
		grid-template-columns: repeat(2,1fr)!important; 
	}
	.brielle-footer-instagram-section .layout-grid .zoom-instagram-widget__item:last-of-type {
		display: none;
	}

	/* ---- WooCommerce Styles ----- */
	.woocommerce-additional-fields {
		margin-bottom:  40px;
	}
	.woocommerce-account .woocommerce-MyAccount-navigation,
	.woocommerce-account .woocommerce-MyAccount-content {
		width: 100%;
	}
	.woocommerce div.product .woocommerce-tabs ul.tabs {
		padding:  0;
	}
	.woocommerce div.product .woocommerce-tabs ul.tabs li {
		width:  100%;
	}
	.woocommerce div.product.elementor .brielle-woocommerce-product-data-section .woocommerce-tabs .panel {
		border-top:  0px;
	}
	.woocommerce div.product.elementor .brielle-woocommerce-product-data-section .woocommerce-tabs .panel {
		padding-top:  35px;
	}
	.woocommerce div.product .woocommerce-tabs ul.tabs li {
		margin:  0;
	}
	.brielle-related-products-section .elementor-element.elementor-products-grid ul.products {
		display: block;
	}
	.woocommerce div.product .brielle-related-products-section .elementor-element.elementor-products-grid .related.products ul.products li.product {
		width:  100%;
		margin-bottom:  65px;
		display: block;
	}
	.woocommerce div.product .brielle-related-products-section .elementor-element.elementor-products-grid .related.products ul.products li.product:last-of-type {
		margin:  0;
	}
	.woocommerce table.cart td.actions .coupon,
	.woocommerce-cart table.cart td.actions .coupon .input-text,
	.brielle-default-width .woocommerce table.cart td.actions .coupon,
	.woocommerce-cart .brielle-default-width table.cart td.actions .coupon .input-text {
		width:  100%;
	}
	.woocommerce-page table.cart td.actions .coupon .input-text + .button {
		float:  none;
		width:  100%;
	}
	.woocommerce-cart table.cart td.actions .coupon .input-text,
	.woocommerce-page table.cart td.actions .coupon .input-text + .button {
		margin: 0 0 7px 0;
	}
	.woocommerce #reviews #comments ol.commentlist li img.avatar {
		display: none;
	}
	.woocommerce #reviews #comments ol.commentlist li .comment-text {
		margin:  0;
	}
	.wc-tabs .additional_information_tab {
		border-top:  0px !important;
		border-bottom:  0px !important;
	}
	.woocommerce div.product .woocommerce-tabs ul.tabs li#tab-title-description.active {
		border-bottom:  0px;
	}
	.woocommerce div.product .woocommerce-tabs ul.tabs li#tab-title-reviews.active {
		border-top:  0px;
	}
	ul.products li.product .woocommerce-loop-product__link .star-rating {
		margin-top: -3px;
	}	
	
	/* Elementor Pro Cart Widget */
	.elementor-widget-woocommerce-cart .woocommerce table.cart tr {
		padding: 0 !important;
	}
	.elementor-widget-woocommerce-cart .woocommerce table.cart tr:first-of-type td.product-remove {
		padding-top: 0;
	}
	.elementor-widget-woocommerce-cart tr:last-of-type .actions {
		margin-top: 10px;
		display: block !important;
	}

	/* Single Post */
	.brielle-single-post {
		margin-bottom: 100px;
	}
	.brielle-default-width .brielle-single-post {
		margin-bottom: 85px;
	}
	.brielle-post-entry {
		padding-bottom:  30px;
	}
	.brielle-post-tags {
		margin:  35px 0 10px 0;
	}
	#brielle-content .brielle-post-header h1 {
		font-size: 35px;
	}
	#commentform input,
	.brielle-full-width #commentform input {
		width: 100%;
	}
	.brielle-item-related,
	.brielle-full-width .brielle-item-related  {
		width: 50%;
	}
	.brielle-item-related:nth-of-type(2),
	.brielle-full-width .brielle-item-related:nth-of-type(2) {
		margin-right: 0;
	}
	.brielle-item-related:last-of-type,
	.brielle-full-width .brielle-item-related:nth-of-type(3) {
		display: none;
	}
	.brielle-full-width .brielle-related-post-img,
	.brielle-related-post-img {
		height: 275px;
	}
	.brielle-comment-author-avatar img {
		display: none;
	}
	.brielle-comment-text {
		margin-left: 0px;
	}
	.brielle-post-author-box {
		padding:  55px 0;
	}
	#comments {
		margin: 65px 0 0 0;
	}
	.brielle-related-posts {
		margin: 55px 0 0 0;
	}
	.brielle-page-wrapper ul.brielle-comments ul.children {
		padding: 0;
	}
	.brielle-list-of-comments {
		margin: 55px 0 0 0;
	}
	#comments #reply-title,
	#brielle-content .brielle-comment-list-title,
	#brielle-content .brielle-related-posts h3 {
		font-size: 29px;
	}
	#brielle-content .brielle-author-content h5, 
	#brielle-content .brielle-author-content h5 a {
		font-size: 29px;
	} 
	.brielle-comment-author {
		margin-bottom: 5px;
	}
	.brielle-comment-approval em {
		display: block;
		margin: 0 0 5px 0;
	}
	#brielle-content .brielle-related-posts h3,
	#brielle-content .brielle-comment-list-title {
		margin: 0 0 18px 0;
	}
	.brielle-comment-date {
		font-size: 12px;
	}
	.brielle-reply a, 
	.brielle-edit a {
		font-size: 12.5px;
	}

	/* MISC WordPress Styles */
	h1.brielle-single-page-title {
		margin:  0 0 15px 0;
	}
	.brielle-single-page .brielle-full-width {
		margin: 0 0 90px 0;
	}	
	.brielle-single-page .brielle-default-width {
		margin: 0 0 80px 0;
	}
	.brielle-single-page #comments {
		margin:  50px 0 0 0;
	}
}	

/* ------------------------------- 8. Max-Width: 650px ------------------------------- */
@media only screen and (max-width: 650px) {

	/* Global CSS */
	.brielle-container, 
	.brielle-full-width,
	.brielle-default-width {
		width: 425px;
	}

	/* ---- Elementor Footer Styles ----- */
	.brielle-instagram-footer .layout-legacy .zoom-instagram-widget__item {
		height: 165px;
	}

	/* Single Post */
	.brielle-full-width .brielle-related-post-img,
	.brielle-related-post-img {
		height: 225px;
	}
	.brielle-item-related-caption {
		padding: 20px 10px 22px;
	}

	/* Gutenberg */
	.brielle_fullwidth_narrow #brielle-content,
	.page-template-page-narrowfullwidth #brielle-content {
		overflow: visible;
	}

	/* -- WooCommerce -- */
	.woocommerce table.shop_attributes td, 
	.woocommerce table.shop_attributes th {
		padding:  12px;
	}
}	

/* ------------------------------- 9. Max-Width: 500px ------------------------------- */
@media only screen and (max-width: 500px) {

	/* Global CSS */
	.brielle-container, 
	.brielle-full-width,
	.brielle-default-width {
		width: 325px;
	}
	#brielle-sidebar {
		width: 325px;
		margin-bottom: 90px;
	}
	input, textarea, select {
		width: 90%;
	}

	/* ---- Elementor Footer Styles ----- */
	.brielle-instagram-footer .layout-legacy .zoom-instagram-widget__item {
		width:  calc(33% - 6.667px);
		margin-right:  10px !important;
		height:  115px;
	}
	.brielle-instagram-footer .layout-legacy .zoom-instagram-widget__item:nth-of-type(3) {
		margin-right: 0px !important;
	}

	/* Single Post */
	.brielle-single-post {
		margin-bottom: 90px;
	}
	.brielle-post-entry {
		padding-bottom:  20px;
	}
	.brielle-post-author-box {
		display: block;
		overflow: hidden;
		padding: 58px 0 50px;
	}
	.brielle-author-img {
		width: 250px;
		float: none;
		display: block;
		margin-bottom:  25px;
	}
	.brielle-author-content {
		display: block;
		padding: 0;
	}
	#comments #respond {
		padding: 30px 20px 40px;
	}
	.brielle-item-related-box {
		display: block;
	}
	.brielle-item-related,
	.brielle-full-width .brielle-item-related {
		width: 100%;
		margin: 0 0 30px 0;
	}
	.brielle-full-width .brielle-related-post-img,
	.brielle-related-post-img {
		height: 250px;
	}
	.brielle-comment-date {
		display: block;
		float: none;
		margin: 0 0 8px 0;
	}
	.brielle-comment-author {
		margin-bottom: 0px;
	}
	.brielle-comment-date {
		margin: 1px 0 5px 0;
	}
	.brielle-comment-text p {
		margin-bottom: 15px;
	}	
	ul.children .brielle-comment-date {
		margin-top:  5px;
	}
	#brielle-content-container ul.brielle-comments ul.children {
		padding: 0;
	}
	#brielle-content-container ul.brielle-comments ul.children .brielle_thecomment {
		padding:  30px 0 35px;
	}
	.brielle-comment-parent {
		vertical-align: 0;
	}

	/* Sidebar */
	.brielle-about-img {
		height: 400px;
	}
	#brielle-searchform input[type="text"] {
		width: 240px;
	}
	.brielle-side-image {
		width: 125px;
	}
	.brielle-side-item-text {
		width: 185px;
	}
	.brielle-custom-image-list-item {
		height: 162.4px;
	}
	.brielle-map-widget img {
		width: 400px;
		max-width: 400px !important;
	}

	/* MISC HTML */
	.brielle-single-page {
		margin: 0 0 75px 0;
	}
	.brielle-full-width .brielle-single-page {
		margin: 0 0 90px 0;
	}
	.error404 #brielle-content #brielle-searchform, 
	.search-no-results #brielle-content #brielle-searchform {
		width: 315px;
	}
	.error404 #brielle-content #brielle-searchform input[type="text"],
	.search-no-results #brielle-content #brielle-searchform input[type="text"] {	
		width: 230px;
	}

	/* -- WooCommerce -- */
	.woocommerce div.product form.cart .variations select {
		width:  50%;
	}
	.woocommerce div.product.elementor #reviews .star-rating {
		display: block;
		float: none;
		margin-bottom: 18px;
	}
	.woocommerce ul.order_details li {
		float:  none;
		border-bottom: 1px dashed #333333;
		border-right: 0px;
		padding: 0 0 5px 0;
		margin:  0 0 20px 0;
	}
	.post-type-archive .elementor-products-grid nav.woocommerce-pagination {
		margin: 60px 0 -10px 0;
	}
}	