/*
Theme name: SafetyNet
Description: Custom Theme
*/

/******* SafetyNet WordPress CSS *******/

/* Common elements styling */
.post .entry h1 { font-size: 20px; line-height: 30px}
.post .entry h2 { font-size: 18px; line-height: 27px}
.post .entry h3 { font-size: 16px; line-height: 24px}
.post .entry h4 { font-size: 14px; line-height: 21px}
.post .entry h5 { font-size: 12px; line-height: 18px}
.post .entry h6 { font-size: 10px; line-height: 15px}

.post .entry ul { margin-left: 25px; }
.post .entry ol { margin-left: 25px; }
.post .entry a img { border: 0 }

p img { padding: 0;	max-width: 100%; }
img.centered { display: block; margin-left: auto; margin-right: auto; }
img.alignright { margin: 2px 0 2px 7px; display: inline; }
img.alignleft { margin: 2px 7px 2px 0; display: inline; }
.alignright { float: right; display: inline; }
.alignleft { float: left; display: inline; }
.aligncenter, div.aligncenter { display: block; margin-left: auto; margin-right: auto; }

/* Calendar widget */
#wp-calendar { empty-cells: show; margin: 10px auto 0; }
#wp-calendar #next a { padding-right: 10px; text-align: right; }
#wp-calendar #prev a { padding-left: 10px; text-align: left; }
#wp-calendar a { display: block; }
#wp-calendar caption { text-align: center; width: 100%; }
#wp-calendar td { padding: 3px 0; text-align: center; }
.wp-caption { border: 1px solid #ddd; text-align: center; padding-top: 4px; margin: 10px; }
.wp-caption img { margin: 0; padding: 0; border: 0 none; }
.wp-caption p.wp-caption-text { font-size: 11px; line-height: 17px; padding: 0 4px 5px; margin: 0;}

/* Big images in rich text editor should not break page layout */
.post .entry { overflow: hidden; } 

/******* /SafetyNet WordPress CSS *******/

/* ==========================================================================
	#Reset
========================================================================== */
* { padding: 0; margin: 0; outline: 0; }

article,
aside,
details,
figcaption,
figure,
footer,
header,
hgroup,
menu,
main,
nav,
section { display: block; }

/* ==========================================================================
	#Base
========================================================================== */
html,
body { height: 100%; }

html { overflow-y: scroll; -webkit-font-smoothing: antialiased; -webkit-text-size-adjust: none; }
body { }

a { cursor: pointer; text-decoration: none; }
a:hover { text-decoration: none; }

img { border: 0; vertical-align: middle; }
textarea { resize: none; overflow: auto; }

ul,
ol { list-style-position: inside; }

/* ==========================================================================
	#Helpers
========================================================================== */
.alignleft { float: left; }
.alignright { float: right; }

.clearfix:before,
.clearfix:after { display: table; content: ' '; }
.clearfix:after { clear: both; }
.clearfix { *zoom: 1; }

/* ==========================================================================
	#Containers
========================================================================== */
.main-interior { border-bottom: 1px solid #ddd; padding-bottom: 22px; margin-bottom: 21px; }

/* ==========================================================================
	#Navigations
========================================================================== */
.top-bar ul.right { border-left: 1px solid #fff; }

/* ==========================================================================
	#Widgets
========================================================================== */
.widgets,
.sidebar .widget ul,
.footer ul { list-style: none outside none; }

.main .sidebar .widget-title { font-family: "Helvetica Neue", "Helvetica", Helvetica, Arial, sans-serif; font-style: normal; color: #222; text-rendering: optimizeLegibility; line-height: 1.1; margin-bottom: 14px; margin-top: 14px; }
.sidebar .event-content strong { line-height: 1.6; }

.widget-news .news-item { overflow: hidden; border-bottom: 1px solid #ddd; padding-bottom: 21px; margin: 0 -15px 22px; }
.widget-news .news-item img { max-width: 100%; }
.widget-news .news-item-image { position: relative; float: left; width: 25%; padding: 0 15px; }
.widget-news .news-item-content { float: right; width: 75%; padding: 0 15px; }
.widget-news .news-item-content h5 { padding: 0; margin: 0; }

.widget-upcoming { padding-left: 10px; }
.widget-upcoming .events { list-style: none outside none; padding-left: 0; border-left: 0; margin-left: 0; }
.widget-upcoming .event { margin-bottom: 0; padding-bottom: 0; }
.widget-upcoming .event p { margin-bottom: 5px; line-height: 1.3; }
.widget-upcoming .event-title a { font-size: 17px; }

.widget-title { margin-top: 0; }
.home .widget-upcoming { border-left: 1px solid #ddd; }
.widget-actions .link-more { font-family: "Helvetica Neue","Helvetica",Helvetica,Arial,sans-serif; }
.sidebar .widgets ul { margin-bottom: 13px; }

.widget_search form.searchform .mobile-three { width: 67%; }
.widget_search form.searchform .mobile-one { width: 33%; }

/* ==========================================================================
	#Article
========================================================================== */

.wp-caption { margin-bottom: 17px; }
.wp-caption img { margin-bottom: 20px; }
.wp-caption.aligncenter { text-align: center; }
.wp-caption .wp-caption-text { text-align: left; }

/* ==========================================================================
	#Media Query
========================================================================== */
@media ( max-width: 767px ) {
	.top-bar.expanded > ul:first-child { border-bottom: 1px solid #3c3c3c; box-shadow: 0 1px 0 #000; }
	.footer .widget { text-align: center; }
	.top-bar ul.right { border-left: 0; border-top: 1px solid #3c3c3c; box-shadow: 0 1px 0 #000; }
}

/* ================================================================ *\
	#Comments
\* ================================================================ */
.comments h3 { padding-bottom: 20px; }
.comments li { list-style: none outside none; }
.comments li.comment { padding: 0 0 0 30px; margin: 0 0 20px 30px; border-left: 2px solid #008cca; position: relative; }
.comments li .comment-author img { position: absolute; left: -26px; top: 20px; border-radius: 50%; }
.comments ul.children { padding-top: 20px; }
.comments .comment-reply { text-align: right; }
.comments form p { padding-bottom: 12px; }
.comments label { display: block; padding: 0 0 4px 20px; }
.comments input,
.comments textarea { padding: 5px 10px; border-radius: 6px; border: 1px solid #008cca; width: 100%; }
.comments textarea { resize: none; height: 120px; }
.comments input,
.comments textarea {
	-webkit-box-sizing: border-box;
	   -moz-box-sizing: border-box;
	    -ms-box-sizing: border-box;
	     -o-box-sizing: border-box;
	        box-sizing: border-box; 	
}
.comments p.form-submit { padding-top: 20px; }
.comments p.form-submit input { background: #008cca; color: #fff; cursor: pointer; font-size: 18px; }
.comments p.form-submit input {
	-webkit-appearance: none;
	   -moz-appearance: none;
	    -ms-appearance: none;
	     -o-appearance: none;
	        appearance: none;
}

/* ================================================================ *\
	#Additional styles
\* ================================================================ */
.searchsubmit { padding-left: 15px; }
.post-featured-image { margin-bottom: 10px; }
.top-bar ul>li.toggle-topbar h1 { color: #fff; display: block; line-height: 20px !important; padding-left: 15px; height: 45px; font-size: 17px; }
.top-bar ul>li.toggle-topbar { width: 100%; }
input.button.postfix  { padding-left: 0; padding-right: 0; text-align: center; }
ul.children { background-image: none; }
