body {
    text-align: center;
    font-family: 'Nunito', sans-serif;
    font-size: 115%;
    line-height: 1.5em;
    -webkit-font-smoothing: antialiased;
}

button,
input,
select,
textarea,
#principal .mapin * {
    font-family: 'Nunito', sans-serif;
}

img {
    border: 0;
    max-width: 100%;
    height: auto;
    width: auto\9;
    /*ie8*/
}
.logo{
    display:block;
    margin-top:30px !important;
}

table {
    border-collapse: collapse;
    border-spacing: 0;
    margin-bottom: 1.4em;
    width: 100%;
}

#skiptomain {
    display: none;
}

#wrapper {
    width: 100%;
    position: relative;
    text-align: left;
}

#maincontentcontainer {
    width: 100%;
}

body.popup #maincontentcontainer {
    width: auto;
    padding: 2em 1.3em;
}

.section {
    clear: both;
    padding: 0;
    margin: 0;
}

.breaker {
    clear: both;
}

.group:before,
.group:after {
    content: "";
    display: table;
}

.group:after {
    clear: both;
}

.group {
    zoom: 1;
    /* For IE 6/7 (trigger hasLayout) */
}

.floatl {
    float: left;
}

.floatr {
    float: right;
}

.clearb {
    clear: both;
}

.clearfix {
    zoom: 1;
}

.clearfix:after {
    content: ".";
    display: block;
    height: 0;
    clear: both;
    visibility: hidden;
}

.offleft {
    position: absolute;
    left: -10000px;
    width: 100px;
    height: 0;
    overflow: scroll;
}

.showjava,
.pliegue {
    display: none;
}

.hidden {
    display: none;
}

/* VENDOR-SPECIFIC ============================================================================= */
html {
    -webkit-overflow-scrolling: touch;
    -webkit-tap-highlight-color: rgb(52, 158, 219);
    -webkit-text-size-adjust: 100%;
    -ms-text-size-adjust: 100%;
}

::-webkit-selection,
::-moz-selection,
::selection {
    background: #6997CA;
    color: white;
}

button,
input[type="button"],
input[type="reset"],
input[type="submit"] {
    -webkit-appearance: button;
}

::-webkit-input-placeholder,
input:-moz-placeholder {
    font-size: .875em;
    line-height: 1.4;
}

.ie7 img,
.iem7 img {
    -ms-interpolation-mode: bicubic;
}

input[type="checkbox"],
input[type="radio"] {
    box-sizing: border-box;
}

input[type="search"] {
    -webkit-box-sizing: content-box;
    -moz-box-sizing: content-box;
}

button::-moz-focus-inner,
input::-moz-focus-inner {
    padding: 0;
    border: 0;
}

p {
    /* http://www.w3.org/TR/css3-text/#hyphenation */
    -webkit-hyphens: auto;
    -webkit-hyphenate-character: "\2010";
    -webkit-hyphenate-limit-after: 1;
    -webkit-hyphenate-limit-before: 3;
    -moz-hyphens: auto;
    margin-block-start: 0.75em;
    margin-block-end: 0.75em;
}

/* reset */
html,
body,
div,
span,
object,
iframe,
abbr,
address,
cite,
em,
img,
small,
strong,
sub,
sup,
b,
i,
dl,
dt,
dd,
fieldset,
form,
label,
legend,
article,
aside,
canvas,
figcaption,
figure,
footer,
header,
hgroup,
menu,
nav,
section,
summary,
time,
mark,
video {
    margin: 0;
    padding: 0;
    border: 0;
    text-decoration: none;
    outline: 0;
    vertical-align: baseline;
}

a {
    text-decoration: none;
}

article,
aside,
details,
figcaption,
figure,
nav ul,
nav ul li {
    list-style: none;
    margin: 0;
    padding: 0;
}

table {
    border-collapse: collapse;
    border-spacing: 0;
}

input,
select {
    vertical-align: middle;
}

.print {
    display: none;
}

.hideprint {
    display: block;
}

input[type="submit"] {
    cursor: pointer;
}

/* cols grid */
/*GRID COLUMN SETUP*/
.col {
    display: block;
    float: left;
    margin-left: 1.6%;
}

.col:first-child {
    margin-left: 0;
}

/* all browsers except IE6 and lower */

/*GRID OF 4*/
.span_4_of_4 {
    width: 100%;
}

.span_3_of_4 {
    width: 74.6%;
}

.span_2_of_4 {
    width: 49.2%;
}

.span_1_of_4 {
    width: 23.8%;
}

/*GRID OF 12*/
.span_12_of_12 {
    width: 100%;
}

.span_11_of_12 {
    width: 91.53%;
}

.span_10_of_12 {
    width: 83.06%;
}

.span_9_of_12 {
    width: 74.6%;
}

.span_8_of_12 {
    width: 66.13%;
}

.span_6_of_12 {
    width: 49.2%;
}

.span_7_of_12 {
    width: 57.66%;
}

.span_5_of_12 {
    width: 40.73%;
}

.span_4_of_12 {
    width: 32.26%;
}

.span_3_of_12 {
    width: 23.8%;
}

.span_2_of_12 {
    width: 15.33%;
}

.span_1_of_12 {
    width: 6.86%;
}

/*  GO FULL WIDTH AT LESS THAN 580 PIXELS */
@media only screen and (max-width:580px) {

    .span_12_of_12,
    .span_11_of_12,
    .span_10_of_12,
    .span_9_of_12,
    .span_8_of_12,
    .span_7_of_12,
    .span_6_of_12,
    .span_5_of_12,
    .span_4_of_12,
    .span_3_of_12,
    .span_2_of_12,
    .span_1_of_12 {
        width: 100% !important;
    }

    .span_4_of_4,
    .span_3_of_4,
    .span_2_of_4,
    .span_1_of_4,
    .span_3_of_3,
    .span_2_of_3,
    .span_1_of_3 {
        width: 100% !important;
    }

    .col {
        margin: 0;
        padding: 0.5em 0;
    }

    /*  REMOVE MARGINS AS ALL GO FULL WIDTH AT 580 PIXELS */

    .popup .span_4_of_12 {
        width: 32.26% !important;
    }

    .popup .span_8_of_12 {
        width: 66.13% !important;
    }
}

/* especific web */
/*h2,*/
nav,
input[type="submit"],
a.button {
    text-transform: uppercase;
}

#seleccion-vinos ul {
    font-weight: bold;
}


@media only screen and (min-width:768px) {
    ul.bodegas {
        /*
        -webkit-column-count: 3;
        -moz-column-count: 3;
        column-count: 3;*/
        margin:0 -20px;
    }
    ul.bodegas li{
        /*float:left;*/
        padding:0 20px;
        /*width:33.33%;*/
        box-sizing:border-box;
        -moz-box-sizing:border-box;
        /*
        break-inside: avoid-column;
        -webkit-column-break-inside: avoid;
          page-break-inside: avoid;
               break-inside: avoid;
        overflow:hidden;*/
    }
    /*ul.bodegas li ul{display:table;}*/
}

#seleccion-vinos ul,
#seleccion-vinos li {
    list-style: none;
    margin: 0;
    padding: 0;
}

#la-part-dels-angels h3 {
    font-weight: normal;
    font-size: 18px;
    margin: 0 0 1em 0;
}

#la-part-dels-angels p,#seleccion-vinos p {
    font-size: 0.75em;
    line-height: 1.6em;
}

.long-text {
    font-size: 0.75em;
    line-height: 1.6em;
}

.long-text ul {
    margin:30px 0 0 0;
    padding: 0;
}

.long-text li {
    /*margin-bottom: 1em;*/
    /*border: 1px solid #316C39;*/
    border-top:1px solid #ccc;
    padding:20px 0;
    list-style: none;
}

#bodegas .bodegas {
    margin-bottom: 2.5em;
}

#bodegas h2,
#bodegas h3 {
    padding-bottom: 3px;
    margin-bottom: 0.5em;
}

#bodegas h2 {
    text-transform: none;
    font-size: 20px;
    font-weight: 700;
    background: none;
}

#bodegas h3 {
    font-size: 18px;
}

#bodegas ul {
    font-size: 14px;
    line-height:1.4em;
}

#bodegas ul,
#bodegas li {
    list-style: none;
    margin: 0;
    padding: 0;
}

.bodegas > li {
    margin:1em 0 !important;
}

.maxwidth {
    width:
        /*100%*/
        96%;
    max-width: 990px;/*1180px;*/
    margin: 0 auto;
    clear: both;
    position: relative;
}

h2 {
    font-size: 24px;
    font-weight: 400;
    line-height: 1.1em;
    padding-bottom:10px;/* 18px;*/
    margin:0 0 20px 0;/* 18px;*/
   /* font-family: 'Roboto Slab', serif;*/
    display: inline-block;
}

#top {
    padding: 7px 0 14px 0;
}

#la-part-dels-angels .maxwidth,
#seleccion-vinos .maxwidth,
#serveis .maxwidth {
    padding: 35px 0 52px 0;
}

#contacto .maxwidth {
    padding: 35px 0 30px 0;
}

.addthis_sharing_toolbox {
    /*position:absolute;bottom:-38px;right:0;z-index:2;*/
}

.addthis_sharing_toolbox .at-share-btn {
    display: inline-block;
}

.header {
    position: relative;
    padding: 15px 0 14px 0;
    clear: both;
}

.header ul,
.header li,
#top ul,
#top li {
    list-style: none;
    margin: 0;
    padding: 0;
}

.header li,
#top li {
    float: left;
}

.language-switcher {
    position: relative;
    top: -7px;
    font-size: 0.7em;
    font-weight: bold;
    float: right;
}

#top .language-switcher li {
    margin-right: 5px;
}

.language-switcher li:last-child,
.language-switcher li.last {
    margin-right: 0;
}

.language-switcher a {
    display: block;
    padding: 1px 5px;
}

/* menú i capçalera*/
nav.menu {
    margin-top: 30px;
}

nav.menu #nav {
    position: relative;
    top: 6px;
}

nav a {
    display: block;
    padding: 4px 8px;
    margin-right:24px;
    font-weight:bold;
}

/* breadcrumb */
.breadcrumb {
    text-transform: uppercase;
    font-size: 16px;
    margin: 0 0 40px 0;
    padding: 40px 0 20px 0;
    display: none;
}

/* formulari */
form input,
form textarea {
    font-size: 14px;
}

#contact label {
    display: none;
}

label.show_label {
    display: block;
}

#contact label.show_label {
    display: inline;
}

::-webkit-input-placeholder {
    text-transform: uppercase;
    font-weight: 700;
    color: #999;
}

::-moz-placeholder {
    text-transform: uppercase;
    font-weight: 700;
    color: #999;
}

:-ms-input-placeholder {
    text-transform: uppercase;
    font-weight: 700;
    color: #999;
}

input:-moz-placeholder {
    text-transform: uppercase;
    font-weight: 700;
    color: #999;
}

textarea:-moz-placeholder {
    text-transform: uppercase;
    font-weight: 700;
    color: #999;
}

input[type="text"],
input[type="email"],
textarea {
    display: block;
    border: 0;
    border-radius: 5px;
    width: 98%;
    margin-bottom: 13px;
    padding: 8px 0;
    text-indent: 10px;
}

input[type="submit"] {
    display: inline-block;
    border: 0;
    border-radius: 15px;
    margin-bottom: 13px;
    padding: 8px 20px;
}

label[for="checkbox_legal"] {
    display: inline;
    font-size: 0.7em;
}

input[type="submit"] {
    font-weight: bold;
    font-size: 14px;
}

.recaptchatable #recaptcha_response_field {
    font-size: 14px !important;
}

#recaptcha_widget_div {
    max-width: 98%;
    margin: 0.5em 0 1em 0;
}

#recaptcha_table td:last-child {
    padding: 0 !important;
}

/* contacte i demana cita */

div.button {
    text-align: center;
}

a.button {
    display: inline-block;
    padding: 15px 42px;
    border-radius: 30px;
    font-size: 0.85em;
    font-weight: bold;
}

/* Map */
#maps {
    width: 100%;
    height: 500px;
    overflow: hidden;
    /*position:absolute;*/
}

.map-content {
    width: 100%;
    margin-left: auto;
    margin-right: auto;
}

.inner-map {
    width: 100%;
    height: 500px;
    margin-left: auto;
    margin-right: auto;
}

.negative-margins {
    margin: 30px -15px;
    /*column-count: 2;*/
}

.bodeguero {
    width: 100%;
    padding: 0 15px;
    box-sizing: border-box;
    -moz-box-sizing: border-box;
}
#contacto{
    font-size:16px;
    line-height:1.4em;
}
#contacto img{
    margin-bottom:20px;
}
#minheighttop{
    min-height:110px;
}
/* footer */
footer {
    font-size: 0.8em;
    padding:/* 40px*/0 0 20px 0;
}

footer .copy {
    font-size: 0.75em;
    padding: 1em 0;
   /* margin-top: 50px;*/
    margin-top:20px;
    line-height: 1.5em;
}

footer .copy p {
    margin: 0;
}

footer .copy ul {
    text-align: right;
    list-style: none;
    margin: 0;
    padding: 0;
}

footer .copy li {
    display: inline;
}

footer .copy li.first {
    margin-right: 1.5em;
}

#up {
    position: fixed;
    bottom: 0;
    right: 0.6em;
    display: block;
    width: 40px;
    height: 30px;
    border-radius: 8px 8px 0 0;
    display: none;
}

/* provisional hasta que se programe la validación del formulario y el envío */
.notifications .alert {
    display: none;
    margin-bottom: 1.5em;
    font-size: 0.8em;
    line-height: 1.25em;
}

.ajax_loading {
    display: none;
    padding-left: 40px;
    height: 32px;
    margin-bottom: 1em;
}

.avislegal .maxwidth {
    padding: 40px 0;
}

.avislegal .text {
    font-size: 0.9em;
}

.avislegal h2 {
    font-size: 1.1em;
    font-weight: normal;
    font-weight: bold;
    background-image: none;
    padding-bottom: 0;
    margin-top: 1.5em;
    margin-bottom: 0.3em;
}

.avislegal h2+p {
    margin-top: 0;
}

.avislegal h1 {
    font-weight: 300;
    margin-bottom: 1.5em;
    padding-bottom: 15px;
}

a.boton{
    display:inline-block;
    margin-top:20px;
    /*border-radius:30px;*/
    /*padding:12px 20px 15px 20px;*/
    font-size:15px;
    /*border:2px solid black;*/
    font-weight:bold;
    text-transform:uppercase;
    /*background:#316C39;*/
    color:#316C39;
}

@media only screen and (min-width:1024px){
    #bodegas h3{width:60%;}
}