/*

DEVICE SPECIFIC CSS (really mainly for the ipad but I've included others if needed...)
*/

/* iPads (portrait and landscape) ----------- */
@media only screen 
and (min-device-width : 768px) 
and (max-device-width : 1024px) {
/* Styles */
.with-caption iframe { z-index: 10 !Important; visibility:visible !important;}
.with-caption .the-caption { display:none !important; }

body.page-template-template-photos-and-videos .modal-lg { width: 100%; }
	body.page-template-template-photos-and-videos .carousel-control { height:37px !important; top: 0 !Important; }
	.modal .item { height:auto !important; }
body.page-template-template-photos-and-videos .carousel iframe { height: auto; min-height:450px; }
	body.page-template-template-photos-and-videos .carousel-control .sr-only { padding-top: 0; }
	.carousel { padding-top: 35px; }
	
	.modal-content { padding-left:20px; padding-right:20px; }
	.modal-header,
	.modal-body { padding-left:0  !important; padding-right:0 !important; padding-bottom:0 !important; }

}

/* iPads (landscape) ----------- */
@media only screen 
and (min-device-width : 768px) 
and (max-device-width : 1024px) 
and (orientation : landscape) {
/* Styles */
}

/* iPads (portrait) ----------- */
@media only screen 
and (min-device-width : 768px) 
and (max-device-width : 1024px) 
and (orientation : portrait) {
/* Styles */
}

/* Desktops and laptops ----------- */
@media only screen 
and (min-width : 1224px) {
/* Styles */
}

/* Large screens ----------- */
@media only screen 
and (min-width : 1824px) {
/* Styles */
}

/* Smartphones (portrait and landscape) ----------- */
@media only screen 
and (min-device-width : 320px) 
and (max-device-width : 480px) {
/* Styles */
}

/* Smartphones (landscape) ----------- */
@media only screen 
and (min-width : 321px) {
/* Styles */
}

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

/* iPhone 4 ----------- */
@media
only screen and (-webkit-min-device-pixel-ratio : 1.5),
only screen and (min-device-pixel-ratio : 1.5) {
/* Styles */
}

/* iPhone 5 ----------- */
@media only screen and (min-device-width: 560px) and (max-device-width: 1136px) and (-webkit-min-device-pixel-ratio: 2) {
/* Styles */
}

/* iPhone 6 ----------- */
@media  only screen 
    and (max-device-width: 640px), 
    only screen and (max-device-width: 667px), 
    only screen and (max-width: 480px) { 
/* Styles */
}