/*
Theme Name: Central Sales 
Author: Cappers.ca
Author URI: https://cappers.ca/
License: GNU General Public License v2 or later
License URI: http://www.gnu.org/licenses/gpl-2.0.html
Version: 1.13
Requires at least: 4.7
Requires PHP: 5.6
Description: Serving the Veterinary Community
Tags: blog, one-column, custom-background, custom-colors, custom-logo, custom-menu, editor-style, featured-images, theme-options, translation-ready, block-styles, wide-blocks, accessibility-ready
Text Domain: centralsales
*/

/**
 * Table of Contents:
 * 1.0 GENERAL
 * 2.0 HEADER
 *   2.1 MAIN MENU
 *   2.2 MOBILE MENU
 *   2.3 LANG MENU
 * 3.0 CONTENT
 *   3.1 HOME 
 *   3.2 PAGE
 *   3.3 NEWS
 *   3.4 PAGE 404
 *   3.5 PAGINATION
 *   3.6 FORM
 *   3.7 MODAL
 * 4.0 SIDEBAR
 * 5.0 FOOTER
 * 6.0 MEDIA QUERIES
 * --------------------------------------
*/

/*----------------------
1.0 GENERAL
-----------------------*/
html, body {
	padding: 0;
	margin: 0;
	background: #FFF;
	color: #2B2B2B;
	font: 400 16px/1.5 'Montserrat', sans-serif;
}
*, *:after, *:before  {
	box-sizing: border-box;
}
*, *:after, *:before, a:focus, button:focus  {
	outline: none;
}
div, article, section, header, footer {
	position: relative;
}
a,
.c-primary {
	color: #F03A41;
	-ms-transition: all 0.3s ease-out;
     transition: all 0.3s ease-out;
}
a,
a:hover {
	text-decoration: none;
}
a.disabled {
	opacity: 0.5;
	cursor: default;
}
h1, h2, h3, h4, h5 {
	margin-bottom: 32px;
	font-weight: 600;
}
h1 {
	font-size: 2.875em;
}
.hero_simple h1 {
	margin: 0 auto;
}
.hero_simple h1:after,
.modal-title:after{
	display: inline-block;
	content: '';
	width: 0.15em;
	height: 0.15em;
	border-radius: 0.2em;
	background-color: #F03A41;
}
h2 {
	font-size: 2.375em;
}
h3 {
	font-size: 1.75em;
}
h4,
.large {
	font-size: 1.25em;
}
h5 {
	font-size: 1em;
}
img {
	max-width: 100%;
	height: auto;
}
.wrapper {
	width: 100%;
	max-width: 1440px;
	padding-left: 15px;
	padding-right: 15px;
	margin-left: auto;
	margin-right: auto;
}
.c-white {
	color: #fff;
}
/*----------------------
2.0 HEADER
-----------------------*/
#main-header,
#mobile-header {
	position: fixed;
	top: 0;
	width: 100%;
	height: 163px;
	background-color: #FFF;
	z-index: 999;
}
body.admin-bar #main-header,
body.admin-bar #mobile-header {
	top: 32px;
}
.top-nav {
	padding: 8px 0;
}
.top-nav .wrapper {
	justify-content: space-between;
}
.site-logo {
	width: 184px;
}
.item-btn {
	display: flex;
	align-items: center;
	gap: 16px;
}
.item-btn  .wp-block-button__link {
	padding: 0 2em;
	height: 3.68em;
	font-size: 1rem;
	line-height: 3.68;
	font-weight: 600;
}
.item-btn img {
	width: auto;
	height: 40px;
}
.lang {
	display: flex;
	align-items: center;
} 

#mobile-header .lang {
	cursor: pointer;
}
.lang i {
	font-size: 1.2em;
	color: #F03A41;
}
.lang ul {
	position: relative;
	display: flex;
	flex-direction: column;
	align-items: flex-start;
	padding: 0;
	margin: 0 0 0 0.5em;
}
.lang ul:after {
	position: absolute;
	top: -3px;
	right: -20px;
	content: '\221F';
	color: #2B2B2B;
	transform: rotate(-45deg);
	
}
.lang ul a {
	color: #fff;
}
.lang-item:not(.current-lang) {
	position: absolute;
	display: none;
	order: 2;
	background-color: #2B2B2B;
	padding: 10px 15px;
	bottom: -40px;
	left: -15px;
} 
.lang ul:hover .lang-item {
	display: block;
}
.lang .current-lang {
	display: block;
	order: 1;
	z-index: 99;
}
.lang .current-lang a {
	color: #2B2B2B;
}
#mobile-header .lang .current-lang a,
#mobile-header .lang ul:after {
	color: #fff;
}
/*
 * 2.1 MAIN MENU
*/
.site-nav {
	background-color: #2B2B2B;
}
.main-menu {
	justify-content: space-between;
	gap: 20px;
}

.main-menu li a {
	display: block;
	height: 72px;
	line-height: 72px;
	color: #fff;
	font-size: 1.25em;
	text-transform: uppercase;
}
.main-menu li.current-menu-item a {
	color: #F03A41;
}
.copy {
	padding-top: 1.5em;
	padding-bottom: 1.5em;
	opacity: 0.65;
}
/*
 * 2.2 MOBILE MENU
*/
#mobile-header,
#mobile-menu {
	display: none;
}
#mobile-header {
	height: 72px;
	background-color: #2B2B2B;
	z-index: 9999;
}
#mobile-header .wrapper {
	display: flex;
	justify-content: space-between;
	align-items: center;
}
#mobile-header .site-logo {
	display: flex;
	align-items: center;
	padding: 0 15px;
	background-color: #fff;
	left: -15px;
	width: fit-content;
	height: 72px;
}
#mobile-header .site-logo img {
	max-height: 52px;
	width: auto;
}
#icon-menu {
	font-size: 2em;
	color: #fff;
	cursor: pointer;
}
body.open-menu {
	overflow: hidden;
}
body.open-menu #mobile-menu {
	display: block;
}
#mobile-menu {
	position: fixed;
	background-color: #2B2B2BF2;
	top: 72px;
	left: 0;
	width: 100vw;
	height: calc(100vh - 72px);
	padding-top: 2em;
	z-index: 9998;
}

body.admin-bar #mobile-menu {
	top: 104px;
	height: calc(100vh - 104px);
	overflow: auto;
}
#mobile-menu ul.nav-menu {
	width: 100%;
	flex-direction: column;
	align-items: center;
}
#mobile-menu ul.nav-menu li {
	padding: 2em 0;
}
#mobile-menu .main-menu li.menu-item-object-industry {
	margin: 0;
}
#mobile-menu ul.nav-menu li.logo {
	display: none;
}
#mobile-menu ul.nav-menu li a {
	text-transform: uppercase;
	font-size: 1.25em;
	color: #fff;
}
#mobile-menu ul.nav-menu li.current-menu-item a {
	color: #F03A41;
}
/*----------------------
3.0 CONTENT
-----------------------*/
.main {
	margin-top: 163px;
	overflow-x: hidden;
}
.hero_simple {
	display: flex;
	align-items: center;
	background-color: #fff;
	background-position: center;
	background-size: cover;
	background-repeat: no-repeat;
	padding: 0 15px;
	margin-bottom: 4em;
	height: 31.7vw;
}
.page-content > *,
.wp-block-cover__inner-container {
	width: 100%;
    max-width: 1440px;
    padding-left: 15px;
    padding-right: 15px;
    margin-left: auto;
    margin-right: auto;
}
.page-content > p {
	max-width: 1100px;
}
.wp-block-cover {
	max-width: none;
	padding: 4em 0;
}
.wp-block-cover__inner-container .wp-block-columns {
	margin-bottom: 0;
}
.before-footer .wp-block-column:not(:first-child) {
	margin-left: 0;
	flex-grow: 1.2;
}
.before-footer .wp-block-column:first-child h2,
.before-footer .wp-block-column:first-child p {
	padding-right: 2em;
	max-width: 600px;
}
.wp-block-separator {
	margin: 64px auto;
	width: 15em;
	max-width: 1100px;
	height: 5px;
	background-color: #F03A41;
	border: 0;
	opacity: 1;
}
.wp-block-separator:not(.is-style-wide):not(.is-style-dots) {
	width: 120px !important;
	max-width: 120px !important;
	opacity: 1 !important;
}
.v-center .wp-block-separator:not(.is-style-wide):not(.is-style-dots) {
	margin: 2em auto 2em 0;
}
.c-red {
	color: #f00;
}
.wrapper-simple {
	text-align: center;
	width: 100%;
	max-width: 600px;
	min-height: calc(100vh - 440px);
	padding: 4em 15px;
	margin: 0 auto;
}
.page-simple {
	text-align: center;
	min-height: calc(100vh - 440px);
	padding: 4em 15px;
}
/*
 * 3.1 HOME
*/
.hero {
	padding-top: 80px;
}
.hero p {
	max-width: 840px;
}
.hero .wp-block-image,
.hero .wp-block-image img,
.img-bg,
.img-bg img {
	position: relative;
}
.hero .wp-block-image {
	padding-top: 20px;
}
.hero .wp-block-image img,
.img-bg img {
	z-index: 9;
}
.hero .wp-block-image:before,
.img-bg:before,
.icons-set:before,
.icons-set:after {
	position: absolute;
	display: block;
	content: '';
	background: url("img/dots.svg") center center no-repeat;
	width: 355px;
	height: 355px;
	z-index: 0;
}
.hero .wp-block-image:before {
	top: 0;
	right: -160px;
}
.bg-rt:before {
	top: -52px;
	right: -160px;
}
.bg-lt:before {
	top: -52px;
	left: -150px;
}
.v-center {
	display: flex;
    flex-direction: column;
    justify-content: center;
	padding: 0 2em;
}
.v-center p {
	max-width: 770px;
}
.icons-set {
	max-width: 1220px;
	margin: 3.5em auto 8em;
}
.icons-set:before {
	top: -52px;
	left: -250px;
}
.icons-set:after {
    bottom: -60px;
	right: -260px;
}
.icons-set .wp-block-group__inner-container {
	background: #fff;
	box-shadow: 0px 0px 30px #FF6B6B1A;
    border: 1px solid #FF6B6B26;
    border-radius: 10px;
	z-index: 99;
}
.icons-set .wp-block-columns {
	margin: 0;
}
.icons-set .wp-block-column {
	margin: 0 !important;
	padding: 3.5em 0;
	height: 280px;
	border-right: 1px solid #FF6B6B26;
	border-bottom: 1px solid #FF6B6B26;
}
.icons-set .wp-block-column:last-child {
	border-right: 0;
}
.icons-set .wp-block-columns:last-child .wp-block-column {
	border-bottom: 0;
}
.icons-set .wp-block-image {
	margin-bottom: 0;
	height: 100%;
}
.icons-set .wp-block-image figure {
	display: flex;
	flex-direction: column;
	justify-content: space-between;
	align-items: center;
	margin-bottom: 0;
	height: 100%;
}
.icons-set .wp-block-image figcaption {
	margin-top: auto;
	margin-bottom: 0;
	font-size: 20px;
	font-weight: 600;
	max-width: 280px;
}
/*
 * 3.2 PAGE
*/
.search fieldset {
	display: flex;
	justify-content: space-between;
	height: 50px;
	border: 1px solid #CACACA;
}
.search-field {
	border: 0;
	width: calc(100% - 50px);
	height: 48px;
	padding: 0 1em;
	line-height: 48px;
}
input[type="search"]::-webkit-search-cancel-button {
	display: none;
}
#searchsubmit {
	padding: 0;
	width: 48px;
	height: 48px;
	color: #F03A41;
	font-size: 1.5em;
	border: 0;
	background: #fff;
}
.filter {
	margin: 3.75em 0;
	flex-wrap: wrap;
}
.filter_alphabet a {
	padding: 0 0.5em;
	font-weight: 600;
}
.loop-partners {
	margin: 0;
	padding: 0;
	list-style: none;
}
.list-partners,
.industry.list {
	margin: 0 0 4em 0;
	padding: 0;
	list-style: none;
  -webkit-columns: 3;
    -moz-columns: 3;
    columns: 3;
	
}
.list-partners > li,
.industry.list > li,
.list-partners > li ul,
.industry.list > li ul{
	-webkit-column-break-inside: avoid; 
    page-break-inside: avoid; 
    break-inside: avoid; 
    break-inside: avoid-column;
}
.list-partners > li,
.industry.list > li {
	margin-bottom: 4em;
}
.list-partners > li > p,
.industry.list > li > p {
	font-weight: 600;
}
.list-partners ul,
.industry.list ul {
	margin: 0;
	padding: 0;
	list-style: none;
}
.list-partners ul li,
.industry.list ul li {
	margin: 0.75em 0;
	font-weight: 600;
}
.loop-partners li {
	margin-bottom: 4em;
}
.loop-partners h3 {
	border-bottom: 1px solid #CACACA;
	padding-bottom: 12px;
}
.loop-partners .partner-content {
	display: flex;
	align-items: center;
	padding: 1em;
}
.loop-partners .logo-partner {
	flex-basis: 220px;
	padding-right: 2em;
}
.loop-partners .partner-desc {
	flex-basis: calc(100% - 220px);
}
.industry.loop,
.industry.loop ul {
	padding: 0;
	list-style: none;
}
.industry.loop > li {
	margin-bottom: 3em;
}
.industry.loop h3 {
	padding-bottom: 0.5em;
	border-bottom: 1px solid #CACACA;
}
.industry.list h3 {
	font-size: 1.25em;
}
.industry.loop ul {
	display: flex;
	flex-wrap: wrap;
	margin-left: -12px;
	margin-right: -12px;
}
.industry.loop ul li {
	width: 25%;
	padding: 12px;
}
.industry-item_wrapper {
	display: flex;
	flex-direction: column;
	text-align: center;
	padding: 2em;
	height: 100%;
	min-height: 205px;
	background-color: #fff;
	box-shadow: 0px 0px 30px #F03A4126;
    border: 1px solid #F03A4126;
}
.industry-item_wrapper a {
	margin-top: auto;
}
.contact-columns .wp-block-column {
	padding: 3em 3em 1em 3em;
	background: #FFFFFF;
    box-shadow: 0px 0px 30px #F03A4126;
    border: 1px solid #F03A4126;
}
.contact-info p {
	position: relative;
	padding-left: 1.5em;
	font-size: 1.25em;
}
.contact-info p i {
	position: absolute;
	left: 0;
	top: 5px;
}
.contact-info .wp-block-image {
	margin: 0 -1.6em;
}
.signup {
	margin-bottom: 3em;
}
.signup .wp-block-column:first-child {
	padding-right: 2em;
	border-right: 1px solid #CACACA;
}
.hero-adequan {
	margin-top: 32px;
}
.hero-adequan .wp-block-group__inner-container {
	display: flex;
	flex-direction: column;
	background-color: #f9b2b5;
}
.hero-adequan .wp-block-heading {
	position: absolute;
	max-width: 800px;
	margin: 0;
	padding: 64px;
}
.hero-adequan .wp-block-gallery {
	align-items: flex-end !important;
	gap: 0 !important;
	margin: 0 !important;
}
.hero-adequan .wp-block-gallery .wp-block-image:first-child {
	width: 69% !important;
	margin-bottom: 0 !important;
	border-top: 16px solid #fff;
	border-right: 16px solid #fff;;
}
.hero-adequan .wp-block-gallery .wp-block-image:last-child {
	position: relative;
	width: 31% !important;
	overflow: hidden;
}
.hero-adequan .wp-block-gallery .wp-block-image:last-child:before {
	position: absolute;
	content: '';
	width: 16px;
	height: 400px;
	background-color: #FFF;
	top: -10%;
	left: 45%;
	transform: rotate(37deg);
	transform-origin: top left;
	z-index: 9;
}
.case-study {
	margin-top: 20px;
	padding-top: 64px;
	padding-bottom: 64px;
}
.case-study:before,
.case-study:after{
	position: absolute;
	display: block;
	content: '';
	background: url("img/dots.svg") center center no-repeat;
	width: 355px;
	height: 355px;
	z-index: 0;
}
.case-study:before {
	top: 25px;
	left: -150px;
}
.case-study:after {
	bottom: 16px;
	right: -160px;
}
.case-study .wp-block-group__inner-container {
	background-color: #f9b2b5;
	border-radius: 50px;
	padding: 64px;
	z-index: 10;
}
.case-study .wp-block-columns .wp-block-column:first-child {
	border-right: 5px solid #FFFFFF;
	padding-right: 32px;
}
.box-videos .wp-block-columns {
	gap: 0 !important;
}
.box-videos .wp-block-group .wp-block-group__inner-container {
	display: flex;
	flex-wrap: wrap;
	gap: 23px;
	padding-right: 32px;
} 
.box-videos  .wp-block-embed {
	margin-bottom: 0;
}
.box-videos .wp-block-column:first-child .wp-block-embed {
	width: calc(50% - 11.5px);
}
.box-videos .wp-block-column:last-child {
	padding-left: 32px;
	border-left: 1px solid #CACACA;
}
/*
 * 3.3 NEWS
*/
body.blog .wrapper.d-flex,
body.search .wrapper.d-flex {
	justify-content: space-between;
}
.posts-filter {
	margin-bottom: 3em;
	text-align: center;
	border-bottom: 1px solid #CACACA;
}
.posts-filter .btn {
	font-size: 1.25em;
	font-weight: 500;
	padding: 0 0 0.4em 0;
	margin: 0 0.8em;
	border-bottom: 1px solid transparent;
	border-radius: 0;
	transform: translateY(1px);
}
.posts-filter .btn.active {
	color: #F03A41;
	border-bottom-color: #F03A41;
}
.loop-posts {
	width: calc(100% - 520px);
}
.loop-posts article {
	padding-bottom: 1.5em;
	margin-bottom: 1.5em;
	border-bottom: 1px solid #CACACA;
}
.loop-posts article > * {
	width: 50%;
}
.loop-posts .post-summary {
	padding-left: 3em;
}
.post-cat {
	display: inline-block;
	margin-bottom: 0.5em;
	padding: 0 0.5em;
	line-height: 1.5;
	border: 1px solid #CACACA;
    border-radius: 1px;
}
.post-date {
	color: #2B2B2B;
	opacity: 0.65;
}
/*
 * 3.4 404
*/

/*
 * 3.5 PAGINATION
*/
.pagination {
	justify-content: center;
	margin-bottom: 4em;
}
.page-numbers {
	display: flex;
	align-items: center;
	padding: 0;
	list-style: none;
}
.page-numbers a,
.page-numbers span{
	padding: 0.5em;
	font-weight: 500;
}
.page-numbers i {
	font-size: 1.5em;
}
/*
 * 3.6 FORM
*/
p.row {
	margin-bottom: 1.5em;
}
.login-username,
.login-password {
	float: left;
	width: 50%;
	padding: 0 15px;
}
.login-username {
	margin-left: -15px;
}
.row label,
.login-username label,
.login-password label {
	font-weight: 600;
}
.login-username label,
.login-password label {
	display: block;
}
.login-username label:before,
.login-password label:before {
	content: '* ';
	color: #f00;
}
.wpcf7-form-control-wrap {
	display: block;
}
.login-username input,
.login-password input,
input.wpcf7-text,
.form-row input,
select{
	margin-top: 0.5em;
	max-width: 100%;
	width: 100%;
	height: 50px;
	line-height: 50px;
	padding: 0 10px;
	background: #fff;
	border: 1px solid #CACACA;
}
.wpcf7-textarea {
	margin-top: 0.5em;
	width: 100%;
	height: 150px;
	padding: 10px;
	border: 1px solid #CACACA;
}
.wp-block-button__link,
.wpcf7-submit,
.login-submit input{
	margin: 1em 0 0;
	padding: 0 4em;
	height: 4em;
	line-height: 4em;
	font-size: 1rem;
	font-weight: 600;
	background-color: #FF585F;
	text-transform: uppercase;
	color: #2B2B2B;
	border: 1px solid #FF585F;
	border-radius: 4em;
	-ms-transition: all 0.3s ease-out;
    transition: all 0.3s ease-out
}
.wp-block-button__link:hover,
.wpcf7-submit:hover,
.login-submit input:hover {
	background-color: #ff686f !important;
	border-color: #ff686f !important;
	color: #2B2B2B;
}
.login-submit input {
	margin-bottom: 2em;
}
label {
	position: relative;
}
input[type="checkbox"] {
	position: relative;
	height: 1em;
    width: 1em;
    -webkit-appearance: none;
    -moz-appearance: none;
    -o-appearance: none;
    appearance: none;
    border: 1px solid #CACACA;
    outline: none;
    transition-duration: 0.3s;
    background-color: #fff;
    cursor: pointer;
}
input[type="checkbox"]:checked {
	color: #fff;
	border-color: #F03A41;
    background-color: #F03A41;
}
span.checkbox {
	position: absolute;
	display: none;
	top: 2px;
	left: 2px;
	height: 1em;
    width: 1em;
	line-height: 1;
	font-weight: 700;
	color: #fff;
	z-index: 9;
}
input[type="checkbox"]:checked + span.checkbox{
	display: block;
	
}
form .clear {
	display: inline-block;
	width: 48px;
	line-height: 48px;
	font-size: 22px;
	text-align: center;
	visibility: hidden;
	cursor: pointer;
}
/*
 * 3.7 MODAL
*/
body.modal-open {
	overflow: hidden;
}
.modal.show {
	background: rgba(0,0,0,0.5);
}
.modal-dialog {
	display: flex;
	align-items: center;
	margin: 0 auto;
	height: inherit;
	max-width: 29em;
}
.modal-content {
	padding: 3em;
}
.modal-content .close {
	position: absolute;
	top: 0;
	right: 0;
	border: 0;
	padding: 0;
	width: 40px;
	height: 40px;
	background: transparent;
	font-size: 40px;
	line-height: 1;
}
.modal-body {
	padding: 0;
}
.modal-title {
	line-height: 1.18;
	margin-bottom: 2rem;
}
.modal-body .wpcf7-form p {
	margin-bottom: 1.5em;
}
.modal-body .wpcf7-form p:last-of-type {
	margin-bottom: 0;
}
.wpcf7-acceptance .wpcf7-list-item {
	margin-left: 0;
}
/*----------------------
4.0 SIDEBAR
-----------------------*/
#secondary {
	width: 455px;
}
.widgettitle {
	margin-top: 3em;
	text-transform: uppercase;
}
.widget ul {
	padding: 0;
	list-style: none;
}
.widget ul li {
	margin-bottom: 1.5em;
	padding-bottom: 1.5em;
	border-bottom: 1px solid #CACACA;
}
.widget_archive ul li {
	margin-bottom: 1em;
	padding-bottom: 1em;
}
.widget ul li:last-child {
	margin-bottom: 0;
}
.widget .featured-image {
	width: 105px;
	height: 0;
	padding-bottom: 45px;
	margin-right: 1em;
	overflow: hidden;
}
.widget .featured-image img {
	position: absolute;
	width: 100%;
	height: 100%;
	object-fit: cover;
}
.widget h5 {
	margin-bottom: 0;
}
.widget .post-cat {
	margin-left: auto;
	height: 25px;
}
/*----------------------
5.0 FOOTER
-----------------------*/
.before-footer h2 {
	margin-bottom: 24px;
}
.before-footer p {
	font-size: 1.25em;
}
.before-footer .wp-block-button__link {
	width: 240px;
	padding: 0 1em;
}
#main-footer {
	background-color: #2B2B2B;
	padding-top: 3em;
	color: #fff;
}
#main-footer .wrapper > div {
	padding-right: 6em;
}
#main-footer .wrapper > div:last-child {
	padding-right: 0;
}
#main-footer h4 {
	text-transform: uppercase;
	font-weight: 400;
	opacity: 0.65;
}
#main-footer .first-col h4{
	font-weight: 600;
	opacity: 1;
}
/*----------------------
6.0 MEDIA QUERIES
-----------------------*/
@media only screen and (max-width: 1440px) {
	body.home .page-content { overflow: hidden; }
}
@media only screen and (max-width: 1280px) {
	.main-menu li a { font-size: 1em; }
	#main-footer .wrapper > div { padding-right: 2em; }
}
@media only screen and (max-width: 1024px) {
	#main-header { display: none; }
	#mobile-header { display: block; }
	.main { margin-top: 72px; }
	.wp-block-column[style="flex-basis:calc(100% - 576px - 2em)"] { flex-basis:calc(100% - 2em) !important; }
	.nav-btns  { margin-left: auto; gap: 30px; margin-right: 30px; }
	.nav-btns .item-btn img { width: auto; height: 16px; }
	.hero-adequan .wp-block-heading,
	.case-study .wp-block-group__inner-container { padding: 32px;}
	.hero-adequan .wp-block-gallery .wp-block-image:last-child:before { top: -11%; }
}
@media only screen and (max-width: 1024px)  and ( min-width: 481px) {
	.lang { padding-right: 2em; }
}
@media only screen and (max-width: 820px) {
	body.blog .wrapper.d-flex,
	.before-footer .wp-block-columns,
	.signup,
	body.search .wrapper.d-flex { flex-direction: column; }
	.loop-posts,
	#secondary { width: 100%; }
	h1, h2, h3, h4, h5 { margin-bottom: 24px;  }
	.case-study h2,
	.before-footer h2 { margin-bottom: 16px; }
	h3 { font-size: 24px; }
	.before-footer .wp-block-columns .wp-block-column { margin-bottom: 4em; }
	.before-footer .wp-block-columns .wp-block-column:last-child { margin-bottom: 0; }
	.before-footer .wp-block-column:first-child h2, .before-footer .wp-block-column:first-child p { padding-right: 0; max-width: none;}
	.wp-block-button__link { font-size: 16px; }
	#main-footer .wrapper > div {  padding-right: 0; margin-bottom: 2em; }
	.industry.loop ul li { width: 50%; }
	.signup .wp-block-column:first-child {  padding-right: 0;  border-right: none;  margin-bottom: 4em; }
	.signup .wp-block-column:nth-child(2n) {  margin-left: 0; }
	.contact-columns { flex-direction: column; }
	.contact-columns .wp-block-column {  padding: 2em 2em 1em 2em; }
	.wp-block-column.contact-form,
	.wp-block-column.contact-info { flex-basis: 100% !important; }
	.wp-block-column.contact-form { order: 1; }
	.wp-block-column.contact-info { order: 0; margin-left: 0; margin-bottom: 2em; }
	.contact-info .wp-block-image { margin: 0 -1em; }
	.hero-adequan .wp-block-heading { position: relative; max-width: 100%; }
	.hero-adequan .wp-block-gallery .wp-block-image:first-child { border-right: none; border-top-width: 8px;}
	.hero-adequan .wp-block-gallery .wp-block-image:last-child { display: none; }
	#main-footer .wrapper { flex-wrap: wrap; }
	#main-footer .wrapper div { width: 50%; }
}
@media (min-width:600px) and (max-width:781px) {
	.icons-set .wp-block-column:not(:only-child) { flex-basis:33.33% !important; }
   }
@media only screen and (max-width: 780px) {
	.media-box .wp-block-column[style="flex-basis:576px"],
	.wp-block-column[style="flex-basis:calc(100% - 576px - 2em)"],
	.media-box.wp-block-columns:not(.is-not-stacked-on-mobile) > .wp-block-column:not(:only-child){ flex-basis:100% !important; }
	.media-box .wp-block-column:nth-child(2n) { margin-left: 0 !important; padding: 0; }
	.v-center { padding: 0; text-align: center; }
	.v-center .wp-block-separator:not(.is-style-wide):not(.is-style-dots) { margin: 1em auto; }
	.wp-block-columns:not(.hero) .wp-block-column[style="flex-basis:576px"]:not(.contact-info) { order: -1; }
	.case-study { margin-top: 0; padding-top: 32px; padding-bottom: 32px; }
	.case-study .wp-block-columns .wp-block-column:first-child { border-bottom: 5px solid #FFFFFF; padding-bottom: 32px; border-right: 0; padding-right: 0; }
	.case-study::before, 
	.case-study::after { display: none; }
	.box-videos .wp-block-columns { gap: 32px !important; }
	.box-videos .wp-block-column:last-child { padding-top: 32px; border-top: 1px solid #CACACA; padding-left: 0; border-left: 0;  }
	.box-videos .wp-block-group .wp-block-group__inner-container { padding-right: 0;}
	.box-videos .wp-block-column:first-child .wp-block-embed { width: 100%; }
}
@media only screen and (max-width: 599px) {
	.main { padding-top: 32px; }
	body.page-template-page-adequancanine .main { padding-top: 0; }
	h1 { font-size: 2.5em; }
	h2 { font-size: 1.75em; }
	.hero { padding-top: 0; text-align: center; }
	.hero .wp-block-image::before {  top: -10px; }
	.hero .wp-block-buttons { justify-content: center; margin-bottom: 2em; }
	.hero_simple { background-image: none !important; }
	.img-bg:before { display: none; }
	.wp-block-spacer[style="height:128px"] { height: 64px !important; }
	.icons-set { margin-top: 4em; margin-bottom: 3em; }
	.icons-set:before,
	.icons-set:after { transform: scale(0.6); }
	.icons-set:before { top: -105px; left: -230px; }
	.icons-set:after  { bottom: -90px; right: -230px;  }
	.icons-set .wp-block-group__inner-container { background-color: transparent; border: 0; box-shadow: none; }
	.icons-set .wp-block-column { background: #fff; box-shadow: 0px 0px 15px #FF6B6B1A; border: 1px solid #FF6B6B26; border-radius: 10px; margin-bottom: 1em; height: 209px; padding: 1.5em 0; }
	.filter_alphabet { margin-top: 2em; width: 100%; text-align: center;}
	.loop-partners .partner-content { flex-direction: column; align-items: flex-start; padding: 0; }
	.loop-partners .logo-partner,
	.loop-partners .partner-desc { flex-basis: 100%; }
	.loop-partners .logo-partner { max-width: 190px; padding: 0; margin-bottom: 1em; }
	.list-partners, .industry.list { -webkit-columns: 1; -moz-columns: 1; columns: 1; }
	.loop-posts article { flex-direction: column; }
	.loop-posts article > * { width: 100%; }
	.loop-posts .post-summary { padding-left: 0; }
	.loop-posts .featured-image { margin-bottom: 20px; }
	.loop-posts .featured-image img { width: 100%; }
	.industry.loop ul li,
	.login-username, 
	.login-password { width: 100%; }
	.wpcf7-form .row-cols-2 > * { width: 100%; margin-bottom: 1.5em; }
	.wp-block-column .row-cols-2 > *:last-child,
	.wpcf7-form .row-cols-2 > *:last-child {margin-bottom: 0; }
	.login-username, 
	.login-password { padding: 0; margin-left: 0; }
	.contact-columns .wp-block-column.contact-form { margin-bottom: 1.5em; }
	.wp-block-button__link, 
	.wpcf7-submit, 
	.login-submit input { padding: 0 2em; }
	.modal-content { padding: 1em; }
	.hero-adequan { margin-top: 10px; }
    #main-footer .wrapper div { width: 100%; }
}
@media only screen and (max-width: 480px) {
	.lang { padding-right: 30px; }
	.lang ul { position: absolute; display: none; top: 100%; left: -15px; gap: 0; background-color: #2B2B2B; margin: 0; }
	.lang.open ul { display: block; }
	.lang ul::after { display: none;}
	.lang-item {padding: 10px 15px;}
	.lang-item:not(.current-lang) { position: relative; display: block; bottom: auto; left: 0; }
	.lang-item.current-lang a { font-weight: 700; }
}
@media only screen and (max-width: 400px) {
	.nav-btns { gap: 20px; margin-right: 20px; }
	.lang { padding-right: 20px; }
}
