/* Copyright (c) 2013 Chris Markham
*  
*  CSS TEMPLATENAME
* 
*********************************************/
html, body { height: 100%; }

/* LAYOUT
*********************************************/
body.home #frame, body.home .canvas, body.home #frame-inner { height: 100%; }
#frame { background-color:#fff; background-position: top center; background-repeat: no-repeat; background-size: cover; }
body.home #frame-inner { background: -moz-linear-gradient(top,  rgba(0,0,0,0) 75%, rgba(0,0,0,1) 100%); /* FF3.6+ */
background: -webkit-gradient(linear, left top, left bottom, color-stop(75%,rgba(0,0,0,0)), color-stop(100%,rgba(0,0,0,1))); /* Chrome,Safari4+ */
background: -webkit-linear-gradient(top,  rgba(0,0,0,0) 75%,rgba(0,0,0,1) 100%); /* Chrome10+,Safari5.1+ */
background: -o-linear-gradient(top,  rgba(0,0,0,0) 75%,rgba(0,0,0,1) 100%); /* Opera 11.10+ */
background: -ms-linear-gradient(top,  rgba(0,0,0,0) 75%,rgba(0,0,0,1) 100%); /* IE10+ */
background: linear-gradient(to bottom,  rgba(0,0,0,0) 75%,rgba(0,0,0,1) 100%); /* W3C */
filter: progid:DXImageTransform.Microsoft.gradient( startColorstr='#00000000', endColorstr='#000000',GradientType=0 ); /* IE6-9 */
 }
body.sub #frame-inner { background: -moz-linear-gradient(top,  rgba(0,0,0,0) 60%, rgba(0,0,0,1) 90%); /* FF3.6+ */
background: -webkit-gradient(linear, left top, left bottom, color-stop(60%,rgba(0,0,0,0)), color-stop(90%,rgba(0,0,0,1))); /* Chrome,Safari4+ */
background: -webkit-linear-gradient(top,  rgba(0,0,0,0) 60%,rgba(0,0,0,1) 90%); /* Chrome10+,Safari5.1+ */
background: -o-linear-gradient(top,  rgba(0,0,0,0) 60%,rgba(0,0,0,1) 90%); /* Opera 11.10+ */
background: -ms-linear-gradient(top,  rgba(0,0,0,0) 60%,rgba(0,0,0,1) 90%); /* IE10+ */
background: linear-gradient(to bottom,  rgba(0,0,0,0) 60%,rgba(0,0,0,1) 90%); /* W3C */
filter: progid:DXImageTransform.Microsoft.gradient( startColorstr='#00000000', endColorstr='#000000',GradientType=0 ); /* IE6-9 */
 }
.article h2, .article h3, .article h4, .article h5, .article h6 { color: #2966ae; }
.article h1 { font-family: 'PT Serif', serif; color: #1e1d4e; border-bottom: 2px solid #2966ae; font-size: 48px; padding-bottom: 10px; margin-bottom: 30px; }
header { padding: 15px 0; background: -moz-linear-gradient(top,  rgba(255,255,255,1) 33%, rgba(255,255,255,0) 100%); /* FF3.6+ */
background: -webkit-gradient(linear, left top, left bottom, color-stop(33%,rgba(255,255,255,1)), color-stop(100%,rgba(255,255,255,0))); /* Chrome,Safari4+ */
background: -webkit-linear-gradient(top,  rgba(255,255,255,1) 33%,rgba(255,255,255,0) 100%); /* Chrome10+,Safari5.1+ */
background: -o-linear-gradient(top,  rgba(255,255,255,1) 33%,rgba(255,255,255,0) 100%); /* Opera 11.10+ */
background: -ms-linear-gradient(top,  rgba(255,255,255,1) 33%,rgba(255,255,255,0) 100%); /* IE10+ */
background: linear-gradient(to bottom,  rgba(255,255,255,1) 33%,rgba(255,255,255,0) 100%); /* W3C */
filter: progid:DXImageTransform.Microsoft.gradient( startColorstr='#ffffff', endColorstr='#00ffffff',GradientType=0 ); /* IE6-9 */ }
nav{ clear: both; }
#logo { padding: 10px 0; display: block; }
#top { margin-bottom: 15px; }
footer { background: #2966ae; padding: 30px 0; }
	footer a { color: #fff; }
	.social-link { font-size: 24px; }
	.footer-info { color: #fff; font-size: 12px; line-height: 200%; }
	.footer-info h5 { text-transform: uppercase; margin-top: 0; font-size: 12px; }
#copyright { color: #878787; padding: 10px 0; background: #fff; }
 
 .article { background: #fff; padding: 25px; margin-bottom: 30px; }
 	.article img { max-width: 100%; }
 aside { background: #fff; margin-bottom: 30px; }
 .page-header h1, .article > h1 { margin-top: 0; }

.sex-offenders { padding: 0; -webkit-column-count: 3; -moz-column-count: 3; column-count: 3; }
.sex-offenders li { padding: 5px 20%; display: inline-block; }

.patrol-list { text-align: center; padding: 0; -webkit-column-count: 3; -moz-column-count: 3; column-count: 3; }
.patrol-list li { padding: 5px 30px; display: inline-block; list-style: none; }

.chart-list td { padding: 5px; }
.chart-list > tbody > tr:nth-child(2n+2) { background: #eee; }

.article a.external:after { 
   font-family: 'FontAwesome';
   content: "\00a0\00a0";
   font-size: 12px;
}

.article a[href $='.pdf']:after, .article a[href $='.PDF']:after { 
   font-family: 'FontAwesome';
   content: "\00a0\00a0";
   font-size: 14px;
}

.article-info-term { display: none; }

.items-row  { border-bottom: 1px solid #6ba2e6; margin-bottom: 15px; padding-bottom: 15px; }

.btn { color: #fff; background: #2966ae; border-radius: 0; }
.btn:hover { background: #1d497c; color: #fff; }

/* HOME
*********************************************/

#home-news { margin-top: -72px;}
#home-news a { color: #171b4f; font-weight: 600; font-size: 13px; }
#home-news-pager { background: #ececec; border-bottom: 2px solid #fff; }
#home-news-pager a { display: inline-block; padding: 10px 15px; text-transform: uppercase; color: #aaa; font-weight:500; font-size: 16px; }
#home-news-pager a:hover { text-decoration: none; }
#home-news-pager a.cycle-pager-active { background: #fff; color: #171b4f; }
#home-news-container { background: #fff; padding: 15px; box-shadow: inset 0px 10px 5px 0px rgba(0,0,0,0.05); }
.home-news-slide { width:100%; height: 270px; overflow-x: scroll; }
.fb-embed-container { width: 100%; height: 325px; }
.fb-embed{ width: 100%; margin-top: -130px; height: 325px; }

.facebook-date, .mod-articles-category-date, dd.published { font-size: 12px; color: #aaa; font-weight: 600; word-spacing: normal; }
.facebook-post { margin-bottom: 15px; }

.photo-credit { margin-top: -53px; color: #fff; text-shadow: 0 1px 1px #000; font-size: 11px; margin-bottom: 30px; }
body.home .photo-credit { margin-top: -72px; text-align: right; }

#home-news .category-module { margin: 0; padding: 0; }

/* MENUS
*********************************************/
.nav-icon { width: 42px; height: 27px; background-position: top center; display: inline-block; vertical-align: middle; margin-right: 5px; }
#main-navbar-collapse { padding: 0; background: rgba(255,255,255,.5); padding: 5px 0 0 0; }
.navbar-default { background: none; border: 0; box-shadow: none; }
.navbar-nav>li>a { padding: 3px 0; background: #fff; border: 1px solid #6ba2e6; text-align: left; }
.navbar-default .navbar-nav>li>a { font-size: 12px; color: #171b4f; text-shadow: none; text-transform: uppercase; font-weight: 600; }
.navbar-default .navbar-nav>li.open, .navbar-default .navbar-nav>li>a:hover .nav-icon { background-position: bottom center; }
.navbar-default .navbar-nav>li { padding: 0 5px; border-bottom: 5px solid transparent; }
.navbar-default .navbar-nav>li:first-child>a { margin: 0; }
.navbar-default .navbar-nav>li.open { border-bottom-color: #757593; }
.navbar-default .navbar-nav>li:hover>a:hover, .navbar-default .navbar-nav>li:focus>a, .navbar-default .navbar-nav>li.open>a, .navbar-default .navbar-nav>li.active>a { background: #1e1d4e; color: #fff; }
.navbar-default .navbar-nav>li:hover>a:hover .nav-icon, .navbar-default .navbar-nav>li:focus>a .nav-icon, .navbar-default .navbar-nav>li.open>a .nav-icon, .navbar-default .navbar-nav>li.active>a .nav-icon { background-position: bottom center; }
.navbar-nav li .dropdown-menu { border: 0; border-top: 10px solid #1e1d4e; border-radius: 0; background-color: rgba(255,255,255,.95); }
.navbar-default .navbar-nav .dropdown-menu>.active>a, .navbar-default .navbar-nav .dropdown-menu>.active>a:hover, .navbar-default .navbar-nav .dropdown-menu>.active>a:focus { color: #fff; }

.menu_offcanvas > li.parent > a:after { content: "\25b6"; float: right; }
.menu_offcanvas > li.open > a:after { content: "\25bc"; }
.menu_offcanvas li ul { display: none; }
.menu_offcanvas li.open ul { display: block; }
.menu_offcanvas li ul li { list-style: none; margin-bottom: 15px; line-height: 150%; }
.menu_offcanvas li ul li a { font-size: 15px; display: block; padding: 5px 0; }
.menu_offcanvas>.open>a, .menu_offcanvas>.open>a:hover, .menu_offcanvas>.open>a:focus { background: transparent; }

.menu_side { margin: 0; padding: 0; }
.menu_side li { list-style: none; display: none; }
.menu_side > li.active > a { white-space: normal; padding: 20px; background: #2966ae; color: #fff; text-transform: uppercase; display: block; font-size: 18px; }
.menu_side > li.active > a .nav-icon { background-position: bottom center; }
.menu_side li.active { display: block; }
.menu_side li li { display: block; }
.menu_side li li a { padding: 10px 20px; white-space: normal; text-transform: uppercase; background: #edeae0; border-top: 2px solid #fff; color: #171b4f; font-weight: 500; }
.menu_side li li.active > a { background: #cfcbbf; color: #000; }
.menu_side li li.current > a { background: #d9d6cd; font-style: italic; color: #2966ae; }
.menu_side .dropdown-menu>li>a:hover, .menu_side .dropdown-menu>li>a:focus { background: transparent; }
.menu_side .dropdown-menu>li.active>a:hover, .menu_side .dropdown-menu>li.active>a:focus { color: #171b4f; }
.menu_side li li li { display: none; }
.menu_side li li.active, .menu_side li li.active li { display: block; }
.menu_side li li li a { padding: 8px 30px; font-size: 12px; text-transform: none; background: #cfcbbf; }
.menu_side li li li li a { padding: 4px 0px 4px 45px; border: 0; font-size: 11px; }

.menu_side .dropdown-menu { position: relative; float: none; top: auto; display: block; margin: 0; padding: 0; box-shadow: none; border-radius: 0; border: 0; z-index: 1; }

/* LINKS
*********************************************/

/* STANDARD
*********************************************/
.callout { background: #2966ae; color: #fff; padding: 15px;  font-size: 1.1em; display: inline-block; }

#eziqc-banner { background: #edeae0; padding: 15px; float: right; width: 320px; margin: 0 0 30px 30px; }
	#eziqc-banner h2 { text-align: center; color: #2966ae; font-family: 'PT Serif', serif; margin-top: 0; }

/* MODULES
*********************************************/
.moduletable_eziqc { float: right; margin-right: 10px; }
.btn-header {  background: #2966ae; color: #fff; padding: 8px 20px; border-radius: 0; }
.btn-header:hover { background: #1d497c; color: #fff; }

.moduletable_search { float: right; text-align: right; margin-bottom: 15px; }
.moduletable_seach form { text-align: right; }
#mod-search-searchword { width: 263px; padding: 10px; font-size: 12px; border: 1px solid #6ba2e6; }
.btn-search { border-radius: 0; color: #fff; background: #2966ae; font-size: 18px; margin-top: -1px; }
.btn-search:hover { background: #1d497c; color: #fff; }

.moduletable_useful-links { display: table;width: 100%; margin: 0;  border-spacing: 5px; }
.moduletable_useful-links ul { display: table-row; width: 100%; margin: 0; }
.moduletable_useful-links ul li { display: table-cell; width: 1%; float: none; text-align: center; vertical-align: middle; background: #fff; }
.moduletable_useful-links { margin: 0; padding: 0; background: rgba(255,255,255,.5); }
.moduletable_useful-links li a { text-align: center; padding: 5px; margin-left: 5px; display: inline-block; font-size: 12px; text-transform: uppercase; color: #171b4f; font-weight: 600; line-height: 125%; }

.top-right { color: #2966ae; font-weight: 500; text-transform: uppercase; }
.top-right .moduletable { margin-left: 15px; }
.font-label { display: inline-block; }
.font-bigger, .font-smaller { display: inline-block; margin: 0 1px; background: #edeae0; color: #2966ae; width: 16px; height: 16px; font-size: 12px; text-align: center; font-weight: 600; cursor: pointer; }
.btn-print:hover { color: #000; text-decoration: none; }

#notification { background: #2966ae; border-bottom: 2px solid #365897; padding: 15px; width: 100%; color: #fff; }
#notification p { margin-bottom: 0; }

/* OVERRIDES
*********************************************/
/* YouTube Video Aspect Ratio */
.video-container { position: relative; padding-bottom: 33%; padding-top: 30px; height: 0; overflow: hidden; }
.video-container iframe,
.video-container object,
.video-container embed { position: absolute; top: 0; left: 0; width: 100%; height: 100%; }

/* Google Map Aspect Ratio */
.map-container { position: relative; padding-bottom: 50%; padding-top: 30px; height: 0; overflow: hidden; }
.map-container iframe,
.map-container object,
.map-container embed { position: absolute; top: 0; left: 0; width: 100%; height: 100%; }

.formResponsive textarea, .formResponsive input[type="text"], .formResponsive input[type="password"] { height: auto; }

/* JEvents */
#jevents_body .nav-items div.active a, .jev_header2 .active a, .jev_toprow div.previousmonth, .jev_toprow div.nextmonth, #jevents_body .cal_today a.cal_daylink { background-color: #2966ae; }
.nav-items > div, .nav-items > div:last-child, #jevents_body .nav-items > div a:hover, .jev_toprow div.previousmonth, .jev_toprow div.nextmonth, .jev_toprow div.currentmonth, .jev_toprow div.previousmonth, .jev_toprow div.nextmonth, .nav-items > div:first-child, #jevents_body .nav-items div.active a:hover, .jev_header2 .active a:hover { border-color: #2966ae; }
#jevents_body { padding: 0; background-color: transparent; border: 0; }
.event_legend_container { text-align: center; }
#jevents_body div.event_legend_item { float: none; display: inline-block; }
.nav-items { width: 100%; }

/* SYSTEM
**************************************************/
.page-header { margin: 0; padding: 0; border: 0; }

.pagination { width: 100%; }
.pagination ul { clear: both; text-align: center; }
.pagination ul li { list-style: none; display: inline; padding: 0 5px; }

.breadcrumb { margin: 0; padding: 0; background: transparent; border-radius: 0; text-transform: uppercase; }
.breadcrumb > li + li:before { content: ""; padding: 0; }
.breadcrumb span.divider { padding: 0 6px; }
.breadcrumb .icon-location { display: none; }
.breadcrumb .active { font-weight: 600; }
.breadcrumb li { margin-right: 1px; display: inline; }