.mihdan-gallery-item img {

	-o-object-fit: cover;
	object-fit: cover;
	max-width: none;
	display: table-cell;
    vertical-align: middle;
}
/* Media Queries
-------------------------------------------------------------- */
	
/* Mobile Portrait Size телефон 	
	@media screen and (min-width: 1279px) and (max-width: 1471px)  and (orientation: landscape){
		.mihdan-gallery-item img {
			width: 750px;
			height: 680px !important;

		}
	}	
	@media screen and (min-width: 1024px) and (max-width: 1278px)  and (orientation: landscape){
		.mihdan-gallery-item img {
			width: 680px;
			height: 600px !important;

		}
	}
	
	@media screen and (min-width: 600px) and (max-width: 1023px)  and (orientation: landscape){
		.mihdan-gallery-item img {
			width: 600px;
			height: 550px !important;

		}
	}
	
	@media screen  and (max-width: 599px)  and (orientation: landscape){
		.mihdan-gallery-item img {
			width: 350px;
			height: 300px !important;

		}
	}
/* Mobile Portrait Size телефон 				
	@media only screen and (min-width: 1930px)  and (orientation: portrait)){
		.mihdan-gallery-item img {
			width: 900px;
			height: 900px !important;

		}
	}
	@media only screen and (max-width: 1399px)  and (orientation: portrait){
		.mihdan-gallery-item img {
			width: 900px;
			height: 900px !important;

		}
	}
	/* Smaller than standard 1200 
	@media only screen and (max-width: 1199px)  and (orientation: portrait) {
		.mihdan-gallery-item img {
			width: 900px;
			height: 900px !important;

		}
	}
	/* Center menu vertically 
	@media screen and (max-width: 1025px)  and (orientation: portrait){
		.mihdan-gallery-item img {
			width: 900px;
			height: 900px !important;

		}
	}
	/* Smaller than standard 980 
	@media only screen and (max-width: 991px)  and (orientation: portrait) {
		.mihdan-gallery-item img {
			width: 800px;
			height: 800px !important;
		}  				
	}

	@media only screen and (max-width: 780px)  and (orientation: portrait) {
		.mihdan-gallery-item img {
			width: 770px;
			height: 770px !important;
		}
	}
	/* All Mobile Sizes 
	@media only screen and (max-width: 767px)  and (orientation: portrait){
		.mihdan-gallery-item img {
			width: 600px;
			height: 600px !important;
		}
	}
	@media only screen and (max-width: 600px)  and (orientation: portrait) {
		.mihdan-gallery-item img {
			width: 480px;
			height: 480px !important;
		}
	}

	/* Mobile Portrait Size 
	@media only screen and (max-width: 479px)  and (orientation: portrait) {
		.mihdan-gallery-item img {
			width: 330px;
			height: 330px !important;
		}
	}
	@media only screen and (max-width: 320px)  and (orientation: portrait) {
		.mihdan-gallery-item img {
			width: 320px;
			height: 320px !important;
		}
	}
/*-----------------------------------------	
/*-----------------------------------------	
iPad pro 1366x1024
--------------------------------------------------------------*/	

@media  only screen and (orientation: landscape) and (max-width: 1367px)  and (min-width: 1365px)  and (min-height: 1020px)   and (max-height: 1025px) {
	
		.mihdan-gallery-item img {
			width: 900px;
			height: 900px !important;

		
	}
}

@media  only screen and (orientation: portrait) and (max-height: 1367px)  and (min-height: 1365px)  and (min-width: 1020px)   and (max-width: 1025px) {
	
		.mihdan-gallery-item img {
			width: 900px;
			height: 900px !important;

		
	}
}