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

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

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

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

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

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

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

	/* Blog Page */
	#ashlyn-content.ashlyn_grid_container {
		margin: 0 0 120px 0;
	}
	.ashlyn-container.ashlyn-blog-container {
		width: 85%;
	}
}

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

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

	/* Single Post */
	#commentform input {
		width: 32.1%;
	}
	.ashlyn-full-width #commentform input {
		width: 32.6%;
	}
	.ashlyn-item-related-caption {
		padding: 20px 15px;
	}

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

	/* Mailerlite */
	.ashlyn-mc4wp-footer-container .ml-form-embedContainer .ml-form-embedWrapper .ml-form-embedBody .ml-form-formContent {
		display: block;
		width: auto !important;
	}
	.ashlyn-mc4wp-footer-container .ml-form-embedContainer .ml-form-embedWrapper .ml-form-embedBody .ml-form-fieldRow,
	.ashlyn-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: 85% !important;
	}
}

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

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

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

	/* ---- Elementor Styles ----- */
	.ashlyn_grid_container {
		grid-column-gap: 20px;
	}
	.ashlyn-grid-item h2 {
		font-size: 40px;
	}
	.ashlyn-cat a, 
	.ashlyn-post-date a {
		font-size: 12px;
	}
	.ashlyn-testimonials-wrapper .slick-prev {
		left: calc(50% - 80px);
	}
	.ashlyn-testimonials-wrapper .slick-next {
		left: 50%;
	}
	.ashlyn-testimonials-wrapper.slick-slider:after {
		width: 39%;
	}
	.ashlyn-scrolling-gallery-container .slick-current + .slick-slide.slick-active {
		width: 400px !important;
	}
	.ashlyn-scrolling-gallery-container .slick-slide.slick-active {
		width: 300px !important
	}
	.ashlyn-scrolling-gallery-container .slick-arrow.slick-prev {
		left: 20px;
	}
	.ashlyn-scrolling-gallery-container .slick-arrow.slick-next {
		right: 20px;
	}
	.ashlyn-contact-form .wpcf7-form p {
		margin: 0 0 35px 0;
	}

	/* Blog + Archive Pages */
	.ashlyn-container.ashlyn-blog-container {
		width: 90%;
	}
	#ashlyn-content.ashlyn_grid_container {
		margin: 0 0 115px 0;
	}
	.ashlyn-pagination {
		margin: -50px 0 95px;
	}
	.ashlyn-pagination a {
		font-size: 12px;
	}
	.ashlyn-archive-box {
		padding: 90px 50px;
		margin-bottom: 90px;
	}
	.ashlyn-archive-box h1,
	.ashlyn-content-none-wrapper h1 {
		font-size: 52px;
	}
	.error404 .ashlyn-archive-box h1 {
		font-size: 100px;
	}
	.ashlyn-content-none-wrapper {
		margin: 0 auto 115px;
	}

	/* Footer */
	.ashlyn-mc4wp-footer-container form {
		min-width: 100%;
	}
	.ashlyn-mc4wp-footer-container .mc4wp-form-fields p {
		width: 80%;
		margin: 0 auto 20px;
	}
	.ashlyn-mc4wp-footer-container .mc4wp-form-fields p:last-of-type {
		width: auto;
		margin: 0;
	}
	.ashlyn-mc4wp-footer-container .formkit-form .formkit-field {
		margin:  0 0 15px 0 !important;
	}

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

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

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

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

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

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

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

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

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

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

	/* Elementor Styles */
	.ashlyn-center-mobile-text {
		position: relative !important;
		margin-left: auto;
		margin-right: auto;
	}
	.ashlyn-testimonials-container .slick-slide .elementor-widget-image,
	.ashlyn-testimonials-container .elementor-element-edit-mode.elementor-widget-image  {
		position: relative !important;
	}
	.ashlyn-testimonials-wrapper .elementor-widget-image img {
		float: none;
		margin: 0 auto;
	}
	.ashlyn-testimonials-wrapper .slick-prev {
		left: calc(80% - 80px);
	}
	.ashlyn-testimonials-wrapper .slick-next {
		left: 80%;
	}
	.ashlyn-testimonials-wrapper.slick-slider:after {
		width: 49%;
	}
	.ashlyn-scrolling-gallery-container .slick-current + .slick-slide.slick-active,
	.ashlyn-scrolling-gallery-container .slick-slide.slick-active {
		width: 325px !important;
	}
	.ashlyn-scrolling-gallery-container .slick-arrow.slick-prev {
		left: 70px;
		bottom: -65px;
	}
	.ashlyn-scrolling-gallery-container .slick-arrow.slick-next {
		right: 70px;
		bottom: -65px;
	}
	.ashlyn_grid_container {
		grid-template-columns: repeat(1, minmax(0, 1fr));
		grid-column-gap: 0px;
		grid-row-gap: 55px;
	}
	.ashlyn-grid-item .ashlyn-post-media {
		margin: 0 0 25px 0;
	}
	.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;
	}
	.ashlyn-marquee-heading span {
		margin: 0 15px;
	}

	/* Blog + Archive Pages */
	.ashlyn-container.ashlyn-blog-container {
		width: 85%;
	}
	#ashlyn-content.ashlyn_grid_container {
		margin: 0 0 75px 0;
	}
	.ashlyn-pagination {
		margin: -30px 0 75px;
	}
	.ashlyn-archive-box {
		padding: 60px 30px;
		margin-bottom: 60px;
	}
	.ashlyn-archive-box h1,
	.ashlyn-content-none-wrapper h1 {
		font-size: 44px;
	}
	.error404 .ashlyn-archive-box h1 {
		font-size: 90px;
	}
	.ashlyn-content-none-wrapper {
		width: 100%;
		margin-bottom: 75px;
	}
	.ashlyn-content-none-wrapper p {
		margin-bottom: 25px;
	}
	.ashlyn-content-none-wrapper #ashlyn-searchform button {
		padding: 0 15px;
	}

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

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

	/* -- Sidebar -- */
	#ashlyn-sidebar {
		margin-bottom:  75px;
	}

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

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

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

	/* Gutenberg */
	.ashlyn_fullwidth_narrow #ashlyn-content,
	.page-template-page-narrowfullwidth #ashlyn-content {
		overflow: visible;
	}
	.ashlyn-post-content ul.wp-block-latest-posts, 
	.ashlyn-page-content ul.wp-block-latest-posts {
		padding: 20px;
	}
	.ashlyn-post-content ul.wp-block-latest-posts > li, 
	.ashlyn-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;
	}
	.ashlyn-post-content ul.wp-block-latest-posts.is-grid > li, 
	.ashlyn-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 */
	.ashlyn-container, 
	.ashlyn-full-width,
	.ashlyn-default-width {
		width: 325px;
	}
	#ashlyn-sidebar {
		width: 325px;
	}
	input, textarea, select {
		width: 90%;
	}

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

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

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


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