/* Pyrenees Direct */

/* Has the background image for the diagonal stripes on the right. */

html {
background-image: url(images/right_side.gif);
background-repeat: repeat-y;
background-position: top right;
}

/* Has the background image for the diagonal stripes on the left. */

body {
margin: 0;
font-family: verdana, arial, helvetica, sans-serif;
background-image: url(images/left_side.gif);
background-repeat: repeat-y;
color: #000000;
}

/* Banner across top of page that says the name of the whole site */

#main-title {
margin: 0px 110px 0px 110px;
font-size: 1.2em;
letter-spacing: 5px;
text-align: right;
padding-bottom: 120px;
font-weight: bold;
padding-top: 18px;
padding-right: 50px;
background-image: url("images/pdlogo-green.jpg" );
background-repeat: no-repeat;
background-position: center;
background-color: #016e82;
color: #ffffff;
border-top: 1px #000000 solid;
border-bottom: 1px #000000 solid;
}

/* To create the main image near the top of the page. */

#header-image {
background-image: url("images/Pyrenees Stripe.jpg" );
background-color: #016e82;
background-repeat: no-repeat;
background-position: center;
height: 175px;
border-top: 2px #7eebff solid;
border-bottom: 2px #7eebff solid;
margin-left: 110px;
margin-right: 110px;
}

/* For the main navigation bar for the site. */

#navbar {
margin-bottom: 0;
margin-left: 110px;
margin-right: 110px;
font-size: .9em;
text-align: center;
margin-top: 0;
padding-bottom: 8px;
font-weight: bold;
padding-top: 8px;
background-color: #265057;
color: #ffffff;
word-spacing: 8px;
border-top: 2px #7eebff solid;
border-bottom: 2px #811400 solid;
}

#navbar a:link, #navbar a:visited {
color: #ffffff;
word-spacing: none;
}

#navbar a.current {
color: #fe917d;
}

#navbar a:hover {
color: #fe917d;
text-decoration: underline;
}

/* For the pullquote or other text directly under the navigation bar. */

#headline {
font-size: medium;
padding-top: 10px;
text-align: justify;
background-color: #dbeeff;
padding-left: 100px;
padding-right: 100px;
margin-left: 110px;
margin-right: 110px;
margin-bottom: 0;
line-height: 1.5em;}

/* For the byline on the pullquote. */

p.byline {
text-align: right;
margin-bottom: 0;
}

h1 {
margin-left: 110px;
margin-right: 110px;
font-size: .9em;
padding-bottom: 3px;
padding-top: 23px;
padding-left: 50px;
padding-right: 0;
color: #000000;
border-bottom: 1px #fe917d solid;
letter-spacing: 5px;
font-weight: bold;
background-color: #dbeeff;
margin-top: 0;
margin-bottom: 0;
}





/* Contains all the main body of text on the page, including the h2 elements. */

#main-text {
background: url("images/bg.jpg" );
margin-top: 0;
margin-bottom: 0;
margin-left: 110px;
margin-right: 110px;
font-size: .9em;
line-height: 1.8em;
background-color: #e1ecee;
}

#main-text p {
text-align: justify;
margin-left: 50px;
margin-right: 50px;
}

h2 {
padding-bottom: 3px;
padding-right: 0;
color: #000000;
border-bottom: 1px #000000 solid;
letter-spacing: 5px;
font-weight: bold;
margin-left: 50px;
margin-right: 50px;
font-size: 1em;
margin-top: 0;
padding-top: 10px;
}



p, ul, ol, table {
margin-top: 17px;
margin-bottom: 0;
margin-left: 50px
}

ol, ul {
margin-left: 75px;
margin-right: 75px;
}

a:link, a:visited {
text-decoration: none;
font-weight: bold;
color: #811400;
}

a:hover {
text-decoration: underline;
}




/*This bit gives a box within a box for the addresses at the bottom*/

#container { 
margin: 0 50px; 
padding: 5px; 
text-align: center; /* IE 5.x center */ 
} 


.box { 
background: transparent;
margin: 5px; 
border: 1px solid #811400; 

display: -moz-inline-box; /* For FF<3 */ 
-moz-box-orient: vertical; /* For FF<3 */ 
display: inline-block; /* IE <8 needs this tripped back to display: inline; to make it work on block elements - see conditional below */ 
width: 20em; /* now optional */ 
vertical-align: top; /* explicitly declare your preference as Moz inline-box auto aligns to top */ 

text-align: left; /* to left align text within divs when container has been set to center */ 

} 

.box p {margin: 0.5em;} 


/*[if lt IE 8]> 

.box {display: inline;} /* this is to make inline-block work on block elements versions <IE8 */ 
 
/*[endif]*/





/* Styles for the footer at the bottom of the page */

#footer {
text-align: center;
margin-bottom: 0;
padding-top: 8px;
padding-bottom: 8px;
font-size: .75em;
margin-top: 20px;
padding-right: 50px;
background-color: #811400;
color: #ffffff;
font-weight: bold;
border-top: 1px #000000 solid;
border-bottom: 1px #000000 solid;
}

#footer a:link, #footer a:visited {
color: #ffffff;
text-decoration: none;
}

#footer a:hover {
text-decoration: underline;
color: #ffffff;
}