body {
	margin-top: 0 !important; /* Some templates have this. */
	/*font-size: inherit; /* Makes Foundation work again */
	background: none !important;
	
    font-family: "Open Sans", "Helvetica", sans-serif;
    font-size: 14px;	
}

.ellipsis.expanded {
	overflow: visible;
	position: absolute;
}

.do-submit{
	cursor: pointer;
}

.pagination{
	margin-bottom: 0;
	font-size: .75rem;
	line-height: 1.5rem;
}
.pagination i{
	font-size: 1.2rem;
}
.pagination .button {
	margin-bottom: 0;
	padding: 0.125rem 0;
	width: 45%;
	color: #4d4d4d;
	text-shadow: none;
	background: #fff;
}

.date-text{
  font-size: 0.8rem;
}

.sort-label{
	font-size: 0.85rem;
	line-height: 2.5rem;
	padding-right: 1rem;
}
select {
	font-size: 0.85rem;
}
.sort-controls{
	font-size: 1.25rem;
	line-height: 0.25rem;
}
.sort-controls i.selected {
	color: #ccc;
}

#sort-dropdown {
  left: auto!important;
  right: 0;
  padding: 0.5rem;
  width: 115% !important;
  white-space: nowrap;
}

#sort-dropdown li:not(last-child){
	margin-bottom: 0.625rem;
}
.button.dropdown::after {
	margin-left: 0;
}
.service-row {
  margin: 0.625rem auto 2rem;
  padding: 0.25rem;
  height: 8.26rem;
  background: #fff;
  border-radius: 6px;
}

#condList a:first-child .service-row{
	margin-top: 0;
}
#condList h3 {
	margin-bottom: 0;
}
#condList h4 {
	font-size: 0.75rem;
	font-weight: bold;
	line-height: 1rem;
}
#condList a {
  display: block;
  color: #004B58;
}

.links {
  text-align: center;
}

#service-type-tabs .tabs-title {
  width: 50%;
  white-space: nowrap;
}

.rec-info {
}

.bom-text {
  font-weight: bold;
}

.links .bom-text {
  font-size: 0.9rem !important;
  line-height: 1rem !important;
  white-space: nowrap;
  color: #813935;
}

.rec-photo {
  padding: 0;
  height: 100%;
  max-width: 7.5rem;
  text-align: center;
  overflow: hidden;
  position: relative;
  border-radius: 5px;
  border: 1px solid #ccc;
}

.rec-photo img {
  height: 100%;
  min-height: 100%;
  max-height: initial;
  width: auto;
  max-width: initial;
  margin-left: -100%;
  margin-right: -100%;
}

.rec-photo .shadow {
  position: absolute;
  top: 0;
  bottom: 0;
  left: 0;
  right: 0;
  box-shadow: inset 0px 0px 0px 5px #fff;
}
#services {
	
}
.controls {
  margin-bottom: 2.5rem;
  padding: 0.625rem 0;
  background: #e6e6e6;
  border: 1px solid #ccc;
  border-radius: 5px;
}
.controls-footer {
	padding: 0.625rem;
	background: #e6e6e6;
	border: 1px solid #ccc;
    border-radius: 5px;
}
.ellipsis {
  height: 3rem;
  margin-top: .12rem;
  overflow: hidden;
  /*background: rgba(255,255,255,0.8);*/
  word-wrap: break-word;
  transition: all 0.5s ease;
  /*text-align: justify;*/
  padding-right: 1rem;
  transition: all 0.15s ease;
}
.ellipsis:hover {
	color: #eee;
}
.ellipsis:before {
	display: none;
	content: "Click to Read More";
	position: absolute;
	left: 5rem;
	right: 0;
	opacity: 1;
	float: left;
	height: 4.5rem;
	color: #000;
	text-align: center;
	line-height: 3rem;
	transition: all 0.5s ease;
}
.ellipsis:hover:before {
	display: block;
}

.ellipsis > *:first-child {
  float: right;
  width: 100%;
  margin-left: -0.3125rem;
}
.ellipsis:after {
  font-family: FontAwesome;
  content: "\f141";
  position: relative;
  top: 2rem;
  left: calc(100% + 1rem);
  margin-left: -3rem;
  padding-right: .3125rem;
  width: 3rem;
  text-align: right;
  color: #777;
  font-size: 1.125rem;
  box-sizing: content-box;
  -webkit-box-sizing: content-box;
  -moz-box-sizing: content-box;
  float: right;
  z-index: 9;
}
/*
.ellipsis:hover:after {
  display: none;
}*/

body {
  
}

a:link, a:visited {
  color: #114B5C;
}

.column.small-12 {
  color: #030303 !important;
}

.column.small-12 div:nth-child(1) > a {
  color: #2B2B2B !important;
  /*font-family: Roboto Slab;*/
  font-size: 1.14em;
  font-weight: bold;
}
.controls-filters {
    padding-top: 0.5rem;
    border-top: 1px solid #fff;
    box-shadow: 0 -1px 0 #ccc;
}
.column.small-12 div:nth-child(2) > a {
  color: #4A4A4A !important;
  font-size: .825rem;
  font-family: Roboto Slab;
  font-weight: 500;
}

p {
  font-size: inherit;
  font-size: .75rem;
  line-height: 1rem;
}

.button {
	margin-bottom: 0.625rem;
	color: #fff;
	font-size: 0.75rem;
	text-shadow: 1px 1px 1px rgba(0,0,0,.75);
	background-color: #4d4d4d;
	border-radius: 5px;
	box-shadow: 0 1px 0 rgba(0,0,0,.65);
}

.button:focus, .button:hover {
	color: #fff;
	background-color: #999;
}
i.avoid-clicks {
	pointer-events: auto;
}
.input-group {
	margin-bottom: 0.5rem;
}
.input-group-button {
	/*width: 10%;*/
}
.input-group-button .button-value-hidden.searchButton {
	padding: 0;
	width: 100%;
	height: 2.5rem;
	color: transparent;
	text-shadow: none;
	box-shadow: none;
	border-radius: 0 5px 5px 0;
}
.input-group-button i.fa {
    color: #fff;
    font-size: 1.25rem;
	text-shadow: 1px 1px 1px rgba(0,0,0,.75);
}
.fbook-prev-obit, .fbook-next-obit {
	color: #fff;
	background-color: #4e69a2;
	border: 1px solid;
	border-color: #435a8b #3c5488 #334c83;
	border-radius: 3px;
	font-size: .9rem;
	padding-left: .6em;
	padding-right: .6em;
 }
 
 .fbook-prev-arrow {
	top: 1em;
	color: #fff;
	font-size:1rem !important;
 }
 
 .fbook-next-arrow {
	top: 1em;
	color: #fff;
	font-size:1rem !important;
 }
 
 .do-submit.float-right.submit-right-btn.fbook-next-obit {
	text-align: right;
	padding-right: .9rem;
 }
 
 .ui-datepicker-header.ui-widget-header.ui-helper-clearfix.ui-corner-all {
	font-size: 0.75rem;
	background: #4c4c4c;
 }
 
 a.ui-datepicker-prev.ui-corner-all {
	padding-top: .16rem;
	padding-left: .75rem;
	color: #fff;
	float: left;
 }
 
 a.ui-datepicker-next.ui-corner-all {
	padding-top: .16rem;
	padding-right: .75rem;
	color: #fff;
	float: right;
 }
 
 .ui-datepicker-title {            
	width: 12.18rem;
	color: #fff;
	font-size: 0.75rem;
	text-align: center;
	float: left;
 }

div#ui-datepicker-div {
	background: #4c4c4c;
	box-shadow: 0 0 25px rgba(0,0,0,.5), inset 0 0 0 2px #fff;
 }
 
 a#current-label, a#past-label {
	padding: 1rem 0.5rem;
 }
 .tabs {
	margin: 0;
	margin-bottom: .2rem;
	background: #fefefe;
	border-radius: 5px;
 }
 #service-type-tabs .tabs-title a#current-label {
	border-radius: 5px 0 0 5px;
 }
 #service-type-tabs .tabs-title a#past-label {
	border-radius: 0 5px 5px 0;
 }
 
 .tabs-title>a:focus, .tabs-title>a[aria-selected=true] {
	color: #fff !important;
	background: #4c4c4c;
 }
 
 .do-submit.do-page.float-left.submit-left-btn.fbook-prev-obit.fbook-first-obit {
	width: 2em;
	height: 1.76em;
	margin-right: .4em;
 }
 
 .do-submit.float-right.do-page.submit-right-btn.fbook-next-obit.fbook-last-obit {
	width: 2em;
	height: 1.76em;
	margin-left: .4em;
 }
 
 .do-submit.do-page.float-left.submit-left-btn.fbook-prev-obit.fbook-first-obit i.fa.fa-step-backward.fbook-prev-arrow {
	margin-top: .53em;
 }
 
 .do-submit.float-right.do-page.submit-right-btn.fbook-next-obit.fbook-last-obit i.fa.fa-step-forward.fbook-next-arrow {
	margin-top: .53em;
	margin-left: .24em;
 }
 
 i.fa.fa-step-backward.fbook-prev-arrow {
	font-size: .72rem !important;
 }
 
 i.fa.fa-step-forward.fbook-next-arrow {
	font-size: .72rem !important;
 }
 
 @media screen and (max-width: 750px) {
	iframe.service-listings-new-frame body {
	   margin-top: 0!important;
	}
 }
 
 @media screen and (max-width: 434px) {
	div#ui-datepicker-div {
		left: 0 !important;
		right: 0;
		margin: auto;
		max-width: 18.125rem;
		background: #4c4c4c;
	}
 }
 
/* ******************** */
/* COLCHESTER OVERRIDES */
/* ******************** */
#services {
	/*margin: auto;
	max-width: 1380px;*/
	padding: 80px 0 3rem;
	font-family: "Source Sans Pro", sans-serif;
}
#services.home {
	background: #f9efe1;
}
#services h1,
#services h2,
#services h3,
#services h4,
#services h5,
#services h6 {
	font-family: "Source Sans Pro", sans-serif;
}
#services .controls {
	margin: 0 auto 40px;
	padding: 0;
	max-width: 1380px;
	background: none;
	border: 0;
}
#services.home .controls .input-group {
	margin-bottom: 0;
}
#services .controls #search-text {
  padding: 1.4625rem 1rem;
}
#services .controls .input-group-button .searchButton {
	margin-left: 1rem;
	padding: 1rem 2rem;
	font-size: 1.1em;
}
#services.home .controls-filters {
  display: none;
}
#services input#search-text {
	font-size: 22px;
	border-color: #ead7b5;
	box-shadow: none;
}
#services input#search-text::placeholder {
	font-size: 22px;
  color: #510f00;
}
#services .button {
	text-transform: uppercase;
	text-shadow: none;
	background-color: #d6813e;
	box-shadow: none;
}
#services .button:hover,
#services .button:focus {
	background-color: #831c00;
}
#services #condList {
	
}
#services #condList .service-listing-container {
	margin: auto;
	max-width: 1380px;
	display: flex;
	justify-content: space-between;
	flex-wrap: wrap;
}
#services #condList a.service-listing {
	margin-bottom: 2rem;
	width: 16%;
	max-width: 218px;
	background-color: #f1d8b5;
	transition: ease 250ms;
}
#services #condList a.service-listing:hover,
#services #condList a.service-listing:focus {
	background-color: #e4cfa8;
}
#services.home #condList a.service-listing {
	margin-bottom: 0;
}
#services #condList a.service-listing .service-row {
	margin: 0;
	padding: 0;
	height: auto;
	background: none;
	border-radius: 0;
}
#services .rec-photo {
	max-width: unset;
	height: 215px;
	border: 1px solid #f1d8b5;
	border-radius: 0;
}
/*
.rec-photo img {
	height: auto;
	width: 100%;
}
*/
#services #condlist .rec-info {
	padding: 1rem;
}
#services #condlist .rec-info h3 {
	color: #831c00;
	font-size: 20px;
	font-weight: bold;
	line-height: 1.2;
}
#services #condlist .rec-info h4 {
	margin-bottom: 0;
	color: #603628;
  font-size: 15px;
	font-weight: 400;
}
#services .controls-footer {
	padding: 40px 0 80px;
	background: none;
	border: 0;
	border-radius: 0;
}
#services.home .controls-footer {
	background: #f9efe1;
}
#services .controls-footer .pagination-container {
	margin: auto;
	max-width: 1380px;
}
#services .controls-footer .pagination-btn-left,
#services .controls-footer .pagination-btn-right {
	color: #d36922;
	font-size: 20px;
	font-weight: 600;
	transition: ease 250ms;
}
#services .controls-footer .pagination-btn-left:hover,
#services .controls-footer .pagination-btn-left:focus,
#services .controls-footer .pagination-btn-right:hover,
#services .controls-footer .pagination-btn-right:focus {
	color: #804213;
}
#services .controls-footer .pagination-btn-left i {
	margin-right: 1rem
}
#services .controls-footer .pagination-btn-right i {
	margin-left: 1rem;
}
#services.home #condlist .page-count {
	display: none;
}
#services #condlist .button1 {
	padding: 0.75rem 1rem;
	color: #d36922 !important;
	font-size: 18px;
	font-family: sans-serif;
	text-transform: uppercase;
	font-weight: normal;
	border: 1px solid #d6813e;
	transition: ease 250ms;
}
#services #condlist .button1:hover,
#services #condlist .button1:focus {
	color: #fff !important;
	border-color: #d6813e;
	background: #d6813e;
}

/* COLCHESTER OBITUARIES PAGE-SPECIFIC OVERRIDES */
#services.obituaries .controls-filters {
	border-top: 0;
	box-shadow: none;
}
#services.obituaries .controls input,
#services.obituaries .controls button.button:not(.searchButton) {
	color: #510f00;
	font-size: 22px;
	text-transform: none;
	background-color: #f8f3e8;
	border-color: #f6efe1 !important;
	border-radius: 0;
}
#services.obituaries .controls-filters button {
  margin-bottom: 0;
	padding: 0.5rem !important;
	width: calc(100% - 8px);
}
#services.obituaries .controls .dropdown-pane input {
	font-size: initial;
	background: #fff;
	box-shadow: none;
}
#services.obituaries .controls input::placeholder {
	color: #404040;
	font-size: 0.75em;
}
.button.dropdown::after {
  border-color: #bf8143 #0000 #0000;
}
#services.obituaries .controls-filters .pagination,
#services.obituaries #condlist .button1 {
	display: none;
}
@media screen and (max-width: 960px) {
	#services #condList a.service-listing {
		width: 24%;
	}
	#services.home #condList a.service-listing {
		width: 33%;
	}
}
@media screen and (max-width: 650px) {
	#services #condList a.service-listing {
		width: 33%;
	}
}
@media screen and (max-width: 420px) {
	#services #condList a.service-listing,
	#services.home #condList a.service-listing {
		width: 48%;
	}
	#services #condlist .button1 {
		padding: 0.75rem;
		font-size: 10px;
		line-height: 1.2;
	}
	#services .controls-footer .pagination-btn-left i,
	#services .controls-footer .pagination-btn-right i {
    font-size: 2.5rem;
	}
	span.pagination-btn-text {
		display: none;
	}
	#services.obituaries .controls-filters button {
		font-size: 16px !important;
	}
}

.notification-wrapper {
		display: inline-block;
		position: relative;
		width: 100%;
}
.notification-wrapper .notification-title {
		margin: 0;
		padding: 0 1rem;
}
.open-notification-popup {
		margin: 0!important;
		width: 100%!important;
		cursor: pointer;
}
.open-notification-popup .text{
		max-width: 100%!important;
}
.notification-wrapper:not(.form) .notification-popup {
		position: absolute;
		display: none;
		background: black;
		background: rgba(0,0,0,0.8);
		width: 350px;
		height: auto;
		color: white;
		z-index: 2;
}
.notification-inner {
		padding: 1rem;
}
.notification-verbiage {
		margin-bottom: 0.5rem;
}
.notification-success {
		text-align: center;
		display: none;
		padding-top: 1rem;
}
.notification-popup.down{
		top: 100%;
}
.notification-popup.up{
		bottom: 100%;
}
.notification-wrapper:not(.form) .notification-popup.left{
		left: 0;
}
.notification-wrapper:not(.form) .notification-popup.right{
		right: 0;
}
.notification-wrapper:not(.form) .notification-popup.center{
		left: 50%;
		transform: translateX(-50%);
}

.notification-spinner {
		vertical-align: middle;
		display: none;
		animation: spin 2s infinite linear;
		-moz-animation: spin 2s infinite linear;
		-webkit-animation: spin 2s infinite linear;
}
.notification-wrapper:not(.form) .notification-spinner {
		color: white;
		fill: white;
}

@-webkit-keyframes fa-spin {
	0% {
		-webkit-transform: rotate(0deg);
		transform: rotate(0deg);
	}
	100% {
		-webkit-transform: rotate(359deg);
		transform: rotate(359deg);
	}
}
@keyframes fa-spin {
	0% {
		-webkit-transform: rotate(0deg);
		transform: rotate(0deg);
	}
	100% {
		-webkit-transform: rotate(359deg);
		transform: rotate(359deg);
	}
}  

.notification-wrapper:not(.form) .notification-popup input.ObitEmailAddress {
	text-align: center;
}


