/* ======== Screen localisation ==============*/

/*Hero background*/
.image-overview-hero
{
	background-image: url("https://images.apple.com/th/ios/home/images/hero_large.jpg");
}

@media only screen and (-webkit-min-device-pixel-ratio: 1.5), only screen and (min-resolution: 1.5dppx), (-webkit-min-device-pixel-ratio: 1.5), (min-resolution: 144dpi)
{
	.image-overview-hero { background-image: url("https://images.apple.com/th/ios/home/images/hero_large_2x.jpg"); }
}

@media only screen and (max-width: 1068px)
{
	.image-overview-hero
	{
		background-image: url("https://images.apple.com/th/ios/home/images/hero_medium.jpg");
	}
}

@media only screen and (max-width: 1068px) and (-webkit-min-device-pixel-ratio: 1.5), only screen and (max-width: 1068px) and (min-resolution: 1.5dppx), only screen and (max-width: 1068px) and (min-resolution: 144dpi)
{
	.image-overview-hero { background-image: url("https://images.apple.com/th/ios/home/images/hero_medium_2x.jpg"); }
}

@media only screen and (max-width: 735px)
{
	.image-overview-hero
	{
		background-image: url("https://images.apple.com/th/ios/home/images/hero_small.jpg");
	}
}

@media only screen and (max-width: 735px) and (-webkit-min-device-pixel-ratio: 1.5), only screen and (max-width: 735px) and (min-resolution: 1.5dppx), only screen and (max-width: 735px) and (min-resolution: 144dpi)
{
	.image-overview-hero { background-image: url("https://images.apple.com/th/ios/home/images/hero_small_2x.jpg"); }
}
/* end hero background */

/*hero lockup*/
.image-overview-hero-lockup
{
	background-image: url("https://images.apple.com/th/ios/home/images/hero_lockup_large.png");
}

@media only screen and (-webkit-min-device-pixel-ratio: 1.5), only screen and (min-resolution: 1.5dppx), (-webkit-min-device-pixel-ratio: 1.5), (min-resolution: 144dpi)
{
	.image-overview-hero-lockup { background-image: url("https://images.apple.com/th/ios/home/images/hero_lockup_large_2x.png"); }
}

@media only screen and (max-width: 1068px)
{
	.image-overview-hero-lockup
	{
		background-image: url("https://images.apple.com/th/ios/home/images/hero_lockup_medium.png");
	}
}

@media only screen and (max-width: 1068px) and (-webkit-min-device-pixel-ratio: 1.5), only screen and (max-width: 1068px) and (min-resolution: 1.5dppx), only screen and (max-width: 1068px) and (min-resolution: 144dpi)
{
	.image-overview-hero-lockup { background-image: url("https://images.apple.com/th/ios/home/images/hero_lockup_medium_2x.png"); }
}

@media only screen and (max-width: 735px)
{
	.image-overview-hero-lockup
	{
		background-image: url("https://images.apple.com/th/ios/home/images/hero_lockup_small.png");
	}
}

@media only screen and (max-width: 735px) and (-webkit-min-device-pixel-ratio: 1.5), only screen and (max-width: 735px) and (min-resolution: 1.5dppx), only screen and (max-width: 735px) and (min-resolution: 144dpi)
{
	.image-overview-hero-lockup { background-image: url("https://images.apple.com/th/ios/home/images/hero_lockup_small_2x.png"); }
}

/* end hero lockup */

/* room */
.image-overview-rooms
{
	background-image: url("https://images.apple.com/th/ios/home/images/rooms_large.jpg");
}

@media only screen and (-webkit-min-device-pixel-ratio: 1.5), only screen and (min-resolution: 1.5dppx), (-webkit-min-device-pixel-ratio: 1.5), (min-resolution: 144dpi)
{
	.image-overview-rooms { background-image: url("https://images.apple.com/th/ios/home/images/rooms_large_2x.jpg"); }
}

@media only screen and (max-width: 1068px)
{
	.image-overview-rooms
	{
		background-image: url("https://images.apple.com/th/ios/home/images/rooms_medium.jpg");
	}
}

@media only screen and (max-width: 1068px) and (-webkit-min-device-pixel-ratio: 1.5), only screen and (max-width: 1068px) and (min-resolution: 1.5dppx), only screen and (max-width: 1068px) and (min-resolution: 144dpi)
{
	.image-overview-rooms { background-image: url("https://images.apple.com/th/ios/home/images/rooms_medium_2x.jpg"); }
}

@media only screen and (max-width: 735px)
{
	.image-overview-rooms
	{
		background-image: url("https://images.apple.com/th/ios/home/images/rooms_small.jpg");
	}
}

@media only screen and (max-width: 735px) and (-webkit-min-device-pixel-ratio: 1.5), only screen and (max-width: 735px) and (min-resolution: 1.5dppx), only screen and (max-width: 735px) and (min-resolution: 144dpi)
{
	.image-overview-rooms { background-image: url("https://images.apple.com/th/ios/home/images/rooms_small_2x.jpg"); }
}

/* end room */


/* scene */
.image-overview-scenes
{
	background-image: url("https://images.apple.com/th/ios/home/images/scenes_large.png");
}

@media only screen and (-webkit-min-device-pixel-ratio: 1.5), only screen and (min-resolution: 1.5dppx), (-webkit-min-device-pixel-ratio: 1.5), (min-resolution: 144dpi)
{
	.image-overview-scenes { background-image: url("https://images.apple.com/th/ios/home/images/scenes_large_2x.png"); }
}

@media only screen and (max-width: 1068px)
{
	.image-overview-scenes
	{
		background-image: url("https://images.apple.com/th/ios/home/images/scenes_medium.png");
	}
}

@media only screen and (max-width: 1068px) and (-webkit-min-device-pixel-ratio: 1.5), only screen and (max-width: 1068px) and (min-resolution: 1.5dppx), only screen and (max-width: 1068px) and (min-resolution: 144dpi)
{
	.image-overview-scenes { background-image: url("https://images.apple.com/th/ios/home/images/scenes_medium_2x.png"); }
}

@media only screen and (max-width: 735px)
{
	.image-overview-scenes
	{
		background-image: url("https://images.apple.com/th/ios/home/images/scenes_small.png");
	}
}

@media only screen and (max-width: 735px) and (-webkit-min-device-pixel-ratio: 1.5), only screen and (max-width: 735px) and (min-resolution: 1.5dppx), only screen and (max-width: 735px) and (min-resolution: 144dpi)
{
	.image-overview-scenes { background-image: url("https://images.apple.com/th/ios/home/images/scenes_small_2x.png"); }
}
/* end scene */



/* ======== END Screen localisation ==============*/




/* ========Local fixed ===============*/
.page-overview .section-hero .heroimage-container {
    position: absolute;
    left: 50%;
    margin-left: -720px
}

@media (prefers-reduced-motion) {
    .page-overview .section-hero .heroimage-container {
        display: none
    }
}

@media only screen and (max-width: 1068px) {
    .page-overview .section-hero .heroimage-container {
        margin-left: -534px
    }
}

@media only screen and (max-width: 735px) {
    .page-overview .section-hero .heroimage-container {
        margin-left: -368px
    }
}


/* Firefox fixed SF Pro TH font */
@-moz-document url-prefix() {

.typography-hero-headline,
.typography-intro,
.typography-section-headline,
.typography-subsection-headline,
#ac-globalfooter .ac-gf-buystrip-info-title, 
#ac-globalfooter .ac-gf-sosumi p, 
#ac-globalfooter .ac-gf-sosumi li, 
#ac-globalfooter .ac-gf-directory-column-section-title,
.typography-shopstrip-headline,.typography-intro{
	letter-spacing: 0em;
	}
}

/* Reduced font size by 10%*/

@media only screen and (min-width: 1069px) {
    .typography-hero-headline{
    	font-size: 43px;
    }
    
    .typography-section-headline{
    	font-size: 36px;
    }
    
    .typography-subsection-headline{
    	font-size: 29px;
    }
}


@media only screen and (max-width: 1068px) {
   .typography-hero-headline{
    	font-size: 36px;
    }
    
    .typography-section-headline{
    	font-size: 31px;
    }
    
    .typography-subsection-headline{
    	font-size: 25px;
    }
}


@media only screen and (max-width: 735px) {
   .typography-hero-headline{
    	font-size: 28px;
    }
    
	.typography-section-headline{
    	font-size: 25px;
    }
    
    .typography-subsection-headline{
    	font-size: 22px;
    }
}

