
/* Get rid of weird looking buttons on iphone */
input[type="button"], input[type="submit"], input[type="text"], input[type="password"]{
	    -webkit-appearance: none!important;
    padding: 20px;
    margin: 10px;
    font-size: 15px;
    align-items: center;
    display: flex;
    justify-content: center;
	
}


.tblvis input[type="button"], .tblvis input[type="submit"], .tblvis input[type="text"], .tblvis input[type="password"]{
	    
    padding: 0px;
    margin: 0px;
    
    display: inline;
    
	
}


/*hide main nav toggle on normal screens*/
a.toggleMainNav,
a.toggleQuickStats {
	display: none;
}


/*MEDIA QUERIES
***************************************************/

@media all and (max-width: 1200px) {

	/*general*/

	.btn, .btn:visited {
		padding: 6px 8px;
		margin: 10px 0 0 0;
		font-size: 14px;
	}
    
    


	/*main nav*/

	.mainNavList > li > a, .mainNavList > li > span {
		font-size: 18px;
		padding: 12px 20px 7px;
		height: 50px;
	}

	/*carousel*/

	.carousel i {
		font-size: 54px;
		line-height: 60px;
	}

	.carousel .slides li h3 {
		font-size: 22px;
		line-height: 24px;
	}

	.carousel .slides li p {
		font-size: 14px;
		line-height: 16px;
		padding: 0 0 4px 0;
	}

	/*image slider*/

	.imageSlider h2 {
		font-size: 15px;
		line-height: 18px;
	}

	.imageSlider h2 span {
		font-size: 12px;
		text-transform: uppercase;
	}

	/*modules*/

	.moduleBody,
	.moduleFooter {
		max-height: 0;
		overflow: hidden;
		padding: 0;
	}

	.open .moduleBody,
	.open .moduleFooter {
		max-height: 100%;
	}

	.open .moduleFooter {
		padding: 0 20px 20px;
	}

	.moduleHeader h2 {
		font-size: 20px;
		line-height: 22px;
	}

	.moduleHeader h2 a {
		cursor: pointer;
	}

	.moduleHeader h2 a:before {
		content: "\f055";
		font-family: FontAwesome;
		font-style: normal;
		font-weight: normal;
		text-decoration: inherit;
		color: #fff;
		font-size: 18px;
		padding-right: 0.5em;
		opacity: .5;
	}

	.open .moduleHeader h2 a:before {
		content: "\f056";
	}


	.moduleBody h3 {
		font-size: 15px;
	}

	/*accordion*/

	.accordion h3 a {
		padding: 10px 20px;
		font-size: 15px;
	}

	.accordion > div li {
		width: 100%;
		float: none;
	}

	/*sideitems*/

	.sideitem h3 {
		font-weight: 300;
		font-size: 20px;
		padding: 20px 20px 10px;
	}

	/*footer*/

	.footer {
		font-size: 13px;
	}

	.footer .contact {
		margin-top: 10px;
	}

}


@media all and (max-width: 1023px) {

	/*general*/

	.row {
		width: 100%;
		padding: 0 2%;
		margin: 20px auto 0;
	}
    
    

	/*.container.content {
		background: #fff;
	}*/

	/*header*/

	.header h1 img {
		max-width: 320px;
	}

	.headerSearch {
		max-width: 280px;
		margin-top: 15px;
	}

	.headerSearch form.gsc-search-box {
		margin-bottom: 0 !important;
		border: 1px solid #00ada8;
		height: 36px;
	}

	.headerSearch input.gsc-input {
		padding: 1px 10px !important;
		border: 0 !important;
		width: 100% !important;
		height: 36px;
	}

	.headerSearch input.gsc-search-button {
		width: 18px;
		height: 18px;
		background-size: cover;
	}

	/*main nav*/

	a.toggleMainNav {
		display: block;
		height: 50px;
		-webkit-box-sizing: border-box;
		-moz-box-sizing: border-box;
		box-sizing: border-box;
		padding: 12px 2% 0;
		color: #fff;
		text-decoration: none;
		font-weight: 400;
		font-size: 18px;
	}

	a.toggleMainNav i {
		float: right;
		font-size: 28px;
	}

	.mainNav .row,
	.mainNav .col {
		padding: 0;
	}

	.mainNavList {
		height: 0;
		overflow: hidden;
	}

	.open .mainNavList {
		height: auto;
	}

	.mainNavList > li {
		float: none;
		margin: 0;
	}

	.mainNavList > li > a,
	.mainNavList > li > span {
		font-size: 16px;
		padding: 10px 2% 10px;
		border-bottom: 1px solid rgba(255,255,255,0.2);
		height: auto;
		background: rgba(255,255,255,0.1);
	}

	.mainNavList > li:first-child > a,
	.mainNavList > li:first-child > span {
		border-top: 1px solid rgba(255,255,255,0.2);
	}

	.mainNavList > li:hover > a,
	.mainNavList > li:hover > span {
		background-color: rgba(255,255,255,0.2);
		border-bottom: 1px solid rgba(255,255,255,0.2);
	}

	.mainNavList > li > span {
		border-bottom: 1px solid rgba(255,255,255,0.2);
	}

	.mainNavList > li > span:after {
		display: none;
		border: 0;
	}

	.mainNavList .ddBox {
		display: none;
	}

	/*carousels*/

	.flex-direction-nav a {
		top: 15%;
	}

	.flex-direction-nav a.flex-prev {
		left: 0;
	}

	.flex-direction-nav a.flex-next {
		right: 0;
	}

	.carousel {
		padding: 0 40px;
	}

	.carousel .slides li img {
		max-width: 95px;
	}

	.carousel .slides li h3 {
		font-size: 18px;
		line-height: 20px;
	}

	.carousel .slides li p {
		display: none;
	}

	/*quickStats*/

	.quickStats .carousel {
		padding: 0;
	}

	.quickStats ul.slides {
		width: auto !important;
	}

	.quickStats .flex-direction-nav {
		display: none;
	}

	.quickStats ul.slides li {
		width: 25% !important;
		height: 160px;
		overflow: hidden;
		padding-bottom: 0;
		margin-bottom: 10px;
	}

	.quickStats ul.slides li:nth-child(n+5) {
		display: none !important;
	}

	.quickStats.all ul.slides li:nth-child(n+5) {
		display: block !important;
	}

	.quickStats .slides li h3 {
		font-size: 22px;
		line-height: 24px;
	}

	.quickStats .slides li p {
		display: block;
	}

	a.toggleQuickStats {
		display: block;
		text-align: center;
		color: #5b6774;
		font-size: 18px;
		text-decoration: none;
		background: #e4eaf0;
		padding: 8px 0;
		font-weight: 300;
		position: relative;
		top: -10px;
		opacity: 0.8;
	}

	/*.all a.toggleQuickStats {
		display: none;
	}*/

	/*modules*/

	.modules {
		display: -webkit-box;
		display: -moz-box;
		display: -ms-flexbox;
		display: -webkit-flex;
		display: flex;
		-webkit-flex-direction: column;
		flex-direction: column;
	}

	.modules .col {
		width: 100%;
		float: none;
	}

	.modules .col:nth-child(2) {
		-webkit-box-ordinal-group: 1;
		-moz-box-ordinal-group: 1;
		-ms-flex-order: 1;
		-webkit-order: 1;
		order: 1;
	}

	.modules .col:nth-child(1) {
		-webkit-box-ordinal-group: 2;
		-moz-box-ordinal-group: 2;
		-ms-flex-order: 2;
		-webkit-order: 2;
		order: 2;
	}

	.modules .col:nth-child(3) {

		-webkit-box-ordinal-group: 3;
		-moz-box-ordinal-group: 3;
		-ms-flex-order: 3;
		-webkit-order: 3;
		order: 3;
	}

	/*page content*/

	#breadcrumbs {
		font-size: 13px;
		text-transform: none;
	}

	.content .col {
		width: 100%;
	}

	.pageHeader form {
		padding-top: 15px;
		text-align: left;
	}

	/*forms*/

	form.general .col {
		width: 100%;
		float: none;
		margin-bottom: 5px;
	}

	form.general label.inline {
		display: block;
		padding-bottom: 5px;
	}



}



@media all and (max-width: 767px) {

	/*header*/

	.header h1 img {
		width: 100%;
		max-width: 100%;
	}
    
    

	/*quickStats*/

	.quickStats ul.slides li {
		width: 50% !important;
		height: 160px;
	}

	.quickStats ul.slides li:nth-child(n+5) {
		display: block !important;
	}

	.quickStats ul.slides li:nth-child(n+3) {
		display: none !important;
	}

	.quickStats.all ul.slides li:nth-child(n+3) {
		display: block !important;
	}

}


/*Local Nav*/

@media all and (max-width: 767px)
{
    #localNav ul
    {
        display: table;
    }
    #localNav li
    {
        width: 50%;
        height: 30%;
        vertical-align: top;
    }

}

@media all and (max-width: 1023px) 
{
    #localNav u
    {
        display: table;
    }
    #localNav li
    {
        width: 50%;
        height: 30%;
        vertical-align: top;
    }
}

@media all and (max-width: 1200px) 
{

#localNav u
    {
        display: table;
    }
    #localNav li
    {
        width: 50%;
        height: 30%;
        vertical-align: top;
    }
    
}




