@font-face {
    font-family: 'IBM Plex Sans Thai Looped';
    src: url('../webfonts/ibmplexsansthailooped-regular-webfont.woff2') format('woff2'),
         url('../webfonts/ibmplexsansthailooped-regular-webfont.woff') format('woff');
    font-weight: normal;
    font-style: normal;

}

/*---Reset---*/

* {
	margin: 0;
	padding: 0;
	border: 0;
	font-size: 100%;
	vertical-align: baseline;
	outline: none;
	font-size-adjust: none;
	-webkit-text-size-adjust: none;
	-moz-text-size-adjust: none;
	-ms-text-size-adjust: none;
	-webkit-tap-highlight-color: rgba(0,0,0,0);
}

*:focus {
	outline: none;
}

*,*:after,*:before {	
    -webkit-box-sizing: border-box;	
    -moz-box-sizing: border-box;	
    box-sizing: border-box;	
    padding: 0;	
    margin: 0;
}

*::-webkit-scrollbar{  
    display: none;
}

body {
	margin: 0px;
	padding: 0px;
	font-family: 'IBM Plex Sans Thai Looped', sans-serif;
	overflow-x:hidden;
	background-color: #ccc;
	-webkit-user-select: none;
	-moz-user-select: none;
	cursor: default;
}

body::-webkit-scrollbar { 
    display: none; 
}

a{
	text-decoration:none;
}

.hidden{
	display: none;
}

/*---Preloader---*/

.loader{
	position:fixed;
	width:100%;
	height:100%;
	top:0;
	bottom:0;
	left:0;
	right:0;
	background:#fff;
	overflow:hidden;
	z-index:99;
}

.loader .loader-spinner{
    position:absolute;
    height:40px;
    width:40px;
    left:50%;
    top:46%;
    margin-left:-20px;
    margin-top:-20px;
    background-image:url(../images/loader.gif);
	background-size:cover;
    background-repeat:no-repeat;
    background-position:center center;
}

/*---Header Navi Desktop---*/

header .navi-desktop{
    overflow: visible!important;
    position: fixed;
    top: 20px;
    right: 10px;
	left: auto;
    z-index: 11;
}

header .navi-desktop .item{
    display: inline-block;
    font-size: 18px; 
    text-transform: uppercase;
    color: #503216;
    padding: 15px 8px 10px 8px;
    font-weight: 400;
}

header .navi-desktop .item:hover{
    color: #000;
    transition: all 200ms ease;
}

@media(max-width:1199px){
	header .navi-desktop{
		top: 12px;
	}
	header .navi-desktop .item{
		font-size: 15px; 
		padding: 15px 6px 10px 6px;
	}
}

/*---Header Navi Mobile---*/

header .navi-btn{
	position: fixed;
	top: 20px;
	right: 15px;
	width: 40px;
	height: 40px;
	text-align: center;
	z-index: 999;
}

header .navi-btn i{
	font-size: 20px;
    color: #5e3f20;
	margin: 10px;
	cursor: pointer;
}

header .navi-overlay{
	position: fixed;
	width: 100%;
	height: 100%;
	background-color: #423e32;
	-moz-transform: translateX(0px) translateY(-1500px);
    -webkit-transform: translateX(0px) translateY(-1500px);
    -o-transform: translateX(0px) translateY(-1500px);
    -ms-transform: translateX(0px) translateY(-1500px);
    transform: translateX(0px) translateY(-1500px);
    transition: all 500ms ease;
	overflow: hidden;
	z-index: 998;
}

header .navi-overlay-active{
	-moz-transform: translateX(0px) translateY(0px);
    -webkit-transform: translateX(0px) translateY(0px);
    -o-transform: translateX(0px) translateY(0px);
    -ms-transform: translateX(0px) translateY(0px);
    transform: translateX(0px) translateY(0px);
    transition: all 500ms ease;
}

header .navi-close i{
    color: #eee;
}

header .navi-mobile{
	position: relative;
	top: 25%;
	margin-left: auto;
	margin-right: auto;
}

header .navi-mobile .item{
	display: block;
	font-size: 28px;
    color: #eee;
	line-height: 60px;
	text-align: center;
	text-transform: uppercase;
	text-decoration: none;
}

/*---Header Tablet---*/

@media(max-width:967px){
	header .navi-mobile .item{
		font-size: 24px;
		line-height: 50px;
	}
}

/*---Header Sticky---*/

header .header-sticky-funerals{
	display: none;
    overflow: visible!important;
    position: fixed;
	background-color: #fff;
	top: 0px;
	right: 0px;
	height: 100px;
    width: 100%;
    z-index: 9;
	animation:fadeIn1 0.5s linear both;
	box-shadow:0 1px 2px 0 rgba(0, 0, 0, 0.2);
}

@media(max-width:1199px){
	header .header-sticky-funerals{
		height: 80px;
	}
}

/*---Background---*/

.fullscreen-background{
    position: fixed;
    top: 0;
    right: 0;
    bottom: 0;
    left: 0;
    overflow: hidden;
    z-index: -100;
	background-image: url("../images/funerals.webp");
	background-repeat: no-repeat;
	background-position: center, bottom;
	background-size: cover;
}

/*---Content---*/

.cover-screen{
	position: absolute;
    top: 0;
    left: 0;
	width: 100%;
	height: auto;
}

.cover-screen .rose{
	position: absolute;
	margin-top: 100px;
	margin-left: 100px;
}

@media(max-width:967px){
	.cover-screen .rose{
		margin-top: 50px;
		margin-left: 50%;
	}
}

.cover-screen .rose img{
	max-width: 358px;
}

@media(max-width:1199px){
	.cover-screen .rose img{
		max-width: 320px;
	}
}

@media(max-width:1099px){
	.cover-screen .rose img{
		max-width: 300px;
	}
}

@media(max-width:967px){
	.cover-screen .rose img{
		max-width: 280px;
		margin-left: -140px;
	}
}

@media(max-width:479px){
	.cover-screen .rose img{
		max-width: 240px;
		margin-left: -120px;
	}
}
.cover-screen .banner{
	margin-top: 200px;
	margin-right: 100px;
	text-align: right;
}

@media(max-width:1199px){
	.cover-screen .banner{
		margin-right: 120px;
	}
}

@media(max-width:1099px){
	.cover-screen .banner{
		margin-right: 60px;
	}
}

@media(max-width:967px){
	.cover-screen .banner{
		margin-top: 360px;
		margin-left: auto;
		margin-right: auto;
		text-align: center;
		padding-left: 40px;
		padding-right: 40px;
	}
}

@media(max-width:479px){
	.cover-screen .banner{
		margin-top: 320px;
	}
}

.cover-screen .banner h1{
	font-size: 60px;
	colo: #423f30;
	text-transform: uppercase;
	line-height: 36px;
	letter-spacing: 10px;
	margin-bottom: 0px;
}

@media(max-width:1199px){
	.cover-screen .banner h1{
		font-size: 48px;
	}
}

@media(max-width:1099px){
	.cover-screen .banner h1{
		font-size: 42px;
	}
}

@media(max-width:967px){
	.cover-screen .banner h1{
		line-height: 32px;
		margin: 0px;
	}
}

@media(max-width:479px){
	.cover-screen .banner h1{
		font-size: 36px;
		line-height: 28px;
		letter-spacing: 3px;
	}
}

.cover-screen .banner h2{
	color: #735414;
	font-size: 24px;
	font-style: italic;
	text-transform: uppercase;
	letter-spacing: 6px;
	margin-top: 0px;
	margin-right: 190px;
}

@media(max-width:1199px){
	.cover-screen .banner h2{
		margin-right: 150px;
	}
}

@media(max-width:1099px){
	.cover-screen .banner h2{
		margin-right: 130px;
	}
}

@media(max-width:967px){
	.cover-screen .banner h2{
		margin: 0px;
	}
}

@media(max-width:479px){
	.cover-screen .banner h2{
		font-size: 20px;
		letter-spacing: 1px;
	}
}

.cover-screen .txt{
	text-align: center;
	margin-top: 80px;
	margin-left: 200px;
	padding-left: 20px;
	padding-right: 20px;
}

@media(max-width:1099px){
	.cover-screen .txt{
		margin-top: 120px;
		margin-left: auto;
		margin-right: auto;
	}
}

@media(max-width:967px){
	.cover-screen .txt{
		margin-top: 60px;
	}
}

@media(max-width:479px){
	.cover-screen .txt{
		margin-top: 20px;
		padding-left: 10px;
		padding-right: 10px;
	}
}

.cover-screen .txt h1{
	font-size: 30px;
	font-style: italic;
	font-weight: 800;
	colo: #302804;
	line-height: 48px;
	margin-bottom: 0px;
}

@media(max-width:1199px){
	.cover-screen .txt h1{
    	font-size: 28px;
	}
}

@media(max-width:1099px){
	.cover-screen .txt h1{
    	font-size: 26px;
	}
}

@media(max-width:967px){
	.cover-screen .txt h1{
    	font-size: 24px;
	}
}

@media(max-width:479px){
	.cover-screen .txt h1{
    	font-size: 20px;
	}
}

.cover-screen .txt h2{
	color: #826e1b;
	font-size: 24px;
	text-transform: uppercase;
	letter-spacing: -1px;
	font-weight: 100;
	line-height: 40px;
}

@media(max-width:1099px){
	.cover-screen .txt h2{
    	font-size: 22px;
	}
}

@media(max-width:967px){
	.cover-screen .txt h2{
    	font-size: 20px;
	}
}

@media(max-width:479px){
	.cover-screen .txt h2{
    	font-size: 18px;
		line-height: 30px;
	}
}

/*---Footer---*/

.footer{
	margin-top: 150px;
	color: #fff;
	text-transform: uppercase;
	letter-spacing: -1px;
	text-align: center;
    margin-left: auto;
    margin-right: auto;
}

@media(max-width:967px){
	.footer{
		margin-top: 100px;
	}
}

.footer h1{
    font-size: 26px;
	background-color: #423e32;
	padding: 15px 30px 15px 30px;
}

@media(max-width:1199px){
	.footer h1{
    	font-size: 24px;
	}
}

@media(max-width:1099px){
	.footer h1{
    	font-size: 22px;
	}
}

@media(max-width:967px){
	.footer h1{
    	font-size: 20px;
	}
}

@media(max-width:479px){
	.footer h1{
    	font-size: 16px;
	}
}

.footer h2{
    font-size: 22px;
	font-weight: 200;
	color: #fff;
	text-shadow: #000 0.1em 0.1em 0.2em;
	padding: 15px 30px 15px 30px;
}

@media(max-width:1199px){
	.footer h2{
    	font-size: 20px;
	}
}

@media(max-width:1099px){
	.footer h2{
    	font-size: 18px;
	}
}

@media(max-width:967px){
	.footer h2{
    	font-size: 16px;
	}
}

@media(max-width:479px){
	.footer h2{
    	font-size: 15px;
	}
}

.footer a{
	color: #fff;
	text-shadow: #000 0.1em 0.1em 0.2em;
}

.footer a:hover{
	color:#eee;
}

/*---Mobile Responsive---*/

.hide-if-mobile{
    display: none!important;
}

.hide-if-desktop{
    display: none!important;
}

@media(max-width:967px){
    .hide-if-desktop{
        display: block!important;
   }
}

@media(min-width:968px){
    .hide-if-mobile{
        display: block!important;   
   }
}