/*
Theme Name: Rice, Heard & Bigelow
Theme URI: http://www.riceheard.com/
Description: A custom theme for Rice, Heard & Bigelow
Author: Forrest Grant
Author URI: http://www.atlantistech.com/
Version: 1.0
*/

/*
#
#	RESPONSIVE THEME REDESIGN
#	Responsive (Bootstrap-Based) Design by Evan Sobkowicz (evansobkowicz@gmail.com) for Atlantis Technology
#	March 2013
#
#
# Minot DeBlois Static Site Transition
# Evan Sobkowicz
# November 2014
#
*/


/* General Styles
-------------------------------------------------------------- */

body {
	font-size:14px;
	font-family: "Arial", sans-serif;
	margin:0;padding:0;
}

a {
	color: black;
	text-decoration: underline;
}
a:hover {
	color: black;
}
h1, h2, h3, h4, h5, h6 {
	font-weight: normal;
	clear: both;
}

/* Layout/Design
-------------------------------------------------------------- */

.body-wrapper {
	height: 154px;
	width: 100%;
	background-color: #fff;
	/*background-image: -moz-linear-gradient(top, #fafafa, #e4e4e4);
	background-image: -webkit-gradient(linear, 0 0, 0 100%, from(#fafafa), to(#e4e4e4));
	background-image: -webkit-linear-gradient(top, #fafafa, #e4e4e4);
	background-image: -o-linear-gradient(top, #fafafa, #e4e4e4);
	background-image: linear-gradient(to bottom, #fafafa, #e4e4e4);*/
	border-bottom-color: #0d4488;
	border-bottom-style: solid;
	border-bottom-width: 5px;
}
.container-fluid {
	margin: 0 auto;
	max-width: 940px;
	color:#949494;
}
header {
	height: 129px;
	font-family:"Times New Roman";
	background-color: #fff;
	/*background-image: -moz-linear-gradient(top, #fafafa, #e4e4e4);
	background-image: -webkit-gradient(linear, 0 0, 0 100%, from(#fafafa), to(#e4e4e4));
	background-image: -webkit-linear-gradient(top, #fafafa, #e4e4e4);
	background-image: -o-linear-gradient(top, #fafafa, #e4e4e4);
	background-image: linear-gradient(to bottom, #fafafa, #e4e4e4);*/
	border-bottom-color: #0d4488;
	border-bottom-style: solid;
	border-bottom-width: 5px;
	padding-bottom: 15px;
	max-width: 940px;
	margin-bottom: 20px;
}
.masthead {
	position:relative;
	margin-left:auto;
	margin-right:auto;
}
.branding {
	max-width: 568px;
}


@media (max-width: 767px) { /* Changed from 767px because of menu/logo overlap */
	.branding {
		padding: 5px;
	}
	.wrapper {
		padding-left: 20px;
		padding-right: 20px;
	}
}

@media (min-width: 767px) and (max-width: 845px) {
	.body-wrapper {
		border-bottom: none;
}
}



/* Menu Bar
-------------------------------------------------------------- */

nav {
	position:absolute;
	right:0;
	top:105px;
}
.skip-link {
	display: none;
}
.menu ul {
	list-style: none;
	margin: 0;
}
.menu ul li {
	display:inline-block;
	min-width:137px;
	min-height:43px;
	float:left;
}
.menu ul li.current_page_item {
	background-image: url(/assets/images/tab_bg.png);
}
.menu a {
	display: block;
	float: right;
	font-size:14px;
	font-family:"Times New Roman";
	color:#505050;
	text-decoration:none;
	text-transform:uppercase;
	display:block;
	width:100%;
	padding-top:10px;
	text-align:center;
}
.menu ul li.current_page_item a {
	color:#fff;
}
.menu a:hover {
	color:#2a61a3;
}

@media (max-width: 845px) { /* Changed from 767px because of menu/logo overlap */
	nav {
		position: relative;
		top: auto;
		right: auto:
	}
	header {
		min-height: 355px;
	}
	.menu ul {
		display: block;
	}
	.menu ul li {
		display: list-item;
		width: 100%;
		min-height:43px;
		margin: 0 auto;
	}
	.menu a {
		display: block;
		font-size:14px;
		font-family:"Times New Roman";
		color:#505050;
		text-decoration:none;
		text-transform:uppercase;
		display:block;
		width:100%;
		padding-top:10px;
		text-align:center;
	}
	.menu ul li.current_page_item {
		background-image: url(/assets/images/tab_block.png);
		background-position: center;
		background-repeat: no-repeat;
	}
}

/* Footer
-------------------------------------------------------------- */


footer {
	background-image:url(/assets/images/footer_tile.png);
	background-color:#072F60;
}

.colophon {
	max-width:940px;
	height:120px;
	margin-left:auto;
	margin-right:auto;
	color:#fff;
	padding-top:25px;
	padding-bottom:15px;
	position:relative;
	background:url(/assets/images/footer-logo.png) bottom right no-repeat;
}

.footright {
	text-align: right;
}
.footleft {
	padding: 10px;
}
footer .nav {
	padding-top: 10px;
	padding-right: 0px;
}
footer .nav ul {
	list-style:none;
	text-align: right;
}
footer .nav ul li {
	float:left;
	padding-right:10px;
	margin-left:10px;
	border-right:1px solid #fff;
	line-height:16px;
}
@media (max-width: 767px) {
	footer .nav ul li {
		float:left;
		padding-right:5px;
		margin-left:5px;
		border-right:1px solid #fff;
		line-height:16px;
	}
}
footer .nav ul li a {
	color:#fff;
	text-decoration:none;
}
footer .nav ul li a:hover {
	text-decoration:underline;
}



footer a {
	color: white;
	text-decoration: underline;
}
footer a:hover {
	color: white;
	text-decoration: none;
}



/* Photo Heading - Homepage
-------------------------------------------------------------- */

.homephoto {
	background-image: url(/assets/images/welcome_bg.png);
	background-repeat: no-repeat;
	height: 387px;
	padding-top: 10px;
}
.homephoto .overlay h1 {
	font-family: "Times New Roman";
	font-weight: normal;
	font-size: 28px;
	color: #000;
}
.overlay {
	background: rgba(255,255,255,0.5);
	margin: 20px;
	padding: 5px;
	line-height: 20px;
	border-width: 1px;
	border-style: solid;
	border-color: #aaa;
}
.floatbutton {
	float: right;
	margin-top: 15px;
	margin-left: 10px;
	margin-right: 15px;
}
.floatbutton {
	float: right;
	margin-top: -45px;
	margin-left: 10px;
	margin-right: 15px;
}

@media (max-width: 940px) {
	.floatbutton {
		float: none;
		margin: 10px;
	}
}

/* Photo Heading - Other Pages
-------------------------------------------------------------- */

#main_page_welcome {
	margin:15px 0 15px 0;
	background:url(/assets/images/main_welcome_bg.png) no-repeat;
	min-height:225px;
	position:relative;
	border:1px solid #ccc;
}
@media (max-width: 767px) {
	.page-id-12 #main_page_welcome {
		display: none;
	}
}


/* Homepage Column Styles
-------------------------------------------------------------- */

.homecontent h3 {
	font-weight: 200;
	font-size:24px;
	text-transform:uppercase;
}
.homecontent p {
	line-height:25px;
	text-align:justify;
}
.homecontent {
	margin-bottom: 20px;
	color: #505050;
}
.homecontent .btn {
	margin-bottom: 10px;
}
@media (max-width: 767px) {
	.homecontent .btn {
		float: none;
		margin: 10px;
	}
}
.contact img {
	padding:5px;
	border:1px solid #e6e6e6;
}
.contact p {
	line-height: 20px;
	padding: 10px;
}

/* General Page Styles
-------------------------------------------------------------- */

.page-content img {
	padding:5px;
	border:1px solid #e6e6e6;
}
.page-content p {
	line-height:21px;
}
.page-content {
	margin-bottom: 20px;
}


/* Sidebar Styles
-------------------------------------------------------------- */

.widget-area {
	background-image: url(/assets/images/widgetbg.png);
	background-repeat: no-repeat;
	background-position: center center;
	min-height:272px;
	margin-left:5px !important;
	margin-right:5px !important;
	text-align:center;
}

.widget-area h3 {
	color:#808080;
	font-weight:bold;
	text-align:center;
	font-size:18px;
}

.widget-area ul {
	padding:0px;
	list-style: none;
}

.widget-area ul li {

}

.widget-container {
	max-width: 225px;

}

.widget-container ul {
	list-style:none;
	padding:0;
	margin-left:0px !important;
}


.widget-container ul li {
	list-style:none;
	border-top:1px solid #e6e6e6;
	line-height:24px;
	padding-top: 5px;
	padding-bottom: 5px;
	background:url(/assets/images/sidebar_li.png) no-repeat right;
	text-align: left;
	margin-left:5px;

}

.widget-container ul li a {
	color:#808080;
	text-decoration:none;
}

.widget-container ul li a:hover {
	color:#2a61a3;
}

.widget-container img {
	padding:5px;
	border:1px solid #ccc;
	/*width:245px;*/
}

.sidebar-content {
	text-align: center;
}


@media (max-width: 767px) {

	.widget-area  {
		background-image: none;
	}
	.left-sidebar {
		max-width: 100%;
		text-align: center;
	}
	.widget-container {
		max-width: 100%;
	}
	.widget-container ul li {
		list-style:none;
		border-top:1px solid #e6e6e6;
		line-height:24px;
		padding-top: 5px;
		padding-bottom: 5px;
		background: none;
		text-align: center;
		margin-left:0px;
	}
	.widget-container img {
		max-height: 200px;
	}
	.xoxo {
		margin: 0px;
	}

}


/* Map Styles (for contact page)
-------------------------------------------------------------- */



#map_canvas {
	position:relative !important;
	border:1px solid #666;
	margin:15px 0 15px 0;
}

.mcsmall {
	max-width:285px !important;
	height:233px !important;
}

.mclarge {
	max-width:440px !important;
	height:330px !important;
}



/* Bootstrap Button Styles (override for homepage overlay button)
-------------------------------------------------------------- */

.btn-primary {
  color: #ffffff;
  font-family: "Times New Roman", serif;
  font-size: 13px;
  text-shadow: 0 -1px 0 rgba(0, 0, 0, 0.25);
  background-color: #295fa1;
  *background-color: #0a3365;
  background-image: -moz-linear-gradient(top, #295fa1, #0a3365);
  background-image: -webkit-gradient(linear, 0 0, 0 100%, from(#295fa1), to(#0a3365));
  background-image: -webkit-linear-gradient(top, #295fa1, #0a3365);
  background-image: -o-linear-gradient(top, #295fa1, #0a3365);
  background-image: linear-gradient(to bottom, #295fa1, #0a3365);
  background-repeat: repeat-x;
  border-color: #0a3365 #0a3365 #295fa1;
  border-color: rgba(0, 0, 0, 0.1) rgba(0, 0, 0, 0.1) rgba(0, 0, 0, 0.25);
  filter: progid:DXImageTransform.Microsoft.gradient(startColorstr='#295fa1', endColorstr='#0a3365', GradientType=0);
  filter: progid:DXImageTransform.Microsoft.gradient(enabled=false);
}

.btn-primary:hover,
.btn-primary:focus,
.btn-primary:active,
.btn-primary.active,
.btn-primary.disabled,
.btn-primary[disabled] {
  color: #ffffff;
  background-color: #295fa1;
  *background-color: #295fa1;

  background-image: -moz-linear-gradient(top, #0a3365, #295fa1);
  background-image: -webkit-gradient(linear, 0 0, 0 100%, from(#0a3365), to(#295fa1));
  background-image: -webkit-linear-gradient(top, #0a3365, #295fa1);
  background-image: -o-linear-gradient(top, #0a3365, #295fa1);
  background-image: linear-gradient(to bottom, #0a3365, #295fa1);
  background-repeat: repeat-x;

}

.btn-primary:active,
.btn-primary.active {
  background-color: #0a3365 \9;
}



/* --------------------------------------------------------------

   Basic WordPress Blog Styles

-------------------------------------------------------------- */


/* Images
-------------------------------------------------------------- */

.entry-content img {
	margin: 0 0 1.5em 0;
}
.alignleft,
img.alignleft {
	display: inline;
	float: left;
  margin-right: 1.5em;
}
.alignright,
img.alignright {
	display: inline;
	float: right;
  margin-left: 1.5em;
}
.aligncenter,
img.aligncenter {
	clear: both;
	display: block;
	margin-left: auto;
	margin-right: auto;
}
.wp-caption {
	text-align: center;
	margin-bottom: 1.5em;
}
.wp-caption img {
	margin: 0;
	padding: 0;
}
.wp-caption p.wp-caption-text {
	margin: 0;
}
.wp-smiley {
	max-height: 1em;
	margin:0 !important;
}
.gallery dl {
	margin: 0;
}
.gallery-caption {
	margin:-1.5em 0 0 0;
}


/* Pullquotes
-------------------------------------------------------------- */

blockquote.left {
	float: left;
	margin-left: 0;
	margin-right: 20px;
	text-align: right;
	width: 33%;
}
blockquote.right {
	float: right;
	margin-left: 20px;
	margin-right: 0;
	text-align: left;
	width: 33%;
}


/* /assets/images/Captions
-------------------------------------------------------------- */

.wp-caption p {
	text-align: center;
}
.wp-caption {
	max-width: 300px;
	line-height: 12px;
}
.wp-content img {
	padding:5px;
	border:1px solid #e6e6e6;
}

.nostyle {
	text-decoration: none !important;
}

.headshot {
	max-width: 150px;
	margin-right: 15px;
}
