/* global CSS */

body, button, input, select, textarea {
    font-family: "PT Sans", sans-serif;
    color: #4d4d4d;
    -webkit-font-smoothing: antialiased;
}

body {
    font-size: 13px;
    background: url('../img/texture-carta.jpg');
}

p {
    margin-top: 0;
    margin-bottom: .5em;
}

::-webkit-input-placeholder,
:-moz-placeholder,
:-ms-input-placeholder {
    color: #b3b3b3 !important;
}


/* common helpers */

.section-title {
    font-size: 20px;
    margin-left: 30px;
    margin-top: 5.64em;
    text-indent: -9999px;
    margin-bottom: 1.025em;
}

.intro {
    background: rgba(0, 0, 0, 0.8);
    position: relative;
    z-index: 2;
    color: #fff;
    padding-bottom: 1.5em;
    font-size: 16px;
}

.old-ie .intro {
    background:none;
    -ms-filter: "progid:DXImageTransform.Microsoft.gradient(startColorstr=#CC000000,endColorstr=#CC000000)";
    filter: "progid:DXImageTransform.Microsoft.gradient(startColorstr=#CC000000,endColorstr=#CC000000)";
    zoom: 1;
}

.intro p {
    margin: .5em 30px 0;
}

.intro > .ombra {
    background: url('../img/ombra-titolo.png') no-repeat;
    height: 19px;
    position: absolute;
    bottom: -19px;
    width: 100%;
}

.intro .dashes {
    background: url('../img/linea-tratteggiata.png') repeat-x;
    display: block;
    height: 1px;
    position: relative;
    top: 10px;
    margin-bottom: -1px;
}


/* #header */

#watermark {
    position: absolute;
    top: -10px;
    left: -80px;
    display: block;
    z-index: 1;
}

#header .navigation {
    margin-top: 30px;
}

#header .navigation li {
    display: inline;
}

#header .navigation a {
    color: #fff;
    font-weight: bold;
    font-size: 17px;
    text-transform: uppercase;
    padding: .2em .5em;
}

#header .navigation a:hover,
#header .navigation a:active,
#header .navigation a:focus {
    text-decoration: none;
    background: #000;
}

#header .navigation a:focus {
    outline: none;
}

#header .slideshow .pager {
    bottom: 20px;
}


/* #fud */

#indirizzo {
    margin: -26px auto -26px;
    display: block;
    position: relative;
    z-index: 99;
}

#fud .section-title {
    background: url('../img/title-fud.png') no-repeat;
    width: 93px;
    height: 43px;
}


/* #menu */

#menu {
    padding-bottom: 4.5em;
    min-height: 670px;
}

#menu .section-title {
    background: url('../img/title-menu.png') no-repeat;
    width: 133px;
    height: 43px;
}

#menu .categorie {
    border-bottom: 1px solid #fff;
    padding-bottom: 1.5em;
    position: relative;
}

#menu .categorie ul {
    list-style: none;
    margin-left: 20px;
}

#menu .categorie li {
    float: left;
    margin: 0 .8em;
}

#menu .categorie li:first-child {
    margin-left: 0;
}

#menu .categorie a {
    width: 60px;
    height: 60px;
    display: block;
    background: url('../img/icone-menu.png');
    text-indent: -9999px;
}

#menu .categorie a:focus {
    outline: none;
}

#menu .categorie a.panini-caldi {}

#menu .categorie a.active {
    background-position: 0 -60px;
}

#menu .categorie a.pizza {
    background-position: -120px 0;
}

#menu .categorie a.pizza.active {
    background-position: -120px -60px;
}

#menu .categorie a.fritti {
    background-position: -180px 0;
}

#menu .categorie a.fritti.active {
    background-position: -180px -60px;
}

#menu .categorie a.salumeria {
    background-position: -360px 0;
}

#menu .categorie a.salumeria.active {
    background-position: -360px -60px;
}

#menu .categorie a.insalate {
    background-position: -420px 0;
}

#menu .categorie a.insalate.active {
    background-position: -420px -60px;
}

#menu .categorie a.dolci {
    background-position: -480px 0;
}

#menu .categorie a.dolci.active {
    background-position: -480px -60px;
}

#menu .categorie a.bevande {
    background-position: -540px 0;
}

#menu .categorie a.bevande.active {
    background-position: -540px -60px;
}

#menu .categorie a.vini {
    background-position: -600px 0;
}

#menu .categorie a.vini.active {
    background-position: -600px -60px;
}

#menu .freccia {
    position: absolute;
    bottom: -1px;
    width: 20px;
    left: 40px;
}

#menu .tab {
    clear: both;
}

#menu .tab.active,
#menu .tab.active .slide:first-child {
    display: block;
}

#menu article .title {
    text-transform: uppercase;
    margin-bottom: .2em;
    font-size: 17px;
}

#menu article .description {
    margin: 0;
}

#menu article .price {
    color: #B5272D;
}

#menu .bx-window {
    min-height: 390px;
}

#menu .bx-pager {
    margin-top: 2em;
    text-align: center;
}

#menu .bx-pager .pager-link {
    text-indent: -9999px;
    width: 30px;
    height: 30px;
    margin: 0 5px;
    background: url('../img/icone-pager.png');
    display: inline-block;
}

#menu .bx-pager .pager-link:focus {
    outline: none;
}

#menu .bx-pager .pager-active {
    background-position: 0 -30px;
}

#menu .bx-pager .pager-2 {
    background-position: -30px 0;
}

#menu .bx-pager .pager-2.pager-active {
    background-position: -30px -30px;
}

#menu .bx-pager .pager-3 {
    background-position: -60px 0;
}

#menu .bx-pager .pager-3.pager-active {
    background-position: -60px -30px;
}

#menu .bx-pager .pager-4 {
    background-position: -90px 0;
}

#menu .bx-pager .pager-4.pager-active {
    background-position: -90px -30px;
}

#menu .bx-pager .pager-5 {
    background-position: -120px 0;
}

#menu .bx-pager .pager-5.pager-active {
    background-position: -120px -30px;
}

#menu .bx-pager .pager-6 {
    background-position: -150px 0;
}

#menu .bx-pager .pager-6.pager-active {
    background-position: -150px -30px;
}

#menu .bx-pager .pager-7 {
    background-position: -180px 0;
}

#menu .bx-pager .pager-7.pager-active {
    background-position: -180px -30px;
}

#menu .bx-pager .pager-8 {
    background-position: -210px 0;
}

#menu .bx-pager .pager-8.pager-active {
    background-position: -210px -30px;
}

#menu .bx-pager .pager-9 {
    background-position: -240px 0;
}

#menu .bx-pager .pager-9.pager-active {
    background-position: -240px -30px;
}


/* #bottega */

#bottega {
    background: #866a5e;
}

#bottega .section-title {
    background: url('../img/title-bottega.png') no-repeat;
    width: 223px;
    height: 43px;
}


/* #fud-pipol */

#fud-pipol {
    background-color: white;
}

#fud-pipol .container_12 {
    background: url('../img/watermark-fud-pipol.png') no-repeat 95% -30px;
    padding-bottom: 40px;
}

#fud-pipol .section-title {
    background: url('../img/title-fud-pipol.png') no-repeat;
    width: 242px;
    height: 43px;
}

#fud-pipol .fud-pipol-grid {
    margin: 0 -10px;
}

#fud-pipol .fud-pipol-grid .person {
    float: left;
}

.person-caption {
    display: none;
}

#fancybox-content .person-caption {
    display: block;
}

.person-caption .big-avatar {
    float: left;
}

.person-caption .info {
    padding: 30px 90px 30px 120px;
    margin-left: 380px;
    height: 320px;
    overflow: hidden;
}

.person-caption .title {
    text-transform: uppercase;
    font-size: 24px;
    color: #4B575F;
    margin: 0;
}

.person-caption .duty {
    margin: 0;
    font-size: 18px;
    font-style: italic;
    font-weight: normal;
    line-height: 1;
}

.person-caption .bio {
    margin: 20px 0;
    font-size: 16px;
}

.person-caption .url {
    font-size: 16px;
    margin: 0;
    font-weight: bold;
}

.person-caption .url a {
    text-decoration: none;
}

.person-caption .url a:hover {
    text-decoration: underline;
}

body.index #fancybox-close {
    background: url('../img/icon-close.png') no-repeat;
    width: 30px;
    height: 30px;
    top: 30px;
    right: 30px;
}

body.index #fancybox-outer {
    background-color: #e7e7e7;
}


/* #social */

#social {
    padding-bottom: 5em;
    background: url('../img/filetto-watermark-fud-generico.png') no-repeat center bottom #fff;
}

#social .section-title {
    background: url('../img/title-social.png') no-repeat;
    width: 174px;
    height: 43px;
}

#social .icons {
    position: absolute;
    top: -73px;
    right: 0;
    padding: 1em;
}

#social .icons img {
    margin: 0 10px;
}

#social .icons a:hover {
    opacity: 0.8;
    text-decoration: none;
}

#instagram {
    width: 306px;
    height: 306px;
    overflow: hidden;
    position: relative;
}

#instagram figure {
    position: relative;
}

#instagram figcaption {
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    background: rgba(26, 26, 26, 0.8);
    padding: 1em;
    color: #fff;
    font-weight: bold;
    font-size: 1.07em;
}

#instagram figcaption a {
    color: inherit;
}

#instagram figcaption .likes {
    background: url('../img/cuoricino.png') no-repeat right;
    padding-right: 28px;
    line-height: 20px;
    position: absolute;
    right: 1em;
    text-align: right;
}

#tweets {
    height: 306px;
    position: relative;
    margin-top: 20px;
}

.tweet-list .title {
    margin-top: 0;
    font-size: 1.307em;
    background: url('../img/icon-twitter-c.png') no-repeat left center;
    min-height: 20px;
    padding-left: 35px;
}

.tweet-list .tweets {
    font-size: 1.07em;
}

.tweet-list .tweet {
    padding-bottom: .4em;
    margin-bottom: .8em;
    border-bottom: 1px solid #C0C0C0;
}

.tweet-list .tweet.last {
    border-bottom: none;
}

.tweet-list .tweet .links {
    color: #666;
}

.tweet-list .read-more {
    position: absolute;
    bottom: 0.5em;
    right: 0;
}

#foursquare {
	margin: 20px auto;
	padding: 20px 0;
}

.foursquare-logo {
	float: left;
}

.foursquare-venue-name {
	display: none;
}

.foursquare-venue-name a {
	margin-left: 20px;
	border-bottom: 1px solid #BADF11;
	text-decoration: none;
	color: #666;
}

.foursquare-venue-name a:hover {
	color: #999;
}

.foursquare-label {
	text-transform: uppercase;
	font-weight: bold;
	color: gray;
}

.foursquare-stat {
	display: inline-block;
	width: 80px;
	text-align: center;
	padding: 0 10px;
	margin: 5px 0;
	height: 40px;
}

.foursquare-stat-users {
	margin-left: 20px;
	border-right: 1px solid #E0E0E0;
}

.foursquare-count {
	display: block;
	color: #000;
	font-size: 1.2em;
	font-weight: bold;
}

.foursquare-mayor {
	width: 220px;
	margin: 0 auto;
	padding: 0 0 0 20px;
	display: inline-block;
	position: relative;
	height: 60px;
	vertical-align: top;
}

.foursquare-mayor-photo {
	float: left;
	margin-right: 10px;
}

.foursquare-mayor .foursquare-profile-link {
	font-size: 16px;
}

.foursquare-mayor-icon {
	position: absolute;
	right: 10px;
	top: 10px;
}

#facebook {
    margin-top: 20px;
    padding: 20px 0 10px;
}

.fb-likes > p {
    display: none;
}

.fb-likes a {
    text-decoration: none !important;
}

.fb-likes .fb-thumb{
    width: 50px;
    max-width: 50px;
    float: left;
    position: relative;
    bottom: 4px;
}

.fb-likes .likes {
    color: #E2001A;
    font-size: 48px;
    font-weight: bold;
    line-height: 1;
}

.fb-likes .likes,
.fb-likes .text {
    display: block;
    margin-left: 63px;
}

.fb-likes .text {
    font-style: italic;
    font-size: 17px;
}


/* #contatti */

#contact {
    background: #fff;
    position: relative;
    padding-bottom: 8.5em;
    color: #4B575F;
}

#contact .section-title {
    background: url('../img/title-contatti.png') no-repeat;
    width: 235px;
    height: 43px;
    margin-top: 4.64em;
}

#contact .info {
    margin-left: 20px;
}

#contact .info h3 {
    font-size: 18px;
}

#contact .info p {
    font-size: 16px;
    margin-bottom: 1em;
}

#contact-form {
    margin-top: 2em;
}

#contact-form dl {
    margin-top: 0;
    margin-bottom: 0;
}

#contact-form dt {
    display: none;
    margin-bottom: .2em;
}

#contact-form dd {
    margin: 0 0 1em 0;
}

#contact-form input,
#contact-form textarea {
    padding: 8px;
    border: none;
    color: #222;
    background-color: #DADADA;
}

#contact-form input.text {
    width: 95%;
}

#contact-form textarea {
    width: 95%;
    height: 184px;
    resize: none;
}

#contact-form dt.captcha {
    display: block;
}

#contact-form dd.captcha {
    position: relative;
}

#contact-form dd.captcha > img {
    border: 1px solid #CCC;
    margin-right: 53px;
    vertical-align: top;
    border-right: none;
}

#contact-form dd.captcha .reload {
    position: absolute;
    padding: 8px;
    top: 0;
    left: 131px;
    background: white;
    border: 1px solid #CCC;
    border-left: none;
}

#contact-form input[name='captcha[input]'] {
    height: 26px;
    font-size: 22px;
    width: 100px;
    vertical-align: top;
    text-align: center;
}

#contact-form input[name=submit] {
    font-weight: bold;
    font-size: 16px;
    color: #fff;
    padding: .4em 1.2em;
    text-transform: uppercase;
    background-color: #A5ABAF;
}

#contact-form.thank-you {
    text-align: center;
}

#contact-form.thank-you h2 {
    margin-top: 0;
}

#contact-form input[name=submit]:hover {
    background-color: #f0f0f0;
}

form {
    position: relative;
}

form .loading {
    display: none;
    position: absolute;
    top: 0;
    bottom: 0;
    left: 0;
    right: 0;
}

form ul.error {
    color: #f40;
    list-style: none;
    padding: .5em 1em;
    font-size: 11px;
    bottom: 0;
    right: 0;
    margin: 0;
}


/* #dove-siamo */

#dove-siamo {
    height: 500px;
    position: relative;
    overflow: hidden;
}

#dove-siamo > .ombra {
    background: url('../img/ombra.png') no-repeat;
    width: 1200px;
    height: 28px;
    position: absolute;
    left: 50%;
    margin-left: -600px;
    right: 0;
    z-index: 1;
    top: 0;
}

#dove-siamo p {
	margin-left: 0;
	margin-right: 0;
	font-size: 13px;
}

#dove-siamo .section-title {
    background: url('../img/title-dove-siamo.png') no-repeat;
    width: 295px;
    height: 43px;
}

#dove-siamo .googleview {
	margin-left: 30px;
	margin-top: 20px;
	float: left;
	width: 155px;
}

#dove-siamo .googleview2 {
	margin-left: 10px;
	margin-top: 20px;
	float: left;
	width: 155px;
}

#dove-siamo a {
	color: white;
	text-decoration: underline;
}

#map {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    z-index: 0;
}

.map-popup {
    background: #fff;
    width: 100px;
    height: 22px;
    padding: 1em;
    font-size: 11px;
    font-weight: bold;
    box-shadow: 0 1px 4px rgba(0, 0, 0, 0.3), 0 0 20px rgba(0, 0, 0, 0.1) inset;
    text-align: center;
}

.map-popup:after {
    content:"";
    position:absolute;
    z-index:-2;
}
.map-popup:before {
    box-shadow: 0 0 15px rgba(0,0,0,0.6);
    top: 50%;
    bottom: 0;
    left: 10px;
    right: 10px;
    border-radius: 100px / 10px;
    content:"";
    position:absolute;
    z-index:-2;
}

/* #footer */

#footer {
    background-color: #333333;
    color: #666666;
    font-size: .9em;
}

#footer .section-title {
    background: url('../img/title-fud.png') no-repeat;
    width: 93px;
    height: 43px;
}

#footer .copy {
    line-height: 60px;
}

#footer a {
    color: inherit;
    font-size: 1.1em;
}

#footer a:hover {
    color: #fff;
    text-decoration: none;
}

#footer nav .title {
    color: #fff;
    font-weight: bold;
    font-size: 15px;
    background: url('../img/filetto-orizz.png') no-repeat left bottom;
    margin-top: .5em;
    padding-left: 20px;
    padding-bottom: 10px;
}

#footer .navigation {
    padding-left: 20px;
}

#footer .navigation a {
    text-transform: uppercase;
}


/* links */

a:link,
a:visited {
    color: #666;
    text-decoration: none;
}

a:hover,
a:active {
    text-decoration: underline;
}


/* errors */

body.error #header {
    position: static;
}

#container > .error {
    padding-top: 25px;
    padding-bottom: 50px;
}

#facebook-album .error,
#instagram .error {
    position: absolute;
    top: 50%;
    text-align: center;
    line-height: 20px;
    height: 20px;
    margin-top: -10px;
    width: 100%;
}


/* generic helpers */

.loading {
    min-width: 48px;
    min-height: 48px;
    background: url('../img/ajax-loader.gif') no-repeat center center;
}


/* onepagelove */

.opl {
    position: fixed;
    top: 100px;
    left: 0px;
    z-index: 99999;
}

.opl a {
    width: 73px;
    height: 56px;
    text-indent: -9999px;
    display: block;
    background: url('https://s3.amazonaws.com/onepagelove/one-page-love-award.png') no-repeat;
}
