/********** fonts and colors **********/



body {
    font-family: Helvetica, Arial, sans-serif;
    font-size: 16px;
    line-height: 150%;

    background-color: #79ABE8;
    background-image: url(/images/sky.gif);
    background-attachment: fixed;
    background-repeat: repeat-x;
}

h1 {font-size:2em}
h2 {font-size:1.5em}
h3 {font-size:1.25em}
h4 {font-size:1em}

h3,h4 {
    margin-top: 2em;
}

code {
    font-size: 13px;
    line-height: 1.5em;
}

img {
    border: none;
    margin: 0;
    padding: 0;
}




/********** layout **********/

html, body {
/*    position: relative;*/
    height: 100%;
    margin: 0;
    padding: 0;
}

#container {
    z-index: 1;
	width: 760px; /*940px;*/
	min-width: 35em;
	margin: 0;
	margin-left: auto;
	margin-right: auto;
	padding: 0;
	position: relative;
}

#header {
    position: relative;
    float: left;
    width: 100%;
    cursor: default;
	color: #fff;
}

#page {
    position: relative;
    background: #fff;
    color: #000;
    clear: both;
    float: left;
    width: 100%;
}

#content {
    margin: 0;
    position: relative;
	padding: 1em 2em 2em 2em;
    clear: both;
}


.accountFooter {
	margin: 0;
	padding: 0;
	padding-top: .5em;
    font-size: .8em;
    text-align: right;
    clear: both;
}
    .accountFooter a {
        text-decoration: none;
        padding: .2em;
        margin: 0;
        color: #000; 
    }

    .accountFooter a:hover {
        text-decoration: underline;
    }
    
    .accountFooter .logout {
        font-weight: bold;
    }

#footer {
	clear: both;
	font-weight: bold;
	font-size: .9em;
	text-align: center;
	padding-bottom: 30px;
	color: #fff;
}

#footer a, #footer a:visited {
    color: #fff;
    text-decoration: none;
}

#footer a:hover {
    text-decoration: underline;
}


/********** title **********/

#wmd, #wmd img {
    float: left;
    margin: 0;
    padding: 0;
}

#wmd {
    margin-top: 30px;
}

#title {
    font-size: 6.5em;
    margin: 0;
    margin-top: .3em;
    padding: 0;
    line-height: 69%;
    float: left;
    font-family: arial, helvetica, sans-serif;
    font-weight: bold;
}


#header h2 {
    display: none;
}


/********** navigation **********/
.nav, .nav li {
	margin: 0;
	padding: 0;
}

.nav li {
	display: inline;
	list-style-type: none;
}

.nav a:link, .nav a:visited {
    float: left;
	font-weight: bold;
	margin: 0;
	margin-left: .2em;
	padding: .25em .5em;
	text-decoration: none;
	color: #fff;
}

.nav a.selected, .nav a.selected:visited, .nav a.selected:hover
{
	background: #fff;
	color: #000;
}

.nav a:hover, .nav a:active
{
	background: #95B6E1;
	color: #fff;
}



#topnav {
	position: absolute;
	bottom: -1px;
	right: 0;
}


#topnav a.subselected
{
	background: #C8DEFF;
	color: #000;
}

#subnav {
	position: relative;
	margin: 0;
	padding: 0;
	float: left;
	width: 100%;
}


#subnav ul {
    margin: .5em;
    margin-bottom: 0;
    float: right;
}

#subnav {
    background: #C8DEFF;
}

#subnav a{
    background: #C8DEFF;
	color: #000;
}

#subnav a.selected, #subnav a.selected:hover
{
	background: #fff;
}

#subnav a:hover, #subnav a:active
{
	background: #95B6E1;
	color: #000;
}

	
/********** background **********/

#background {
    position: relative;
    min-height: 100%;
}

#cloud1,#cloud2,#cloud3 {
    background-attachment: fixed;
    background-repeat: no-repeat;
    width: 100%;
    height: 100%;
    position: absolute;
    top: 0;
    left: 0;
}

#cloud1 {
    background-position: 90% 0px;
    background-image: url(/images/cloud1.jpg);
}

#cloud2 {
    background-position: -5% 277px;
    background-image: url(/images/cloud2.jpg);
}

#cloud3 {
    background-position: 105% 459px;
    background-image: url(/images/cloud3.jpg);
}

#grass {
    display: none;
    background: #859C5E;
    background-image: url(/images/ground-gradient.png);
    margin: 0;
    padding: 0;
    width: 100%;
    height: 75px;
    position: fixed;
    bottom: 0;
}


/* iehack: disable fancy background on ie6 */
* html body, body.scroll, body.scroll #background * {
    background-attachment: scroll;
}


* html #background {
	height: 100%;
    position: static;
}

* html #grass, body.scroll #grass {
	position: absolute;
}

* html #grass {
    display: none;
}


/********** demo pages **********/

a.demo {
    text-decoration: none;
    color: #000;
}

a.demo:hover {
    text-decoration: underline;
}

textarea {
    width: 40em;
    font-family: monospace;
}

.wmd-preview {
    padding-top: 2em;
}

.wmd-preview h1 {font-size: 1.5em;}
.wmd-preview h2 {font-size: 1.2em;}
.wmd-preview h3 {font-size: 1.1em;}
.wmd-preview h4 {font-size: 1.0em;}
.wmd-preview h5 {font-size: 0.8em;}
.wmd-preview h6 {font-size: 0.7em;}

.wmd-preview code {
    font-size: 1.1em;
}

.wrapper {
    border: 1px solid black;
    min-height: 2em;
    background: #EDF2FE;
}



/********** plans page **********/

.plans {
	margin: 0 auto;
	width: 100%;
	background: #fff;
	border-collapse: collapse;
}

.plans td, .plans th {
	font-size: .9em;
	padding: 5px;
	text-align: center;
	font-weight: normal;
	vertical-align: middle;
	border: 1px solid #9EBBE6;
}

.plans th {
	text-align: right;
}

.plans th div {
    margin-bottom: .5em;
	color: #888;
}

.plans .corner {
	border: none;
}

.plans tr.top th {
	font-size: 1em;
	text-align: center;
}

.plans tr.trial {
	background-color: #E5F0FF;
}

.sales {
	font-size: .8em;
	text-align: center;
}

.custom a, .plans a {
	color: #228;
	text-decoration: none;
}

.custom a:hover, .plans a:hover {
	text-decoration: underline;
}



/********** login page **********/

#login {
    float: left;
    padding: 1em;
    width: 45%;
    padding: 0;
    margin-left: 3em;
}

#login #email, #login #password {
    width: 70%;
}

#login h3 {
    margin: 0;
}

#loginSidebar {
    width: 40%;
    float: right;
    margin-top: .5em;
    font-size: .9em;
}

/********** sites page **********/


.site {
    border: 1px solid #88a;
    padding: 0 .5em;
    margin-left: 2em;
    background: #EDF2FE;
}

table#siteList {
    border-collapse: collapse;
    border: 1px solid #88a;
    margin-top: -1em;
}    
    
    table#siteList td form {
        margin: 0;
        padding: 0;
    }

    table#siteList th {
        font-weight: 100;
    }
    
    table#siteList .site {
        border: none;
        width: 80%;
        font-weight: bold;
    }

    table#siteList td, table#siteList th, table#siteList .site {
        background: #EDF2FE;
        border-bottom: 1px solid #88a;
        padding: 5px;
    }

/********** settings page **********/

.group {
    float: left;
    width: 30%;
}

.group#submit {
	text-align: center;
	margin-top: 2em;
	width: 100%;
    clear: both;
}

.group#submit input {
	font-weight: bold;
}

.buttons {
    border-collapse: collapse;
    margin: 0;
    padding: 0;
}

.buttons td {
    width: 10%;
    vertical-align: top;
    padding-left: 1em;
    padding-bottom: 1em;
}

.premium {
    background-color: #EDF2FE;
    padding: 1em;
}

.buttons th {
    font-size: small;
    font-weight: normal;
}


/********** install page **********/

.code {
    background: #EDF2FE;
    border: 1px solid #88a;
	display: block;
	padding: 5px;

	/* iehack: ie6 */
	margin-right: -10px;
}

pre {
    line-height: 130%;
    overflow: auto;
    padding: 5px;
}

.highlight {
    background: #EDF2FE;
    padding: 0 2px;
    border: 1px solid #88a;
}


/********** util **********/
.left {
    float: left;
}

.right {
    float: right;
}

.center {
    text-align: center;
}

acronym {
    border-bottom: 1px dotted black;
}

/********** rails **********/

.flash {
    margin: 0;
}

.fieldWithErrors {
  padding: 2px;
  background-color: red;
  display: table;
}

#errorExplanation {
  width: 400px;
  border: 2px solid red;
  padding: 7px;
  padding-bottom: 12px;
  margin-bottom: 20px;
  background-color: #f0f0f0;
}

#errorExplanation h2 {
  text-align: left;
  font-weight: bold;
  padding: 5px 5px 5px 15px;
  font-size: 12px;
  margin: -7px;
  background-color: #c00;
  color: #fff;
}

#errorExplanation p {
  color: #333;
  margin-bottom: 0;
  padding: 5px;
}

#errorExplanation ul li {
  font-size: 12px;
  list-style: square;
}
