/**************************************************************
   AUTHOR:  Pat Heard (fullahead.org)
   DATE:    2006.09.12 
   PURPOSE: Styles the html elements
 **************************************************************/

/* http://meyerweb.com/eric/tools/css/reset/ 
   v2.0 | 20110126
   License: none (public domain)
*/

html, body, div, span, applet, object, iframe,
h1, h2, h3, h4, h5, h6, p, blockquote, pre,
a, abbr, acronym, address, big, cite, code,
del, dfn, em, img, ins, kbd, q, s, samp,
small, strike, strong, sub, sup, tt, var,
b, u, i, center,
dl, dt, dd, ol, ul, li,
fieldset, form, label, legend,
table, caption, tbody, tfoot, thead, tr, th, td,
article, aside, canvas, details, embed, 
figure, figcaption, footer, header, hgroup, 
menu, nav, output, ruby, section, summary,
time, mark, audio, video {
	margin: 0;
	padding: 0;
	border: 0;
	font-size: 100%;
	font: inherit;
	vertical-align: baseline;
}
/* HTML5 display-role reset for older browsers */
article, aside, details, figcaption, figure, 
footer, header, hgroup, menu, nav, section {
	display: block;
}
body {
	line-height: 1;
}
ol, ul {
	list-style: none;
}
blockquote, q {
	quotes: none;
}
blockquote:before, blockquote:after,
q:before, q:after {
	content: '';
	content: none;
}
table {
	border-collapse: collapse;
	border-spacing: 0;
}

/* Forces horizontal scrollbar on in Mozilla */
html {
  margin-bottom: 1px;
}

html,
body {
  height: 100%;
}

body {
  margin: 0;
  padding: 0;
  text-align: center;

  font: 400 0.8em georgia, serif;
  line-height: 180%;

/*  background: url(../img/bg/body.jpg) repeat top left; */
  background: url(http://gormaya.com.s3.amazonaws.com/img/bg/board.jpg) repeat top left;  
  color: #6D6864;
}

/* Smartphones (landscape) */
@media only screen and (min-width : 321px) {
body {
  margin: 0;
  padding: 0;
  text-align: center;

  font: 400 0.8em georgia, serif;
  line-height: 180%;

/*  background: url(../img/bg/body.jpg) repeat top left; */
  background: url(http://gormaya.com.s3.amazonaws.com/img/bg/board.jpg) repeat top left;    
  color: #6D6864;
}
}

/* Smartphones (portrait) */
@media only screen and (max-width : 320px) {
body {
  margin: 0;
  padding: 0;
  text-align: center;

  font: 400 0.8em georgia, serif;
  line-height: 180%;

  background: none;
  color: #6D6864;
}
}

/* Kindle Fire */
@media only screen and (min-width:600px) {
body {
  margin: 0;
  padding: 0;
  text-align: center;

  font: 400 0.8em georgia, serif;
  line-height: 180%;

  background: none;  
  color: #6D6864;
}
}

/* iPad */
/* @media only screen and (min-device-width : 768px) and (max-device-width : 1024px) { */
@media only screen and (min-width:768px) {
body {
  margin: 0;
  padding: 0;
  text-align: center;

  font: 400 0.8em georgia, serif;
  line-height: 180%;

/*  background: url(../img/bg/body.jpg) repeat top left; */
  background: url(http://gormaya.com.s3.amazonaws.com/img/bg/board.jpg) repeat top left;  
  color: #6D6864;
}
}

h1, h2, h3, h4, h5, h6, p, dl {
  margin: 0;
  padding: 10px 0;
}

h1 {   
  clear: both;
  font: 400 1.9em georgia, serif;
  color: #532406;
}

h2 {
  clear: both;
  font: 400 1.3em georgia, serif;
  color: #61804E;
}

h3 {
  font: 700 1.1em georgia, serif;
  color: #8F512A;
}

h4 {
  font: 400 0.9em georgia, serif;
  text-transform: uppercase;
}

a {
  text-decoration: none;
  color: #5E9040;  
/*  border-bottom: 1px solid #B8E78B; */
}


a:visited {
/*  background-color: #F1FFE3; */
}

a:hover {
/*  color: #3C5D29;
  background-color: #F1FFE3; */
/*  border-bottom: 1px solid #4A6E35; */
}


ol {  
  margin: 10px 30px;
  padding: 0 30px;

  font-size: 1.4em;
  color: #532406;
  background-color: #FFF;
}

ol span {
  font-size: 0.7em;
  color: #6D6864;
}

ul {
/*
  margin: 10px 30px;
  padding: 0 30px 0 5px; */
  margin: 3.13% 9.38%;
  padding: 0 9.38% 0 1.57%;
  list-style: none;
}

ul li {
/*  padding-left: 25px; */
  padding-left: 15%;
  background: url(http://gormaya.com.s3.amazonaws.com/img/bg/bullet.gif) no-repeat;
/*  background-position: 0 3px; */
  background-position: 0 1%;
}

acronym {
  cursor: help;
  border-bottom: 1px solid #DDD;
}

blockquote {
  margin: 10px 0;
  background-color: #F1FFE3;
  border-bottom: 1px solid #B8E78B;
}

blockquote p {
  margin: 0.4em 0.8em;
}

del {
  color: #AAA;
}

code {
  margin: 15px 0;
  padding: 10px;
  display: block;
  overflow: auto;
  
  font: 400 1em courier, monospace;
  line-height: 120%;
  white-space: pre;
  
  background: #F4F4F4;
  border-bottom: 1px solid #D3D3D3;
}



/**************************************************************
   Tables
 **************************************************************/

table {
  width: 100%;
  margin-bottom: 10px;  
  
  font-size: 1em;
  border-collapse: collapse;
}

table caption {
  margin-top: 10px;
  padding: 0 0 0.5em 3px;

  font: 400 0.8em georgia, sans-serif;
  text-align: left;  
}

table th,
table td {
  text-align: left;
  vertical-align: top;
  padding: 4px 7px !important;
  padding: 6px 10px;
}


thead th {
  background-color: #F1FFE3;
  border-bottom: 1px solid #B8E78B;
}

tbody tr.dark {
  background-color: #F5F5F5;
}

tbody td {
  border-bottom: 1px solid #DDD;
}

tbody tr:hover {
  background-color: #FBFEDF;
}

/**************************************************************
   Form Elements
 **************************************************************/

label {
  float: left;
  text-align: right;
  width: 9em;
  padding-right: 1em;
  
}


input,
textarea,
select {
  padding: 4px;
  font: 400 1em georgia, sans-serif;
  
  color: #666;
  background: #FFF;
  border-width: 1px;
  border-style: solid;
  border-color: #888 #DDD #DDD #888;  
}


input:focus,
textarea:focus,
select:focus {  
  padding: 3px;
  color: #000;
  background: #F1FFE3;
  border-width: 2px;
}

input.button {
  padding: 1px 10px;

  font: 400 1em georgia, sans-serif;
  cursor: pointer;

  color: #fff;
  background: #508231;
  border-width: 1px;
  border-style: solid;
  border-color: #B8E78B #2D5018 #2D5018 #B8E78B;
}

.required {
  cursor: help;
  border-bottom: 1px solid #CCC;
}



/**************************************************************
   Images
 **************************************************************/
 
img,
embed,
object,
video {
	max-width: 100%;
}

img.floatRight {
  margin: 5px 0px 10px 15px;  
}

img.floatLeft {
  margin: 5px 15px 10px 0px;
}

img.center {
  display: block;
  margin-left: auto;
  margin-right: auto;
  padding-top: 5px;
  padding-bottom: 5px;
  text-align: center;
}

img.nomargin {
  margin: 0px 0px 0px 0px;
  float: none;
  padding: 0 0 0 0;
}

/*
a img {
	border-color: white;
	border-style: solid;
	border-width: 4px;
}

a:hover img { 
  border: 4px solid #b8e78b;
}

a img {  
  border: 4px solid #D5C9C2;
}

a:hover img {  
  border: 4px solid #BAAAA1;
}
*/

