
/* CSS Document */

* {
margin: 0;
padding: 0;
outline: none;
}

body {
font-family: Helvetica, Arial, sans-serif;
font-size: 62.5%;
line-height: 150%;
color: #333333;
text-align: center;
margin: 0px;
background:url(../img/bg_page.png) repeat-x left 80px #fff;
}

/* estructura */
#header {
width: 980px;
height: 47px;
text-align: left;
margin: 0 auto;
padding-top: 32px;
font-size: 2.6em;
color: #666;
font-family: Helvetica, Arial, sans-serif;
position: relative;
background: url(../img/bg_colors.gif) no-repeat left top;
}

#page {
font-size: 110%;
width: 980px;
margin: 0 auto;
padding: 15px 0 0 0;
text-align: left;
}

#realtime {
width: 310px;
float: left;
}

#linies {
width: 485px;
margin-left: 330px;
margin-right: 165px;
}

#ads {
float: right;
width: 160px;
background-color: #999;
}

#footer {
clear: both;
border-top: 1px solid #ccc;
margin-bottom: 50px;
padding-top: 16px;
}

/* header */


#header p#info {
font-size: 0.43em;
margin-top:0.2em;
color: #999;
text-shadow: none;
}

#header #mes_info {
position: absolute;
bottom: 5px;
right: 0;
font-size: 0.5em;
text-shadow: none;
}

#mes_info li {
float: left;
list-style-type: none;
margin-left: 5px;
}

#mes_info li a, #mes_info li a:visited {
color: #333;
background-color: #eee;
-webkit-border-top-left-radius: 8px;
-webkit-border-top-right-radius: 8px;
-moz-border-radius-topleft: 8px;
-moz-border-radius-topright: 8px;
border-top: 1px solid #ccc;
border-left: 1px solid #ccc;
border-right: 1px solid #ccc;
padding: 8px 24px 5px 24px;
font-weight: bold;
}

#mes_info li a, #mes_info li a:hover {
color: #06c;
}

#mes_info li a {
background:-webkit-gradient(linear, left top, left 15px, from(#eee), to(#fff));
background:-moz-linear-gradient(left top, left 15px, from(#eee), to(#fff));
}

#header h1#titol {
text-indent: -999px;
background: url(../img/rodalia_info.gif) left top no-repeat;
}

#header h1#titol a {
width: 160px;
height: 23px;
display: block;
}

#idiomes {
position: absolute;
top: 10px;
right: 0px;
font-size: 0.43em;
color: #ccc;
}

/* page */

 #emergencia {
border: 4px solid #F00;
padding: 20px;
color: #F00;
background-color: #FFF;
font-size: 16px;
margin-bottom: 30px;
}

.box {
border: 1px solid #ccc;
background-color: #FFF;
margin-bottom: 15px;
}

.box p {
padding: 12px;
border-bottom: 1px dotted #ccc;
}

#realtime {
}

#about {
margin-bottom: 2em;
}

#about p {
margin-bottom: 1em;
}

.temps {
background-color: #eaeaea;
padding: 2px 3px 1px 3px;
margin-right: 4px;
font-size: 10px;
margin-bottom: 3px;
}

/* transmet */

p#transmet {
display: none;
}

div.dataInci {
padding: 8px 12px 0 12px;
}

div.textInci {
padding: 8px 12px 18px 12px;
}

/* linies */

#mapa {
margin-bottom: 16px;
}

#linies .box {
width: 225px;
margin-right: 15px;
margin-bottom: 15px;
float: left;
}

#linies .tweets {
height: 250px;
overflow: auto;
}

div.alteracions {
padding-bottom: 7px;
background: url(../img/bg_alter2.gif) left bottom repeat-x #FF9;
}

div.alteracions p {
background: url(../img/bg_alter2.gif) left top repeat-x #FF9;
padding: 8px 12px 0 12px;
border-bottom: none;
font-size: 9px;
line-height: 11px;
}

div.incidencia {
padding-bottom: 7px;
background-color: #FF9;
background: url(../img/bg_alter2.gif) left bottom repeat-x #FF9;
}

div.incidencia p {
background: url(../img/ico_rodalies.png) 12px 2px no-repeat #FF9;
padding: 8px 12px 0 12px;
border-bottom: none;
font-size: 9px;
line-height: 11px;
text-indent: 18px;
}

p.no_novetats {
padding: 20px;
margin-top: 50px;
font-size: 120%;
line-height: 160%;
text-align: center;
border-bottom: none;
color: #999;
font-weight: bold;
}

p.info {
background-color: #eaeaea;
padding: 6px 10px;
color: #666;
font-size: 90%;
text-align: center;
border-bottom: none;
}

p.historial {
text-align: center;
background-color: #999;
font-size: 90%;
padding: 3px 0 2px 0;
}

/* historial */ 

.bigbox {
border: 1px solid #ccc;
background-color: #FFF;
margin-bottom: 15px;
margin-right: 15px;
}

.bigbox p {
padding: 12px;
border-bottom: 1px dotted #ccc;
}

#linies .bigbox .tweets {
height: auto;
}

/* variades */
      
      
.gris {
color: #666;
}

ul#twitter_list {

padding-bottom: 30px;}

ul#twitter_list li {
list-style-type: none;
border-bottom: 1px solid #ccc;
padding: 8px 0;
width: 430px;
float: left;
margin-right: 20px;
}

ul#twitter_list li img {
margin-right: 15px;
float: left;
}

#info_general h2 {
clear: both;
}

/* per linies */

p.ruta {
padding: 4px 4px 6px 16px;
font-size: 0.9em;
line-height: 1.1em;
color: #fff;
font-weight: bold;
height: 2.6em;
}

.r1, .r2, .r3, .r4, .r7, .r8, .r9 {
font-weight: bold;
font-size: 1.3em;
}

.r1 {
color: #6CF;
}

.r2 {
color:#690;
}

.r3 {
color: #F00;
}

.r4 {
color: #F90;
}

.r7 {
color: #96f;
}

.r8 {
color: #69F;
}

.r9 {
color: #6CC;
}

.box1 h2, .box1 p.ruta {
background-color:#6CF;
}

.box2 h2, .box2 p.ruta {
background-color:#690;
}

.box3 h2, .box3 p.ruta {
background-color:#f00;
}

.box4 h2, .box4 p.ruta {
background-color:#f90;
}

.box7 h2, .box7 p.ruta {
background-color: #96F;
}

.box8 h2, .box8 p.ruta {
background-color:#69f;
}

.box9 h2, .box9 p.ruta {
background-color: #6CC;
}

/* info general */

#info_general {
font-size: 1.2em;
line-height: 1.5em;
padding-top: 1em;
}

#info_general p {
margin-bottom: 1em;
}

#info_general ul {
padding-left: 2em;
margin-bottom: 1em;
}

#info_general li {
margin-bottom: 0.6em;
}

#info_general h2 {
background-color: transparent;
border-bottom: 1px solid #ccc;
color: #000;
font-size: 1.8em;
font-weight: normal;
letter-spacing: normal;
padding-left: 0;
margin: 1em 0 0.8em 0;
}

a img.logo {
padding: 2px;
border: 3px solid #eaeaea;
margin-right: 8px;
}

a:hover img.logo {
border-color: #ccc;
}

/*generiques*/


h1 {
letter-spacing: 0.05em;
margin-bottom: 8px;
font-weight: normal;
text-shadow: 1px 1px 1px #ccc;
}

h2 {
padding: 12px 0px 8px 16px;
background-color: #999;
color: #fff;
font-size: 160%;
letter-spacing: 0.04em;
}

#linies h2 {
padding-bottom: 0;
color: #fff;
}

h3 {
font-size: 150%;
font-weight: normal;
}

.esq {
float: left;
}

.dre {
float: right;
}

.clear {
clear: both;
}

.clearfix:after {
content: ".";
display: block;
height: 0;
clear: both;
visibility: hidden;
}

.clearfix {
display: inline-block;
}

/* Hides from IE-mac \*/
* html .clearfix {
height: 1%;
}

.clearboth {
display: block;
}

/* End hide from IE-mac */

/* links */

a {
color: #06c;
text-decoration: none;
}

a:visited {
color: #06c;
}

a:hover, .post .peu a:hover.font {
color: #39F;
}

a:active {
color: #000;
}

a:focus {
outline: none;
}

#idiomes a {
color: #666;
}

#idiomes a:hover {
color: #39f;
}

.box p.historial a, .box p.historial a:visited {
color: #FFF;
padding: 3px 10px;
}

.box p.historial a:hover {
color: #000;
}

.box h2 a, .box h2 a:visited {
color: #fff;
text-decoration: none;
}

.box h2 a:hover {
color: #eaeaea;
text-decoration: none;
}
