/*
 Theme Name:     Divi Child Theme
 Theme URI:      http://www.elegantthemes.com/gallery/foxy/
 Description:    Divi Child Theme
 Author:         Elegant Themes
 Author URI:     http://www.elegantthemes.com
 Template:       Divi
 Version:        1.0.0
*/
 
@import url("../Divi/style.css");
 
/* =Theme customization starts here
------------------------------------------------------- */



#main-header {display: block;}

.header-widget {
	float: left;
	margin-top: 6px;
	border-radius: 3px;
	padding: 2px 8px;
}

#alert_box {
	background: #d8000c;
	padding:0.5em;
	width:100%;
	text-align:center;
	color: #faebd7;
	z-index: 100000;
	font-size:14px;
	font-weight:400;
}

#alert_box .alert_wrapper {max-width: 1280px;display: block;margin:0 auto;text-align: left;}

#alert_box a {color:#f8f28c;text-decoration: underline; }

.entry-content ol {
	line-height: 1.7;
}

.home .ecs-event-list h4 a {font-weight: 800;}

.grid-layout-homepage .listing-item .image {display: block;height: auto;overflow: hidden;}

#main-content .grid-layout-homepage .listing-item {float: none;display: inline-block;width: 31.5%;margin-right:1.5%;}

#main-content .grid-layout-homepage .listing-item img {float: none;display: inline-block;width: 31.5%;margin-right:1.5%;min-width: 100%;}

#main-content .grid-layout-homepage .listing-item a.title {line-height: 105%;bottom: 0;}

.single.single-board_of_commission #main-content .container::before{display: none;}

.single.single-board_of_commission #main-content table tr td {overflow: hidden;}

#footer-bottom {  }

#footer-info {width: 100%;text-align: center;}

#footer-info a {font-weight: bold;text-decoration: underline;}


#cn-list-body .cn-return-to-top {display: none !important;}

@media only screen and (min-width: 981px) {
	#main-content .container:before {
		content: none;
	}
	.single.et_right_sidebar #left-area {
		padding-right: 3%;
		width: 66.6%;
	}
	.single.et_right_sidebar #sidebar {
		width: 28%;
	}
}


body.single-board_of_commission .et_pb_row.et_pb_row_fullwidth, .et_pb_specialty_fullwidth > .et_pb_row {
	width:100% !important;
	max-width: 100% !important;
}


@media only screen and (max-width: 3000px) and (min-width: 1100px) {

	#top-menu li a {font-size: 13px;}
}

@media only screen and (max-width: 1099px) and (min-width: 1025px) {

	#top-menu li a {font-size: 12px;}
}


@media only screen and (max-width: 1024px) and (min-width: 981px) {

	#top-menu li a {font-size: 11px;}
}



@media only screen and (min-width: 981px) {

#page-container #main-header #et-top-navigation {width: auto;}

#page-container #main-header .container {width: 100%;max-width: 1100px;}

#page-container #main-header #et-top-navigation #top-menu-nav {float: left;}

#main-content .grid-layout-homepage .listing-item:nth-child(3n) {margin-right: 0;}


}

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

#main-content .grid-layout-homepage .listing-item {float: none;display: inline-block;width: 48.5%;margin-right:1.5%;max-width: 48.5%;overflow:hidden;}
#main-content .grid-layout-homepage .listing-item:nth-child(2n) {margin-right: 0;}



}

#main-header, .res-tools-home {
background-image: url('../../uploads/2017/01/header-pattern-overlay-dark.png');
background-repeat: repeat-x;
background-size: auto;
background-position: top left;
}

.logo_container .et_pb_widget {
	float: right;
}

@media only screen and (min-width: 981px) {
	#page-container #main-header .container {
		max-width: none;
	}
	.et_header_style_centered #main-header .logo_container {
		max-width: 1260px;
		margin: 0 auto;
	}
	#page-container #main-header #et-top-navigation #top-menu-nav {
		width: 100%;
	}
	.et_header_style_centered #top-menu > li > a {
		padding-top: 14px;
		padding-bottom: 14px;
	}
	#top-menu .menu-item-has-children > a:first-child:after {
		top: 14px;
	}
}

@media only screen and (min-width: 981px) and (max-width: 1280px) {
	.et_header_style_centered #main-header .logo_container {
		padding-left: 1em;
		padding-right: 1em;
	}
}

.header-icons .fa {
	float: right;
	margin-left: 10px;
}

.email-icon .fa {
	font-size: 38px;
}

.call-icon {
	font-size: 36px;	
	position: relative;
	top: 3px;
}

.et_pb_gutters3 .et_pb_column_4_4 .slider-desktop {
	margin-bottom: 0;
}

.slider-desktop .et_pb_slide_title,  .slider-desktop .et_pb_slide_content {
	background-color: rgba(0,0,0,.5);
}

.slider-desktop .et_pb_slide_title {
	padding-top: 12px;
}

.slider-desktop .et_pb_slide_content {
	padding-bottom: 0;
}

body #page-container .res-tools-home .et_pb_promo a.et_pb_button:before,
body #page-container .res-tools-sidebar .et_pb_promo a.et_pb_button:before {
	margin-left: -0.4em !important;
	left: 10px;
}

body #page-container .res-tools-home .et_pb_promo a.et_pb_button,
body #page-container .res-tools-sidebar .et_pb_promo a.et_pb_button {
	padding-top: 5px;
	padding-bottom: 0;
	padding-left: 68px;
	width: 100%;
	line-height: 48px !important;
}

body #page-container .res-tools-sidebar .et_pb_promo a.et_pb_button {
	padding-top: 12px;
	padding-bottom: 12px;
	line-height: 1.3em !important;
	padding-left: 58px;
	font-size: 19px;
}

@media only screen and (min-width: 1089px) and (max-width: 1350px) {
	body #page-container .res-tools-home .et_pb_promo a.et_pb_button {
		font-size: 16px;
	}
}

@media only screen and (min-width: 981px) and (max-width: 1088px) {
	body #page-container .res-tools-home .et_pb_promo a.et_pb_button,
	body #page-container .res-tools-sidebar .et_pb_promo a.et_pb_button {
		font-size: 14px;
	}
}

@media only screen and (min-width: 1300px) and (max-width: 1450px) {
	body #page-container .res-tools-sidebar .et_pb_promo a.et_pb_button {
		font-size: 16px;
	}
}

@media only screen and (min-width: 981px) and (max-width: 1299px) {
	body #page-container .res-tools-sidebar .et_pb_promo a.et_pb_button {
		font-size: 14px;
	}
}

.res-tools-sidebar .et_pb_promo a.et_pb_button:before {
	margin-top: -6px;
}

body #page-container #sidebar .et_pb_btn {
    color: #17313e !important;
    background: #ffffff;
    border: 3px solid #28b8c0;
    border-radius: 0px;
    letter-spacing: 0px;
    font-size: 13.5px;
    padding: 0em 0em 0.5em 1em;
    display: table;
    width: 100%;
   
   } 

body #page-container #sidebar .tool-panel {margin-bottom: 1em;margin: 0 auto}   

body #page-container #sidebar {

background-image: url('../../uploads/2017/01/header-pattern-overlay-dark.png');
background-repeat: repeat-x;
background-size: auto;
background-position: top left;
background-color: #144074 !important;
padding:1em;

}

body #page-container #sidebar h3{

font-size:24px;
color: #fff;

}


body #page-container #sidebar  a:before {

    content: '';
    height: 36px;
    width: 36px;
    display: inline-block;
    line-height: 1em;
    background-size: 36px 36px;
    overflow: hidden;
    position: relative;
    top: 0.65em;
	right: 1.3em;
    margin-top: -0.05em;
    margin-right: 0.5em;

}

body #page-container #sidebar .taxes a:before {background-image: url(../../uploads/2017/01/taxes-icon.png);}

body #page-container #sidebar .meetings a:before {background-image: url(../../uploads/2017/01/town-meeting-icon.png);}

body #page-container #sidebar .waste a:before {background-image: url(../../uploads/2017/01/waste-collection-icon.png);}

body #page-container #sidebar .potholes a:before {background-image: url(../../uploads/2017/01/report-pothhole-icon.png);}

body #page-container #sidebar .safety a:before {background-image: url(../../uploads/2017/01/public-safety-icon.png);}

body #page-container #sidebar .works a:before {background-image: url(../../uploads/2017/01/public-works-icon.png);}

body #page-container #sidebar .parks a:before {background-image: url(../../uploads/2017/01/parks-rec-icon.png);}

body #page-container #sidebar .code-red a:before {background-image: url(../../uploads/2017/01/code-red-icon.png); } 

body #page-container #sidebar .bids a:before {background-image: url(../../uploads/2017/01/bids-rfps-icon.png);}        

body #page-container #sidebar .ct-211 a:before {background-image: url(../../uploads/2017/01/ct-211-icon.png);} 





body #page-container .res-tools-home .et_pb_promo.taxes a.et_pb_button:before {
	content: url('../../uploads/2017/01/taxes-icon.png');
}

.res-tools-sidebar .et_pb_promo.taxes a.et_pb_button:before {
	content: url('../../uploads/2017/01/taxes-icon-37px-2.png');
}

.single.et_right_sidebar #sidebar .res-tools-sidebar-posts a:before {
	content: url('../../uploads/2017/01/taxes-icon-37px-2.png');
}

body #page-container .res-tools-sidebar .et_pb_promo.taxes a.et_pb_button:after {
	content: none;
}

body #page-container .res-tools-home .et_pb_promo.meetings a.et_pb_button:before {
	content: url('../../uploads/2017/01/town-meeting-icon.png');
}

.res-tools-sidebar .et_pb_promo.meetings a.et_pb_button:before {
	content: url('../../uploads/2017/01/town-meeting-icon-37px-2.png')
}

body #page-container .res-tools-home .et_pb_promo.waste a.et_pb_button:before {
	content: url('../../uploads/2017/01/waste-collection-icon.png');
}

.res-tools-sidebar .et_pb_promo.waste a.et_pb_button:before {
	content: url('../../uploads/2017/01/waste-collection-icon-37px-2.png');
}

body #page-container .res-tools-home .et_pb_promo.potholes a.et_pb_button:before {
	content: url('../../uploads/2017/01/report-pothhole-icon.png');
}

.res-tools-sidebar .et_pb_promo.potholes a.et_pb_button:before {
	content: url('../../uploads/2017/01/report-pothhole-icon-37px-2.png');
}

body #page-container .res-tools-home .et_pb_promo.safety a.et_pb_button:before {
	content: url('../../uploads/2017/01/public-safety-icon.png');
}

.res-tools-sidebar .et_pb_promo.safety a.et_pb_button:before {
	content: url('../../uploads/2017/01/public-safety-icon-37px-2.png');
}

body #page-container .res-tools-home .et_pb_promo.works a.et_pb_button:before {
	content: url('../../uploads/2017/01/public-works-icon.png');
}

.res-tools-sidebar .et_pb_promo.works a.et_pb_button:before {
	content: url('../../uploads/2017/01/public-works-icon-37px-2.png');
}

body #page-container .res-tools-home .et_pb_promo.parks a.et_pb_button:before {
	content: url('../../uploads/2017/01/parks-rec-icon.png');
}

.res-tools-sidebar .et_pb_promo.parks a.et_pb_button:before {
	content: url('../../uploads/2017/01/parks-rec-icon-37px-2.png');
}

body #page-container .res-tools-home .et_pb_promo.code-red a.et_pb_button:before {
	content: url('../../uploads/2017/01/code-red-icon.png');
}

.res-tools-sidebar .et_pb_promo.code-red a.et_pb_button:before {
	content: url('../../uploads/2017/01/code-red-icon-37px-2.png');
}

body #page-container .res-tools-home .et_pb_promo.bids a.et_pb_button:before {
	content: url('../../uploads/2017/01/bids-rfps-icon.png');
}

.res-tools-sidebar .et_pb_promo.bids a.et_pb_button:before {
	content: url('../../uploads/2017/01/bids-rfps-icon-37px-2.png');
}

body #page-container .res-tools-home .et_pb_promo.ct-211 a.et_pb_button:before {
	content: url('../../uploads/2017/01/ct-211-icon.png');
}

.res-tools-sidebar .et_pb_promo.ct-211 a.et_pb_button:before {
	content: url('../../uploads/2017/01/ct-211-icon-37px-2.png');
}

.res-tools-home .et_pb_promo_description,
.res-tools-sidebar .et_pb_promo_description {
	display: none;
}

.res-tools-sidebar .et_pb_module.et_pb_promo {
	margin-bottom: .75em;
}

.single-post.et_right_sidebar #sidebar {
	padding-left: 0;
}

.photo-caption {
	text-align: left;
	color: #666;
	font-size: 16px;
	font-style: italic;
	display: block;
	background-color: #e8feff;
	text-shadow: none;
	padding-top: 8px;
	padding-bottom: 10px;
	width: 150%;
}

.twitter-feed {
	border: 1px solid #666;
}

iframe#twitter-widget-0 {
	width: 98% !important;
}

iframe#twitter-widget-0 .timeline-Widget {
	border: 1px solid #cc6924 !important;
}

@media only screen and (min-width: 981px) {
	.header-title {
		float: left;
		margin-left: 20px;
	}
	.header-title h1 {
		font-size: 46px;
		text-align: left;
		padding-bottom: 0;
	}
	.header-title h2 {
		font-family: 'Dancing Script', cursive;
		text-align: left;
		font-size: 44px;
		font-weight: normal;
		padding-bottom: 0;
	}
	.header-title span.quote-author {
		text-align: left;
		font-size: 17px;
		display: block;
	}
}

@media only screen and (max-width: 980px) {
	.header-title h1 {
		padding-top: 6px;
	}
	.header-title h2 {
		display: none;
	}
	.header-title span.quote-author {
		display: none;
	}
}

@media only screen and (max-width: 767px) {
	.header-title h1 {
		font-size: 20px;
	}
}

@media only screen and (min-width: 981px) and (max-width: 1100px) {
	.header-title h1 {
		font-size: 40px;
	}
	.header-title h2 {
		font-size: 38px;
	}
}

@media only screen and (max-width: 767px) {
	.office-mayor img.alignleft{
		float: none;
		display: block;
		margin-bottom: .5em;
	}
}

.widget_ninja_forms_widget {
	padding: 1em 1.5em;
}

.nf-form-title h3 {
	font-size: 22px;
}

.widget_ninja_forms_widget .field-wrap input[type="button"] {
	width: 100%;
}

h4.widgettitle {
	font-size: 26px;
	font-weight: 700;
	margin-bottom: 8px;
}

.et_pb_gutters3 .et_pb_column_1_3 .et_pb_widget {
	margin-bottom: 2em;
}

.et_pb_widget a[href$=".pdf"]:after {
	content: none;
}

@media only screen and (max-width: 767px) {
	#text-5 {
		margin-top: 2em !important;
	}

	#main-content .et_pb_row {

		width: 95% !important;
	}
}

@media only screen and (min-width: 768px) and (max-width: 980px) {
	#text-5 {
		float: right;
	}
}

.entry-content .et_pb_widget.widget_nav_menu {
	margin-right: 0;
}

.entry-content .et_pb_widget.widget_nav_menu {
	width: 100% !important;
}

.entry-content .widget_nav_menu ul li {
	font-size: 19px;
	font-weight: 700;
	padding: .5em 1em;
	margin-bottom: 0;
}

.entry-content .widget_nav_menu ul li a {
	text-decoration: underline;
}

.entry-content .widget_nav_menu ul li:nth-child(odd) {
	background-color: #eee;
}

.page-header {
	background-image: none !important;
	padding-top: 0 !important;
	padding-bottom: 0 !important;
}

@media only screen and (min-width: 768px) {
	.entry-content .et_pb_section.page-header .et_pb_row_1.et_pb_row {
		padding-top: 1.5em;
		padding-bottom: 1em;
	}
}

@media only screen and (max-width: 767px) {	
	.entry-content .et_pb_section.page-header .et_pb_row_1.et_pb_row {
		padding-top: 1em;
		padding-bottom: .5em;
	}	


}

.entry-content .et_pb_section.page-header + .et_pb_section {
	padding-top: 0 !important;
}

#cn-list .vcard span.cn-last-updated, span.cn-separator {
	display: none !important;
}

.meetings-agendas-list table tr:nth-child(even) {
    background-color: #eee;
}

.single-board_of_commission h2 {
	font-size: 32px;
}

.single-board_of_commission h3 {
	font-size: 22px;
}