/*

.about-slider {
	max-width: 1170px;
	height: 338px;
}

.company-slider {
	max-width: 1170px;
	height: 338px;
}

.services-banner {
	max-width: 1170px;
	height: 450px;
}

*/

@media screen and (min-width:770px) and (max-width:991px) {	
	.booking-button button {
		width:  auto !important;
	}


}

@media screen and (min-width:767px) and (max-width:1320px) {	
	.slider {
		background: white;
	}
}	


@media screen and (min-width:768px) and (max-width:1199px) {	
	.service-column {
        background: none !important;
        /*padding-top: 4em !important;*/
    }

}	

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

.ag-noble-wrap:after {
    content: "";
    border-left: 43em solid #223542;
    border-top: 43px solid transparent;
    top: -43px;
    position: absolute;
    left: 0px;
    }


.ag-guarantee-wrap:after {
    content: "";
    border-left: 43em solid #223542;
    border-top: 43px solid transparent;
    top: -43px;
    position: absolute;
    left: 0px;
    }    


.ag-loc-wrap:after {
    content: "";
    border-right: 43em solid #223542;
    border-top: 43px solid transparent;
    top: -43px;
    position: absolute;
    left: -2px;
    }

}
@media screen and (min-width:990px) and (max-width:1199px) {	

.ag-noble-wrap:after {
    content: "";
    border-left: 25em solid #223542;
    border-top: 43px solid transparent;
    top: -43px;
    position: absolute;
    left: 0px;
    }


.ag-guarantee-wrap:after {
    content: "";
    border-left: 25em solid #223542;
    border-top: 43px solid transparent;
    top: -43px;
    position: absolute;
    left: 0px;
    }    


.ag-loc-wrap:after {
    content: "";
    border-right: 35.9em solid #223542;
    border-top: 43px solid transparent;
    top: -43px;
    position: absolute;
    left: -2px;
    }
}

@media screen and (min-width:641px) and (max-width:990px) {	

.ag-noble-wrap:after {
    content: "";
    border-left: 43em solid #223542;
    border-top: 43px solid transparent;
    top: -43px;
    position: absolute;
    left: 0px;
    }

.ag-guarantee-wrap:after {
    content: "";
    border-left: 43em solid #223542;
    border-top: 43px solid transparent;
    top: -43px;
    position: absolute;
    left: 0px;
    }    


.ag-loc-wrap:after {
    content: "";
    border-right: 55.9em solid #223542;
    border-top: 43px solid transparent;
    top: -43px;
    position: absolute;
    left: -2px;
    }
    
/*.ag-noble-wrap:before {
    content: "";
    border-left: 42em solid #31647d;
    border-bottom: 43px solid transparent;
    bottom: -43px;
    position: absolute;
    left: 0px;
    }    */

}	
@media screen and (max-width:767px) {

	body {
		overflow-x: hidden;
		margin-bottom: 50px;
		behavior: url(../pie/PIE.htc);
	}
    
    
    .csubtxt_m {
		font-size: 18px !important;
    }

	.csubtxt1, .cch1 {
    /*.slider h1, .slider h2 {*/
    	font-size: 22px !important;
    }
    

	.navbar-header {
		float: none;
		behavior: url(../pie/PIE.htc);
	}

	.mod-homepage-banner,
    .mod-homepage-1,
	.mod-homepage-2,
	.mod-homepage-3 {
		margin-bottom: 5px;
		height: 275px;
		background-size: 100%;
		behavior: url(../pie/PIE.htc);
	}
	
	.cbp-hrmenu {
		text-align: left;
		/*position: relative;
		z-index: 1000;*/
		behavior: url(../pie/PIE.htc);
	}
	
	.nav-gradient {
		margin: 0;
		width: 100%;
		border-radius: 0px;
		behavior: url(../pie/PIE.htc);
	}
	
	.banner-button-2 {
		font-size: 13px !important;
		padding: 10px;
		width: auto !important;
	}

    .cbp-hrmenu > ul > li > a > h4 {
    	
    }

    .cbp-hropen .ag-caret {
    	border-color: white !important;
    }
    #agnav {
    	height: 0px;
    	padding: 0px;
    }
    
	.slider {
		height: 350px !important;
		background: white;
	}

    .carousel-indicators {
    	bottom: 15px;
    }

    .blue-divider {
    	margin: 0 auto;
    }
    
	.navbar-brand {
		width: 70%;
		padding-left:20px;
		behavior: url(../pie/PIE.htc);
	}
	
	.navbar-brand img {
		position: relative;
		top: 0px;
		left: 5px;
		behavior: url(../pie/PIE.htc);
		max-width: 200px;
	}

	.carousel-1 .carousel-caption, .carousel-2 .carousel-caption, .carousel-3 .carousel-caption, .carousel-4 .carousel-caption, .carousel-5 .carousel-caption {
		height: 330px;
	}
	
	.ag-logo-bar {
		height: 60px;
		behavior: url(../pie/PIE.htc);
	}

	.hide-mob {
		display: none;
	}

	.f_pl_mob {
		padding-left: 4.5em;
	}
	
	.carousel {
		height: 100%;
		behavior: url(../pie/PIE.htc);
	}
	
	.subscribe-form label {
		margin-left: 15px;
		behavior: url(../pie/PIE.htc);
	}

	.footer_container {
		padding: 0 0 0 2em !important;
	}
	
	.services-content {
		margin-left: 0;
		width: 100%;
		height: 450px;
		behavior: url(../pie/PIE.htc);
	}
	
	.subscribe-form {
		height: 80px;
		behavior: url(../pie/PIE.htc);
	}

	.section-services img {
		max-width: 250px !important;
		margin: 0 auto;
		display: block;
	}

	.section-services h3 {
		font-size: 20px;
		text-align: center;
		margin-top: 20px !important;
	}

    .section-services p {
    	padding: 2em;
    	text-align: center;
    }
	.svc-hdr {
		font-size: 20px !important;
	}
	
	.section-homepage h2 {
		margin-left: 20px;
		behavior: url(../pie/PIE.htc);
	}

    .svc-hvr .blue-btn {
    	display: block;
    	margin: 0 auto;
    }
	
	.subscribe-form input[type="email"] {
		margin-left: 5%;
		width: 85%;
		border-radius: 0px;
		behavior: url(../pie/PIE.htc);
	}
	
	.ag-noble img {
		display: none;
	}

	#ag_footer {
		margin-top: 0px !important;
	}
	.subscribe-form input[type="submit"] {
		width: 10%;
		background-position:left;
		border-radius: 0px;
		behavior: url(../pie/PIE.htc);
	}
	
	.contact-ag p{
		text-align: left;
		padding: 0 1%;
		behavior: url(../pie/PIE.htc);
	}
	
	.textblock {
		top:145px;
		height: 113px;
		behavior: url(../pie/PIE.htc);
	}
	
	.textblock h3 {
		font-size: 20px;
		font-weight: bold;
		behavior: url(../pie/PIE.htc);
	}
	
	.textblock p {
		font-size: 12px;
		margin: 0 15%;
		behavior: url(../pie/PIE.htc);
	}
	
	.cbp-hrmenu .cbp-hrsub-inner > div a {
		font-size: 12px;
		behavior: url(../pie/PIE.htc);
	}
	
	.mod-homepage-banner > .textblock {
		padding: auto 0;
		top: 145px;
		height: 120px;
		behavior: url(../pie/PIE.htc);
	}
	
	.mod-homepage-banner > .textblock > h3 {
		font-size: 20px;
		font-weight: bold;
		behavior: url(../pie/PIE.htc);
	}
	
	.mod-homepage-banner > .textblock > p {
		font-size: 12px;
		margin: 0 15%;
		behavior: url(../pie/PIE.htc);
	}
	
	.ag-logo-bar {
		/*background: #006699;
		background: linear-gradient(45deg,  rgba(105,189,234,1) 0%,rgba(4,101,140,1) 100%);*/
		background: #fff;
		behavior: url(../pie/PIE.htc);
		margin-top:  4em;
	}
	
	.navbar-default .navbar-toggle .icon-bar {
		background: #2B5E79;
		behavior: url(../pie/PIE.htc);
		border-radius: 1em;
	}

	.navbar-toggle {
		margin-top: 0px;
	}
	
	.nav-gradient {
		background: #31647d;
		box-shadow: 0px;
		border-bottom: medium none;
		/* border: solid 1px #ccc; */
		z-index: 999;
		behavior: url(../pie/PIE.htc);
		position: relative;
	}
	
	.cbp-hropen > a > h4 {
		color: #fdfdfd !important;
	}
	
	.cbp-hrmenu > ul > li {
		border-bottom: 1px solid #4e8aa7;
		height: 37px;
		line-height: 10px;
		behavior: url(../pie/PIE.htc);
		transition: .3s;
		width: 100% !important;
	}
	
	.cbp-hrmenu > ul > li > a {
		color: #006699;
		padding: 0em 2em;
		text-align: left;
		behavior: url(../pie/PIE.htc);
	}
	
	.cbp-hrmenu .cbp-hrsub-inner  li {
		position: relative;
		left: 15px;
		behavior: url(../pie/PIE.htc);	
	}
	
	.carousel-indicators {
		left: 40%;
		width: 80%;
		behavior: url(../pie/PIE.htc);
	}
	
	.left-carousel-control,
	.right-carousel-control 
	{
		display: none;
		behavior: url(../pie/PIE.htc);
	}
	
	.home-slider {
		height: 350px;
		behavior: url(../pie/PIE.htc);
	}
	
	.fill > img {
		height: auto;
		width: auto;
		behavior: url(../pie/PIE.htc);
		/* max-width: 100%; */
	}
	
	.carousel-1 .carousel-caption {
		height: 300px;
		behavior: url(../pie/PIE.htc);
	}
	
	.carousel-1 .carousel-caption > h1 {
		margin: 0;
		font-size: 29px;
		position: static;
		width: 320px;
		width: 100%;
		behavior: url(../pie/PIE.htc);
	}
	
	.carousel-caption > hr {
		border-color: #2B5E79;
		text-align: center;
		margin-top: 10px;
		width: 900px;
		margin-bottom: 10px;
		behavior: url(../pie/PIE.htc);
	}

	.clear-margin {
		margin-right: 0;
		behavior: url(../pie/PIE.htc);
	}
	
	.location-container {
		height: auto !important;
		behavior: url(../pie/PIE.htc);
	}
	
	.location-header {
		margin-top: 5px;
		text-transform: uppercase;
		behavior: url(../pie/PIE.htc);
	}
	
	.section-homepage {
		padding: 5px 0;
		margin: 0;
		behavior: url(../pie/PIE.htc);
	}
	
	.z-tabs.underlined.mobile.m-deepblue > ul.z-tabs-desktop > li.z-active > a, 
	.z-tabs.underlined.mobile.hover.m-deepblue > ul.z-tabs-desktop > li:hover > a {
		color: #f6f6f6;
		behavior: url(../pie/PIE.htc);
	}
	
	.services-banner > .fill {
		background-position: bottom left;
		background-size: 390% auto;
		background-repeat: no-repeat;
		behavior: url(../pie/PIE.htc);
	}
	
	.services-content-fill {
		opacity: 0.8;
		behavior: url(../pie/PIE.htc);
	}
	
	.cbp-hrmenu > ul > li.cbp-hropen > a {
		background: none;
		box-shadow: none;
		behavior: url(../pie/PIE.htc);
	}
	
	.z-tabs.vertical.medium > ul.z-tabs-nav > li > a.z-link {
		text-align: left;
		behavior: url(../pie/PIE.htc);
	}
	
	.z-tabs.vertical.underlined >.z-container > .location-margin > .z-content-inner {
		padding: 0 0 !important;
		behavior: url(../pie/PIE.htc);
	}
	
	/*.inquiry-form,
	.our-location {
		margin: 0 15px;
	}*/
	
	
	.inquiry-form h3,
	.our-location h3 {
		font-size: 20px;
		behavior: url(../pie/PIE.htc);
	}
	
	.inquiry-form h4,
	.our-location h4 {
		font-size: 16px;
		behavior: url(../pie/PIE.htc);
	}
	
	.mod-australia-map {
		height: 225px;
		behavior: url(../pie/PIE.htc);
	}
	
	.services-banner h3 {
		font-size: 20px;
		behavior: url(../pie/PIE.htc);
	}
	
	.services-section h3 {
		font-size: 20px;
		behavior: url(../pie/PIE.htc);
	}
	
	.location-container {
		/* width: 100%; */
		/* margin: 0; */
		behavior: url(../pie/PIE.htc);
	}
	
	.location-text a {
		/* color: #fff !important; */
		behavior: url(../pie/PIE.htc);
	}
	
	.location-text2 {
		background: linear-gradient(45deg, rgba(105,189,234,0.8) 0%,rgba(4,101,140,0.8) 100%);
		color: #fff;
		padding-top: 10px;
		font-size:12px;
		height: 100px;
		line-height: 1.32em;
		behavior: url(../pie/PIE.htc);
	}
	
	.location-text p > strong {
		font-size: 15px;
		behavior: url(../pie/PIE.htc);
	}
	
	.z-content-inner ul {
		margin-left: -20px;
		text-align: left;
		behavior: url(../pie/PIE.htc);
	}
	
	.modal.fade {
	  top: 200%;
	  -webkit-transition: opacity 0.3s linear, top 0.3s ease-out;
		 -moz-transition: opacity 0.3s linear, top 0.3s ease-out;
		   -o-transition: opacity 0.3s linear, top 0.3s ease-out;
			  transition: opacity 0.3s linear, top 0.3s ease-out;
		behavior: url(../pie/PIE.htc);
	}

	.modal.fade.in {
	  top: 0%;
	  behavior: url(../pie/PIE.htc);
	}
	
	.mod-australia-map {
		background-size: 100%;
		height: 210px;
		behavior: url(../pie/PIE.htc);
	}
	
	.contact-ag {
		font-size: 12px;
		margin-left: 15px;
		behavior: url(../pie/PIE.htc);
	}
	
	.footer {
		padding: 20px 0 65px;
		behavior: url(../pie/PIE.htc);
	}
	
	.footer-booking {
		z-index: 5000;
		font-family: "latolight";
		behavior: url(../pie/PIE.htc);
	}
	
	.services-section ul  {
		margin-left:-20px;
		behavior: url(../pie/PIE.htc);
	}
	
	.read-more {
		display: none;
		behavior: url(../pie/PIE.htc);
	}
	
	.read-more-link {
		display: block;
		behavior: url(../pie/PIE.htc);
	}
	
	.coming-soon img {
		width: 100%;
		margin: 50px 0 0;
		behavior: url(../pie/PIE.htc);
	}
	
	.coming-soon {
		margin: 0;
		padding: 0 10px;
		behavior: url(../pie/PIE.htc);
	}
	
	.coming-button {
		left: 18%;
		behavior: url(../pie/PIE.htc);
	}
	
	.location-container > .col-lg-7 {
		padding: 0;
		behavior: url(../pie/PIE.htc);
	}

	.company-slider {
		height: 150px;
		behavior: url(../pie/PIE.htc);
	}
	
	.about-slider {
		height: 150px;
		behavior: url(../pie/PIE.htc);
	}
	
	.mod-1,
	.mod-2,
	.mod-3,
	.mod-mobile-banner {
		padding-left: 0;
		padding-right: 0;
		behavior: url(../pie/PIE.htc);
	}
	
	.forms-text {
		height: 30px;
		line-height: 20px;
		behavior: url(../pie/PIE.htc);
	}
	
	.cbp-hrsub-inner {
		border-radius: 0;
		behavior: url(../pie/PIE.htc);
	}
	
	.section-homepage > .container > h2 {
		margin: 10px 0 5px 20px;
		behavior: url(../pie/PIE.htc);
	}
	
	.location-header {
		margin: 5px 15px 10px;
		behavior: url(../pie/PIE.htc);
	}
	
	#tabbed-nav {
		margin: 0 20px;
		behavior: url(../pie/PIE.htc);
	}
	
	#tabbed-nav ul {
		padding: 0 20px;
		behavior: url(../pie/PIE.htc);
	}
	
	#contact-nav ul {
		padding: 0 20px;
		behavior: url(../pie/PIE.htc);
	}
	
	#contact-nav h4 {
		padding-left: 20px;
		behavior: url(../pie/PIE.htc);
	}
	
	#contact-nav .inquiry-form {
		padding: 0 20px;
		behavior: url(../pie/PIE.htc);
	}
	
	.contact-map {
		padding-top: 30px;
		behavior: url(../pie/PIE.htc);
	}
}

@media screen and (min-width:641px) and (max-width:1025px) {
	
	body {
		overflow-x: hidden;
		behavior: url(../pie/PIE.htc);
	}
	
	.cbp-hrmenu > ul > li > a {
		padding: 0 24px;
		behavior: url(../pie/PIE.htc);
	}	
	
	.mod-homepage-1,
	.mod-homepage-2,
	.mod-homepage-3 {
		background-size: 100%;
		height: 258px;
		behavior: url(../pie/PIE.htc);
	}
	
	.textblock {
		top: 140px;
		height: 120px;
		behavior: url(../pie/PIE.htc);
	}

	.clear-tablet-margin {
		margin-right: 0;
		behavior: url(../pie/PIE.htc);
	}
	
	.location-container {
		height: 320px;
		behavior: url(../pie/PIE.htc);
	}
	
	.subscribe-form input[type="email"] {
		width: 45%;
		behavior: url(../pie/PIE.htc);
	}
}

/* 
----------------------------------------------------------------------
--- Smartphones General Landscape Query							   ---
----------------------------------------------------------------------
*/

@media only screen 
and (min-width : 321px) {
	.location-header {
	margin: 25px 15px 10px;
	behavior: url(../pie/PIE.htc);
	}
	
	
}

/* 
----------------------------------------------------------------------
--- Smartphones General Portrait Query							   ---
----------------------------------------------------------------------
*/

@media only screen 
and (max-width : 320px) {
/* Styles */
}


/* 
----------------------------------------------------------------------
--- iPad Landscape Query										   ---
----------------------------------------------------------------------
*/

@media only screen 
and (min-device-width : 768px) 
and (max-device-width : 1024px) 
and (orientation : landscape) {

	.services-content {
		margin-left: 65%;
		width: 35%;
		behavior: url(../pie/PIE.htc);
	}

	.cbp-hrmenu > ul > li > a {
		padding: 0 43px;
		behavior: url(../pie/PIE.htc);
	}
	
	.carousel-1 .carousel-caption, 
	.carousel-2 .carousel-caption, 
	.carousel-3 .carousel-caption, 
	.carousel-4 .carousel-caption
	{
		width: 100%;
		height: 350px;
		behavior: url(../pie/PIE.htc);
	}
	
	.carousel-1 .carousel-caption > h1, 
	.carousel-2 .carousel-caption > h1, 
	.carousel-3 .carousel-caption > h1, 
	.carousel-4 .carousel-caption > h1
	{
		width: 80%;
		font-size: 30px;
		behavior: url(../pie/PIE.htc);
	}
	
	.carousel-1 .carousel-caption > hr, 
	.carousel-2 .carousel-caption > hr, 
	.carousel-3 .carousel-caption > hr, 
	.carousel-4 .carousel-caption > hr
	{
		width: 75%;
		behavior: url(../pie/PIE.htc);
	}
	
	.carousel-1 .carousel-caption > h3, 
	.carousel-2 .carousel-caption > h3, 
	.carousel-3 .carousel-caption > h3, 
	.carousel-4 .carousel-caption > h3
	{
		width: 80%;
		font-size: 16px;
		behavior: url(../pie/PIE.htc);
	}
	
	.coming-soon img {
		margin: 50px 7.3% 0;
		behavior: url(../pie/PIE.htc);
	}
	
}

@media only screen and (min-width: 767px) and (max-width: 769px) {
	.booking-button button {
			width: 210px !important;
			height: 30px !important;
	}
	
	.select-clinic {
		margin-left: 0;
	}
}

/* 
----------------------------------------------------------------------
--- iPad Portrait Query										       ---
----------------------------------------------------------------------
*/

@media only screen 
and (min-device-width : 768px) 
and (max-device-width : 1024px) 
and (orientation : portrait) {


	.services-content {
		margin-left: 55%;
		width: 45%;
		behavior: url(../pie/PIE.htc);
	}

	.cbp-hrmenu > ul > li > a {
		padding: 0 22px;
		behavior: url(../pie/PIE.htc);
	}
	
	.carousel-1 .carousel-caption, 
	.carousel-2 .carousel-caption, 
	.carousel-3 .carousel-caption, 
	.carousel-4 .carousel-caption
	{
		width: 100%;
		height: 200px;
		behavior: url(../pie/PIE.htc);
	}
	
	.carousel-1 .carousel-caption > h1, 
	.carousel-2 .carousel-caption > h1, 
	.carousel-3 .carousel-caption > h1, 
	.carousel-4 .carousel-caption > h1
	{
		width: 80%;
		font-size: 27px;
		behavior: url(../pie/PIE.htc);
	}
	
	.carousel-1 .carousel-caption > hr, 
	.carousel-2 .carousel-caption > hr, 
	.carousel-3 .carousel-caption > hr, 
	.carousel-4 .carousel-caption > hr
	{
		width: 85%;
		behavior: url(../pie/PIE.htc);
	}
	
	.carousel-1 .carousel-caption > h3, 
	.carousel-2 .carousel-caption > h3, 
	.carousel-3 .carousel-caption > h3, 
	.carousel-4 .carousel-caption > h3
	{
		width: 80%;
		font-size: 16px;
		behavior: url(../pie/PIE.htc);
	}
	
	.carousel-indicators {
		bottom: 10px;
		behavior: url(../pie/PIE.htc);
	}
	
	.coming-soon img {
		width: 100%;
		margin: 50px 0 0;
		behavior: url(../pie/PIE.htc);
	}
	
	.coming-button {
		left: 32%;
		behavior: url(../pie/PIE.htc);
	}
	
}

/* 
----------------------------------------------------------------------
--- iPhone 5 Landscape Query									   ---
----------------------------------------------------------------------
*/

@media only screen 
and (min-device-width : 320px) 
and (max-device-width : 640px)
and (orientation : landscape) { 

	.mod-australia-map {
		background-size: 100%;
		height: 300px;
		behavior: url(../pie/PIE.htc);
	}

	.mod-homepage-banner {
		height: 300px;
		behavior: url(../pie/PIE.htc);
	}
	
	.mod-homepage-banner > .textblock {
		top: 215px;
		behavior: url(../pie/PIE.htc);
	}
	
	.mod-homepage-1,
	.mod-homepage-2,
	.mod-homepage-3 {
		height: 300px;
		behavior: url(../pie/PIE.htc);
	}
	
	.textblock {
		top: 215px;
		behavior: url(../pie/PIE.htc);
	}
	
	.ag-footer,
	.ag-sales-call,
	.ag-tagline {
		text-align: center;
	}
}

/* 
----------------------------------------------------------------------
--- iPhone 5 Portrait Query										   ---
----------------------------------------------------------------------
*/

@media only screen 
and (min-device-width : 320px) 
and (max-device-width : 640px)
and (orientation : portrait) {

	.mod-australia-map {
		background-size: 100%;
		height: 210px;
		behavior: url(../pie/PIE.htc);
	}
	
	.ag-footer,
	.ag-sales-call,
	.ag-tagline {
		text-align: center;
	}
}

/* 
----------------------------------------------------------------------
--- Samsung Galaxy S4 Portrait Query							   ---
----------------------------------------------------------------------
*/

@media only screen 
and (device-width: 320px) 
and (device-height: 640px)
and (orientation : portrait) {

}

.ag-sticky-fixed {
  	position: fixed;
  	top: 0;
  	right: 0;
  	left: 0;
	z-index: 999;
    background: white;
}