/* 
=======================
$ 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: #000;
	line-height: 1;
	background: #667017 url('../img/fondo_mini.jpg') repeat-x;
    min-height: 100%;
}

p {
	line-height:normal;
	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: #49564e;
	text-decoration:none;
}
a:visited{
	color: #49564e;
}
a:active{
	color: #49564e;
}
a:hover{
	color: #49564e;
	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;
	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;
    float: left;
    border-bottom: 1px solid #666;
    margin-bottom: 20px;
}


div.language{
	float:right;
	text-align:right;
	padding: 10px 0px;
    text-transform: uppercase;
}

	div.language span, div.language a{
		display:inline-block;
		margin-left:5px;
	}
div.language a{
    color: #FF9000;
}
div.language span{
    color: #fff;
    border-right: 1px solid #fff;
    padding-right: 9px;
}
html[lang="ca"] div.language span{
    border-right: 0px;
}
html[lang="ca"] div.language a{
    border-right: 1px solid #fff;
    padding-right: 9px;
}


/* 	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:65px; */
	width: 300px;
    float: left;
	
}
	div.header-inner div.logo {
		width:100%;
		min-height:65px;
	}
	
div.brcm-slider{
    float: left;
/*    width: 100%; */
}
div.content-inner div.brcm-flexslider, div.brcm-slider div.brcm-flexslider{
    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; 
    margin: 0px;
    padding: 0px;
}
div.content-inner .brcm-flexslider-slides, div.brcm-slider .brcm-flexslider-slides{
    margin: 0px;
    padding: 0px;
}
div.content-inner .brcm-flexslider-direction-nav a, div.brcm-slider .brcm-flexslider-direction-nav a{
    background: rgba(0, 0, 0, 0.68) url('../img/bg_direction_nav.png') no-repeat 3px 3px;
    height: 33px;
}
div.content-inner .brcm-flexslider-direction-nav .brcm-flexslider-next, div.brcm-slider .brcm-flexslider-direction-nav .brcm-flexslider-next{
    background-position: 114% 3px;
}
 
div.brcm-slider div.brcm-flexslider{
    margin-bottom: 40px;
    height: 388px;
}

div.brcm-slider div.brcm-flexslider div.brcm-flexslider-caption {display:none;}

	div.navigation {
        margin: 10px 0px 10px 20px;
        float: left;
        margin-top: 60px;
	}

		div.navigation div.brcm-navigation ul{ 
			margin: 0px; 
			min-height: 28px;
		}


		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;
            background: url('../img/normal.png') repeat-x; 
            padding-top: 8px;
            width: 120px;
            margin-right: 3px;
		}
        body.portada div.navigation div.brcm-navigation ul li.brcm-first-item{
            background: url('../img/activa.png') repeat-x; 
            font-weight: bold;
        }
			div.navigation div.brcm-navigation ul li a {
				display:block;
				padding:0px 10px;
				height:28px;
				text-align: center;
				text-decoration:none;
				font-size: 14px;
                color: #2c5228;
			}
				div.navigation div.brcm-navigation ul li:hover{
                    background: url('../img/over.png') repeat-x; 
                    font-weight: bold;
				}

				div.navigation div.brcm-navigation ul li.brcm-active-node{
					background: url('../img/activa.png') repeat-x; 
                    font-weight: bold;
				}

				/*  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:25px;
						left:0px;
						width: 300px;
						z-index:1000;
                        padding-top:7px;
					}
                        div.navigation div.brcm-navigation ul li ul li a, div.navigation div.brcm-navigation ul li.brcm-active-node ul li a {
                            width: 300px;
                            background: #083956;
                            text-align:left;
                        }

                            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: #0f6394;
                            }


						div.navigation div.brcm-navigation ul li:hover ul {
							display:block;
						}
div.lateral-navigation{
    width: 24%;
    float: left;
    margin-right: 12px;
    text-transform: uppercase;
    font-size: 15px;
}
div.content-inner div.lateral-navigation ul{
    list-style: none;
    float: left;
    padding-left: 0px;
    width: 100%;
    padding: 0px;
    margin-top: 0px;
}
div.content-inner div.lateral-navigation ul li{
    border: 1px solid #E6F0E2;
    float: left;
    width: 100%;
}
div.content-inner div.lateral-navigation ul ul li a{
    background: #8dad8a;
    border: 1px solid #E6F0E2;
    padding: 5px 5px 5px 15px;
    font-size: 11px;
    font-weight: normal;
}
div.content-inner div.lateral-navigation ul ul li a:hover{
    color: #2c5228;
    font-weight: bold;
    background: #dc945c;
}
div.content-inner div.lateral-navigation ul li a{
    border-bottom: 1px solid #5B9858;
    float: left;
    width: 100%;
    padding: 6px;
    -webkit-box-sizing: border-box;
    -moz-box-sizing: border-box;
    box-sizing: border-box;
}
div.content-inner div.lateral-navigation ul li a:hover{
    font-weight: bold;
    border-bottom: 1px solid #E6F0E2;
    text-decoration: none;
}
div.content-inner div.lateral-navigation ul > li.brcm-active-node{
    font-weight: bold;
}
div.content-inner div.lateral-navigation ul li.brcm-active-node a{
    border-bottom: 1px solid #FABE5F;
}
div.content-inner div.lateral-navigation ul ul li.brcm-active-node a{
    color: #2c5228;
    font-weight: bold;
    background: #dc945c;
}
body.navegacio-lateral div.content-page{
    width: 71%;
    float: right;
}
body.navegacio-lateral div.content-page h1{
    text-transform: uppercase;
    color: #49564e;
}
body.contactar div.brcm-body{
    text-align: right;
    font-weight: bold;
    font-size: 12px;
}
body.contactar div.content-inner div.brcm-body h3{
    font-weight: bold;
    font-size: 13px;
}


/* 
$ Content Styles
----------------------
*/

#content{
	clear: both;
	font-size: 1.3em;
	width: 100%;
	/* min-height: 300px; */
	margin-top: 0px;
    font-family: tahoma,arial,helvetica,sans-serif;
    color: #49564e;
}
div.content-inner{
    float: left;
    width: 100%;
    margin-bottom: 20px;
}


div.content-section {
    width: 49%;
	max-width: 700px;
    margin-right: 30px;
	float: left;
}
div.content-page {
    width: 100%;
	float: left;
}
div.content-inner div.content-section h2{
    font-size: 11px;
    color: #49564e;
    line-height: normal;
    font-weight: bold;
    margin-bottom: 10px;
}

div.content-right {
	float: right;
	width: 47%;
}

div.content-right.fons-diferent {
    background-color:#f6c03a;
    padding: 0px 10px;
}



/* 
$ Footer Styles
----------------------
*/

#footer{
	clear:both;
	margin:15px 0px;
	border-top: 1px solid #000;
	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 #000;
		}

			div.footer-navigation div.brcm-navigation ul li a {
				padding:0px 10px;
				font-size:1em;				
			}


	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;
	}


/* 
=======================
$ STYLE GUIDE
======================= 
*/

div.content-inner p, div.content-inner ol, div.content-inner ul, div.content-inner table{
	margin:0px;
	padding: 10px 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: #49564e;
	margin-bottom:10px;
	line-height:normal;
}
div.content-inner h2{
	font-size: 1.3em;
	color: #49564e;
	line-height: normal;
}
div.content-inner h3{
	font-size:1.2em;
	color: #49564e;
	margin-bottom:20px;
	line-height:normal;
}
div.content-inner h1 + h2{
	margin-top:5px;
}
div.content-inner h2 + h3{
	margin-top:5px;
}
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: #fff;
    padding: 5px;
}
div.content-inner input[type="submit"], div.content-inner button{
	border:1px solid #D2D2D2;
	color: white;
	background: #6D8114 top left no-repeat;
	cursor: pointer;
	padding: 8px 18px;
	font-weight: bold;
}






/*  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 {
		width: 100%;
		float:left;
	}

	div.content-right {
		float: left;
		width: 100%;
	}
    div.navigation{
        width: 100%;
        margin-top: 0px;
        margin-left: 0px;
    }
    div.brcm-slider div.brcm-flexslider{
        height: auto;
    }
    

}

/*  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:none;
		max-width:100%;
	}

	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;
	}
    
    #content div.content-right{
        color: #fff;
    }
    div.footer-navigation div.brcm-navigation a{
        color: #fff;
    }
    div.lateral-navigation{
        width: 100%;
        text-align: center;
        margin-bottom: 30px;
    }
    body.navegacio-lateral div.content-page{
        width: 100%;
        float: left;
    }


}

@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 4px;

			border: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.content-inner input[type="text"], div.content-inner input[type="password"], div.content-inner textarea, div.content-inner select{
        width: 96%;
    }
}


/* 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) {
	


}


@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; }
}

