/*==================================RESPONSIVE LAYOUTS===============================================*/

@media only screen and (min-width: 1600px){

	.container {
		max-width: 1590px;
	}

}

@media only screen and (max-width: 1480px){

	.owl-nav {
		z-index: 2;
	}

	.owl-nav .owl-prev {
		left: 5px;
	}

	.owl-nav .owl-next {
		right: 5px;
	}

	.mad-entities.owl-carousel .owl-nav > button {
		opacity: 1;
		color: #000!important;
	}

	.mad-section.mad-section--stretched .mad-testimonials {
		margin-bottom: -3.5rem;
	}

	.mad-section.mad-section-pt-small {
		padding-top: 5.625rem;
	}

	.media-holder .box-shadow {
		margin-bottom: 0;
	}

	.mad-section.mad-section-pt-big {
		padding-top: 8.3125rem;
	}

	.mad-header-section {
		padding: 1.75rem 0.9375rem;
	}

	.mad-footer::after {
     	left: -140px;
	}

	.mad-filter {
		display: block;
		width: 180px;
		margin: 0 auto;
		text-align: center;
	}

	.mad-filter > *:not(:first-child) {
		opacity: 0;
		visibility: hidden;
		height: 0;
		padding-top: 0;

		transition: all .5s ease;
	}

	.mad-filter.toggle > *:not(:first-child) {
		opacity: 1;
		visibility: visible;
		height: auto;
		margin-top: 7px;
	}

	#mad-filter-toggle.toggle-icon {
		display: inline-block;
	}

}

@media only screen and (min-width: 1200px){

	.container.size-2 {
		max-width: 1280px;
	}

}

@media only screen and (max-width: 1280px){

	.mad-header-section {
		justify-content: center;
		text-align: center;
	}

	.mad-header-section > *:not(:last-child) {
		margin-bottom: 1.75rem;
	}

	.media-holder .media-content {
		padding-bottom: 0;
		padding-top: 0;
	}

	.mad-testimonials .owl-carousel:not([class*="mad-grid--cols"]) {
		padding-right: 7rem;
	}

	.media-holder {
		padding: 3.5rem 0;
	}

	.media-holder .media-content {
		padding-right: 0;
	}

	.mad-footer::after {
		bottom: -130px;
    	left: -160px;
	}

	.mad-widget:not(:last-child) {
		margin-bottom: 28px;
	}

}

@media only screen and (max-width: 1199px){

	.mad-counters.item-col-4 > *,
	.mad-grid--isotope.item-col-4 > * {
		width: 50%;
	}

	.mad-section.mad-section-pt-small {
		padding-top: 90px;
	}

	.mad-widget.copyright {
		color: #cccfd2;
	}

}

@media only screen and (max-width: 1024px){

	

}

@media only screen and (max-width: 992px){

	/* tables change*/

	.mad-table--responsive-md {
		border-top-width: 0;
	}
	.mad-table--responsive-md thead {
		display: none;
	}
	.mad-table--responsive-md th, .mad-table--responsive-md td {
		display: block;
	}
	.mad-table--responsive-md tbody tr:first-child td:first-child {
		border-top-width: 1px;
	}
	.mad-table--responsive-md th:empty, .mad-table--responsive-md td:empty {
		display: none;
	}
	.mad-table--responsive-md th[data-cell-title],
	.mad-table--responsive-md td[data-cell-title] {
		position: relative;
		overflow: hidden;
		padding-left: 55%;
	}
	.mad-table--responsive-md th[data-cell-title]::before,
	.mad-table--responsive-md td[data-cell-title]::before {
		content: attr(data-cell-title);
		position: absolute;
		width: 50%;
		padding-top: inherit;
		padding-right: inherit;
		padding-bottom: inherit;
		padding-left: 1.5625rem;
		display: block;
		overflow: hidden;
		text-overflow: ellipsis;
		white-space: nowrap;
		top: 0;
		left: 0;
		-webkit-box-sizing: border-box;
		-moz-box-sizing: border-box;
				box-sizing: border-box;
	}
	.mad-table--responsive-md th[data-cell-title]::after,
	.mad-table--responsive-md td[data-cell-title]::after {
		content: "";
		display: block;
		position: absolute;
		left: 50%;
		top: 0;
		height: 100%;
		border-width: 0 1px 0 0;
		border-style: inherit;
		border-color: inherit;
	}
	.mad-table--responsive-md > tr:last-child,
	.mad-table--responsive-md > thead:last-child > tr:last-child,
	.mad-table--responsive-md > tbody:last-child > tr:last-child,
	.mad-table--responsive-md > tfoot:last-child > tr:last-child {
		border-bottom-width: 0;
	}
	.mad-d-down-md-none {
		display: none;
	}

	/* Responsive table End */

	.mad-icon-boxes.item-col-4 > * {
		width: 50%;
	}

	.mad-img-testimonials {
		margin-bottom: 0;
	}

	.mad-testimonials .owl-carousel:not([class*="mad-grid--cols"]) {
		padding-right: 0;
	}

	.mad-testimonials .owl-carousel:not([class*="mad-grid--cols"]) .owl-nav {
		right: auto;
		left: 0;
		top: 95%;
		width: 100%;
		justify-content: center;
		margin-top: 0;
	}

	.mad-banner {
		display: block;
		text-align: center;
	}

	.mad-banner-title:not(:last-child) {
		margin-bottom: 0.875rem;
	}

}

@media (min-width: 992px){

	.icons-box[class*="item-col-"].style-2:not(.no-gutters){
    	margin-top: 0;
  	}

  	.icons-box[class*="item-col-"].style-2:not(.no-gutters) > *{
 		padding-top: 0;
  	}

}

@media (max-width:769px){

	.media-holder .mad-media-title {
		font-size: 40px;
	}

	.mad-section.mad-section--stretched .mad-testimonials .mad-testimonial {
		margin-top: 0;
		margin-left: 0;
	}

}

@media only screen and (max-width:480px){
	
	.mad-icon-boxes.item-col-4 > *,
	.mad-counters.item-col-4 > *,
	.mad-grid--isotope.item-col-4 > * {
		width: 100%;
	}

}