/*-----------------------------------------------------------------------------
Ysbyty Ifan (basic)
version:   1.1
author:    PJ WebWorks
-----------------------------------------------------------------------------*/

/* =General
-----------------------------------------------------------------------------*/

/* Remove padding and margin */
* {
  margin: 0;
	padding: 0;
}
/* Class for clearing floats */
.clear {
	clear:both;
}
/* Remove border around linked images */
img {
	border: 0;
}

/* =Typography
-----------------------------------------------------------------------------*/

p, td, th, li, ul, ol, h1, h2, h3, h4, h5, h6  {
	font-family: Verdana, Arial, Helvetica, sans-serif;
}


/* =Headings
-----------------------------------------------------------------------------*/
h1 {
	color: #044413;
	text-align: center;
	font-size: 1em;
	font-weight: bold;
	line-height: 1.3em;
	padding-top: 1em;
	padding-bottom: 0.5em;
	clear: both;
}
h2 {
	font-size: 0.8em;
	font-weight: bold;
	color: #044413;
	line-height: 1.5em;
	margin: 0px 15px;
	padding-top: 18px;
	padding-bottom: 3px;
	padding-right: 0px;
	padding-left: 0px;
	border-bottom-width: 2px;
	border-bottom-style: solid;
	border-bottom-color: #CCC;
}
h3 {
	font-size: 0.75em;
	font-weight: bold;
	color: #044413;
	line-height: 140%;
	margin: 0px;
	padding-top: 10px;
	padding-bottom: 0px;
	padding-right: 15px;
	padding-left: 15px;
	text-align: center;
}
h4 {
	font-size: 0.75em;
	font-weight: bold;
	color: #044413;
	line-height: 140%;
	margin: 0px;
	padding-top: 10px;
	padding-bottom: 0px;
	padding-right: 15px;
	padding-left: 15px;
	text-align: center;
}
p {
	font-size: 0.75em;
	font-weight: normal;
	color: #2E2E2E;
	line-height: 140%;
	margin: 0px;
	padding-top: 8px;
	padding-bottom: 8px;
	padding-right: 15px;
	padding-left: 15px;
}



/* =Links
-----------------------------------------------------------------------------*/
a:link {
	color: #090;
}
a:visited {
	color: #096;
}
a:hover {
	color: #0C0;
}
a:active {
	color: #0C0;
}


/* =Prime positioning
-----------------------------------------------------------------------------*/
body {
	text-align: center;
	min-width: 760px; /* content width plus 20 */
	background-color: #E1FFE1;
}
#wrapper {
	width: 736px;
	margin: 0px auto;
	text-align: left;
	background-color: #FFFFFF;
	border-right-width: 2px;
	border-left-width: 2px;
	border-right-style: solid;
	border-left-style: solid;
	border-right-color: #044413;
	border-left-color: #044413;
	border-bottom-width: 2px;
	border-bottom-style: solid;
	border-bottom-color: #044413;
}



/* =Topsec
-----------------------------------------------------------------------------*/
#topsec {
	border-bottom-width: 2px;
	border-bottom-style: solid;
	border-bottom-color: #044413;
	height: 180px;
	background-color: #106818;
}




/* =Primnav
-----------------------------------------------------------------------------*/
#primnav {
	margin: 0;
	padding: 0;
	width: 736px;
	background: #1F981E url(../i/navbar1.gif) repeat-x;
	border-bottom-width: 2px;
	border-bottom-style: solid;
	border-bottom-color: #044413;
}
#primnav p {
	color: #F9FFE6;
	margin-top: 0px;
	margin-bottom: 0px;
	padding-top: 5px;
	padding-bottom: 5px;
	font-weight: bold;
 }
#primnav a {
  padding: 0 1em 0 1em;
  line-height: 1.2em;
  text-decoration: none;
  color: #F9FFE6;
 }
#primnav a:hover {
	color: #6FFF6F;
}
.here {
  color: #6FFF6F !important;
}
#primnav .rightnav {
	float: right;
}

/* =Sub Nav
-----------------------------------------------------------------------------*/




/* =Main Content
-----------------------------------------------------------------------------*/
#content {
	background-color: #FFFFFF;
	margin-left: 30px;
	margin-right: 30px;
}




/* =Secondary Content
-----------------------------------------------------------------------------*/
.content1 { 
  width: 330px;
  float: left; 
}

.content2 {
	width: 330px;
	float: right;
} 
.content2 h1, .content2 h2 {
	color: #0058A5;
}



/* =Footer
-----------------------------------------------------------------------------*/
#footer {
	background-color: #F9FFE6;
}

/* botnav ID */
#botnav p {
	margin-top: 0px;
	margin-bottom: 0px;
}
#botnav p {
	text-align: center;
	padding: 5px;
	margin-right: 20px;
	margin-left: 20px;
	font-size: .7em;
	margin-top: 10px;
	margin-bottom: 10px;
	border-top: 2px solid #5A855B;
	border-bottom: 2px solid #5A855B;
	line-height: 1em;
}
/* printpage ID */
#printpage p {
	font-size: 70%;
	text-align: right;
	margin-top: 10px;
}
#printpage img {
	margin-left: 10px;
}
/* copyrightID */
#copyright { text-align: right; margin-top: 0px; margin-right: 10px; margin-bottom: 5px; margin-left: 10px}
#copyright p {
	font-size: 60%;
	text-align: right;
	line-height: 14px;
}



/* =Forms
-----------------------------------------------------------------------------*/

/* Removes fieldset borders. even on Opea 7 */
fieldset {
  border: 1px solid transparent;
}

/* =Tables
-----------------------------------------------------------------------------*/

table { 
  border-spacing: 0;
	border-collapse: collapse;
}

td {
  text-align: left;
	font-weight: normal;
}
.tariff {
	border: 2px solid #03320D;
	font-weight: normal;
	margin-top: 30px;
	background: #FCFFF2;
	margin-bottom: 30px;
}
.tariff b {  font-weight: bold; text-align: center}
.tariff ul {
	font-weight: normal;
	margin-right: 20px;
	margin-left: 40px;
	list-style-type: square;
	color: #993300;
	padding: 0px;
	font-size: .9em;
}
.tariff th {
	font-size: 0.8em;
	font-weight: bold;
	text-align: center;
	color: #7C1324;
	padding-top: 10px;
	padding-bottom: 5px;
}
.tariff td {
	padding: 5px 5px 5px 15px;
	margin: 0px;
	color: #005900;
	font-size: 0.75em;
}
/* credit cards horizontal */
.tariff .cards {
	margin-top: 2px;
	margin-bottom: 5px;
}
.tariff .cards img {
	vertical-align: middle;
	padding: 0px;
	margin-top: 0px;
	margin-right: 5px;
	margin-bottom: 0px;
	margin-left: 5px;
}

/* =Boxes
-----------------------------------------------------------------------------*/
/* linkbox */
.linkbox {
	font-size: .9em;
	border: 2px dotted #72A64A;
	float: right;
	width: 250px;
	margin: 10px 10px 10px 5px;
	background-color: #FFFFFF;
}
.linkbox h2 {
	text-align: left;
	margin-top: 5px;
	margin-bottom: 0px;
	padding-top: 0px;
	padding-bottom: 0px;
}
/* notice box */
.notice {
	background-color: #FFFFFF;
	margin-top: 5px;
	margin-right: 20px;
	margin-bottom: 5px;
	margin-left: 20px;
	border: 1px solid #03320D;
}
/* xmas bacground */
.xmas {
	background-image: url(../i/clip/holly.gif);
	background-repeat: no-repeat;
	background-position: 10px 10px;
}

/* =Photos
-----------------------------------------------------------------------------*/
.photobkr {
	float: right;
}
.photobkl {
	float: left;
}
.photobkc {
	margin-right: auto;
	margin-left: auto;
}
.photobkc .horiz2 {
	float: left;
	width: 50%;
}
.photobkc .horiz3 {
	float: left;
	width: 33%;
}
.photobkr, .photobkl, .photobkc  {
	margin-right: 10px;
	margin-left: 10px;
	margin-top: 10px;
	margin-bottom: 2px;
	text-align: center;
	clear: both;
}
.photobkr img, .photobkl img, .photobkc img {
	border: 1px solid #CCC;
	margin-right: auto;
	margin-left: auto;
}
.photobkr p, .photobkl p, .photobkc p {
	font-size: .7em;
	text-align: center;
	margin-top: 0px;
	padding-top: 0px;
	margin-bottom: 7px;
	padding-bottom: 0px;
}

/* =Misc 2
-----------------------------------------------------------------------------*/
#content ul {
	margin-left: 50px;
	font-size: 0.75em;
	color: #2E2E2E;
	line-height: 1.4em;
}
/* contact ID */
#contact {
	text-align: center;
	padding: 0px;
	margin-top: 20px;
	margin-right: 0px;
	margin-bottom: 20px;
	margin-left: 0px;
	clear: both;
}
/* float block right */
.bkr {
	float: right;
	width: 550px;
}
/* location map */
.map {
	margin-left: 100px;
}
#content .mainlist {
	font-weight: bold;
	color: #7C1324;
}
.domain {
	font-size: 1.4em;
	font-weight: bold;
	color: #5A855B;
	text-align: center;
	margin: 0px;
	padding: 0px;
}
#content .tariff ul {
	font-size: .9em;
}
.locmap {
	margin-left: 100px;
}
.grades {
	float: right;
	margin-top: 10px;
	margin-right: 10px;
	margin-left: 10px;
}.news2 {
	float: right;
	width: 200px;
}
.news1 {
	float: left;
	width: 200px;
	margin-right: 9px;
}
/* slideshow */
.slideshow {
	margin-right: 5px;
	margin-left: 5px;
	text-align: center;
	margin-top: 5px;
}
.slideshow img {
	border: 1px solid #CCC;
}

