/* =============================================================================
   Responsive Additions
   Author: Will Morris - wilzan@gmail.com
   ----------------------------------------------------------------------------- */

hr {
	border: 0;
	border-bottom: 1px solid #e6ddcd;
	margin-bottom: 1em;
}

.btn-menu,
.site-description {
	display: none;
}

#main .info-area .social-networks li a {
	background-image: url(images/elements.png);
	padding-left: 36px;
}

#main .info-area .social-networks li.twitter a {
	background-position: 0 -90px;
}

#main .info-area .social-networks li.email a {
	background-position: 0 -378px;
}

.caption-service {
	display: none;
	color: #fff;
}

.info-area--footer {
	display: none;
}

.bio-title {
	text-transform: uppercase;
	color: #999;
	margin-bottom: 0.5em;
}

.bio-contact {
	text-transform: uppercase;
	font-weight: bold;
}

#content ul.link-bar {
	list-style: none;
	padding: 0;
	margin: 0 0 1em 0;
}

#content ul.link-bar li {
	display: inline-block;
	background: none;
	border-right: 1px solid #e6ddcd;
	padding: 0;
	padding-right: 0.5em;
	margin: 0;
	margin-right: 0.5em;
}

#content ul.link-bar li:last-child {
	border: 0;
	padding: 0;
	margin: 0;
}

#sidebar .subscribe input[type="text"] {
	background-color: #fff;
}

#footer a {
	color: #fff;
}

#footer a:hover {
	cursor: pointer;
}

#footer .btn-major {
	display: block;
	width: 300px;
	font-size: 20px;
	line-height: 24px;
	text-align: center;
	background-color: #555; //00345a
	border: 1px solid #fff;
	border: 1px solid rgba(255, 255, 255, 0.3);
	padding: 1em;
	margin: 1.5em auto;
}

#footer .btn-major:hover,
#footer .btn-major:active {
	text-decoration: none;
	border-color: rgba(255, 255, 255, 0.6);
}

/**
 * Twitter Widget Styles
 */

.widget_twitter > a {
	display: block;
	background: url(images/elements.png) no-repeat 0 -91px;
	color: #00345a;
	font-style: normal;
	padding: 0 0 10px 34px;
}

#main .post-area .widget_twitter ul.tweets {
	display: block;
	background: #fff;
	padding: 16px 20px 19px;
	margin-bottom: 1.5em;
}

#main .post-area .widget_twitter ul li.tweet {
	display: block;
	font-weight: normal;
	font-family: 'ScalaSansWeb-Bold', sans-serif;
	padding-bottom: 0;
	margin: 0 0 2px;
}

.tweet__datestamp {
	font-family: 'ScalaSansWeb', sans-serif;
	font-size: 13px;
	line-height: 18px;
	display: block;
	clear: both;
	color: #636060;
}

/* mid-width styles */
@media only screen and (max-width: 960px) {

	* {
		box-sizing: border-box;
	}

	body {
		font-size: 16px;
		line-height: 20px;
		min-width: 0;
	}

	/**
	 * Main Wrapper
	 */

	#wrapper .w1 {
		width: 100%;
	}

	/**
	 * Images
	 */

	 img {
	 	height: auto;
	 	max-width: 100%;
	 }


	/**
	 * Header
	 */

	#header {
		padding: 0;
		margin: 0;
	}

	#header .logo {
		background: url(images/logo-sm.png) 16px 0 no-repeat;
		background-size: 176px 41px;
		width: 192px;
		height: 41px;
		padding: 0;
		margin: 0 0 16px 0;
	}

	#header .logo a {
		width: 100%;
	}

	/**
	 * Menu
	 */

	#nav {
		float: none;
		max-width: 100%;
		clear: both;
		background-color: #820d0f;
		padding: 0;
		margin: 0;
	}

	#nav li {
		display: block;
		float: none;
		background: none;
		border: 0;
		padding: 0;
		margin: 0;
	}

	#nav li a {
		display: block;
		color: #fff;
		font-weight: bold;
		line-height: 1;
		border-bottom: 1px solid #8a2527;
		background: url(images/elements.png) right -335px no-repeat;
		padding: 19px 16px 16px 16px;
	}

	/**
	 * Menu Button
	 */

	.btn-menu {
		display: block;
		float: right;
		text-decoration: none;
		padding: 10px 16px;
	}

	.btn-menu a {
		color: transparent;
	}

	.btn-menu:hover {
		cursor: pointer;
	}

	.btn-menu label {
		display: inline-block;
		color: #820d0f;
		text-transform: uppercase;
		font-size: 13px;
		line-height: 15px;
		text-decoration: none;
		padding-top: 2px;
		margin-left: 0.5em;
	}

	.btn-menu label:hover {
		cursor: pointer;
	}

	/**
	 * Burger Icon
	 */

	.icon-bars {
		display: inline-block;
		width: 17px;
		height: 15px;
		text-decoration: none;
		vertical-align: middle;
	}

	.icon-bars .bar {
		background-color: #820d0f;
		width: 100%;
		height: 3px;
		text-decoration: none;
		margin-bottom: 3px;
	}

	.icon-bars .bar:last-child {
		margin-bottom: 0;
	}

	/**
	 * Site Description
	 */

	.site-description {
		display: block;
		font-size: 16px;
		line-height: 22px;
		background-color: #979994;
		color: #fff;
		padding: 16px;
	}

	/**
	 * Carousel
	 */

	.slideshow {
		width: 100%;
		height: auto;
		background-color: #820d0f;
		padding-bottom: 38px;
		margin-bottom: 24px;
	}

	.slideshow .slide {
		width: 100%;
	}

	.slider {
		position: relative;
	}

	.slider img {
		width: 100%;
		height: auto;
		max-width: none;
	}

	.slideshow .animation {
		left: 4px;
		bottom: 43px;
	}

	.slideshow .animation .prev,
	.slideshow .animation .next {
		display: none;
	}

	.slider .pagination {
		bottom: -40px;
	}

	.slider .pagination li a {
		width: 20px;
		height: 20px;
	}

	.slider .description {
		position: absolute;
		right: 0;
		bottom: -36px;
		left: 0;
		width: auto;
		height: auto;
		background: transparent;
		padding: 0;
	}

	.slider .description .text {
		position: absolute;
		right: 0;
		bottom: 43px;
		width: 45%;
		font-size: 18px;
		line-height: 24px;
		background-color: #820d0f;
		padding: 12px 12px 8px 12px;
		margin-bottom: 0;
	}

	.slider .description p {
		position: absolute;
		bottom: 10px;
		width: 100%;
		font-size: 13px;
		line-height: 14px;
		letter-spacing: -0.02em;
		text-align: center;
		margin-bottom: 0;
	}



	/**
	 * Main Area
	 */

	#main .post-area .posts {
		background: none;
		padding-bottom: 0;
	}

	#main .post-area .link {
		font-size: 14px;
	}

	#main .post-area h1,
	#main .info-area h2,
	#main .info-area h3,
	#main .features h3,
	#main .partners h3,
	#main .features .title {
		text-align: left;
		font-size: 16px;
		margin-bottom: 8px;
	}

	#main .post-area .post,
	#main .post-area .post-list {
		float: none;
		clear: both;
		width: 100%;
	}

	#main .post-area .post-list {
		float: left;
		clear: both;
		width: 100%;
		border-top: 1px solid #e6ddcd;
		padding-top: 1em;
		margin-top: 1em;
	}

	#main .post-area .widget_twitter {
		border-top: 0;
		padding-top: 0;
		margin-top: 0;
	}

	#main .info-area .newsletter {
		width: 65%;
	}

	#main .info-area .social-networks {
		width: 35%;
	}

	.post-area {
		padding-left: 16px;
		padding-right: 16px;
	}

	/**
	 * Home - Posts
	 */

	#main .post-area blockquote {
		width: 100%;
	}

	/**
	 * Home - Connect
	 */

	#main .info-area {
		padding-bottom: 0;
	}

	#main .info-area .row {
		position: relative;
	}

	#main .info-area input[type="text"] {
		line-height: 20px;
		padding-top: 0.9em;
		padding-bottom: 0.9em;
		width: 100%;
	}

	#main .info-area input[type="submit"] {
		position: absolute;
		right: 0;
	}

	.info-area .form-subscribe,
	.info-area .social-networks {
		border-top: 1px solid #e6ddcd;
		padding: 16px;
		margin-bottom: 0;
	}

	.social-networks ul {
		margin-bottom: 0;
	}

	#main .info-area .social-networks li {
		margin-right: 30px;
	}

	#main .info-area .social-networks li:last-child {
		margin-right: 0;
	}

	/**
	 * Home - Projects and Partners
	 */

	#main .features {
		padding: 16px;
		margin: 0;
	}

	#main .partners {
	 	overflow: hidden;
	 	text-align: left;
	 	font-size: 16px;
	 	line-height: 20px;
		padding: 16px;
		margin: 0;
	}

	#main .features h3,
	#main .partners h3 {
		font-size: 16px;
	 	text-align: left;
	 	padding: 0;
	}

	#main .features .boxes {
		width: 100%;
	}

	#main .features .box {
		display: block;
		float: left;
		width: 50%;
		height: 100px;
		padding-right: 1em;
		margin: 0 0 1em 0;
	}

	.caption-service {
		display: block;
	}

	#main .features .box ul {
		display: none;
	}

	#main .features .title {
		margin-top: 0.3em;
		margin-bottom: 0.3em;
	}

	#main .features .box div:first-child {
		float: left;
		margin-right: 1em;
	}

	#main .features .aligncenter,
	#main .partners .textblock {
		width: 100%;
		padding: 0;
		margin: 0;
	}

	#main .partners ul li {
		display: inline-block;
		width: 15%;
		text-align: center;
		margin-right: 2%;
		margin-left: 2%;
	}

	#main .partners ul li img {
		display: inline;
		width: auto;
	}

	/**
	 * Pages
	 */

	.content p,
	.content blockquote {
		font-family: Georgia, serif;
		font-size: 18px;
		line-height: 28px;
	}

	#content {
		float: none;
		width: 100%;
		padding: 16px 16px 0 16px;
		margin-left: 0;
	}

	.inner #content {
		padding-bottom: 20px;
	}

	#sidebar {
		display: none;
	}

	.visual {
		min-height: 0;
	}

	.visual h1 {
		font-size: 32px;
		line-height: 36px;
	}

	.visual .breadcrumbs {
		margin-bottom: 4px;
	}

	.visual .holder,
	.inner .visual .holder {
		width: 100%;
		padding: 16px 16px 8px 16px;
	}

	.bios .image img {
		width: 40%;
	}

	/**
	 * Blog Posts
	 */

	.single-post .breadcrumbs {
	 	float: left;
	 	margin-right: 0.5em;
	 }

	.single-post h1 {
		font-size: 16px;
		line-height: 20px;
	}

	.single-post #content {
		padding-left: 0;
		padding-right: 0;
	}

	#content .post h2 {
		font-size: 30px;
		line-height: 36px;
		margin-bottom: 10px;
	}

	.single-post #content .post,
	.single-post #content .comments {
		padding-right: 16px;
		padding-left: 16px;
	}

	#content .comments {
		width: 100%;
		margin-left: 0;
	}

	#content .comments .comment {
		font-size: 14px;
		line-height: 24px;
	}

	.comment {
		border-top: 1px solid #ddd;
		padding-top: 1em;
		margin-bottom: 1em;
	}

	.respond {
		border-top: 1px solid #ddd;
		padding-top: 1em;
	}

	#content .comments .meta {
		color: #999;
	}

	#content .comments .meta .txt a {
		font-weight: bold;
	}

	.comment img {
		width: auto;
	}

	#content .comments ol ul {
		margin-left: 1em;
	}


	#content .comments .form {
		width: 100%;
	}

	#content .comments .form label,
	#content .comments .form textarea {
		display: block;
		float: none;
		clear: both;
		width: 100% !important;
		margin: 0;
	}

	#content .comments .form label {
		margin-bottom: 0.5em;
	}

	#content .comments .comment-reply-link,
	#content .comments ul.children .comment-reply-link {
		font-size: 14px !important;
		line-height: 20px !important;
		font-family: 'ScalaSansWeb', Helvetica, Arial, sans-serif;
	}

	#content .comments .form input[type="submit"] {
		background: #00345a;
		float: none;
		width: 110px;
		height: 41px;
		cursor: pointer;
		border: none;
		text-transform: uppercase;
		color: #fff;
		font-size: 13px;
		line-height: 18px;
		text-align: center;
	}

	/**
	 * Footer
	 */

	#footer {
		text-align: center;
		padding-left: 20px;
		padding-right: 20px;
		padding-bottom: 0;
		margin: 0;
	}

	#footer .info li:last-child {
		margin-right: auto;
	}

	.info-area--footer {
		display: block;
	}

}

/* smallest-width styles */
@media only screen and (max-width: 760px) {

	.info-area--footer {
		display: block;
	}

	#footer .info li {
		width: 100%;
		text-align: left;
		margin-right: 0;
	}

	#footer .info .title {
		display: inline-block;
		width: 25%;
		margin-right: 0;
	}

	#footer .info address,
	#footer .info span,
	#footer .info a {
		display: inline-block;
		width: 75%;
	}

	#footer .btn-major {
		width: 100%;
	}

	#main .features .box {
		clear: both;
		width: 100%;
		height: auto;
		padding-right: 0;
	}

	#main .partners ul li {
		display: block;
		width: 100%;
		text-align: center;
		margin: 1em 0;
	}

	#main .info-area .newsletter,
	#main .info-area .social-networks {
		float: none;
		clear: both;
		width: 100%;
	}

	#main .info-area input[type="submit"] {
		float: none;
		position: relative;
		right: auto;
	}

	#main .info-area .row {
		border: none;
	}

	#main .info-area input[type="text"] {
		float: none;
		width: 100%;
		border: 4px solid #d1c9bb;
		margin-bottom: 10px;
	}

	.meta__comments {
		display: inline-block;
	    width: 13px;
	    height: 12px;
	    text-shadow: none;
	    color: transparent;
		background: url(images/elements.png) no-repeat 0 -210px;
		background-size: 49px 225px;
	}

	#main .teamthree .box {
		width: 100%;
		padding-left: 0px;
		padding-right: 0px;
		margin: 0 0 0 0px;
	}

	#main .teamthree img {
		display: block;
    		margin: 0 auto;
	}

	#main .teamthree .title {
		margin-top: 17px;
	}

	#main .teamthree p {
		font-size: 18px;
	}
}