body {
    background: #ffcc33;
    text-align: center;
    font-family: Georgia, serif;
    margin: 0;
    color: #333;
}

/*MEDIA*/
img, embed, object, video, iframe {
    max-width: 100%;
    margin: 0 0 2em 0;
}	

a img { border: none; }

/*SIGN UP PAGE*/

#main {
    width: 500px;
    margin: auto;
    text-align: center;
    margin: 2em auto 3em auto;
}

#main img {
    margin: 0;
}

#main h1 {
    width: 500px;
    font-size: 1.5em;
    line-height: 1.4em;
    font-weight: normal;
    font-style: italic;
    margin: 1.5em auto 0 auto;
    padding: 1em 0;
    color: #4c3d0f;
    border-top: 1px solid #4c3d0f;
}

p.handwritten {
    font-family: 'Nothing You Could Do', cursive;
    background: url(../i/bg-arrow.png) bottom center no-repeat;
    padding-bottom: 30px;
    margin: 2em 0 1em 0;
}

/*BLOG*/
#main-blog {
    float: right;
    width: 51%;
    padding: 2em 10% 0 10%;
    background: #fff;
    margin: 0;
    text-align: left;
}

.entry {
    width: 100%;
    border-bottom: 1px solid #ccc;
    margin: 0 0 2em 0;
}

#sidebar {
    float: left;
    width: 25%;
    text-align: center;
    padding: 4em 2% 2em 2%;
    position: fixed;
}

#sidebar img {
    max-width: 90%;
}

#sidebar p {
    margin-bottom: 1em;
}

#sidebar a.button { color: #fff; }

h1 {
    font-size: 2em;
    line-height: 1em;
    margin: 1em 0;
    border: none;
    padding: 0;
    font-weight: normal;
    color: #ffcc33;
}

h2 {
    font-size: 1.7em;
    line-height: 1.3em;
    margin: 2em 0 1em 0;
    font-weight: normal;
    color: #ffcc33;
}

h3 {
    font-size: 1.5em;
    line-height: 1.3em;
    margin: 2em 0 1em 0;
    font-weight: normal;
    color: #ffcc33;
}

h4 {
    font-size: 1.4em;
    line-height: 1.3em;
    margin: 2em 0 1em 0;
    font-weight: normal;
    color: #ffcc33;
}

h5 {
    font-size: 1.3em;
    line-height: 1.3em;
    margin: 2em 0 1em 0;
    font-weight: normal;
    color: #ffcc33;
}

p {
    font-size: 1.18em;
    line-height: 1.6em;
    margin: 0 0 2em 0;
    color: #333;
    font-weight: normal;
}

ul, ol {
    font-size: 1.2em;
    margin: 0 0 2em 0;
}

li {
    margin: 0 0 0.8em 0;
    line-height: 1.4em;
}

ol {
    list-style-type: decimal;
}

ul {
    list-style-type: disc;
}

blockquote {
    width: 100%;
    border-top: 1px solid #ffcc33;
    border-bottom: 1px solid #ffcc33;
    padding-top: 2em;
    margin-left: 0;
    margin-bottom: 2em;
    background: #fffae4;
}

blockquote p {
    font-style: italic;
    margin-bottom: 1.5em;
    font-size: 1.3em;
    width: 90%;
    margin-left: 5%;
}

table {
    margin: 0 0 30px 0;
    max-width: 100%;
}

p a {
    text-decoration: none;
    background-color: #ffcc33;
    font-size: 0.9em;
    padding: 0.15em 0.5em;
    color: #4d3e0f;
}

p a:hover {
    background-color: #4d3e0f;
    color: #ffcc33;
}

.center {
    text-align: center;
}

.left {
    text-align: left;
}

.italic {
    font-style: italic;
}

p.date {
    font-size: 1em;
    margin: 0 0 1em 0;
}

/*FORM*/

form {
    margin: auto;
    text-align: center;
}

fieldset {
    margin-bottom: 20px;
}

input[type="text"],
	input[type="password"],
	input[type="email"],
	input[type="submit"],
	textarea,
	select {
    float: left;
    border: none;
    padding: 15px 10px;
    outline: none;
    font: 16px/100% "HelveticaNeue", "Helvetica Neue", Helvetica, Arial, sans-serif;
    font-weight: normal;
    color: #ccc;
    margin: 0 0 1em 0;
    width: 70%;
    display: block;
    background: #fff;
    -webkit-appearance: none;
}

select {
    padding: 0;
}

input[type="text"]:focus,
	input[type="password"]:focus,
	input[type="email"]:focus,
	textarea:focus {
    color: #444;
    -moz-box-shadow: 0 0 5px rgba(0,0,0,.4);
    -webkit-box-shadow: 0 0 5px rgba(0,0,0,.4);
    box-shadow: 0 0 3px rgba(0,0,0,.4);
}

textarea {
    min-height: 60px;
}

label,
	legend {
    display: block;
    font-weight: bold;
    font-size: 14px;
    display: none;
}

select {
    width: 220px;
}

input[type="checkbox"] {
    display: inline;
}

label span,
	legend span {
    font-weight: normal;
    font-size: 13px;
    color: #444;
}

label {
    margin: 10px 0 10px 0;
}

p.error {
    margin: 0;
    font-style: italic;
    font-size: 0.9em;
}

form .row {
    margin: 0;
    padding: 0;
}

input[type="file"] {
    margin: 0 0 10px 0;
}

.row_error input[type="text"],
	.row_error input[type="password"],
	.row_error input[type="email"],
	.row_error textarea,
	.row_error select {
    border: 1px solid red;
}

.row_error p.error {
    color: red;
}

input[type="submit"] {
    float: right;
    width: auto;
    cursor: pointer;
    color: #ffcc33 !important;
    background: #4c3d0f;
    border: 1px solid #4c3d0f;
}

input[type="submit"]:hover {
    color: #4c3d0f !important;
    background: #ffcc33;
}

#sidebar form {
    text-align: center;
}

#sidebar input[type="text"],
	#sidebar input[type="password"],
	#sidebar input[type="email"],
	#sidebar textarea,
	#sidebar select {
    margin: 0 auto 1em auto;
    float: none;
    width: 90% !important;
}

#sidebar input[type="submit"] {
    margin: 0 auto 1em auto;
    float: none;
    width: auto;
}

p.error {
    clear: both;
    background: red;
    padding: 1em;
    font-style: normal;
    font-family: Arial, sans-serif;
}


/*=============PHONES==========*/
@media only screen and (max-width: 600px) {
    body {
        padding: 0;
    }

    img {
        max-width: 100%;
    }

    #main {
        width: 90%;
        margin: 1em 5%;
    }

    h1 {
        width: 100%;
        font-size: 1.4em;
        line-height: 1.4em;
        margin: 1em auto 0 auto;
        padding: 1em 0;
        border-top: 1px solid #4c3d0f;
    }

    p.handwritten {
        padding-bottom: 30px;
        margin: 1em 0;
    }

    input[type="text"],
	input[type="password"],
	input[type="email"],
	textarea,
	select {
        margin: 0 auto 1em auto;
        float: none;
        width: 100% !important;
        -webkit-appearance: none;
    }

    input[type="submit"] {
        margin: 0 auto 1em auto;
        float: none;
        width: auto;
        border: none;
        -webkit-appearance: none;
    }
	
/*Blog*/

    #main-blog {
        float: none;
        width: 90%;
        padding: 2em 5%;
        margin: 0;
    }

    #main-blog h1 {
        border: none;
    }

    .entry {
        border-bottom: 1px solid #ccc;
        margin: 0 0 2em 0;
    }

    #sidebar {
        float: none;
        width: 90%;
        padding: 5%;
        position: static;
    }
}
 



a#login_button { position: fixed; top: 1em; right: 1em; display: block; text-align: right; padding: .5em; text-decoration: none;
color: #4c3d0f !important; background: #ffcc33 !important;
}
h2 { color: #333; }
.user_form { text-align: left; }
.user_form label { display: block !important; clear: left;  }
p.note {  
	display: block;
	width: 100%;
	clear: left;
    margin: -70px 0 0 0 !important;
    font-style: italic;
    font-size: 0.9em;
}
div.error { background: pink; font-size: 90%;  padding: 1em;}
div.error p { padding:0; margin: 0;}
.user_form .submit { clear: both; float: left; }

#main a { text-decoration: none; }
#browse_mags {}
#browse_mags hr { border: none; height: 1px; background: rgba(0,0,0,0.2); display: block; clear: both;}
.mag_preview { text-align: left; position: relative; }
.mag_preview h2 { }
.mag_preview h2 a { color: #333; }
.mag_preview img { float: left; padding: 0 1em 1em 0; }
.mag_preview a.read_more { display: none; }
a .mag_preview:hover a.read_more { display: block; }


form.longform .row { display: block; clear: both; }
form.longform label { display: block; text-align: left;}
form.longform input,
form.longform textarea { display: block; text-align: left; padding: 2px; border: 1px solid #ddd; }
form.longform .submit input { padding: .5em; }

hr.clear { display: block; clear: both; width: 100%; border: 0; background: transparent;}
p.left { text-align: left; }


.social-buttons { list-style: none; margin: 0; padding: 0; display: block; float: left; clear: both; width: 100%;}
.social-buttons li { display: block; float: left; width: 90px; }
.social-buttons li.facebook { margin-top: -4px; }
.social-buttons li.googleplus { width: 75px; }
.social-buttons li.pinterest { width: 60px; }
.social-buttons li.rss { margin-top: -4px; }
.social-buttons li.rss a { font: 70% sans-serif; height: 26px; padding-left: 24px; padding-bottom: 2px; color: #333; background: url(/assets/blog/rss.png) 0 0 no-repeat; }
