/*
Description:	Custom stylesheet
Author:			John Marcello
*/

/* ---- css reset defaults ---- */

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 { border: 0; font-size: 100%; font: inherit; margin: 0; padding: 0; vertical-align: baseline; }
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; }
i, em { font-style: italic; }
b, strong { font-weight: 700; }

/* ---- site wide defaults ---- */

html { overflow-y: scroll; }
.custom * { -webkit-box-sizing: border-box; -moz-box-sizing: border-box; box-sizing: border-box; }
.custom { background: #FFFFFF; color: #333333; font-size: 62.5%; font-family: "Open Sans"; }
.custom a { color: #999999; text-decoration: none; }
.custom a:hover { color: #333333; text-decoration: underline; }

.custom .none { display: none; }
.custom .left { float: left; }
.custom .right { float: right; }
.custom .clear { clear: both; }

.custom input, 
.custom textarea { -webkit-appearance: none; }

/* ---- social area ---- */

.custom #social { background: #BABABA; border-bottom: 6px solid #667BA6; width: 100%; }
.custom #social .wrapper { margin: 0 4%; } 
.custom #social .wrapper .inner { margin: 0 auto; max-width: 100em; overflow: hidden; }
.custom #social .wrapper .inner .socialmedia-buttons { margin: 8px 0; }
.custom #social .wrapper .inner .socialmedia-buttons img { margin-bottom: 0; }

/* ---- header area ---- */

.custom #header { width: 100%; }
.custom #header .wrapper { margin: 0 4%; } 
.custom #header .wrapper .inner { margin: 0 auto; max-width: 100em; overflow: hidden; }
.custom #header .wrapper .inner h1 { padding: 20px 0; }
.custom #header .wrapper .inner img { border-radius: 4px; display: block; height: auto; max-width: 100%; }

/* ---- nav area ---- */

.custom #nav { width: 100%; }
.custom #nav .wrapper { margin: 0 4%; } 
.custom #nav .wrapper .inner { background: #333333; border-radius: 4px; margin: 0 auto 20px; max-width: 100em; }

.custom #nav .wrapper .inner ul.menu { position: relative; z-index: 50; }
.custom #nav .wrapper .inner ul.menu li { position: relative; float: left; }
.custom #nav .wrapper .inner ul.menu a { color: #FFFFFF; display: inline-block; font: 600 13px/13px 'Open Sans',sans-sefif; padding: 12px; text-transform: uppercase; }
.custom #nav .wrapper .inner ul.menu a:hover { background: #666666; text-decoration: none; }
.custom #nav .wrapper .inner ul.menu ul a:hover { background: #999999; }
.custom #nav .wrapper .inner ul.menu li.first a:hover { border-radius: 4px 0 0 4px; }

ul li:hover > ul { background: #666666; }
ul li:hover > a { background: #666666; }
ul.menu ul { background: #666666; position: absolute; visibility: hidden; z-index: 110; }
ul.menu li:hover ul { visibility: visible; }
ul.menu ul li { clear: both; }
ul.menu ul a { width: 240px; }

.custom #nav .mobile_nav { display: none; }

/* ---- breadcrumbs area ---- */

.custom #nav .wrapper .breadcrumbs { margin: 0 auto 20px; max-width: 100em; overflow: hidden; }
.custom #nav .wrapper .breadcrumbs .widget_breadcrumb_navxt { font: 700 11px/11px 'Open Sans',sans-serif; padding: 3px 0; text-transform: uppercase; }
.custom #nav .wrapper .breadcrumbs .widget_breadcrumb_navxt a { }
.custom #nav .wrapper .breadcrumbs .widget_breadcrumb_navxt a:hover { text-decoration: underline; }

/* ---- major structural areas ---- */

.custom #container { width: 100%; }
.custom #container .wrapper { margin: 0 4%;} 
.custom #container .wrapper .inner { background: url('/wp-content/thesis/skins/mobile-first/images/bg_spacer.png') repeat-y scroll 70% 0; margin: 0 auto 2em; max-width: 100em; overflow: hidden; } 
.custom #content { float: left; margin-bottom: 4em; margin-right: 4%; width: 68%; } /* styles content area */
.custom #sidebar { float: left; margin: 0; width: 28%; } /* styles sidebar area */
.custom .post_box { overflow: hidden; width: 100%; }
.blog .post_box { border-bottom: 1px solid #CFCFCF; margin-bottom: 25px; padding-bottom: 12px; }

/* ---- content area ---- */

.archive #archive_intro h2 { border-bottom: 3px solid #BABABA; color: #333333; font-size: 1.3em; font-weight: 600; margin-bottom: 2em; padding: 0.3em 0; text-transform: uppercase; }

.custom h2.headline_area { color: #333333; font: 800 24px/24px 'Open Sans',sans-serif; letter-spacing: -1px; margin-bottom: 10px; text-transform: capitalize; }
.custom h2.headline_area a { color: #333333; text-decoration: none; }
.custom h2.headline_area a:hover { color: #999999; text-decoration: none; }

.custom .meta { color: #667BA6; font: 700 13px/26px 'Open Sans',sans-serif; height: 26px; margin-bottom: 10px; overflow: hidden; text-transform: uppercase; width: 100%; }
.custom .meta a { color: #667BA6 !important; text-decoration: none !important; }
.custom .meta a:hover { color: #667BA6 !important; text-decoration: underline !important; }
.custom .meta .post_author { background: url('/wp-content/thesis/skins/mobile-first/images/icon_author.png') no-repeat scroll -5px center transparent; display: inline-block; padding-left: 30px; padding-right: 5px; }
.custom .meta .post_date { background: url('/wp-content/thesis/skins/mobile-first/images/icon_date.png') no-repeat scroll 1px center transparent; display: inline-block; padding-left: 36px; padding-right: 5px; }
.custom .meta .post_cats { background: url('/wp-content/thesis/skins/mobile-first/images/icon_category.png') no-repeat scroll 1px center transparent; display: inline-block; padding-left: 36px; padding-right: 0.5em; }
.custom .meta .num_comments_link { background: url('/wp-content/thesis/skins/mobile-first/images/icon_comment.png') no-repeat scroll 1px center transparent; display: inline-block; padding-left: 36px; }

.custom .format_text { color: #333333; font-size: 1em; line-height: 1em; text-align: justify; }
.custom .format_text p { font: 400 14px/20px 'Open Sans',sans-serif; margin-bottom: 14px; }
.custom .format_text a { text-decoration: underline; }
.custom .format_text a:hover { text-decoration: underline; }
.custom .format_text ul { list-style: disc; margin: 0 20px 0 40px; }
.custom .format_text ul li { font: 400 14px/20px 'Open Sans',sans-serif; margin-bottom: 14px; }
.custom .format_text ul li a { background: none; display: block; margin-bottom: 14px; }
.custom .format_text ul li a:hover { background: none; }
.custom .format_text ul li:hover > ul { background: none; }
.custom .format_text ol { list-style: decimal; margin: 0 20px 0 40px; }
.custom .format_text ol li { font: 400 14px/20px 'Open Sans',sans-serif; margin-bottom: 14px; }
.custom .format_text h3 { color: #667BA6; font: 700 16px/16px 'Open Sans',sans-serif; margin-bottom: 14px; }
.custom .format_text h4 { color: #2B3753; font: 700 16px/16px 'Open Sans',sans-serif; margin-bottom: 14px; }
.custom .format_text h5 { color: #333333; font: 700 16px/16px 'Open Sans',sans-serif; margin-bottom: 14px; }
.custom .format_text a.read_more { background: #BABABA; border-radius: 4px; color: #333333; display: block; font: 400 13px/13px 'Open Sans',sans-serif; margin-top: 10px; padding: 8px 0; text-align: center; text-decoration: none; width: 120px; }
.custom .format_text a.read_more:hover { background: #CACACA; }

.custom .endline_meta { font: 700 13px/26px 'Open Sans',sans-serif; margin-bottom: 10px; padding: 5px 0; width: 100%; }
.custom .endline_meta .post_cats { background: url('/wp-content/thesis/skins/mobile-first/images/icon_category.png') no-repeat scroll -2px center transparent; display: block; margin-bottom: 10px; padding-left: 30px; text-transform: uppercase; }
.custom .endline_meta .post_cats a { color: #667BA6; text-decoration: none; }
.custom .endline_meta .post_cats a:hover { color: #667BA6; text-decoration: underline; }
.custom .endline_meta .post_tags { background: url('/wp-content/thesis/skins/mobile-first/images/icon_tag.png') no-repeat scroll -2px center transparent; display: block; margin-bottom: 10px; padding-left: 30px; text-transform: uppercase; }
.custom .endline_meta .post_tags a { color: #667BA6; text-decoration: none; }
.custom .endline_meta .post_tags a:hover { color: #667BA6; text-decoration: underline; }

.custom img.alignleft { display: block; float: left; height: auto; margin: 4px 20px 20px 0; width: 25%; }
.custom img.alignright { display: block; float: right; height: auto; margin: 4px 0 20px 20px; width: 25%; }

.feeds .post_image { display: none; }
.feeds .thumb.alignleft { float: left; margin: 4px 20px 20px 0; }
.feeds .thumb.alignright { float: right; margin: 4px 0 20px 20px; }
.feeds img.thumb { display: block; height: auto; width: 25%; }

.posts .meta { margin-bottom: 1em; }
.posts .thumb { display: none; }
.posts .thumb.alignright { float: right; margin: 4px 0 20px 20px; }
.posts .thumb.alignleft { float: left; margin: 4px 20px 20px 0; }
.posts img.post_image { display: block; height: auto; width: 40%; }

/* ---- sidebar area ---- */

.custom #sidebar div.widget { font-size: 14px; line-height: 14px; margin-bottom: 20px; padding: 0; width: 100%; }
.custom #sidebar div.widget h4 { border-bottom: 3px solid #BABABA; color: #333333; font: 700 13px/13px 'Open Sans',sans-serif; margin-bottom: 13px; padding: 3px 0; text-transform: uppercase; }
.custom #sidebar div.widget p { font: 400 14px/20px 'Open Sans',sans-serif; margin-bottom: 14px; }
.custom #sidebar div.widget ul { color: #667BA6; list-style: square; margin-left: 24px; }
.custom #sidebar div.widget ul li { font: 600 13px/13px 'Open Sans',sans-serif; margin-bottom: 13px; }
.custom #sidebar div.widget ul li a:hover { background: 0; }
.custom #sidebar div.widget img { display: block; height: auto; margin: 0 auto; max-width: 280px; width: 100%; }

.custom #sidebar .widget .box input[type="text"],
.custom #sidebar .widget .box input[type="email"] { border: 1px solid #D9D9D9; border-radius: 4px; color: #6B6B6B; font: 400 12px/12px 'Open Sans', sans-serif; margin-bottom: 10px; padding: 6px; text-align: center; width: 100%; }
.custom #sidebar .widget .box input[type="submit"] { background: #2B3753; border: 0; border-radius: 4px; color: #FFFFFF; display: block; font: 600 14px/14px 'Open Sans', sans-serif; margin: 0 auto; padding: 6px 0; text-align: center; text-transform: uppercase; width: 120px; }
.custom #sidebar .widget .box input[type="submit"]:hover { background: #667BA6; }
.custom #sidebar .widget .box a.privacy { color: #2B3753; font: 400 12px/12px 'Open Sans', sans-serif; }
.custom #sidebar .widget .box a.privacy { color: #667BA6; }

/* ---- format pagination ---- */ 

.custom .previous_posts { float: right; font: 700 11px/11px 'Open Sans',sans-serif; letter-spacing: 1px; margin-right: 10px; text-transform: uppercase; }
.custom .previous_posts a { color: #333333; text-decoration: none; }
.custom .previous_posts a:hover { color: #999999; text-decoration: none; }
.custom .next_posts { float: left;font: 700 11px/11px 'Open Sans',sans-serif; letter-spacing: 1px; margin-left: 10px; text-transform: uppercase; }
.custom .next_posts a { color: #333333; text-decoration: none; }
.custom .next_posts a:hover { color: #999999; text-decoration: none; }

/* ---- format comments ---- */

.custom #commentform { overflow: hidden; }
.custom #commentform .comment_form_title { border-bottom: 1px dotted #CFCFCF; color: #667BA6; font: 700 20px/20px 'Open Sans Condensed', sans-serif !important; letter-spacing: -1px; margin: 10px 0 15px 0; text-transform: capitalize; }
.custom #commentform p { color: #667BA6; font: 700 14px/14px 'Open Sans Condensed', sans-serif; margin: 15px 0;  }
.custom #commentform p a { color: #333333; }
.custom #commentform p a:hover { color: #333333; }

.custom #comment_form_name label,
.custom #comment_form_email label,
.custom #comment_form_url label { display: inline-block; margin: 10px 20px 0 0; width: 50px; }
.custom #comment_form_name input,
.custom #comment_form_email input,
.custom #comment_form_url input { background: #EFEFEF; border: 1px solid #CFCFCF; border-radius: 2px; padding: 5px; width: 200px; }
.custom #comment_form_name input:focus,
.custom #comment_form_email input:focus,
.custom #comment_form_url input:focus { background: #FFFFFF; }
.custom #comment_form_comment label { display: inline-block; margin: 0 0 5px 0; vertical-align: top; width: 100%; }
.custom #comment_form_comment textarea { background: #EFEFEF; border: 1px solid #CFCFCF; border-radius: 2px; padding: 5px; width: 100%; }
.custom #comment_form_comment textarea:focus { background: #FFFFFF; }
.custom #comment_form_submit { display: inline-block; float: left; overflow: hidden; margin: 0 0 30px 0 !important; width: 120px; }
.custom #comment_form_submit input.input_submit { background: #2B3753; border: none 0; border-radius: 6px; color: #FFFFFF; display: block; float: left; font: 600 14px/14px 'Open Sans', sans-serif; margin: 0; padding: 8px 30px; text-align: center; text-decoration: none; text-transform: uppercase; }
.custom #comment_form_submit input.input_submit:hover { background: #667BA6;  }
.custom .comment-subscription-form { display: inline-block; float: left; margin: 10px 0 0 0 !important; text-align: left; }

.custom .comment_list { margin-bottom: 0px; overflow: hidden; }
.custom .comment_form_title { border-bottom: 1px dotted #CFCFCF; color: #B98929; font: 700 20px/20px 'Open Sans Condensed', sans-serif !important; letter-spacing: -1px; margin-bottom: 15px; text-transform: capitalize; }
.custom .comment_list .comment { background: #EFEFEF; border: 1px solid #CFCFCF; border-radius: 2px; clear: both; overflow: hidden; margin: 0 0 15px 0; padding: 15px 15px 0 15px; }
.custom .comment_list .comment .children .comment { background: #FFFFFF; }
.custom .comment_list .comment .children .children .comment { background: #EFEFEF; }
.custom .comment_list .comment .children .spacer4 { display: none; }
.custom .comment_list .avatar { float: left; margin: 0 15px 15px 0; }
.custom .comment_list .avatar .avatar { margin: 0; }
.custom .comment_list .avatar img { height: 40px; width: 40px; }
.custom .comment_list .comment_author { color: #333333; font: 700 14px/14px 'Open Sans Condensed', sans-serif; float: left; margin-bottom: 10px; }
.custom .comment_list .bypostauthor .comment_author { color: #333333; }
.custom .comment_list .comment_date { color: #333333; font: 700 14px/14px 'Open Sans Condensed', sans-serif; float: left; margin-bottom: 10px; }
.custom .comment_list .bypostauthor .comment_date { color: #333333; }
.custom .comment_list a.comment-reply-link { color: #333333; font: 700 14px/14px 'Open Sans Condensed', sans-serif; float: left; margin-bottom: 10px; text-decoration: none; }
.custom .comment_list .comment_text { float: left; width: 100%; }
.custom .comment_list .comment_text p { color: #333333; font: 400 14px/20px 'Open Sans', sans-serif; margin-bottom: 15px; text-align: justify; }

/* ---- contact form area ---- */

.contact .format_text .row { float: left; margin-right: 20px; width: 48%; }
.contact .format_text .text_row { max-width: 100%; }
.contact .format_text .required_row { float: left; max-width: 50%; }
.contact .format_text .submit_row { float: right;  max-width: 50%; }
.contact .format_text .last { margin-right: 0; }
.contact .format_text .label { font-size: 1.3em; font-weight: 600; line-height: 1.8em; margin: 12px 0 0 5px; text-align: left; }
.contact .format_text input { border: 1px solid #CFCFCF; border-radius: 5px; width: 100%; padding: 5px; }
.contact .format_text input[type="submit"] { background: #BABABA; border: 0; border-radius: 5px; color: #FFFFFF; float: right; font-size: 1.2em; margin-top: 12px; padding: 0.5em 1.5em; text-transform: uppercase; }
.contact .format_text input[type="submit"]:hover { background: #CACACA; }
.contact .format_text textarea { border: 1px solid #CFCFCF; border-radius: 5px; width: 100%; padding: 5px; }

/* ---- format footer area ---- */

.custom #footer { background: #BABABA; border-top: 6px solid #667BA6; width: 100%; }
.custom #footer .wrapper { margin: 0 4%; } 
.custom #footer .inner { color: #FFFFFF; margin: 0 auto; overflow: hidden; text-transform: uppercase; max-width: 98em;  }
.custom #footer .inner .left { font-size: 11px; padding: 16px; }
.custom #footer .inner .right { font-size: 11px; padding: 16px; }
.custom #footer .inner .right a { color: #FFFFFF; text-decoration: none; }
.custom #footer .inner .right a:hover { color: #FFFFFF; text-decoration: underline !important; }

@media all and (device-width: 768px) and (device-height: 1024px) and (orientation: portrait) { 
	.custom { font-size: 56%; }
	.custom #nav .inner .left ul li a { padding: 0.9em 0.5em; }
	.custom #nav .inner .left ul li.first a { padding: 0.9em 3em; }
	.custom #nav .inner .left ul li.first a:hover {  }
	.custom #container .wrapper .inner { background: url('/wp-content/thesis/skins/mobile-first/images/bg_spacer.png') repeat-y scroll 68% 0; } 
	.custom #content { width: 66%; } 
	.custom #sidebar { width: 30%; } 
}
@media all and (device-width: 768px) and (device-height: 1024px) and (orientation: landscape) { 
	.custom { font-size: 56%; }
	.custom #nav .inner .left ul li a { padding: 0.9em 0.5em; }
	.custom #nav .inner .left ul li.first a { padding: 0.9em 3em; }
	.custom #nav .inner .left ul li.first a:hover { }
	.custom #container .wrapper .inner { background: url('/wp-content/thesis/skins/mobile-first/images/bg_spacer.png') repeat-y scroll 68% 0; } 
	.custom #content { width: 66%; } 
	.custom #sidebar { width: 30%; }
}

@media all and (max-width: 767px) {
	.custom { font-size: 56%; }
	.custom #nav .screen { display: none; }
	.custom #nav .mobile_nav { display: block; text-align: center; }
	.custom #nav .mobile_nav select { margin: 0.5em auto; width: 50%; }
	.custom .meta { display: none; }
}

@media all and (max-width: 600px) {
	.custom #social .smw_right { text-align: center; }
	.custom #social .smw_right img { margin: 3px !important; }
	.custom #container .wrapper .inner { background: none 0; } 
	.custom #content { float: none; margin: 0; width: 100%; }
	.custom #sidebar { float: none; margin: 0; width: 100%; }
	.blog .post_box { margin-bottom: 12px; }
	.custom #pagination { padding: 0 0 2em 0; }

	.custom #footer .inner { text-align: center; }
	.custom #footer .inner .left { font-size: 1em; float: none; margin-bottom: 1em; padding: 16px 0 0 0; width: 100%; }
	.custom #footer .inner .right { font-size: 1em; float: none; padding: 0 0 16px 0; width: 100%; }

	.contact .format_text .row { float: none; margin: 0; width: 100%; }
	.contact .format_text .align { text-align: center; }
	.contact .format_text .required_row { display: none; }
	.contact .format_text .submit_row { float: none;  max-width: 100%; text-align: center; }
	.contact .format_text input { width: 100%; }
	.contact .format_text input[type="submit"] { float: none; max-width: 50%; padding: 0.5em 2%; }
	.contact .format_text .ajax-loader { display: none; }
	
	.custom #comments .avatar { width: 100%; }

}

@media all and (max-width: 480px) {

	.custom #nav .mobile_nav select { margin: 0.5em auto; width: 80%; }
	.custom #comments .comment_author { font-size: 1.2em; }
	.custom #comments .comment_date { display: none; }
	.custom #comments a.comment-reply-link { font-size: 1.2em; }
	.custom #comments .comment_text p { font-size: 1.2em; }
	.custom #comments .spacer3 { display: none; }
}
