/* Body and major elements */
* { margin: 0; padding: 0; }	/* zeroing both margin and padding for all elements */
body {
	font: normal 70% "Trebuchet MS", "Arial", sans-serif;	/* 11px */
	color: #333; background: #F0F0E6; }

#container { /* Large bounding box */
    width: 770px;
    margin: 0 auto;
    border-bottom: 8px solid #F0F0E6; }

#header { /* Holds logo, main & supplimental navigation */
    width: 770px;
    height: 120px; }

#navigation { /* Right column */
    width: 210px;
    margin: 8px 0;
    float: right; }

    #navigation #enginyer {
        margin-top: 10px; }

    #navigation #promo_mini {
        margin-top: 10px;
		background: #FFCC99; }

#contents { /* Contents box */
    width: 545px;
    margin: 8px 0;
    float: left; }

	#promo {
		height: 300px;
		margin-bottom: 10px; }

	.contents_box_mini { width: 270px; }

    #contents_box {
        padding: 10px;
		background: #FFF; }

	.contents_box_mini #soci {
		padding: 10px 9px;
		_padding: 10px 8px; /* IE */
		background: #FFF; }

	#no_soci, #soci { width: 250px; }

	#contents_box #no_soci { background: #FFCC99; }

	#contents_box #ofertes { padding: 10px; }

    div.noticia { /* News */
        margin: 10px 0 0 20px;
		border-bottom: 1px dotted #AAA;
		_border-bottom: 1px solid #CCC; /* IE */ }

		.contents_box_mini div.noticia { margin: 0; }

	#contents_box div#paginacion { padding: 10px 0 0 20px; }

	#contents_box div#documents {
		border-top: 1px dotted #AAA;
		_border-top: 1px solid #CCC; /* IE */
		border-bottom: 1px dotted #AAA;
		_border-bottom: 1px solid #CCC; /* IE */ }

	#contents_box div#message {
		background: #F30;
		color: white;
		margin-bottom: 10px; }

		#contents_box div.error { background: #6f3; }

    #contents_box .reunio, .notificacio {
		float: left;
		width: 250px;
		margin: 10px 11px 0 0;
		background: #fff; }

	#contents_box .destacado {
	    width: 250px; }


.derecha { float: right; }
.izquierda { float: left; }


#footer {
	background: #E5E4D2;
    clear: both; }




h1 { }

	#header h1 {
		padding: 3px 10px;
		font: normal 18px "Georgia", "Times", serif;
		color: #FFF;
		float: left; }

		#header h1 a { color: #FFF; }


h2 { }

    #contents h2, .contents_box_mini h2 { /* Page title */
        padding: 0 0 15px 0;
		font-size: 1.8em; }

    #navigation #promo_mini h2 { /* Encara no ets soci? */
        padding: 5px 10px;
		font-size: 1.2em;
		font-weight: bold;
		}

    #navigation #enginyer h2 { /* L'enginyer geòleg */
		font-size: 1.2em;
		font-weight: bold; }

	    #navigation #enginyer h2.current {
			background: transparent url(http://www.aegcat.com/img/enginyer.gif) -210px 0 no-repeat;
			height: 160px;
			padding: 4px 10px 0 10px;
			color: #FFF; }

		 #navigation #enginyer h2 a {
			display: block;
         	padding: 4px 10px 0 10px;
			height: 160px;
			background: transparent url(http://www.aegcat.com/img/enginyer.gif) top left no-repeat;
			color: #FFF; }

		 #navigation #enginyer h2 a:hover {
			background: transparent url(http://www.aegcat.com/img/enginyer.gif) -210px 0 no-repeat; }


h3 { }

	#contents h3, .contents_box_mini h3 {
		font-weight: bold;
		font-size: 1.3em; }

		#contents #buscador h3 {
			background: #CCC;
			padding-bottom: 2px;
			color: #444; }

			#contents #buscador h3 span { padding-left: 10px; }

		h3.descarregues {
			font-size: 1.3em;
			font-weight: bold;
			background: #CCC;
			padding: 2px 0;
			color: #444;
			text-align: left; }

			h3.descarregues span { padding-left: 5px; }

		#contents .noticia h3 { /* Title of entry */
			padding: 10px 0 0 0;
			color: #F30; }

		#contents #no_soci h3, #soci h3 {
			padding: 10px; }

		#contents_box #ofertes h3.mas { background: transparent url(http://www.aegcat.com/img/mas.gif) bottom left no-repeat; }

		#contents_box #ofertes h3.menos { background: transparent url(http://www.aegcat.com/img/menos.gif) bottom left no-repeat; }

			#ofertes h3 a {
				padding-left: 20px;
				color: #F30; }

			#ofertes h3 a:hover { text-decoration: underline; }


		#contents_box .destacado h3 a, .contents_box_mini h3, .contents_box_mini h3 a { color: #F30 }

			#contents_box .destacado h3 a:hover, .contents_box_mini h3 a:hover { text-decoration: underline }



h4 { }

	#contents_box div#message h4 {
		padding: 1em 0 0 10px;
		font-size: 1.2em;
	}

    #contents_box .noticia h4, .contents_box_mini h4 { /* News date */
		font-weight: normal;
		margin-bottom: 10px;
		color: #999;
		font-size: 1em; }

	#contents_box .reunio h4, .notificacio h4 { /* Reunió & Notificacio */
		font-size: 1.3em;
		color: #555;
		font-weight: bold;
		padding-bottom: 5px }


	#contents_box #ofertes h4 {
		font-size: 1.1em;
		color: #999;
		font-weight: normal;
		padding: 0 0 10px 20px; }



h5 { }

    #enginyer h5 { /* Byline with RSS link at bottom of featured article box */
        background: #fff url(http://9rules.com/gameover/images/featured_h5_bg.gif) bottom left repeat-x;
        border-top: 1px solid #fff;
        font: normal 10px/10px "Verdana", sans-serif;
        color: #3d6d12;
        margin: 16px 0 8px 0;
        padding: 8px 0 8px 8px; }

        #enginyer h5 a, #enginyer h5 a:hover {
            color: #3d6d12;
            font-weight: bold;
            text-decoration: underline;
            border: 0; }

            #enginyer h5 a:hover {
                color: #000; }



/*	
#contents_box .reunio h5, .notificacio h5 {
		font-size: 1em;
		color: #555;
		font-weight: normal;
		padding-top: 95px; }


#contents_box .reunio h5 { background: #fff url(img/reunio.jpg) top left no-repeat; }
*/

	#contents_box .reunio h5, .notificacio h5 { /* Dates de reunió & Notificacio */
		font-size: 1em;
		color: #555;
		font-weight: normal;
		 }

	#contents_box .reunio h5 { background: #fff top left no-repeat; }
	
	#contents_box .notificacio h5 { background: #fff url(img/notificacio.jpg) top left no-repeat; }




/* Paragraph and styles */
#contents_box p {
    padding: 10px;
    line-height: 1.5em; }

	#contents_box p.foto {
		height: 18em;
		margin-bottom: 5px;
	}

		#contents_box #documents p {
			padding: 10px;
			min-height: 50px;
			_height: 50px; /* IE */
			background: #FFF url(http://www.aegcat.com/img/pdf.gif) center left no-repeat; }

			#contents_box #documents p a {
				padding-left: 60px;
				color: #F30;
				text-decoration: underline;
				display: block; }

		#contents_box .destacado p { margin: 0 -10px }

	.contents_box_mini p { padding-top: 10px; }

#contents_box img {
	margin-top: 20px;
}

#navigation p { }

    #navigation p.registro {
		margin-bottom: 10px;
		background: transparent url(http://www.aegcat.com/img/bullet.gif) top right no-repeat;
		float: right; }

		#navigation p.registro a {
			font-weight: bold;
			font-size: 1.2em;
			line-height: 110%;
			padding-right: 17px;
			color: #F30; }

		#navigation p.registro a:hover {
			text-decoration: underline; }

    #navigation #promo_mini p {
		padding: 0 10px 15px 10px; }

    #navigation #promo_mini p.boton {
		padding: 0;
		margin: 0 10px 10px 102px;	/* el ancho del menu es 210, el ancho de la imagen boton es de 98 */
		text-align: right; }

	#no_soci p.boton {
		padding: 0;
		margin: 0 10px 10px 142px;	/* el ancho de la columna es 250, el ancho de la imagen boton es de 98 */
		text-align: right; }

	.contents_box_mini p.boton {
		padding: 0;
		margin: 0 0 0 130px;	/* el ancho de la columna es 270, el ancho de la imagen boton es de 98 */
		text-align: right; }

		#navigation #promo_mini p.boton a, #no_soci p.boton a, .contents_box_mini p.boton a {
			display: block;
			height: 18px;
			text-align: center;
			padding-top: 1px;
			text-transform: uppercase;
			color: #FFF;
			font-weight: bold;
			background: transparent url(http://www.aegcat.com/img/boton.gif) top left no-repeat; }

			#navigation #promo_mini p.boton a:hover, #no_soci p.boton a:hover, .contents_box_mini p.boton a:hover {
				background-position: -98px 0; }

	#contents .noticia p {
		padding: 0 0 10px 0;
		color: #333; }

		#contents .noticia ul { list-style: none; }

p#resultats {
	margin-top: 10px;
	padding: 10px;
	background: #EEE;
	color: #333;
}

	p#resultats strong {
		color: #F30;
		font-weight: bold; }

#paginacion p { padding: 0; }

#footer p {
	padding: 4px 0 0 10px;
    color: #d0886d;
	font-weight: bold; }




/* Navigation styles and other lists */
a { text-decoration: none; }

	#contents_box p a { color: #F30; }
	#contents_box p a:hover { text-decoration:underline; }

	a.external:link {
		background: url(http://www.aegcat.com/img/icon_external_link.gif) no-repeat 100% 0;
		padding: 0 20px 0 0; }

	a.external:visited {
		color: purple;
		background: url(http://www.aegcat.com/img/icon_external_link.gif) no-repeat 100% -100px;
		padding: 0 20px 0 0;
	}

	a.external:hover {
		background: url(http://www.aegcat.com/img/icon_external_link.gif) no-repeat 100% -200px;
		padding: 0 20px 0 0;
	}

		a.external span {
			position: absolute;
			left: -5000px;
			width: 4000px; }

	ul#submenu {
	    list-style: none;
		padding-bottom: 10px;
		margin-bottom: 10px; }

		ul#submenu li {
			display: inline;
			padding-right: 20px;
			font-size: 1.1em;
			font-weight: bold; }

			ul#submenu li a {
				color: #F30; }

			ul#submenu li a:hover {
				text-decoration: underline; }

	#paginacion p a#siguiente {
		background: transparent url(http://www.aegcat.com/img/derecha.gif) center right no-repeat; }

	#paginacion p a#anterior {
		background: transparent url(http://www.aegcat.com/img/izquierda.gif) center left no-repeat; }

		#paginacion p a#siguiente, #contents_box p a#anterior {
			font-weight: bold;
			font-size: 1.2em;
			color: #555; }

		#paginacion p a#siguiente { padding-right: 17px; }

		#paginacion p a#anterior { padding-left: 17px; }

		#paginacion p a#siguiente:hover, #contents_box p a#anterior:hover {
			text-decoration: underline; }


#header ul {
    list-style: none;
    padding: 5px 10px;
    margin-top: 0;
	float: right; }

	#header ul li {
		display: inline;
		padding-left: 15px;
		font-size: 1.1em;
		color: #666; }

		#header ul li a {
			color: #FFF; }

		#header ul li a:hover {
			text-decoration: underline; }


#navigation ul { /* Main menu */
	list-style: none;
	clear: both; }

    #navigation ul li {
		font: normal 1.7em "Arial", sans-serif;
        color: #fff; }

		#navigation ul li.current {
			padding: 0 0 0 10px;
			line-height: 160%; }

			#navigation ul li.menu_top {
				height: 35px;
				background: #F0F0E6 url(http://www.aegcat.com/img/menu_top.gif) -210px 0 no-repeat;
				border-bottom: 1px solid #FFF; }

			#navigation ul li.menu_middle {
				height: 31px;
				background: #F0F0E6 url(http://www.aegcat.com/img/menu_middle.gif) -210px 0 no-repeat;
				border-bottom: 1px solid #FFF; }

			#navigation ul li.menu_bottom {
				height: 35px;
				background: #F0F0E6 url(http://www.aegcat.com/img/menu_bottom.gif) -210px 0 no-repeat; }

        #navigation ul li a {
			display: block;
			padding: 0 0 0 10px;
			line-height: 160%;
            color: #fff; }

			#navigation ul li a.menu_top {
				height: 35px;
				background: #F0F0E6 url(http://www.aegcat.com/img/menu_top.gif) top left no-repeat;
				border-bottom: 1px solid #FFF; 	}

			#navigation ul li a.menu_top:hover {
				background-position: -210px 0; 	}

			#navigation ul li a.menu_middle {
				height: 31px;
				background: #F0F0E6 url(http://www.aegcat.com/img/menu_middle.gif) top left no-repeat;
				border-bottom: 1px solid #FFF; 	}

			#navigation ul li a.menu_middle:hover {
				background-position: -210px 0; 	}

			#navigation ul li a.menu_bottom {
				height: 35px;
				background: #F0F0E6 url(http://www.aegcat.com/img/menu_bottom.gif) top left no-repeat; }

			#navigation ul li a.menu_bottom:hover {
				background-position: -210px 0; 	}

dl { }

	dl dt {
		margin: 0 20px; }

		dl dt a {
			font-weight:bold;
			color: #F30; }

			dl dt a:hover {
				text-decoration: underline; }

	dl dd {
		margin: 0 20px 10px 20px; }


#buscador fieldset {
	background: #EEE;
	border: none;
	padding: 10px 10px 0 10px; }

		#buscador fieldset label {
			font-weight: bold;
			color: #444;
		}

		#buscador input#query {
			margin-top: 3px;
			width: 300px;
			padding: 1px;
			border: 1px solid #BBB; }

		#buscador select#date {
			margin-top: 3px;
			width: 130px;
			border: 1px solid #BBB; }

	#buscador fieldset.submit {
		height: 30px; }

		#buscador fieldset.submit input {
			border: none;
			float: right;
			width: 98px;
			height: 18px;
			background: #EEE url(http://www.aegcat.com/img/boton.gif) top left no-repeat;
			color: #333;
			text-transform: uppercase;
			font-weight: bold;
			font-size: 1.1em;
			text-align: center; }


#contacte fieldset {
	border: none;
	margin: 10px 30px;
	padding-bottom: 10px;
	border-bottom: 1px dotted #AAA;
	_border-bottom: 1px solid #CCC; /* IE */ }

	#contacte fieldset p {
		padding: 0;
		clear: both; /* IE */ }

		#contacte fieldset p label {
			clear: both;
			float: left;
			margin-bottom: 0.9em; }

		#contacte fieldset p input, textarea {
			width: 300px;
			border: 1px solid #BBB;
			margin: 0;
			float: right; }

			#contacte fieldset p label span.opcional {
				color: green;
				font-size: 0.8em; }

			#contacte fieldset p label span.obligatorio {
				color: #F30;
				font-size: 0.8em; }

	#contacte fieldset.submit {
		height: 30px;
		border: none;
		_margin: 5px 15px; /* double margin IE */ }

		#contacte fieldset.submit input {
			border: none;
			float: right;
			width: 98px;
			height: 18px;
			background: #FFF url(http://www.aegcat.com/img/boton.gif) top left no-repeat;
			color: #333;
			text-transform: uppercase;
			font-weight: bold;
			font-size: 1.1em;
			text-align: center; }


#login fieldset {
	border: none;
	padding: 10px; }

	#login fieldset p { padding: 0; }

		#login fieldset p a { color: #F30; }

			#login fieldset p a:hover { text-decoration: underline; }

		#login fieldset p label { font-weight: bold; }

		#login fieldset p input.caja {
			width: 230px;
			border: 1px solid #BBB;
			padding: 5px 0;
			margin-bottom: 5px; }

		#login fieldset.submit input {
			border: none;
			float: right;
			width: 98px;
			height: 18px;
			background: #FFF url(http://www.aegcat.com/img/boton.gif) top left no-repeat;
			color: #333;
			text-transform: uppercase;
			font-weight: bold;
			font-size: 1.1em;
			text-align: center; }

			#login fieldset.submit input.contrasenya {
				width: 240px;
				background: #FFF url(http://www.aegcat.com/img/boton_largo.gif) top left no-repeat; }

    #login fieldset p.registro {
		margin: 0 12px 10px 0;
		background: transparent url(http://www.aegcat.com/img/bullet.gif) top right no-repeat; }

		#login fieldset p.registro a {
			font-weight: bold;
			font-size: 1.2em;
			line-height: 110%;
			padding-right: 17px;
			color: #F30; }

		#login fieldset p.registro a:hover {
			text-decoration: underline; }



#ofertes table {
	margin: 0 0 5px 20px;
	padding: 5px 0;
	color: #666;
	border-top: 1px dotted #AAA;
	_border-top: 1px solid #CCC; /* IE */
	border-bottom: 1px dotted #AAA;
	_border-bottom: 1px solid #CCC; /* IE */ }

	#ofertes table.showTABLE { position:relative; top:0 }
	#ofertes table.hideTABLE { top:-9999px; position:absolute }

    #ofertes table th {
		text-align: left;
		font-size: 0.9em;
		vertical-align: top; }

	table td { vertical-align: top; }

		table td a { color: #F30; }

			table td a:hover { text-decoration: underline; }

table.descarregues {
	background: #EEE;
	width: 100%;
	padding-bottom: 15px; }

	table.descarregues th {
		text-align: left;
		padding: 10px; }

		table.descarregues td {
			padding-left: 15px; }



#footer ul {
	list-style: none;
	padding: 4px 10px 0 0;
	float: right; }

    #footer ul li {
        padding-left: 20px;
		display: inline;
		color: #d0886d; }

        #footer ul li a {
            color: #d0886d; }

        #footer ul li a:hover {
            text-decoration: underline; }
