/*
	Theme Name: Expecting Minds
	Theme URI: https://www.expectingminds.com
	Description: Base
	Version: 1.0
	Author: Filippo Montanari
	Author URI: https://www.linkedin.com/in/filippomontanari/
	Text Domain: em
	Domain Path: /languages
*/
:root {
    --lightblue: #6C83A3;
    --fuxia: #D42E86;
    --gray: #E9E9E4;
    --pink: #F0D3DC;
}
:focus {
    outline: none;
}
html {
	/*font-size: 62.5%;*/
    font-size: 54%;
	scroll-behavior: smooth;
}
body {
	font: 2rem/1.25 'Montserrat', sans-serif;
	color: #000000;
}
a {
	-webkit-transition: all 0.2s ease;
	-moz-transition: all 0.2s ease;
	-ms-transition: all 0.2s ease;
	-o-transition: all 0.2s ease;
	transition: all 0.2s ease;
	color: #000;
}
a:hover {
	color: var(--fuxia);
}
h1, .h1 {
	font-size: 3.5rem;
	font-weight: 700;
	margin-bottom: 1.5rem;
    color: var(--fuxia);
}
h2, .h2 {
	font-size: 2.5rem;
	font-weight: 700;
	margin-bottom: 1.5rem;
    color: var(--fuxia);
}
h3, .h3 {
	font-size: 2rem;
	font-weight: 700;
    color: var(--fuxia);
}
h4, .h4 {
	font-size: 1.8rem;
	font-weight: 700;
}
p {
	margin-bottom: 1.5rem;
}
p:last-child {
    margin: 0;
}
iframe, embed, object, video {
	max-width: 100%;
}
.icon-open::before {
    content: "";
    width: 25px;
    height: 25px;
    background: url(images/icons/menu-open.svg) no-repeat center center / contain;
    display: block;
    margin: 0 10px;
}
.icon-close::before {
    content: "";
    width: 20px;
    height: 20px;
    background: url(images/icons/menu-close.svg) no-repeat center center / contain;
    display: block;
    position: absolute;
    top: 20px;
    right: 20px;
}
.menu-mobile-container {
    position: fixed;
    top: 0;
    bottom: 0;
    left: 0;
    right: 0;
    background: var(--lightblue);
    display: none;
}
.menu-mobile-container.active {
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    text-align: center;
}
.menu-mobile-container ul {
    list-style-type: none;
    padding: 0;
    margin: 0;
}
.menu-mobile-container ul li a {
    color: #fff;
    text-decoration: none;
    display: inline-block;
    padding: 1rem;
    font-size: 2rem;
    text-align: center;
    text-transform: uppercase;
}
.menu-mobile-container ul li a:hover {
    color: var(--pink);
}
.menu-mobile-container ul li.current-menu-item a {
    color: var(--pink);
}

.pll-switcher {
    display: flex;
    align-items: center;
    position: relative;
}
.pll-language-switch {
    color: #fff;
    font-size: 2rem;
    text-transform: uppercase;
    font-weight: bold;
    text-decoration: none;
    padding: 1rem;
    white-space: nowrap;
    display: block;
}
.pll-language-switch::after {
    content: '';
    width: 10px;
    height: 6px;
    background: url("images/icons/switcher.svg") no-repeat;
    display: inline-block;
    vertical-align: middle;
    margin-left: .5rem;
    -webkit-transition: transform 0.2s ease;
	-moz-transition: transform 0.2s ease;
	-ms-transition: transform 0.2s ease;
	-o-transition: transform 0.2s ease;
	transition: transform 0.2s ease;
}
.pll-language-switch[aria-expanded="true"]::after {
    transform: rotate(180deg);
}
:hover.pll-language-switch, .pll-language-switch[aria-expanded="true"] {
    color: var(--pink);
}
:hover.pll-language-switch::after, .pll-language-switch[aria-expanded="true"]::after {
    filter: brightness(0) saturate(100%) invert(87%) sepia(17%) saturate(249%) hue-rotate(293deg) brightness(100%) contrast(89%);
}
.pll-languages {
    position: absolute;
    list-style-type: none;
    width: 100%;
}
.menu-mobile-container .pll-languages li a {
    background-color: #8496b0;
    border-radius: .5rem;
    padding: .3rem .5rem;
    width: 100%;
    display: inline-block;
}
.menu-mobile-container .pll-languages li:not(:last-child) a {
    margin-bottom: .3rem;
}

header .logo {
    display: flex;
    column-gap: 2vw;
}
header .logo img {
	max-height: 4rem;
}
section {
	position: relative;
}
/* FOOTER */
footer {
	font-size: 1.6rem;
}
footer a {
	color: #fff;
    text-decoration: none;
}
footer a:hover {
	color: var(--pink);
}
footer .menu {
    list-style-type: none;
    font-weight: bold;
    text-transform: uppercase;
    padding: 0;
    margin: 0;
}
footer .menu a {
    display: inline-block;
    padding: .3rem 1rem;
}
.legal {
    background: #6A7A96;
    font-size: 1.4rem;
}

.visual {
    height: 73vh;
    position: relative;
}
.visual video {
    background: #000;
}
.home .visual::before, .page-template-template-counsellors .visual::before {
    content: '';
    display: block;
    position: absolute;
    top: 0;
    bottom: 0;
    left: 0;
    right: 0;
    pointer-events: none;
    background: rgba(0,0,0,.46);
}
.visual video {
    object-fit: cover;
    width: 100%;
    height: 73vh;
}
.visual .claim {
    position: absolute;
    top: 50%;
    left: 50%;
    color: #fff;
    transform: translate(-50%, -50%);
    text-transform: uppercase;
    font-size: clamp(3rem, 2.0323rem + 3.871vw, 6rem);
    font-weight: bold;
    padding: 2rem;
    text-align: center;
    max-width: 120rem;
    margin: auto;
}

.login-form {
    border: 3px solid var(--fuxia);
    border-radius: 2.2rem;
    background: var(--pink);
    padding: 2rem;
    max-width: 55rem;
    margin: 1rem auto 4rem;
}
.login-form input[type=password] {
    border: 1px solid var(--fuxia);
    border-radius: 2.2rem;
    text-align: center;
    color: #000;
    padding: 1rem 2rem;
    font-size: 2.5rem;
    font-weight: bold;
    width: 100%;
    box-sizing: border-box;
}

html[lang=es-ES] .block-1 {
    padding-top: 5rem;
    padding-bottom: 5rem;
}
.home .block-1 h1 {
    max-width: 120rem;
    margin-left: auto;
    margin-right: auto;
}
.home .block-1 p {
    max-width: 86rem;
    margin-left: auto;
    margin-right: auto;
}
.home .kpi {
    border: 1px solid var(--fuxia);
    border-radius: 5rem;
    text-align: center;
    padding: 6rem 2rem 3rem;
    margin-top: 6rem;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    font-size: 2.6rem;
    font-weight: bold;
    color: var(--fuxia);
    position: relative;
}
.home .kpi .kpi-number {
    font-size: 8.6rem;
}
.home .kpi::before {
    content: '';
    width: 10rem;
    height: 10rem;
    border: 1px solid var(--fuxia);
    border-radius: 50%;
    position: absolute;
    top: -5rem;
    left: 50%;
    transform: translate(-50%, 0);
    background-color: #fff;
    background-repeat: no-repeat;
    background-position: center center;
    background-size: 60%;
}
.home .kpi-01::before { background-image: url("images/icons/home-kpi-01.svg"); }
.home .kpi-02::before { background-image: url("images/icons/home-kpi-02.svg"); }
.home .kpi-03::before { background-image: url("images/icons/home-kpi-03.svg"); }
.home .block-2 .h-100 {
    max-width: 60rem;
}
.title-icon {
    display: flex;
    align-items: center;
    font-size: 3rem;
    flex-wrap: nowrap;
}
.title-icon::before {
    content: '';
    display: block;
    width: 8rem;
    height: 8rem;
    background: url("images/icons/heart.svg") no-repeat center center/contain;
    margin-right: 1rem;
    flex-shrink: 0;
}
.border-bottom {
    border-color: var(--fuxia) !important;
}
.steps {
    margin-bottom: 5rem;
}
.steps a {
    text-decoration: none;
    color: var(--fuxia);
    display: flex;
    align-items: center;
    flex-wrap: nowrap;
}
.steps a span {
    display: block;
    width: 8rem;
    height: 8rem;
    line-height: 8rem;
    border-radius: 50%;
    text-align: center;
    border: .3rem solid var(--fuxia);
    font-size: 5.9rem;
    font-weight: bold;
    flex-shrink: 0;
    margin-right: 3rem;
}
#left {
    position: relative;
    width: 100%;
    height: 100%;
    overflow: hidden;
}
#left img {
    position: absolute; inset: 0;
    width: 100%; height: 100%;
    object-fit: contain;
    /* IMPORTANT: sempre display block, gestiamo visibilità via opacity */
    display: block;
    opacity: 0;
    transition: none; /* lascio jQuery gestire l'animazione */
    border-radius: 0 4.4rem 4.4rem 0;
}
#right {
    max-width: 80rem;
}
.topic {
    border-radius: 4rem;
    position: relative;
    z-index: 1;
}
.topic:not(.page-template-template-webinar .topic) {
    flex: auto;
}
.topic-icon img {
    display: inline-block;
    margin-bottom: 2rem;
}
.topics-list .row, .counsellors .row {
    --bs-gutter-y: var(--bs-gutter-x);
}
.topic-form {
    margin-top: -3rem;
    padding-top: 6rem;
    z-index: 0;
    position: relative;
    border-radius:  0 0 4rem 4rem;
}
.topic-form a {
    color: #fff;
}
.mt-10 {
    margin-top: 10rem;
}
.counsellor-photo {
    z-index: 3;
    position: relative;    
}
.counsellor-photo img {
    border-radius: 4rem;
}
.counsellor-name {
    padding-top: 7rem;
    margin-top: -4rem;
    border-radius: 0 0 4rem 4rem;
    z-index: 2;
    position: relative;   
}
.counsellor-name .job-description {
    font-weight: bold;
    font-size: 1.9rem;
}
.counsellor-text {
    border: 1px solid var(--fuxia);
    padding-top: 7rem;
    margin-top: -4rem;
    border-radius: 0 0 4rem 4rem;
    flex: auto;
    z-index: 1;
    position: relative;
}

.restricted-intro p {
    font-size: 5rem;
    text-transform: uppercase;
    font-weight: 300;
    color: var(--fuxia);
}
.restricted-intro p strong {
    font-weight: bold;
}
.links-container {
    border-bottom: 1px solid var(--fuxia);
    position: relative;
}
.fixed-bg {
    background: url("images/bg-restricted-fixed.jpg") no-repeat fixed right center/cover;
    height: 47rem;
}
.box-number-container {
    max-width: 55rem;
    margin: auto;
}
.box-number {
    font-size: 14rem;
    line-height: 11rem;
    font-weight: bold;
    flex-shrink: 0;
    width: 12rem;
}
.activity-photo img {
    height: 25rem;
    border-radius: 4rem 4rem 0 0;
    z-index: 0;
}
.activity-text {
    border-radius: 4rem;
    padding-top: 3rem;
    align-items: center;
    display: flex;
}
.date {
    font-size: 3.7rem;
    font-weight: bold;
    text-transform: uppercase;
    border-radius: 3.2rem 3.2rem 0 0;
    padding: 3rem 2rem 6rem;
}
.date-hours {
    border-radius: 3.2rem;
    padding-top: 3rem;
    background: #fff;
}
.restricted-form {
    border-radius: 4rem;
    padding: 3rem;
}
.with_frm_style .frm_form_fields > fieldset {
    padding: 0;
}
.frm_style_booking.with_frm_style select option {
    color: #000;
}

.btn {
    padding: 10px 20px;
    vertical-align: middle;
    line-height: normal;
    font-size: 2rem;
    font-weight: bold;
    text-align: center;
	-webkit-transition: all 0.2s ease;
	-moz-transition: all 0.2s ease;
	-ms-transition: all 0.2s ease;
	-o-transition: all 0.2s ease;
	transition: all 0.2s ease;
    text-decoration: none;
    border-radius: 4rem;
}
.btn.btn-primary {
	background: transparent;
    border: 1px solid var(--fuxia);
    color: var(--fuxia);
}
:hover.btn.btn-primary {
	background: var(--fuxia);
	color: #fff;
	text-decoration: none;
}
.btn.btn-secondary {
	background: var(--fuxia);
    border: 1px solid var(--fuxia);
    color: #fff;
}
:hover.btn.btn-secondary {
	background: transparent;
	color: var(--fuxia);
	text-decoration: none;
}
.bg-f .btn.btn-primary {
    background: transparent;
    border: 1px solid #fff;
    color: #fff;
}
.bg-f :hover.btn.btn-primary {
	background: #fff;
	color: var(--fuxia);
	text-decoration: none;
}
.title-light {
    color: var(--fuxia);
    font-size: 2.4rem;
    font-weight: 300;
    text-transform: uppercase;
}
.check-date, :hover.check-date {
    border: 1px solid transparent !important;
    color: #fff;
    display: flex;
    flex-wrap: nowrap;
    align-items: center;
    padding: 0;
    justify-content: center;
}
.check-date::before {
    content: '';
    display: block;
    flex-shrink: 0;
    width: 4.8rem;
    height: 4.8rem;
    background: url("images/icons/dates.svg") no-repeat center center/contain;
    margin-right: 1rem;
}
.with_frm_style .frm_inside_container.frm_label_float_top > label {
    left: 10px;
}

@supports (-webkit-touch-callout: none) {
    .unfix-ios-bg {
        background-attachment: initial !important;
    }
}

.bg-w { background-color: #fff; }
.bg-b { background-color: var(--lightblue); }
.bg-f { background-color: var(--fuxia); }
.bg-f a, .bg-f a:hover { color: #fff; }
.bg-p { background-color: var(--pink); }
.bg-g { background-color: var(--gray); }
.bg-gradient { background: linear-gradient(180deg,rgba(240, 211, 220, 1) 15%, rgba(255, 255, 255, 0) 100%) !important; }
.w { color: #fff; }
.b { color: var(--lightblue); }
.f { color: var(--fuxia); }
.p { color: var(--pink); }
.g { color: var(--gray); }

@media (min-width: 576px) {
	
} /* end min-width: 576px */

@media (min-width: 768px) {
	header .logo img {
        max-height: none;
    }
    footer .menu {
        display: flex;
        column-gap: 3rem;
    }
    footer .menu a {
        padding: 0;
    }
    .login-form {
        padding: 4rem;
    }
    .page-template-template-webinar .topic {
        min-height: 36rem;
    }
    .page-template-template-contacts {
        overflow-x: hidden;
    }
} /* end min-width: 768px */

@media (min-width: 992px) {
	.icon-open, .icon-close {
        display: none;
    }
    .menu-mobile-container {
        position: relative;
        top: auto;
        bottom: auto;
        left: auto;
        right: auto;
        background: transparent;
        display: flex;
        justify-content: flex-end;
    }
	header ul.menu {
        list-style-type: none;
        display: flex;
        flex-direction: row;
        column-gap: 2.5rem;
        font-size: 1.4rem;
    }
    header ul.menu li {
        display: flex;
        align-items: center;
        position: relative;
    }
    .menu-mobile-container ul li a {
        padding: 1rem;
        font-size: 1.6rem;
    }
    .pll-switcher {
        margin-left: 2.5rem;
    }
    .pll-language-switch {
        font-size: 1.6rem;
    }
    .btn {
        min-width: 30rem;
    }
    .home .kpi {
        padding: 3rem 2rem 3rem;
        margin-top: 0;
        height: 100%;
    }
    .home .kpi::before {
        width: 8rem;
        height: 8rem;
        top: -2rem;
        left: -2rem;
        transform: none;
    }
    .home .block-3 {
        margin-top: 10rem;
    }
    .home .block-4 {
        margin-bottom: 10rem;
    }
    .title-icon {
        font-size: 3.3rem;
    }
    .title-icon::before {
        margin-right: 3rem;
    }
    .topics-list .row, .counsellors .row {
        --bs-gutter-x: 4.5rem;
    }
    .topics-list .btn {
        min-width: auto;
    }
    .page-template-template-webinar .topic {
        min-height: 39rem;
    }
    .steps a.active {
        font-weight: bold;
    }
    .steps a.active span {
        background: var(--fuxia);
        color: #fff;
    }
    .container-lg-fluid {
        max-width: 100%;
    }
    .steps {
        margin-top: 5rem;
    }
} /* end min-width: 992px */

@media (min-width: 1200px) {
    h1 {
        font-size: 5rem;
    }
    h2 {
        font-size: 3.3rem;
    }
	header ul.menu {
        column-gap: 3.5rem;
    }
    .pll-switcher {
        margin-left: 3.5rem;
    }
    footer .menu {
        column-gap: 4rem;
    }
    .page-template-template-webinar .topic {
        min-height: 36rem;
    }
} /* end min-width: 1200px */

@media (min-width: 1400px) {
    .topics-list .row, .counsellors .row {
        --bs-gutter-x: 6.5rem;
    }
} /* end min-width: 1200px */

/* WP STANDARD */
.aligncenter,
div.aligncenter {
    display: block;
	margin: 0 auto;
}
@media (min-width: 768px) {
	.alignright {
		float:right;
	}
	.alignleft {
		float: left;
	}

	a img.alignright {
		float: right;
	}

	a img.alignleft {
		float: left;
	}
}
a img.aligncenter {
    display: block;
    margin-left: auto;
    margin-right: auto;
}
.wp-caption {
    border: 1px solid #f0f0f0;
    max-width: 96%; /* Image does not overflow the content area */
    padding: 5px 3px 10px;
    text-align: center;
}
.wp-caption.alignnone {
    margin: 5px 20px 20px 0;
}
.wp-caption.alignleft {
    margin: 5px 20px 20px 0;
}
.wp-caption.alignright {
    margin: 5px 0 20px 20px;
}
.wp-caption img {
    border: 0 none;
    height: auto;
    margin: 0;
    max-width: 98.5%;
    padding: 0;
    width: auto;
}
.wp-caption p.wp-caption-text {
    font-size: 11px;
    line-height: 17px;
    margin: 0;
    padding: 0 4px 5px;
}
/* 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; /* Many screen reader and browser combinations announce broken words as they would appear visually. */
}
.screen-reader-text:focus {
	background-color: #eee;
	clip: auto !important;
	clip-path: none;
	color: #444;
	display: block;
	font-size: 1em;
	height: auto;
	left: 5px;
	line-height: normal;
	padding: 15px 23px 14px;
	text-decoration: none;
	top: 5px;
	width: auto;
	z-index: 100000;
	/* Above WP toolbar. */
}

blockquote:not(.tiktok-embed) {
	position: relative;
    background: #fff;
    border-left: 2px solid #e41d24;
    padding: 2rem 1rem 2rem 3rem;
    margin: 0 0 2rem 1rem;
}
blockquote:not(.instagram-media):not(.twitter-tweet):not(.tiktok-embed):after {
    font: 900 2.3rem/4rem 'Font Awesome 6 Free';
	content: "\f10e";
    background-color: #fff;
    opacity: 1;
    z-index: 0;
    position: absolute;
    top: 50%;
    left: 50%;
    width: 40px;
    height: 40px;
	text-align: center;
	color: #e41d24;
    transform: translate(-50%, -50%);
}
blockquote p:last-child {
    margin: 0;
}
/* embed center alignment */
.twitter-tweet { margin:auto !important; display: block; }
.iframe-container { text-align: center; }
.embed-responsive {
	position: relative;
	display: block;
	height: 0;
	padding: 0;
	overflow: hidden;
	margin-bottom: 2.5rem;
}
.embed-responsive .embed-responsive-item,
.embed-responsive iframe {
	position: absolute;
	top: 0;
	bottom: 0;
	left: 0;
	width: 100%;
	height: 100%;
	border: 0;
}
.embed-responsive-16by9 {
	padding-bottom: 56.25%;
}

/* SCROLL TOP BT */
.scroll-top-wrapper {
    position: fixed;
    opacity: 0;
    visibility: hidden;
    overflow: hidden;
    text-align: center;
    z-index: 9999;
    background-color: #407fae;
    color: #fff;
    width: 4.4rem;
    height: 4.4rem;
    line-height: 4rem;
    border-radius: 50%;
    right: 2rem;
    bottom: 2rem;
    padding-top: .2rem;
    -webkit-transition: all 0.2s ease-in-out;
    -moz-transition: all 0.2s ease-in-out;
    -ms-transition: all 0.2s ease-in-out;
    -o-transition: all 0.2s ease-in-out;
    transition: all 0.2s ease-in-out;
}
.scroll-top-wrapper a {
	color: #fff;
}
.scroll-top-wrapper:hover a, .scroll-top-wrapper a:hover {
	color: #fff;
}
.scroll-top-wrapper:hover {
    background-color: #c19539;
}
.scroll-top-wrapper.show {
    visibility: visible;
    cursor: pointer;
    opacity: 1.0;
}
.scroll-top-wrapper i.fa {
    line-height: inherit;
    font-size:2rem;
}
