@import url('typography.css');

:root {
	--marrone: #C7B59D;
}

body, html {
	font-family: 'Auto 1', Helvetica, sans-serif!important;
	text-rendering: optimizeLegibility !important;
	-webkit-font-smoothing: antialiased !important;
	color: #888;
	background-color: #FFFFFF;
        font-size: 15px;
        overflow-x: hidden;
}
.alert-success {
    color: #8a6d3b;
    background-color: #f5f5f5;
    border-color: rgba(138, 109, 59, 0.15);
}
img {
    vertical-align: middle;
    max-width: 100%;
    margin-left: auto;
    margin-right: auto;
}
h1, h2, h3, h4 {
	font-family: 'Auto 1', Helvetica, sans-serif;
	color: white;
}
h1 strong {
	font-weight: 900;
}
h2 {
/* 	line-height: 20px; */
	margin: 0;
	font-size: 38px;
	font-weight: bold;
}
h3 {
	font-size: 24px;
    line-height: 30px;
    font-weight: 400;
}
h4 {
	font-size: 24px;
	font-weight: 400;
}
h5 {
	text-transform: uppercase;
	font-weight: 700;
	line-height: 20px;
}
p {
	font-size: 20px;
    line-height: 30px;
    font-weight: 400;
}
a {
	color: #ffffff;
	font-weight: bold;
}
a:hover, a:focus {
	text-decoration: underline;
	color: #ffffff;
}

a.btn-default:hover {
	border: 2px solid white;
	font-weight: bold;
	color: var(--marrone);
}

.clearfix:after {
	visibility: hidden;
	display: block;
	font-size: 0;
	content: " ";
	clear: both;
	height: 0;
}
.clearfix {
	display: inline-block;
}
* html .clearfix {
	height: 1%;
}
.clearfix {
	display: block;
}
#preloader {
	position: fixed;
	top: 0;
	left: 0;
	right: 0;
	bottom: 0;
	background: #fff;
	z-index: 99999;
	height: 100%;
}
#status {
	position: absolute;
	left: 50%;
	top: 50%;
	margin: -32px 0 0 -32px;
	padding: 0;
}
ul, ol {
	padding: 0;
	webkit-padding: 0;
	moz-padding: 0;
	list-style: none;
}
.img-center {
    margin-left: auto;
    margin-right: auto;
}
hr {
	height: 2px;
	width: 60px;
	background: white;
	position: relative;
	border: 0;
	margin: 30px 0 0 0;
}

.section-title {
	padding-top: 10px;
	padding-right: 0;
	padding-left: 0;
	margin-bottom: 10px;
}
/* Cookie Law*/
#cookie-bar p {
    color: var(--marrone)!important;
    font-size: 16px;
}
#cookie-bar-prompt-content a, #cookie-bar a, #cookie-bar-prompt-content span {
    color: #ffffff!important;
}
#cookie-bar-button {
    background-color: var(--marrone)!important;
}
#cookie-bar-prompt p {
    font-family: inherit !important;
    color: var(--marrone)!important;
    font-size: 16px!important;
}
/* Navigation */
#menu {
	padding: 20px 0px;
	transition: all 0.8s;
}
#menu.navbar-default {
	background-color: var(--marrone);
    box-shadow: 0px -1px 20px 0px black;
    border-color: rgba(231, 231, 231, 0);
}
#menu a.navbar-brand {
	font-size: 20px;
	color: #fff;
	font-weight: 400;
	letter-spacing: 1px;
}
#menu a.navbar-brand i.fa {
	color: #83af9d;
}
#menu.navbar-default .navbar-nav > li > a {
	text-transform: uppercase;
	color: #ffffff;
	font-size: 12px;
	letter-spacing: 1px;
	font-weight: 500;
}
#menu.navbar-default .navbar-nav > li > a:hover {
	color: white;
	font-weight: bold;
}
.on { /* cambia il colore della barra quando si riduce scorrendo sulla pagina (Es: passi dal land al primo blocco) */
	background-color: var(--marrone) !important;
	padding: 0 !important;
}
.navbar-default .navbar-nav > .active > a, .navbar-default .navbar-nav > .active > a:hover, .navbar-default .navbar-nav > .active > a:focus {
	color: #fff !important;
	background-color: transparent;
}
.navbar-toggle {
	border-radius: 0;
	border: none;
}

.navbar-default {
	border: none;
}

.navbar-default .navbar-toggle:hover, .navbar-default .navbar-toggle:focus {
	background: none;
	border-color: #83af9d;
}
.navbar-default .navbar-toggle:hover>.icon-bar {
	background-color: #FFF;
}

.navbar-default .navbar-toggle .icon-bar {
    background-color: white;
}

.navbar-default .navbar-nav>.active>a, .navbar-default .navbar-nav>.active>a:hover, .navbar-default .navbar-nav>.active>a:focus {
    color: white !important;
    font-weight: bold !important;
    background-color: transparent;
}

img#brand-image {
    max-height: 45px;
    margin-top: -15px;
}

a.bandierina {
    display: block;
    float: right;
    margin: 12px 30px 0px 30px;
}

.navbar-brand {
	float: left;
    height: 50px;
    padding: 15px 0px;
    font-size: 18px;
    line-height: 1em;

}
#toTop{
        color: rgba(0, 0, 0, 0.56);
	position: fixed;
	bottom: 10px;
	right: 10px;
	cursor: pointer;
	display: none;
}
/* Home Style */
header {
	background: url(../img/homepage-bg.jpg) center no-repeat;
	background-size: cover;
	min-height: 100vh;
        background-attachment: fixed; 
        box-shadow: inset 0 0 0 1000px rgba(0,0,0,.5); 
}

header p {
	color: #ffffff;
	font-size: 22px;
	font-weight: 400;
	margin-bottom: 60px;
	letter-spacing: 2px;
}
.intro-text {
	position: relative;
	/*padding-top: 300px;*/
	padding-right: 0;
	padding-left: 0;
	/*padding-bottom: 220px;*/
	text-align: center;
	    top: 30vH;
}
.intro-text H1 {
	font-size: 62px;
	color: #FFFFFF;
	font-weight: 300;
}
.intro-text .brand {
	font-weight: 400;
}
.btn-default {
	color: #fff;
	background-color: transparent;
	border: 2px solid #fff;
	margin: 0 8px;
	font-size: 16px;
	text-transform: uppercase;
	letter-spacing: 1px;
	border-radius: 0;
	margin-left: 0px;
	margin-top: 20px;
}
.btn-default:hover, .btn-default.focus, .btn-default:active, .btn-default.active {
	background-color: white;
	border: none;
	color: black;
}


/* Chi Siamo Section */

#chisiamo-section {
	background: linear-gradient(rgba(0, 0, 0, .0), rgba(0, 0, 0, .65)), url(../img/ramo-olivo-1.jpg) center no-repeat;
	background-size: cover;
	    min-height: 100vh;
}

#chisiamo-section .container {
	color:white;
	min-height: 570px;
    padding-top: 15vh;
    padding-bottom: 5vh;
}

#chisiamo-section > .container > .row > .col-md-7 > .col-xs-6 {
	padding-left: 0px;
}

#chisiamo-section > .container > .row > .col-md-7 {
	margin-top: 85px;
}

#chisiamo-section img {
	padding: 15px 0px 0px 0px;
}

#chisiamo-section img.img-responsive {
	width: 100%;
}

#chisiamo-section .btn-default {
	color: #f6f6f6;
	background-color: #555;
	border: 0;
	margin: 20px 0 0 0;
	padding: 8px 30px;
	font-size: 16px;
	text-transform: uppercase;
	letter-spacing: 1px;
	border-radius: 0;
}

#chisiamo-section .btn-default, #chisiamo-section .btn-default:hover, #chisiamo-section .btn-default.focus, #chisiamo-section .btn-default:active, #chisiamo-section .btn-default.active {
	background-color: rgba(255,255,255,0);
}



/* Ospitalita
--------------*/

#ospitalita-section {
	background: linear-gradient(rgba(0,0,0,0), rgba(0,0,0,.65)), url(../img/ramo-olivo-2.jpg) center no-repeat;
	background-size: cover;
	min-height: 100vh;
	color:white;   
}

#ospitalita-section .container {
	min-height: 500px;
    padding-top: 15vh;
    padding-bottom: 5vh;
}

#ospitalita-section img.img-responsive {
	width: 100%;
	margin-top: 15px;
}

#ospitalita-section > .container > .row > .col-md-7 > .tab_container > .tab-content > .col-xs-6 {
	padding-left: 0px;
}

#ospitalita-section > .container > .row > .col-md-7 {
	margin-top: 20px;
}

/*TABS*/

label.tab {
	color: white;
     margin-top: -5px;
    padding-top: 12px;
	
}

.tab_container [id^="tab"]:checked + label {
	font-weight: bold;
	font-size: 1.3em;
	margin-top: -5px;
        padding-top: 12px;
        background-color: var(--marrone);
	
}

input, section {
  clear: both;
  padding-top: 10px;
  display: none;
}

label {
  font-size: 1.3em;
  padding: 0.7em 1.4em;
  color: #757575;
  cursor: pointer;
  text-decoration: none;
  text-align: center;
  border: 1px solid white;
  vertical-align: middle; 
}

#tab1:checked ~ #content1,
#tab2:checked ~ #content2,
#tab3:checked ~ #content3,
#tab4:checked ~ #content4{
  display: block;
  color: #fff;
}

.tab_container .tab-content p,
.tab_container .tab-content h3,
.tab_container .tab-content img {
  -webkit-animation: fadeInScale 0.7s ease-in-out;
  -moz-animation: fadeInScale 0.7s ease-in-out;
  animation: fadeInScale 0.7s ease-in-out;
}
.tab_container .tab-content h3  {
  text-align: center;
}

.tab_container [id^="tab"]:checked + label {
  color: #fff
}

.tab_container [id^="tab"]:checked + label + span{
  color: var(--marrone)
}

.tab_container [id^="tab"]:checked + label .fa {
  color: var(--marrone);
}

label .fa {
  font-size: 1.3em;
  margin: 0 0.4em 0 0;
}

.portfolio-modal .modal-content {
	padding: 100px 0;
	min-height: 100%;
	border: 0;
	border-radius: 0;
	font-size: 15px;
	font-weight: 300;
	text-align: center;
	background-clip: border-box;
	-webkit-box-shadow: none;
	box-shadow: none;
	/* Permalink - use to edit and share this gradient: http://colorzilla.com/gradient-editor/#ffffff+50,f6f6f6+100 */
	background: #ffffff; /* Old browsers */
	background: -moz-linear-gradient(top, #ffffff 50%, #f6f6f6 100%); /* FF3.6-15 */
	background: -webkit-linear-gradient(top, #ffffff 50%, #f6f6f6 100%); /* Chrome10-25,Safari5.1-6 */
	background: linear-gradient(to bottom, #ffffff 50%, #f6f6f6 100%); /* W3C, IE10+, FF16+, Chrome26+, Opera12+, Safari7+ */
filter: progid:DXImageTransform.Microsoft.gradient( startColorstr='#ffffff', endColorstr='#f6f6f6', GradientType=0 ); /* IE6-9 */
}
.portfolio-modal .modal-content h2 {
	margin-bottom: 15px;
	font-size: 36px;
	font-weight: 600;
	color: var(--marrone);
}
.portfolio-modal .modal-content h3 {
	color: #888;
}
.portfolio-modal .modal-content p {
	margin-bottom: 30px;
	font-size: 23px;
}
.portfolio-modal .modal-content p.item-intro {
	margin: 20px 0 30px;
	font-style: italic;
	font-size: 30px;
}
.portfolio-modal .modal-content ul.list-inline {
	margin-top: 0;
	margin-bottom: 30px;
}
.portfolio-modal .modal-content ul.list-inline span {
	font-weight: 600;
}
.portfolio-modal .modal-content img {
	margin-bottom: 30px;
    margin-left: auto;
    margin-right: auto;
}
.portfolio-modal .close-modal {
	position: absolute;
	top: 25px;
	right: 25px;
	width: 75px;
	height: 75px;
	background-color: transparent;
	cursor: pointer;
}
.portfolio-modal .close-modal:hover {
	opacity: .3;
}
.portfolio-modal .close-modal .lr {
	z-index: 1051;
	width: 1px;
	height: 75px;
	margin-left: 35px;
	background-color: #222;
	-webkit-transform: rotate(45deg);
	-ms-transform: rotate(45deg);
	transform: rotate(45deg);
}
.portfolio-modal .close-modal .lr .rl {
	z-index: 1052;
	width: 1px;
	height: 75px;
	background-color: #222;
	-webkit-transform: rotate(90deg);
	-ms-transform: rotate(90deg);
	transform: rotate(90deg);
}
.portfolio-modal .btn-primary {
	color: #777;
	background-color: transparent;
	border: 2px solid #ddd;
	border-radius: 0;
}
.portfolio-modal .btn-primary:hover, .portfolio-modal .btn-primary:focus, .portfolio-modal .btn-primary.focus, .portfolio-modal .btn-primary:active, .portfolio-modal .btn-primary.active {
	color: #fff;
	background-color: #759d8d;
	border: 2px solid #759d8d;
}

/* Produzione e ristorante Section */

#ristorante-section {
	padding: 100px 0;
	background: url(../img/ristorante-background.jpg) center no-repeat;
	background-size: cover;
        background-attachment: fixed;
	min-height: 100vh;
        
}

#produzione-section {
	background: url(../img/frantoio.jpg) center no-repeat; 
	background-size: cover;
	background-attachment: fixed;
	box-shadow: inset 0 0 0 1000px rgba(0,0,0,.2);
	min-height: 100vh;
	padding: 100px 0;	
}
#produzione-section .container, #ristorante-section .container {
    margin-top: 5vH;
}
#produzione-section h2, #ristorante-section h2 {
    color: var(--marrone);
}

#produzione-section h3, #ristorante-section h3 {
    color: #888;
}

#produzione-section hr, #ristorante-section hr {
    background: var(--marrone);
}


#produzione-section img {
	margin: 0 auto;
	display: block;
}
#produzione-section .btn, #ristorante-section .btn {
    background: var(--marrone);
    border: 2px solid #ddd;
    color: white;
}

#produzione-section .btn:hover, #ristorante-section .btn:hover {
    background: transparent;
    border:2px solid transparent;
    color: #9f9f9f;
}

#produzione-section a, #ristorante-section a {
   font-size: inherit;
    color: #888;
}

#produzione-section .col-md-7, #ristorante-section .col-md-7 {
	background-color: rgba(255, 255, 255, 0.92);
          padding-top: 40px;
    padding-bottom: 40px;
}

/************ GALLERIA **********/
div#galleria-section {
    background-color: var(--marrone);
    padding: 60px 0;
}

/*slider*/
#carousel .flex-active-slide img {
    opacity: 1;
    cursor: default;
}

#carousel img {
    display: block;
    opacity: .5;
    cursor: pointer;
}

/* Contact Section */
#contact-section {
	background: white;
	background-size: cover;
	background-attachment: fixed;
    font-size: 20px;
}

#contact-section a{
	color: #888;
	font-weight: normal;
}

#contact-section .container {
	background: none;
	padding-top: 5vh;
	padding-bottom: 5vh;
}

#contact-section .section-title h2 {
	color: var(--marrone);
    font-weight: bold;
}

#contact-section h3 {
	color: #888;
	font-size: 27px;
	font-weight: bold;
	margin-bottom: 50px;
}

#contact-section h4 {
	color: #888;
font-size: 22px;
}

#contact-section p {
	color: #888;
	margin-bottom: 0px;
}

#contact-section form {
	padding: 0;
}

#contact-section i.fa {
	font-size: 22px;
	color: rgba(255,255,255,0.4);
	margin: 2px 20px 5px 0;
	color: black;
    padding-bottom: 12px;
}

#contact-section .form-control {
	display: block;
	width: 100%;
	padding: 6px 12px;
	font-size: 14px;
	line-height: 1.42857143;
	color: #555;
	background-color: #fff;
	background-image: none;
	border: 2px solid #ddd;
	border-radius: 2px;
	-webkit-box-shadow: none;
	box-shadow: none;
	-webkit-transition: none;
	-o-transition: none;
	transition: none;
}
#contact-section .form-control:focus {
	border-color: inherit;
	outline: 0;
	-webkit-box-shadow: transparent;
	box-shadow: transparent;
}
#contact-section .btn, .modal-body > .btn {
	background: var(--marrone);
	border: 2px solid #ddd;
	padding: 10px 20px;
	margin-top: 20px;
	margin-left: 0;
	color: white;
	font-size: 15px;
}
#contact-section .btn:hover, .modal-body > .btn:hover {
	background: transparent;
	border:2px solid white;
	color: #9f9f9f;
}
#contact-section .text-danger {
	color: #cc3300;
	text-align: left;
}
.btn:active, .btn.active {
	background-image: none;
	outline: 0;
	-webkit-box-shadow: none;
	box-shadow: none;
}
a:focus, .btn:focus, .btn:active:focus, .btn.active:focus, .btn.focus, .btn:active.focus, .btn.active.focus {
	outline: none;
	outline-offset: none;
}

#contact-section hr {
    background: var(--marrone);
}

.contact-form {
	margin-top: 20px;
}

#contact .space {
    margin: 15px 0;
}

#map {
  height: 380px;
}

/* Footer */
#footer {
	background: #f6f6f6;
	padding: 15px 0 10px 0;
}
#footer p {
	font-size: 13px;
	margin-top: 10px;
	color: #999;
}


div#bs-example-navbar-collapse-1 {
       width: 70%;
    float: right;
}
.container-fluid>.navbar-collapse, .container-fluid>.navbar-header, .container>.navbar-collapse, .container>.navbar-header {
    margin-right: 0;
    margin-left: 0;
}

@media (min-width: 1400px) {
  .container {
    width: 1370px;
  }
}
@media screen and (max-width:1199px)  {

    #container {
    height: 55vh;
    }
.tab_container [id^="tab"]:checked + label {
	font-weight: bold;
	font-size: 1em;
	margin-top: 0px;
	padding-top: 8px;
        background-color: var(--marrone);
	
}
label {
  font-size: 1em;
  padding: 0.6em 1.2em;
}
label.tab {
    margin-top: 0px;
    padding-top: 8px;
}
input, section {
  clear: both;
  padding-top: 10px;
  display: none;
}


}

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

    #container {
    height: 45vh;
    }
        #carousel {
         display: none;
        }
}

@media (max-width: 979px) {
#chisiamo-section p, #chisiamo-section h3 {
	color: white;
}
}

@media (max-width: 768px) {
   .content {
	padding: 40% 0 0;
   }
   #container {
      height: 25vh;
   }
}

@media (max-width: 603px) {
label {
	float: none !important
}
.hover-bg .hover-text {
	padding: 12% 0;
}
}

@media (max-width: 360px) {
.hover-bg .hover-text {
	padding: 22% 10%;
}
.trip {
    margin-left: -23px;
}
}


/*Custom Media query - Matteo*/
@media only screen and (max-width: 930px) {
  label span {
    font-size: 14px;
  }
  label .fa {
    font-size: 14px;
  }
}

@media screen and (max-width:767px) {
	#galleria-section .container {
		max-width: 95%;
	}
        #cboxTitle {
          visibility: hidden;
         }

}

@media screen and (max-width:991px) {
	div#testo-ospitalita.col-md-6 {
		margin-bottom: 50px;
	}
	
	#chisiamo-section > .container > .col-md-5 {
		padding-left: 0px;
		padding-right: 0px;
	}
}

@media only screen and (max-width: 768px) {
/*
  label span {
    display: none;
  }
*/

  label .fa {
    font-size: 16px;
  }

  .tab_container {
    width: 98%;
  }
.trip {
    margin-left: -15px;
}
}

@media screen and (min-width:992px) {

	#chisiamo-section > .container > .col-md-5 {
		padding-left: 0px;
	}
       .trip {
    margin-left: 10vW;
    }
}

@media screen and (max-width:992px) {
	
	#ospitalita-section > .container, #chisiamo-section > .container {
		padding-top: 5vh;
	}
#produzione-section .col-md-7, #ristorante-section .col-md-7 {
    box-sizing: border-box;
}
 }

@media screen and (min-width:768px){
	.navbar-nav{
		float:right;
	}

}

@media (max-width: 1000px) { /* hamburger parte da 1000px */
    .navbar-header {
        float: none;
    }
    .navbar-left,.navbar-right {
        float: none !important;
    }
    .navbar-toggle {
        display: block;
    }
    .navbar-collapse {
        border-top: 1px solid transparent;
        box-shadow: inset 0 1px 0 rgba(255,255,255,0.1);
    }
    .navbar-fixed-top {
        top: 0;
        border-width: 0 0 1px;
    }
    .navbar-collapse.collapse {
        display: none!important;
    }
    .navbar-nav {
        float: none!important;
        margin-top: 7.5px;
    }
    .navbar-nav>li {
        float: none;
    }
    .navbar-nav>li>a {
        padding-top: 10px;
        padding-bottom: 10px;
    }
    .collapse.in{
        display: block !important;
    visibility: visible!important;
    }
   .navbar-nav .open .dropdown-menu {
       position: static;
       float: none;
       width: auto;
       margin-top: 0;
       background-color: transparent;
       border: 0;
       -webkit-box-shadow: none;
       box-shadow: none;
   }
   div#bs-example-navbar-collapse-1 {
       width: 100%;
       float: left;
   }

}




/*Content Animation*/
@keyframes fadeInScale {
  0% {
  	transform: scale(0.9);
  	opacity: 0;
  }
  
  100% {
  	transform: scale(1);
  	opacity: 1;
  }
}
/*tripadvisor*/


.cdsROW.gray {
    background-color: rgba(242, 242, 242, 0)!important;
    width: 359px!important;
}
.cdsROW.wide .logo {
    border-right: none!important;
    padding-left: 5px!important;
    padding-right: 5px!important;
}
