/* Responsive */

@media screen and (max-width: 1400px) {
	/* Header */
	.header .dropdown-nav li {
	    width: 22.5%;
	    margin-right: 2.5%;
	    min-width: 0;
	}

	.header .dropdown-nav li span {
		font-size: 16px;
	}

	.header .primary li a {
		font-size: 18px;
	}


	/* Grid Page */

	.grid-item {
		width: 32%;
		margin-right: 1%;
	}
	.gri-item.item-3 {
		margin-right: 0px;
	}
}

@media screen and (max-width: 1280px) {

	/* Menu */

	.hamburger{
		display: block;
		right: 30px;
		top: 8px;
		position: absolute;
	}

	.hamburger-box{
		display: block;
	}

	.hamburger-inner, .hamburger-inner:after, .hamburger-inner:before{
		background-color: #fff;
		border-radius: 1px;
		height: 2px;
		width: 30px;
		display: block;
	}

	.hamburger{
		display: block;
	}

	.header .primary .main-menu {
		margin-left: -12px;
		-webkit-padding-start: 0px; /* removes default webkit padding on ul items */
	}

	body {
		position: relative;
		left: 0;
	}

	.header .primary .main-menu {
		right: -300px;
		background: #55B2C2;
		width: 240px;
		height: 100vh;
		top: 0;
		text-align: left;
		position: fixed;
		bottom: 0;
		overflow: auto;
		padding: 20px;
	}

	.care-provider .header .primary .main-menu {
		background: #96C45C;
	}

	.primary .main-menu li {
		float: left;
		margin: 0;
		clear: both;
	}

	.primary li a {
		display: inline-block;
		font-size: 20px;
	}

	.primary li ul {
		position: relative;
		background: none;
		top:  auto;
		display:block;
		border-top: none;
		z-index: 3;
		width: auto;
		left: 5px;
		padding-top: 0;
		padding-bottom: 0;
	}

	.primary li ul li{
		float: left;
		width: 100%;
		text-align: left;
	}

	.primary li ul li a{
		font-size: 18px;
		padding: 0 1px;
	}

	.primary li.closer {
		display: block;
		position: absolute;
		top: 20px;
		right: 20px;
		width: 40px;
		height: 40px;
	}

	.primary li.closer a:before,
	.primary li.closer a:after {
		content: "";
		width: 40px;
		height: 4px;
		background: currentcolor;
		display: block;
		position: absolute;
		transform: rotate(45deg);
		top: 18px;
	}

	.primary li.closer a:after {
		transform: rotate(135deg);
	}

	body, .primary ul {
		transition: all 0.2s ease-in-out;
	}

	.header .primary li.selected:after {
		display: none;
	}

	.dropdown-nav {
		background-color: #55B2C2;
		display: block;
		height: auto;
		box-shadow: none;
		padding-top: 0;
		position: initial;
	}

	.dropdown-nav .link.bottom-border, .dropdown-nav .current.bottom-border {
		border: none;
	}

	.header .dropdown-nav li {
		width: 100%;
		height: auto;
	}

	.header .primary .dropdown-nav li a {
		color: #fff;
	}

	.header .primary li a {
		line-height: 40px;
	}
}

@media screen and (max-width: 1200px) {

	/* Grid Page */

	.grid-item {
		width: 400px;
		float: none;
		margin: 0 auto;
		clear: both;
	}

	.grid-item.item-2 {
		float: none;
		clear: both;
	}

	.grid-item:nth-child(3n+1) {
		margin: 0 auto;
	}

	/* Info Page */

	.sidebar {
		width: 50%;
		float: none;
		margin: 0 auto;
		margin-bottom: 60px;
	}

	/* Footer */

	.footer .footer-top a {
		font-size: 20px;
		line-height: 33px;
		color: #000;
		text-decoration: none;
	}

	.footer-center {
		height: auto;
		line-height: 40px;
		padding: 10px 0;
	}

	.footer-center .ph-1 {
		padding: 0 50px;
	}

	.breadcrumbs {
		margin-bottom: 60px;
	}

}

@media screen and (max-width: 1000px) {

	/* General */
	.left, .right {
		float: none;
		clear: both;
		width: 100%;
	}

	/* Home Page */
	.home-care-provider, .home-community {
		width: auto;
		float: none;
		clear: both;
		height: 500px;
		padding: 60px 5px 40px 5px;
	}


	/* Footer */
	.footer .footer-1, .footer .footer-2 {
		width: 45%;
		margin-right: 5%;
		padding-bottom: 20px;
	}

	.footer .footer-3 {
		width: 50%;
		float: none;
		clear: both;
		margin-right: 0;
		margin-top: 20px;
		margin: 0 auto;
	}
}


@media screen and (max-width: 900px) {


    /* Grid Page */

  	.hero-image {
  		height: 240px;
 	}

 	/* Info Page */
 	.full-width-image {
	    width: 380px;
	    height: 135px;
	    margin: 0 auto;
		margin-bottom: 30px;
	}
}

@media screen and (max-width: 850px) {
 	.content-inner {
 		width: 98%;
 		margin: 0 auto;
 	}

 	.footer-center .ph-1 {
		padding: 0;
	}

	.home-alert a.button {
		width: 140px;
		margin: 0 auto;
		display: block;
		margin-top: 20px;
	}

 }

@media screen and (max-width: 840px) {
 	/* Header */
	.center-bar .iconfield {
		width: 300px;
	}

	.dropdown-nav {
		left: 25px;
		width: auto;
	}
}

@media screen and (max-width: 780px) {

	/* Footer */

	.footer-center {
		height: 100px;
	}
	.dev-by {
		display: block;
	}
	.footer-bottom {
		height: auto;
	}
	.inner {
		padding: 0 8px;
	}

	.footer-center p {
		font-size: 13px;
		line-height: 20px;
	}

	/* Find A Table */

	.typography .find-a-table td {
		width: 100%;
		box-sizing: border-box;
	}

	.typography .find-a-table td, .typography .find-a-table tr {
		display: block;
	}

	.typography .nowrap td {
		display: table-cell;
	}

	.typography .nowrap tr {
		display: table-row;
	}

	.find-a-header {
		float: none;
		text-align: center;
	}

	.logo {
		display: block;
		float: none;
		margin: 0 auto;
	}

	/* Profile */

	.prof-text, .prof-img-container {
		display: block;
		width: 100%;
	}

	.prof-img {
		margin: 0 auto;
		float: none;
	}

	.prof-text {
		margin-bottom: 20px;
	}

}

@media screen and (max-width: 720px) {
	/* Header */
	.header .top-level li {
		padding: 0 10px;
	}

	.top-logo {
		display: block;
		height: 120px;
		margin: 0 auto;
	}

	.center-bar .iconfield {
		display: block;
		float: none;
		margin-top: 15px;
		top: 0;
	}

	.center-bar.small {
		height: 120px;
	}

	.center-bar.small .top-logo {
		margin: 0 auto;
		margin-top: 20px;
	}

	.logout {
		line-height: 70px;
		margin-left: 20px;
	}
}

@media screen and (max-width: 550px) {
	.dropdown-item {
		width: 220px;
	}
}

@media screen and (max-width: 500px) {
	.home-community, .home-care-provider {
		min-height: 580px;
	}

	.typography .inline-title, .typography .full-title {
		margin-top: 30px;
		margin-bottom: 0;
		text-align: center;
		float: none;
	}

	.center-bar .iconfield {
		width: auto;
	}

	.inline-image {
		float: none;
		margin-right: 0;
		margin: 0 auto;
	}

	.top-section {
		margin-bottom: 30px;
	}

	/* Home Page */
	.home-community h3, .home-care-provider h3 {
		width: 100%;
	}

	.home-care-provider, .home-community {
		height: 550px;
	}

	/* Header */
	.header .top-bar {
		height: 60px;
	}

	.header .top-level {
		float: none;
	}

	.header .top-level li {
		width: 50%;
		float: left;
		display: block;
		text-align: center;
		padding: 0;
	}

	/* Calendar Item */

	.calendar-item {
		float: none;
		clear: both;
		width: 200px;
		margin: 0 auto;
		margin-top: 30px;
		margin-bottom: 30px;
	}

	/* Footer */

	.footer .footer-1, .footer .footer-2, .footer .footer-3 {
		width: 200px;
	}

	.footer .footer-1, .footer .footer-2 {
		float: none;
		clear: both;
		margin-right: 0;
		margin-top: 20px;
		margin: 0 auto;
	}

	/* Voucher Form */

	.voucher-form {
		width: auto;
		margin: 0;
	}

}

@media screen and (max-width: 450px) {
	/* Home Page */
	.HomePage .dropdown-item, .HomePage .iconfield {
		width: 275px;
	}

	.grid-item {
		width: 200px;
		height: auto;
		min-height: 0;
	}

	.grid-item .grid-image {
		position: relative;
	}

	.news-item {
		height: auto;
	}

	.grid-item .grid-image {
		width: 200px;
		height: 150px;
	}

	.top-logo {
		width: 60%;
	}

	.terms-label a.alink {
		margin: 0 auto;
		display: block;
		width: 180px;
		text-align: center;
	}

	/* Find a Table */
	.typography table.find-a-table, .typography .find-a-table tbody {
		width: 100%;
		display: block;

	}

	.logo {
		max-width: 100%;
	}

	#map {
		max-width: 100%;
	}
}