/*
Author        : Nandakumar Chandrasekhar
Author URI    : http://w3boutique.net
Website       : http://www.srf-perthgroup.com
Description   : CSS styles for Perth Meditation Group an affiliate of SRF
First Written : 07 Sep 2009
Last Revised  : 22 Jan 2010
Last Revised  : 28 Feb 2012 Major redesign update to HTML5/CSS3
Version       : 1.1
Copyright     : Nandakumar Chandrasekhar, w3boutique Web Development and Design 2012
*/

/************** Reset margins and paddings across all browsers **************/
* {
    margin: 0;
    padding: 0;
}
/****************************************************************************/

/************** General styles for all HTML elements **************/
body {
    background: url(../images/midnightblue-gradient.jpg) 0% 0% repeat-x;
    width: 100%; /* Fill the entire browser window */
    min-width: 700px; /* Minimum width to maintain readability */
    font-family: 'Open Sans'; /* Google Web Font */
    font-size: 100%;
    font-weight: normal;
    font-style: normal;
    line-height: 1.5;
    color: black;
}

/* Before and after skips and font sizes for headings and paragraphs */
h1, h2, h3 {
    margin: 0.5em 0 0.2em 0; /* ems for scalability with font size */
    font-family: 'Droid Serif'; /* Google Web Font */
}

h1 {
    font-size: 200%;
}

h2 {
    font-size: 170%;
}

h3 {
    font-size: 140%;
}

p {
    margin: 0.4em 0 0.8em 0; /* ems for scalability with font size */
}

a {
    text-decoration: none;
}

a:hover {
    text-decoration: underline;
}
/******************************************************************/
/************** Header Styles **************/
header img {
    width: 70%;
    display: block;
    margin: 0.5em auto 0.5em auto;
}
/*******************************************/

/************** Two-column Liquid Layout **************/
.container-0 {
    clear: both;
    float: left;
    width: 70%; /* width of whole page */
    position: relative; /* Fixes the IE7 overflow hidden bug */
    overflow: hidden; /* Chops off any overhanging divs */
    background-color: white;
    left: 15%; /* Move container-0, or main column background, 10% to the right
    this centers the content area */
}

.container-1 {
    float: left;
    width: 100%;
    position: relative;
    background-color: #191970;
    right: 75%;
}

/* No padding; column widths are adjusted instead */
.nav-column, .main-column {
    float: left;
    position: relative;
    overflow: hidden;
    padding-bottom: 2em;
}

.main-column {
    width: 69%; /* main colour width minus left and right padding; 75% - 3% - 3% = 69% */
    left: 103%; /* 100% plus left padding of main-column; 100% + 3% = 102% */
}

.nav-column {
    width: 19%; /* left colour width minus left and right padding; 25% - 3% - 3% = 19% */
    left: 9%;   /* left and right padding of main-column + left padding of nav-column 3 + 3 + 3 = 9 */
}
/******************************************************/

/************** Footer Styles **************/
footer {
    width: 70%;
    background-color: transparent;
    float: left;
    position: relative;
    left: 15%;
    padding-bottom: 0.5em;
}

footer p {
    text-align: center;
    font-size: 80%;
    margin: 0;
    padding-top: 0.4em;
}

footer p + p {
    margin: 0;
    padding-top: 0;
}

footer img.w3boutique-footer-logo {
    vertical-align: text-top;
}

footer a:hover img.w3boutique-footer-logo {
    background-color: #ffdab9; /* PeachPuff */
}
/*******************************************/

/************** Navigation Styles **************/
.nav-column ul {
    list-style-type: none;
    padding-top: 1.3em;
}

.nav-column li {
    color: white;
    background-color: transparent;
    padding-top: 0.5em;
}

.nav-column li a {
    color: inherit;
    text-decoration: none;
}

.nav-column li a:hover {
    background-color: #ffd700; /* gold */
    color: black;
}
/***********************************************/

/************** Homepage specific styles **************/
.generic-table th, .generic-table td {
    padding-right: 20px;
    padding-bottom: 10px;
    padding-top: 10px;
    text-align: left; /* Added so that Opera left aligns table headings */
}

a img {
    border: none; /* Removes blue border on images that are links in IE */
}
/******************************************************/

/************** Embedded Fonts **************/
@font-face {
    font-family: 'Open Sans';
    src: url('../fonts/opensans-regular.eot');
    src: url('../fonts/opensans-regular.eot?#iefix') format('embedded-opentype'),
    url('../fonts/opensans-regular.woff') format('woff'),
    url('../fonts/opensans-regular.ttf') format('truetype'),
    url('../fonts/opensans-regular.svg#OpenSansRegular') format('svg');
    font-weight: normal;
    font-style: normal;
}

@font-face {
    font-family: 'Droid Serif';
    src: url('../fonts/droidserif-regular.eot');
    src: url('../fonts/droidserif-regular.eot?#iefix') format('embedded-opentype'),
    url('../fonts/droidserif-regular.woff') format('woff'),
    url('../fonts/droidserif-regular.ttf') format('truetype'),
    url('../fonts/droidserif-regular.svg#DroidSerifRegular') format('svg');
    font-weight: normal;
    font-style: normal;
}
/********************************************/
