@media only screen and (max-width:1580px) {

	#main #home-sliders h3 {
		width: 100%;
		padding-left: 10px;
		border-left: 5px solid #004779;
		margin-bottom: 10px;
		text-align: left;
		position: static;
		float: left;
	}

	#main #home-sliders .owl-carousel {
		clear: both;
		width: 100%;
		float: left;
	}

	#main #home-sliders .owl-carousel .owl-nav button.owl-prev i {
		left: 10px;
	}

	#main #home-sliders .owl-carousel .owl-nav button.owl-next i {
		right: 10px;
	}

	.archive:not(.agenda-escolar) #main h1.entry-title {
		width: 100%;
		padding-left: 10px;
		border-left: 5px solid #004779;
		margin-bottom: 10px;
		text-align: left;
		position: static;
		float: left;
	}

}

@media only screen and (max-width:1280px) {

	.wrapper {
		padding: 0 40px;
	}

	#footer #bottom .wrapper {
		padding: 20px;
	}

	#header #searchform {
		top: auto;
		transform: none;
		right: 40px;
	}

	#header #searchform.active {
		width: calc(100% - 60px);
		height: 60px;
	}

	#top ul.features li span {
		white-space: nowrap;
		overflow: auto;
		float: left;
		display: none;
	}

	#top ul.features li:first-child span {
		display: block;
	}

	#main #main-banner .block-left {
		visibility: hidden;
	}

	#main #main-banner .block-right .mask {
		width: 100%;
	}

	#main #main-banner .block-right .mask .background {
		opacity: 0.9;
		filter: blur(1px);
	}

	#main-help .block p {
		font-size: 18px;
	}

	.owl-carousel.owl-loaded,
	.owl-carousel .owl-stage-outer,
	.owl-carousel .owl-stage, 
	.owl-carousel.owl-drag .owl-item {
	    height: 100%;
	}

	.owl-carousel .owl-item img {
	    object-fit: cover;
	    height: 100%;
	    object-position: center;
	}

}

@media only screen and (max-width:1080px) {

	#main #products {
		grid-template-columns: repeat(3, 1fr)
	}

	#main.regular-page article {
		width: 90%;
	}

	.single-post #main.regular-page article .meta {
		width: calc(100% - 60px);
		margin: 0 30px 30px 30px;
	}

	.single-post #main.regular-page article .content {
		padding: 0 30px 30px 30px;
	}

	.blog #main .articles {
		gap: 30px;
	}

	.woocommerce-checkout #main .col2-set .woocommerce-billing-fields > div {
		padding: 20px !important;
	}

	#main #intro {
		width: 100%;
		padding: 50px 20px;
	}

	.woocommerce-checkout #main .col2-set .woocommerce-account-fields,
	.woocommerce-checkout #main .col2-set .woocommerce-shipping-fields,
	.woocommerce-checkout #main .col2-set .woocommerce-additional-fields {
		padding: 30px 20px !important;
	}

	.woocommerce-page #main form .form-row-first,
	.woocommerce-page #main form .form-row-last,
	.woocommerce-page #main form #billing_postcode_field,
	.woocommerce-page #main form #billing_city_field,
	.woocommerce-page #main form #billing_state_field,
	.woocommerce-page #main form #shipping_postcode_field,
	.woocommerce-page #main form #shipping_city_field,
	.woocommerce-page #main form #shipping_state_field,
	#main.regular-page article,
	.woocommerce-page #main form #billing_phone_field,
	.woocommerce-page #main form #billing_email_field {
		width: 100%;
	}

	#feder .wrapper {
		flex-direction: column;
		align-items: center;
	}

	#feder .wrapper div {
		--w: 50%;
	}
	
	#feder .wrapper p {
		margin-top: 0;
	}

}

@media only screen and (min-width:768px) and (max-width:1150px) {

	#header #searchform {
		right: 45px;
	}

	#header #logo {
		width: 130px;
		margin-left: 0;
	}

	#header ul.menu {
		padding-top: 25px;
		padding-left: 25px;
	}

	#header ul.menu > li {
		margin-right: 15px;
	}

	#header ul.menu > li > a {
		font-size: 17px;
	}

}

@media only screen and (max-width:980px) {

	.wrapper {
		padding: 0 20px;
	}

	#header #logo {
		margin-left: 0;
	}

	#header ul.menu {
		height: calc(100% - 112px);
		padding: 50px 0;
		border-top: 2px solid #fff;
		background-color: #004779;
		opacity: 0;
		pointer-events: none;
		transition: all 280ms ease;
		position: fixed;
		top: 112px;
		left: 0;
	}	
	
	#header.active ul.menu {
		opacity: 1;
		pointer-events: all;
	}

	#header ul.menu > li {
		padding: 0;
		margin-right: 0;
	}
	#header .menu > li > a {
		font-size: 20px;
	}

	#header #searchform input {
		width: 0;
		padding: 0;
	}

	#main #home-banner figure figcaption {
		text-align: center;
	}

	#main #home-banner figure figcaption h3,
	#main #home-banner figure figcaption a {
		display: inline-block;
		float: none;
	}
	
	#main #home-banner figure figcaption a {
		display: inline-flex;
	}

	.single-product #main article {
		padding: 30px;
	}

	.single-product #main article h1.entry-title {
		font-size: 30px;
	}

	.single-product #main article .sidebar .panel .content {
		padding: 20px;
	}

	.single-product #main article .sidebar .panel .content .input-control .radio .option {
		width: 100%;
		margin-bottom: 10px;
	}

	.single-product #main article .sidebar .panel .content .input-control .radio .option:last-child {
		margin-bottom: 0;
	}

	.single-product #main article .sidebar .panel .content .summary div {
		width: 100%;
	}

	.single-product #main article .sidebar .panel .content .summary div:first-child {
		margin-bottom: 10px;
	}

	#main-help .block {
		padding: 50px;
	}

	#header {
		padding: 10px 0;
	}

	#header #logo {
		width: 140px;
	}

	#header .wrapper::before,
	#header .wrapper::after {
		display: none;
	}

	#header .wrapper {
		display: flex;
		justify-content: space-between;
	}

	#header #mobile {
		width: 24px;
		font-size: 24px;
		display: block;
		color: white;
		transition: all 520ms ease;
	}

	#header .menu > li.menu-item-has-children::after {
		display: none;
	}

	#header #searchform.active {
		width: calc(100% - 40px);
	}
	
	#header #searchform button {
		margin-left: 12px;
		margin-right: 12px;
	}

	#header .menu {
		width: 100%;
		float: left;
		margin-left: 0;
		justify-content: space-evenly;
		align-items: center;
		flex-direction: column;
		display: none;
	}

	#header .menu li {
		padding-bottom: 0;
		margin: 0 0 30px 0;
		position: relative;
		z-index: 3;
	}

	#header ul.menu > li > ul.sub-menu {
		display: none;
	}

	#header ul.menu > li.menu-item-has-children::before,
	#header ul.menu > li.menu-item-has-children::after {
		display: none;
	}

	#header .menu li .sub-menu li {
		width: 100%;
		margin-bottom: 0;
		text-align: center;
		display: flex;
		align-items: stretch;
		justify-content: center;
	}

	#header .menu li .sub-menu li:nth-child(even) {
		border-right: 2px solid #eaeaea;
	}

	#header .menu li .sub-menu li:last-child {
		margin-bottom: -2px;
	}

	#header .menu li .sub-menu li a {
		width: 100%;
		text-align: center;
		padding: 0;
		margin: 0;
		border: 0;
		display: flex;
		align-items: center;
		justify-content: center;
	}

	#header .menu > li .sub-menu li.menu-item-has-children {
		padding-right: 0;
	}

	#header .menu > li .sub-menu li.menu-item-has-children::after {
		display: none;
	}

	#header .menu > li > .sub-menu li:hover .sub-menu {
		display: none;
	}

	#header .menu > li .sub-menu li.current-menu-item a {
		border-bottom-color: #92d628;
	}

	#main {
		padding-top: 130px;
	}

	.single-product #main article .content {
		width: 100%;
		padding-right: 0;
	}
	
	.single-product #main article .content .main-title {
		display: block;
	}

	.single-product #main article .sidebar {
		width: 100%;
		padding-left: 0;
	}

	#main.regular-page article header h1.entry-title {
		display: none;
	}

	.single-post #main.regular-page article .meta h3 {
		display: none;
	}

	.single-product.makito #main article .content {
		width: 100%;
	}
	.single-product.makito #main article .content > div 	{
		padding: 20px;
	}

	.agenda-escolar #main h1 {
		font-size: 32px;
	}

	body.agenda-escolar #main #intro {
		padding: 20px;
	}

	#main #intro h1, #main #intro h2, #main #intro h3 {
		font-size: 22px;
	}

	.anr_captcha_field {
		margin-left: -25px;
	}

	body .col2-set div.anr_captcha_field_div,
	body .col2-set div.anr_captcha_field_div div {
		margin-bottom: 0;
	}

	.woocommerce-account .woocommerce-orders-table thead tr th:nth-child(2),
	.woocommerce-account .woocommerce-orders-table tbody tr td:nth-child(2),
	.woocommerce-account .woocommerce-orders-table thead tr th:nth-child(3),
	.woocommerce-account .woocommerce-orders-table tbody tr td:nth-child(3),
	.woocommerce-account .woocommerce-orders-table thead tr th:nth-child(4),
	.woocommerce-account .woocommerce-orders-table tbody tr td:nth-child(4) {
		display: none;
	}

	.woocommerce-page #main form {
		height: auto !important;
	}

	#main.regular-page .woocommerce-breadcrumb {
		width: 100%;
		float: left;
	}

	#main.regular-page article {
		padding: 30px;
		width: 100%;
		float: left;
	}

	.woocommerce-cart #main form {
		width: 100%;
		float: left;
	}

	.woocommerce-cart #main .cart-collaterals {
		width: 100%;
		margin-top: 30px;
		margin-left: 0;
		padding-left: 0;
	}

	.woocommerce-checkout #main form[name="checkout"] .col2-set {
		width: 100%;
		padding-right: 0;
	}

	.woocommerce-checkout #main form[name="checkout"] .col2-set div:first-child {
		margin-bottom: 0;
	}

	.woocommerce-checkout #main form[name="checkout"] #order_review_heading,
	.woocommerce-checkout #main form[name="checkout"] #order_review {
		width: 100%;
		margin-left: 0;
		padding-left: 0;
	}

	.woocommerce-checkout #main form[name="checkout"] #order_review_heading {
		margin-top: 30px;
	}

	#main #products,
	#main #products.agendas {
		grid-template-columns: repeat(2, 1fr);
		gap: 10px;
	}

	.blog #main .articles {
		grid-template-columns: 1fr;
	}

	.blog #main article .content {
		padding: 30px 30px 30px 30px;
	}

	.wpcf7 form .block,
	.wpcf7 form .block:nth-child(1),
	.wpcf7 form .block:nth-child(2) {
		width: 100%;
		padding-right: 0;
		padding-left: 0 ;
	}

	.wpcf7 form .block:nth-child(3) {
	    padding-left: 0;
	}

	.wpcf7 form .block.last > span,
	.wpcf7 form .block.last > span.submit {
		width: 100%;
		padding-right: 0;
		padding-left: 0;
	}

	.wpcf7 form .block.last > span.policy {
		margin-top: 20px;
	}

	#footer > .wrapper {
		grid-template-columns: repeat(3,calc(100%/3));
	}

	#footer > .wrapper .block:nth-child(3) {
		padding-top: 30px;
		margin-top: 30px;
		border-top: 2px solid #f2f2f2;
		grid-column: 1 / span 3;
		order: 4;
	}
	#footer > .wrapper .block:nth-child(4) {
		order: 3;
	}

	#footer > .wrapper .block:last-child {
		width: 100%;
		float: left;
	}
}

@media only screen and (max-width:640px) {

	#top ul.features {
		display: none;
	}

	#top ul.actions {
		width: 100%;
		float: left;
		text-align: center;
	}

	#top ul.actions li {
		display: inline-block;
		float: none;
	}

	#top ul.actions li.admin {
		display: none
	}

	#main #main-banner {
		padding-bottom: 70%;
	}

	#main #main-banner .ribbon {
		background-position: 44px 9px;
		left: -60px;
	}

	#main #main-banner .block-right .content button {
		margin-top: 20px;
	}

	#full-width-cta h4,
	#full-width-cta p {
		width: 100%;
		float: left;
		padding: 0 40px;
	}

	#main-help .block {
		width: 100%;
		float: left;
		padding: 40px;
	}

	#main-help .block h5,
	#main-help .block p {
		width: 100%;
		float: left;
		text-align: center;
	}

	#main.regular-page article {
		padding: 30px 10px;
		width: 100%;
		float: left;
	}

	.single-product #main article .sidebar .panel .content .input-control .pretty {
		width: 100%;
	}

	.single-product #main article .sidebar .panel .content .input-control .pretty:last-child {
		margin-top: 10px;
	}

	.woocommerce-checkout #main .col2-set .woocommerce-billing-fields > div {
		padding: 20px !important;
	}

	.woocommerce-page #main form #billing_postcode_field,
	.woocommerce-page #main form #billing_city_field,
	.woocommerce-page #main form #billing_state_field,
	.woocommerce-page #main form #shipping_postcode_field,
	.woocommerce-page #main form #shipping_city_field,
	.woocommerce-page #main form #shipping_state_field {
		width: 100%;
	}

	.woocommerce-page #main form input[type="email"],
	.woocommerce-page #main form input[type="password"],
	.woocommerce-page #main form input[type="tel"],
	.woocommerce-page #main form input[type="text"] {
		margin-bottom: 10px;
	}


	#main.regular-page .accord .content > div.resources {
		grid-template-columns: repeat(2,1fr);
	}

	.single-product.makito #main article .content .items > div:nth-child(2) {
		padding-top: 20px
	}

	.single-product.makito #main article .content .items > div {
		width: 100%;
		float: left;
		display: block;
	}

	.single-product.makito #main article .content .items > div span {
		float: left
	}

	.single-product.makito #main article .content .items > div span:nth-child(1) {
		width: 100%;
		padding-left: 0;
		margin-bottom: 20px;
	}

	.single-product.makito #main article .content .items > div span:nth-child(2){
		width: 50%;
	}

	.single-product.makito #main article .content .items > div span:nth-child(3){
		width: 50%;
		padding-right: 0;
	}

	.single-product.makito #main article .content #price {
		padding: 10px;
	}

	.single-product.makito #main article .content #price span:first-child {
		font-size: 14px;
	}

	.single-product.makito #main article .content .items > div.head {
		display: none;
	}

	.single-product.makito #main article .content #payment {
		margin-top: 20px;
	}

	#footer > .wrapper {
		width: 100%;
		padding: 20px;
		float: left;
		display: block;
	}

	#footer .block {
		width: 100%;
		height: auto !important;
		padding: 0 0 20px 0;
		margin-bottom: 20px;
		border-left: 0;
		border-bottom: 2px solid #f2f2f2;
	}

	#footer > .wrapper .block:nth-child(3) {
		margin-top: 0;
		border-top: 0;
	}

	#footer .block:last-child {
		margin-top: 0;
		border-right: 0;
		border-bottom: 0;
	}

	.overlay .popup {
		width: calc(100% - 40px);
	}

	.woocommerce-page #main .woocommerce-MyAccount-navigation ul li {
		width: auto;
	}

	.woocommerce-page #main .woocommerce-MyAccount-navigation ul li a {
		padding: 10px;
	}

	.col2-set div {
		width: 100%;
	}

	.col2-set div:first-child {
		margin-bottom: 30px;
		padding-right: 0;
	}

	.col2-set div:last-child {
		padding-left: 0;
	}

	.woocommerce-cart #main form table .product-thumbnail {
		display: none;
	}

	.woocommerce-cart #main form table .coupon {
		width: 100%;
		float: left;
	}

	.woocommerce-checkout #main .woocommerce-info {
		margin-top: 0;
	}

	.woocommerce-checkout #main .col2-set div:first-child {
		margin-bottom: 0;
	}

	.single-product #main article {
		width: 100%;
		padding: 0;
		float: left;
	}

	.single-product #main article .sidebar .panel .content p {
		font-size: 16px;
		line-height: 20px;
	}

	.single-product #main article .sidebar .panel .content .input-control .select.papel,
	.single-product #main article .sidebar .panel .content .input-control .select.gramaje {
		width: 100%;
	}

	.single-product #main article .sidebar .panel .content .input-control .select.papel {
		margin-bottom: 10px;
	}

	.woocommerce-checkout #main table.cart thead {
		display: none;
	}

	.woocommerce-checkout #main table.cart tr {
		grid-template-columns: 1fr;
	}

	.woocommerce-checkout #main table.cart tr td {
		padding-right: 0;
		padding: 20px 0;
	}

	.woocommerce-checkout #main table.cart tr td:first-child,
	.woocommerce-checkout #main table.cart tr td:last-child {
		padding: 0;
	}

	.woocommerce-checkout #main table.cart tr td.product-subtotal {
		font-weight: 700;
	}

	.woocommerce-order-received #main .woocommerce-bacs-bank-details,
	.woocommerce-order-received #main ul.details,
	.woocommerce-order-received #main .woocommerce-order-overview{
		width: calc(100% - 20px);
	}

	.woocommerce-order-received #main .woocommerce-bacs-bank-details{
		padding: 0 20px 40px 20px;
	}

	.woocommerce-order-received #main .woocommerce-bacs-bank-details li strong{
		font-size: 16px;
	}

	#feder .wrapper div {
		--w: 90%;
	}

}

@media only screen and (max-width:440px) {

	.wrapper {
		padding: 0 20px;
	}

	#header #logo {
		width: 140px;
	}

	#header #searchform {
		display: none;
	}

	#header .menu > li {
		width: 100%;
		margin-bottom: 40px;
		text-align: center;
		float: left;
	}

	#header .menu > li:hover {
		z-index: 99;
	}

	#header ul.menu > li.menu-item-has-children:hover::before,
	#header ul.menu > li.menu-item-has-children .sub-menu,
	#header ul.menu > li.menu-item-has-children::after {
		display: none !important;
	}

	#header .menu > li a {
		font-weight: 500;
		float: none;
	}

	#main #main-banner {
		padding-bottom: 100%;
	}

	.single-product #main article .sidebar .panel#order .title {
		height: auto;
		padding: 20px;
	}

	.single-product #main article .sidebar .panel#order .title form {
		display: block;
	}

	.single-product #main article .sidebar .panel#order .title form > span {
		width: 100%;
		margin-bottom: 10px;
		text-align: center;
		float: left;
	}

	.single-product #main article .sidebar .panel#order .title form button {
		width: 100%;
	}

	.single-product #main article .sidebar .panel#order {
		position: relative;
		margin-bottom: 30px;
	}

	.single-product #main article .sidebar .panel#order .success {
		padding: 20px;
		flex-direction: column;
	}

	#main #products,
	#main #products.agendas {
		grid-template-columns: 1fr;
	}

	.woocommerce-page #main form .form-row-first,
	.woocommerce-page #main form .form-row-last,
	.woocommerce-page #main form #billing_postcode_field,
	.woocommerce-page #main form #billing_city_field,
	.woocommerce-page #main form #billing_state_field,
	.woocommerce-page #main form #shipping_postcode_field,
	.woocommerce-page #main form #shipping_city_field,
	.woocommerce-page #main form #shipping_state_field,
	.woocommerce-page #main form #billing_phone_field,
	.woocommerce-page #main form #billing_email_field {
		width: 100%;
		margin-top: 0;
	}
	
	body:not(.home) #main #intro div._df_book {
	    max-height: 300px !important;
	}

	.woocommerce-page #main form p.wooccm-type-file{
		flex-wrap: wrap;
		gap: 15px;
	}

	.woocommerce-checkout #main table.cart tr td.product-subtotal{
		padding: 10px 0;
	}

	.woocommerce-checkout #main .woocommerce-form-login-toggle .woocommerce-info{
		margin-top: 10px;
	}

	.button{
		height: 50px;
	}

}

@media only screen and (max-width:360px) {

	.single-product #main article h1.entry-title {
		margin-top: 0;
		margin-bottom: 20px;
		font-size: 24px;
	}

	.overlay .popup .title {
		font-size: 20px;
		padding: 10px 20px;
	}

	.overlay .popup .close {
		top: 10px;
		right: 10px;
	}

	.overlay .popup .content-wrapper {
		top: 43px;
	}

	.overlay .popup .content-wrapper .content p {
		font-size: 16px;
		line-height: 20px;
	}

	.df-container {
		min-width: 240px !important;
	}
	.woocommerce-order-received #main .woocommerce-bacs-bank-details h2{
		margin-bottom: 0;
	}


}

@media only screen and (max-width:320px) {

	.wrapper {
		padding: 10px;
	}

	.single-product #main article {
		padding: 10px;
		border-radius: 0;
	}

	.single-product #main article .content .description p {
		font-size: 16px;
		line-height: 20px;
	}

}