
/* Desktops and laptops ----------- */
@media only screen  and (min-width : 1000px) {
/* Styles */
.boxes_banners .box_banner .banner_photo img{max-height:500px }
}
@media (min-width: 100px) and (max-width: 700px) {
.boxes_banners .box_banner .banner_photo img{max-height:500px}  
}
/* Large screens ----------- */
@media only screen  and (min-width : 1824px) {
/* Styles */
.boxes_banners .box_banner .banner_photo img{max-height:500px}

}

@media only screen and (orientation : landscape) and (-webkit-device-pixel-ratio : 3){
.boxes_banners .box_banner .banner_photo{width:60%;}
.boxes_banners .box_banner .banner_photo img{max-height:300px}
.boxes_banners .box_banner div.content {}
.boxes_banners .box_banner div.content .title{font-size:18px;}
}
@media only screen and (orientation : portrait) and (-webkit-device-pixel-ratio : 3){
.boxes_banners .box_banner .banner_photo{width:100%;}
.boxes_banners .box_banner .banner_photo img{position:relative;width:100%;max-height:auto;}
.boxes_banners .box_banner div.content {position:relative;float:left;display:block;width:100%;left:auto;top:0}
}
@media only screen and (orientation : landscape) and (-webkit-device-pixel-ratio : 2){
.boxes_banners .box_banner .banner_photo{width:60%;}
.boxes_banners .box_banner .banner_photo img{max-height:300px}
.boxes_banners .box_banner div.content {}
.boxes_banners .box_banner div.content .title{font-size:18px;}
}
@media only screen and (orientation : portrait) and (-webkit-device-pixel-ratio : 2){
.boxes_banners .box_banner .banner_photo{width:100%;}
.boxes_banners .box_banner .banner_photo img{position:relative;width:100%;max-height:auto !important;}
.boxes_banners .box_banner div.content {position:relative;float:left;display:block;width:100%;left:auto;top:0}
}



/* iPads (landscape) ----------- */
@media only screen and (min-device-width : 768px) and (max-device-width : 1024px) and (orientation : landscape) {
/* Styles */
.boxes_banners .box_banner .banner_photo img{position:relative;width:100%;height:auto;max-height:none !important;}

}
/* iPads (portrait) ----------- */
@media only screen and (min-device-width : 768px) and (max-device-width : 1024px) and (orientation : portrait) {
/* Styles */ 
.boxes_banners .box_banner .banner_photo img{position:relative;max-width:100%;width:auto;max-height:500px !important;}
}
/* Desktops and laptops ----------- */
@media only screen  and (min-width : 1000px) {
/* Styles */
.boxes_banners .box_banner .banner_photo img{max-height:500px ;}
.boxes_banners .box_banner div.content .title {font-size:22px;}

}
@media (min-width: 100px) and (max-width: 700px) {
.boxes_banners .box_banner .banner_photo img{max-height:500px;}  
}
/* Large screens ----------- */
@media only screen  and (min-width : 1824px) {
/* Styles */
.boxes_banners .box_banner .banner_photo img{max-height:500px;}

}
