/* 
=======================
$ RESETING CSS
======================= 
*/
body,div,dl,dt,dd,ul,li,h1,h2,h3,h4,h5,h6,pre,form,fieldset,input,textarea,p,blockquote,th,td{margin:0;padding:0;}
table {border-collapse:collapse;border-spacing:0;}
fieldset,img {border:0;}
ul {list-style:none;}
caption,th {text-align:left;}
h1,h2,h3,h4,h5,h6 {font-size:100%;font-weight:normal;}
abbr,acronym {border:0;}
a img{border:0;}

/* 
=======================
$ GENERAL STYLES
======================= 
*/

body{
	font-family: Verdana, Geneva, sans-serif;
	font-weight: 100;
	font-size: 10px;
	color: #fff;
	line-height: 1;
	background: #000;
    min-height: 100%;
}

p {
	line-height: 140%;
	margin:10px 0;
	padding-bottom:14px;
}

h1{  
	font-family:Verdana, Geneva, sans-serif;
	font-size:2em;
	color:#666;
}

h2{
	font-family:Verdana, Geneva, sans-serif;
	font-size:2.7em; 
	color:#666;
	line-height:1.8em;
}

h3{
	font-family:Verdana, Geneva, sans-serif;
	color:#999;
	font-size:1.4em;
}

h4{
	color:#B0B0B0;
	margin-right:5px;
}

h5{
	font-size:11px;
	color:#B0B0B0;
}

a:link{
	color:#fff;
	text-decoration:none;
}
a:visited{
	color:#fff;
}
a:active{
	color:#fff;
}
a:hover{
	color:#fff;
	text-decoration:underline;
}

ul{
	list-style-type:none;
	padding:0px;
	margin-left:6px;
}
ol{
	padding-left:20px;
}

strong, b{
	font-weight:bold;
}

.clearfix {
	clear:both;
}

/* 
=======================
$ LAYOUT
======================= 
*/

#wrapper{
    
	margin:0px auto;
	max-width:960px;
	background: #000;
	padding: 0px 10px;
    min-height:100%;
}
div#wrapper div{
	-webkit-box-sizing: border-box; /* Safari/Chrome, other WebKit */
	-moz-box-sizing: border-box;    /* Firefox, other Gecko */
	box-sizing: border-box;         /* Opera/IE 8+ */
}

/* 
$ Header Styles
----------------------
*/

#header{
	width:100%;
	font-size:1.1em;
    position: relative;
}


div.language{
	float:right;
	text-align:right;
	padding: 10px 0px 8px 0px;
}

	div.language span, div.language a {
		display:inline-block;
		width: 16px;
		height:11px;
		content: '';
		margin-left:5px;
        
   
        /* Hide the text. */
        text-indent: 100%;
        white-space: nowrap;
        overflow: hidden;
	}


	div.language span[lang="es"] { 
		background: transparent url('../img/es_ON.gif') no-repeat;
	}

	div.language a[lang="es"] { 
		background: transparent url('../img/es_OFF.gif') no-repeat;
	}
	
		div.language a[lang="es"]:hover { 
			background: transparent url('../img/es_ON.gif') no-repeat;
		}

	div.language span[lang="ca"] { 
		background: transparent url('../img/ca_ON.gif') no-repeat;
	}

	div.language a[lang="ca"] { 
		background: transparent url('../img/ca_OFF.gif') no-repeat;
	}

		div.language a[lang="ca"]:hover { 
			background: transparent url('../img/ca_ON.gif') no-repeat;
		}

	div.language span[lang="en"] { 
		background: transparent url('../img/en_OFF.gif') no-repeat;
	}

	div.language a[lang="en"] { 
		background: transparent url('../img/en_ON.gif') no-repeat;
	}
		div.language a[lang="en"]:hover { 
			background: transparent url('../img/en_ON.gif') no-repeat;
		}



div.header-inner {
	clear: both;
	/* height: 120px; */
    height: 0px;
	width: 100%;
	margin-bottom: 10px;
}
	div.header-inner div.logo{
		/* width: 100%; */
		min-height: 77px;
        margin-top: 6px;
        padding-top: 6px;
        float: left;
	}
    div.header-inner div.phone{
        float: right;
        margin-top: 14px;
        background: url('../img/ico-phone.jpg') 0px 9px no-repeat;
        padding-left: 26px;
    }
    div.header-inner div.phone h2{
        color: #fff;
    }
div.header-inner div.logo a.mobile-header{
    display: none;
}
	

div.brcm-slider div.brcm-flexslider {
    margin-bottom: 0px;
    height: 250px;
    overflow:hidden;
    
    border:0px;
    background:transparent;
    
    box-shadow:none;
    -webkit-box-shadow:none;
    
    -webkit-border-radius: 0px; 
    -moz-border-radius: 0px; 
    -o-border-radius: 0px; 
    border-radius: 0px; 
    
}

div.brcm-slider div.brcm-flexslider div.brcm-flexslider-caption {display:none;}

	div.navigation {
		margin: 10px 0px;
        float: left;
        width: 100%;
	}

		div.navigation div.brcm-navigation ul { 
			margin: 0px; 
			background: #05a72b;
			min-height: 28px;
            border: 1px solid #05a72b;
		}

		div.navigation div.brcm-navigation ul li {
			position:relative; /* per si té submenú flotant */
			min-height:28px;
			line-height: 28px;
			display:block;
			float:left;
			margin:0px;
		}
        div.navigation div.brcm-navigation ul ul li{
            width: 100%;
        }
			div.navigation div.brcm-navigation ul li a {
				display:block;
				padding:0px 10px;
				height:28px;
				text-transform: uppercase;				
				text-align: center;
				text-decoration:none;
				font-size:1.2em;
                color:#fff;
			}
				div.navigation div.brcm-navigation ul li a:hover {
					background: #03761e;
				}

				div.navigation div.brcm-navigation ul li.brcm-active-node a{
					background: #03761e;
				}
                body.portada div.navigation div.brcm-navigation ul li.brcm-first-item a{
                    background: #03761e;
                    margin-right: 1px;
                }

				/*  submenú desplegable  */
					div.navigation div.brcm-navigation ul li span.brcm-desplegat {
						background-color: #083956;
					}
					div.navigation div.brcm-navigation ul li ul {
                        background:transparent;
						display:none;
						position:absolute;
						top:28px;
						left:0px;
						width: 300px;
						z-index:1000;
                        padding-top:0px;
					}
                        div.navigation div.brcm-navigation ul li ul li a, div.navigation div.brcm-navigation ul li.brcm-active-node ul li a {
                            width: 100%;
                            background: #03761e;
                            text-align:left;
                            -webkit-box-sizing: border-box;
                            -moz-box-sizing: border-box;
                            box-sizing: border-box;
                        }

                            div.navigation div.brcm-navigation ul li ul li a:hover , div.navigation div.brcm-navigation ul li.brcm-active-node ul li a:hover {
                                background: #05a72b;
                            }


						div.navigation div.brcm-navigation ul li:hover ul {
							display:block;
							
						}

/* 
$ Content Styles
----------------------
*/

#content{
	clear:both;
	font-size: 1.1em;
	width:100%;
	min-height:300px;
	margin-top:0px;
}


div.content-section {
    width:100%;
	max-width: 702px;
	float:left;

}
div.content-right {
	float:right;
	width: 250px;
}
div.content-left {
	float: left;
	width: 250px;
}

div.content-right.fons-diferent {
    padding: 0px 10px;
}
div.content-inner div.brcm-generic-element-with-images-on-the-left div.brcm-group-of-images {
    float: left;
    margin-right: 26px;
}
div.brcm-slider{
    height: 250px;
    float: left;
    width: 100%;
}
div.content-inner div.brcm-generic-element-with-image-gallery div.brcm-image-and-caption, div.content-inner div.brcm-gallery-of-images div.brcm-image-and-caption{
    margin-right: 8px;
}
div.content-inner .brcm-flexslider{
    margin: 0px;
    padding: 0px;
    border: 0px;
    -webkit-border-radius: 0px;
    -moz-border-radius: 0px;
    -o-border-radius: 0px;
    border-radius: 0px;
    box-shadow: none;
    -webkit-box-shadow: none;
    -moz-box-shadow: none;
    -o-box-shadow: none;
    max-width: 702px;
    overflow: hidden;
    margin-bottom: 10px;
}
div.content-left div.brcm-navigation ul ul {
    margin-top: 0px;
    padding-left: 13px;
    padding-top: 5px;
}
div.content-inner div.title-box{
    background: #05a72b;
    font-size: 1.2em;
    padding: 7px 15px;
    border: 1px solid #fff;
}
div.content-inner .brcm-flexslider ul{
    padding: 0px;
    margin: 0px;
}
div.content-inner div.brcm-flexslider-pauseplay{
    display: none;
}
div.content-inner .brcm-flexslider-control-nav{
    background: #05a72b;
    border: 1px solid #fff;
    bottom: 0px;
}
div.content-inner .brcm-flexslider-control-paging li a{
    background: none;
    -webkit-border-radius: 0px;
    -moz-border-radius: 0px;
    -o-border-radius: 0px;
    border-radius: 0px;
    box-shadow: none;
    border: 1px solid #b8c4cf;
}
div.content-inner .brcm-flexslider-control-nav li{
    margin: 0 2px;
}
div.content-inner .brcm-flexslider-control-paging li a.brcm-flexslider-active{
    background: #b8c4cf;
}
div.content-left div.brcm-navigation > ul > li.brcm-active-node > span > a{
    color: #BBBBBB;
    font-weight: bold;
    border-bottom: 1px solid #fff;
    text-transform: uppercase;
}
#header .brcm-flexslider .brcm-flexslider-slides img, #content .brcm-flexslider .brcm-flexslider-slides img {
    width: auto;
    display: inline-block;
}
#header .brcm-flexslider .brcm-flexslider-slides > li{
    height: 250px;
}
#content .brcm-flexslider .brcm-flexslider-slides > li{
    /* height: 348px; */
    text-align: center;
}


/* 
$ Footer Styles
----------------------
*/

#footer{
	clear:both;
	margin:0px 0px 15px 0px;
	border-top: 1px solid #fff;
	width:100%;
	display:block;
	padding-top:10px;
    min-height:70px;
}

	div.footer-navigation {
		float: left;
	}
		div.footer-navigation div.brcm-navigation ul li {
			display:inline;
			margin:0px;
			border-left:1px solid #fff;
		}

			div.footer-navigation div.brcm-navigation ul li a {
				padding:0px 10px;
				font-size:1em;
                color: #fff;
			}


	div.footer-navigation div.brcm-navigation ul li:first-child {
		border:0;
	}
	div.footer-navigation div.brcm-navigation ul li:first-child a { 
		padding-left:0px;
	}

	div#footer div.signature {
		float: right;
		margin-bottom:10px;
	}
div.txt-footer{
    float: left;
    clear: left;
    margin-left: 7px;
    margin-top: 5px;
}
div.content-inner div.brcm-googlemaps-map .hasMargin{
    margin: 0px 0px 10px 0px;
}
div.content-inner div.brcm-form div.brcm-field div.brcm-title{
    font-size: 1.3em;
}
div#footer div.signature ul li{
    display: inline;
    margin-left: 5px;
}
html[lang="ca"] div#footer div.signature ul li.es{
    display: none;
}
html[lang="es"] div#footer div.signature ul li.es{
    display: inline;
}
html[lang="es"] div#footer div.signature ul li.ca{
    display: none;
}
html[lang="ca"] div#footer div.signature ul li.ca{
    display: inline;
}



/* 
=======================
$ STYLE GUIDE
======================= 
*/

div.content-inner p, div.content-inner ol, div.content-inner ul, div.content-inner table{
	margin:0px;
	padding: 6px 0px;
	
}
div.content-inner ul{
	list-style-type:circle;
	line-height:20px;
	margin-top:5px;
    padding-left:20px;
}
div.content-inner ul li{
	
}
div.content-inner ul li ul li{

}
div.content-inner ul li ul li ul li{
	padding-left:5px;
}
div.content-inner h1{
	font-size:2em;
	color:#000;
	margin-bottom:10px;
	line-height: 150%;
}
div.content-inner h2{
	font-size: 2.1em;
	color: #fff;
	line-height: 150%;
}
div.content-inner h3{
	font-size:1.2em;
	color: #05A72B;
	margin-bottom:6px;
	line-height: 150%;
    font-weight: bold;
}
div.content-inner h1 + h2{
	margin-top:5px;
}
div.content-inner h2 + h3{
	margin-top:5px;
}
div.content-inner h3 + p{
    padding-top: 0px;
}
div.content-inner table{
	margin:20px 0 20px 0px;
}
div.content-inner table th{
	padding:7px 15px;
	border:1px #D2D2D2 solid; 
	background-color:#E4E4E4; 
	color:#737373;
	font-weight:bold;
}
div.content-inner table td{
	padding:7px 15px;
	border:1px #D2D2D2 solid;
	color:#737373;
}
div.content-inner input[type="text"], div.content-inner input[type="password"], div.content-inner textarea, div.content-inner select{
	border:1px solid #D2D2D2;
	background-color:#fff;
	padding:5px;
}
div.content-inner input[type="submit"], div.content-inner button{
	border: 1px solid #05a72b;
	color: white;
	background: #03761e;
	cursor: pointer;
	padding: 8px 18px;
	font-weight: bold;
    text-transform: uppercase;
}
div.content-inner input[type="submit"]:hover, div.content-inner button:hover{
    background: #05a72b;
    border: 1px solid #03761e;
}



/*  galeria pàgina Restaurant  */

/* img width: 132px */

body.restaurant div.brcm-gallery-of-images {
    margin-top:20px;
}

    body.restaurant div.brcm-gallery-of-images div.brcm-image-and-caption {
        margin-left: 10px;
        margin-right:0px;
    }
    body.restaurant div.brcm-gallery-of-images div.brcm-image-and-caption:nth-child(5n-4) {
        margin-left: 0px;
    }

        body.restaurant div.brcm-gallery-of-images div.brcm-image-and-caption div.brcm-image img {
            max-width: 132px;
        }


/*  galeria pàgina Carta img-width:218px */

body.carta div.brcm-gallery-of-images {
    margin-top:20px;
}

    body.carta div.brcm-gallery-of-images div.brcm-image-and-caption {
        margin: 0px 5px;
    }

        body.carta div.brcm-gallery-of-images div.brcm-image-and-caption div.brcm-image {
        
        }
        body.carta div.brcm-gallery-of-images div.brcm-image-and-caption div.brcm-image img {
            max-width: 218px;
            border: 1px solid #fff;
        }

        body.carta div.brcm-gallery-of-images div.brcm-image-and-caption div.brcm-caption {
            font-size: 1.4em;
            font-weight:bold;
            text-align:center;
            margin: 5px 0px 15px;
        }


#fancybox-outer {
    background-color:#000 !important;
}

/* 
=======================
$ MEDIA QUERIES
======================= 
*/

/*  2 columnes redueix mida content */
@media screen and (max-width: 959px) {

	div.content-section {
		max-width: 600px;
		float:left;
	}

	div.content-right {
		float:right;
		width: 250px;
	}

}

/*  2 columnes passa a 1 sola */
@media screen and (max-width: 849px) {

	div.content-section div.brcm-body {
		padding:0px 5px;
	}

	div.content-section {
		display: block;
        float: left;
        max-width: 100%;
        margin-top: 20px;
	}

	div.content-right {
		display: block;
		width:100%;
		text-align: center;
		margin-top:10px;
		border-top: 1px solid #fff;
		padding-top:10px;
	}



	div.footer-navigation {
		float: none;
		width:100%;
		text-align: center;
		line-height: 1.5em;
	}

	div.footer-navigation {

	}


	div#footer div.signature {
		clear:both;
		float:none;
		width:100%;
		text-align: center;
		margin-top:25px;
	}


}

@media screen and (max-width: 580px) {

	div.content-section div.brcm-body {
		clear:both;
		float:none;
		display: block;
	}

	div.content-section div.brcm-group-of-images {

		display: block;
		margin:0px auto;
	}

	div.navigation div.brcm-navigation ul li a {
		padding:0px 10px;
		font-size:1.1em;
	}
    div.navigation div.brcm-navigation ul { 
        margin: 0px; 
    }

    div.navigation div.brcm-navigation ul li {
        min-height:35px;
        line-height: 35px;
        width: 100%;
        text-align: center;
        display:block;
        float:none;      
        margin: 0px auto 1px;
        border:0px;
    }
    div.navigation div.brcm-navigation ul li.brcm-last-item{
        margin-bottom: 0px;
    }
    body.portada div.navigation div.brcm-navigation ul li.brcm-first-item a{
        margin-right: 0px;
    }
        div.navigation div.brcm-navigation ul li a {
            display:block;
            padding:0px 10px;
            height:35px;
            text-transform: uppercase;
            text-align: center;
            text-decoration:none;
            font-size:1.2em;
        }
/*    div.header-inner{
        height: 168px;
    } */
    div.header-inner div.logo a.normal-header{
        display: none;
    }
    div.header-inner div.logo a.mobile-header{
        display: block;
        width: 360px;
        text-align: center;
        margin: 0 auto;
    }
    div.navigation div.brcm-navigation ul li:hover ul{
        display: none;
    }
    div.footer-navigation div.brcm-navigation ul li{
        width: 100%;
        padding: 13px 0px 10px 0px;
        border-left: 0px;
        border-top: 1px solid #000;
        float: left;
    }
    div#footer{
        padding-top: 0px;
    }
    div#footer div.signature{
        padding: 22px 0px;
    }
    div.footer-navigation div.brcm-navigation ul li:last-child{
        border-bottom: 1px solid #000;
    }
    div.content-inner input[type="text"], div.content-inner textarea{
        width: 93%;
    }
}


/* ajusta aquesta mida al punt on cal que el menú es transformi */
@media screen and (max-width: 475px) {


}

@media screen and (max-width: 457px) {


}
@media screen and (max-width: 420px) {


}

@media screen and (max-width: 400px) {

    div.header-inner div.logo a.mobile-header{
        width: 100%;
    }

}


@media screen and (max-width: 360px) {



}



@media screen and (max-width: 350px) {


}
@media screen and (max-width: 320px) {
	


}





/* 
=======================
$ PRINT STYLES
======================= 
*/

@media print {
  * { background: transparent !important; color: black !important; text-shadow: none !important; filter:none !important;
  -ms-filter: none !important; } /* Black prints faster: sanbeiji.com/archives/953 */
  a, a:visited { color: #444 !important; text-decoration: underline; }
  a[href]:after { content: " (" attr(href) ")"; }
  abbr[title]:after { content: " (" attr(title) ")"; }
  .ir a:after, a[href^="javascript:"]:after, a[href^="#"]:after { content: ""; }  /* Don't show links for images, or javascript/internal links */
  pre, blockquote { border: 1px solid #999; page-break-inside: avoid; }
  thead { display: table-header-group; } /* css-discuss.incutio.com/wiki/Printing_Tables */
  tr, img { page-break-inside: avoid; }
  @page { margin: 0.5cm; }
  p, h2, h3 { orphans: 3; widows: 3; }
  h2, h3{ page-break-after: avoid; }
}

