/*
Welcome to Custom CSS!

To learn how this works, see http://wp.me/PEmnE-Bt
*/
@media screen and (max-width: 1360px) {
	.sf-menu a,.sf-menu a:visited {
		font-size: .888rem !important;
	}
	
	@media screen and (max-width: 1200px) {
	.sf-menu a,.sf-menu a:visited {
		font-size: .777rem !important;
	}
	
	@media screen and (max-width: 1024px) {
	.sf-menu a,.sf-menu a:visited {
		font-size: .777rem !important;
	}
	
	@media screen and (max-width: 950px) {
	.sf-menu a,.sf-menu a:visited {
		font-size: .777rem !important;
	}
	
	@media screen and (max-width: 650px) {
	.sf-menu a,.sf-menu a:visited {
		font-size: .777rem !important;
	}
	
	@media screen and (max-width: 480px) {
	.sf-menu a,.sf-menu a:visited {
		font-size: .777rem !important;
	}
	
	img.site-logo {
		height: 100%;
		width: 100%;
	}
	
	.site-logo {
		max-height: 300px;
	}
	
	.entry-header-wrapper {
		display: none;
	}
	
	.hentry {
		background: #fff;
		border: none;
		margin: 0 0 15px;
		margin: 0 0 .9375rem;
	}
	
	.comment-respond {
		padding: 30px;
		padding: 1.875rem;
		display: none;
	}
	
	.post-navigation .nav-links {
		display: -webkit-box;
		display: -webkit-flex;
		display: -ms-flexbox;
		display: none;
	}
	
	.has-post-thumbnail .entry-header-wrapper:before {
		display: none;
	}
	
	.has-post-thumbnail .entry-header-wrapper {
		margin: -30px -30px 30px;
		margin: -1.875rem -1.875rem 1.875rem;
		padding: 30px;
		padding: 1.875rem;
		display: none;
	}
	
	.sidebar {
		background: none;
		border: 1px solid #ebebeb;
		margin: 15px 0 0;
		margin: .9375rem 0 0;
		padding: 15px;
		padding: .9375rem;
		position: relative;
		padding-left: 20px;
	}
	
	h4 {
		font-size: 18px;
		margin-bottom: 16px;
	}
	
	input[type="submit"] {
		background: #00a886;
		color: #f3f6f8;
		font-weight: bolder;
	}
	
	h1 {
		font-size: 40px;
		margin-bottom: 35px;
	}
	
	.site-primary-menu {
		margin: 0 auto;
		width: 100%;
	}
	
	.widget a, .widget a:visited {
		color: rgba(0,168,134,1);
	}
	
	.widget {
		border-bottom: none;
		margin: 0 -15px 30px;
		margin: 0 -.9375rem 1.875rem;
		padding: 0 15px 30px;
		padding: 0 .9375rem 1.875rem;
		word-wrap: break-word;
	}
	
	.tmm .tmm_member {
		float: none;
		background: #fbfbfb;
		margin-top: 10px;
	}
	
	.tmm .tmm_member .tmm_photo {
		margin-top: 30px;
	}
	
	.tmm .tmm_member .tmm_textblock .tmm_sociallink img {
		width: 28px;
		height: 28px;
	}
	
	.page-header {
		padding: 30px;
		padding: 1.875rem;
		display: none;
	}
	
	.entry-meta ul {
		display: none;
	}
	
	span.wpcf7-list-item {
		display: block;
	}
	
	/* FORM */
	#form {
		width: auto;
		margin: auto;
	}
	
	#contentleft {
		width: 50%;
		float: left;
	}
	
	#contentright {
		width: 50%;
		float: left;
	}
	
	#bottom {
		clear: both;
		padding: 0;
	}
	
	/*MEDIA QUERIES*/
	/* for 980px or less */
	@media screen and (max-width: 980px) {
	#form {
		width: 94%;
	}
	
	#contentleft {
		clear: both;
		width: auto;
		float: none;
	}
	
	#contentright {
		clear: both;
		width: auto;
		float: none;
	}
	
	#bottom {
		clear: both;
		width: auto;
		float: none;
	}
	
	/* for 700px or less */
	@media screen and (max-width: 600px) {
	#contentleft {
		width: auto;
		float: none;
	}
	
	#contentright {
		width: auto;
		float: none;
	}
	
	#bottom {
		width: auto;
		float: none;
	}
}

/* for 480px or less */
@media screen and (max-width: 480px) {
	#contentleft, #contentright, #bottom {
		margin-bottom: -3px;
	}
	
	@media (max-width: 800px) {
	.master-slider {
		margin: 0 !important;
	}
	
	.ms-slide-info {
		position: relative !important;
		min-height: 100px;
		width: 100% !important;
		right: 0 !important;
		color: white;
		font-size: 40px;
		font-weight: 700;
	}
}

.hentry {
	background: #fff;
	border: none;
}

.widget a:hover, .widget a:focus, .widget a:active {
	color: #00a886;
}

.rtbs .rtbs_menu li a {
	display: inline-block;
	color: #333;
	text-decoration: none;
	padding: .7rem 30px;
	box-shadow: 0 0 0;
	border: 2px solid #eee;
	border-bottom: none;
	margin-right: 5px;
}

#466-tab-0 {
	border: 2px solid #eee;
}

.rtbs .rtbs_menu li a.active {
	position: relative;
	color: #3d3d3d;
	color: #3d3d3d;
	border: 2px solid #eee;
	border-bottom: none;
}

.rtbs_full .rtbs_menu ul::after {
	background: #ddd;
	border: 2px solid #eee;
}

.rtbs_full .rtbs_menu li.mobile_toggle {
	display: block;
	padding: 12px .5rem 12px 30px;
	font-size: 17px;
}

.rtbs>.rtbs_content {
	padding: 23px 30px;
	color: #333;
	border: 2px solid #eee;
	background: #ffffff;
}

.entry-content .rtbs .rtbs_menu ul li a {
	border: 2px solid #eee;
	border-bottom: none;
}

.has-post-thumbnail .entry-header-wrapper:before {
	display: none;
}

.has-post-thumbnail .entry-header-wrapper {
	margin: -30px -30px 30px;
	margin: -1.875rem -1.875rem 1.875rem;
	padding: 30px;
	padding: 1.875rem;
	display: none;
}

.site-info {
	background: #222;
	padding: 30px 0;
	padding: 1.875rem 0;
}

.site-social2-menu a, .site-social2-menu a:visited {
	-webkit-align-items: center;
	-ms-flex-align: center;
	align-items: center;
	background: #222;
	border: 1px #222;
}

img.alignright, img.alignleft {
	max-width: 300px;
}

.entry-summary {
	display: none;
}

.site-primary-menu {
	width: 100% !important;
}

.main-navigation .site-branding-wrapper {
	width: 8% !important;
}