/*!
Theme Name: Mary Nicastro Theme
Author: Digitalia SRL
Description: WordPress Custom Theme
Version: 1.0
*/

* { margin: 0; padding: 0; box-sizing: border-box; }

body { font-family: "Montserrat", sans-serif;
    font-weight: 400;
    color: #302C3B;
    background-color: #fff;
}

/* Contenitori */

.container { min-width: 1200px; }

.subcontainer { width: 100%;
    padding: 100px 10%;
    margin: 0 auto; }

/* Flex */

.flex { display: flex; }

.flexcenter { align-items: center;
    justify-content: center; }

.row { flex-direction: row; }
.row-reverse { flex-direction: row-reverse; }
.column { flex-direction: column; }

.wrap { flex-wrap: wrap; }

.space-between { justify-content: space-between; }

.justifycenter { justify-content: center; }

.alignstart { align-items: flex-start; }

.aligncenter { align-items: center; }

.alignend { align-items: flex-end; }

.justifystart { justify-content: flex-start; }

.justifyend { justify-content: flex-end; }

/* Img */

.obj-cover { object-fit: cover; }

.obj-contain { object-fit: contain; }

/* Margin e Padding */

.m0a { margin: 0 auto; }

.mla { margin-left: auto; }

.mra { margin-right: auto; }

.mta { margin-top: auto; }

.mba { margin-bottom: auto; }

/* Width */

.wh8 { width: 8.33333%; }

.wh16 { width: 16.66666%; }

.wh25 { width: 25%; }

.wh33 { width: 33.33333%; }

.wh40 { width: 40%; }

.wh50 { width: 50%; }

.wh60 { width: 60%; }

.wh66 { width: 66.66666%; }

.wh75 { width: 75%; }

.wh83 { width: 83.33333%; }

.wh90 { width: 90%; }

.wh100 { width: 100%; }

/* Font */

.light { font-weight: 300; }

.regular { font-weight: 400; }

.medium { font-weight: 500; }

.semibold { font-weight: 600; }

.bold { font-weight: 700; }

.uppercase { text-transform: uppercase; }

.center { text-align: center; }

.right { text-align: right; }

.left { text-align: left; }

/* Heights */

.vh100 { height: 100vh; }

.vh50 { height: 50vh; }

.h100 { height: 100%; }

.h50 { height: 50%; }

/* Divisori */

.space-extra-sm { padding: 5px; }

.space-sm { padding: 10px; }

.space { padding: 20px; }

.space-big { padding: 40px; }

.space-extra-big { padding: 60px; }

.padding-1 { padding: 10px; }

.padding-2 { padding: 20px; }

.padding-3 { padding: 30px; }

.padding-4 { padding: 40px; }

.padding-5 { padding: 50px; }

/* Position */

.p-rel { position: relative; }

.p-abs { position: absolute; }

/* Other */

li { list-style: none; }

a { text-decoration: none;
    transition: all 0.2s ease;
    cursor: pointer; }

.padding-right-10 { padding-right: 10%; }

.padding-left-10 { padding-left: 10%; }

.padding-left { padding-left: 50px; }

.padding-right { padding-right: 50px; }

.padding-top { padding-top: 50px; }

.padding-bottom { padding-bottom: 50px; }

.bg-center { background-position: center;
    background-size: cover; }

/* Titoli e Paragrafi */

h1 { font-family: "Manrope", sans-serif;
    font-weight: 600;
    letter-spacing: -0.03em;
    font-size: 65px;
    line-height: 70px;
color: #D84B6A;}

.single h1 {
    font-size: 40px;
    line-height: 40px;
}

h1 span { font-size: 50px;}

h2 { font-family: "Manrope", sans-serif;
    font-weight: 600;
    letter-spacing: -0.03em;
    font-size: 40px;
	color: #D84B6A; }

h3 { font-family: "Manrope", sans-serif;
    font-weight: 400;
    letter-spacing: -0.03em;
    font-size: 20px; }

p { font-size: 16px;
    font-weight: 400;
    line-height: 25px;
    color: var(--tertiary); }

/* Colors */

:root {
    --primary: #302C3B;
    --secondary: #D84B6A;
    --tertiary: #9C9A9A;
    --white: #fff;
    --light: #F9F7F4;
}

.primary { color: var(--primary); }

.bg-primary { background-color: var(--primary); }

.secondary { color: var(--secondary); }

.bg-secondary { background-color: var(--secondary); }

.tertiary { color: var(--tertiary); }

.bg-tertiary { background-color: var(--tertiary); }

.white { color: var(--white); }

.bg-white { background-color: var(--white); }

.light { color: var(--light); }

.bg-light { background-color: var(--light); }

/* Pulsanti */

.button {
    background: transparent;
    color: var(--primary);
    border: 1px solid var(--secondary);
    display: flex;
    align-items: center;
    border-radius: 40px;
    font-size: 18px;
    padding: 5px 40px;
    width: max-content;
    height: 70px;
    transition: all 0.4s ease;
    font-family: "Manrope", sans-serif;
}

.white .button {
    color: var(--white);
}

.button i { font-size: 25px;
    color: var(--secondary);
    margin-left: 10px; }

.button:hover i { color: var(--white); }

.button:hover { background: var(--secondary);
    color: var(--white);
    transition: all 0.3s ease; }

.button-contact { background: var(--white);
    position: relative;
    padding: 5px 40px 5px 75px;
    text-align: center;
    box-shadow: 2px 2px 10px rgba(0,0,0,0.15); }

.button-contact img { position: absolute;
    left: 10px;
    height: 80%;
    }

.button-text { display: flex;
    align-items: center;
    color: var(--primary);
    font-size: 18px;
    transition: all 0.4s ease;
    font-family: "Manrope", sans-serif;
	display:none;
}

.button-text i { font-size: 20px;
    color: var(--secondary);
    transition: all 0.4s ease;
    margin-left: 10px; }

.button-text:hover i { margin-left: 20px; }

/*GO TOP*/

#return-to-top {
    position: fixed;
    bottom: 20px;
    right: 20px;
    background: rgb(0, 0, 0);
    background: rgba(0, 0, 0, 0.7);
    width: 50px;
    height: 50px;
    z-index: 11;
    cursor: pointer;
    text-decoration: none;
    -webkit-border-radius: 35px;
    -moz-border-radius: 35px;
    border-radius: 35px;
    display: none;
    -webkit-transition: all 0.3s linear;
    -moz-transition: all 0.3s ease;
    -ms-transition: all 0.3s ease;
    -o-transition: all 0.3s ease;
    transition: all 0.3s ease;
}
#return-to-top i {
    color: var(--secondary);
    margin: 0;
    position: relative;
    left: 16px;
    top: 12px;
    font-size: 22px;
    -webkit-transition: all 0.3s ease;
    -moz-transition: all 0.3s ease;
    -ms-transition: all 0.3s ease;
    -o-transition: all 0.3s ease;
    transition: all 0.3s ease;
}
#return-to-top:hover {
    background: var(--secondary);
}
#return-to-top:hover i {
    color: var(--white);
    top: 5px;
}

/* Animation Fade In Down */

.animated {
    -webkit-animation-duration: 1s;
    animation-duration: 1s;
    -webkit-animation-fill-mode: both;
    animation-fill-mode: both;
    animation-delay: 0.5s;
}

.fadeInDownCustom {
    -webkit-animation-name: fadeInDownSmall;
    animation-name: fadeInDownSmall;
}
@-webkit-keyframes fadeInDownSmall {
    0% {opacity: 0;-webkit-transform: translateY(-20px);}
    100% {opacity: 1;-webkit-transform: translateY(0);}
}
@-moz-keyframes fadeInDownSmall {
    0% {opacity: 0;-moz-transform: translateY(-20px);}
    100% {opacity: 1;-moz-transform: translateY(0);}
}
@-o-keyframes fadeInDownSmall {
    0% {opacity: 0;-o-transform: translateY(-20px);}
    100% {opacity: 1;-o-transform: translateY(0);}
}
@keyframes fadeInDownSmall {
    0% {opacity: 0;transform: translateY(-20px);}
    100% {opacity: 1;transform: translateY(0);}
}

/* End Animation Fade In Down */

/* Overlay */

.overlay {
    top: 0;
    background-color: rgba(0,0,0,0.6);
    bottom: 0;
    left: 0;
    z-index: 10;
    right: 0;
    width: 100%;
    height: 100%;
    transition: all 0.3s linear;
    margin: auto; }

.overlay-sm {
    background-color: rgba(0,0,0,0.3); }

/* Header */

.header-menu {
    position: fixed;
    -webkit-transition: all 0.3s linear;
    transition: all 0.3s linear;
    height: 110px;
    background-color: var(--light);
    z-index: 11;
    width: 100%;
    display: flex;
    justify-content: space-evenly;
    border-bottom: 1px solid #D9DBD6;
    padding: 20px 10%;
}

.header-menu .menu-items li a { color: var(--primary);
    font-weight: 400;
    font-family: "Manrope", sans-serif;
    font-size: 20px; }

.header-menu.sticky { transition: all 0.3s linear;
    height: 80px;
    background: var(--white);
}

.header-menu .menu-items li:last-child { background: var(--secondary);
    padding: 10px 30px;
    border-radius: 40px;
    margin-left: 40px;
    border: 1px solid var(--secondary);
    transition: all 0.2s ease-in-out;
    }

.header-menu .menu-items li:last-child:hover { background: transparent; }

.header-menu .menu-items li:last-child a { color: var(--white); }

.header-menu .menu-items li:last-child:hover a { color: var(--primary); }

.header-menu .menu-items ul { display: flex; }

.header-menu .menu-items li { padding: 0 15px 0 15px; }

/* Responsive */

.none-desktop { display: none; }

.none-sm { display: flex; }

/* Elements */

.border-radius { border-radius: 20px; }

/* Hero */

.hero { min-height: 90vh;
    padding-top: 110px; }

.hero-single {
    height: 50vh;
}

.hero-single-padding { padding-top: 110px; }

.element { height: 50px; }

.hero-img { position: absolute;
    height: 55%;
    right: 10%;
    bottom: 50px; }

.hero-number { font-size: 100px;
    font-weight: 600; }

.hero-number sup { font-size: 30px; }

/* End Hero */

/* About */

.numbers span { font-size: 40px;
    font-weight: 600;
    color: #89B1F5; }

.numbers span sup { font-size: 25px; }

/* End About */

/* Servizi / News */

.servizi, .news { min-height: 600px;
    width: 100%; }

.servizi .swiper-slide, .news .swiper-slide { border-radius: 30px; }

.slide-img { height: 400px; }

ul.elenco li { font-family: "Manrope", sans-serif;
    font-weight: 400;
    padding: 5px 0;
    list-style: circle;
    letter-spacing: -0.03em;
    font-size: 20px; }

/* End Servizi / News */

/* Slider Arrow */

.slider-servizi .arrow-container, .slider-news .arrow-container { position: absolute;
    display: flex;
    width: 100%;
    justify-content: space-between;
    top: 50%;
    height: 100%; }


.slider-servizi .arrow-container div, .slider-news .arrow-container div { position: relative;
    display: flex;
    align-items: center;
    justify-content: center;
    width: 40px;
    height: 40px;
    border-radius: 50%;
    border: 1px solid var(--secondary);
    transition: all 0.2s ease-in-out;
    cursor: pointer; }

.slider-news .arrow-container div { background: var(--white);
    border: 1px solid var(--white); }

.slider-servizi .arrow-container div:hover, .slider-news .arrow-container div:hover { background: var(--secondary); }

.slider-news .arrow-container div:hover { background: transparent; }

.slider-servizi .arrow-container div i { color: var(--secondary);
    transition: all 0.2s ease-in-out; }

.slider-news .arrow-container div i { color: var(--secondary);
    transition: all 0.2s ease-in-out; }

.slider-servizi .arrow-container div:hover i, .slider-news .arrow-container div:hover i { color: var(--white); }

.slider-servizi .arrow-container .slider-button-prev, .slider-news .arrow-container .slider-button-prev { left: -50px; }

.slider-servizi .arrow-container .slider-button-next, .slider-news .arrow-container .slider-button-next { right: -50px; }

/* End Slider Arrow */

/* Popup */

.white-popup {
    position: relative;
    background: #FFF;
    display: flex;
    align-items: center;
    justify-content: center;
    width: 70vw;
    height: 80vh;
    margin: 0 auto;
    top: 0;
    left: 0;
    overflow: hidden;
}

.mfp-zoom-in .mfp-with-anim {
    opacity: 0;
    transition: all 0.2s ease-in-out;
    transform: scale(0.8);
}
.mfp-zoom-in.mfp-bg {
    opacity: 0;
    transition: all 0.3s ease-out;
}
.mfp-zoom-in.mfp-ready .mfp-with-anim {
    opacity: 1;
    transform: scale(1);
}
.mfp-zoom-in.mfp-ready.mfp-bg {
    opacity: 0.8;
}
.mfp-zoom-in.mfp-removing .mfp-with-anim {
    transform: scale(0.8);
    opacity: 0;
}
.mfp-zoom-in.mfp-removing.mfp-bg {
    opacity: 0;
}

/* End Popup */

/* Recensioni */

.ie-common-widget { max-width: 100% !important; }

/* End Recensioni */

/* Form */

.form input[type="text"], input[type="email"], input[type="tel"], textarea, .form input[type="submit"] {
    border-radius: 15px;
    background: var(--white);
    color: var(--primary);
    font-family: "Manrope", sans-serif;
    font-weight: 400;
    padding: 15px;
    border: unset;
    letter-spacing: -0.03em;
    font-size: 15px;
    width: 100%;
    resize: none;
    margin-bottom: 8px;
}

.form input[type="text"]:focus, input[type="email"]:focus, input[type="tel"]:focus, textarea:focus { outline: none; }

.form textarea { height: 200px; }

.form input[type="email"], input[type="tel"] { width: calc(50% - 4px); }

.form input[type="tel"] { margin-left: 8px; }

.form input[type="submit"] {
    border-radius: 40px;
    width: max-content;
    padding: 15px 60px;
    margin-left: auto;
    border: 1px solid #fff;
    cursor: pointer;
    transition: all 0.2s ease-in-out;
}

.form input[type="submit"]:hover {
    background: var(--primary);
    color: var(--white);
}

.wpcf7-form p { width: 100%;
    display: flex;
    flex-wrap: wrap; }

.wpcf7-checkbox, .wpcf7-spinner { width: 100%; }

/* End Form */

/* Single */

.gutenberg-content h2, .gutenberg-content h3, .gutenberg-content p, .gutenberg-content ul, .gutenberg-content img {
    margin-bottom: 20px;
}

.gutenberg-content ul li { list-style: circle; }

.gutenberg-content h2 { color: var(--secondary); }

.gutenberg-content img { max-width: 100%;
    object-fit: cover;
    max-height: 500px; }

/* End Single */

.nav.footer a {
	color: var(--tertiary);
	padding: 0 10px;
}
/*--------------GDPR------------------*/
.page-template-template-gdpr h2 {
	padding-bottom: 20px;
	padding-top: 60px;
}
.page-template-template-gdpr p {
	max-width: 800px;
}
#cmplz-document, 
.editor-styles-wrapper .cmplz-unlinked-mode {
	max-width: 100% !important;
}
#cmplz-cookies-overview .cmplz-dropdown summary div, 
#cmplz-document .cmplz-dropdown summary div,
#cmplz-manage-consent-container.cmplz-manage-consent-container .cmplz-categories .cmplz-category .cmplz-category-header {
	display: flex;
    align-items: center;
    justify-content: space-between;
    flex-direction: row;
}
#cmplz-cookies-overview .cmplz-dropdown summary div input[data-category="functional"], #cmplz-document .cmplz-dropdown summary div input[data-category="functional"], .editor-styles-wrapper .cmplz-unlinked-mode .cmplz-dropdown summary div input[data-category="functional"] {
	width: 5% !important;
}
.page-template-template-gdpr input[type=checkbox], .page-template-template-gdpr input[type=radio] {
	height: auto;
	appearance: none;
	-webkit-appearance: none;
	-moz-appearance: none;
	border: 1px solid #000;
	background-color: transparent;
	padding: 6px;
	margin: 0;
	max-width: 6px;
	margin-right: 10px;
}
.page-template-template-gdpr input[type=checkbox]:checked, .page-template-template-gdpr input[type=radio]:checked {
	background-color: #000;
}
.page-template-template-gdpr label {
	padding: 0;
	width: 25%;
	text-align: left;
}
#cmplz-cookies-overview .cmplz-dropdown summary div h3, #cmplz-document .cmplz-dropdown summary div h3, .editor-styles-wrapper .cmplz-unlinked-mode .cmplz-dropdown summary div h3 {
	width: 50%;
}
#cmplz-cookies-overview .cmplz-dropdown.cmplz-dropdown-cookiepolicy summary div p, #cmplz-document .cmplz-dropdown.cmplz-dropdown-cookiepolicy summary div p, .editor-styles-wrapper .cmplz-unlinked-mode .cmplz-dropdown.cmplz-dropdown-cookiepolicy summary div p {
	width: 15%;
	text-align: left;
}
.cmplz-category-title{
	width: 80%;
}
.wpcf7-acceptance a {
	color: var(--tertiary);
	text-decoration: underline;
}
/* Responsive Tablet */
@media only screen and (min-width: 768px) and (max-width: 1100px) {

    .container { min-width: 768px; }

    .subcontainer { width: 100%;
        padding: 30px 10%;
        margin: 0 auto; }

    .space-extra-sm { padding: 4px; }

    .space-sm { padding: 7px; }

    .space { padding: 10px; }

    .space-big { padding: 30px; }

    .none-desktop { display: flex; }

    .none-tablet { display: none; }

    .hide-t { display: none !important; }

    .none-sm { display: flex; }

    .t-col { flex-direction: column; }

    .t-center { align-items: center;
        justify-content: center; }

    .wht50 { width: 50%; }

    .wht100 { width: 100%; }

    .padding-left, .padding-right { padding: 0; }



}

/* Responsive Mobile */

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

    .container { min-width: 319px; }

    .subcontainer { width: 100%;
        padding: 20px 10%;
        margin: 0 auto; }

    .sm-col { flex-direction: column; }

    .sm-col-reverse { flex-direction: column-reverse; }

    .whs100 { width: 100%; }

    .whs20 { width: 20%; }

    .whs50 { width: 50%; }

    .whs80 { width: 80%; }

    .whs90 { width: 90%; }

    .space-extra-sm { padding: 3px; }

    .space-sm { padding: 8px; }

    .space { padding: 11px; }

    .space-big { padding: 25px; }

    .space-bigger { padding: 45px; }

    .one { order: 1; }

    .two { order: 2; }

    .three { order: 3; }

    .four { order: 4; }

    .five { order: 5; }

    .six { order: 6; }

    .none-desktop { display: flex; }

    .none-sm { display: none; }

    .h-sm { height: unset; }

    /* Titoli e Paragrafi */

    h1 { font-size: 40px;
        line-height: 40px; }

    .single h1 {
        font-size: 28px;
        line-height: 28px;
    }

    h2 { font-size: 25px; }

    h3 { font-size: 16px; }

    .padding-left, .padding-right { padding: 0; }

    .nav.desktop { display: none; }

    .slider-servizi .arrow-container .slider-button-prev, .slider-news .arrow-container .slider-button-prev { left: -40px; }

    .slider-servizi .arrow-container .slider-button-next, .slider-news .arrow-container .slider-button-next { right: -40px; }

    .gutenberg-content img { max-height: 300px; }

    .hero-single-padding { padding-top: 150px; }
}