/*

Theme Name: SCHC

Theme URI: http://www.visionfactor.com.au/

Author: Nicole Paton

Author URI: http://www.visionfactor.com.au/

Description: Custom Theme for Sunbury Community Health Centre based on Blank Slate 4.0.2

Version: 1.0

License: GNU General Public License

License URI: https://www.gnu.org/licenses/gpl.html

Tags: custom

Text Domain: schc

SCHC WordPress Theme © 2014 Sunbury Community Health Centre

*/



html, body, div, span, applet, object, iframe, h1, h2, h3, h4, h5, h6, p, blockquote, pre, a, abbr, acronym, address, big, cite, code, del, dfn, em, img, ins, kbd, q, s, samp, small, strike, strong, sub, sup, tt, var, b, u, i, center, dl, dt, dd, ol, ul, li, fieldset, form, label, legend, table, caption, tbody, tfoot, thead, tr, th, td, article, aside, canvas, details, embed, figure, figcaption, footer, header, hgroup, menu, nav, output, ruby, section, summary, time, mark, audio, video {
	font-size: 100%;
	font: inherit;
	padding: 0;
	border: 0;
	margin: 0;
}
body {
	line-height: 1;
	min-width: 320px;
}
ol, ul {
	list-style: none
}
blockquote, q {
	quotes: none
}
blockquote:before, blockquote:after, q:before, q:after {
	content: '';
	content: none
}
table {
	border-collapse: collapse;
	border-spacing: 0
}
article, aside, details, figcaption, figure, footer, header, hgroup, menu, nav, section {
	display: block
}
.clear {
	clear: both
}
.sticky {
}
.bypostauthor {
}
.wp-caption {
}
.wp-caption-text {
}
.gallery-caption {
}
.alignright {
	float: right;
}
.alignleft {
	float: left;
}
.aligncenter {
}
strong {
	font-weight: bold;
}
.clear {
	clear: both;
}
img {
	vertical-align: auto;
}
html {
	height: 100%;
}
body {
	font-family: Arial, Helvetica, sans-serif;
	font-size: 11pt;
	background-color: #80bcb9;
	height: 100%;
}
p {
	margin-bottom: 1.2em;
	line-height: 1.3em;
}
h1, h2, h3, h4, h5, h6, h1 a, h2 a, h3 a, h4 a, h5 a {
	color: #0099a8;
	font-weight: bold;
	margin-bottom: 1em;
	text-decoration: none;
}
h1 {
	font-size: 1.6em;
}
h2 {
	font-size: 1.3em;
	color: #f05a28;
}
h3 {
	font-size: 1.2em;
}
h4 {
	font-size: 1em;
	color: #f05a28;
}
h5 {
	font-size: 1em;
}
h6 {
	color: #1d4383;
	font-size: 1.2em;
}
#contentmain table {
	border-collapse: collapse;
}
#contentmain table, #contentmain th, #contentmain td {
	border: 1px solid #40A8A3;
	background-color: #E1F4F1;
}
body.tribe_community_edit #contentmain table, body.tribe_community_edit #contentmain th, body.tribe_community_edit #contentmain td{
	border: none;
	background: none;
}
#contentmain td {
	padding: 5px;
}
article ul {
	list-style-type: disc;
	margin: 0 0 1em 26px;
	padding: 0;
}
article ol {
	list-style-type: decimal;
	margin: 0 0 1em 26px;
	padding: 0;
}
article li {
	padding-bottom: 8px;
}
article em {
	font-style: italic;
}
article a {
	color: #004b85;
}
body.home article h2 a {
	color: #0099a8;
}
body.home article a:hover.morebtn {
	color: #fff;
}
article a:hover {
	color: #0099a8;
}
img.attachment-internalpage {
	margin-bottom: 15px;
}
#wrapper {
	background-color: #f05a28;
	min-height: 100%;
	margin-bottom: -50px;
}
#wrapper:after {
	content: "";
	display: block;
	height: 50px; /*same as footer */
}
#header {
	background-color: #fff;
}
.slideleft{
	float: left;
	background-image: url(images/banner-overlay-left.png);
	height: 100%;
	width: 280px;
}
.slidetext{
	float: right;
	padding: 60px 0px 40px 200px;
	font-size: 16pt;
	color: #fff;
	width: 44%;
	min-width: 500px;
	text-align: right;
	line-height: 1.25em;
	height: 100%;
	box-sizing: border-box;
	background-image: url(images/banner-overlay-right.png);
	background-position: 0 0;
	background-repeat: no-repeat;
}
.slidetext h2{
	font-size: 26pt;
	color: #fff;
	margin: 0;
	padding: 0 0 10px 0;
	line-height: 1.25em;
	}
.bannerbutton{
	color: #fff;
	text-decoration: none;
	background-color: rgba(240, 90, 40, 0.9);
	display: block;
	float: right;
	padding: 8px 30px;
	font-size: 14pt;
	font-weight: bold;
	margin-top: 20px;
	text-shadow: none;
	}
.bannerbutton:hover{
	background-color: rgba(240, 90, 40, 1);
}	
#fontsize {
	position: absolute;
	top: 0;
	left: 50%;
	margin-left: 449px;
	height: 20px;
	width: 120px;
	padding: 8px 15px;
	background-color: #004B85;
	color: #fff;
	z-index: 99;
	font-size: 11pt !important;
	list-style-type: none;
	line-height: 20px
}
#fontsize ul{
	float: right;
}
#fontsize li {
	list-style-type: none;
	float: right;
	width: 45px;
	margin-top: -1px;
}

#fontsize a{
	color: #fff;
	text-decoration: none;
}
#searchbanner {
	position: absolute;
	top: 0px;
	right: 0;
	width: 345px;
	padding: 7px 0;
	color: #014285;
	z-index: 99;
	font-size: 11pt !important;
	list-style-type: none;
}
#searchbanner form{
	color: #fff;
}
#searchbanner label {
	display: none;
}
#searchbanner input {
	float: left;
	margin: 0;
	height: 22px;
	line-height: 20px;
	padding: 0 3px;
	width: 120px;
	border: solid 1px #66b4b4;
	border-right: none;
}
#searchbanner #searchsubmit {
	background: none;
	background-color: #0099a8;
	color: #fff;
	border: solid 1px #66b4b4;
	border-left: none;
	cursor: pointer;
	margin: 0;
	float: left;
	height: 24px;
	line-height: 22px;
	padding: 0 5px;
	width: auto;
}
#branding {
	/*padding-top: 25px;*/
	padding: 5px 0;
	-webkit-box-sizing: border-box; /* Safari/Chrome, other WebKit */
	-moz-box-sizing: border-box;    /* Firefox, other Gecko */
	box-sizing: border-box;         /* Opera/IE 8+ */
	position: relative;
	margin: auto;
	z-index: 99;
	color: #004b85;
	font-size: 1.2em;
}
#fbicon {
	display: block;
	float: right;
	/*margin: 31px 0 0 30px;*/
	margin: 0 0 0 10px;
}
.calltoaction{
	text-align: right;
	margin-top: 20px;
}
.calltoaction span{
	font-size: 16pt;
	vertical-align: middle;
	line-height: 1.4em;
} 
.calltoaction span img{
	vertical-align: middle;
}
.calltoaction a{
	color: #014285;
}
#address {
	/*margin: 25px 0 0 10px;*/
	margin: 15px 0 0 5px;
}
#bannerbg{
	background-color: #014285;
}
#slidewrap {
	width: 1400px;
	max-width: 100%;
	margin: 0 calc((100% - 1400px) / 2 + 120px) 0 calc((100% - 1400px) / 2 - 120px);
	height: 340px;
	overflow: hidden;
}
.slideshow {
	width: 100% !important;
}
.slide {
	width: 100% !important;
	height: 340px;
	background-position: top;
}
#container {
	/*background-image: url(images/bg-grad.png);
	background-repeat: repeat-x;
	background-size: contain;*/
	padding-bottom: 15px;
	background-color: #e5ecf3;
}

body.page-id-7982 #container {
	background: none;
	background-color: #fff;
}

#content, #contenttop {
	padding: 15px 0;
	-webkit-box-sizing: border-box; /* Safari/Chrome, other WebKit */
	-moz-box-sizing: border-box;    /* Firefox, other Gecko */
	box-sizing: border-box;         /* Opera/IE 8+ */
}
#content.front article {
	margin-bottom: 2%;
	margin-right: 2%;
	padding: 0;
	position: relative;
	float: left;
	width: 48%;
	-webkit-box-sizing: border-box; /* Safari/Chrome, other WebKit */
	-moz-box-sizing: border-box;    /* Firefox, other Gecko */
	box-sizing: border-box;         /* Opera/IE 8+ */
	min-height: inherit;
}
#content.front section {
	clear: none;
	margin-left: 110px;
	padding-bottom: 15px;
	min-height: 160px
}
#content.archive, #content.search, #contenttop {
	background-color: #fff;
	padding: 0 18px;
}
#content.archive header.header {
	padding: 0;
}
.spacer {
	height: 18px;
}
#content.front article h2 {
	color: #0099a8;
}

#content.front article.bluepanel {
	background-color: #e5ecf3;
	text-align: center;
	width: 23.5%;
	margin-bottom: 2%;
	margin-right: 2%;
	box-sizing: border-box;
}

#content.front article.bluepanel:hover {
	background-color: #d0e2f5;
}	


#content.front article.bluepanel:nth-child(4n) {
    margin-right: 0;
}

#content.front article.bluepanel a{
	text-decoration: none;
}

#content.front article.bluepanel h2{
	color: #014285;
	margin: 0 0 2px 0;
}

#content.front article.bluepanel img {
	max-width: 100%;
}

#content.front .panelcontent{
	padding: 10px;
}

.rightnav{
	background-color: #014285;
	padding: 20px;
	float: right;
	width: 21.5%;
	box-sizing: border-box;
}

.rightnav h3{
	color: #fff;
	margin-bottom: 15px;
	font-size: 16pt;
}

.rightnav a{
	color: #fff;
	font-weight: normal;
	text-decoration: none;
	display: block;
	line-height: 1.2em;
	margin-bottom: 8px;
	font-size: 14pt;
} 



a.morebtn {
	display: block;
	background-color: #0099a8;
	color: #fff;
	text-decoration: none;
	position: absolute;
	bottom: 0;
	right: 0;
	line-height: 28px;
	padding: 0 12px 0 35px;
	background-image: url(images/button-curve.png);
	background-repeat: no-repeat;
}
.panelsplit {
	clear: both;
}
img.panel {
	float: left;
	margin: 0 12px 0 0;
}
#content article, #contenttop article {
	background-color: #fff;
	padding: 18px;
	float: right;
	width: 80%;
	min-height: 350px;
	-webkit-box-sizing: border-box; /* Safari/Chrome, other WebKit */
	-moz-box-sizing: border-box;    /* Firefox, other Gecko */
	box-sizing: border-box;         /* Opera/IE 8+ */
}
#content.nomenu article{
	float: none; /*remove float to fix anchors in firefox*/
}
#content.archive article, #content.search article, #contenttop article {
	min-height: 100px;
	margin: 0;
	padding: 15px 0;
	border-bottom: solid 1px #ccc;
}
#content.nomenu article, #contenttop.nomenu article {
	width: 100%;
}
#search {
	float: right;
	width: 25%;
	padding: 0;
	text-align: right;
	padding: 3px 0;
}
#search label {
	display: none;
}
ul.ap_pagination {
	display: none;
	padding: 6px 10px 0;
	text-align: center;
	float: left;
	list-style: none outside none;
	z-index: 2;
	position: relative;
}
ul.ap_pagination li {
	padding: 2px;
	width: 3%;
}
ul.layout_H {
	width: 96%;
	padding-bottom: 1%;
}
ul.layout_H li {
	float: left;
}
ul.layout_V {
	width: 18px;
	position: absolute;
	float: none;
}
ul.layout_V li {
}
ul.ap_pagination li a,  ul.ap_pagination li a:active,  ul.ap_pagination li a:visited {
	font-size: 14px;
	text-decoration: none;
	color: #21759B;
}
ul.case_U a {
	text-transform: uppercase;
}
ul.case_L a {
	text-transform: lowercase;
}
ul.ap_pagination li a:hover,  ul.ap_pagination li a.selected {
	text-decoration: underline;
	font-weight: bold;
}
body ul.ap_pagination {
	float: left;
	width: 75%;
	-webkit-box-sizing: border-box; /* Safari/Chrome, other WebKit */
	-moz-box-sizing: border-box;    /* Firefox, other Gecko */
	box-sizing: border-box;         /* Opera/IE 8+ */
	display: none !important;
}
body.archive ul.ap_pagination {
	display: block !important;
	padding: 4px 0 0 0;
}
body.archive ul.ap_pagination li {
	padding: 3px 2px 0px 2px;
}
body.archive #content.archive {
	padding-bottom: 20px;
}
body.archive ul.ap_pagination li a {
	font-size: 20px;
}
.servicecol {
	float: left;
	margin: 0;
	padding: 10px 0 5px 0;
	width: 33%;
	list-style-type: none;
}
.servicecol li {
	padding: 0 5px 5px 5px;
}
.servicecol li a {
	color: #004B85;
}
.servicecol li a:hover {
	color: #0099a8;
}
a.morelink {
	float: left;
	display: block;
	background-color: #0099a8;
	color: #fff;
	text-decoration: none;
	padding: 5px 10px;
	margin-top: -11px;
}
a:hover.morelink {
	background-color: #004B85;
	color: #fff;
}
ul.serviceinfo {
	list-style-type: none;
	margin: 0 0 0 20px;
	padding: 0;
}
ul.serviceinfo li {
	margin-bottom: 10px;
}
ul.serviceinfo li strong {
	color: #0099a8;
}
.midwidth {
	width: 98%;
	max-width: 1280px;
	margin: auto;
}
.greenband {
	width: 100%;
	background-color: #0099a8;
	color: #fff;
	min-height: 50px;
}
.greenband a {
	color: #fff;
	text-decoration: none;
}
#menu-main-menu a {
	text-decoration: none;
	display: block;
}
#menu-main-menu {
	width: 100%;
	font-size: 1.1em;
}
#menu > div > ul > li {
	float: left;
	padding-top: 0 !important;
	padding-bottom: 0 !important;
	position: relative;
	margin-right: 1px;
}
#menu > div > ul > li:hover {
	background-color: #e5ecf3;
}
#menu > div > ul > li > a {
	line-height: 20px;
	text-align: center;
	padding: 0 5px;
	padding-top: 15px !important;
	padding-bottom: 15px !important;
	position: relative;
	font-weight: bold;
}
#menu > div > ul > li > a:hover, #menu > div > ul > li:hover > a:hover {
	color: #f05a28;
	background-color: #e5ecf3;
}
#menu > div > ul > li.current-menu-item {
}
#menu > div > ul > li.current-menu-item > a {
	color: #0099a8;
	background-color: #e5ecf3;
}
#menu > div > ul > li:hover > a {
	color: #0099a8;
	background-color: #e5ecf3;
	z-index: 99;
}
/* second level item */



#menu > div > ul > li > ul {
	display: none;
}
#menu > div > ul > li > #subwrap {
	position: absolute;
	margin-top: -2500px;
	left: 50%;
	margin-left: -252px;
	background-color: #e5ecf3;
	padding: 15px 0;
	z-index: 999;
	-webkit-box-sizing: border-box; /* Safari/Chrome, other WebKit */
	-moz-box-sizing: border-box;    /* Firefox, other Gecko */
	box-sizing: border-box;         /* Opera/IE 8+ */
	/*-moz-column-count: 3;

    -moz-column-gap: 20px;

    -webkit-column-count: 3;

    -webkit-column-gap: 0;

    column-count: 3;

    column-gap: 0;*/

	box-shadow: 1px 1px 5px #555;
	width: 543px;
}
#menu > div > ul > li.first > #subwrap {
	left: 0;
	margin-left: 0px;
}
#menu > div > ul > li.last > #subwrap {
	right: 0;
	left: auto;
	margin-left: 0px;
}
#menu > div > ul > li > #subwrap > ul {
	width: 0 auto;
}
#menu > div > ul > li > #subwrap > ul > li {
	width: 180px;
	float: left;
	border-right: solid 1px #d0d2d3;
}
#menu > div > ul > li > #subwrap > ul > li > a {
	color: #0099a8;
	font-weight: bold;
	padding: 8px 15px 8px 15px;
}
#menu > div > ul > li > #subwrap > ul > li a:hover {
	color: #f05a28;
}
/* third level item */



#menu > div > ul > li > #subwrap > ul > li > ul > li > a {
	color: #404041;
	font-weight: normal;
	font-size: 0.9em;
	padding: 5px 15px;
}
#menu > div > ul > li > #subwrap > ul > li > ul > li > a:before {
	content: "\00BB\00a0";
}
/* sub menu styling */



#submenu {
	float: left;
	width: 18%;
	background-color: #fff;
	padding-bottom: 10px;
}
#submenu li a {
	color: #0099a8;
	padding: 10px 12px;
	display: block;
	border-bottom: solid 1px #d0d2d3;
}
#submenu li.current_page_item > a, #submenu li.current-page-parent > a {
	background-color: #ff6700;
	color: #fff;
}
#submenu > div > ul > li.current_page_item > a:hover, #submenu li.current-page-parent > a:hover {
	color: #fff;
}
#submenu li ul {
	display: none;
}
#submenu li.current-page-parent ul, #submenu li.current_page_item ul {
	display: block;
}
#submenu li ul li a {
	color: #404041;
	background-color: #fff;
	font-weight: normal;
	font-size: 0.9em;
	padding: 8px 12px;
	border: none;
}
#submenu li a:hover {
	color: #f05a28;
}
#submenu li ul li a:before {
	content: "\00BB\00a0";
}
#submenu li ul li.current_page_item a {
	background-color: #fff;
	color: #f05a28;
}
.acknowledge {
	color: #fff;
}
.acknowledge .flags {
	float: left;
	margin-right: 3px;
	padding-top: 5px;
}
.acknowledge .statement {
	margin-left: 220px;
}
.acknowledge .flags img {
	margin-right: 10px;
}
.acknowledgenew {
	color: #404041;
	float: left;
	width: 48%;
	padding-top: 3px;
	line-height: 1.2em;
}
.acknowledgenew .flags {
	float: left;
	margin-right: 3px;
	padding-top: 0;
}
.acknowledgenew .statement {
	margin-left: 180px;
}
.acknowledgenew .flags img {
	margin-right: 10px;
}
.sociallinks{
	float: right;
	width: 52%;
}
.sociallinks img{
	vertical-align: middle;
	margin-right: 8px;
}
.sociallinks a{
	font-size: 13pt;
	line-height: 33px;
	text-decoration: none;
	display: block;
	float: right;
	margin-right: 20px;
	vertical-align: middle;
}

.sociallinks a span{
	font-weight: bold;
}

a.fb{
	color: #3a5a9b !important;
}
a.twitter{
	color: #00bbf4 !important;
}
a.yt{
	color: #e02f2f !important;
}
.sociallinks a.li{
	color: #0083be !important;
	margin-right: 0;
}
#footer {
	font-size: 0.8em;
}
#footer a:hover {
	text-decoration: underline;
}
#copyright {
	float: left;
	width: 68%;
	padding-top: 20px;
}
#credit {
	float: right;
	width: 28%;
	padding-top: 20px;
	text-align: right;
	color: #a3d3d1;
}
#credit a {
	color: #a3d3d1;
}
#nav-below {
	display: none;
}
.tdright {
	width: 220px;
	text-align: right;
	float: left;
}
.tdleft {
	width: 165px;
	text-align: left;
	float: left;
	padding-bottom: 15px;
}
.maincontent{
	float: left;
}
.maincontent{
	float: left;
}
#gform_wrapper_1{
	width: 100%;
}
.tdmain{
	width: calc(100% - 220px);
}
.tribe-events-style-full .maincontent{
	width: 100% !important;
	float: none;
}
pre {
	white-space: normal;
}

.collapseomatic{
	clear: both;
	display: block;
	outline:none;
	border: none;
	color: #004b85;
	font-weight: bold;
	padding: 0 0 18px 16px !important;
	text-decoration: none;
}

.collapseomatic:hover{
	color: #0099a8;
	text-decoration: none;
}

.collapseomatic_content{
	line-height: 1.3em;
	margin: 0 0 18px 0 !important;
	padding: 0;
}
.fts-jal-fb-header{
	display: none;
}

.fbfeed{
	background-color: #FFFFFF;
	padding: 15px 15px 0 15px;
	margin-bottom: 15px;
	float: right;
	width: 32%;
	-webkit-box-sizing: border-box;
	-moz-box-sizing: border-box;
	box-sizing: border-box;
	font-size: 10pt;
	height: 642px;
	overflow-y: scroll;
	
}

.fbfeed p{
	line-height:1.2em;
}

.fblike{
	background-color: #1d4383;
	color: #fff;
	margin-bottom: 15px;
	text-decoration: none;
	display: block;
	padding: 6px 10px 4px 10px;
	text-align: center;
	font-size: 11pt;
	font-weight: bold;
	vertical-align:middle;
	line-height: 25px;
}
.fblike:hover{
	background-color: #1c4d93;
}
.fblike img{
	vertical-align:middle;
}

.fbmore{
	background-color: #ddd;
	color: #333;
	margin-bottom: 12px;
	margin-top: 0;
	text-decoration: none;
	display: block;
	padding: 6px 10px 6px 10px;
	text-align: center;
	font-size: 11pt;
	font-weight: bold;
	vertical-align:middle;
	line-height: 25px;
}


body .fts-jal-single-fb-post{
	padding: 0 0 6px 0 !important;
	margin-bottom: 15px;
}

body .fts-jal-single-fb-post .fts-jal-fb-user-name{
	font-size: 11pt;
}

body .fts-jal-fb-name{
	font-size: 10pt;
}

body .fts-jal-single-fb-post .fts-jal-fb-user-name a{
	color: #000;
}

body .fts-jal-single-fb-post a{
	color: #0099a8;
}

body .fts-jal-fb-user-thumb{
	margin-right: 8px;
}

body .fts-jal-fb-message p{
	margin-bottom: 0;
}

body .fts-jal-fb-see-more{
	margin-top: 3px;
}

body .fts-jal-fb-picture{
	margin-top: 0;
}

body .fts-jal-single-fb-post:first-child .fts-jal-fb-picture{
	display: block;
}


body .fts-jal-single-fb-post:first-child .fts-jal-fb-description-wrap .jal-fb-description{
	display: block;
}

.events-archive .entry-content, .events-archive .entry-header{
	width: 100% !important;
}

.events-list .tribe-events-loop, .single-tribe_organizer .tribe-events-loop, .single-tribe_venue .tribe-events-loop, .tribe-events-day .tribe-events-loop{
	max-width: 900px !important;
}

#tribe-events .tribe-events-button, #tribe-events .tribe-events-button:hover, #tribe_events_filters_wrapper input[type=submit], .tribe-events-button, .tribe-events-button.tribe-active:hover, .tribe-events-button.tribe-inactive, .tribe-events-button:hover, .tribe-events-calendar td.tribe-events-present div[id*=tribe-events-daynum-], .tribe-events-calendar td.tribe-events-present div[id*=tribe-events-daynum-]>a{
	background-color: rgb(0, 75, 133) !important;
}

div.type-tribe_events{
	border-bottom: solid 1px #c2c2c2 !important;
}

div.type-tribe_events:last-child{
	border-bottom: none !important;
}

.tribe-events-list-separator-month:after{
	  border-bottom: solid 44px #f5f5f5 !important;
	  top: -5px !important;
}

.tribe-events-list-separator-month span{
	background: none !important;
}

#contentmain th{
	background-color: #0099a8;
}

.tribe-events-calendar div[id*=tribe-events-daynum-], .tribe-events-calendar div[id*=tribe-events-daynum-]>a{
	background-color: #839BAA !important;
}

.tribe-events-calendar td.tribe-events-past div[id*=tribe-events-daynum-], .tribe-events-calendar td.tribe-events-past div[id*=tribe-events-daynum-]>a{
	background-color: #C3D0D8 !important;
}

body.single .tribe-events-event-image{
	float: right;
	max-width: 50%;
	margin-left: 3% !important;
	margin-bottom: -47px !important;
}

body.single .tribe-events-cal-links{
	clear: both;
}

#contentmain table.tribe-community-event-info, #contentmain table.tribe-community-event-info td{
	background-color: transparent !important;
}


body.tribe_community_edit input, body.tribe_community_edit select, body.tribe_community_edit textarea{
	padding: 5px;
}

body.tribe_community_edit #event_organizer tr.saved_organizer, body.tribe_community_edit #event_organizer tfoot{
	display: none;
}

#tribe-community-events h1{
	margin-top: 10px;
	margin-bottom: 10px;
}

body.post-type-archive-tribe_events ul.ap_pagination{
	display: none !important;
}


.single-tribe_events .tribe-events-schedule h3{
	color: #004b85;
}

body #tribe-bar-form .tribe-bar-submit{
	margin-left: 0;
	width: 40%;
}

body #tribe-bar-form .tribe-bar-submit input[type=submit]{
	float: left;
	width: 48%;
	  -webkit-box-sizing: border-box;
  -moz-box-sizing: border-box;
  box-sizing: border-box;
}

.addeventbtn{
	display: block;
	float: left;
	width: 48%;
	background-color: rgb(0, 75, 133) !important;
	color: #fff;
	margin-left: 2%;
	text-align: center;
	line-height: 46px;
	text-decoration: none;
	text-transform: uppercase;
	font-weight: bold;
	font-size: 10pt;
}

.addeventbtn:hover{
	color: #fff;
	}

body.archive ul.ap_pagination.by_2, body.archive ul.ap_pagination.by_3, body.archive ul.ap_pagination.by_4, body.archive ul.ap_pagination.by_5, body.archive ul.ap_pagination.by_6, body.archive ul.ap_pagination.by_7, body.archive ul.ap_pagination.by_8, body.archive ul.ap_pagination.by_9 {
	display: none !important;
}

body.archive ul.ap_pagination li{
	min-width: 15px;
}

body.tribe_community_edit:not(.search-results) article:not(.type-page) .entry-content{
	width: auto !important;
}

#my-events, #not-user{
	display: none;
}

body.tribe_community_edit textarea{
	width: 100%;
	box-sizing: border-box;
}

body.tribe_community_edit .move-linked-post-group{
	display: none;
}

body.tribe_community_edit input[type="url"]{
    background: #fff;
    border: 1px;
    border-color: #d9d9d9;
    border-style: solid;
    border-radius: 6px;
}

.video-responsive{
    overflow:hidden;
    padding-bottom:56.25%;
    position:relative;
    height:0;
}
.video-responsive iframe{
    left:0;
    top:0;
    height:100%;
    width:100%;
    position:absolute;
}

.wp-embedded-content{
	max-width: 100%;
}


@media only screen  and (max-width : 1400px) {
	#slidewrap {
	    margin: 0 50px 0 -50px;
	}
	.slideleft{
		display: none;
	}
}

@media only screen  and (max-width : 1200px) {

	#fontsize {
		margin-left: 0;
		left: auto;
		right: 1%;
	}

	#headerleft, #headerright {
		display: none;
	}

	#slidewrap {
	    margin: 0 30px 0 -30px;
	}

	.slidetext h2{
		font-size: 20pt;
	}

	.slidetext{
		font-size: 14pt;
	}

	#content.front article.bluepanel h2{
		font-size: 1.2em;
	}

}

@media only screen  and (max-width : 980px) {

	.tdright {
		width: 180px;
		padding-left: 15px;
	}
	.tdright img {
		width: 100%;
		height: auto !important;
	}
	.tdmain{
		width: calc(100% - 195px);
	}
	#subwrap {
		display: none;
	}
	.acknowledgenew, .sociallinks{
		float: none;
		width: auto;
	}
	.sociallinks{
		margin-top: 20px;
	}

	.sociallinks a span{
	 display: none;
	}	
	#branding{
		width: 96%;
	}

	#content.front article.bluepanel{
		float:left;
		width: 48%;
	}

	#content.front article.bluepanel, #content.front article.bluepanel:nth-child(3n){
	    margin-right: 2%;
	    margin-bottom: 2%;
	}

	#content.front article.bluepanel:nth-child(even) {
	    margin-right: 0;
	}


	#slidewrap {
	    margin: 0 20px 0 -20px;
	}

}

@media only screen  and (max-width : 880px) {

	.homepanels{
		width: 51%;
	}
	.fbfeed{
		width: 49%;
	}
	#content.front article{
		float: none;
		width: auto;
	}
}

@media only screen  and (max-width : 768px) {
	#searchbanner {
		float: none;
		width: 100%;
		position: static;
	}
	.calltoaction{
		text-align: left;
	}
	.tdright {
		width: 150px;
	}
	.tdmain{
		width: calc(100% - 165px);
	}
	#search {
		width: 40%;
	}
	body ul.ap_pagination {
		width: 60%;
	}
	.google-map-placeholder {
		width: 100% !important;
	}

	body .fts-jal-fb-picture{
		display: block;
	}
	body.single .tribe-events-event-image{
		float: none;
		max-width: none;
		margin-left: 0 !important;
		margin-bottom: 18px !important;
	}
	body .tribe-events-venue-map{
		margin-bottom: 25px !important;
	}
	body #tribe-bar-form .tribe-bar-submit{
		width: 60%;
	}

	#menu > div > ul > li{
		border-right: solid rgba(256, 256, 256, 0.5) 1px;
		border-left: none;
		margin-right: 0;
	}
	#menu > div > ul > li:last-child{
		border-right:none;
	}
}

@media only screen  and (max-width : 600px) {

	.acknowledge .statement {
		float: none;
		clear: both;
		margin-left: 0;
		padding-top: 10px;
	}
	#menu > div > ul > li > a {
		padding: 0 12px;
	}
	#submenu {
		width: 100%;
		float: none;
		margin-bottom: 10px;
		padding-bottom: 0;
	}
	#content article, #contenttop article {
		width: 100%;
		float: none;
	}
	.tdleft, .tdright {
		width: 100%;
		padding: 0 0 15px 0;
		text-align: left;
	}
	.tdleft img, .tdright img{
		width: auto;
	}
	.tdmain{
		width: 100%;
	}
	#search {
		width: 100%;
		float: none;
		clear: both;
	}
	body ul.ap_pagination {
		width: 100%;
		float: none;
	}
	ul.servicecol {
		float: none;
		clear: both;
		width: auto;
		padding-top: 0;
		padding-bottom: 0;
	}
	.homepanels, .fbfeed {
		clear: both;
		float: none;
		width: auto;
		margin-right: 0;
	}
	#content.front section {
		margin: 15px 0 15px 0;
		min-height: 113px;
	}
	#content.front article{
		margin-right: 0;
	}
	.fbfeed{
		overflow-y: visible;
		height: auto !important;
		padding-bottom: 8px;
	}
	.homepanelsnew, .rightnav{
		float: none;
		width: auto;
	}
	#content.front article.bluepanel, #content.front article.bluepanel:nth-child(3n){
		float: none;
		width: auto;
		margin-right: 0;
	}
	#branding {
		padding-top: 30px;
	}

	#fontsize{
		display: none;
	}
	.midwidth{
		width: 96%;
	}
	#branding{
		text-align: center;
		padding-top: 10px;
	}
	#searchbanner input{
		width: 80%;
		box-sizing: border-box;
		height: 24px;
	}
	#searchbanner #searchsubmit{
		width: 20%;
		box-sizing: border-box;
	}

	#copyright, #credit{
		width: 100%;
		float: none;
		text-align: left;
		margin: 0;
		padding: 7px 0 0 0;
	}
	#contentmain img{
		max-width: 100%;
		height: auto;
	}
	body #tribe-bar-form .tribe-bar-submit{
		width: 100%;
	}

	#menu > div > ul > li{
		border-right: none;
	}

	#slidewrap{
		margin: 0;
		padding-bottom: 150px;
	}
	.slidetext{
		float: none;
		background: none;
		background-color: #014285;
		width: 100%;
		padding: 20px;
		min-width: 0;
		font-size: 13pt;
		height: auto;
		position: absolute;
		bottom: -150px;
	}

	.slidetext:after {
	  content: "";
	  display: table;
	  clear: both;
	}

	.slidetext .bannercaption br{
	    content: " ";
	    display: none;
	}

	.slidetext h2{
		font-size: 18pt;
	}

	#slidewrap{
		width: 100%;
		height: auto;
	}

	.slideshow, .slide{
		width: 100%;
		height: auto;
	}

	.slide{
		padding-bottom: 200px;
		background-image: cover;
	}


}
