/* 
    Created on : 8 พ.ค. 2558, 13:07:05
    Author     : Nin Azurifle
*/

/* ==================================== Navigation bar =================================== */
body
{
	margin: 0;
	padding: 0;
	width: 100%;
	height: 100%;
	font-family: 'Verdana', sans-serif; /*Roboto*/
	font-size: 14px;
	font-weight: 300;
	-webkit-text-size-adjust: none;
        background-color: #FC3;
}
input
{
	font-family: 'Verdana', sans-serif;  /*Roboto*/
}
header a
{
	color: #1155CC;
	text-decoration: none;
}
header a:hover
{
	text-decoration: underline;
        background-color: #0033ff;
}
a[href="#"]{
	-webkit-touch-callout: none;
}
img{
	border: 0;
}
/*
hr{
	margin: 8px 0 6px;
	border: 0;
	border-top: 1px solid #F0F0E7;
}
hr{
	margin: 8px 0 6px;
	border: 0;
	border-top: 1px solid #F0F0E7;
}*/
header{
	color: #fff;
	background-color: #000099;
	background-image: -webkit-linear-gradient(top, #000066, #000099);
	background-image: -moz-linear-gradient(top, #000066, #000099);
	background-image: linear-gradient(to bottom, #000066, #000099);
	position: fixed;
	top: 0;
	left: 0;
	right: 0;
	height: 40px;
	line-height: 40px;
	padding: 0 16px;
        z-index: 4;
	box-shadow: 0 0 10px rgba(0,0,0,.25);
        min-width: 1200px/*981px;*/
}
header h1{
	font-size: 16px;
	font-weight: normal;
	margin: 0;
	padding: 0;
	text-align: center;
}
header h1 a{
	color: #fff;
}
header h1 a:hover{
	text-decoration: none;
}
header h1 img{
	vertical-align: text-bottom;
	image-rendering: -moz-crisp-edges;
}
#header-about{
	-webkit-box-sizing: border-box;
	-moz-box-sizing: border-box;
	box-sizing: border-box;
	border-radius: 15px;
	position: absolute;
	top: 5px;
	right: 5px;
	padding: 6px 18px;
	height: 30px;
	color: #fff;
	background-color: rgba(0,0,0,.3);
	display: inline-block;
	line-height: 16px;
	font-weight: normal;
	cursor: pointer;
	font-size: 13px;
}
#header-about:hover{
	text-decoration: none;
	background-color: rgba(0,0,0,.7);
}
#header-sidebar{
	display: none;
}
#places-search-form{
	position: absolute;
	top: 0;
	left: 0;
	width: 200px;
}
#places-search-form input{
	outline: 0;
	-webkit-appearance: none;
	-webkit-box-sizing: border-box;
	-moz-box-sizing: border-box;
	box-sizing: border-box;
	border: 0;
	border-radius: 15px;
	color: #bbb;
	background-color: rgba(255,255,255,.3);
	width: 188px;
	margin: 0 5px;
	padding: 6px 12px;
	height: 30px;
	-webkit-transition: background-color .3s;
	-moz-transition: background-color .3s;
	transition: background-color .3s;
}
#places-search-form input:focus{
	background-color: #fff;
	color: #333;
}
#places-search-form input::-webkit-input-placeholder{
	color: #bbb;
}
#places-search-form input:-moz-placeholder{
	color: #bbb;
}
#username{
	position: absolute;
	top: 0;
	left: 0;
	right: 0;
	bottom: 0;
	width: 100%;
	height: 100%;
	z-index: 999999;
	background-color: rgba(0,0,0,.5);
	-webkit-transition: background-color .3s;
	-moz-transition: background-color .3s;
	transition: background-color .3s;
	-webkit-perspective: 200px;
	-moz-perspective: 200px;
	perspective: 200px;
}
#username.hidden{
	z-index: -1;
	background-color: rgba(0,0,0,0);
}
#about{
	position: absolute;
	top: 0;
	left: 0;
	right: 0;
	bottom: 0;
	width: 100%;
	height: 100%;
	z-index: 999999;
	background-color: rgba(0,0,0,.5);
	-webkit-transition: background-color .3s;
	-moz-transition: background-color .3s;
	transition: background-color .3s;
	-webkit-perspective: 200px;
	-moz-perspective: 200px;
	perspective: 200px;
}
#about.hidden{
	z-index: -1;
	background-color: rgba(0,0,0,0);
}
#about section{
	-webkit-box-sizing: border-box;
	-moz-box-sizing: border-box;
	box-sizing: border-box;
	position: absolute;
	top: 20%;
	left: 50%;
	width: 480px;
	margin: 0 0 0 -240px;
	background-color: #fff;
	border-radius: 3px;
	box-shadow: 0 0 3px #000;
	padding: 16px;
	line-height: 1.5em;
	opacity: 1;
	-webkit-transform: translateY(0) rotateX(0);
	-moz-transform: translateY(0) rotateX(0);
	transform: translateY(0) rotateX(0);
	-webkit-transform-origin: top center;
	-moz-transform-origin: top center;
	transform-origin: top center;
	-webkit-transition-property: -webkit-transform, opacity;
	-moz-transition-property: -moz-transform, opacity;
	transition-property: transform, opacity;
	-webkit-transition-duration: .2s;
	-moz-transition-duration: .2s;
	transition-duration: .2s;
}
#about.hidden section{
	-webkit-transform: translate3d(0, -40px, -30px) rotateX(-10deg);
	-moz-transform: translate3d(0, -40px, -30px) rotateX(-10deg);
	transform: translate3d(0, -40px, -30px) rotateX(-10deg);
	opacity: 0;
}
#about section p{
	margin-top: 0;
	padding-top: 0;
}
#about section b,
#about section strong{
	font-weight: 400;
}
#about section .close{
	display: inline-block;
	position: absolute;
	top: -12px;
	right: -12px;
	width: 24px;
	height: 24px;
	line-height: 24px;
	text-align: center;
	font-weight: 500;
	color: #fff;
	background-color: #000;
	border-radius: 50%;
	cursor: pointer;
	opacity: .75;
}
#about section .close:hover{
	text-decoration: none;
	opacity: 1;
}
#bounds-warning{
	position: absolute;
	top: 40px;
	display: none;
	padding: 10px;
	margin: 10px;
	background-color: rgba(0,0,0,.7);
	color: #fff;
}
#bounds-warning a{
	color: #fff;
	text-decoration: underline;
}
#bounds-warning.visible{
	display: block;
}

/* ============================== End Navigation bar ============================== */

@media screen and (max-width: 800px){
header{
	color: #fff;
	background-color: #000099;
	background-image: -webkit-linear-gradient(top, #000066, #000099);
	background-image: -moz-linear-gradient(top, #000066, #000099);
	background-image: linear-gradient(to bottom, #000066, #000099);
	position: absolute;
	top: 0;
	left: 0;
	right: 0;
	height: 40px;
	line-height: 40px;
	padding: 0 16px;
        z-index: 4;
	box-shadow: 0 0 10px rgba(0,0,0,.25);
        min-width: 1200px;
}
#places-search-form{
	display: none;
}

header h1{
	text-align: left;
	font-size: 14px;
}

#header-about{
	display: none;
}

#about section{
	top: 60px;
	left: 5%;
	width: 90%;
	margin: 0;
}
	
	
}

/* ============================== End Navigation bar 800 ============================== */

/* ============================== Other ============================== */

