﻿@font-face {
    font-family: 'Tahoma', sans-serif;
    font-weight: normal;
    font-style: normal;
}

/* tag html */
/* ======================== */
body {
    font-family: 'Tahoma', sans-serif;
    font-size: 14px;
    margin: 0px;
    /*width: 180px;*/
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
}

input, textarea, select, table {
    font-family: 'Tahoma', sans-serif;
    font-size: 14px;
}

    select option {
        font-family: 'Tahoma', sans-serif;
        font-size: 14px;
    }

a {
    color: #1b1e38;
}

    a:link {
        text-decoration: none;
    }

    a:visited {
        text-decoration: none;
    }

    a:hover {
        color: #1b1e38;
        text-decoration: none;
    }

    a:active {
        text-decoration: none;
    }

.title {
    font-family: 'Tahoma', sans-serif;
    font-size: 18px !important;
    font-weight: bold !important;
}

.mapXL {
    cursor: pointer;
    position: absolute;
    width: 25px;
    height: 25px;
    z-index: 50;
    margin-left: 465px;
    margin-top: 10px;
}

.mapCredit {
    font-weight: bold;
    position: absolute;
    z-index: 50;
    margin-left: 10px;
    margin-top: 300px;
}

.mapCreditOV {
    /* font-weight: bold; */
    position: absolute;
    z-index: 50;
    left: 20px;
    bottom: 50px;
}

#divRdoOV {
    z-index: 50;
    right: 10px;
    top: 50px;
    padding: 10px;
    position: absolute;
    background: white;
}

#divRdo {
    z-index: 50;
    margin: 50px 0 0 450px;
    padding: 10px;
    position: absolute;
    background: white;
}

#divRenderSymbolOV {
    z-index: 50;
    font-size: 12px;
    right: 10px;
    bottom: 10px;
    position: absolute;
    background: white;
    padding: 10px;
}

#divRenderSymbol {
    z-index: 50;
    font-size: 12px;
    margin: 280px 0 0 410px;
    position: absolute;
    background: white;
    padding: 10px;
}

#tblAccident {
    /*white-space: nowrap;*/
}

#btnIdentifyOV {
    cursor: pointer;
    position: absolute;
    width: 25px;
    height: 25px;
    z-index: 50;
    right: 10px;
    top: 10px;
}

#btnIdentify {
    cursor: pointer;
    position: absolute;
    width: 25px;
    height: 25px;
    z-index: 50;
    margin-left: 500px;
    margin-top: 10px;
}

#btnIdentify_2 {
    cursor: pointer;
    position: absolute;
    width: 25px;
    height: 25px;
    z-index: 50;
    margin-left: 500px;
    margin-top: 10px;
}

#accidentLoader {
    background: none repeat scroll 0 0 #D4D4D4;
    position: absolute;
    z-index: 51;
    opacity: 0.7;
    filter: alpha(opacity = 70);
}

#renderMapLoader {
    background: none repeat scroll 0 0 #D4D4D4;
    position: absolute;
    z-index: 100;
    opacity: 0.7;
    filter: alpha(opacity = 70);
}

.fontElementInmap {
    font-size: 12px;
}

.header {
    font-weight: bold;
    color: #78141b;
    height: 70px;
    font-size: 20px;
    padding-left: 20px;
}

.motcaption {
    font-weight: bold;
    color: #5f2607;
    padding: 20px;
    text-align: center; /*white-space: nowrap;*/
}

.motHeader {
    font-weight: bold;
    text-align: center;
}

.mapDiv {
    border: 1px solid black;
}


.symbolRec {
    width: 30px;
    height: 30px;
}
/*ผลลัพธ์ใน accident identify ใน infowindow*/
table.accidentIdenResult {
    font-size: 11px;
    border-collapse: collapse;
}

    table.accidentIdenResult td {
        border: 1px solid #D4D4D4;
    }

/*main table*/
table.mainTable {
    background: url("../images/bg56.png") no-repeat none 100 0; /*background-size: 100% 100%;*/ /*background: none repeat scroll 0 0 white;*/
    border-radius: 10px 10px 10px 10px;
    margin: 10px auto;
    padding: 10px;
}

table.contentTable {
    border-collapse: collapse;
    padding: 4px;
    width: 100%;
}

.grayBorder {
    /*border: 1px solid #D4D4D4;     border-collapse: collapse;*/
    padding: 10px;
}

.boldFont {
    font-weight: bold;
}
/*MIS Table*/
table.MISTable td, th {
    padding: 5px;
}

table.MISTable th {
    text-align: center;
    background-color: #95B3D7;
    font-weight: bold;
}

table.MISTable .bgBlue {
    background-color: #DCE6F1;
}

table.BlackBorderTable td, th {
    border: 1px solid black;
    border-collapse: collapse;
}

table.BlackBorderTable th {
    text-align: center;
    vertical-align: middle;
}

/*Telephone Table Style*/
table.telTable {
    background-color: #FFFFFF;
    border: 1px solid; /*border: 2px solid #21598F;*/
    border-collapse: collapse;
}

    table.telTable th {
        font-weight: bold;
        padding: 5px;
        text-align: center;
        border: 1px solid; /*border: 2px solid #21598F;*/
        background-color: #95B3D7;
    }

    table.telTable td {
        padding: 5px;
        border: 1px solid; /*border: 2px solid #21598F;*/
    }

    table.telTable .bgBlue {
        background-color: #DCE6F1;
    }

/*table Accdent by province*/
.accidentByProvTable {
    background-color: #FFFFFF;
    border-collapse: collapse;
}

.accidentHeader {
    width: 120px;
    font-weight: bold;
    vertical-align: middle;
    text-align: center;
}

.accidentDetail {
    width: 400px;
    vertical-align: top;
    text-align: left;
}

.accidentByProvTable tbody td {
    border: 1px solid black;
}

.accidentDetail .tblDetail td {
    border: none;
}

.accidentDetail .tblDetail {
    /*width:400px;*/
}

/*Loader Style*/
.loader {
    background: none repeat scroll 0 0 #EFEFEF;
    height: 100%;
    left: 0;
    margin: 0;
    padding: 0;
    position: fixed;
    top: 0;
    vertical-align: middle;
    width: 100%;
    z-index: 999;
    position: fixed;
}

.loaderInner {
    background-image: url("../images/loader_lg.gif");
    background-repeat: no-repeat;
    height: 32px;
    left: 50%;
    margin-left: -16px;
    margin-top: -16px;
    position: absolute;
    top: 50%;
    width: 32px;
}

.head-name-column-one {
    background-color: #E09993;
    text-align: left;
    font-weight: regular;
    font-size: 16px;
}

.head-name-column-second {
    background-color: lightblue;
    text-align: left;
    font-weight: regular;
    font-size: 16px;
}

.odd-table {
    background-color: #f8f8f8;
    border-top: 1px solid #dee0db;
    border-bottom: 1px solid #dee0db;
    /*height:48px;*/
}

.even-table {
    background-color: #DDDDFD;
    border-top: 1px solid #dee0db;
    border-bottom: 1px solid #dee0db;
    /*height:48px;*/
}

.even-tablenew {
    background-color: #FFCCCC;
    border-top: 1px solid #dee0db;
    border-bottom: 1px solid #dee0db;
    /*height:48px;*/
}

.table-txtInfo {
    margin: 0px;
    padding: 0px;
    width: 180px;
    /* box-shadow: 4px 4px 2px #888888; */
    border: 1px solid #000000;
    -moz-border-radius-bottomleft: 0px;
    -webkit-border-bottom-left-radius: 0px;
    border-bottom-left-radius: 0px;
    -moz-border-radius-bottomright: 0px;
    -webkit-border-bottom-right-radius: 0px;
    border-bottom-right-radius: 0px;
    -moz-border-radius-topright: 0px;
    -webkit-border-top-right-radius: 0px;
    border-top-right-radius: 0px;
    -moz-border-radius-topleft: 0px;
    -webkit-border-top-left-radius: 0px;
    border-top-left-radius: 0px;
}

/*#tblAccident
{
    font-size:12px;
}*/

.mapBtnAccident {
  /* font-weight: bold; */
  position: absolute;
  z-index: 45;
  left: 30px;
  top: 40px;
  background: #3498db;
  background-image: -webkit-linear-gradient(top, #3498db, #2980b9);
  background-image: -moz-linear-gradient(top, #3498db, #2980b9);
  background-image: -ms-linear-gradient(top, #3498db, #2980b9);
  background-image: -o-linear-gradient(top, #3498db, #2980b9);
  background-image: linear-gradient(to bottom, #3498db, #2980b9);
  -webkit-border-radius: 5px;
  -moz-border-radius: 5px;
  border-radius: 5px;
  color: #ffffff;
  font-size: 14px;
  font-family: 'Tahoma', sans-serif;
  padding: 5px 20px 5px 20px;
  text-decoration: none;
  text-align:center;
  cursor:pointer;
  width:60px;
}

.mapBtnAccident:hover {
  background: #3cb0fd;
  background-image: -webkit-linear-gradient(top, #3cb0fd, #3498db);
  background-image: -moz-linear-gradient(top, #3cb0fd, #3498db);
  background-image: -ms-linear-gradient(top, #3cb0fd, #3498db);
  background-image: -o-linear-gradient(top, #3cb0fd, #3498db);
  background-image: linear-gradient(to bottom, #3cb0fd, #3498db);
  text-decoration: none;
}

.mapBtnFlood {
  /* font-weight: bold; */
  position: absolute;
  z-index: 50;
  left: 30px;
  top: 80px;
  background: #3498db;
  background-image: -webkit-linear-gradient(top, #3498db, #2980b9);
  background-image: -moz-linear-gradient(top, #3498db, #2980b9);
  background-image: -ms-linear-gradient(top, #3498db, #2980b9);
  background-image: -o-linear-gradient(top, #3498db, #2980b9);
  background-image: linear-gradient(to bottom, #3498db, #2980b9);
  -webkit-border-radius: 5px;
  -moz-border-radius: 5px;
  border-radius: 5px;
  color: #ffffff;
  font-size: 14px;
  font-family: 'Tahoma', sans-serif;
  padding: 5px 20px 5px 20px;
  text-decoration: none;
  text-align:center;
  cursor:pointer;
  width:60px;
}

.mapBtnFlood:hover {
  background: #3cb0fd;
  background-image: -webkit-linear-gradient(top, #3cb0fd, #3498db);
  background-image: -moz-linear-gradient(top, #3cb0fd, #3498db);
  background-image: -ms-linear-gradient(top, #3cb0fd, #3498db);
  background-image: -o-linear-gradient(top, #3cb0fd, #3498db);
  background-image: linear-gradient(to bottom, #3cb0fd, #3498db);
  text-decoration: none;
}

.mapProvinceDiv 
{
    width:100%;
    height:100%;
    z-index:10;
}

.btnAccident {
  font-weight: bold;
  background: #3498db;
  background-image: -webkit-linear-gradient(top, #3498db, #2980b9);
  background-image: -moz-linear-gradient(top, #3498db, #2980b9);
  background-image: -ms-linear-gradient(top, #3498db, #2980b9);
  background-image: -o-linear-gradient(top, #3498db, #2980b9);
  background-image: linear-gradient(to bottom, #3498db, #2980b9);
  -webkit-border-radius: 5px;
  -moz-border-radius: 5px;
  border-radius: 5px;
  color: #ffffff;
  font-size: 14px;
  font-family: 'Tahoma', sans-serif;
  padding: 5px 20px 5px 20px;
  text-decoration: none;
  text-align:center;
  cursor:pointer;
  width:140px;
}

.btnAccident:hover {
  background: #3cb0fd;
  background-image: -webkit-linear-gradient(top, #3cb0fd, #3498db);
  background-image: -moz-linear-gradient(top, #3cb0fd, #3498db);
  background-image: -ms-linear-gradient(top, #3cb0fd, #3498db);
  background-image: -o-linear-gradient(top, #3cb0fd, #3498db);
  background-image: linear-gradient(to bottom, #3cb0fd, #3498db);
  text-decoration: none;
}