/* TITLE: Stylesheet for Purple Haze
 * URI  : /purplehaze/purplehaze.css
 * MODIF: 2002-12-15 17:34 +0800
 * Addaswyd gan Curiad Oer - 2004-11-08
 */

/* ###### Color Scheme ###### */

/*
 * CHANGING THE COLOR SCHEME
 * -------------------------
 * 
 * Four basic colors were used in the design. To change the
 * color scheme, just edit these four values below.
 *
 */

.topOfPage, q, h1, h2, h3, .headerTitle, .headerLinks, .headerLinks *, .sideBox div, .calBox div, .nextBox div, #footer *
{ /* Text Color: */  color: #4040ff; }

.headerTitle
{ /* Header Title: */ color: #ff0000; }

q, h2,  #header, .sideBox, .sideBox div, .nextBox, .calBox div, .nextBox div, #footer
{ /* Border Color: */  border-color: #4040ff; }

#header, .sideBox div, .sideBox a:hover, .nextBox div, .calBox div, .nextBox a:hover
{ /* Background Color (darker): */  background-color: #e0e0ff; }

q, .sideBox a, .sideBox span, .calBox a, .calBox span, .nextBox a, .nextBox span, #footer
{ /* Background Color (lighter): */  background-color: #f4f4ff; }


/* ###### Browser-specific Styles ###### */

/* For IE & Mozilla-based browsers: */

.LHS {
  margin-left: 2.5mm;
  float: left;
  clear: left;
  width: 10em;
}

.RHS {
  margin-right: 2.5mm;
  float: right;
  clear: right;
  width: 20em;
}

/* For Mozilla-based (CSS2-fully complaint) browsers only: */

[class~="LHS"] {
  margin-left: 5mm;
  width: 10em;
}

[class~="RHS"] {
  margin-right: 5mm;
  width: 20em;
}

.clearfix:after {
  content: "."; 
  height: 0; 
  clear: both; 
  visibility: hidden;
  display: block;
}

.clearfix {
   display: inline;
}

/* Hides from IE-mac \*/
* html .clearfix {height: 1%;}
.clearfix {display: block;}
/* End hide from IE-mac */

/* ###### Body Text ###### */

#bodyText {
  line-height: 1.4em;
  margin: 5mm 23em 0 13em;
  padding: 0 0em 1ex 0em;
}

#bodyText p {
/*  padding-bottom: 0.5ex; */
}

#bodyText a, a:hover, a:visited {
  text-decoration: none;
  color: #4040ff;
}

#bodyText a:hover {
  color: #ff0000;
  background-color: #e0e0ff;
}

#mainBody {
  max-width: 1020px;
  width: expression(document.body.clientWidth > 1020 ? "1020px" : "auto");
  margin: 0 auto;
}

.topOfPage {
  font-size: 90%;
  font-weight: bold;
  font-variant: small-caps;
  text-decoration: none;
  padding-left: 1ex;
  padding-right: 1ex;
  float: right;
}

.smallCaps {
  font-variant: small-caps;
}

.priffwydlen {
  font-weight: bold;
}
.isfwydlen {
  font-size: 85%;
}

body {
  background-color: white;
  color: black;
  font-family: verdana, tahoma, helvetica, arial, sans-serif;
  font-size: 75%;
  margin: 0;
}

h1, h2, h3 {
  font-family: "trebuchet ms", tahoma, sans-serif;
}

h1 {
  font-size: 135%;
  border-bottom: 1px solid;
  padding-bottom: 0.5ex;
  margin-bottom: 2ex;
}

h2 {
  font-weight: bold;
  font-size: 130%;
  padding-bottom: 0.5ex;
  line-height: 120%;
}

h3 {
  font-weight: bold;
  font-size: 120%;
  padding-bottom: 0.5ex;
}

h4 {
  font-weight: bold;
  font-size: 100%;
  padding-bottom: 0.5ex;
}

acronym {
  background-color: inherit;
  color: teal;
  border-bottom: 1px dashed teal;
  cursor: help;
}

code {
  font-family: "lucida console", monospace;
  font-size: 90%;
}

img {
  border: 0;
}

q {
  font-family: tahoma, verdana, helvetica, arial, sans-serif;
  font-weight: bold;
  border: 2px dotted;
  margin: 0 1em 1ex 1em;
  padding: 0.5ex 0.5ex 0.5ex 1ex;
  width: 9em;
  float: left;
}

.rssLogo {
  float: right;
  font-size: 0px;
}
.rssLogo img {

  background-color: transparent;
}

/* ### Lluniau ### */

.infoPic1, .infoPic2 {
  border: 1px solid #4040ff;
  margin: 0.5em;
  padding: 2px;
}

.infoPic1 {
  float: left;
}

.infoPic2 {
  float: right;
}

.infoPicCaption {
  margin: 0.5em;
  font-size: 8pt;
}

/* ###### Header ###### */

#header {
  border-bottom: 2px solid;
  height: 3.5em;
  margin-bottom: 1mm;
  padding: 2mm 1mm 0 5mm;
}

.headerTitle {
  font-size: 210%;
}

.headerLinks {
  text-align: right;
}

.headerLinks * {
  text-decoration: none;
  font-weight: bold;
  padding-right: 1ex;
}

.headerLinks a:hover {
  text-decoration: underline;
}

/* ###### Google Map ##### */
#container_frb {
  margin: 0 auto;
  width: 95%;
  height: 340pt;
  border: 1px black solid;
}

#minipage {
  margin-top: 5px;
  width: 250px;
}

.gwglMapFrame {
  margin-top: 53px;
}

.gwglfapTeitl {
  font-family: "trebuchet ms", tahoma, sans-serif;
  font-size: 110%;
  font-weight: bold;
  color: #4040ff;
}
 
.gwglfapDyddiad {
  font-weight: bold;
  font-size: 90%;
}
 
.gwglfapCyfeiriad {
  font-size: 90%;
}
 
.label {
  font-size: small;
  font-family: sans-serif;
}
 
#toggle {
  visibility: hidden;
}


/* ###### Side Box ###### */

.sideBox {
  border-top: 2px solid;
  border-bottom: 2px solid;
  margin-top: 1em;
  margin-bottom: 1em;
}

.sideBox RHS {
  width: 20em;
}

.sideBox div {
  font-weight: bold;
  border-bottom: 1px dashed;
  padding: 0.5ex 0.5em 0.5ex 0.75em;
}

.sideBox a, .sideBox a:visited, .sideBox a:hover, .sideBox span {
  color: #000000;
  text-decoration: none;
  line-height: 1.25em;
  display: block;
  padding: 0.5ex 0.5em 0.5ex 0.75em;
}

.sideBox table {
  width: 100%;
}

/* ###### Calendar Box ###### */

.calBox {
  height: 201px;
  border-top: 2px solid;
  border-bottom: 2px solid;
  margin-top: 1em;
  margin-bottom: 1em;
}

.calBox RHS {
  width: 20em;
}

.calBox .title {
  font-weight: bold;
  border-bottom: 1px dashed;
  padding: 0.5ex 0.5em 0.5ex 0.75em;
}

.calBox a, .calBox a:visited, .calBox a:hover, .calBox span {
  color: #4040ff;
  text-decoration: none;
  line-height: 1.25em;
  display: block;
  padding: 0.5ex 0.5em 0.5ex 0.75em;
}

/* ######### Next Box ###### */


.nextBox {
  border-top: 2px solid;
  border-bottom: 2px solid;
  margin-top: 1em;
  margin-bottom: 1em;
}

.nextBox div {
  font-weight: bold;
  border-bottom: 1px dashed;
  padding: 0.5ex 0.5em 0.5ex 0.75em;
}

.nextBox a, .nextBox a:visited, .nextBox a:hover, .nextBox span {
  color: black;
  text-decoration: none;
  line-height: 1.25em;
  display: block;
  padding: 0.2ex 0em 0.1ex 0.75em;
}

.nextContent {
  font-size: 90%;
}


/* ###### Tables ###### */

.calTable {
  width: 100%;
  height: 179px;
  text-align: center;
}

.calTable a {
  color: #4040ff;
}

.calTable a:hover {
  background-color: #e0e0ff;
}

.calTable .calendarHeader {
  font-weight: bold;
  font-size: 0.8em;
}

.calTable .calendarRow {
  background-color: #f0f0ff;
  font-size: 0.8em;
}

.calTable .calendarRowBig {
  background-color: #f0f0ff;
  font-size: 1em;
}

.calTable td {
  height: 1ex;
}

.calTable .past {
  color: #aaaaaa;
}

.calTable .todaysDate {
  border: 1px solid #000000;
}

#calendar0, #calendar1 {
  width: 20em;
  position: absolute;
}

#calendar1 {
  visibility: hidden;
}

.ystadegau {
  border: 1px dashed #4040ff;
}

.ystadegau th {
  background-color: #e0e0ff;

}

/* ###### search box ###### */

.formBox {
  background-color: #f0f0ff;
  border: 1px dashed #4040ff;
  padding: 0.5ex 0.5em 0.5ex 0.5em;
  margin: 5px 0 5px 0;
}

.formBox .formBoxRow {
  padding-top: 10px;
}

.formBox .labelw {
  text-align: right;
  padding-right: 0.5em;
}

.formBox .formw {
  text-align: left;
} 

.formBox .formw select, optgroup, option {
  font-size: 8pt;
  background-color: #ffffff;
}

.formw optgroup {
  background-color: #f0f0ff;
}

input.button {
  padding: 1px;
  border: 1px solid #4040ff;
  color: #4040ff;
  background: #e0e0ff;
  font-weight: bold;
}

/* ###### Search Results ###### */

.canlyniadFaint {
  position: relative;
  height: 1.5em;
}

.canlyniadFaint div {
  font-weight: bold;
}

.canlyniadFaint .chwith {
  position: absolute;
}

.canlyniadFaint .dde {
  position: absolute;
  right: 0;
  text-align: right;
}

#canlyniadRhestr, #canlyniadManylion {
  display: block;
  line-height: 1.2em;
}

.canlyniadTeitl {
  padding: 0.5ex 0 0.5ex 0.5ex;
  background-color: #e0e0ff;
  margin-top: 0.5em;
  margin-bottom: 0.2em;
  border-top: 2px solid #000000;
}

.canlyniadIsDeitl {
  margin: 0;
  padding: 0.5ex 0 0 0.5ex;
  background-color: #f0f0ff;
}

.canlyniadCrynodebTeitl {
  font-weight: bold;
}

.canlyniadCrynodebTeitl, .canlyniadCrynodebIsDeitl {
  margin: 0;
  padding: 0.5ex 0 0 0.5ex;
}

.canlyniadManylionLlawn p {
  line-height: 1.2em;
  margin: 1ex 0ex 1ex 0.5ex;
  padding: 0 0 0 0;
}

.canlyniadTrafod {
  font-size: 90%;
  text-align: right;
  background-color: #f0f0ff;
}

#canlyniadTroedyn {
  font-size: 90%;
  text-align: right;
  line-height: 1.5em;
}
#canlyniadTroedyn p {
  margin: 0;
}

/* ###### Footer ###### */

#breaker {
clear: both;
}

#footer {
  color: inherit;
  border-top: 2px solid;
  border-bottom: 2px solid;
  padding-top: 0.15ex;
  padding-bottom: 0.75ex;
  clear: both;
}

.footerImg {
  padding-right: 3mm;
  padding-top: 0.5mm;
  float: right;
}

#footer div {
  padding-left: 3mm;
}

#footer * {
  background-color: inherit;
  font-size: 100%;
}

#footer a:hover {
  text-decoration: none;
}

.footerCol2 {
  position: absolute;
  left: 7em;
}
