/*********************************************
Styles for DuraSpace.org (Main Site Only)
**********************************************/
.top-bar .menu > li.active > a {
	font-weight:500;
}
.off-canvas .menu > li > a {
	line-height:2.75;
}
.entry-content h4 {
	font-size: 18px;
	padding: 0;
	line-height: 1.5;
	margin-top: 40px;
}
.entry-content h4:first-child {
	margin-top:0;
}
.merge-announcement {
	margin-bottom: 0 !important;
	font-size: 16px !important;
	font-weight: 700 !important;
	padding: 0px !important;
	position: relative !important;
	top: 1px !important;
}
.merge-announcement img {
	width: 125px !important;
	text-align: center !important;
	display: inline-block !important;
	margin: 0 auto !important;
	position: relative !important;
	top: -1px !important;
	left: 3px !important;
}
/****************************
Staff Pages 
****************************/
.staff-container {
	background: #fff;
	border-radius: 4px;
	border: 1px solid rgba(239,239,239, 1);
	overflow:hidden;
}
.staff-member {
	padding: 20px 20px 30px 20px;
	margin-bottom: 10px;
	border-bottom: 2px solid rgba(239,239,239,1);
	overflow: hidden;
}
.staff-member:last-child {
	margin-bottom:0;
	border-bottom:0;
}
.staff-member h4 {
	font-size: 18px;
	font-weight: bold;
	letter-spacing: 1px;
	margin: 0;
}
/****************************
News Pages
****************************/
.sidebar .widgettitle {
	text-align: left;
	font-size: 18px;
	font-weight: 100;
	margin-bottom:0;
	border-bottom: 1px solid #dedede;
	padding: 12px 16px;
	font-family: 'Bree Serif', Georgia, Times, serif!important;
}
.sidebar .widget_nav_menu {
	background: #fff;
	padding:0;
	border-radius: 6px;
	border: 1px solid #dedede;
	margin-bottom: 20px;
}
.sidebar .widget_nav_menu li {
	display:block;
}
.sidebar .widget_nav_menu li a {
	color:#222;
}
.sidebar .widget_nav_menu .active > a, 
.sidebar .widget_nav_menu li > a:hover {
	background: rgba(0,0,0,.05);
}
.sidebar .widget_tag_cloud {
	background: #fff;
	padding: 16px;
	border-radius: 6px;
	border: 1px solid #dedede;
}
.sidebar .widget_tag_cloud .widgettitle {
	text-align:center;
	margin-bottom: 20px;
	padding-bottom: 12px;
	padding-top: 0;
}
.tagcloud a.tag-cloud-link {
	font-size: 16px !important;
	display: block;
	padding: 6px 12px;
	border: 1px solid #dedede;
	border-radius: 4px;
	margin-bottom: 5px;
}
.tagcloud a.tag-cloud-link .tag-link-count {
	font-size:15px;
	color:#000;
}

/*********************************************
 Smartphone Styles - 767px and smaller
**********************************************/
@media screen and (max-width:639px) {
	.staff-member img {
		display:block;
		margin:0 auto 20px;
	}
}
@media screen and (min-width:640px) and (max-width:767px) {
	.home .home-banner {
		background-size:1440px;
		background-position:40%;
	}
	.home .home-banner .cover-text {
		font-size:24px;
		margin:45px auto;
		max-width:580px;
	}
}
@media screen and (max-width:767px) {
	#site-header {
		height:72px;
		box-shadow:0 0 1px rgba(0, 0, 0, 0.5);
	}
	#bottom-bar-main-menu {
    position: relative;
    top: -2px;
	}
	#content {
		margin-top:71px;
	}
	.top-bar .top-bar-left, .top-bar .top-bar-right {
		width:50%;
	}
	.top-bar-right {
		padding:8px 0;
	}
	.top-bar-right.show-for-small-only {
		background:transparent;
	}
	.top-bar-left .menu > li > a {
		padding-left:20px;
		text-align:left;
	}
	.top-bar-left .menu > li > a > img {
		height:34px;
		margin-top:3px;
	}
	.home .home-banner {
		background-size:1024px;
		background-position:40%;
	}
	#home-services .box-padding {
		text-align:center;
	}
	.home .news-item,
	.home .box-padding {
    max-width: 420px;
    margin: 0 auto 40px;
	}
}
/*********************************************
 Tablet Styles - 768px+
**********************************************/
@media screen and (min-width: 768px) and (max-width:1023px) {
	.top-bar-right.show-for-small-only {
		display:block !important;
	}
}
@media screen and (min-width: 768px) {
	#content {
		margin-top:71px;
	}
	#site-header, .top-bar, .top-bar-left .menu > li > a > img {
		height: 45px;
	}
	#bottom-bar-main-menu {
		display:block;
    top: 12px;
    right: 10px;
	}
	.top-bar {
		background-color:#329998;
		color:#FFF;
		text-align:center;
		width:100%;
		height:45px;
	}
	.top-bar .menu > li {
		padding:0;
	}
	.top-bar .menu > li > ul > li {
		padding:0;
		text-align:left;
	}
	.top-bar .menu > li > ul > li > a {
		color:rgba(0,0,0,.87);
		font-size:15px;
		padding:10px 30px 10px 20px;
		line-height:1;		
		white-space:nowrap;
	}
	.top-bar .menu > li > ul > li.active > a {
		background:rgba(0,0,0,.1);
    color: rgba(0,0,0,.87);
	}
	.top-bar .is-dropdown-submenu {
		min-width:160px;
	}
	.top-bar .top-bar-left {
		width:15%;
		min-width:200px;
	}
	#site-header .top-bar .menu:not(.submenu) > li:not(.button) > a {
		padding:14px 22px 15px 20px;
	}
	#site-header .top-bar .menu:not(.submenu) > li.menu-item-has-children > a {
		padding:14px 40px 15px 20px;
	}
	#site-header .top-bar .menu:not(.submenu) > li.menu-item-has-children > a:after {
		right: 20px;
    margin-top: -2px;
	}
	#site-header .top-bar .top-bar-left .menu:not(.submenu) > li:not(.button) > a {
		padding:0;
	}
	.dropdown.menu.medium-horizontal>li.is-dropdown-submenu-parent>a:after {
    border: 5px inset;
    border-color: #fff transparent transparent;
    border-top-style: solid;
	}
	#home-services .medium-4:nth-child(3n+1),
	#home-projects .medium-4:nth-child(3n+1) {
		clear:left;
	}
}
@media screen and (min-width: 1024px) {
	#content {
		margin-top: 71px;
	}
	.top-bar-right .menu > li > a {
    font-size: 16px;
		border-left:1px solid rgba(0,0,0,0);
	}
	.top-bar .top-bar-search {
		padding-top:5px;
	}
	.top-bar .dropdown.menu.medium-horizontal>li.opens-left>.is-dropdown-submenu {
    top: 100%;
    right: auto;
    left: 0;
    position: absolute;
		background:#FFF;
		border-radius:0 0 .28571429rem .28571429rem;
	}
	.top-bar-search form:before {
    top: 4px;
	}
	.top-bar-search input {
		font-size: 15px;
    height: 34px;
    padding: 4px 12px;
	}
}
@media screen and (min-width:1024px) and (max-width:1099px) {
	.top-bar .top-bar-right ul {
		text-align:right;
	}
}
@media screen and (min-width:1024px) and (max-width:1279px) {
	.top-bar .top-bar-right {
		right:0;
		left:11%;
	}
	#site-header .top-bar .menu:not(.submenu) > li.menu-item-has-children > a {
		padding:14px 28px 15px 18px;
	}
	#site-header .top-bar .menu:not(.submenu) > li.menu-item-has-children > a:after {
		right:8px;
	}
	.top-bar .dropdown.menu.medium-horizontal>li:last-child.opens-left>.is-dropdown-submenu {
		right:0;
		left:auto;
	}
}
/*********************************************
Desktop Styles - 1280px+
**********************************************/
@media screen and (min-width:1280px) {
	/*** Home Page ***/
	.home .news-item {
		font-size:16px;
	}
	.home .news-desc {
		padding:12px 25px;
	}
	.home .news-desc a {
		height:auto;
	}
	.top-bar .top-bar-right {
		right:5%;
		left:15%;
	}	
	.staff-member .large-2 {
		padding:0 10px 0 18px;
	}
}
@media screen and (min-width:1366px) {
	.top-bar .top-bar-search {
		display:block;
	}
	.top-bar .top-bar-right {
		left:14%;
		right:16%;
	}
}