/*
Theme Name: Healthcare
Author: m5 Marketing Communications
Version: 1
Text Domain: base
*/

:root {
	--global-font-family: 'Lato', sans-serif;
	--color-primary: #001E61;
	--color-secondary: #D2451E;
	--color-orange: #FF6C37;
}

html { font-size: 16px; }

body {
	color: #333;
	font: 1rem/1.45 var(--global-font-family);
	-webkit-font-smoothing: antialiased;
}
h1, h2 {
	color: var(--color-primary);
	font-weight: 900;
	letter-spacing: -2%;
}
h1 {
	font-size: 2rem;
	line-height: 1.1;
	margin-bottom: 1.25rem;
}
h2 {
	font-size: 1.5rem;
	line-height: 1.2;
}
h3 {
	font-size: 22px;
	line-height: 1.35;
	font-weight: 900;
	letter-spacing: -2%;
	margin-bottom: 20px;
}
h5 {
    color: var(--color-primary);
    font-size: 13px;
    line-height: 1.1;
    font-weight: 700;
    letter-spacing: 20%;
    text-transform: uppercase;
}
a {
	text-decoration: none;
	transition: all .2s;
}
a:hover,
a:focus { color: var(--color-primary); }

b, strong {
	color: var(--color-primary);
	-webkit-font-smoothing: auto;
}

.hidden { display: none !important; }
.text-orange { color: var(--color-secondary); }
.text-orangeb { color: var(--color-orange); }

/* Alignment */
.alignleft {
	display: inline;
	float: left;
	margin-right: 1.5em;
}
.alignright {
	display: inline;
	float: right;
	margin-left: 1.5em;
}
.aligncenter {
	clear: both;
	display: block;
	margin: 0 auto;
}
:focus { outline: none; }

img {
	display: inline-block;
	height: auto;
	max-width: 100%;
}/*
img[class*="wp-image-"] {
	margin-top: 10px;
	margin-bottom: 10px;
}*/
.wp-caption {
	border: 1px solid #ccc;
	margin-bottom: 10px;
	max-width: 100%;
	border: 1px solid #ccc;
	border-radius: 4px;
	padding: 0 10px;
}
.wp-caption.aligncenter {
	margin-bottom: 10px;
}
.wp-caption img[class*="wp-image-"] {
	display: block;
}
.wp-caption .wp-caption-text {
	text-align: center;
	margin-top: 10px;
}

/* WP Gallery */
.gallery {
	margin-bottom: 1.5em;
}
.gallery a img {
	border: none;
	height: auto;
	max-width: 90%;
}
.gallery dd {
	margin: 0;
}
embed,
iframe,
object {
	max-width: 100%;
}


.container {
	max-width: 1280px;
	padding: 0 20px;
	margin: 0 auto !important;
}
.container-sm {
	max-width: 1074px;
}

.hentry { margin: 0 0 1.5em; }
.clear { clear: both; }

.section {
	position: relative;
	padding: 3.75rem 0;
	z-index: 1;
}

.button,
.wp-block-buttons .wp-block-button__link,
#main .gform_button,
#gform_2 .gform_button {
	display: inline-flex !important;
	justify-content: center;
	align-items: center;
	width: auto;
	min-height: 42px;
	padding: 0.5rem 2rem;
	color: #fff;
	font-size: 0.875rem;
	line-height: 1;
	font-weight: 900;
	text-align: center;
	text-decoration: underline;
	text-transform: uppercase;
	background-color: var(--color-secondary);
	border: 0;
	border-radius: 4px;
	transition: all .3s;
}
.button:hover,
.wp-block-buttons .wp-block-button__link:hover,
#main .gform_button:hover {
	opacity: .75;
	box-shadow: 0 20px 38px rgba(0, 0, 0, 0.16);
    transform: translateY(-3px);
	transition: all .25s;
}

#section-signup .col-img {
	align-self: stretch;
}
#section-signup .col-img .wp-block-image {
	position: relative;
	width: 100%;
	height: 100%;
	overflow: hidden;
}
#section-signup .col-img img {
	position: absolute;
	width: 100%;
	height: 100%;
	object-fit: cover;
	object-position: center top;
}
#section-signup .col-text {
	padding: 40px 0;
}
#section-signup .wp-block-group {
	gap: 1rem;
	padding-right: 20px;
}
#section-signup h1 {
	color: #fff;
}
#section-signup .col-text p {
	max-width: 455px;
}
#gform_wrapper_1 {
	padding-top: 1rem;
}
#section-signup .gfield_label {
    color: #fff;
	font-weight: 700;
	margin-bottom: 4px;
}
#section-signup .gform-field-label__text:where(:has(+ .gfield_required)) {
	padding-inline-end: 0;
}
.gform_wrapper .gform_heading {
  display: none !important;
}
#gform_1 input[type="text"]::placeholder,
#gform_1 input[type="email"]::placeholder,
#gform_2 input[type="text"]::placeholder,
#gform_2 input[type="email"]::placeholder {
    color: #405688;
    font-weight: 400;
}
#gform_1 input[type="text"], 
#gform_1 input[type="email"], 
#gform_1 select,
#gform_2 input[type="text"] {
    min-height: 46px;
    color: #404040;
    font-size: 14px;
    line-height: 1.42;
    font-weight: 700;
    padding: 6px 1rem;
    border-color: rgba(0,30,97,.2);
    border-radius: 4px;
}
#gform_1 input[type="checkbox"] {
    width: 18px;
    min-width: 18px;
    height: 18px;
    border-color: rgba(0,30,97,.2);
    border-radius: 4px;
}
#gform_1 .gchoice label {
    color: #fff !important;
    font-size: 14px;
    font-weight: 700;
	margin-inline: 4px 0;
}
#gform_1 .gfield_required {
	color: #fff;
    font-size: 14px;
}
#gform_1 .gform_fields {
    row-gap: 14px;
}
#field_1_11 {
	padding-top: 20px;
}
#field_1_9 {
	grid-column: span 10;
}

.popup-form { 
    padding: 2rem;
    border-radius: 16px;
}
#gform_2 .gform_fields {
    row-gap: 1.25rem;
}
#gform_2 .gfield_label {
    color: var(--color-primary);
    font-weight: 700;
    margin: 1rem 0 0.5rem;
}
#gform_2 .gform-field-label__text {
    padding-inline-end: 0;
}
#gform_2 input[type="text"] {
    border-radius: 4px;
    border: 1px solid #c9cad6 !important;
    background: rgba(237, 240, 245, .5) !important;
}
#gform_2 textarea {
    min-height: 10rem;
    padding: 16px 20px;
    background: rgba(237, 240, 245, .5) !important;
    border: 1px solid #c9cad6 !important;
    border-radius: 8px !important;
    color: #222222 !important;/*
    font-family: "Lato", sans-serif !important;
    font-size: 16px !important;
    font-weight: 400 !important;
    line-height: 1.5 !important;*/
    resize: vertical !important;
    box-shadow: none !important;
}
#gform_2 .gfield_required {
	color: var(--color-primary);
    font-size: 14px;
}

#section-brand {
	padding: 40px 0;
}

#section-featured .wp-block-cover .box-text {
	color: var(--color-primary);
}

#section-act .col-left,
#section-social .col-text,
#section-cta .col-text {
	display: flex;
	flex-direction: column;
	justify-content: start;
	align-items: center;
	gap: 6px;
}
#section-act .wp-block-image {
	margin-top: 20px;
	border-radius: 1rem;
	overflow: hidden;
}
#section-act .col-left strong {
	color: inherit;
}
#section-act ol {
	position: relative;
	list-style: none;
	padding-left: 54px;
	margin: -1.25rem 0;
}
#section-act ol li {
	position: relative;
	padding: 1.25rem 0;
	border-bottom: 1px solid #CCD2DF;
	line-height: 1.3;
	font-weight: 700;
}
#section-act ol li strong {
	font-size: 18px;
	font-weight: 900;
}
#section-act ol li:last-child {
	border: 0;
}
#section-act ol li::before {
	content: counter(list-item, decimal-leading-zero) " ";
	position: absolute !important;
	left: -54px;
	top: 50%;
	transform: translateY(-50%);
	color: var(--color-secondary);
	font-size: 28px;
	line-height: 1;
	font-weight: 700;
}

#section-speak {
	overflow: hidden;
}
#section-speak .cb-carousel-block {
    padding-top: 25px;
}
#section-speak .swiper {
    overflow: visible;
}
#section-speak .swiper-slide {
    display: flex;
    flex-direction: column;
    justify-content: center;
    gap: 12px;
    height: auto;
    padding: 20px;
    border-radius: 8px;
    background: #ffffff;
}
#section-speak .swiper-slide p {
    font-weight: 700;
    padding: 0;
}
#section-speak .swiper-slide p strong {
    color: var(--color-primary);
    font-weight: 900;
}
#section-speak .swiper-slide p.credit {
    font-size: 12px;
    font-weight: 600;
}
#section-speak .swiper-slide p.credit strong {
    color: var(--color-primary);
    font-size: 14px;
    font-weight: 700;
}
#section-speak .cb-pagination.swiper-pagination-horizontal {
    width: auto;
    height: 6px;
    gap: 10px;
    bottom: -35px;
    left: 50%;
    transform: translateX(-50%);
    border-radius: 3px;
    background: #fff;
}
#section-speak .cb-pagination .cb-pagination-bullet {
    display: block;
    width: 42px;
    height: 6px;
    margin: 0;
    border-radius: 3px;
    background: var(--color-primary);
    opacity: 0;
    transition: all .3s;
}
#section-speak .cb-pagination .cb-pagination-bullet.swiper-pagination-bullet-active {
    opacity: 1;
}
#section-speak .cb-button-prev,
#section-speak .cb-button-next {
    top: auto;
    bottom: -43px;
    width: 24px;
    height: 24px;
    border-radius: 4.5px;
    background-color: var(--color-secondary);
    background-repeat: no-repeat;
    background-position: center;
    transition: all .3s;
}
#section-speak .cb-button-prev {
    left: 50%;
    transform: translateX(-150px);
    background-image: url('data:image/svg+xml,<svg width="14" height="14" viewBox="0 0 14 14" fill="none" xmlns="http://www.w3.org/2000/svg"><path d="M6.78467 11.8057L1.75005 6.99989L6.78467 2.19413" stroke="white" stroke-width="1.05" stroke-linecap="round" stroke-linejoin="round"/><path d="M1.75 7L12.25 7" stroke="white" stroke-width="1.05" stroke-linecap="round" stroke-linejoin="round"/></svg>');
    background-size: 10px 10px;
}
#section-speak .cb-button-next {
    right: 50%;
    transform: translateX(150px);
    background-image: url('data:image/svg+xml,<svg width="14" height="14" viewBox="0 0 14 14" fill="none" xmlns="http://www.w3.org/2000/svg"><path d="M6.86523 2.19434L11.8998 7.00008L6.86523 11.8058" stroke="white" stroke-width="1.05" stroke-linecap="round" stroke-linejoin="round"/><path d="M11.9 7L2.1001 7" stroke="white" stroke-width="1.05" stroke-linecap="round" stroke-linejoin="round"/></svg>');
    background-size: 10px 10px;
}
#section-speak .swiper-button-disabled {
    opacity: 1;
    background-color: #e1e1ea;
}
#section-speak .swiper-button-disabled.cb-button-prev {
    background-image: url('data:image/svg+xml,<svg width="14" height="14" viewBox="0 0 14 14" fill="none" xmlns="http://www.w3.org/2000/svg"><path d="M6.78467 11.8057L1.75005 6.99989L6.78467 2.19413" stroke="%23A8A8A8" stroke-width="1.05" stroke-linecap="round" stroke-linejoin="round"/><path d="M1.75 7L12.25 7" stroke="%23A8A8A8" stroke-width="1.05" stroke-linecap="round" stroke-linejoin="round"/></svg>');
}
#section-speak .swiper-button-disabled.cb-button-next {
    background-image: url('data:image/svg+xml,<svg width="14" height="14" viewBox="0 0 14 14" fill="none" xmlns="http://www.w3.org/2000/svg"><path d="M6.86523 2.19434L11.8998 7.00008L6.86523 11.8058" stroke="%23A8A8A8" stroke-width="1.05" stroke-linecap="round" stroke-linejoin="round"/><path d="M11.9 7L2.1001 7" stroke="%23A8A8A8" stroke-width="1.05" stroke-linecap="round" stroke-linejoin="round"/></svg>');
}
#section-speak .cb-button-prev::after,
#section-speak .cb-button-next::after {
    content: '';
}
#section-speak .cb-button-prev:hover,
#section-speak .cb-button-next:hover {
    background-color: rgba(210, 69, 30, .7);
}
#section-speak .cb-button-prev:hover {
    background-position: 45% center;
}
#section-speak .cb-button-next:hover {
    background-position: 55% center;
}
#section-speak .mobile-btn {
    padding-top: 10px;
}

#section-social .wp-block-buttons {
	flex-direction: column;
	align-items: start;
	gap: 20px;
	padding-top: 28px;
}
#section-social .wp-block-button__link {
	min-width: 20rem;
	font-size: 1rem;
	font-weight: 800;
	text-decoration: none;
}
#section-social .wp-block-button__link img {
	margin-right: .75rem;
}
#section-social .bt-linkedin .wp-block-button__link {
	color: var(--color-primary);
	background: rgba(210, 69, 30, 0.2);
}

#section-cta .wp-block-image {
	max-width: 450px;
	border-radius: 1rem;
	overflow: hidden;
}
#section-cta .wp-block-buttons {
	padding-top: 28px;
}

#footer {
    padding: 40px 0 60px;
}
#footer > .wp-block-column  {
	max-width: 1392px;
	padding: 0 20px;
}
.row-footer {
	border-top: 1px solid var(--color-orange);
	padding: 20px 0;
}
#footer p {
    font-size: 12px;
    line-height: 1.4;
    font-weight: 600;
    padding: 0;
}
#footer p:first-child {
    padding-bottom: 15px;
}
#footer p:nth-child(2) {
    padding-right: 10%;
}
#footer p strong {
    font-size: 16px;
    font-weight: 700;
}
#footer .wp-block-separator {
    margin: 20px 0;
    border-width: 1px;
}
#footer .col-copy {
    display: flex;
}
#footer .col-copy p {
    padding-bottom: 0 !important;
}
#footer .col-copy a {
    display: inline-block;
    padding-left: 15px;
    margin-left: 15px;
    border-left: 1px solid var(--color-orange);
    text-decoration: underline;
    text-decoration-color: rgba(255, 255, 255, .5);
    transition: all .3s;
}
#footer a { color: #fff; transition: all .3s; }
#footer .col-copy a:hover {
    color: var(--color-orange);
    text-decoration: none;
}

body.fancybox-active .fancybox-bg {
    background: rgba(0, 0, 0, 0.85);
}
button.fancybox-button {
    background: none;
}


@media (min-width: 768px) {
	h1 { font-size: 2.75rem; }
	h2 { font-size: 1.875rem; }
	h3 { font-size: 1.75rem; }
	.container { padding: 0 40px; }
	#section-signup > .wp-block-column { flex: 1; }
	#section-signup .wp-block-group { padding-right: 40px; }
	#field_1_9 { grid-column: span 8; }
	
	#section-featured .wp-block-cover {
		max-width: 992px;
		min-height: 320px;
		margin: 0 auto;
		border-radius: 1rem;
		padding: 40px;
	}
	#section-featured .wp-block-cover .box-text {
		justify-content: center;
		max-width: 330px;
		min-height: 240px;
		padding: 2rem;
		border-radius: 8px;
		background-color: rgba(237, 240, 245, 0.9);
	}
	
	#section-act .col-left p br,
	#section-social .col-text p br { display: none; }
    #section-speak .wp-block-columns { flex-wrap: nowrap !important; }
    #section-speak .cb-carousel-block { padding-top: 40px; }
    #section-speak .swiper-wrapper { gap: 20px; }
    #section-speak .swiper-slide { margin-right: 0 !important; }
    #section-speak .cb-pagination.swiper-pagination-horizontal { bottom: -46px; }
    #section-speak .cb-button-prev,
    #section-speak .cb-button-next {
        width: 32px;
        height: 32px;
        bottom: -60px;
        border-radius: 6px;
        background-size: 14px 14px;
    }
    #section-speak .cb-button-prev { transform: translateX(-145px); }
    #section-speak .cb-button-next { transform: translateX(145px); }
    #section-speak .mobile-btn { display: none; }
	
	#section-social .wp-block-columns,
	#section-cta .wp-block-columns { gap: 4rem; }

	#footer { padding-bottom: 100px ; }
	#footer > .wp-block-column { padding-inline: 40px; }
    #footer p br { display: none; }
}

@media (min-width: 992px) {
	.section { padding: 5rem 0; }
	.im-mobile { display: none; }
	#section-signup .col-img img { height: 100.5%; margin-bottom: -0.5%; }
	#section-signup .wp-block-group { max-width: 610px; }
	#section-brand { padding: 60px 0; }
	#section-featured .wp-block-cover { padding: 60px; }
	#section-featured .wp-block-cover .box-text {
		max-width: 383px;
		min-height: 343px;
		padding: 4rem 3rem;
	}
    #section-speak .swiper-slide { padding: 32px; }
	#section-act .col-left, 
	#section-social .col-text, 
	#section-cta .col-text {
		align-items: start;
	}
    #footer .col-copy { justify-content: end; }
	
}

@media (min-width: 1160px) {
	
	h1 { font-size: 3rem; }
	
}

@media (min-width: 1280px) {

	#section-signup { gap: 60px; }
	
}

@media (max-width: 991px) {
	.im-desktop { display: none; }
	#section-signup { flex-wrap: wrap !important; gap: 0; }
	#section-signup .col-img { aspect-ratio: 39 / 32; }
	#section-signup .col-text .wp-block-group { padding: 0 40px; }
	#section-act .col-left { padding-bottom: 20px; }
	#section-act .wp-block-image { margin-top: 50px; }
	#section-social .wp-block-columns,
	#section-cta .wp-block-columns { flex-direction: column-reverse; align-items: center; }
	#section-social .col-img .wp-block-image,
	#section-cta .col-img { text-align: center; }
	#section-social .col-img .wp-block-image figure,
	#section-cta .col-img .wp-block-image { display: inline-block; float: none; margin: 0; }
	#section-act .col-left,
	#section-social .col-text,
	#section-cta .col-text { text-align: center; }
}

@media (min-width: 768px) and (max-width: 991px) {
	
    #section-speak .wp-block-columns > .wp-block-column { flex-basis: auto !important; width: auto; }
    #section-speak .col-text { flex-basis: 68% !important; }
    #section-speak .col-btn { flex-basis: 32% !important; }
    [lang="fr-FR"] #section-speak .col-text { flex-basis: 65% !important; }
    [lang="fr-FR"] #section-speak .col-btn { flex-basis: 35% !important; }
    [lang="fr-FR"] #section-speak .col-btn .wp-block-button__link { padding: 4px 16px; }
    #section-speak { gap: 20px; }

}

@media (max-width: 767px) {
    #section-speak h2,
	#section-social h2,
	#section-cta h2 { font-size: 1.25rem; }
	#section-signup .col-text p { padding-right: 2.5rem; }
	#section-signup .col-text .wp-block-group { padding: 0 20px; }
	#section-featured .wp-block-cover {
		flex-direction: column;
		gap: 2rem;
		min-height: 100px;
		padding: 0;
	}
	#section-featured .wp-block-cover .wp-block-cover__image-background {
		position: relative;
		aspect-ratio: 35/20;
		border-radius: 1rem;
	}
	#section-featured .wp-block-cover .box-text {
		align-items: center;
		text-align: center;
		gap: 1.75rem;
	}
    #section-speak .col-text { text-align: center; }
    #section-speak .col-btn { display: none; }
    #section-speak .cb-pagination.swiper-pagination-horizontal { gap: 6px; }
    #section-speak .cb-pagination .cb-pagination-bullet { width: 34px; }
	#section-cta .col-text p { max-width: 240px; margin: 0 auto; text-align: center; }
    #footer .wp-block-columns { gap: 18px; }
    #footer .col-copy a { margin-top: 5px; }
    #footer .col-copy p > a:first-of-type { margin-left: 0; padding: 0; border: 0; }

}