/*!
Theme Name: Eurotech
Theme URI: http://underscores.me/
Author: Underscores.me
Author URI: http://underscores.me/
Description: Description
Version: 1.0.0
Tested up to: 5.4
Requires PHP: 5.6
License: GNU General Public License v2 or later
License URI: LICENSE
Text Domain: eurotech
Tags: custom-background, custom-logo, custom-menu, featured-images, threaded-comments, translation-ready

*/

/* Captions
--------------------------------------------- */
.wp-caption {
  margin-bottom: 1.5em;
  max-width: 100%;
}

.wp-caption img[class*="wp-image-"] {
  display: block;
  margin-left: auto;
  margin-right: auto;
}

.wp-caption .wp-caption-text {
  margin: 0.8075em 0;
}

.wp-caption-text {
  text-align: center;
}

/* Galleries
--------------------------------------------- */
.gallery {
  margin-bottom: 1.5em;
  display: grid;
  grid-gap: 1.5em;
}

.gallery-item {
  display: inline-block;
  text-align: center;
  width: 100%;
}

.gallery-columns-2 {
  grid-template-columns: repeat(2, 1fr);
}

.gallery-columns-3 {
  grid-template-columns: repeat(3, 1fr);
}

.gallery-columns-4 {
  grid-template-columns: repeat(4, 1fr);
}

.gallery-columns-5 {
  grid-template-columns: repeat(5, 1fr);
}

.gallery-columns-6 {
  grid-template-columns: repeat(6, 1fr);
}

.gallery-columns-7 {
  grid-template-columns: repeat(7, 1fr);
}

.gallery-columns-8 {
  grid-template-columns: repeat(8, 1fr);
}

.gallery-columns-9 {
  grid-template-columns: repeat(9, 1fr);
}

.gallery-caption {
  display: block;
}

/*--------------------------------------------------------------
# Plugins
--------------------------------------------------------------*/

/* Jetpack infinite scroll
--------------------------------------------- */

/* Hide the Posts Navigation and the Footer when Infinite Scroll is in use. */
.infinite-scroll .posts-navigation,
.infinite-scroll.neverending .site-footer {
  display: none;
}

/* Re-display the Theme Footer when Infinite Scroll has reached its end. */
.infinity-end.neverending .site-footer {
  display: block;
}

/*--------------------------------------------------------------
# Utilities
--------------------------------------------------------------*/

/* Accessibility
--------------------------------------------- */

/* Text meant only for screen readers. */
.screen-reader-text {
  border: 0;
  clip: rect(1px, 1px, 1px, 1px);
  clip-path: inset(50%);
  height: 1px;
  margin: -1px;
  overflow: hidden;
  padding: 0;
  position: absolute !important;
  width: 1px;
  word-wrap: normal !important;
}

.screen-reader-text:focus {
  background-color: #f1f1f1;
  border-radius: 3px;
  box-shadow: 0 0 2px 2px rgba(0, 0, 0, 0.6);
  clip: auto !important;
  clip-path: none;
  color: #21759b;
  display: block;
  font-size: 0.875rem;
  font-weight: 700;
  height: auto;
  left: 5px;
  line-height: normal;
  padding: 15px 23px 14px;
  text-decoration: none;
  top: 5px;
  width: auto;
  z-index: 100000;
}

/* Do not show the outline on the skip link target. */
#primary[tabindex="-1"]:focus {
  outline: 0;
}

/* Alignments
--------------------------------------------- */
.alignleft {
  /*rtl:ignore*/
  float: left;

  /*rtl:ignore*/
  margin-right: 1.5em;
  margin-bottom: 1.5em;
}

.alignright {
  /*rtl:ignore*/
  float: right;

  /*rtl:ignore*/
  margin-left: 1.5em;
  margin-bottom: 1.5em;
}

.aligncenter {
  clear: both;
  display: block;
  margin-left: auto;
  margin-right: auto;
  margin-bottom: 1.5em;
}

/* Gravity Form */
div.gform_wrapper .gform_heading {
  display: none !important;
}

div.gform_wrapper .gfield {
  grid-column: span 2 / span 2;
}

div.gform_wrapper .gfield.gfield--width-half {
  grid-column: span 1 / span 2;
}

div.gform_wrapper .gfield .gfield_label {
  font-size: 14px;
  line-height: 140%;
  letter-spacing: 2%;
  color: var(--color-black);
  display: block;
  margin-bottom: 10px;
}
div.gform_wrapper div.gform_fields {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  grid-gap: 24px 20px;
}

div.gform_wrapper .gfield input:not([type="submit"]),
div.gform_wrapper .gfield textarea,
div.gform_wrapper .gfield select {
  font-family: "PP Neue Montreal Book";
  font-size: 14px;
  line-height: 110.00000000000001%;
  letter-spacing: 2%;
  color: var(--color-black);
  background: #f4f4f6;
  border: 1px solid #e3e3e5;
  border-radius: 6px;
  padding: 13px 15px;
  outline: none;
  width: 100%;
  height: auto;
	box-shadow: none;
}
div.gform_wrapper .gfield select {
  -webkit-appearance: none;
  -moz-appearance: none;
  appearance: none;
  background-image: url("data:image/svg+xml;base64,PHN2ZyB3aWR0aD0iMjQiIGhlaWdodD0iMTIiIHZpZXdCb3g9IjAgMCAyNCAxMiIgZmlsbD0ibm9uZSIgeG1sbnM9Imh0dHA6Ly93d3cudzMub3JnLzIwMDAvc3ZnIj4KPGcgY2xpcC1wYXRoPSJ1cmwoI2NsaXAwXzE1NzRfNjU3MykiPgo8cGF0aCBkPSJNMTcuNDE5OCAyLjQ1MTk5TDE4LjQ3OTggMy41MTI5OUwxMi43MDI4IDkuMjkxOTlDMTIuNjEwMiA5LjM4NTE0IDEyLjUwMDEgOS40NTkwNyAxMi4zNzg5IDkuNTA5NTJDMTIuMjU3NiA5LjU1OTk3IDEyLjEyNzYgOS41ODU5NCAxMS45OTYzIDkuNTg1OTRDMTEuODY0OSA5LjU4NTk0IDExLjczNDkgOS41NTk5NyAxMS42MTM3IDkuNTA5NTJDMTEuNDkyNCA5LjQ1OTA3IDExLjM4MjMgOS4zODUxNCAxMS4yODk4IDkuMjkxOTlMNS41MDk3NyAzLjUxMjk5TDYuNTY5NzcgMi40NTI5OUwxMS45OTQ4IDcuODc2OTlMMTcuNDE5OCAyLjQ1MTk5WiIgZmlsbD0iIzYyNjI2MiIgZmlsbC1vcGFjaXR5PSIwLjYiLz4KPC9nPgo8ZGVmcz4KPGNsaXBQYXRoIGlkPSJjbGlwMF8xNTc0XzY1NzMiPgo8cmVjdCB3aWR0aD0iMTIiIGhlaWdodD0iMjQiIGZpbGw9IndoaXRlIiB0cmFuc2Zvcm09InRyYW5zbGF0ZSgyNCAxLjA0OTA3ZS0wNikgcm90YXRlKDkwKSIvPgo8L2NsaXBQYXRoPgo8L2RlZnM+Cjwvc3ZnPgo=");
  background-repeat: no-repeat;
	box-shadow: none;
  background-position: center right 16px;

}
div.gform_wrapper div.gfield textarea {
  height: 100px !important;
  min-block-size: unset !important;
  resize: none;
}

div.gform_wrapper .gform_footer,
div.gform_wrapper .gform_page_footer {
  margin-top: 24px;
}

div.gform_wrapper .gform_footer .gform_button {
  font-family: "PP Neue Montreal";
  font-weight: 500 !important;
  font-size: 16px !important;
  line-height: 19px !important;
  letter-spacing: 2% !important;
  padding: 12px 24px !important;
  background: var(--color-dark) !important;
  color: var(--color-white) !important;
  border-radius: 24px !important;
  width: 100% !important;
  text-align: center !important;
	box-shadow: none;
  border: none !important;
  outline: none !important;
  cursor: pointer !important;
}

div.gform_wrapper .gform_footer .gform_button:hover {
  background: var(--color-accent) !important;
  color: var(--color-white) !important;
}

.close-fillter-mb{
	display: none;
	position: absolute;
	top: 12px;
	right: 12px;
	z-index: 99;
}
.fillter-mb-action{
	border: 1px solid #EFEFEF;
	border-radius: 24px;
	display: inline-flex;
	padding: 11px 15px;
	align-items: center;
	font-family: Neue Montreal;
	font-weight: 400;
	gap: 12px;
	font-size: 16px;
	line-height: 140%;
	letter-spacing: 2%;
	color: #000000;
	cursor: pointer;
	display: none;
	position: relative;
    z-index: 99;
}
@media (max-width:1560px) {
	.cta-contact__image {
    margin-right: -20px;
	}
}
@media (max-width:1024px) {
	.product-filter{
		position: relative;
	}
	.cta-contact__left {
			padding: 60px 30px 60px 0px;
	}
	.tempur-benefits__list {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    grid-gap: 10px;
}
	.tempur-benefits__item{
		padding-top: 40px;
		min-height: 148px;
		padding-bottom: 22px;
	}
	.product-filter .left{
		display: none;
		position: absolute;
		background: #fff;
		top: 0;
		left: 0;
		        width: 100%;
		z-index: 9;	
		flex-wrap: wrap;
		gap: 24px 0;
		padding: 68px 16px 24px 16px;
	}
	.product-filter.active .close-fillter-mb{
		display: block;
	}
	.product-filter.active .left{
		display: flex;
	}
	.product-filter.active .fillter-mb-action{
		border-color: #fff;
	}
	.product-filter__item {
    padding: 0px;
		width: 50%;
    border-right: none;
}
	
	.product-filter__arrow{
		width: 16px;
		height: 8px;
	}
	.product-filter__item:nth-child(2),.product-filter__item:nth-child(4){
		justify-content: end;
	}
	.product-filter__item:nth-child(2) .product-filter__dropdown,.product-filter__item:nth-child(4) .product-filter__dropdown{
		left: auto;
		right: 0;
	}
	.product-filter__item--sort .product-filter__trigger{
		opacity: 1;
	}
	.fillter-mb-action{
		display: inline-flex;
	}
	.tempur-difference__right {
    	padding: 32px 0px;
			padding-left: 30px;
	}
	.tempur-comfort__card{
		padding: 24px;
	}
}
@media (max-width:767px) {
	.browse-settings__cate-item .item-image {
		opacity: 1;
		visibility: visible;
	}
	.browse-settings-hero__desc {
    line-height: 150%;
}
	div.gform_wrapper .gfield.gfield--width-half {
    grid-column: span 2 / span 2;
}
	div.gform_wrapper .gfield input:not([type="submit"]),
div.gform_wrapper .gfield textarea,
div.gform_wrapper .gfield select {
		padding-top: 15px;
	padding-bottom: 15px;
	}
	    .cta-contact__left {
        padding: 40px 0px 32px 0px;
    }
	.cta-contact__heading {
		font-size: 32px !important;
    margin-bottom: 16px;
		line-height: 1.3em;
    max-width: 85%;
}
	.cta-contact__desc {
    font-size: 16px;
    line-height: 150%;
    max-width: 85%;
}
	.cta-contact__form {
    margin-top: 40px;
}
	.cta-contact__inner {
    flex-direction: column;
}
	.cta-contact__left {
    width: 100%;
	
	}
	.cta-contact__content {
    max-width: 100%;
}
	.cta-contact__right {
    width: 100%;
}
	.cta-contact__image {
		margin-left: -20px;
        margin-right: -20px;
		        object-fit: cover;
        aspect-ratio: 390 / 450;
    }
	.tempur-comfort__card .card-img {
		position: static;
	        aspect-ratio: 350 / 400;
        object-fit: cover;
	}
	.tempur-comfort__card:nth-child(1) .card-img {
		object-position: right;
	}
	.tempur-comfort__card{
		    aspect-ratio: auto;
	}
	.tempur-comfort__card .card-content {
    display: flex;
    flex-direction: column;
    gap: 16px;
    max-width: 100%;
    color: #000000;
		margin-top: 24px;
}
	.tempur-comfort-sec {
    padding-bottom: 40px;
}
	.tempur-comfort__card {
        padding: 0;
    }
	.tempur-comfort__card .card-title{
		font-size: 24px;
	}
	.tempur-comfort__card .card-desc {
    font-size: 16px;
    line-height: 150%;
		width: 85%;
}
	.tempur-comfort__inner {
    grid-template-columns: repeat(1, 1fr);
    grid-gap: 60px;
}
	.tempur-ava-collec__desc{
		font-size: 16px;
		line-height: 1.5em;
	}
	.tempur-ava-collec__heading{
		margin-bottom: 16px;
		line-height: 1.3em !important;
		font-size: 32px !important;
	}
	.tempur-difference__inner{
		flex-direction: column;
		gap: 28px;
	}
	.tempur-difference__content {
    max-width: 100%;
    width: 85%;
}
	.tempur-difference-sec {
		padding-top: 40px;
		background: none;
	}
	.tempur-benefits-sec {
    padding: 0px 0 60px 0;
}
	.tempur-difference__left {
    width: 100%;
}
	.tempur-difference__right{
		width: 100%;
		padding: 0 0 32px 0;
	}
	.tempur-difference__heading {
    font-size: 32px;
    line-height: 1.3em;
    max-width: 250px;
}
	.tempur-difference__desc{
		line-height: 1.5em;
	}
	.tempur-benefits__list {
    grid-template-columns: repeat(1, 1fr);
    grid-gap: 12px;
}
	.tempur-benefits__item{
		gap: 16px;
	}
	.tempur-benefits__item .item-desc {
    line-height: 22px;
    max-width: 241px;
}
	.tempur-benefits__item .item-title {
    font-size: 24px;
}
	.hero-sec.hero-sec-medium .hero-main {
    max-width: 100%;
}
.hero-sec.hero-sec-tempur .hero-main{
	gap: 16px;
}
.hero-sec.hero-sec-medium.hero-sec-tempur  .hero-heading{
	width: 80%;
}
.hero-sec.hero-sec-medium.hero-sec-tempur .hero-desc{
	width: 80%;
	line-height: 1.5em;
	padding-bottom: 16px;
	margin-bottom: 0 !important;
}
.hero-sec.hero-sec-medium.hero-sec-tempur .hero-buttons{
	width: 100%;
}
.hero-sec.hero-sec-medium.hero-sec-tempur .hero-buttons a{
	width: 100%;
	text-align: center;
}
.hero-sec.hero-sec-medium.hero-sec-tempur .hero-logo {
    max-height: 36px;
    margin-bottom: 8px;
}
	.hero-sec.hero-sec-medium {
    min-height: 560px;
    padding-bottom: 24px;
}
	.hero-sec.hero-sec-medium .hero-heading {
    font-size: 36px;
	}
	.browse-settings__cate {
    margin-bottom: 40px;
}
	.product-filter {
    gap: 20px;
    margin-bottom: 24px;
		position: relative;
	}
}