/*
 Theme Name:   Veronica Ramella
 Template:     twentysixteen
 Text Domain:  vrm
*/

/* === FONT LOCALE: Montserrat === */

@font-face {
	font-family: 'Montserrat';
	src: url('fonts/Montserrat-Light.woff2') format('woff2');
	font-weight: 300;
	font-style: normal;
	font-display: swap;
}

@font-face {
	font-family: 'Montserrat';
	src: url('fonts/Montserrat-Regular.woff2') format('woff2');
	font-weight: 400;
	font-style: normal;
	font-display: swap;
}

@font-face {
	font-family: 'Montserrat';
	src: url('fonts/Montserrat-Italic.woff2') format('woff2');
	font-weight: 400;
	font-style: italic;
	font-display: swap;
}

@font-face {
	font-family: 'Montserrat';
	src: url('fonts/Montserrat-SemiBold.woff2') format('woff2');
	font-weight: 600;
	font-style: normal;
	font-display: swap;
}

@font-face {
	font-family: 'Montserrat';
	src: url('fonts/Montserrat-Bold.woff2') format('woff2');
	font-weight: 700;
	font-style: normal;
	font-display: swap;
}

@font-face {
	font-family: 'Montserrat';
	src: url('fonts/Montserrat-BoldItalic.woff2') format('woff2');
	font-weight: 700;
	font-style: italic;
	font-display: swap;
}

/* === OVERRIDE ELEMENTOR FONTS === */

.elementor-kit-1344,
.elementor .elementor-widget-text-editor,
.elementor .elementor-widget-heading .elementor-heading-title,
.elementor h1, .elementor h2, .elementor h3, .elementor h4, .elementor h5, .elementor h6,
.elementor p, .elementor a:not([class*="fa"]), .elementor li,
.elementor .elementor-widget-button .elementor-button,
.elementor .elementor-widget-image-box .elementor-image-box-content {
	font-family: 'Montserrat', sans-serif !important;
}

/* Protezione icone: ripristino font originali per Font Awesome e eicons */
.elementor [class*="eicon-"] {
	font-family: "eicons" !important;
}

.elementor .fab,
.elementor .elementor-social-icon .fab,
.elementor .elementor-icon .fab {
	font-family: "Font Awesome 5 Brands" !important;
}

.elementor .fa,
.elementor .fas,
.elementor .far,
.elementor .elementor-icon .fas,
.elementor .elementor-icon .far,
.elementor .elementor-icon .fa {
	font-family: "Font Awesome 5 Free" !important;
}

/* === DICONO DI ME: foto circolari 1:1 === */

.elementor-1444 .elementor-widget-image img {
	width: 150px !important;
	height: 150px !important;
	aspect-ratio: 1;
	object-fit: cover;
	border-radius: 50% !important;
	display: block;
	margin: 0 auto;
}

/* === RESET === */

body {
	background:none;
}

html, body, #page {
	min-height:100%;
}

body:not(.custom-background-image):before, body:not(.custom-background-image):after {
	display:none;
}

.site {
	margin:0;
}

.site-inner {
	max-width:100% !important;
}

.fullwidth #primary {
	float:none;
	overflow:hidden;
}

.site-main {
	margin-bottom:50px;
}

/*.content-area, .entry-content {
	float:none !important;
	margin:auto !important;
}*/

div#primary {
    width: 90%;
    margin: auto;
    float: none;
}

/*.entry-content {
	width:100% !important;
}*/

a {
   outline: 0 !important;
   color: #333;
}

section {
	overflow:hidden;
}

@media screen and (min-width: 61.5625em) {
	.site-main > article {
		margin-bottom: 35px;
	}
}

@media screen and (min-width: 56.875em) {
	.site-content {
		padding: 0;
	}
}

.container-fluid {
	padding-left:0 !important;
	padding-right:0 !important;
}


ul {
    list-style: inside;
}

/* --- header --- */

@media screen and (min-width: 61.5625em) {
	.site-header {
		padding: 15px;
	}
}

@media screen and (min-width: 56.875em) {
	.site-header {
		padding-right: 4.5455%;
		padding-left: 4.5455%;
	}
}

@media screen and (min-width: 44.375em) {
	.site-header {
		padding: 3.9375em 7.6923%;
	}
}

.site-header {
    padding: 1.625em 7.6923%;
}


/* === TYPOGRAPHY === */

html, body, #page {
    font-family: 'Montserrat', sans-serif;
}

body, button, input, select, textarea {
    font-family: 'Montserrat', sans-serif;
}

.entry-title {
	font-family: 'Montserrat', sans-serif;
	font-size: 28px;
	font-size: 1.75rem;
	font-weight: 700;
	line-height: 1.25;
	margin-bottom: 1em;
}

li.menu-item {
    font-weight: 300;
    letter-spacing: 1.5px;
}

p.site-title {
    font-family: 'Gloria Hallelujah', cursive;
    font-size: 46px;
	color:#4C3B4D;
}

p.site-description {
    text-align: right;
    height: 20px;
    font-size: 18px;
    font-weight: 400;
}

.site-content p {
    font-weight: 300;
}

blockquote {
    background: rgba(168, 228, 234, 0.64);
    padding: 10px;
    border: 0px;
	    border-radius: 3px;
}


/* === GENERALE === */

.green_button {
	display: block;
    text-align: center;
    text-transform: uppercase;
    color: #fff !important;
	padding:15px 0 !important;
	background:#A8E4EA;
}

.green_button:hover {
	background:#8CBCA6;
}

div#content {
    margin-top: 50px;
}


/* === HEADER === */

@media screen AND (max-width:768px) {
	.master-slider-parent {
		display:none;
	}
}

/* --- sticky header ---*/

.sticky-element-active + #masthead.sticky-element-original {
	padding-top:0;
	background:#fff;
}

.sticky-element-active + #masthead.sticky-element-original .site-header-menu {
	margin-top:0;
	margin-bottom:0;
}

.sticky-element-active + #masthead.sticky-element-original .main-navigation {
	margin-top:0;
}

.sticky-element-active + #masthead.sticky-element-original .site-branding {
	margin-top:10px;
}

.sticky-element-active + #masthead.sticky-element-original p.site-title {
	font-size:23px;
	transition:all 0.2s linear;
}

.sticky-element-active + #masthead.sticky-element-original p.site-description {
	font-size: 14px;
}

/* --- logo --- */

.site-branding {
    margin: auto;
}

/* --- main menu --- */

.main-navigation {
	margin-top:25px;
	text-align:center;
}

.main-navigation .primary-menu > li {
	/* width:16.666666666666%; */
	text-align:center;
	font-size:1.4em;
	color:#555658 !important;
	margin-left:15px;
	display:inline-block;
	float:none;
}

.main-navigation .primary-menu > li:first-child {
	margin-left:0;
}

.main-navigation .primary-menu > li a {
	color:#555658;
	padding-right:10px !important;
	padding-left:10px !important;
}

.main-navigation .primary-menu > li.current-menu-item, .main-navigation .primary-menu > li:hover {
	border-bottom-color:#A8E4EA;
}

.main-navigation .primary-menu > li.current-menu-item a, .main-navigation .primary-menu > li a:hover {
	color:#A8E4EA !important;
}

.toggled-on .main-navigation .primary-menu > li {
	width:100%;
	text-align:center;
	font-size:1.6em;
	color:#555658 !important;
	border-bottom:none;
}

@media screen and (min-width: 56.875em) {
	.main-navigation .menu-item-has-children > a:after {
		right: -0.6em;
		top: 1.4em;
	}
}


@media screen AND (max-width:460px) {
	.primary-menu li {
	    border-bottom: 0px !important;
	}
	.dropdown-toggle {
    top: 25px;
}
.menu-toggle {
    margin: 1.076923077em auto;
}
}

ul.sub-menu.toggled-on {
    border: 0px;
}

ul.sub-menu {
    border-bottom: 0px !important;
}

ul.sub-menu li {
    border: 0px !important;
    background: rgba(255, 255, 255, 0.88) !important;
    font-size: 18px;
}

.main-navigation ul ul:before, .main-navigation ul ul:after {
    display:none;
}

/*
bar top */

.header_def.bartop {
    display: block;
    width: 100%;
    min-height: 30px;
    background-color: #A8E4EA;
	z-index: 999999;
	position:relative;
	margin-top:0;
	padding-top:1px;
	font-size: 14px;
}

.bartop_utility {
    float: right;
    margin: 4px 0 0 0;
}

aside.bartop_utility div {
    float: left;
    margin: 0 25px 0 0;
}

.bartop_social {
    float: left;
    margin: 0 25px 0 0;
}

.bartop_social a {
    font-size: 18px;
    margin: 0 20px 0 0;
}

@media screen and (max-width: 850px) {
    .header_def.bartop {
}

aside.bartop_social {
    display: none;
}

div#mail {
    display: none;
}

div#address {
    display: none;
}

div#phone {
    margin: auto;
    float: none;
    width: 260px;
}

#popup-box-gfcr-1.popupally-opened-gfcr-1 {
    display: none !important;
}
}

/* --- header image --- */

div#header_img {
    height: 350px;
	background-size:cover;
	background-position:center center;
}

/* === HOME === */

#home_blocchi {
	margin-top:85px;
	margin-bottom:85px;
}

#home_blocchi h3 {
	margin-top:15px;
	margin-bottom:10px;
	text-align:right;
	font-weight:400;
	font-size:1.8em;
}

#home_blocchi p {
	text-align:justify;
}

#home_blocchi .green_button {
	width:70%;
	margin:25px 15%;
}

/* === PAGINE === */

.entry-title {
	/* margin-left:24px; */
}

/* === TESTIMONIANZE === */

/* --- pagina generale --- */

.testimonianza_singola h4 {
	font-weight:bold;
	font-size:22px;
	margin-bottom:25px;
	min-height: 80px;
}

article.testimonianza_thumbnail img {
    border-radius: 200px;
	width:90%;
	height:auto;
	display:block;
	margin:0 auto;
}

img.attachment-testimonianze_generale {
    border-radius: 50%;
}

.testimonianza_singola {
    min-height: 830px;
}

/* === FOOTER === */

footer .site-info {
    width: auto;
    background: #A8E4EA;
    padding: 5px;
    margin: auto;
    text-align: center;
}

.links-footer {
    width: auto;
    height: 250px;
    background: #ADA8B6;
	color:#fff;
}

.social-footer {
    width: 300px;
    margin: auto;
    font-size: 40px;
    color: #333;
    height: 75px;
    display: block;
    padding: 20px 0 0 0;
    border-top: #fff 1px solid;
}

.social-footer a {
    width: 95px;
    display: block;
    float: left;
    text-align: center;
}

.menu-footer .main-navigation .primary-menu > li a {
    color: #fff;
    text-transform: uppercase;
    font-weight: 100;
}

.social-footer a i {
    color: #fff;
}


/* --- slider testimonianze --- */

div.ls-wp-container p {
    white-space: normal !important;
}

a.ls-nav-next, a.ls-nav-prev {
    box-shadow: none;
}

.ls-container .ls-inner {
    z-index: 0;
}

/* --- style shortcodes --- */

.su-button-center {
    margin-top: 45px;
    margin-bottom: 45px;
}

.su-spoiler-title {
    font-size: 24px !important;
    background: #A8E4EA;
    color: #666;
    width: 35%;
    text-align: center;
    margin: auto;
    height: 42px;
    padding: 9px 15px !important;
	    border-radius: 3px;
}

span.su-spoiler-icon {
    padding: 4px 0 0 25px;
}

a.su-button.su-button-style-flat.cta {
    box-shadow: none !important;
}

.su-note-inner {
    border: 0px !important;
    box-shadow: none;
	    border-radius: 3px;
}

.su-note {
    border: 0px !important;
	    border-radius: 3px;
}

.prices .su-column {
    background-color: #e3e7d3;
    border-radius: 3px;
    padding: 15px;
    min-height: 193px;
}

.prices strong {
    font-size: 30px;
}

/* Pagine Archivio Style Shortcodes */

#post-24 .entry-content img {
    height: 190px;
    object-fit: cover;
}

#post-36 .entry-content img {
    height: 250px;
    object-fit: cover;
}

#post-36 .su-row {
    margin-bottom: 4em;
}

/* --- mailchimp --- */

#mc_embed_signup input[type="submit"]#mc-embedded-subscribe {
	border-radius:0;
	border:none;
	display: block;
    text-align: center;
    text-transform: uppercase;
    color: #fff !important;
	padding:0 !important;
	background:#A8E4EA;
	font-weight:400;
	width:100%;
	height:45px;
	line-height:45px;
	margin:auto;
}

#mc_embed_signup input[type="submit"]#mc-embedded-subscribe:hover {
	background:#8CBCA6;
}

#mc_embed_signup input#mce-EMAIL {
	height:45px;
	line-height:45px;
	border-radius:0 !important;
}


 /* Inizio responsiveness */

@media screen AND (max-width:910px) {

	.menu-footer {
    display: none;
}
	
	.entry-header, .entry-summary, .entry-content, .entry-footer, .page-content {
    margin-right: 7.6923%;
    margin-left: 7.6923%;
    margin-bottom: 7.6923%;
}
	
}
@media screen AND (max-width:650px) {

div#header_img {
    height: 250px;
}
	
}

@media screen AND (max-width:460px) {

footer {
	 	margin-top: 30px;
}

.social-footer {
    border-top:0px;
}

.site-description {
		display: inline-block;
		text-align: center;
		width:80%;
		margin:auto;
}

p.site-title {
    text-align: center;
}

.su-spoiler-title {
    width: 80%;
}
	
div#header_img {
    height: 200px;
}

.su-spoiler .su-spoiler-content.su-clearfix {
    padding: 6px;
}

.main-navigation .primary-menu > li {
	margin-left:0px;
}

.main-navigation ul ul {
	margin-left: 0px;
}

}

/* Articoli */

.blog article {
    min-height: 725px;
}

.blog img.attachment-post-thumbnail.size-post-thumbnail.wp-post-image {
    max-height: 250px;
    width: 100%;
    object-fit: cover;
}

.single div#content {
    width: 80%;
    margin: auto;
    margin: 40px auto;
}

.single div#header_img {
    display: none;
}

article footer.entry-footer {
    display: none;
}

.pdfemb-viewer {
    border: 0px !important;
}

/* .single div#primary {
    width: 70%;
    float: left;
	margin-right: -100%;
} */

.post-navigation {
    border-top: 0px;
    border-bottom: 0px;
    font-family: "Montserrat", sans-serif;
}

.post-navigation .post-title {
    font-family: "Montserrat", sans-serif !important;
}

@media screen AND (min-width:900px) {
	
.single div#primary {
    width: 70%;
    float: left;
	margin-right: -100%;
}
	
.single .entry-content {
    float: none !important;
    margin: auto;
    width: 100%;
}
}

/* Archivio Articoli */

.blog div#content {
    padding: 0 30px;
}

.blog div#header_img {
    display: none;
}

.post-thumbnail img {
    width: auto;
    margin: auto;
}
@media screen AND (min-width:910px) {
/* .blog div#primary {
    width: 70%;
    float: left;
	margin-right: -100%;
} */
	
.blog .entry-content {
    float: none !important;
    margin: auto;
    width: 80%;
}
}

/* Widget Area */

.widget {
    border-top: none;
	font-family: 'Montserrat', sans-serif;
}

#menu-servizi li {
    list-style: none;
    background-color: #a8e4ea;
    padding: 5px;
}

.widget a {
    font-size: 15px;
    font-weight: 400;
    color: #333;
}

.widget .widget-title {
    font-family: "Montserrat", sans-serif;
}