.small-screen {
	display: none;
}

@media screen and (max-width: 1280px) {
	.index.can-owl .owl-height {
		height: 80px !important;
	}

	.tabs-index .owl-nav {
		position: absolute;
		width: 90%;
		top: 0;
		left: 5%;
		z-index: 100;
	}

	.tabs-index .owl-nav button {
		margin-top: 40px !important;
	}

	.tabs-index .index .label {
		display: inline-block;
		margin-right: 100px;
		padding: 10px 0;
		text-transform: uppercase;
		cursor: pointer;
		opacity: 0.3;
		font-weight: bold;
		width: 100%;
		height: 80px;
		line-height: 70px;
		font-size: 1.5rem;
		text-align: center;
	}

	.shop-category .owl-nav,
	.shop-highlighted .owl-nav {
		display: none !important;
	}
	.members-filter .columns-8{
		width: 100%;
	}
	.members-filter .column-of-3:first-child{
		padding-left: 0;
	}
	.members-filter .column-of-3:last-child{
		padding-right: 0;
	}
}

@media screen and (max-width: 1023px) {
	.text-with-number .icon {
		display: none;
	}

	.profile,
	.profile .wrapper {
		margin: 0;
		padding: 0;
		border: 0;
	}

	.profile .wrapper {
		padding: 5%;
		padding-top: 0;
	}

	.profile .image {
		-webkit-transform: none;
		transform: none;
		margin-bottom: 5%;
	}

	.association-categories .subtitle {
		width: 33%;
	}

	header .navigation .main-column {
		margin-top: 80px;
	}
	header .navigation .main-menu .wrapper {
		font-size: 1.5rem;
	}
	header .navigation .main-menu ul li {
		margin-top: 15px;
	}
	.wp-block-gallery.owl-carousel .owl-nav .owl-prev,
	.wp-block-gallery.owl-carousel .owl-nav .owl-next,
	figure .open-caption {
		width: 60px;
		height: 60px;
	}
	.wp-block-gallery.owl-carousel .owl-nav .owl-prev,
	.wp-block-gallery.owl-carousel .owl-nav .owl-next {
		line-height: 60px;
	}
	.history .title-font {
		font-size: 3rem;
	}

	header .navigation .menu-menu-principale-container ul a {
		font-size: 1.6rem;
	}

	header.scroll .branding .medium-font {
		line-height: 24px;
	}

	.page-header-alt .aiap-image img {
		top: 50%;
		transform: translateY(-50%);
		height: 50%;
	}

	.main-column,
	.main-column.col-padding {
		max-width: 90%;
	}
	.main-column .main-column {
		max-width: 100%;
		padding-left: 0;
		padding-right: 0;
	}
	header .navigation .main-column {
		max-width: 90%;
		padding-left: 10px;
		padding-right: 10px;
	}

	.mc4wp-form-fields input[type="submit"],
	input[name="EMAIL"],
	input[name="FNAME"],
	input[name="LNAME"] {
		width: 100%;
	}
	.newsletter input {
		margin-bottom: 1rem;
	}
	.members-filter .column-of-3{
		width: 50%;
	}
}

@media screen and (max-width: 799px) {
	.column-of-1,
	.column-of-2,
	.column-of-3,
	.column-of-4,
	.column-of-5,
	.columns-1,
	.columns-2,
	.columns-3,
	.columns-4,
	.columns-5,
	.columns-6,
	.columns-7,
	.columns-8,
	.columns-9,
	.columns-10,
	.columns-11,
	.columns-12 {
		width: 100%;
	}

	h2,
	.very-large-font,
	.has-huge-font-size,
	.has-larger-font-size {
		font-size: 2.5rem;
	}

	input,
	select,
	textarea {
		-webkit-appearance: none;
		border-radius: 0 !important;
	}

	h2,
	.very-large-font {
		font-size: 2.5rem;
	}
	h1,
	.title-font {
		font-size: 3rem;
	}
	.navigation .columns-3,
	.navigation .columns-9,
	header .navigation .secondary-menu .menu-item-has-children {
		width: 100%;
	}
	header .navigation ul li,
	header .navigation .main-menu .wrapper,
	header .navigation .main-menu ul li,
	header .navigation .secondary-menu .menu-item-has-children,
	header .navigation .secondary-menu .menu-item-has-children > a {
		margin: 0;
		padding-top: 0;
		padding-bottom: 0;
	}
	header .navigation .main-menu .wrapper {
		border: none;
	}
	header .navigation .main-menu ul li {
		border-top: 1px solid black;
		padding: 14px 0;
	}
	header .navigation .secondary-menu .menu-item-has-children > a {
		position: relative;
		padding-top: 12px;
		padding-bottom: 12px;
		font-weight: normal;
		text-transform: uppercase;
		cursor: pointer;
		font-size: 1.2rem;
	}
	header .navigation .secondary-menu .menu-item-has-children li {
		/*padding-bottom: 8px;*/
		font-weight: bold;
	}
	header .navigation .secondary-menu .sub-menu {
		max-height: 0;
		overflow: hidden;
		transition: 0.5s all;
		margin-bottom: 0;
	}
	header .navigation .secondary-menu .toggled .sub-menu {
		max-height: 500px;
		margin-bottom: 18px;
	}
	header .navigation .secondary-menu .sub-menu a {
		font-size: 1.2rem;
	}

	.wp-block-columns.has-2-columns .wp-block-column,
	.wp-block-columns.has-3-columns .wp-block-column {
		width: 100%;
		flex-basis: 100%;
	}
	.wp-block-columns.has-2-columns .wp-block-column:first-child,
	.wp-block-columns.has-3-columns .wp-block-column:first-child {
		margin-bottom: 20px;
	}
	.panel p.columns-6,
	.expandable-text .columns-6 {
		width: 75%;
	}
	.become-partner .columns-3,
	.become-partner .columns-5,
	.become-partner .columns-6 {
		width: 100%;
		padding: 0;
	}
	.become-partner h2,
	.become-partner .columns-6 {
		padding: 0;
		margin-bottom: 20px;
	}
	.become-partner .button {
		display: inline-block;
		float: left;
	}
	input[type="text"],
	input[type="mail"],
	input[type="text"],
	input[type="email"],
	input[type="mail"],
	input,
	select,
	textarea {
		padding: 10px;
	}
	.history .title-font {
		font-size: 2.2rem;
	}

	header .branding {
		width: 50px;
		position: relative;
	}

	header .branding .logo {
		background-image: url(img/logo_mobile.png);
		height: 60px;
		width: 48px;
	}

	header.toggled .branding .logo {
		background-image: url(img/logo_icon.png);
	}

	header.scroll .branding .logo,
	header.toggled .branding .logo {
		width: 32px;
	}

	header .navigation {
		transition: all 0.3s;
	}

	header .branding .logo-subtitle {
		display: none;
	}

	header .branding .medium-font {
		display: inline-block;
		line-height: 40px;
	}

	header .branding img {
		width: 50px;
	}

	header .navigation .outer-margin {
		overflow: hidden;
		height: 0;
		transition: all 0.3s;
	}
	header.toggled .navigation .outer-margin {
		overflow-y: scroll;
		height: calc(100vh - 100px);
		width: 100%;
	}
	header .navigation ul {
		margin: 0;
		padding: 0;
		width: 100%;
	}

	.panel h1,
	.panel h2,
	.panel h3,
	.panel h4 {
		margin-bottom: 0;
	}

	.outer-margin .input-wrapper:last-child {
		margin-bottom: 1rem;
	}

	.background-box .button {
		margin-bottom: 1rem;
	}

	.tabs-index .index .label {
		font-size: 1.2rem;
		line-height: 90px;
	}

	ul.categories {
		display: inline-block;
		width: 100%;
	}

	.shop-filters .sub {
		position: static;
	}

	ul.categories .category {
		width: 100%;
	}

	.newsletter h2 {
		margin-bottom: 2rem;
	}

	.small-row-padding {
		padding-top: 10px;
		padding-bottom: 10px;
	}
	.row-padding {
		padding-top: 20px;
		padding-bottom: 20px;
	}
	.double-row-padding {
		padding-top: 40px;
		padding-bottom: 40px;
	}
	.row-padding-0, .row-padding-0 > *{
		padding-top: 0;
		padding-bottom: 0;
	}
	.outer-margin {
		margin-left: -10px;
		margin-right: -10px;
	}

	.shop-filters .sub.toggled {
		padding-top: 25px;
		padding-bottom: 25px;
	}
	header .navigation .menu-menu-principale-container ul a,
	header .navigation .menu-menu-secondario-container ul a {
		font-size: 1.5rem;
	}
	header .navigation .secondary-menu .menu-item-has-children > a {
		font-size: 1.5rem;
		font-weight: bold;
		color: #000;
		text-transform: none;
	}

	header .navigation .secondary-menu .menu-item-has-children > a:hover {
		color: #000;
	}

	header .navigation .secondary-menu .sub-menu a {
		font-weight: normal;
		color: #000;
	}

	.secondary-menu {
		padding-bottom: 30vh;
	}

	.wp-block-columns.has-2-columns,
	.wp-block-columns.has-3-columns {
		margin: 0;
	}

	.icon-plus {
		margin-top: 10px;
	}

	.wp-block-columns.has-2-columns .wp-block-column,
	.wp-block-columns.has-3-columns .wp-block-column {
		padding-left: 0;
		padding-right: 0;
	}

	.main-news {
		padding-bottom: 50px;
	}
	.archive-news .categories {
		padding: 0;
		padding-top: 36px;
		width: 100%;
	}

	.archive-events .event .thumbnail {
		padding-top: 0;
	}

	.archive-events .event .thumbnail img {
		position: relative;
		transform: none;
	}

	.archive-events .event {
		margin-right: 0;
	}

	.archive-events .event .thumbnail {
		height: 250px;
		overflow: hidden;
	}
	.single-event .event-header,
	.single-event .prices .wrapper {
		display: block;
	}
	.single-event .event-header .title {
		margin-bottom: 0; 
	}
	.single-event .event-header .column-of-4,
	.single-event .prices .wrapper .column-of-4 {
		min-height: auto;
		padding: 8px 10px;
		border: 0;
	}
	.single-event .prices .wrapper .column-of-4 {
		border-top: 1px solid black;
	}
	.single-event .prices .wrapper .column-of-4:first-child {
		border-top: none;
	}
	.single-event .prices .medium-font {
		margin-bottom: 0;
	}
	.info.row-padding {
		padding-left: 0;
		padding-right: 0;
	}

	.info .buttons .button {
		padding: 12px;
		width: calc(50% - 12.5px);
		margin-right: 0;
		margin-left: 0;
	}

	.info .buttons .button:last-child {
		/*float: right;*/
	}

	.archive-events .event {
		margin-top: 0;
	}
	footer .columns-3 {
		padding: 0;
		padding-bottom: 1rem;
	}

	.profile .image {
		padding-top: 100%;
		margin-bottom: 5%;
	}

	.profile .image img {
		width: auto;
		height: 100%;
	}

	.profile .wrapper {
		padding: 0;
	}

	.association-category .header {
		position: relative;
	}

	.association-category .icon-plus {
		position: absolute;
		right: 0;
		top: 50%;
		transform: translateY(-50%);
	}

	.wp-block-spacer {
		display: none;
	}/*
	.wp-block-button + .wp-block-spacer {
		display: block;
		height: 15px !important;
	}*/
	.wp-block-spacer + .wp-block-button {
		margin-top: 30px;
	}

	header .navigation .outer-margin::-webkit-scrollbar {
		display: none;
	}

	.toggled .utility {
		display: block;
		margin-top: 0;
		padding-right: 0;
	}
	.navigation .outer-margin:before {
		content: "";
		opacity: 0;
		transition: 0.3s opacity;
		animation-duration: 0.2s;
		position: fixed;
		bottom: 0;
		width: 100vw;
		height: 200px;
		left: 0;
		right: 0;
		-webkit-mask-image: -webkit-gradient(
			linear,
			left top,
			left bottom,
			from(rgba(0, 0, 0, 0)),
			to(rgba(0, 0, 0, 1))
		);
		pointer-events: none;
		mask-image: linear-gradient(to bottom, rgba(0, 0, 0, 1), rgba(0, 0, 0, 0));
		z-index: 200;
		background-image: url(img/bg_menu.png);
		background-repeat: repeat-y;
		background-size: 100%;
	}

	.toggled .navigation .outer-margin:before {
		animation-name: toggle;
	}
	@keyframes toggle {
		0% {
			opacity: 0;
		}
		80% {
			opacity: 0;
		}
		100% {
			opacity: 1;
		}
	}

	.toggled .navigation .outer-margin:before {
		opacity: 1;
	}

	header .navigation .secondary-menu .menu-item-has-children {
		padding-left: 0;
		padding-right: 0;
		background-image: url(img/bottom.png);
		background-position: right 20px;
		background-size: 24px;
		background-repeat: no-repeat;
	}

	header .navigation .secondary-menu .menu-item-has-children.toggled {
		background-image: url(img/top.png);
	}

	header .navigation .social {
		margin-top: 1rem;
	}

	header .navigation .social a {
		width: 100%;
		text-transform: uppercase;
		display: inline-block;
		margin-bottom: 0.5rem;
	}
	.mc4wp-form-fields .terms a {
		line-height: 1.6;
	}
	.mc4wp-form-fields .terms {
		margin-top: 1rem;
	}

	.shop-highlighted .highlighted .subtitle {
		margin: 0;
		padding: 0;
		font-size: 1.2rem;
	}
	.small-screen {
		display: block;
	}
	.desktop-screen {
		display: none;
	}
	.small-screen .cta-add-to-card {
		width: 100%;
		max-width: 100%;
	}
	.shop-filters .sub.toggled {
		padding-top: 1rem;
		padding-bottom: 1rem;
	}
	.shop-filters .sub.toggled .subcategory {
		line-height: 1;
		margin: 0;
		margin-bottom: 0.5rem;
	}
	.shop-category .product .image img,
	.shop-page .product .image img {
		position: relative;
	}
	.cta-add-to-card {
		width: 100%;
		max-width: 100%;
	}
	.shop-category .title {
		min-height: auto !important;
	}

	.woocommerce-message {
		padding: 0;
		margin-top: 1rem;
		display: inline-block;
		width: 100%;
		clear: both;
		flex-wrap: wrap;
		flex-direction: column-reverse;
		display: inline-flex;
	}

	.woocommerce .woocommerce-message .button {
		left: 0;
		margin-top: 1rem;
	}

	.woocommerce-message::before {
		display: none;
	}

	.woocommerce .woocommerce-message .button {
		position: relative;
		transform: none;
	}

	.products-container .product-wrapper {
		width: 50%;
	}


	.blocks-gallery-grid.owl-carousel .owl-nav .owl-prev,
	.blocks-gallery-grid.owl-carousel .owl-nav .owl-next {
		width: 32px;
		height: 32px;
		background-color: #f6f6f6;
		font-size: 2rem;
		line-height: 32px;
	}
	.blocks-gallery-grid.owl-carousel .owl-dots {
		display: none;
	}
	.blocks-gallery-grid.owl-carousel .owl-nav .owl-next {
		right: 0;
		background-position: calc(50% + 4px) center;
		background-size: 12px;
	}
	.blocks-gallery-grid.owl-carousel .owl-nav .owl-prev {
		left: 0;
		background-position: calc(50% - 4px) center;
		background-size: 12px;
	}
}

@media screen and (max-width: 599px) {
	h2,
	.very-large-font,
	.has-huge-font-size,
	.has-larger-font-size {
		font-size: 1.8rem;
	}
	footer {
		font-size: 0.8rem;
	}

	.wp-block-column {
		margin-bottom: 25px;
	}

	.wp-block-lazyblock-download {
		padding-left: 0;
	}

	.single-news blockquote {
		font-size: 1.2rem;
	}

	.archive .news .thumbnail,
	.related-news .news .thumbnail {
		margin-bottom: 1rem;
	}

	.association-categories h2 {
		padding-bottom: 1rem;
	}

	.button {
		width: 100%;
		margin-bottom: 1rem;
	}

	h4,
	.medium-font,
	.has-medium-font-size,
	.panel h1,
	.panel h2,
	.panel h3,
	.panel h4 {
		font-size: 1.3rem;
		margin-bottom: 1rem;
	}

	h1,
	.title-font {
		font-size: 2rem;
	}

	.main-column,
	.main-column.col-padding {
		/*padding-left: 0;
		padding-right: 0;*/
	}

	.col-padding {
		padding-left: 0;
		padding-right: 0;
	}

	.wp-block-columns {
		max-width: 100%;
		margin: auto;
		margin-bottom: 28px;
	}

	.page-thumbnail img {
		min-height: 50vh;
	}

	.association-categories .subtitle {
		width: calc(100% - 50px);
	}

	.input-wrapper,
	.input-wrapper.col-padding {
		padding-left: 0;
		padding-right: 0;
	}

	.profile .image {
		margin: 0;
	}

	.profile .wrapper {
		padding-left: 0;
	}

	.outer-margin {
		margin: auto;
	}

	.icon-plus {
		width: 24px;
		height: 24px;
	}

	.large-font {
		font-size: 1.4rem;
	}

	.page-header-alt .aiap-image {
		display: none;
	}

	header.scroll {
		padding-top: 5px;
		padding-bottom: 5px;
	}

	header .navigation .main-column {
		margin-top: 50px;
		max-width: 90%;
		padding-left: 10px;
		padding-right: 10px;
	}

	header .hamburger {
		padding-top: 0;
	}

	header .branding .medium-font {
		line-height: 38px;
	}

	.categories {
		display: inline-block;
		width: 100%;
	}

	.categories .category {
		width: 100%;
	}

	header.row-padding {
		background-color: #fff;
		/*border-bottom: 1px solid;*/
		padding-top: 5px;
		padding-bottom: 5px;
	}

	header .logo-title {
		margin-top: 2px;
	}

	header .hamburger {
		margin-top: 0;
	}

	header .branding img {
		width: 38px;
		margin-top: 2px;
	}

	.utility,
	.language {
		display: none;
	}

	header.scroll .branding .medium-font {
		line-height: 24px;
	}

	#primary {
		padding-top: 50px;
	}
	.page-home .has-huge-font-size {
		padding-top: 25px;
	}
	
	.small-col-padding {
		padding-left: 5px;
		padding-right: 5px;
	}
	.col-padding {
		padding-left: 10px;
		padding-right: 10px;
	}
	.double-col-padding {
		padding-left: 20px;
		padding-right: 20px;
	}

	.wp-block-gallery.owl-carousel .owl-nav .owl-prev,
	.wp-block-gallery.owl-carousel .owl-nav .owl-next,
	figure .open-caption {
		width: 50px;
		height: 50px;
	}
	.wp-block-gallery.owl-carousel .owl-nav .owl-prev,
	.wp-block-gallery.owl-carousel .owl-nav .owl-next {
		line-height: 50px;
	}
	.panel p.columns-6,
	.expandable-text .columns-6,
	.newsletter .input-wrapper,
	.newsletter .input-wrapper input[type="text"],
	.newsletter .input-wrapper input[type="mail"],
	.newsletter .columns-3,
	.newsletter .columns-9,
	.history .intro,
	.history .description {
		width: 100%;
	}
	.newsletter .input-wrapper input {
		margin-bottom: 10px;
	}
	.newsletter .button {
		display: inline-block;
		margin-top: 10px;
	}
	.history .title-font {
		font-size: 1.3rem;
	}
	.profile {
		margin-top: 30px;
		padding-left: 30px;
	}
	.profile .image {
		transform: translate(-30px, -30px);
	}
	.profile .wrapper {
		margin-left: -29px;
	}
	.association-categories .tab-head li {
		letter-spacing: -0.2px;
		margin-right: 10px
	}
	.single-event .event-header .medium-font {
		margin-bottom: 0;
	}
}

@media screen and (max-width: 479px) {
	.members-filter .columns-8{
		display: block;
	}
	.members-filter .column-of-3{
		width: 100%;
		padding-left: 0;
		padding-right: 0;
		padding-bottom: 10px;
	}

	.products-container .product-wrapper {
		width: 100%;
	}
}

@media screen and (min-width: 800px) {
	header .navigation .secondary-menu .sub-menu {
		display: block !important;
	}
}

/* Fix for Expandable texts */
@media (max-width: 781px) and (min-width: 600px) {
	.wp-block-column[style="flex-basis:75%"] {
		flex-basis: 75% !important;
	}
	.wp-block-column[style="flex-basis:25%"] {
		flex-basis: 25% !important;
	}
}
@media (max-width: 599px){
	.wp-block-column[style="flex-basis:75%"] {
	    flex-basis: 100%!important;
	}
	.wp-block-column[style="flex-basis:25%"] {
	    flex-basis: 100%!important;
	}
}