@charset "utf-8";
/* CSS Document */

/* CONTENT VISIBILITY */
img {content-visibility: auto;}
body.single-themo_room section.elementor-section {content-visibility: auto;}
img:not(.logo-reg), iframe, section#certificazioni {content-visibility: auto;}



.top-nav-icon-blocks .icon-block i {font-size: 18px !important;;vertical-align: middle;color: #fea102;}
.top-nav-icon-blocks .icon-block a:hover i {color: #1f1f1f;}
/*.headhesive--clone.headhesive--stick .top-nav {background:#ffffff !important;}*/

.content h3 {font-size:24px;}
.content h2 {font-size:30px;}
.single-themo_room .content h2 {font-size:35px;}

.top-nav {background:#ffffff !important;}
.top-nav a {color:#1f1f1f !important;}
#logo {background: #1f1f1f !important;padding: 60px 30px !important;margin-top: -50px !important;}
.banner[data-transparent-header="true"] #logo .logo-main {display: none !important;}
.banner[data-transparent-header="true"] #logo .logo-trans,
.headhesive--clone #logo .logo-main {display:block !important;max-height: 200px !important;}
#logo {position:absolute;background: #01411b !important;padding: 0 0 0 0 !important;margin-top: -50px !important;max-width: 244px;}
.navbar-toggle {position: inherit !important;}
#logo.relativo {display:none !important;}
header.navbar:nth-child(1) #logo {display:none;}
header.navbar.headhesive--stick:nth-child(1) #logo {display:block;max-width: 150px;padding: 0 !important;}

/* BAFFI NASTRO LOGO
#logo:after,#logo:before {
    content: '';
    position: absolute;
    border-top: 15px solid #01411b;
    height: 0;
    width: 0;
    bottom: -15px;
}
#logo:after {
    border-left: 150px solid transparent;
    right:0;
}
#logo:before {
    border-right: 150px solid transparent;
    left:0;
}
 */

/* HOMESLIDE BUTTONS */
#main-flex-slider .th-btn-wrap {position: absolute;bottom: 20px;padding: 40px;width: 100%;max-width: 1140px;}
#main-flex-slider .th-btn, body.single-themo_room .elementor-section-wrap section:nth-child(1) .th-btn {
	background: rgb(51 104 2);
    border: none;
}
#main-flex-slider .th-btn:hover, body.single-themo_room .elementor-section-wrap section:nth-child(1) .th-btn:hover {
	color:#fff;
	background: rgb(5 47 3);
}
#main-flex-slider .slides h1, #main-flex-slider .slides .slider-subtitle,
body.single-themo_room .elementor-section-wrap section:nth-child(1) h1.elementor-icon-box-title,
body.single-themo_room .elementor-section-wrap section:nth-child(1) .elementor-icon-box-description,
.page-id-2443 h1.elementor-icon-box-title {text-shadow: 2px 2px 5px rgba(0,0,0,0.7);}


/* MAIN MENU HOME */
body.home .banner[data-transparent-header="true"] .navbar-nav > li > a,
body.single-themo_room .banner[data-transparent-header="true"] .navbar-nav > li > a {text-shadow: 2px 2px 5px rgba(0,0,0,0.7);}
body.home .headhesive--clone .navbar-nav > li > a,
body.single-themo_room .headhesive--clone .navbar-nav > li > a {text-shadow:none !important;}


/* COOKIE BAR
#catapult-cookie-bar {background-color:rgba(1,64,27,0.8) !important;}
#catapult-cookie-bar a {font-weight:bold;}
button#catapultCookie {border-radius: 50px !important;text-transform: uppercase;font-weight: bold;font-size: 13px;}
button#catapultCookie:hover {color:#fff;background-color:rgb(1,64,27);} */
#cookie-law-info-bar {
	text-align: left;
    font-size: 14px;
    line-height: 1.4em;
	padding: 30px;
}
#cookie_action_close_header {
	float:right;
}
@media only screen and (min-width: 900px) {
	#cookie-law-info-bar {
		padding: 50px !important;
	}
	#cookie_action_close_header {
		/*margin-top:-27px !important;*/
	}
}

/* PACCHETTO */
/*.pacchetto h3 {max-width:80%;}*/
.pacchetto a.btn {border: 1px solid #336802;margin-top: 10px;}

/* CERTIFICAZIONI */
section.certificazioni .col-lg-2 {width:20%;}
section.certificazioni .thumbnail {background:none;}


/* FOOTER */
.footer {content-visibility: auto;margin-top: 0 !important;}
.footer .footer-widgets h3.widget-title {font-size: 24px;color: #FFA202;}
.footer .soc-widget i {font-size: 30px;margin-right: 20px;}

.menu-item-2378 {display:none !important;}

/* PRENOTA */
.top-nav-icon-blocks .icon-block:nth-child(4) i {display:none;}
.top-nav-icon-blocks .icon-block:nth-child(4) a {display:inline-block;background:#336802;color:#fff !important;font-weight:bold;padding: 0 20px;border-radius: 20px;}
.headhesive--clone .top-nav-icon-blocks .icon-block:nth-child(4) a {color:#fff !important;}
.top-nav-icon-blocks .icon-block:nth-child(4) a:hover {background:#01411b;}

/* TITOLI PAGINE */
.inner-container > h1.entry-title {padding: 150px 0 20px 0 !important;border-bottom: 1px solid #336802 !important;margin-bottom: 30px !important;}
.inner-container > .content-editor {padding-top:0 !important;}

/* NINJA FORMS */
.nf-form-fields-required {margin-bottom: 30px;}
.nf-form-content {background: #97b77a36;padding: 30px !important;max-width: 800px !important;}
.submit-container input {background: #336802 !important;text-transform:uppercase;border-radius:100px;font-weight:bold;padding: 0 30px !important;}
.submit-container input:hover {background: #ffffff !important;color:#1f1f1f !important;}
.nf-after-form-content {max-width: 800px;margin: auto;}
.nf-after-form-content .nf-error-msg {background: #e80000;padding: 10px;color:#fff;text-align:center;}
.single-themo_room .nf-form-fields-required {display:none;}
.single-themo_room .nf-table-display {margin:auto;}
.selezione .nf-field-element label {font-weight:normal;}
.nf-field-description {margin-bottom: 20px;}
.nf-field-description p {font-size:14px;}
.nf-form-content hr.ninja-forms-field {padding: 10px 0 !important;border-top: 1px solid #01401b;}
.etabimbo label {font-size:14px !important;}



/* ROOMS GRID
.elementor-widget-themo-room-grid img {max-height:306px !important;max-width:423px !important;}
.page-id-28 .elementor-widget-themo-room-grid img {max-height:267px !important;max-width:370px !important;} */
span.blocco {display:block;line-height: 0.5em;font-weight:normal;}


/* UNDERLINE */
.th-header-wrap .th-header-divider {margin-bottom: 0 !important;}

/* PACKAGES */
.th-pkg-content {padding-bottom: 0 !important;}
.th-package.th-package-style-2 .th-pkg-content h3 {font-size:24px !important;}

/* SELECT LANGUAGE */
.widget_icl_lang_sel_widget {float:right;margin: 2px 0 0 20px;}
.wpml-ls-legacy-dropdown {width:auto;}
.wpml-ls-legacy-dropdown a {font-size:12px;border:none;}
.wpml-ls-legacy-dropdown a.lang_sel_sel {background:none;}
.wpml-ls-legacy-dropdown a:hover {text-decoration:none;}


/* POST META */
.single .post-meta {display:none;}
#themo_single_post_layout, #themo_default_layout {margin-top: 80px;padding-bottom: 20px;border-bottom: 1px solid #336802 !important;}
#themo_single_post_layout h1, #themo_default_layout h1 {color: #336802;}


/* ARIA CONDIZIONATA */
i.th-linea.icon-arrows-rotate:before {
	background-image: url(https://www.agriturismofattoriagrimana.it/wp-content/uploads/2020/05/aria-condizionata.png);
	background-repeat: no-repeat;
	background-size: contain;
    background-position: center;
    color: transparent;
    padding: 0 10px;
}


/* PRICING TABLE */
.single-themo_room .th-pricing-column ul li:first-child {padding-top:0;}
.single-themo_room .th-pricing-features {margin-top: -16px;}
.single-themo_room .th-pricing-column h5 {font-size: 20px;font-family: Open Sans;color: #336802;}
.single-themo_room .th-pricing-column.th-highlight h5 {color:white;}
.single-themo_room .th-pricing-table strong {font-size: 30px;}
.single-themo_room .th-tour-nav-price {min-width:270px;font-size: 28px;}


/* LIGHTBOX */
.swiper-image-stretch .swiper-slide .swiper-slide-image {width: auto !important;max-height: 400px;}
.elementor-lightbox footer {display:none;}
[class*=" eicon-"], [class^=eicon] {color: #cfd4ca;}


/* COMMUTATORE */
#commutatore .elementor-toggle .elementor-tab-title .elementor-toggle-icon.elementor-toggle-icon-left {float:none;text-align:center;margin-right: -20px;;}
#commutatore .elementor-toggle .elementor-tab-title {text-align:center;padding-top:0;border:none;}


/* SEARCH RESULTS */
.search-results .status-publish .wp-post-image, .search-results .status-publish .post-meta {display:none;}

/* TAGS */
.entry-meta.meta-tags {font-size:14px;}

/* */
.th-portfolio-item .th-port-center.btnroomprenotazioni {
	opacity: 1 !important;
    -webkit-transform: translateY(0) !important;
    -ms-transform: translateY(0) !important;
    transform: translateY(0) !important;
	transition: none !important;
}
.th-port-card .th-port-card-body {max-height: 200px;}
#post-7790 .th-port-card .th-port-card-body,
#post-7801 .th-port-card .th-port-card-body {
	position: absolute;
	top:0;
	text-align: center;
	height: 100% !important;
    padding-top: 25%;
	max-height: none;
}
#post-7790 .th-port-card .th-port-card-body:hover,
#post-7801 .th-port-card .th-port-card-body:hover {
	background:#306603;
}
#post-7790 .th-port-card .th-port-card-body .th-port-title,
#post-7801 .th-port-card .th-port-card-body .th-port-title {
	text-transform: uppercase;
	font-size: 24px;
	color:#fff !important;
}
#post-7790 .th-port-sub, #post-7801 .th-port-sub {
	color:#fff !important;
	font-size:15px;
}
#post-7790 .th-port-card-img:after, #post-7801 .th-port-card-img:after {background: none !important;}
#post-7790 .th-port-btn:hover, #post-7801 .th-port-btn:hover {color:#fff;text-decoration: none;}


/* BLOG */
.mas-blog-post .date-meta {display:none;}
.mas-blog-post .entry-content.post-excerpt a {display: none;}


/* PAGE SPEED TEST */
body.page-id-7934 #logo {display: none !important;}
body.page-id-7934 h1.entry-title {padding: 10px !important;}
img.wpml-ls-flag {width:18px !important;height:12px !important;}

/* CAPTIONS */
.elementor-widget-image-carousel .swiper-slide a:hover,
.elementor-widget-image-carousel .swiper-slide a:focus {text-decoration: none !important;}
figcaption.elementor-image-carousel-caption {
    text-align: center;
    color: #5e5e5e;
   	font-size: 16px;
    background: #fff;
    padding: 20px;
    min-height: 90px;
    font-family: Playfair Display;
    line-height: 1.2em;
}
.elementor-widget-image-carousel .swiper-slide a:hover figcaption.elementor-image-carousel-caption {
	color: #000;
}


/* krossbooking */
.kb-sharebuttonContainer {display: none;}
.widgetkrossbooking {width:51%;min-width:51%;}
body.home .widgetkrossbooking {position: absolute;z-index: 999;bottom: 24%;}


@media only screen and (max-width: 1023px) {
	#main-flex-slider .th-btn-wrap {max-width: 509px;}
	.kb-availabilityButtonContainer .kb-sharebuttonContainer {display: none !important;}

	.widgetkrossbooking {width:90%;min-width:90%;}
	.widgetkrossbooking .kb-adults {/*display: none;*/}
	.widgetkrossbooking .kb-form-group.kb-date {width: 75%;float: left;}
	.widgetkrossbooking .kb-availabilityButtonContainer {clear:both;margin-top:20px;}
}

@media only screen and (max-width: 767px) {
	.top-nav {background:#F7F7F7;}
	.top-nav .row {padding:0;}
	.top-nav-icon-blocks {float:none !important;}
	.top-nav-text + .top-nav-icon-blocks {margin-top: 0 !important;float:left;}
	.top-nav-icon-blocks .icon-block i {font-size: 24px !important;margin-right: 10px;}
	.top-nav-icon-blocks .icon-block span {display:none;}
	.top-nav-icon-blocks .icon-block:nth-child(4) {float:left; margin-right:20px;display:none;}
	.widget_icl_lang_sel_widget {float: left;margin:2px 5px 0 0;}
	.top-nav-icon-blocks .icon-block:nth-child(4) span {display:inline-block;}
	.navbar .top-nav .navbar-toggle {top: 0 !important;padding: 0 !important;margin: 5px;}
	.navbar {min-height:auto !important;border-width: 0 !important;}
	.navbar-toggle .icon-bar {width: 28px !important;height: 4px !important;}

	#logo {
		padding: 0 !important;
		margin: 0 !important;
		max-width: 180px !important;
    	left: calc(50% - 90px) !important;
		/*background: none !important;
		padding: 0 !important;
    	margin: 10px !important;*/
	}
	header.navbar.headhesive--stick:nth-child(1) #logo {display:none;}
	header.headhesive--stick #logo {display:none;}
	header.headhesive--stick #logo {padding: 10px !important;}
	span.cookiebar {display:block;}
	
	section.certificazioni {padding: 0 !important;}
	section.certificazioni .gallery {margin-bottom: 0 !important;}
	section.certificazioni .col-lg-2 {float: left;padding: 0;}
	#certificazioni {padding: 20px 0;}
	#certificazioni .elementor-column {width: 33%;}
	#certificazioni .elementor-column .elementor-element-populated {padding:0;}

	section.pacchetti .elementor-widget-container {padding:0 !important;}
	section.pacchetti .th-pkg-content {padding: 20px 0 0 0 !important;}
	
	section.rating {padding: 20px 0 20px 0 !important;}
	section.rating .elementor-column {width:50%;}
	section.rating .elementor-element-populated {padding: 15px !important;}

	.inner-container > h1.entry-title {padding: 200px 0 20px 0 !important;font-size: 38px;}

	.single-themo_room .th-tour-nav-price {margin-bottom: 20px;display: inline-block;}
	.single-themo_room .elementor-section-full_width .elementor-top-column {margin-top:100px;}
	#themo_single_post_layout {margin-top: 130px;}
}

@media only screen and (max-width: 640px) {
	#main-flex-slider .th-slide-inner {margin-top: -60px;}
	#main-flex-slider .th-btn-wrap {width: 80%;padding: 40px 0;}
	#nf-form-2-cont .submit-container input {padding: 0 10px;font-size: 13px;}
	#nf-form-2-cont .nf-form-content {background: #97b77a36;padding: 12px !important;}
	
	#main-flex-slider .slides h1 {font-size:50px !important;}
	#main-flex-slider .slides .slider-subtitle p {line-height:1.2em !important;font-size:22px !important;}
	
	.th-port-center .th-pricing-cost {font-size: 24px !important;}
	.th-port-sub {font-size: 12px !important;}

	.th-pricing-cost span {display: block;}
	.single-themo_room .th-pricing-features {margin-top:0;}

	#catapult-cookie-bar .ctcc-inner {display: block;}
	#catapult-cookie-bar span {display:block;text-align: center;margin:0;}
	#catapult-cookie-bar span.ctcc-right-side {margin:20px auto 5px auto;}
	#catapultCookie {margin:0;}

	body.single-themo_room .elementor-section-wrap section:nth-child(1) h1.elementor-icon-box-title {font-size:40px;}
	.single-themo_room .th-tour-nav-btn {display:none;}

	.home .elementor-2431 .elementor-element.elementor-element-59e01f6 .elementor-heading-title {font-size:30px !important;}
	.home #main-flex-slider .th-slide-content {margin-top:-200px !important;}
	body.home .widgetkrossbooking {bottom: 35%;}

	.footer p, .footer ul li, .footer p a {font-size:16px !important;}
	.footer .icon-block {margin-bottom: 20px !important;}
	.footer .icon-block p a {font-size:16px !important;}
	.footer .widget.widget_nav_menu ul li {margin-bottom: 10px;font-size:16px;}
	.footer .widget-social a i {font-size: 40px;}
	.top-nav {padding: 10px 0 !important;}
}