/* OVERRIDE MODAL SCROLLBAR HIDING */
html body.custombox-lock, html body.custombox-perspective {
    overflow-y: inherit !important;
}

/* Sanification Covid
--------------------------------------- */
div.sanification .description {
    background: url(/site/templates/img/sanification.png) no-repeat left center;
    background-size: contain;
}

@media (max-width: 577px) {
div.sanification .description h2{
    font-size: 1.2rem !Important;
}
    div.sanification .description p{
    font-size: 13px;
}
    div.sanification .description {
    background-size: 70px;
}
}

/*
Stili per Form e prezzi
=======================*/

@media (max-width: 577px) {
div.js-countdown .g-font-size-32{
    font-size: 1.8rem !Important;
}
div.js-countdown h2{
    font-size: 1.5rem !Important;
}
}


/* Iscrizione - override Boostrap 3
--------------------------------------- */

.InputfieldContent.checkbox label{
    border: 1px solid #ccc;
    border-radius: 4px;
    padding: 10px 15px !important;
}

.InputfieldContent.checkbox label:hover{
    cursor: pointer;
}

main.register div.Inputfields div.Inputfield {
clear: both;
margin-bottom: 1em;
min-height: 2em;
}

main.register .col-sm-4, main.register .col-md-3, main.register .col-sm-8, main.register .col-md-9 {
float: left;
}

@media (max-width: 577px) {
main.register div.Inputfields div.Inputfield {
min-height: 4em;
}
}

/* Field da nascondere a meno di non poterli far fuori lato admin messi non obbligatori al momento */
main.register div#wrap_Inputfield_stato, main.register div#wrap_Inputfield_national_letters, 
main.register div#wrap_Inputfield_numero_velico, 
main.register div#wrap_Inputfield_sesso, main.register div#wrap_Inputfield_data_di_nascita, 
main.register div#wrap_Inputfield_tessera_fiv, main.register div#wrap_Inputfield_circolo_velico {
display: none;
}


/* End iscrizione - override
--------------------------------------- */

/* CHECk Out
-------------------- */
main.carrello div.avviso {
background-color: lightgray;
padding: 8px 15px;
background-color:#17a2b8;
background-color:#ffc107;
/* color:white;*/
}

main.carrello div.avviso-nonstripe {

}


/* TABELLA ENTRY LIST
-------------------- */
@media (max-width: 767px) {
table.iscritti td.club, table.iscritti th.club
{
display:none;
}
}

/* ORDINI PRICES
-------------------- */
table.prezzi-regata {
width: 100%;
border-collapse: collapse;
margin-bottom: 1.5em;

}

/* Striping */
table.prezzi-regata tr:nth-of-type(odd) {
background: #eee;
}

table.prezzi-regata th {
background: #555;
color: white;
font-weight: bold;
}

table.prezzi-regata td, table.prezzi-regata th {
padding: 6px;
border-bottom: 1px solid #ccc;
text-align: left;
}

table.prezzi-regata ul{
    padding-left: 12px;
}

/* Prezzi Responsive */
@media
only screen and (max-width: 760px),
(min-device-width: 768px) and (max-device-width: 1024px) {

/* Force table to not be like tables anymore */
table.prezzi-regata, table.prezzi-regata thead, table.prezzi-regata tbody, table.prezzi-regata th, table.prezzi-regata td, table.prezzi-regata tr {
display: block;
}

/* Nascondo table headers (but not display: none;, for accessibility) */
table.prezzi-regata thead tr {
position: absolute;
top: -9999px;
left: -9999px;
}

table.prezzi-regata tr { border: 1px solid #ccc; }

table.prezzi-regata td {
/* Behave like a "row" */
border: none;
position: relative;
padding-left: 50%;
}

table.prezzi-regata td:before {
/* Now like a table header */
position: absolute;
/* Top/left values mimic padding */
top: 6px;
left: 6px;
width: 45%;
padding-right: 10px;
white-space: nowrap;
}

}

/* NEWS EVENTS 
-------------------------------- */

@media (max-width: 769px) {
main.news_events div.event .month, main.news_events div.event .year  {
    display: inline-block !important;
}
}


/*  OVERRIDE ALIGNMENT FLOAT
-------------------------------- */

.children.row {
	clear: both;
}


/*   RESTAURANT MENU
-------------------------*/

/* TABLE VINI
-------------------------- */
div.card table.wine {
    word-wrap: normal !important;
}

table.wine .ft-table-col {
    width: auto !important; 
}

table.wine {
    width: 100%; 
    border-collapse: collapse; 
    margin-bottom: 1.5em;  
}

/* Striping 
table.wine tr:nth-of-type(odd) { 
  background: #eee; 
}

table.wine th { 
  background: #555; 
  color: white; 
  font-weight: bold; 
}

table.wine td, table.wine th { 
  padding: 6px; 
  border: 1px solid #ccc; 
  text-align: left; 
}
*/

/* Prezzi Responsive */

/* Tabella Vini nascondo colonne? sotto a
------------------------------- */
@media (max-width: 767px) {
/*
    div.basic_page_banner_ristorante table.table .ft-table-col-denominazione,
        div.basic_page_banner_ristorante table.table .ft-table-col-cantina, 
        div.basic_page_banner_ristorante table.table .ft-table-col-regione,
        div.basic_page_banner_ristorante table.table .ft-table-col-gradazione {
        display:none;

    }
*/
}

@media 
only screen and (max-width: 760px),
(min-device-width: 768px) and (max-device-width: 1024px)  {

	/* Force table to not be like tables anymore */
	table.wine, table.wine thead, table.wine tbody, table.wine th, table.wine td, table.wine tr { 
		display: block; 
	}
	
	/* Nascondo table headers (but not display: none;, for accessibility) */
	table.wine thead tr { 
		position: absolute;
		top: -9999px;
		left: -9999px;
	}
	
	table.wine tr { border: 1px solid #ccc; }
	
	table.wine td { 
		/* Behave  like a "row" */
		border: none;
		border-bottom: 1px solid #eee; 
		position: relative;
		padding-left: 50%; 
	}
	
	table.wine td:before { 
		/* Now like a table header */
		position: absolute;
        text-align: left; 
		/* Top/left values mimic padding */
		top: 6px;
		left: 6px;
		width: 45%; 
		padding-right: 10px; 
		white-space: nowrap;
	}
    
    table.wine td {
          text-align: right; 
    }
    
    
    /*
	Label the data usare i nomi delle colonne
	*/
	table.wine td:nth-of-type(1):before { content: "Nome"; font-weight: bold;}
	table.wine td:nth-of-type(2):before { content: "Cantina"; font-weight: bold;}
	table.wine td:nth-of-type(3):before { content: "Denominazione"; font-weight: bold;}
	table.wine td:nth-of-type(4):before { content: "Regione"; font-weight: bold;}
	table.wine td:nth-of-type(5):before { content: "Gradazione % vol."; font-weight: bold;}
	table.wine td:nth-of-type(6):before { content: "Prezzo calice €"; font-weight: bold;}
	table.wine td:nth-of-type(7):before { content: "Prezzo bottiglia €"; font-weight: bold;}
}
    
}

/*   REPEATER LISTS   */

div.Antipasti, div.Starters { /* classi TMP per non inficiare altre voci di menu */
    position: relative;
    top: -35px;
    padding: 15px;
/*    background-color: #f7f7f7;*/
    border-radius: 10px;
    padding-top: 35px;
    border-style: dotted;
    border-width: 2px;
    border-color: #374a5e;
    border-top: none;
}

div.dish {
    padding-left: 15px;
    padding-right: 15px;
}

div.dish .description {
    font-style: oblique;
}

div.u-accordion .allergens {
    font-weight: 600;
}

div.u-accordion .no-allergens {
    font-weight: 600;
    background-color: lightgreen;
    padding: 5px 10px;
    border-radius: 5px;
}

div.u-accordion i.no-allergens {
    color: #21c721;
    background-color: inherit;
}

div.u-accordion__body img.plus.vegan-ok, div.u-accordion__body img.plus.organic {
    margin-left: 25px;
    max-height: 50px !important;
}

div.u-accordion span.available, div.u-accordion span.nostock {
    font-size: 14px;
    font-weight: bold;
    line-height: 2.4em;
    white-space: nowrap;
    margin-right: 15px;
}

div.u-accordion div.more_details{
    display: inline-block;
}


div.u-accordion .price {
    font-family: "EB-Garmond";
    font-style: oblique;
    font-size: 1.75rem;
    position: absolute;
    right: 0;
    padding-right: 15px;
}

/*   Accordion responive  */
@media (max-width: 575px) {
    div.u-accordion .menu{
	font-size: 0.9em;
}
    div.u-accordion .price {
	font-size: 1.2em;
    position: relative;
}
    div.u-accordion div.details{
    margin-top: 10px;
}
    
    div.u-accordion div.more_details{
    display: block;
}

}


div.u-accordion .notes {
    font-size: x-small;
}

div.u-accordion .special-dish {
    font-size: medium;
    text-decoration-line: underline;
    text-decoration-style: dotted;
    padding-left: 15px;
}

hr.dish-divider {
    max-width: 75%;
    border: 0;
    height: 2px;
    background-image: -webkit-linear-gradient(to right, rgba(0, 0, 0, 0), rgba(55, 74, 94, 0.75), rgba(0, 0, 0, 0));
    background-image: -moz-linear-gradient(to right, rgba(0, 0, 0, 0), rgba(55, 74, 94, 0.75), rgba(0, 0, 0, 0));
}


/*   IMGS FLUID for FCK EDITOR  */

div.body img, div.body_2 img, div.summary img  {
    max-width: 100%;
    height: auto;
}

img.align_right, img.align_left, img.align_center  {
    margin-bottom: 25px;
}

img.align_center  {
    margin: 0 auto;
    display: block;
}


/* Override Go-To button */

.go-to-nmc { /* needded for custom go-to-nmc.js */
    display:none;    
}

div.go-to-nmc .u-go-to-nmc {
    text-decoration: none;
    display: inherit;
    position: fixed;
    bottom: 5%;
    right: 5%;
    color: #fff;
    background-color: #ffc107;
    border-color:#ffc107;
    width: 55px;
    height: 55px;
    border-radius: 100%;
    z-index: 10;
    box-shadow: 2px 2px 2px rgba(125, 125, 125, 0.75);
}

div.go-to-nmc .booking {
    width: auto !important;
    height: auto !important;
}

.u-go-to-nmc i{
    position:relative;
    top: inherit;
    left: inherit;
    transform: none;
}

.u-go-to-nmc:hover, .u-go-to-nmc:focus:hover {
    color: #212529;
    background-color:#e0a800;
    border-color:#d39e00;
}

/* Override bootstrap striped table tr */
.table-striped tbody tr:nth-of-type(2n+1){
    background-color: #f7f7f7;
}

/* Avatar Hero Quote */
div img.avatar-fluid {
	max-width: 50%;
	height: auto;
}

@media (max-width: 769px) {
div img.avatar-fluid {
	max-width: 15%;
	height: auto;
}
}
/* END Avatar Hero Quote */


/* embedded GMap VT with original size and responsive behaviour */
div.virtual_tour iframe.iframe-fluid {
    max-width: 100%;

}

div.cta_info_bn {
    padding: 0.592rem 0.992rem;
    border: 1px #eee dotted;
}

/* Home Custom
-----------------*/
div.cta.booking .js-result.form-control  {
    padding: 0.592rem;
}

div.cta.booking select#adults {
    height: calc(2.25rem + 12px);
}

button.check  {
    height: calc(2.25rem + 11px);
}

/* HEADER OVERRIDE
-------------------- */
header .topbar {
    
}

.list-unstyled a.d-block:hover {
    
}

a.dati_azienda:hover {
    
}

div.breadcrumbs {
    
}

/* COMMON DEFAULT  
-------------------- */
.overflow-hidden {
    overflow: hidden;
}

.tp-bannertimer {
    height: 10px !important;
    bottom: 0 !Important;
    top: auto!Important;
    background: rgba(255,255,255,.45)!Important;
}


/* FCK EDITOR */

@media (min-width: 576px) {
.align_right, .align_left {display: block;} 
}

@media (min-width: 768px) {
.align_right {float: right; margin-left: 25px;}
.align_left {float: left; margin-right: 25px;}

}

/* Responsive Utility Order */

/* Responsive Utility Order Pagine a Banner e order*/
@media (max-width: 991px) {
    section.dzsparallaxer div.container.g-py-200{
    padding-top: 11rem !Important;
    padding-bottom: 11rem !Important;}    
}

@media (max-width: 769px) {

    .order-1, .order-2, .order-3 {
    order: inherit !important;} 

    section.js-bg-video video.hs-html5.hs-bg-video {
    display: none;}
    
    section.dzsparallaxer div.container.g-py-200{
    padding-top: 8rem !Important;
    padding-bottom: 8rem !Important;}   
}

/* Correzione mistero Flex nont working
--------------------------------------- */
@media (max-width: 991px) {
.navbar > .container {display: block;}
}

/* Avatar Hero Quote */
div img.avatar-fluid {
	max-width: 100%;
	height: 100%;
}
@media (max-width: 769px) {
div img.avatar-fluid {
	max-width: 15%;
	height: auto;
}

}

/* Downloads */

.size{
    display: inline-block;
}

div.downloads i{
    margin-right: 10px;
}

/* FORM ed input Fields 
-------------------- */
label{
    font-weight: bold;
}

.InputfieldRadios ul li label {
    font-weight: normal;
}

/* Google Map
--------------------*/
div#GMapRoadmap{
    height: 450px;
}

/* General Pagelayout
--------------------*/
.article .date{
    color: #999;
}

.agenda_date{
    padding: 4px;
    background-color: #f1f1f1;
}
.agenda_date .year{
    
}

.navbar-brand-h img {
    width: 60px;
    height: auto;
}

.footer-brand-c img {
    width: 200px;
    height: auto;
    display: block;
    margin-left: auto;
    margin-right: auto;
}

div.strcontent{
    min-height: 700px;
    height: auto;
}

.breadcrumbs {
	clear: both; 
}

.breadcrumbs span:after {
    content: ">";
    color: #999; 
    padding-left: 0.5em;
    padding-right: 0.25em; 
}

.visually-hidden{
    display:none;
}

footer div.socials i, div.topbar .socials i{
    font-size: 16px;
}

footer div.input-group-append button.btn.rounded-circle {
 border-color: #374a5e; 
}


/* Change BG on Hovers 
-----------------------*/
div.children .child-box .child-line-content:hover{
	cursor: pointer;
    background-color: #EEEEEE !Important;
	}

section#ourCourses div.course:hover, div.img_boxes .thumbnails:hover, section.cards .card-item:hover{
	cursor: pointer;
/*    background-color: #EEEEEE !Important;*/
	}

/* Children Types 
--------------------*/
@media (min-width: 768px) {
    div.children .child-box .child-line-content{
	min-height: 160px;
	}
}

.who li {
    margin-bottom: 8px;
}

.who li i {
    color: #d1d1d1;
    font-size: 18px;
    min-width: 13px;
    margin-right: 10px;
    text-align: center;
    position: relative;
}


/* SiteMap */

.sitemap .children .viewline{
    margin-left: 10px;
    margin-bottom: 10px;
}
.sitemap .children .viewline .children .viewline{
    margin-bottom: 0px;
}

ul.sitemap li{
    display: block;
}

ul.sitemap li ul{
    display: block;
    padding: 0 0 0 15px;
}

ul.sitemap li ul li ul{
    margin-bottom: 1rem;
}

/* Include Boxes Kern Burn 
------------------------------------*/
a.thumbnail {
	padding: 0;
	border: none;
	margin-bottom: 15px;
}

.thumbnail-style { 
	padding: 7px;
}
.thumbnail-style:hover { 
	box-shadow: 0 0 8px #ddd; 
    -webkit-transition: box-shadow 0.2s ease-in-out;
    -moz-transition: box-shadow 0.2s ease-in-out;
    -o-transition: box-shadow 0.2s ease-in-out;
    transition: box-shadow 0.2s ease-in-out;
}

.thumbnail h3,
.thumbnail-style h3 {
	margin: 6px 0 8px 0;
}

.thumbnail h3 a,
.thumbnail-style h3 a {
	color: #585f69;
	font-size: 18px;
}

.thumbnail h3 a:hover,
.thumbnail-style h3 a:hover {
	color: #72c02c;
	text-decoration: none;
}

.thumbnail-style .thumbnail-img {
	position: relative;
	margin-bottom: 11px;
}

.thumbnail-style a.btn-more {
	right: -10px;
	bottom: 10px;
	color: #fff;
	padding: 8px 16px;
	position: absolute;
	display: inline-block; 
}
.thumbnail-style a.btn-more:hover {
	text-decoration: none;
}

.thumbnail-style:hover a.btn-more {
	right: 10px;
}

.thumbnail-kenburn img {
	left: 10px;
	margin-left: -10px;
	position: relative;
   -webkit-transition: all 0.8s ease-in-out;
   -moz-transition: all 0.8s ease-in-out;
   -o-transition: all 0.8s ease-in-out;
   -ms-transition: all 0.8s ease-in-out;
   transition: all 0.8s ease-in-out;
}
.thumbnail-kenburn:hover img {
   -webkit-transform: scale(1.2) rotate(2deg);
   -moz-transform: scale(1.2) rotate(2deg);
   -o-transform: scale(1.2) rotate(2deg);
   -ms-transform: scale(1.2) rotate(2deg);
   transform: scale(1.2) rotate(2deg);
}

/*CSS3 Hover Effects*/
.hover-effect {
   -webkit-transition: all 0.4s ease-in-out;
   -moz-transition: all 0.4s ease-in-out;
   -o-transition: all 0.4s ease-in-out;
   transition: all 0.4s ease-in-out;
}
.hover-effect-kenburn {
   left:10px;
   margin-left:-10px;
   position:relative;
   -webkit-transition: all 0.8s ease-in-out;
   -moz-transition: all 0.8s ease-in-out;
   -o-transition: all 0.8s ease-in-out;
   -ms-transition: all 0.8s ease-in-out;
   transition: all 0.8s ease-in-out;
}
.hover-effect-kenburn:hover {
   -webkit-transform: scale(2) rotate(5deg);
   -moz-transform: scale(2) rotate(5deg);
   -o-transform: scale(2) rotate(5deg);
   -ms-transform: scale(2) rotate(5deg);
   transform: scale(2) rotate(5deg);
}

.hover-style-v1 { 
	padding: 5px;
}

.hover-style-v1:hover { 
    cursor: pointer;
	box-shadow: 0 0 8px #ddd; 
    -webkit-transition: box-shadow 0.2s ease-in-out;
    -moz-transition: box-shadow 0.2s ease-in-out;
    -o-transition: box-shadow 0.2s ease-in-out;
    transition: box-shadow 0.2s ease-in-out;
}

figure{ 
	overflow: hidden;
}

/* PAGINATION
------------------------------------*/
.MarkupPagerNav {
        clear: both;
        margin: 1em 0;
        font-family: Arial, sans-serif;
}
.MarkupPagerNav li {
	display: inline;
	list-style: none;
	margin: 0;
}

.MarkupPagerNav li a,
.MarkupPagerNav li.MarkupPagerNavSeparator {
	display: block;
	float: left;
	padding: 2px 9px;
	color: #fff;
	background: #2f4248;
	margin-right: 3px;
	font-size: 10px;
	font-weight: bold;
	text-transform: uppercase;
}

.MarkupPagerNav li.MarkupPagerNavOn a,
.MarkupPagerNav li a:hover {
	color: #fff;
	background: #db1174;
	text-decoration: none;
}

.MarkupPagerNav li.MarkupPagerNavSeparator {
	display: inline;
	color: #777;
	background: #d2e4ea;
	padding-left: 3px;
	padding-right: 3px;
}

/* BOOKING CLOSED OVERRIDE + ARROW */
.booking-closed {
    color: #aaaaaa !important;
}

ul li.booking-closed-sidebar {
    background-color: rgb(250, 250, 250); !important;
}

ul li.booking-closed-sidebar a {
    color: #999 !important;
}

ul li.booking-closed-sidebar.active {
    background-color: rgba(55, 74, 94, 0.5); !important;
}

ul li.booking-closed-sidebar.active a {
    color: white !important;
}

button.btn.disabled {
    cursor: no-drop !important;
}

div.child-box a.booking-closed {
    text-decoration: none !important;
}


/* Logo Contatti */

img.brand-small {
    width: 20px;
    height: auto;
}


/* OVERRIDE HEADING e TEXTS */
@media (max-width: 500px){
    div h1 {
        font-size: 2.5rem !important;
    }   
    main.basic-page div h1 {
        font-size: 2.15rem !important;
    }
}

/* OVERRIDE HOME BANNER */
@media (max-width: 450px) {
    main.home section.dzsparallaxer div.divimage {
        height: 120% !important;
        top:: 18px !important;
    }

    main.home div#revSlider div.tp-bgimg.defaultimg {
        height: 75% !important;      
    }
    
    div.container a.js-go-to {
        color: #374A5E !important;
    }

}

/* CTA CALL TO ACTION COLORS */
section.cta.cta-3-download, section.cta.cta-1-purchase {
    color: white;
    background-color: orange;
}

/* CARDS COLORS */
section.cards-2 div.row div.main {
background-color: orange;
}
section.cards-2 div.row div.secondary {
}

/* CLIENT LOGOS OVERRIDE */
div.row.randomgallery div.col-md-3 img:first-child{
position: absolute;
mix-blend-mode: color;
}
