


@media only screen and (max-device-width : 320px) { 
	/*.ch-info .ch-info-back, .ch-item:hover .ch-info-back, .thumbnail-team .image-wrapper img, .thumbnail-team .image-wrapper, .ch-info { max-height: 275px !important; min-height: 275px !important; }*/
	.banner-text {  min-height: 130px; }
	.container {max-width: 240px !important;width: 240px !important; }	
	.d-flex { display: block !important; }
	.py-5 {padding: 1em 0 !important;}
	.inner-links .img-fluid {max-width: 90px !important;}
	#services-inner a.btn-large-green, #services-inner a.btn-large-blue { padding: 10px; }
}

@media only screen and (max-device-width : 375px) { 
	/*.ch-info .ch-info-back, .ch-item:hover .ch-info-back, .thumbnail-team .image-wrapper img, .thumbnail-team .image-wrapper, .ch-info { max-height: 330px !important; min-height: 330px !important; }*/
	.other-services-content { min-height: 325px !important; }
	.banner-text {  min-height: 150px; }
	.services-banner .ami-banner img  {  height: 150px; }
	.services-page-img img { min-height: 200px !important; }
	.container { max-width: 300px!important;width: 300px !important; }
	.other-services-content .desc-wrapper { bottom: -92%  !important; }
	.inner-links .img-fluid {max-width: 90px !important;}
	#services-inner a.btn-large-green, #services-inner a.btn-large-blue { padding: 10px; }
	
}

@media only screen and (max-width : 767px) and (min-device-width : 600px)   {
	/*.ch-info .ch-info-back, .ch-item:hover .ch-info-back, .thumbnail-team .image-wrapper img, .thumbnail-team .image-wrapper, .ch-info { max-height: 310px; min-height: 310px; }*/
	.other-services-content { min-height: 310px !important; }
	.banner-text, .services-banner .ami-banner img { height: 280px; min-height: 280px; }
	.services-page-img img { min-height: 250px; }
	.services-page-desc.flex-grow { min-height: initial !important; }
	.container {max-width: 450px;width: 450px; }
}

@media only screen and (min-device-width : 768px) and (max-device-width : 991px) {
	.container {max-width: 600px;width: 600px; }
	.d-flex { display: block !important; }
	.py-5 {padding: 1em 0 !important;}
	.sm-margin { margin: 2em 0; }
		
	/*.ch-info .ch-info-back, .ch-item:hover .ch-info-back, .thumbnail-team .image-wrapper img, .thumbnail-team .image-wrapper, .ch-info { max-height: 300px; min-height: 300px; }*/
	.banner-text, .services-banner .ami-banner img { height: 365px; min-height: 365px; }
	.services-page-img img { min-height: 300px; }
	.services-page-desc.flex-grow { min-height: 275px !important; }

	.services-page-img.flex-grow { background: #ccc; text-align: center; }
	.servicecontent .col-md-6.no-padding:nth-child(even) img { border-radius: 0; width: auto;  }
	.servicecontent .col-md-6.no-padding:nth-child(odd) img { border-radius: 0; width: auto;  }

	.services { height: 230px !important; min-height: 230px !important; }

	.inner-links .img-fluid {max-width: 200px !important;}
	

}
@media only screen  and (min-width : 992px) and (max-device-width : 1199px){
/* Styles */
/*	.ch-info .ch-info-back, .ch-item:hover .ch-info-back, .thumbnail-team .image-wrapper img, .thumbnail-team .image-wrapper, .ch-info { max-height: 250px; min-height: 250px; } */
	.banner-text, .services-banner .ami-banner img {  height: 500px; min-height: 500px; }	
	.services-page-img img { min-height: 370px; max-height: 370px; }
	.services-page-desc.flex-grow { min-height: 370px; padding: 0 1em; }

	.other-market-content { width: 185px }
	#other-market .col-md-4.col-lg-4.col-sm-6.col-xs-12 { padding-right: 0; padding-left: 0; }
	.container {max-width: 600px;width: 600px; }
	.py-5 {padding: 1.5em 0 !important;}
	.enviro-head { max-width: 475px; }
	

}

/* Smartphones (portrait) ----------- */
@media only screen and (max-device-width : 599px) {
/* Styles */
	.container {max-width: 360px;width: 360px; }
	.d-flex { display: block !important; }
	.py-5 {padding: 1em 0 !important;}
	.bio-flex h1 { font-size: 4vh; margin-top: 0; }
	.sm-margin { margin: 2em 0; }
	header.navbar { background: rgba(175, 175, 175, 0.63); margin-bottom: 0; }
	.navicon { margin: 80px 0 40px auto; }
	img.ami-logo { width: 50%; margin: 20px 0 0; }
 	.header { top: 7.3em; }
	.arrow { bottom: 0; }
	
	.banner-text {  min-height: 160px !important; }

	h1.block-title { font-size: 18px; margin-bottom: 10px; margin-top: 0; }
	h1.banner-title.t-white { font-size: 20px;  width: 80%;}

	.services-page-desc.flex-grow { min-height: initial !important; }

	#ami-about, #breadcrumbs, #contact-us-wrapper, #partner-bottom-banner, #ami-story { margin-top: 7em; padding: 20px 0;}
	.about-desc { padding: 0 10px; margin: 0; width: 100% !important; }
	.about-section-link button, .ready-link-wrapper button { padding: 7px; font-size: 10px; }

	#bottom-banner { font-size: 12px; margin-top: 8em; }

	#ami-services { padding: 1em; }

	.case-wrapper { height: 315px; }
	.case-desc-wrapper:after { content: none; }
	.case-desc-wrapper { width:100%; top: 50%; text-align: center; height: 155px; padding: 10px; }
	.case-image-wrapper img { max-width: 100%; }

	.social-icons i.fa { font-size: 17px; padding: 7px; margin-left: 0; }
	.about-desc p, .thumbnail-testi p { font-size: 12px; margin-bottom: 0;}
	h1.banner-title { width: 100%; font-size: 16px; }
	.services-content p, .footer-address, .story-desc p, .services-page-desc, .ch-info .ch-info-back p, .services-page-desc button { font-size: 12px; }

	div#partners img {  margin: auto; width: 50%;}
	h1.header-ready { font-size: 20px; }
	.case-wrapper { height: 315px; }
	.case-desc-wrapper:after { content: none; }
	.case-desc-wrapper { width:100%; top: 50%; text-align: center; height: 155px; padding: 10px; }

	/**/

	.story-desc { padding-right: 0; }
	.mission-desc-wrapper, .title-wrapper { padding: 2em 1em;  height: 400px; min-height: 400px; }
	
	.thumbnail-team .image-wrapper img, .thumbnail-team .image-wrapper, .ch-info { max-height: 380px; min-height: 380px; }
	.thumbnail-team .d-table-cell { vertical-align: top; }
	.thumbnail-team .image-wrapper-border { margin: 0; min-height: 400px; }

	/*.ch-info .ch-info-back, .ch-item:hover .ch-info-back { padding: 20px; width: 90%; min-height: 380px; }
*/
	.services-content.py-2 { padding: 10px 0; font-size: 12px; }

	.col-md-6.no-padding:nth-child(odd) img, .col-md-6.no-padding:nth-child(even) img  { border-radius: 0; }
	.no-padding { padding-left: 15px !important; padding-right: 15px !important; }


	.story-img { height: auto; }

	.other-services-content { min-height: 350px; }

	.other-services-content:hover .desc-wrapper { transform: translateY(-52%); }

	ul.benefits-list li { list-style: disc; font-size: 12px; }
	ul.benefits-list li:before { content: none; }

	.services-banner .ami-banner img  {  height: 150px; }

	.other-services-content .image-wrapper, .other-services-content img {  height: 275px !important; }

	.servicecontent .col-md-6.no-padding:nth-child(even) img { border-radius: 0; width: 100%;  }
	.servicecontent .col-md-6.no-padding:nth-child(odd) img { border-radius: 0; width: 100%;  }

	#ami-market-page { margin-top: 7em; }

	.inner-links .img-fluid {max-width: 90px !important;}
	#services-inner a.btn-large-green, #services-inner a.btn-large-blue { padding: 10px; }

}


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

	.case-image-wrapper img { max-width: 100%; }

    .about-desc { width: 90%; margin: auto; }

    h1.block-title { font-size: 20px; }
	.about-desc p, .thumbnail-testi p { font-size: 12px; margin-bottom: 0;}

	div#partners img {  margin: auto; width: 50%;}

	h1.header-ready { font-size: 20px; }

	h1.banner-title { width: 100%; font-size: 20px; }

	.services-content p, .footer-address, .story-desc p, .partner-desc { font-size: 12px; }

	.about-section-link button, .ready-link-wrapper button, .services-page-desc button { padding: 7px; font-size: 10px; }

	.contactus-ami input, .contactus-ami textarea { border: 1px solid #ccc; padding: 10px !important; font-size: 12px !important; }
	.contactus-ami .form-group button { font-size: 12px; float: none; }
	h2.footer-header { font-size: 18px; }
	.social-icons { padding: 2em 0; text-align: left;}
	.ami-footer-logo { text-align: left;}

	.ami-footer-logo.t-center img { width: auto; }

    .mission-desc-wrapper p { font-size: 12px; line-height: 1.2; }
	.mission-tiles, .mission-wrapper .image-wrapper img { min-height: 200px; }
	.mission-wrapper .header-title { font-size: 18px; margin-top: 0; margin-bottom: 10px; }

	section#other-services { padding: 0; }

	#ami-about { background: #ebebeb; }

	#bottom-banner { background: #195090; }

	section#existing-partners img { width: 100%; margin: 0;}
	#benefits, #partner-bottom-banner { padding: 20px 0; }
	video#enviro-cleanse { height: auto; padding: 20px 0;}
	#other-services .col-md-3.col-lg-3 { margin-bottom: 10px;  }
	.hidden-lg.hidden-md { padding: 0 10px;  }
	.services-page-img img { height: auto !important; min-height: auto !important; max-height: 250px !important;}
	section#ami-partners { height: 300px; padding: 0; }

	.partners-img img { width: 50%; }

	.partner-content { padding: 0; height: 100px; }
	.partner-content h2 { font-size: 20px; }

	.story-desc {  font-size: 12px; padding: 20px; }

	.mission-desc-wrapper ul { padding-left: 30px; font-size: 12px;}

	.iso-desc.d-table { height: auto; padding: 0; font-size: 12px; }

	
	.services { min-height: initial; height: auto; padding: 1em; }

	section#bottom-banner ul {font-size: 12px;  width: 100%; text-align: left; }
	#ami-services-page, #ami-market-page, #other-market{ padding: 20px 0; }

	#services-inner img { width: 100%; max-width: 600px; height: auto; }
	
	.breadcrumbs-menu { padding-top: 0; font-size: 12px; }

	.other-services-content img { width: 100% !important; height: auto; }
	.other-services-content {  margin-bottom: 0; }

	.banner-text h2 { font-size: 11px; }

	section#ami-partners, #ami-ready, #ami-contact-us { background-attachment: unset !important; }

	.arrow { width: 15px; height: 20px; bottom: 15px; }

	#other-market .box-flex { display: block; }
	.other-market-content img, .other-market-content { width: 100%; max-width: 100%; }

	.services { height: 230px !important; min-height: 230px !important; }

	.inner-links .img-fluid {max-width: 200px;}
}

/* Desktops and laptops ----------- */


/* Large screens ----------- */
@media only screen  and (max-width : 1024px) {

	h1.banner-title { width: 50%; margin: auto;}
	h1.block-title { font-size: 20px; }
	
	.services-page-desc button { padding: 8px 15px; font-size: 12px; }
	
	section#ami-contact-us h1, #contact-us-wrapper h1 { margin-bottom: 20px; }

   .services-page-img img { min-height: 370px; max-height: 370px; }
   
	#other-services { padding: 0 }
   .other-services-content { min-height: 250px; margin-bottom: 20px;}
   .other-services-content .desc-wrapper { bottom: -120%; }
   .other-services-content:hover .desc-wrapper { transform: translateY(-40%); }
	.other-services-content .desc-wrapper p { font-size: 12px; padding: 10px; max-height: 230px; overflow: hidden; }
	.other-services-content .desc-wrapper h2 { height: 55px; font-size: 15px; }
	.other-services-content .image-wrapper, .other-services-content img { height: 230px; }
   .contactus-ami input, .contactus-ami textarea { font-size: 12px; padding: 15px; }
   .contactus-ami .form-group button { font-size: 14px; padding: 5px 20px; }

   .mission-tiles, .mission-wrapper .image-wrapper img { min-height: 400px; max-height: 400px; }

   .services-tiles.t-center p { max-height: 50px; font-size: 12px; }

	h3.services-title { font-size: 15px; }

	.ready-link-wrapper button, .services-page-desc p { font-size: 12px; }

	h1.header-ready { font-size: 3rem; }

	.benefits-page-img img { width: 100%; }

	.services { height: 370px; min-height: 370px; }
	

}
@media only screen  and (min-width : 2000px) {
	.container { width: 1900px; }
	.mission-wrapper .image-wrapper img { width: 100%; max-width: initial; min-width: initial; }

	.mission-tiles, .mission-wrapper, .mission-wrapper .image-wrapper img { min-height: 800px; max-height: 800px;  }

	#ami-story { background-size: 100%; }
}
