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

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

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

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

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

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

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


	/* ---- Footer ----- */
	.rilee-footer-subscription-section .mc4wp-form-fields p {
		margin:  0 10px 0 0;
	}
	.rilee-shortcode-subscription-form input,
	.rilee-shortcode-subscription-form .formkit-form input.formkit-input {
		width:  230px;
	}
	.rilee-shortcode-subscription-form .ml-form-embedContainer .ml-form-embedWrapper .ml-form-embedBody .ml-form-fieldRow {
		width: 230px !important;
	}
	.rilee-shortcode-subscription-form .formkit-form .formkit-field,
	.rilee-shortcode-subscription-form .ml-form-embedContainer .ml-form-embedWrapper .ml-form-embedBody .ml-form-fieldRow {
		margin:  0 10px 0 0 !important;
	}
	.rilee-shortcode-subscription-form .ml-form-embedContainer .ml-form-embedWrapper.embedForm {
		max-width:  620px !important;
	}
	
	/* 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:  58%;
	}
	.rilee-default-width .woocommerce table.cart td.actions .coupon {
		width: 60%;
	}
	 .woocommerce-cart .rilee-default-width table.cart td.actions .coupon .input-text {
		width: 51%;
	}
}

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

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

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

	/* Gutenberg */
	.rilee_fullwidth_narrow .alignwide {
   		width: 975px;
    	margin-left: -9%;
    }	
}

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

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

	/* ---- Elementor Header ----*/
	.elementor-reverse-tablet > .elementor-container > .rilee-header-social-column:nth-child(3) {
		order: 10;
	}
	.elementor-element.rilee-header-menu-column.elementor-column > .elementor-widget-wrap {
		justify-content: flex-start !important;
	}
	.rilee-header-menu-column .elementor-nav-menu--dropdown {
		max-width: 500px;
	}
	.rilee-custom-nav-menu .elementor-nav-menu .elementor-item,
	.rilee-custom-nav-menu .elementor-nav-menu .elementor-nav-menu--dropdown .elementor-sub-item {
		font-size: 13px;
	}
	.rilee-header-site-title .elementor-heading-title {
		font-size: 45px;
	}

	/* ---- Elementor Standard Font Styles ----*/
	.rilee-elementor-title .elementor-heading-title {
		font-size: 45px;
	}
	.rilee-standard-services-title .elementor-heading-title,
	.rilee-elementor-blog-section .elementor-posts .elementor-post__title {
		font-size: 32px;
	}
	.rilee-standard-testimonial.elementor-widget-testimonial-carousel .elementor-testimonial__text {
		font-size: 32px;
	}
	.rilee-standard-subtitle,
	.rilee-standard-list-button .elementor-button,
	.rilee-elementor-toggle .elementor-toggle-title,
	.rilee-elementor-icon-list .elementor-icon-list-text {
		font-size: 13.5px;
	}
	.rilee-elementor-button .elementor-button,
	.rilee-elementor-blog-section .elementor-posts .elementor-post__read-more,
	.rilee-footer-menu .menu-item a  {
		font-size: 12.5px;
	}
	.rilee-elementor-button.rilee-instagram-handle .elementor-button {
		font-size: 14px;
	}
	.rilee-elementor-title.rilee-smaller-serif-title .elementor-heading-title {
		font-size: 38px;
	}
	.rilee-standard-subtitle.rilee-larger-subtitle {
		font-size: 15.5px;
	}

	/* ---- Elementor Styles ----*/
	.rilee-about-spacer {
		height: calc(100% - 70px) !important;
		width: calc(100% - 70px) !important;
	}
	
	/* ---- MailerLite Styles ----- */
	.rilee-footer-subscription-section .ml-form-embedContainer .ml-form-embedWrapper .ml-form-embedBody .ml-form-formContent {
		width:  100% !important;
		display: block;
	}
	.rilee-shortcode-subscription-form .ml-form-embedContainer .ml-form-embedWrapper .ml-form-embedBody .ml-form-fieldRow {
		width: 100% !important;
		display: block;
		margin:  0 0 20px 0 !important;
	}
	.rilee-shortcode-subscription-form .ml-form-embedContainer .ml-form-embedWrapper .ml-form-embedBody .ml-form-embedSubmit {
		width: 100% !important;
	}
	.rilee-shortcode-subscription-form .ml-form-embedContainer .ml-form-embedWrapper.embedForm {
		max-width: 85% !important;
	}
	

	/* ---- Convertkit Styles ----- */
	.rilee-shortcode-subscription-form .formkit-form .formkit-field {
		margin:  0 0 20px 0 !important;
		display: block;
		float:  none;
	}
	.rilee-shortcode-subscription-form .formkit-form .formkit-submit {
		width:  80%;
	}

	/* ---- Footer Styles ----- */
	.rilee-footer-subscription-section .rilee-shortcode-subscription-form input,
	.rilee-shortcode-subscription-form .formkit-form input.formkit-input {
		width:  80%;
	}
	.rilee-footer-subscription-section .mc4wp-form-fields p {
		display:  block;
		margin: 0 0 20px 0;
	}
	#rilee-instagram-feed-section .zoom-instagram-widget__items {
		gap: 15px !important;
	}

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

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

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

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

	/* ---- WooCommerce Font Styles ----*/
	.rilee-single-product-info-column .product_title.elementor-heading-title {
		font-size: 38px;
	}
	.woocommerce div.product .rilee-single-product-info-column .price {
		font-size: 19px;
	}
	.woocommerce div.product.elementor .woocommerce-tabs h2, 
	.rilee-related-products-section .products > h2 {
		font-size:  32px;
	}
	.woocommerce-cart #rilee-content  h1,
	.woocommerce-checkout #rilee-content h1,
	.woocommerce-account #rilee-content h1 {
		font-size: 40px;
	}	
	#rilee-content .cart_totals h2,
	#rilee-content .woocommerce-billing-fields h3,
	#rilee-content .woocommerce-additional-fields h3,
	#order_review_heading,
	.woocommerce-order-details h2,
	.woocommerce-customer-details h2,
	.woocommerce-checkout #ship-to-different-address span,
	.woocommerce-account .woocommerce h2,
	.woocommerce-account .addresses .title h3,
	.woocommerce-account .woocommerce-MyAccount-content h3 {
		font-size: 32px;
	}
	.woocommerce #respond input#submit.alt, 
	.woocommerce a.button.alt, 
	.woocommerce button.button.alt, 
	.woocommerce input.button.alt,
	.woocommerce a.button,
	.woocommerce #respond input#submit,
	#add_payment_method .wc-proceed-to-checkout a.checkout-button, 
	.woocommerce-cart .wc-proceed-to-checkout a.checkout-button, 
	.woocommerce-checkout .wc-proceed-to-checkout a.checkout-button,
	.woocommerce button.button,
	.woocommerce table.shop_attributes th {
		font-size: 12.5px;
	}	
	.rilee-related-products-section .elementor-wc-products ul.products li.product .price, 
	.rilee-shop-products-section .elementor-wc-products ul.products li.product .price {
		font-size: 15.5px;
	}
	.woocommerce #reviews #comments ol.commentlist li .comment-text p.meta {
		font-size:  15px;
	}

	/* ---- WooCommerce Styles ----- */
	.woocommerce #review_form #respond .comment-form-author, 
	.woocommerce #review_form #respond .comment-form-email {
		width:  100%;
		margin:  0;
	}
	.woocommerce table.cart td.actions .coupon,
	.rilee-default-width .woocommerce table.cart td.actions .coupon {
		width:  50%;
	}
	.woocommerce-cart .rilee-default-width table.cart td.actions .coupon .input-text {
		width:  58%;
	}
	.woocommerce-cart .wc-proceed-to-checkout a.checkout-button {
		padding:  15px;
	}
	.post-type-archive .elementor-products-grid nav.woocommerce-pagination {
		margin: 60px 0 -10px 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 */
	.rilee-container, 
	.rilee-full-width,
	.rilee-default-width {
		width: 700px;
	}

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

	/* WooCommerce */
	.woocommerce table.cart td.actions .coupon,
	.rilee-default-width .woocommerce table.cart td.actions .coupon {
		width:  60%;
	}
}

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

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

	/* ---- Elementor Header ----*/
	.elementor-reverse-tablet > .elementor-container > .rilee-header-social-column:nth-child(3) {
		order: 9;
	}
	.rilee-header-site-title .elementor-heading-title {
		font-size: 37px;
	}

	/* ---- Elementor Standard Font Styles ----*/
	.rilee-elementor-title .elementor-heading-title {
		font-size: 37px;
	}
	.rilee-standard-services-title .elementor-heading-title {
		font-size: 30px;
	}
	.rilee-standard-testimonial.elementor-widget-testimonial-carousel .elementor-testimonial__text {
		font-size: 28px;
	}
	.rilee-standard-subtitle,
	.rilee-standard-list-button .elementor-button,
	.rilee-elementor-toggle .elementor-toggle-title,
	.rilee-elementor-icon-list .elementor-icon-list-text {
		font-size: 13px;
	}
	.rilee-elementor-title.rilee-smaller-serif-title .elementor-heading-title {
		font-size: 34px;
	}
	.rilee-standard-subtitle.rilee-larger-subtitle {
		font-size: 15px;
	}

	/* ---- Elementor Styles -----*/
	.elementor-reverse-mobile > .elementor-container > .rilee-hero-left-column:first-child,
	.elementor-reverse-mobile > .elementor-container > .rilee-service-left-image-column:nth-child(2),
	.elementor-reverse-mobile > .elementor-container > .rilee-about-left-image-column:first-child,
	.elementor-reverse-mobile.rilee-about-page > .elementor-container > .rilee-service-right-image-column:first-child {
		order:  8;
	}
	.elementor-lightbox .swiper-container .elementor-swiper-button-next i, 
	.elementor-lightbox .swiper-container .elementor-swiper-button-prev i,
	.elementor-lightbox .elementor-swiper-button,
	.elementor-lightbox .swiper-container [class^="eicon"] {
		color:  #FFFFFF !important;
	}
	.elementor-lightbox .swiper .elementor-swiper-button svg {
		fill: #FFFFFF !important;
	}
	.rilee-services-top-section .rilee-services-image-column {
		height: 400px;
	}
	.rilee-elementor-blog-section .elementor-pagination {
		margin:  55px 0 5px 0;
	}	

	/* ---- Footer Styles ----- */
	.rilee-footer-subscription-section .mc4wp-form-fields p,
	.rilee-shortcode-subscription-form .formkit-form .formkit-field {
		text-align: center;
	}
	.rilee-footer-subscription-section .rilee-shortcode-subscription-form input {
		width:  90%;
	}
	.rilee-shortcode-subscription-form .formkit-form input.formkit-input,
	.rilee-shortcode-subscription-form .formkit-form .formkit-submit {
		width:  90%;
		margin:  0 auto !important;
		display: block !important;
	}
	.rilee-shortcode-subscription-form .ml-form-embedContainer .ml-form-embedWrapper .ml-form-embedBody .ml-form-fieldRow,
	.rilee-shortcode-subscription-form .ml-form-embedContainer .ml-form-embedWrapper .ml-form-embedBody .ml-form-embedSubmit {
		width: 90% !important;
		margin-left: auto !important;
		margin-right:  auto !important;
		float: none !important;
	}
	#rilee-instagram-feed-section .zoom-instagram-widget__items {
		gap: 10px !important;
		grid-template-columns: repeat(2,1fr);
	}
	#rilee-instagram-feed-section .zoom-instagram-widget__items li:last-of-type {
		display: none;
	}
	#rilee-instagram-feed-section .rilee-footer-menu ul,
	#rilee-instagram-feed-section .rilee-footer-menu ul .menu-item a {
		display: block;
		text-align: center;
	}
	#rilee-instagram-feed-section .rilee-footer-menu ul .menu-item a {
		margin: 7px 0;
	}

	/* --- Form Styles --- */
	.rilee-opt-in-column input[type="text"],
	.rilee-opt-in-column input[type="email"] {
		width: 85%;
	}
	.rilee-opt-in-column input[type="submit"] {
		margin-top: 5px;
	}	
	.pixandhue-copyright {
		padding: 20px 15px;
	}
	.pixandhue-copyright p {
		font-size: 12px;
	}

	/* ---- WooCommerce Font Styles ----- */
	.rilee-related-products-section .elementor-wc-products ul.products li.product .woocommerce-loop-product__title,
	.rilee-shop-products-section ul.products li.product .woocommerce-loop-product__title {
		font-size: 28px;
	}
	.rilee-single-product-info-column .product_title.elementor-heading-title {
		font-size: 35px;
	}
	.woocommerce div.product.elementor .woocommerce-tabs h2, 
	.rilee-related-products-section .products > h2 {
		font-size:  30px;
	}
	.woocommerce div.product .rilee-single-product-info-column .price {
		font-size:  18.5px;
	}
	#rilee-content h1.rilee-single-page-title,
	.woocommerce-cart #rilee-content  h1,
	.woocommerce-checkout #rilee-content h1,
	.woocommerce-account #rilee-content h1 {
		font-size: 37px;
	}	
	#rilee-content .cart_totals h2,
	#rilee-content .woocommerce-billing-fields h3,
	#rilee-content .woocommerce-additional-fields h3,
	#order_review_heading,
	.woocommerce-order-details h2,
	.woocommerce-customer-details h2,
	.woocommerce-checkout #ship-to-different-address span,
	.woocommerce-account .woocommerce h2,
	.woocommerce-account .addresses .title h3,
	.woocommerce-account .woocommerce-MyAccount-content h3 {
		font-size: 30px;
	}

	/* ---- 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 .rilee-woocommerce-product-data-section .woocommerce-tabs .panel {
		border-top:  0px;
	}
	.woocommerce div.product.elementor .rilee-woocommerce-product-data-section .woocommerce-tabs .panel {
		padding-top:  35px;
	}
	.woocommerce div.product .woocommerce-tabs ul.tabs li {
		margin:  0;
	}
	.woocommerce table.cart td.actions .coupon,
	.woocommerce-cart table.cart td.actions .coupon .input-text,
	.rilee-default-width .woocommerce table.cart td.actions .coupon,
	.woocommerce-cart .rilee-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;
	}
	
	/* 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 */
	.rilee-single-post {
		margin-bottom: 82.5px;
	}
	.rilee-default-width .rilee-single-post {
		margin-bottom: 75px;
	}
	.rilee-post-entry {
		padding-bottom:  30px;
	}
	.rilee-post-tags {
		margin:  35px 0 10px 0;
	}
	#commentform input,
	.rilee-full-width #commentform input {
		width: 100%;
	}
	.rilee-item-related,
	.rilee-full-width .rilee-item-related  {
		width: 50%;
	}
	.rilee-item-related:nth-of-type(2),
	.rilee-full-width .rilee-item-related:nth-of-type(2) {
		margin-right: 0;
	}
	.rilee-item-related:last-of-type,
	.rilee-full-width .rilee-item-related:nth-of-type(3) {
		display: none;
	}
	.rilee-full-width .rilee-related-post-img,
	.rilee-related-post-img {
		height: 275px;
	}
	.rilee-comment-author-avatar img {
		display: none;
	}
	.rilee-comment-text {
		margin-left: 0px;
	}
	.rilee-post-author-box {
		padding:  55px 0;
	}
	#comments {
		margin: 65px 0 0 0;
	}
	.rilee-related-posts {
		margin: 55px 0 0 0;
	}
	.rilee-page-wrapper ul.rilee-comments ul.children {
		padding: 0;
	}
	.rilee-list-of-comments {
		margin: 55px 0 0 0;
	}
	#rilee-content .rilee-post-header h1 {
		font-size: 35px;
	}
	#comments #reply-title,
	#rilee-content .rilee-comment-list-title,
	#rilee-content .rilee-related-posts h3,
	#rilee-content .rilee-author-content h5, 
	#rilee-content .rilee-author-content h5 a  {
		font-size: 28px;
	}
	.rilee-comment-approval em {
		display: block;
		margin: 0 0 5px 0;
	}
	#rilee-content .rilee-related-posts h3,
	#rilee-content .rilee-comment-list-title {
		margin: 0 0 19px 0;
	}

	/* -- Sidebar -- */
	#rilee-sidebar {
		margin-bottom:  85px;
	}

	/* -- Gutenberg -- */
	.wp-block-latest-posts.columns-2 li,
	.wp-block-latest-posts.columns-3 li,
	.wp-block-latest-posts.columns-4 li {
		width: 100%;
		margin-right: 0;
	}

	/* MISC WordPress Styles */
	#rilee-content h1.rilee-single-page-title {
		margin:  0 0 15px 0;
	}
	.rilee-single-page .rilee-full-width,	
	.rilee-single-page .rilee-default-width {
		margin: 0 0 70px 0;
	}
	.rilee-single-page #comments {
		margin:  50px 0 0 0;
	}
}	

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

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

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

	/* Gutenberg */
	.rilee_fullwidth_narrow #rilee-content,
	.page-template-page-narrowfullwidth #rilee-content {
		overflow: visible;
	}
	.rilee-post-content ul.wp-block-latest-posts, 
	.rilee-page-content ul.wp-block-latest-posts {
		padding: 20px;
	}
	.rilee-post-content ul.wp-block-latest-posts > li, 
	.rilee-page-content ul.wp-block-latest-posts > li {
		padding-bottom: 15px;
		margin-bottom: 15px;
	}
	.wp-block-latest-posts .wp-block-latest-posts__featured-image.alignleft,
	.wp-block-latest-posts .wp-block-latest-posts__featured-image.alignright {
		margin: 0 0 10px 0;
		display: block;
		width: 100%;
	}
	.wp-block-latest-posts.wp-block-latest-posts__list.alignright {
		text-align: left;
		margin-left: 0;
	}
	.rilee-post-content ul.wp-block-latest-posts.is-grid > li, 
	.rilee-page-content ul.wp-block-latest-posts.is-grid > li {
		padding-top: 0;
		margin-bottom:  20px;
	}

	/* -- 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 */
	.rilee-container, 
	.rilee-full-width,
	.rilee-default-width {
		width: 325px;
	}
	#rilee-sidebar {
		width: 325px;
	}
	input, textarea, select {
		width: 90%;
	}
	
	/* Elementor Styles */
	.rilee-latest-works-portfolio .elementor-portfolio__filter {
		padding: 0 6px;
	}

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

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

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

	/* -- WooCommerce -- */
	.woocommerce div.product form.cart .variations select {
		width:  50%;
		margin-right: 10px;
	}
	.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 #222222;
		border-right: 0px;
		padding: 0 0 5px 0;
		margin:  0 0 20px 0;
	}
	.post-type-archive .elementor-products-grid nav.woocommerce-pagination {
		margin: 50px 0 0 0;
	}
}	