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

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

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

	/* Single Post + Blog Layout */
	#commentform input {
		width: 32.3%;
	}

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

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

	/* ---- Elementor Styles ----- */
	.gwyneth_grid_container {
		grid-column-gap: 40px;
		grid-row-gap: 60px;
	}

	/* Blog Page */
	#gwyneth-content.gwyneth_grid_container {
		margin: 0 0 120px 0;
	}
	.gwyneth-container.gwyneth-blog-container {
		width: 90%;
	}
	.gwyneth-grid-item .gwyneth-post-header {
		margin: 0 0 25px 0;
	}
}

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

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

	/* Single Post */
	.single-post #gwyneth-content-container,
	#gwyneth-content-container.gwyneth-single-page {
		margin-top: 55px;
	}
	#commentform input {
		width: 32.1%;
	}
	.gwyneth-full-width #commentform input {
		width: 32.6%;
	}
	.gwyneth-item-related-caption {
		padding: 25px 15px;
	}

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

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

	/* Global CSS */
	.gwyneth-container, 
	.gwyneth-full-width,
	.gwyneth-default-width {
		width: 825px;
	}
	#gwyneth-sidebar {
		margin: 0 auto 90px auto;
		float: none;
		width: 425px;
	}
	#gwyneth-content {
		padding: 0;
	}
	label {
		font-size: 13.5px;
	}

	/* ---- Header Styles ----- */
	.gwyneth-header-nav-menu.elementor-widget-navigation-menu ul.hfe-nav-menu {
		min-width: 250px;
		z-index: 999;
	}
	.gwyneth-header-nav-menu nav.hfe-dropdown {
		top: 50px !important;
		z-index: 999 !important;
		max-width: 500px;
	}
	.gwyneth-header-nav-menu .hfe-nav-menu-icon {
		padding: 0 !important;
	}
	.gwyneth-header-sm-icons {
		display: flex;
		justify-content: right;
		width: 100%;
	}

	/* ---- Elementor Styles ----- */
	.gwyneth_grid_container {
		grid-column-gap: 20px;
	}
	.gwyneth-grid-item .gwyneth-post-media {
		margin: 0 0 25px 0;
	}
	.gwyneth-grid-item h2 {
		font-size: 28px;
	}
	.gwyneth-cat a, 
	.gwyneth-post-date a {
		font-size: 12.5px;
	}
	.gwyneth-testimonials-wrapper .slick-arrow.slick-prev {
		left: -50px;
	}
	.gwyneth-testimonials-wrapper .slick-arrow.slick-next {
		right: -50px;
	}
	.gwyneth-contact-form .wpcf7-form p {
		margin: 0 0 35px 0;
	}

	/* Blog + Archive Pages */
	.gwyneth-container.gwyneth-blog-container {
		width: 90%;
	}
	#gwyneth-content.gwyneth_grid_container {
		margin: 0 0 110px 0;
	}
	.gwyneth-pagination {
		margin: -55px 0 95px;
	}
	.gwyneth-archive-box {
		padding: 95px 50px;
		margin-bottom: 90px;
	}
	.gwyneth-archive-box h1,
	.gwyneth-content-none-wrapper h1 {
		font-size: 40px;
	}
	.error404 .gwyneth-archive-box h1 {
		font-size: 85px;
	}
	.gwyneth-content-none-wrapper {
		margin: 0 auto 115px;
	}

	/* Footer */
	.gwyneth-mc4wp-footer-container form {
		min-width: 100%;
	}
	.gwyneth-mc4wp-footer-container .mc4wp-form-fields p {
		width: 80%;
		margin: 0 auto 20px;
	}
	.gwyneth-mc4wp-footer-container .mc4wp-form-fields p:last-of-type {
		width: auto;
		margin: 0;
	}
	.gwyneth-mc4wp-footer-container .formkit-form .formkit-field {
		margin:  0 0 15px 0 !important;
	}
	.pixandhue-copyright p {
		font-size: 11.5px;
	}
	/* Mailerlite */
	.gwyneth-mc4wp-footer-container .ml-form-embedContainer .ml-form-embedWrapper .ml-form-embedBody .ml-form-formContent {
		display: block;
		width: auto !important;
	}
	.gwyneth-mc4wp-footer-container .ml-form-embedContainer .ml-form-embedWrapper .ml-form-embedBody .ml-form-fieldRow,
	.gwyneth-mc4wp-footer-container .ml-form-embedContainer .ml-form-embedWrapper .ml-form-embedBody .ml-form-fieldRow:last-of-type {
		margin: 0 auto 15px !important;
		display: block;
		width: 100% !important;
		min-width: 300px !important;
	}

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

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

	/* MISC WordPress Styles */
	#gwyneth-content h1.gwyneth-single-page-title {
		font-size: 37px;
	}
	.gwyneth-single-page .gwyneth-full-width {
		margin: 0 0 85px 0;
	}
	.gwyneth-single-page .gwyneth-default-width {
		margin: 0 0 60px 0;
	}
	.gwyneth-single-page .gwyneth_fullwidth_narrow h1 {
		text-align: left;
	}

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

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

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

	/* Single Post */
	#commentform input,
	.gwyneth-full-width #commentform input {
		width: 32.2%;
	}
}

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

	/* Global CSS */
	.gwyneth-container, 
	.gwyneth-full-width,
	.gwyneth-default-width {
		width: 575px;
	}
	label {
		font-size: 13px;
	}

	/* Elementor Header */
	.gwyneth-header-nav-menu nav.hfe-dropdown {
		top: 35px !important;
	} 
	.gwyneth-header-nav-menu {
		max-width: 5% !important;
	}
	.gwyneth-header-sm-icons {
		max-width: 95% !important;
	}

	/* Elementor Styles */
	.gwyneth-center-mobile-text {
		position: relative !important;
		margin-left: auto;
		margin-right: auto;
	}
	.gwyneth-center-mobile-text.gwyneth-rotated-text-alt {
		right: auto !important;
	}
	.gwyneth-center-mobile-text.gwyneth-rotated-text-alt p {
		transform: none;
		float: none;
		margin-top: 0px !important;
	}
	.gwyneth_grid_container {
		grid-template-columns: repeat(1, minmax(0, 1fr));
		grid-column-gap: 0px;
		grid-row-gap: 55px;
	}
	.gwyneth-grid-item .gwyneth-post-header {
		margin: 0 10px 25px 10px;
	}
	.elementor-lightbox .swiper-container [class^="eicon"],
	.elementor-lightbox .dialog-lightbox-close-button, 
	.elementor-lightbox .elementor-swiper-button {
		color: #FFFFFF !important;
	}
	.elementor-lightbox .swiper .elementor-swiper-button svg {
		fill: #FFFFFF !important;
	}
	.elementor-image-gallery .gallery-item {
		width: 50% !important;
		padding: 0 5px 10px !important;
	}
	.gwyneth-marquee-heading span {
		margin: 0 15px;
	}
	.gwyneth-testimonials-wrapper .slick-arrow {
		display: none !important;
	}
	.gwyneth-testimonials-wrapper ul.slick-dots {
		margin-top: 5px;
	}
	.gwyneth-image-with-border img {
		padding: 10px;
	}
	.gwyneth-vertical-subscribe-form input[type="submit"] {
		width: 85%;
		margin: 0;
	}

	/* Blog + Archive Pages */
	.gwyneth-container.gwyneth-blog-container {
		width: 85%;
	}
	#gwyneth-content.gwyneth_grid_container {
		margin: 0 0 75px 0;
	}
	.gwyneth-pagination {
		margin: -30px 0 75px;
	}
	.gwyneth-archive-box {
		padding: 65px 30px;
		margin-bottom: 55px;
	}
	.gwyneth-archive-box h1,
	.gwyneth-content-none-wrapper h1 {
		font-size: 32px;
	}
	.error404 .gwyneth-archive-box h1 {
		font-size: 70px;
	}
	.gwyneth-content-none-wrapper {
		width: 100%;
		margin-bottom: 75px;
	}
	.gwyneth-content-none-wrapper p {
		margin-bottom: 25px;
	}
	.gwyneth-content-none-wrapper #gwyneth-searchform button {
		padding: 0 15px;
	}

	/* Footer */
	.gwyneth-footer-instagram-container .zoom-instagram-widget__items {
		grid-template-columns: repeat(3,1fr) !important;
	}
	.gwyneth-mc4wp-footer-container .mc4wp-form-fields p,
	.gwyneth-mc4wp-footer-container .mc4wp-form-fields p:last-of-type {
		width: 90%;
	}
	.gwyneth-footer-instagram-container .hfe-nav-menu {
		display: block;
	}
	.gwyneth-footer-instagram-container .hfe-menu-item {
		display: block !important;
		text-align: center;
		margin: 0 auto 18px auto;
	}
	.pixandhue-copyright {
		padding: 15px;
	}

	/* Single Post */
	.single-post #gwyneth-content-container,
	#gwyneth-content-container.gwyneth-single-page {
		margin-top: 45px;
	}
	.gwyneth-single-post,
	.gwyneth-default-width .gwyneth-single-post {
		margin-bottom: 65px;
	}
	.gwyneth-post-entry {
		padding-bottom:  30px;
	}
	.gwyneth-post-tags {
		margin:  30px 0 10px 0;
	}
	.single-post .gwyneth-post-media {
		margin-bottom: 30px;
	}
	.gwyneth-post-header {
		margin-bottom: 20px;
	}
	.gwyneth-post-date {
		margin: 11px 0 23px 0;
	}
	#gwyneth-content .gwyneth-post-header h1 {
		font-size: 32px;
		padding: 0;
	}
	#commentform input,
	.gwyneth-full-width #commentform input {
		width: 100%;
	}
	.gwyneth-item-related,
	.gwyneth-full-width .gwyneth-item-related  {
		width: 50%;
	}
	.gwyneth-item-related:nth-of-type(2),
	.gwyneth-full-width .gwyneth-item-related:nth-of-type(2) {
		margin-right: 0;
	}
	.gwyneth-comment-author-avatar img {
		display: none;
	}
	.gwyneth-comment-text {
		margin-left: 0px;
	}
	.gwyneth-post-author-box {
		padding:  55px 0;
	}
	#comments {
		margin: 65px 0 0 0;
	}
	.gwyneth-related-posts {
		margin: 50px 0 0 0;
	}
	.gwyneth-page-wrapper ul.gwyneth-comments ul.children {
		padding: 0;
	}
	.gwyneth-list-of-comments {
		margin: 55px 0 0 0;
	}
	#comments #reply-title,
	#gwyneth-content .gwyneth-comment-list-title,
	#gwyneth-content .gwyneth-related-posts h3 {
		font-size: 28px;
	}
	#gwyneth-content .gwyneth-author-content h5, 
	#gwyneth-content .gwyneth-author-content h5 a {
		font-size: 28px;
	}
	.gwyneth-comment-approval em {
		display: block;
		margin: 0 0 5px 0;
	}
	#gwyneth-content .gwyneth-related-posts h3,
	#gwyneth-content .gwyneth-comment-list-title {
		margin: 0 0 18px 0;
	}
	#gwyneth-content .gwyneth-item-related-caption h4 {
		margin: 0 0 12px 0;
	}

	/* -- Sidebar -- */
	#gwyneth-sidebar {
		margin-bottom:  65px;
	}

	/* -- 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 */
	#gwyneth-content h1.gwyneth-single-page-title {
		font-size: 33px;
	}
	.gwyneth-single-page .gwyneth-full-width {
		margin: 0 0 70px 0;
	}
	.gwyneth-single-page .gwyneth-default-width {
		margin: 0 0 50px 0;
	}
	.gwyneth-single-page #comments {
		margin:  50px 0 30px 0;
	}
}	

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

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

	/* Gutenberg */
	.gwyneth_fullwidth_narrow #gwyneth-content,
	.page-template-page-narrowfullwidth #gwyneth-content {
		overflow: visible;
	}
	.gwyneth-post-content ul.wp-block-latest-posts, 
	.gwyneth-page-content ul.wp-block-latest-posts {
		padding: 20px;
	}
	.gwyneth-post-content ul.wp-block-latest-posts > li, 
	.gwyneth-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;
	}
	.gwyneth-post-content ul.wp-block-latest-posts.is-grid > li, 
	.gwyneth-page-content ul.wp-block-latest-posts.is-grid > li {
		padding-top: 0;
		margin-bottom:  20px;
	}
}	

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

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

	/* Blog + Archive Pages */
	.gwyneth-no-results-wrapper #gwyneth-searchform input[type="text"] {
		width: 220px;
	}

	/* Single Post */
	.gwyneth-post-entry {
		padding-bottom:  20px;
	}
	.gwyneth-post-author-box {
		display: block;
		overflow: hidden;
		padding: 50px 0 45px;
		text-align: center;
	}
	.gwyneth-author-img {
		float: none;
		display: block;
		margin: 0 auto 30px auto;
	}
	.gwyneth-author-content {
		display: block;
		padding: 0;
	}
	#comments #respond {
		padding: 30px 20px 40px;
	}
	.gwyneth-item-related-box {
		display: block;
	}
	.gwyneth-item-related,
	.gwyneth-full-width .gwyneth-item-related {
		width: 100%;
		margin: 0 0 45px 0;
	}
	.gwyneth-comment-date {
		display: block;
		float: none;
		margin: 0 0 8px 0;
	}
	#gwyneth-content .gwyneth-comment-author, 
	#gwyneth-content .gwyneth-comment-author a {
		margin-bottom: 5px;
	}
	.gwyneth-comment-text p {
		margin-bottom: 18px;
	}	
	ul.children .gwyneth-comment-date {
		margin-top:  10px;
	}
	#gwyneth-content-container ul.gwyneth-comments ul.children {
		padding: 0;
	}
	#gwyneth-content-container ul.gwyneth-comments ul.children .gwyneth_thecomment {
		padding:  30px 0 35px;
	}
	.gwyneth-comment-parent {
		vertical-align: 0;
	}

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


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