* {
	margin: 0;
	-webkit-transition: all 0.2s;
	-o-transition: all 0.2s;
	transition: all 0.2s;
	-webkit-transition-timing-function: ease-in-out;
	     -o-transition-timing-function: ease-in-out;
	        transition-timing-function: ease-in-out;
}
html, body{
	margin: 0;
	height: 100%;
}
body { 
}
.container{
	width: 100%;
	height: 100%;
	position: fixed;
	background-image: url(../img/background.jpg);
	background-position: 50% 100%;
	background-repeat:  no-repeat;
	background-attachment: fixed;
	background-size:  cover;
	background-color: #341e14;
	overflow: auto;
	z-index: 0;
}
.wrapper {
	width: 100%;
	text-align: center;
    -webkit-transform-origin: top center;
        -ms-transform-origin: top center;
            transform-origin: top center;
	padding: 40px 0;
	-webkit-transition: no;
	-o-transition: no;
	transition: no;
	z-index: 999;
}
h1 {
	font-family: 'Great Vibes',cursive;
    font-size: 98px;
	font-weight: normal;
	line-height: 70px;
	color: #eee2b2;
	padding-bottom: 47px;
	padding-top: 25px;
	padding-left: 20px;
	padding-right: 20px;
	margin: 0 auto 50px auto;
	position: relative;
}
h1:before{
	content: '';
	background: url(../img/chaiyo.png) no-repeat center bottom;
	display: block;
	height: 100%;
	position: absolute;
	bottom: 0;
	left: 0;
	width: 100%;
	z-index: -1;
}
h2 {
	font-family: 'Muli',sans-serif;
    font-size: 28px;
	font-weight: bold;
	line-height: 30px;
	color: #fff;
	text-transform: uppercase;
	margin: 0 auto 52px auto;
	/*letter-spacing: 1px;*/
	
	width:5px;
    display:table;
    white-space: pre-wrap; /* css-3 */
    white-space: -moz-pre-wrap; /* Mozilla, since 1999 */
    white-space: -pre-wrap; /* Opera 4-6 */
    white-space: -o-pre-wrap; /* Opera 7 */
    word-wrap: break-word; /* Internet Explorer 5.5+ */
	
	transform: scale(1, 0.98);
	-webkit-transform: scale(1, 0.98); /* Safari and Chrome */
	-moz-transform: scale(1, 0.98); /* Firefox */
	-ms-transform: scale(1, 0.98); /* IE 9+ */
	-o-transform: scale(1, 0.98); /* Opera */

	background: transparent url('../img/floral.png') no-repeat center bottom;
	padding-bottom: 25px;	
}

a.city-link {
	display: inline-block;
	margin: 0 7px 34px 7px;
	width: 192px;
	height: 192px;
	padding: 6px 6px 0 6px;
	text-decoration: none;
	position: relative;
}

a.city-link:hover h3 {
	background-color: rgb(123, 24, 20);
    -webkit-box-shadow: 0 0 0 2px #fff inset, 0 0 0 6px rgb(123, 24, 20);
    box-shadow: 0 0 0 2px #fff inset, 0 0 0 6px rgb(123, 24, 20);
}


h3 {
	background-color: rgba(158,36,31,1);
    text-align: center;
    border-radius: 50%;
    -webkit-box-shadow: 0 0 0 2px #fff inset, 0 0 0 6px #9e241f;
    box-shadow: 0 0 0 2px #fff inset, 0 0 0 6px #9e241f;
	height: 100%;
	width: 100%;
	margin: 0;
	display: table;
}

h3 .city-container {
	display: table-cell;
	vertical-align: middle;
}

h3 .city,
h3 .subcity {
	font-family: 'Muli',sans-serif;
	font-weight: 400;
	line-height: 24px;
}

h3 .city {
	color: #fff;
	font-size: 29px;
}

h3 .subcity {
  display: block;
	color: #eee2b2;
	font-size: 20px;
}

a.city-link img.logo {
	margin-top: -34px;
}

.equal {
	margin: 0 auto;
    -webkit-transform-origin: top center;
        -ms-transform-origin: top center;
            transform-origin: top center;
	-webkit-transition: no;
	-o-transition: no;
	transition: no;
}

.lang {
	position: fixed;
	top: 0;
	left: 50%;
	-webkit-transform: translateX(-50%);
	    -ms-transform: translateX(-350%);
	        transform: translateX(-50%);
	border-radius: 0px 0px 4px 4px;
	-moz-border-radius: 0px 0px 4px 4px;
	-webkit-border-radius: 0px 0px 4px 4px;
	background-color: rgba(255, 174, 140, 0.08);
	padding: 5px 8px 2px 8px;
	z-index: 999;
}

.lang .flag {
	width: 20px;
	margin: 0;
}

#preloader {
    position: absolute;
    top: 0;
    right: 0;
    bottom: 0;
    left: 0;
    z-index: 999999;
    display: block;
    background: #fff;
	-webkit-transition: none;
	-o-transition: none;
	transition: none;
	background-color: #341e14;
}
.preloader-wave {
    position: absolute;
    top: 50%;
    left: 50%;
    width: 60px;
    height: 60px;
    margin: -30px 0 0 -50px;
	-webkit-transition: none;
	-o-transition: none;
	transition: none;
}
.preloader-wave:before,
.preloader-wave:after {
    position: absolute;
    display: inline-block;
    content: "";
    width: 100px;
    height: 100px;
    border-radius: 50%;
    -webkit-animation: preloader-wave 1.6s linear infinite;
    animation: preloader-wave 1.6s linear infinite;
	background-color: #fff;
}
.preloader-wave:after {
    animation-delay: -0.8s;
    -webkit-animation-delay: -0.8s;
}
@keyframes preloader-wave {
    0% {
        -webkit-transform: scale(0, 0);
        transform: scale(0, 0);
        opacity: 0.5;
        filter: alpha(opacity=50);
    }
    100% {
        -webkit-transform: scale(1, 1);
        transform: scale(1, 1);
        opacity: 0;
        filter: alpha(opacity=0);
    }
}
@-webkit-keyframes preloader-wave {
    0% {
        -webkit-transform: scale(0, 0);
        opacity: 0.5;
        filter: alpha(opacity=50);
    }
    100% {
        -webkit-transform: scale(1, 1);
        opacity: 0;
        filter: alpha(opacity=0);
    }
}

@media only screen and (max-width: 740px){
	h1 {
		font-size: 78px;
		line-height: 50px;
		margin: 0 auto 20px auto;
	}
	h2 {
		margin: 0 auto 22px auto;
	}
	a.city-link {
		width: 162px;
		height: 162px;
	}
	h3 .city {
		font-size: 24px;
	}

	h3 .subcity {
		font-size: 18px;
	}
}