
body {
    background-color: #F3F3F3;
	overflow-y: hidden;
    font-family: Tahoma;
    padding: 0;
    margin: 0;
}

@font-face {
    font-family: 'Quark';
    src: url('../Quark-Light.woff') format('woff');
}

@font-face {
    font-family: 'Quark';
    src: url('../Quark-Bold.woff') format('woff');
    font-weight: bold;
}

.cufon {
    font-family: 'Quark', serif;
}

.clear { clear: both; }

#loader {
    left: 0;
    margin: 10px auto;
    position: absolute;
    right: 0;
}

#header {
    margin: 10px 20px;
    height: 30px;
    line-height: 30px;
    overflow: hidden;
}
#header-detail-mobile{
    display: none;
}

#logo {
    display: block;
    background: url('../images/itic-live-logo.png') no-repeat left top;
    background-size: 100% 100%;
    width: 133px;
    height: 28px;
    margin-left: 10px;
    float: left;
    cursor: pointer;
    margin-top: 2px;
}

#police-logo {
    width: 248px;
    height: 38px;
    position: absolute;
    top: 6px;
    left: 180px;
    display: none;
}

#logoname {
    font-size: 24px;
    font-weight: bold;
}

#trafficindex-label, #trafficindex, #userdiv {
    float: right;
    font-weight: bold;
}

#trafficindex-label, #trafficindex {
    margin-top: 5px;
}

#trafficindex-label {
    font-size: 30px;
    color: #263061;
}

#trafficindex {
    padding-left: 10px;
    font-size: 32px;
    color: #FFA800;
}

#userdiv {
	padding-right: 7px;
	line-height: 40px;
    color: #263061;
}

#userdiv>a {
    color: #BB252A;
    line-height: 39px;
    text-decoration: none;
}

#left-panel, #map, #right-panel {
    float: left;
}

#left-panel {
    margin-left: 20px;
    width: 280px;
}

#right-panel {
    margin-right: 20px;
    width: 0px;
	display: none;
}

#map {
    width: 100%;
    height: 100%;
    border: solid 1px #C1C1C1;
}

#panel-title {
    background: url('../images/icon-event.png') no-repeat 10px center;
    background-size: 18px 18px;
    background-color: #BB252A;
    padding-left: 35px;
}

#activity-title {
    background-color: #BB252A;
    padding-left: 25px;
}

#panel-title, #activity-title {
    height: 40px;
    line-height: 40px;
    border-top: solid 1px #BB252A;
    border-left: solid 1px #BB252A;
    color: white;
    font-size: 18px;
    font-weight: bold;
}

#eventlst {
    border-left: solid 1px #C1C1C1;
}

#activity {
    border-right: solid 1px #C1C1C1;
}

#eventlst, #activity {
    border-bottom: solid 1px #C1C1C1;
    background-color: white;
    overflow-x: hidden;
    overflow-y: auto;
    position: relative;
}

.eventEle {
    padding: 8px 10px 10px 35px;
    border-bottom: solid 1px #C1C1C1;
    background: url('../images/icon/icon_default-s.png') no-repeat 10px 10px;
    background-size: 16px 16px;
    cursor: pointer;
}

.icon-accident { background-image: url('../images/icon/icon_accident-s.png') }
.icon-carbreakdown { background-image: url('../images/icon/icon_carbreakdown-s.png') }
.icon-checkpoint { background-image: url('../images/icon/icon_checkpoint-s.png') }
.icon-construction { background-image: url('../images/icon/icon_construction-s.png') }
.icon-crowd { background-image: url('../images/icon/icon_crowd-s.png') }
.icon-event { background-image: url('../images/icon/icon_event-s.png') }
.icon-fire { background-image: url('../images/icon/icon_fire-s.png') }
.icon-flood { background-image: url('../images/icon/icon_flood-s.png') }
.icon-information { background-image: url('../images/icon/icon_information-s.png') }
.icon-misc { background-image: url('../images/icon/icon_misc-s.png') }
.icon-rain { background-image: url('../images/icon/icon_rain-s.png') }
.icon-sale { background-image: url('../images/icon/icon_sale-s.png') }
.icon-trafficjam { background-image: url('../images/icon/icon_trafficjam-s.png') }
.icon-warning { background-image: url('../images/icon/icon_warning-s.png') }
.icon-diversion { background-image: url('../images/icon/icon_diversion-s.png') }
.icon-complaint { background-image: url('../images/icon/icon_complaint-s.png') }
.icon-roadclosed { background-image: url('../images/icon/icon_roadclosed-s.png') }
#bg-controller { background-image: url('../images/res-c/bg-map-controller.png')}
#bg-controller { background-image: url('../images/res-c/bg-map-controller.png')}
#bt-zoom-in{ background-image: url('../images/res-c/bt-zoom-in.png')}
#bt-zoom-out{ background-image: url('../images/res-c/bt-zoom-out.png')}
#bt-event{ background-image: url('../images/res-c/event.png')}
#bt-pin{ background-image: url('../images/res-c/pin.png')}
#bt-show-camera{ background-image: url('../images/bt-camera.png')}
#bt-show-event{ background-image: url('../images/bt-event.png')}
#bt-show-traffic{ background-image: url('../images/bt-traffic.png')}
#bt-show-rain{ background-image: url('../images/bt-rain.png')}
#bt-show-aqi-cn{ background-image: url('../images/bt-aqi.png')}
/* #bt-show-aqi-air4thai{ background-image: url('../images/bt-aqi.png')} */
#bt-user{ background-image: url('../images/res-c/login.png')}
#bt-menu{ background-image: url('../images/bt-menu.png')}
#bt-position{ background-image: url('../images/res-c/bt-pos.png')}
#bt-back{background-image: url('../images/res-c/bt-back.png') }
@media
only screen and (-webkit-min-device-pixel-ratio: 2),
only screen and ( min--moz-device-pixel-ratio: 2),
only screen and ( -o-min-device-pixel-ratio: 2/1),
only screen and ( min-device-pixel-ratio: 2),
only screen and ( min-resolution: 192dpi),
only screen and ( min-resolution: 2dppx) {
    #logo { background-image: url('../images/itic-live-logo@2x.png') }
    #panel-title { background-image: url('../images/icon-event@2x.png') }

    .icon-accident { background-image: url('../images/icon/icon_accident-l.png') }
    .icon-carbreakdown { background-image: url('../images/icon/icon_carbreakdown-l.png') }
    .icon-checkpoint { background-image: url('../images/icon/icon_checkpoint-l.png') }
    .icon-construction { background-image: url('../images/icon/icon_construction-l.png') }
    .icon-crowd { background-image: url('../images/icon/icon_crowd-l.png') }
    .icon-event { background-image: url('../images/icon/icon_event-l.png') }
    .icon-fire { background-image: url('../images/icon/icon_fire-l.png') }
    .icon-flood { background-image: url('../images/icon/icon_flood-l.png') }
    .icon-information { background-image: url('../images/icon/icon_information-l.png') }
    .icon-misc { background-image: url('../images/icon/icon_misc-l.png') }
    .icon-rain { background-image: url('../images/icon/icon_rain-l.png') }
    .icon-sale { background-image: url('../images/icon/icon_sale-l.png') }
    .icon-trafficjam { background-image: url('../images/icon/icon_trafficjam-l.png') }
    .icon-warning { background-image: url('../images/icon/icon_warning-l.png') }
    .icon-diversion { background-image: url('../images/icon/icon_diversion-l.png') }
    .icon-complaint { background-image: url('../images/icon/icon_complaint-l.png') }
    .icon-roadclosed { background-image: url('../images/icon/icon_roadclosed-l.png') }
    #bg-controller { background-image: url('../images/res-c/bg-map-controller@2x.png')}
    #bt-zoom-in{ background-image: url('../images/res-c/bt-zoom-in@2x.png')}
    #bt-zoom-out{ background-image: url('../images/res-c/bt-zoom-out@2x.png')}
    #bt-event{ background-image: url('../images/res-c/event@2x.png')}
    #bt-pin{ background-image: url('../images/res-c/pin@2x.png')}
    #bt-show-camera{ background-image: url('../images/bt-camera@2x.png')}
    #bt-show-event{ background-image: url('../images/bt-event@2x.png')}
    #bt-show-rain{ background-image: url('../images/bt-rain@2x.png')}
    #bt-show-traffic{ background-image: url('../images/bt-traffic@2x.png')}
    #bt-show-aqi-cn{ background-image: url('../images/bt-aqi@2x.png')}
    /* #bt-show-aqi-air4thai{ background-image: url('../images/bt-aqi@2x.png')} */
    #bt-user{ background-image: url('../images/res-c/login@2x.png')}
    #bt-menu{ background-image: url('../images/bt-menu@2x.png')}
    #bt-position{ background-image: url('../images/res-c/bt-pos@2x.png')}
    #bt-back{background-image: url('../images/res-c/bt-back@2x.png')}
    .consent-logo {background-image: url(../images/consent_logo@2x.png) !important}
}

.eventEle * {
    overflow: hidden;
}

.eventEle .evn-title {
    font-weight: bold;
    font-size: 15px;
    line-height: 22px;
    height: 22px;
}

.eventEle .evn-time, .eventEle .evn-desc {
    color: #777777;
    font-size: 11px;
    line-height: 15px;
    height: 16px;
}

.eventEle .evn-desc {
    font-size: 13px;
    line-height: 15px;
    height: 30px;
}
#control, #menu, .add-event-group {
    display:none;
}
.add_location {
    margin: 2px;
}
@media only screen and (max-width:320px){
	#report_popup_field {
		left: 0 !important;
		bottom: 0 !important;
		top: initial !important;
	}
}
@media only screen and (max-width:880px){


    html{
        width: 100%;
        height: 100%;
    }
    #content{
		overflow-y: scroll;
        height: 100%;
        width: 100%;
    }
    body{
        height:100%;
        width:100%;
        margin: 0 0 0 0;
        position: fixed;
        overflow: no-display;
        font-size: 8pt;
    }

    #left-panel{
        width: 100%;
        margin-left: 0px;
       display:none;
    }

    #right-panel{
        width: 100%;
        margin-right: 0px;
       display:none;
	   text-align: center;
    }
	#activity-title {
		display: none;
	}
	/* #activity {
		padding-left: 22px;
	} */
    #header{
        margin: 0px 0px;
        position: absolute;
        z-index: 1;
        background-color: #f3f3f3;
        width: 100%;
        padding: 9pt 0 9pt 0;
        border-bottom: solid 0.1em #c1c1c1;

    }
    #map{
        /*clear:both;*/
        border: none;
        width: 100%;
        height: 100%;
        display: block;
        float: none;

    }
	#disablemap {
		top: 0 !important;
		left: 0 !important;
	}
    #trafficindex-label, #trafficindex {
        float: right;
        font-weight: bold;
    }

    #trafficindex-label {
        font-size: 2.7em;
        color: #263061;
        overflow:hidden;
    }

    #trafficindex {
        padding-left: 0.433em;
        font-size: 3em;
        color: #FFA800;
        padding-right: 10px;
    }

	#userdiv {
		display: none;
	}
	#usericon {
		background-image: url('../images/res-c/login.png');
	}

    #bg-controller{

        top: 0;
        bottom: 0;
        width: 5.1em;
        height: 13.2em;
        margin: auto;
    }
    #bt-zoom-in{
        width: 1.55em;
        height: 1.55em;
		bottom: 8em;
        margin-left: 0.87em;
        padding: 0.9em;
        background-size: 12pt 12pt;
        background-position: center;
    }
    #bt-zoom-out{
        width: 1.55em;
        height: 1.55em;
        top: 7.7em;
        margin-left: 0.87em;
        padding: 0.9em;
        background-size: 12pt 12pt;
        background-position: center;
    }
    #bt-event{
		width: 4.9em;
		height: 4.9em;
		margin-left: 0.1em;
		top: 17.9em;
    }
    #bt-pin{
		width: 4.6em;
		height: 4.6em;
		top: 5.4em;
		bottom: initial;
		right: 0.4em;
    }
    #bt-show-camera{
		width: 4.6em;
		height: 4.6em;
		top: 10em;
		bottom: initial;
		right: 0.4em;
    }
    #bt-show-event{
		width: 4.6em;
		height: 4.6em;
		top: 14.6em;
		bottom: initial;
		right: 0.4em;
    }
    #bt-show-traffic{
		width: 4.6em;
		height: 4.6em;
		top: 19.2em;
		bottom: initial;
		right: 0.4em;
    }
    #bt-show-rain{
		width: 4.6em;
		height: 4.6em;
		top: 23.8em;
		bottom: initial;
		right: 0.4em;
    }
    /* #bt-show-aqi-air4thai{
		width: 4.6em;
		height: 4.6em;
		top: 28.4em;
		bottom: initial;
		right: 0.4em;
        opacity: 0.5;
    } */
    #bt-show-aqi-cn{
		width: 4.6em;
		height: 4.6em;
		top: 28.4em;
		bottom: initial;
		right: 0.4em;
        opacity: 0.5;
    }
    #bt-user{
		width: 4.7em;
		height: 4.7em;
		top: 5.4em;
		bottom: initial;
		right: 5.1em;
    }
    #bt-menu{
        width: 4.7em;
        height: 4.7em;
        top: 6em;
        bottom: initial;
        left: 1.5em;
    }
    #add-event-title {
        position: absolute;
        z-index: 1;
        width: 17.8em;
        height: 3.6em;
        top: 50%;
        left: 50%;
        margin-top: -75px;
        transform: translate(-50%, -50%);
        background-color: #f5f5f5;
        padding: 0.1em 0 0 0.3em;
        border-radius: 6px;
        box-shadow: 0 0 5px #888888;
    }
    #add-event-title-icon {
        width: 20px;
        height: 20px;
        margin: 8px;
    }
    #add-event-title-label {
        display: inline-block;
        vertical-align: top;
        line-height: 40px;
        margin: 0 0 0 -4px;
        font-size: 16px;
        font-weight: bold;
        color: #263061;
    }
    #add-event-pin {
        position: absolute;
        top: 50%;
        left: 50%;
        margin-top: -19px;
        transform: translate(-50%, -50%);
        z-index: 2;
    }
    #add-event-confirm {
        position: absolute;
        z-index: 1;
        width: 130px;
        bottom: 19px;
        right: 0;
    }
    #add-event-confirm img {
        padding-bottom: 5px;
    }
    #menu-header {
        height: 80px;
        background: #fff;
        background: linear-gradient(180deg, rgba(255,255,255,1) 0%, rgba(177,178,177,1) 100%);
    }
    #menu-language {
        height: 60px;
        background: #f2f2f2;
        border-bottom: 1px solid #cdcdcd;
    }
    #menu-download-label {
        color: #999999;
        font-size: 13px;
        padding: 10px 10px 0;
    }
    .menu-list {
        height: 50px;
        background: #fff;
        border-bottom: 1px solid #cdcdcd;
    }
    #menu-logout { 
        display: none;
    }
    #menu p {
        display: inline-block;
    }
    #bt-back{
        width: 0.547em;
        height: 1em;
        margin: inherit;
        top: 0.29em;
        left: 0.391em;
        padding: 0.391em;
        background-size: 11pt 19.5pt;
        background-position: center;
    }
    #bt-position{
        width: 1.7em;
        height: 1.7em;
        margin-left: 0.87em;
        padding: 0.9em;
        background-size: 14pt 14pt;
        background-position: center;
    }
    #control{
        display: block;
        padding-left: 1em;
    }
    #menu {
        width: 200px;
        height: 100%;
        position: absolute;
        top: 54px;
        left: -200px;
        background-color: #f2f2f2;
        z-index: 5;
    }
    #menu-avatar-cell {
        display: table-cell;
    }
    #menu-avatar {
        margin: 16px 14px 16px 22px;
        width: 48px;
        height: 48px;
        background-color: #263061;
        filter: brightness(85%);
        border-radius: 52px;
    }
    #menu-header-label-cell {
        display: table-cell;
        vertical-align: middle;
    }
    #menu-header-label {
        overflow: hidden;
        width: 110px;
        max-height: 80px;
        display: inline-block;
        color: #263061;
        line-height: 25px;
        font-size: 21px;
        font-weight: bold;
        text-overflow: ellipsis;
    }
    #menu-language-label {
        margin: 7px 0 0 10px;
        font-weight: bold;
        font-size: 14px;
    }
    .menu-icon {
        width: 36px;
        height: 36px;
        margin: 7px 7px 7px 20px;
        filter: invert(15%) sepia(16%) saturate(5677%) hue-rotate(210deg) brightness(92%) contrast(88%);
    }
    .menu-label {
        vertical-align: top;
        line-height: 50px;
        margin: 0;
        font-size: 18px;
        font-weight: bold;
    }
    #language-bar {
        margin: 0px 25px;
        height: 25px;
        width: 70px;
        border-radius: 5px;
        background-color: #ccc;
        overflow: hidden;
    }
    .menu-language {
        width: 50%;
        text-align: center;
        float: left;
        line-height: 25px;
        color: #fff;
        font-size: 14px;
    }
    .language-active {
        background-color: #263061 !important;
    }
    #bg-menu {
        width: 100%;
        height: 100%;
        position: absolute;
        top: 0;
        left: 0;
        z-index: 4;
        display: none;
    }
    .mobile-button{
        position: absolute;
        z-index: 1;
        top:0;
        bottom:0;
        margin: auto;
        background-size: 100% 100%;
        background-repeat: no-repeat;
    }
    #header-detail-mobile{
        color: #B9272F;
        height: 1.35em;
        line-height: 1.35em;
        font-size: 2.4em;
        font-weight: bold;
        text-align: center;
        border-bottom: solid 0.1em #c1c1c1;
        padding-bottom: 8pt;
        padding-top: 8pt;
        position: fixed;
        background-color: #f1f1f1;
        z-index: 1;
        width: 100%;
        margin: 0px;
        top: 0px;
        left: 0px;
    }
    #eventlst, #activity {
        padding-top: 5.7em;

    }

    .eventEle .evn-title {
        font-size: 13pt;
        line-height: 19pt;
        height: 20pt;
    }

    .eventEle .evn-time, .eventEle .evn-desc {
        color: #777777;
        font-size: 10pt;
        line-height: 13pt;
        height: 14pt;
    }

    .eventEle .evn-desc {
        font-size: 12pt;
        line-height: 17pt;
        height: 31pt;
    }
}

/*report event*/
#disablemap {
	z-index: 1;
	position: absolute;
	display: none;
	top: 51px;
	left: 301px;
	background-color: rgba(0, 0, 0, 0.3);
}

#report_popup_field, #math_question {
    z-index: 6000;
    position: absolute;
    top: 75px;
    left: 380px;
    width: 324px;
	-webkit-overflow-scrolling: touch;
}

.title-bar {
    margin: 10px 5px 0 5px;
}

#report_wrapper {
    padding: 5px 2px 0 2px;
    background: #fff;
    overflow-y: auto;
/*    border: 1px solid #c7c7c7;
	border-radius: 7px;
	box-shadow: 2px 3px 10px rgba(108, 108, 108, 0.7);*/
}

#title-name {
	background: none;
	padding-left: 5px;
/*	font-weight: bold;
	color: #1D2654;
	font-size: 16pt;*/
}

#report_ifr {
    width: 100%;
}

.transparent-focus {
	opacity: 0.94;
	filter: alpha(opacity=96);
}

.myButton {
	margin: 10px 10px 0 0;
	background-color: #ffffff;
	border-radius: 10px;
	display: inline-block;
	cursor: pointer;
	color: #bb252a;
	font-family: arial;
	font-size: 17px;
	padding: 0px 6px;
	text-decoration: none;
	float: right;
	line-height: 20px;
}

.myButton:hover {
	color:#e81219;
}

.myButton:active {
	position:relative;
	top:1px;
}

#bt-answer {
	display: inline-block;
	width: 70px;
	text-align: center;
	background-color: #bb252a;
    border: 2px solid #fff;
    color: #fff;
	padding: 5px 0px;
	cursor: pointer;
}

#question_text {
	margin-left: 10px;
}

#input-answer {
	height: 23px;
	vertical-align: top;
	margin-top: 2px;
	width: 120px;
}

/*Search*/
#searchpanel {
	position: absolute;
	top: 55px;
	left: 390px;
	z-index: 2;
	max-width: 240px;
	margin-right: -15px;
	margin-left: -15px;
	display: table;
	clear: both;
}

.input-group {
	position: relative;
	display: table;
	border-collapse: separate;
}

.form-control {
	border-top-left-radius: 4px;
	border-bottom-left-radius: 4px;
	display: table-cell;
	position: relative;
	float: left;
	width: 180px;
	height: 34px;
	padding: 0 30px 0 12px;
	font-size: 14px;
	line-height: 1.42857143;
	color: #555;
	background-color: #fff;
	background-image: none;
	border: 1px solid #ccc;
	-webkit-box-shadow: inset 0 1px 1px rgba(0, 0, 0, .075);
	box-shadow: inset 0 1px 1px rgba(0, 0, 0, .075);
	-webkit-transition: border-color ease-in-out .15s, -webkit-box-shadow ease-in-out .15s;
	-o-transition: border-color ease-in-out .15s, box-shadow ease-in-out .15s;
	transition: border-color ease-in-out .15s, box-shadow ease-in-out .15s;
	margin-top: 2px;
	-webkit-rtl-ordering: logical;
	-webkit-user-select: text;
	-webkit-appearance: textfield;
	letter-spacing: normal;
	word-spacing: normal;
	text-transform: none;
	text-indent: 0px;
	text-shadow: none;
}

#search:focus {
	outline: none;
}

.input-group-btn {
	position: relative;
	font-size: 0;
	white-space: nowrap;
	width: 1%;
	vertical-align: top;
	display: table-cell;
}

#searchbutton {
	background-color: #BB252A;
	color: white;
	font-weight: bold;
	font-size:18px;
	z-index: 2;
	border-top-right-radius: 4px;
	border-bottom-right-radius: 4px;
	position: relative;
	border-color: #ccc;
	-webkit-appearance: button;
	text-transform: none;
	overflow: visible;
	margin-left: -1px;
	border-left-width: 0;
	margin-top: 2px;
	height: 36px;
}

.btn {
	display: inline-block;
	padding: 6px 12px;
	margin-bottom: 0;
	font-size: 14px;
	font-weight: 400;
	line-height: 1.42857143;
	text-align: center;
	white-space: nowrap;
	vertical-align: top;
	-ms-touch-action: manipulation;
	touch-action: manipulation;
	cursor: pointer;
	-webkit-user-select: none;
	-moz-user-select: none;
	-ms-user-select: none;
	user-select: none;
	background-image: none;
	border: 1px solid transparent;
}

#result {
	scrollbar-face-color: #367CD2;
	scrollbar-shadow-color: #FFFFFF;
	scrollbar-highlight-color: #FFFFFF;
	scrollbar-3dlight-color: #FFFFFF;
	scrollbar-darkshadow-color: #FFFFFF;
	scrollbar-track-color: #FFFFFF;
	scrollbar-arrow-color: #FFFFFF;
	position: absolute;
	width: 275px;
	max-height: 250px;
	margin: auto;
	background: #ffffff;
	overflow: auto;
	z-index: 5;
	padding: auto;
}

#result::-webkit-scrollbar {
	width: 9px;
}

#result::-webkit-scrollbar-track {
	-webkit-box-shadow: inset 0 0 6px rgba(0, 0, 0, 0.3);
	-webkit-border-radius: 9px;
	border-radius: 9px;
}

#result::-webkit-scrollbar-thumb {
	-webkit-border-radius: 5px;
	border-radius: 5px;
	background: #0099FF;
	-webkit-box-shadow: inset 0 0 6px rgba(0, 0, 0, 0.5);
}

#suggests {
	background-color: white;
	visibility: hidden;
	scrollbar-face-color: #367CD2;
	scrollbar-shadow-color: #FFFFFF;
	scrollbar-highlight-color: #FFFFFF;
	scrollbar-3dlight-color: #FFFFFF;
	scrollbar-darkshadow-color: #FFFFFF;
	scrollbar-track-color: #FFFFFF;
	scrollbar-arrow-color: #FFFFFF;
	overflow-x: hidden;
	z-index: 3;
	max-height: 250px;
	padding: auto;
	display: block;
	width: 275px;
	margin-bottom: 20px;
	border-spacing: 0;
	border-collapse: collapse;
}

#suggests::-webkit-scrollbar {
	width: 9px;
}

#suggests::-webkit-scrollbar-track {
	-webkit-box-shadow: inset 0 0 6px rgba(0, 0, 0, 0.3);
	-webkit-border-radius: 9px;
	border-radius: 9px;
}

#suggests::-webkit-scrollbar-thumb {
	-webkit-border-radius: 5px;
	border-radius: 5px;
	background: #0099FF;
	-webkit-box-shadow: inset 0 0 6px rgba(0, 0, 0, 0.5);
}

.table-striped>tbody>tr:nth-of-type(odd) {
	background-color: #f9f9f9;
}

.table>tbody>tr>td {
	padding: 8px;
	line-height: 1.42857143;
	vertical-align: top;
	border-top: 1px solid #ddd;
}

#close-search-button {
	background-color: #bb252a;
	border-radius: 10px;
	display: inline-block;
	cursor: pointer;
	color: #ffffff;
	font-family: arial;
	font-size: 17px;
	text-decoration: none;
	padding: 5px;
	line-height: 8px;
	margin: 11px 10px 0 -30px;
}

#suggests a {
	color: #337ab7;
	text-decoration: none;
}

#language {
	height: 12px;
	display: inline;
	float: right;
	margin-right: 13px;
	color: #fff;
	cursor: pointer;
	margin-top: 13px;
	border: 1px solid #fff;
}

#risk_legend {
    margin-bottom: 13px;
    display: none;
}

#download {
    height: 80px;
}

#download-label {
    color: #999999;
    font-size: 13px;
    vertical-align: top;
    text-align: center;
    padding: 17px 10px 5px 0;
}

#download-label span {
    background: linear-gradient(90deg, rgba(49,153,193,1) 0%, rgba(25,92,162,1) 100%);
    background-clip: text;
    -webkit-text-fill-color: transparent;
    -webkit-background-clip: text;
    color: transparent;
    font-weight: bold;
}

#download-and-btn {
    height: 40px;
    margin: 0 0 0 35px;
}

#download-ios-btn {
    height: 27px;
    margin: 7px 0;
}

#menu-download-and {
    height: 40px;
    margin-left: 4px;
}

#menu-download-ios {
    height: 27px;
    margin-bottom: 6px;
}

.download-link {
    text-decoration: none;
}

#pdpa-itic-div .consent-div, #pdpa-itic-div .consent-div p {
    color: #fff;
}

#pdpa-itic-div * {
    font-size: 13px;
    line-height: 1.8;
    user-select: none;
    transition: all 0.3s ease 0s;
}

#pdpa-itic-div, .consent-div {
    z-index: 2147483647;
    height: fit-content;
    display: none;
}

.consent-div {
    position: fixed;
    padding: 6px;
    bottom: 34px;
    left: 50%;
    transform: translate(-50%, 0%);
    border-radius: 10px;
    box-shadow: 0px 0px 4px 2px rgb(134 134 134 / 40%);
    display: flex;
    flex-direction: column;
    box-sizing: border-box;
    display: flex;
    flex-direction: row;
    width: 640px;
    max-width: 96vw!important;
    font-family: "BaiJamjuree", Prompt-Regular, Helvetica;
    max-height: 100vh!important;
    max-height: -webkit-fill-available!important;
    background-color: rgb(74 74 74 / 85%);
}

.consent-div > div {
    margin: 10px;
}

.consent-logo {
    height: auto;
    width: 200px;
    background: url(../images/consent_logo.png) no-repeat left center transparent;
    background-size: 100%;
    border-radius: 6px;
    margin-left: 20px!important;
}

.consent-content {
    max-width: 100%;
    border-radius: 4px;
}

#pdpa-itic-div p {
    margin: 0px 0px 8px 0px;
}

#pdpa-itic-div a {
    color: #FFDF26;
    text-decoration: underline;
    cursor: pointer;
}

#pdpa-longdocom-div a:hover {
    color: #feffbc;
}

#pdpa-itic-div button.accept-button {
    margin: 0 0 0 auto;
    border: none;
    background: linear-gradient(-180deg, rgb(255 225 52) 0%, rgb(217 185 0) 100%) rgb(217 185 0);
    border-radius: 6px;
    color: #333;
    height: 32px;
    padding: 0px 34px;
    box-sizing: border-box;
    font-size: 13px;
    cursor: pointer;
    display: block;
    font-family: unset;
    font-weight: bold;
}

#pdpa-longdocom-div button.accept-button:hover {
    background: linear-gradient(-180deg, rgb(217 185 0) 0%, rgb(255 225 52) 100%) rgb(255 225 52);
}

@media only screen and (max-width: 500px) {
    .consent-div {
        bottom: 0px !important;
        left: 0px !important;
        transform: translate(0%, 0%) !important;
        /* min-width: 320px; */
        max-width: 100% !important;
        border-radius: 10px 10px 0 0 !important;
        flex-direction: column !important;
        width: 100% !important;
        padding: 0 !important;
    }

    .consent-logo {
        height: 180px !important;
        width: 100% !important;
        display: block !important;
        background-position: center !important;
        background-size: auto 154px !important;
        margin: 0 !important;
        border-radius: 10px 10px 0 0 !important;
        background: url(../images/consent_header.svg) no-repeat center top/100% #dcf0ff00 !important;
    }

    .consent-content {
        margin: auto !important;
        overflow-x: auto !important;
        padding: 10px !important;
        width: auto !important;
        border-radius: 0px !important;
    }

    #pdpa-longdocom-div button.accept-button {
        width: 100% !important;
        margin-top: 14px !important;
    }

    #pdpa-longdocom-div p {
        margin: 0px 0px 12px 0px !important;
    }
}

/*aqi*/
.aqi-air-4-thai-marker,
.aqi-cn-marker {
    width: 32px;
    height: 32px;
    background-size: 32px 32px;
    background-position: center center;
    background-repeat: no-repeat;
    padding: 7px 0px 0px 0px;
    text-align: center;
    box-sizing: border-box !important;
    font-size: 12px;
    transition: transform 0.3s ease 0s;
}

.aqi-head {
    display: flex;
    flex-direction: row;
    justify-content: flex-start;
    align-items: stretch;
    width: 100%;
    padding: 0px 12px 12px 12px;
    box-sizing: border-box !important;
}

.aqi-head .aqi-value {
    border-radius: 6px;
    padding: 6px 12px 0px 12px;
    display: flex;
    flex-direction: row;
    flex-wrap: wrap;
    align-items: center;
    width: 30%;
    margin-right: 12px;
}

.aqi-head .aqi-value .title {
    width: 100%;
    font-family: Prompt;
    font-size: 16px;
}

.aqi-head .aqi-value .icon {
    width: 22px;
    height: 22px;
    background-size: 22px 22px;
    background-position: center center;
    background-repeat: no-repeat;
}

.aqi-head .aqi-value .value {
    width: calc(100% - 24px);
    font-size: 30px;
    text-align: right;
    font-family: Prompt;
    font-weight: bold;
}

.aqi-head .aqi-owner {
    width: calc(100% - 30% - 12px);
}

.aqi-head .aqi-owner .name {
    font-weight: bold;
}

.aqi-head .aqi-owner .last-update {
    color: grey;
}

.aqi-info-row {
    display: flex;
    flex-direction: row;
    justify-content: space-between;
    align-items: stretch;
    width: 100%;
    padding: 0px 12px 12px 12px;
    box-sizing: border-box !important;
}

.aqi-info-row .aqi-info {
    border-radius: 6px;
    border: 1px solid lightGrey;
    width: calc((100% - 24px) / 3);
    padding: 6px;
    box-sizing: border-box;
}

.aqi-info-row .aqi-info .title {
    font-family: Prompt;
    font-size: 16px;
}

.aqi-info-row .aqi-info img.loading {
    width: 30px;
    height: 30px;
    min-width: 30px;
    min-height: 30px;
    float: right;
}

.aqi-info-row .aqi-info .value {
    font-family: Prompt;
    text-align: right;
    font-size: 20px;
    font-weight: bold;
}

.aqi-info-row .aqi-info .value .unit {
    font-size: 12px;
    font-weight: normal;
}