/* Copyright (C) YOOtheme GmbH, http://www.gnu.org/licenses/gpl.html GNU/GPL */

/*
 * Layout Style Sheet - Provides a fluid grid and helper classes to create any layout and some layout defaults
 */


/* Grid and Clearing Tools
----------------------------------------------------------------------------------------------------*/

.clearfix:before,
.clearfix:after,
.grid-block:before,
.grid-block:after,
.deepest:before,
.deepest:after {
	content: "";
    display: table;
}
.clearfix:after,
.grid-block:after,
.deepest:after { clear: both; }

.grid-box { float: left; }

/* Grid Units */
.width16 { width: 16.666%; }
.width20 { width: 20%; }
.width25 { width: 25%; }
.width33 { width: 33.333%; }
.width40 { width: 40%; }
.width50 { width: 50%; }
.width60 { width: 60%; }
.width66 { width: 66.666%; }
.width75 { width: 75%; }
.width80 { width: 80%; }
.width100 { width: 100%; }

/* Create new Block Formatting Contexts */
.bfc-o { overflow: hidden; }
.bfc-f {
	width: 100%;
	float: left;
}

/* Align Boxes */
.float-left { float: left; }
.float-right { float: right; }

/* Grid Gutter */
.grid-gutter.grid-block { margin: 0 -15px; }
.grid-gutter > .grid-box > * { margin: 0 15px; }

.grid-gutter > .grid-box > * > :first-child { margin-top: 0; }
.grid-gutter > .grid-box > * > :last-child { margin-bottom: 0; }


/* Layout Defaults
----------------------------------------------------------------------------------------------------*/

/* Center Page */
.wrapper {
	-moz-box-sizing: border-box;
	-webkit-box-sizing: border-box;
	box-sizing: border-box;
	margin: auto;
}

/* Header */
#header { position: relative; }

#toolbar .float-left .module,
#toolbar .float-left > time {
	margin: 0 15px 0 0;
	float: left;
}

#toolbar .float-right .module {
	margin: 0 0 0 15px;
	float: right;
}

#headerbar .module {
	max-width: 300px;
	margin-right: 0;
	float: right;
}


#menu { float: left; }
#search { float: right; }

#banner {
	position: absolute;
	top: 0;
	right: -200px;
}

/* Footer */
#footer {
	position: relative;
	text-align: center;
}

/* Absolute */
#absolute {
	position: absolute;
	z-index: 15;
	width: 100%;
}



#breadcrumbs, #content,
#sidebar-a .module,
#sidebar-b .module,
#header .module {
	margin:15px 15px 0 15px;
}

.logo-r .module.deepest,
.logo-l .module.deepest{ 	margin: 0!important; }

#content #frontpagecontent{
	margin-top:-15px;
}

#sidebar-b {
	padding-bottom: 30px;
}

#footer {
	background-image:url(../images/newFooter.png);
	background-repeat: no-repeat;
	background-color:#456B96;
	padding: 100px 0 10px 0;
	margin-top: 20px;
	color:#777;
	display:inline-block;
	font-size:12px;
	line-height:18px;
	text-align:left;
	text-shadow: 1px 1px 1px rgba(0, 0, 0, 0.4);
	color:#fff;
	display: block;
}

#footer td {
	vertical-align:top;width:25%;padding:10px;
	padding: 5px 10px;
	
}

#footer p {
	margin-bottom: 10px;
}

#footer .module {
	margin:0;
}

#footer a {
	color:#fff;
	font-weight: bold;
}

#header {
	width:100%
}

#header #logoandbanner {
	display:block;
	text-align: center;
/* FONS BLANC o GROC! */
	background: /*#fff*/#ffd800 none repeat scroll 0 0;
}

#headerbar {
	color:#777;
	display:inline-block;
	margin-bottom:15px;
	padding:15px 15px 0;
	width:100%
}

#headerbar .module {
	float:left;
	margin:0 15px 0 0;
	margin:15px 0 15px 15px
}

#headerbar a {
	color:#bbb
}

#headerbar a:hover {
	color:#fff
}

#innerbottom:before {
	border-top:1px solid #ddd;
	content:"";
	display:block;
	margin:0 20px
}

#innertop:after {
	border-bottom:1px solid #ddd;
	content:"";
	display:block;
	margin:0 20px
}

#logo {
	display:inline-block;
	text-align:center;
	vertical-align:middle;
	width:280px;
	margin-bottom: 5px;
}

#logo > img {
	float:none
}

#logoBanner {
	display:table-cell;
	float:none;
	margin-top:5px;
	text-align:right;
	width:680px
}

#pmSearch {
	background-image:url("../images/search_bg.png");
	height:65px;
	width:570px;
	float:right;
	margin-top:1px;
}

#pmSearch #text_cercador {
	background-color:transparent;
	border:none;
	margin-top: 16px;
	margin-left: 70px;
	float:left;
	width:460px;
	color: #999;
	font-size:20px;
	height: 25px;
	padding:5px;
}

#menu .module {
	margin:10px 5px;
	margin:10px 5px
}

#sidebar-a {
	position:relative
}

#sidebar-a .module {
	display:block;
	margin:0;
	padding:15px
}

#sidebar-b {
	position:relative
}

#toolbar {
	background:#353535;
	color:#909090;
	display:block;
	font-size:12px;
	line-height:0;
	width:100%;
	min-height: 35px;
	border-top: 5px solid #F4E700;
}

#toolbar a {
	color:#777;
	display:inline-block;
	width:100%
}

#toolbar a:hover {
	color:#fff
}



#totop-scroller {
	background:url(../images/totop_scroller.png) 50% 0 no-repeat;
	background-color:rgba(255,255,255,0.4);
	border:1px solid #456B96;
	border-radius:2px;
	display:block;
	height:20px;
	position:absolute;
	right:10px;
	text-decoration:none;
	top:20px;
	width:20px;
	z-index:1;
}

#totop-scroller:hover {
	background-position:50% -20px;
	background-color:rgba(255,255,255,0.6);
}

.page {
	/*FONDO NORMAL*/
	/*background:url(../images/background.gif);*/
	
	/*FONDO AMARILLO GRESS*/
	background:	url("../images/fondo_soperior_gress.jpg") repeat-x scroll center 0 #F6D561;
	background-attachment: fixed;
}

.wrapper > div {
	background:#fff;
	box-shadow:0 0 2px rgba(0,0,0,0.7);
	margin:0;
}

.sidebar-a-right #sidebar-a:before, .sidebar-b-right #sidebar-b:before {
    border-width: 0 0 0 1px;
}

#sidebar-a:after, #sidebar-b:before {
    border: 0 solid #EEEEEE;
    bottom: 0;
    content: "";
    display: block;
    left: 0;
    position: absolute;
    right: 0;
    top: 0;
}

/*Frontpage Styles*/
div#frontpagecontent {
	overflow:hidden;
	width:100%;
}
div.frontpagerow {
	width: 100%;
	display:block;
	overflow:auto;
}
div.frontpagelnarrow {
	width:45%;
	float:left;
}
div.frontpagelwide {
	width:65.5%;
	float:left;
}
div.frontpagei {
	width:20.5%;
	float: left;
}
div.frontpager {
	width:34.5%;
	float:left;
}

div.fpinnerl {
	padding:0 15px;
	border-right:1px solid #eee;
	overflow:hidden;
}
div.fpinnerr {
	padding:15px 0 0 15px;
	margin-right:15px;
	overflow:hidden;
}

#frontpageh6 div.fpinnerr {
  padding: 0 0 0 15px;
}

div.fpinneri {
	padding:0 15px;
	overflow:hidden;
	border-right:1px solid #eee;
}

div.frontpager .module {
	margin-bottom:15px;
}

div#frontpageh2 {
	margin-bottom:15px;
}

.module.no-bottom-margin {
	margin-bottom:0;
}
#separador1{ clear:both; margin:15px;}
.maininnerr_doble{ float:left; width:65%;}
#maininner_top { margin:0 20px; }
#sidebar-b_top{
width: 29%;
margin-top: 30px;
}