
/* --- Nav Menu --- */
@media all and (max-width: 768px) {
	iframe, .mainContent img {
		max-width: 100%!important;
	}
	nav a {
		font-size: 1.2em;
		line-height: 2;
	}
}


/* -- RESPONSIVE OBITS -- */

@media all and (max-width: 768px) {
	.obituary .obit-item .obit-aside,
	.obituary .obit-item .obit-content {
		width: 100%!important;
		float: none!important;
	}
	.obituary .obit-item .obit-content div:nth-child(1) {
		clear: both;
	}
	.obit-item .obit-aside img.obit-photo {
		width: 40%;
		float: left;
	}
	.obit-links {
		width: 56%;
		float: right;
		clear: none!important;
	}

	/* -- OBIT PAGE -- */
	.sitelink {
		display: block;
		line-height: 2.3;
	}
	.obit-listbox .obit-list .obit-item {
		text-align: center;
	}
	.obit a {
		display: block;
	}
	img.obit-photo, div.obit-photo {
		float: none;
		padding: 2em;
	}
	.obit-results-header .small, .obit-listbox-header small {
		display: block;
		color: black!important;
		line-height: 2;
	}
	.obit-searchbar {
		text-align: center;
	}
	.obit-searchbar .search-by-local {
		float: none!important;
	}
	.obit-searchbar .search-button {
		padding: 1em;
	}


	/* -- OBIT HOMEPAGE -- */
	.vertical-welcome-obits .obituary .obit-item .obit-aside,
	.vertical-welcome-obits .obituary .obit-item .obit-content {
		width: 100%!important;
		float: none!important;
	}
	.vertical-welcome-obits .obituary .obit-item .obit-content div:nth-child(1) {
		clear: both;
	}
	.vertical-welcome-obits .obit-item .obit-aside img.obit-photo {
		width: 40%;
		float: left;
	}
	.obit-links {
		width: 56%;
		float: right;
		clear: none!important;
	}

}
@media all and (max-width: 440px) {
	.obit-item .obit-aside img.obit-photo {
		width: 100%;
		float: none;
	}
	.obit-links {
		width: 100%;
		float: none;
		clear: both!important;
	}
}

/* -- RESPONSIVE LOCATIONS/STAFF/HISTORY PAGE -- */

@media all and (min-width: 769px) {
	.who-we-are-tab-section .tab-pane h3, 
	.who-we-are-tab-section .tab-pane h5 {
		display: table;
		padding-bottom: .5em;
	}
}

@media all and (max-width: 768px) {

	#map_canvas {
		height: 335px!important;
		width: 100%!important; 
	}

	.nav > li > a > img.location-tn {
		max-width: 100px;
		float: left;
		margin: 2px 1em;
	}

	.who-we-are-tab-section { border: none; }

	.who-we-are-tab-section ul li:last-child a, 
	.who-we-are-tab-section ul li:last-child.active a {
		border: solid 1px #d1c59e;
	}

	.who-we-are-tab-section:not(.tab-section) ul li a, 
	.who-we-are-tab-section:not(.tab-section) ul li.active a {
		padding: 5px 5px;
	}

	.who-we-are-tab-section { 
		border: none;
		background-color: transparent;
	}

	img.who-we-are-photo {
		float: none!important;
		margin-top: 10px;
		margin-left: 0;
		margin-right: 0;
	}
	.common-framed-container .content .content-item p {
		display: table;
		padding-top: 10px;
	}

	.who-we-are-tab-section .tab-content,
	.who-we-are-tab-section.tab-section .tab-pane,
	.who-we-are-tab-section .location-info,
	.who-we-are-tab-section .locations-map {
		width: 100%;
		margin-bottom: 2em;
	}

	.who-we-are-tab-section.tab-section .tab-pane {
		padding: 2em;
	}

	.who-we-are-tab-section.tab-section,
	.who-we-are-tab-section.tab-section .navbar-nav {
		margin: 0;
	}

	nav.who-we-are-tab-section.tab-section {
		margin-bottom: 15px;
		width: 100%;
	}

	.who-we-are-tab-section ul li {
		border: 1px solid #d1c59e;
		white-space: normal;
	}

	.who-we-are-tab-section ul li.active {
		border: none;
	}
}

/* --- RESPONSIVE STAFF PAGE --- */

#staff-accordion .btn-link:focus, .btn-link:hover {
	text-decoration: none!important;
	outline: none;
}

@media all and (max-width: 768px) {
	#staff-accordion .btn { padding: 0!important; }
	#staff-accordion .team-circle-mobile {
		float: left;
		margin-right: 1em;
		border-radius: 50%;
	}
}

/* -- RESPONSIVE CALLOUTS --- */

@media all and (max-width: 768px) {
	.callout a {
		display: block;
		text-align: center;		
	}
}

/* --- RESPONSIVE FOOTER --- */	

@media all and (max-width: 768px) {	
	footer {	
		text-align: center;	
		font-size: 1.2em;	
		line-height: 2;	
	}	
	footer nav < li {	
		display: inline-block;	
		padding-right: 20px;	
	}	
}

/* ---- SMALLER DEVICES --- */

@media all and (max-width: 420px) {

	h4.team-mobile {
		font-size: 1.4em;
		white-space: break-spaces;
	}
	h4.team-mobile br { display: none; }

	.secondary-inline-nav { margin-left: 0; }
	.secondary-inline-nav a {
		margin-left: 0;
		white-space: nowrap;
		line-height: 2;
		padding: 10px;
	}

	.common-layout { padding: 10px; }
	.common-layout .container-control { padding: 0!important; }	
	.common-framed-container { padding: 0!important; }
	.common-framed-container .content .content-item { padding: 10px!important; }
	.common-framed-container .content .content-item .col-md-6 { padding: 0!important; }
	.common-framed-container .content .content-item address.well p { padding: 0!important; margin: 10px 0!important; }
	.common-framed-container .content .content-item address.well img { width: 100%; margin: 0!important; }

	#carousel-location .carousel-inner img.location-photo { width: 46%!important; margin-bottom: 10px; }

	h1, h2 { padding-left: 10px; }
	.content-item > h5 { padding: 10px 15px 0; }
}