

/* MASTER FONT FAMILIES */
html, .button, .blog h6, input, textarea {
    font-family: 'Open Sans', 'Raleway', 'HelveticaNeue-UltraLight', 'Tahoma', helvetica, sans-serif;
}

h1, h2, h3, h4, h5, h6, .copyright, .button, .altfont, .caption, .liveblog_entry h6 {
    font-family: 'Bitter', 'Superclarendon-Regular', georgia, serif;
}

.title {
    font-family: 'Raleway';
}





/* DEFAULT STYLES */
html, body {
    padding: 0px;
    margin: 0px;
    -webkit-text-size-adjust: none;
}

body {
    line-height: 1.5;
    color: #3f3f3f;
    background: #fafafa;
    text-align: center;
}

h1 { font-size: 2.5em; }
h2 { font-size:   2em; }
h3 { font-size: 1.6em; }
h4 { font-size: 1.3em; }
h5 { font-size:   1em; }

h6 {
    font-weight: normal;
    font-size: .75em;
    margin: 0px;
}

h1, h2, h3, h4, h5 {
    max-width: 800px;
    line-height: 1.2;
    margin-left: auto;
    margin-right: auto;
}

sup {
    line-height: 1;
}

pre {
    font-size: 1.1em;
    margin: 0px;
}

a {
    color: #0793c4;
    text-decoration: none;
}

a:hover {
    text-decoration: underline;
}

#header, #footer, hr, .button {
    -webkit-user-select: none;  
    -moz-user-select: none;    
    -ms-user-select: none;      
}

hr {
    border: 0;
    color: #cbcbcb;
    background-color: #ccc;
    height: 1px;
    max-width: 850px;
}

input, textarea {
    color: #3f3f3f;
    -webkit-border-radius: 0;
}



/* HEADER */
#header {
    padding: 24px 0px 20px 0px;
    position: relative;
}

#dude_wrapper {
    position: absolute;
    width: 60px;
    height: 110px;
    left: 50%;
    top: 20px;
    margin-left: -200px;
}

#dude_block {
    background: #fafafa;
    width: 44px;
    height: 24px;
    left: 10px;
    top: 75px;
    position: absolute;
}

#dude {
    height: 105px;
    position: absolute;
    left: 0px;
}

.title {
    font-size: 2.25em;
    font-weight: 200;
}

.title a {
    color: #3f3f3f;
    text-decoration: none;
}

#alert_msg {
    background: #3f3f3f;
    color: white;
    text-align: center;
    padding: 8px;
    border-radius: 2px;
}

#logged_in_box {
    text-align: right;
    margin: 0px auto -19px auto;
    max-width: 850px;
}



/* FOOTER */
#footer {
    padding: 20px 0px 65px 0px;
}

.footer_links {
    font-size: 0.8em;
    font-weight: 700;
    padding: 10px 0px;
}

.footer_links a {
    color: #3f3f3f;
}

.copyright {
    font-size: 0.7em;
    font-style: italic;
    padding-top: 10px;
}



/* CONTENT */
.content {
    margin: 0px auto;
    padding: 5px 15px;
}

.guest_blogger_name {
    margin: 30px auto 15px auto;
    padding: 15px;
    background: #eee;
    max-width: 650px;
    font-size: 1em;
}

.guest_blogger_name_archive {
    margin: 3px 0;
    font-size: 0.9em;
}



/* HOME */
#home_box {
    position: absolute;
    top: 0px;
    right: 0px;
    bottom: 0px;
    left: 0px;
    padding: 25px;
    min-height: 550px;
}

#home_box_inner {
    width: 100%;
    height: 100%;
    background-repeat: no-repeat;
    background-position: center center;
    -webkit-background-size: cover;
    -moz-background-size: cover;
    -o-background-size: cover;
    background-size: cover;
}

#home_title {
    width: 66%;
    position: relative;
    top: 40%;
}

#home_blogs {
    position: absolute;
    bottom: 25px;
    left: 25px;
    padding: 10px 35px 15px 15px;
    background: #fafafa;
    text-align: left;
}

#home_blogs a {
    display: block;
}

#home_blogs h5 {
    font-size: 15px;
    margin: 15px 0 5px 0;
}

#home_blogs h6 {
    color: #aaa;
}

#home_blogs h3 {
    margin: 0 0 4px 0;
}

#archive_link {
    font-weight: bold;
    font-size: 13px;
    margin-top: 4px;
}

#page_error {
    padding: 100px 10px;
}

#account_buttons {
    width: 350px;
    margin: 10px auto 30px auto;
}



/* BLOG */
.blog {
    margin-bottom: 50px;
    margin: 0px auto;
    padding: 5px 15px 30px 15px;
    overflow: auto;
}

.blog h1, .blog h3, .blog h6, .blog p, .blog pre, .blog ul, .blog ol {
    max-width: 650px;
    margin-left: auto;
    margin-right: auto;
}

.blog h1 {
    font-size: 1.8em;
}

.blog h3 {
    font-size: 1.3em;
}

.blog p, pre, .blog h6, blockquote, ul, ol {
    text-align: left;
}

.blog p {
    line-height: 1.7;
}

.liveblog_badge {
    display: inline-block;
    background: #f6ea82;
    padding: 3px 6px;
    border-radius: 3px;
    color: #3f3f3f;
}

.liveblog_entry {
    border-top: 1px solid #cbcbcb;
    padding: 18px 0 5px 0;
    max-width: 850px;
    margin: 0 auto;
}

.liveblog_entry p {
    margin-top: 5px !important;
}

.caption {
    font-size: 0.75em;
    font-style: italic;
    padding-top: 5px;
    margin-bottom: 10px;
}

.img1 {
    clear: both;
    margin: 35px 0 25px 0;
}

.img2 {
    clear: left;
    float: left;
    max-width: 40%;
    margin: 6px 25px 3px 4%;
}

.img3 {
    clear: right;
    float: right;
    max-width: 40%;
    margin: 6px 4% 3px 25px;
}

.img_liveblog {
    clear: both;
    margin: 15px 0px;
}

.img1 img, .img2 img, .img3 img, .img_liveblog img {
    max-width: 100%;
    margin: 0px auto;
    display: block;
}

.img2 img, .img3 img {
    max-height: 280px;
}

blockquote {
    border-left: 8px solid #e3e3e3 !important;
    padding: 0px 25px 0px 20px;
    margin: 25px auto;
    max-width: 590px;
}

blockquote p {
    font-size: 0.9em !important;
    line-height: 1.6 !important;
    margin: 0px 0px 12px 0px !important;
}

.blog_series {
    line-height: 1.3;
    margin: 0px auto;
    padding: 35px 0px 15px 0px;
    max-width: 850px;
    border-top: 1px solid #ccc;
}

.blog_series a {
    font-size: 0.93em;
}

.blog_series h6 {
    margin-bottom: 10px;
}

#comments_title {
    font-size: 1.1em;
    background: #fafafa;
    margin: -22px auto 35px auto;
    width: 150px;
}

.youtube_embed {
    margin-top: 30px;
	position: relative;
	padding-bottom: 56.25%;
	padding-top: 30px;
	height: 0;
	overflow: hidden;
}

.youtube_embed iframe,  
.youtube_embed object,  
.youtube_embed embed {
	position: absolute;
	top: 0;
	left: 0;
	width: 100%;
	height: 100%;
}



/* ARCHIVE */

.archive {
    padding-top: 5px;
    max-width: 450px;
    text-align: left;
    margin: 0 auto;
}

.archive h4 {
    margin: 0;
    font-size: 1.1em;
}

.archive h6 {
    margin: 3px 0 20px 0;
}



/* COMMENTS */
#comments {
    max-width: 500px;
    margin: 20px auto;
}

#comments_list {
    padding-bottom: 10px;
}

.new_comment {
    background: #f4f796;
    margin: -13px -15px -23px -15px;
    padding: 5px 15px 10px 15px;
    border-radius: 10px;
}

.comment {
    margin: 25px 0px;
    overflow: hidden;
}

.comment p {
    font-size: 0.9em;
    text-align: left;
    max-width: 500px;
    margin: 8px auto;
}

.comment_name b {
    font-style: normal;
    font-weight: 700;
}

.comment_name {
    font-size: 0.75em;
    font-style: italic;
}

#add_comment_button {
    font-size: 1.2em;
    width: 100%;
    color: #ccc;
    border: 1px solid #ccc;
    border-radius: 2px;
    background: none;
    padding: 10px;
    margin-bottom: 25px;
    cursor: pointer;
    -webkit-appearance: none;
    -moz-appearance: none;
}

#add_comment_button:hover {
    background: #f3f3f3;
    color: #bbb;
}



/* COMMENT FORM */
#comment_form {
    padding: 0px;
}

#comment_form form {
    margin: 0px;
    padding: 0px;
}

#comment_form textarea {
    width: 100%;
    padding: 10px;
    font-size: 0.9em;
    min-height: 100px;
    resize: vertical;
    line-height: 1.5;
}

#comment_form textarea, #new_comment_name, #new_comment_url {
    display: block;
    margin-bottom: 15px;
    border: 1px solid #ccc;
    -webkit-box-sizing: border-box;
       -moz-box-sizing: border-box;
            box-sizing: border-box;
}

#new_comment_name, #new_comment_url {
    font-size: 1em;
    width: 100%;
    padding: 8px;
    text-align: center;
}

#new_comment_name {
    font-weight: 700;
}

#new_comment_email {
    display: none;
    visibility: hidden;
}

#comment_form .button {
    width: 160px;
}

#comment_error {
    font-size: 0.9em;
    font-weight: 400;
    background: #3f3f3f;
    border-radius: 2px;
    padding: 8px;
    color: white;
    margin-bottom: 15px;
    display: none;
}



/* FORM */
form {
    margin: 0px;
}

.label {
    font-size: 0.9em;
    padding: 3px 8px;
    margin: 15px auto 0px auto;
    text-align: center;
    cursor: pointer;
    display: block;
}

.label_error {
    color: #d33e3e;
}

.field {
    margin: 0px auto 12px auto;
    text-align: center;
}

.field_spacer {
    height: 15px;
}

.input, .textarea, .input_pass {
    font-size: 1em;
    border: 1px solid #bbb;
    padding: 6px;
    margin: 0px 8px 0px 0px;
    text-align: center;
    border-radius: 4px;
    max-width: 100%;
    -webkit-box-sizing: border-box;
       -moz-box-sizing: border-box;
            box-sizing: border-box;
}

.input, .textarea, .input_pass {
    line-height: 18px;
}

.textarea {
    width: 500px;
    height: 150px;
    line-height: 1.5;
    text-align: left !important;
}

.input_error {
    border: 2px solid #d33e3e;
}

.input_check {
    font-size: 18px;
    margin: 0px;
}

.select {
    font-size: 18px;
    margin-top: 0px;
}

#error_box {
    background-color: #d33e3e;
    background-position: 7px 5px;
    background-repeat: no-repeat;
    padding: 10px 15px;
    color: white;
    text-align: center;
    margin: 15px auto;
    max-width: 50%;
    min-width: 300px;
    border-radius: 2px;
}



/* BUTTONS */
.button {
    font-size: 0.9em;
    line-height: 1.2;
    border: 0;
    background: #24a4d1;
    color: white;
    min-width: 106px;
    text-align: center;
    padding: 8px 10px 6px 10px;
    margin: 4px;
    display: inline-block;
    border-right: 1px solid rgba(0,0,0,0.4);
    border-bottom: 1px solid rgba(0,0,0,0.4);
    border-radius: 2px;
    cursor: pointer;
    -webkit-appearance: none;
    -moz-appearance: none;
}

.button:hover {
    background: #3f3f3f;
    text-decoration: none;
}

.button_gray {
    background: #ccc;
}

.button_red {
    background: #d33e3e;
}

.button_processing, .button_processing:hover {
    text-decoration: none;
    background: url(/images/main/button_processing.gif);
    border-right: 1px solid rgba(0,0,0,0.2);
    border-bottom: 1px solid rgba(0,0,0,0.2);
    cursor: default;
}



/* RESPONSIVE */
@media screen and (max-width: 700px) {

    .title {
        font-size: 2em;
        margin-top: 6px;
        padding-left: 20px;
    }
    
    h1 {
        font-size: 2em;
        margin-bottom: 15px;
    }
    
    .blog {
        padding-top: 0;
        margin-top: -5px;
    }
    
    .comment {
        margin: 15px 0;
    }
    
    #dude_wrapper {
        margin-left: -140px;
    }
    
    #dude {
        height: 70px;
    }
    
    #dude_block {
        display: none;
    }
    
    .new_comment {
        border-radius: 0px;
    }

    .img2 {
        margin: 6px 20px 3px 0px;
    }

    .img3 {
        margin: 6px 0px 3px 20px;
    }
    
    
    
    #home_box {
        padding: 15px 15px 0px 15px;
        position: relative;
        min-height: 250px;
        height: 250px;
    }
    
    #home_box_inner {
        height: 250px;
    }
    
    #home_title {
        width: 75%;
        top: 36%;
    }
    
    #home_blogs {
        position: relative;
        left: auto;
        bottom: auto;
        padding: 0px 15px 15px 15px;
    }
    
    #home_blogs h5 {
        margin: 12px 0 5px 0;
    }
    
    #home_blogs a {
        margin: 4px 0;
    }
    
    #home_blogs a:hover {
        text-decoration: none;
    }
  
    #account_buttons {
        width: 250px;
    }
    
    .archive h6 {
        margin: 3px 0 15px 0;
    }

}

@media screen and (max-width: 360px) {

    #home_box {
        min-height: 200px;
        height: 200px;
    }
    
    #home_box_inner {
        height: 200px;
    }

    #home_title {
        width: 75%;
        top: 42%;
    }
    
}



/* INPUT PLACEHOLDER TEXT COLOR */
::-webkit-input-placeholder {
    color: #ccc;
}
:-moz-placeholder {
    color: #ccc;
}
::-moz-placeholder {
    color: #ccc;
}
:-ms-input-placeholder {
    color: #ccc;
}
