/* Below line is used for online Google font */
@import url(http://fonts.googleapis.com/css?family=Raleway);

div {
  border: 0px solid;
  margin-left: 0px;
}


.map
{
    margin-top:0px;
    position:absolute; 
    top:0px; 
    left:0px;
    width:100%;
    height:100%;
    z-index:-1;
}

.title{
    position:absolute; 
    top:10px; 
    left:50px;
    z-index:1;
}

.systemname  {
    position:absolute; 
    margin-top :10px;
    margin-left:0px;
    top:0px;
    left:150px;
}

/*.DeviceChecked {
    position:absolute; 
    margin-top :50px;
    margin-left:0px;
    top:0px;
    left:0px;
}*/

.UserName {
    width : 200px;
}


span{ 
    padding:10px;
    /*background-color: #FF0;
    border: 1px solid #FC0;*/
    display:inline-block; 
}
 
.auto-style2 .auto-style2 .hide-in-phone .active .SearchBox .hide-in-phone {
    display:block; 
}

/*#sessionID {
    display: none;
    opacity : 0.1;
}*/

/***自訂2段CSS**  自訂1-先預設是隱藏*/ 
/*.hide-in-phone{max-width: 600px}  
..grid-container{
    display:none;
}*/

 /*自訂2-若寬度大於480px就顯示*/ 
/*@media screen and (max-width: 600px) {
  hide-in-phone {
    display: none;
  }
}*/

.hide-in-phone {
    float : right;
    opacity : 0.5;
}

#QUERYSEQNO {
font-size: 16px;
background: linear-gradient(#ffbc00 5%, #ffdd7f 100%);
border: 1px solid #e5a900;
color: #4E4D4B;
font-weight: bold;
cursor: pointer;
width: 50px;
border-radius: 5px;
padding: 0px 0;
outline:none;
}

#QUERYSEQNO:hover {background: linear-gradient(#ffdd7f 5%, #ffbc00 100%);}

.grid-container {    
    position : absolute;
    margin: 0px;
    height : 650px;
    background-color: hsla(89, 43%, 51%, 1);
    width :350px;
    margin-left:0px;
    margin-top:0px;
    top : 65px;
    overflow : hidden;
    left: 0px;
    box-shadow:3px 3px 5px 6px #cccccc;
    border-style:solid;
	border-color:#98bf21;
    display:none;
    opacity : 1;
}

.sidebar{
  position: relative;
  width : 400px;
  top: 10px;
  left: 10px;
  height : auto;
  float : left;
  color:rgb(102, 0, 17);
  background-color:white ;
  padding: 0px 0;
  z-index: 1;
  margin:0;
  border-style: outset;
  /* visibility: hidden;   */
  /* visibility: visible; */
  border-radius: 5px;

}




.SearchBox a {
  float: left;
  display: inline-block;
  color: black;
  text-align: left;
  padding: 3px 3px;
  text-decoration: none;
  font-size: 13px;  
}

.SearchBox a:hover {
  background-color: #ddd;
  color: black;
}

.SearchBox a.active {
  background-color: #2196F3;
  color: white;
  font-size: 10px;  
}

/*.SearchBox .search-container {
  float: right;
  margin: 5px;
  margin-top: 0px;
  /*width : 150px;*/
}*/

/*.SearchBox input[type=text] {
  padding: 3px;
  margin-top: 3px;
  font-size: 15px;
  border: none;
}*/

/*.SearchBox .search-container button {
  display: inline-block;
  float: right;
  padding: 3px 3px;
  margin-top: 0px;
  margin-right: 3px;
  background: #aaa;
  font-size: 15px;
  border: none;
  cursor: pointer;
}*/

/*.SearchBox .search-container button:hover {
  background: #ccc;
}*/

/*#logo {
  position: absolute;  
  top: 20px;
  left:20px;
  margin : 0px;
}*/

#address {
    opacity : 1;
}

.logo {
    position: absolute;
    top : 10px;
    left : 5px;
    margin:0px;
}

.rightPanel {  
    border:1px;
  color: white;
  padding: 14px 28px;
  font-size: 16px;
  cursor: pointer;
    position : absolute;
    top : 50px;
    right : 20px;
    float : right;
    width : 40px;
    margin : 5px;
    margin-top : 5px;
}

.success {background-color: #4CAF50;} /* Green */
.success:hover {background-color: #46a049;}

.info {background-color: #2196F3;} /* Blue */
.info:hover {background: #0b7dda;}

.warning {background-color: #ff9800;} /* Orange */
.warning:hover {background: #e68a00;}

.danger {background-color: #f44336;} /* Red */ 
.danger:hover {background: #da190b;}

.default {background-color: #e7e7e7; color: black;} /* Gray */ 
.default:hover {background: #ddd;}

.Coordinate {
 position: absolute;
 float : right;
 bottom: 30px;
 right : 180px;
 display:inline-block; 
 width : 250px;
 /*background-color: white;*/
}


#mouse-position  {
width : 200px;
 display:inline-block; 
}

/*#digitalScale {
 position: absolute;
 float : left;
 bottom: 30px;
 left : 100px;
 display:inline-block; 
 width : 200px;
}*/


.risk-container, .Customer-container, .Excavation-container {
    position: absolute;
    margin: 0px;
    height: 800px;
    background-color: hsla(89, 43%, 51%, 1);
    width: 530px;
    margin-left: 0px;
    margin-top: 0px;
    top: 65px;
    overflow: hidden;
    left: 0px;
    box-shadow: 3px 3px 5px 6px #cccccc;
    border-style: solid;
    border-color: #98bf21;
    display: none;
    opacity: 1;
    border: 1px;
}

.risk-sidebar, .Customer-sidebar {
    position: relative;
    width: 500px;
    top: 10px;
    left: 10px;
    height: auto;
    float: left;
    color: rgb(102, 0, 17);
    background-color: white;
    padding: 0px 0;
    z-index: 1;
    margin: 0;
    border-style: outset;
    /* visibility: hidden;   */
    /* visibility: visible; */
    border-radius: 5px;
}

.Excavation-sidebar {
    position: relative;
    width: 500px;
    top: 10px;
    left: 10px;
    height: auto;
    float: left;
    color: rgb(102, 0, 17);
    background-color: white;
    padding: 0px 0;
    z-index: 1;
    margin: 0;
    border-style: outset;
    /* visibility: hidden;   */
    /* visibility: visible; */
    border-radius: 5px;
}

#seqno, #CustomerAddress {
    border : 1px solid black;
}

#CustomerAddress {
    width : 350px;
}

#RiskRelation {
    height : 530px;
}

#RiskControls table, #RiskDevices table, #RiskCustomersPercent table, #RiskCustomers table, #CustomerAddressQueryPercent table, #PIpeCustomerAddress table, #ExcavationTable table, #FinalResultTable table {
    font-family: Arial, Helvetica, sans-serif;
    border-collapse: collapse;
    width: 100%;
}

#RiskControls td, #RiskControls th, #RiskDevices td, #RiskDevices th, #RiskCustomers td, #RiskCustomers th, #RiskCustomersPercent td, #RiskCustomersPercent th, #CustomerAddressQueryPercent th, #PIpeCustomerAddress td, #PIpeCustomerAddress th, #ExcavationTable td, #ExcavationTable th, #FinalResultTable td, #FinalResultTable th {
    border: 1px solid #ddd;
    text-align: left;
    padding: 8px;
}

#RiskControls tr:nth-child(even), #RiskDevices tr:nth-child(even), #RiskCustomers tr:nth-child(even), #RiskCustomersPercent tr:nth-child(even), #CustomerAddressQueryPercent tr:nth-child(even), #PIpeCustomerAddress tr:nth-child(even), #ExcavationTable tr:nth-child(even), #FinalResultTable tr:nth-child(even) {
    background-color: #f2f2f2;
}

#RiskControls tr:hover, #RiskDevices tr:hover, #RiskCustomers hover, #RiskCustomersPercent hover, #CustomerAddressQueryPercent hover, #PIpeCustomerAddress hover, #ExcavationTable hover, #FinalResultTable hover {
    background-color: #ddd;
}

#RiskControls th, #RiskDevices th, #RiskCustomers th, #RiskCustomersPercent th, #CustomerAddressQueryPercent th, #PIpeCustomerAddress th, #ExcavationTable th, #FinalResultTable th {
    padding-top: 12px;
    padding-bottom: 12px;
    text-align: left;
    background-color: #f0f2a0;
    color: black;
}

tr:nth-child(even) {
    background-color: #dddddd;
}

.my-custom-scrollbar {
position: relative;
height: 500px;
overflow: auto;
}
.table-wrapper-scroll-y {
display: block;
}

#RiskProcessing {   
    display:inline-block;
}

#loader {
  border: 16px solid #f3f3f3;
  border-radius: 50%;
  border-top: 16px solid #3498db;
  width: 50px;
  height: 50px;
  -webkit-animation: spin 2s linear infinite; /* Safari */
  animation: spin 2s linear infinite;
  display:inline-block;
}

/* Safari */
@-webkit-keyframes spin {
  0% { -webkit-transform: rotate(0deg); }
  100% { -webkit-transform: rotate(360deg); }
}

@keyframes spin {
  0% { transform: rotate(0deg); }
  100% { transform: rotate(360deg); }
}

#street-view {
  height: 500px;
  width : 500px;
  background-color: #f2f2f2;
  z-index : inherit;
  visibility : hidden;
}

#chromelessPopup {
    height: 400px; 
    width: 340px; 
    border: 2px solid #000; 
    position: absolute; 
    top: 10%; 
    left: 35%;
    padding : 0px;
    margin : 0px;
}

#longitude, #latitude {
    visibility:hidden;
}

.caret {
  cursor: pointer;
  -webkit-user-select: none; /* Safari 3.1+ */
  -moz-user-select: none; /* Firefox 2+ */
  -ms-user-select: none; /* IE 10+ */
  user-select: none;
}

.caret::before {
  content: "\25B6";
  color: black;
  display: inline-block;
  margin-right: 6px;
}

.caret-down::before {
  -ms-transform: rotate(90deg); /* IE 9 */
  -webkit-transform: rotate(90deg); /* Safari */'
  transform: rotate(90deg);  
}

.SearchSeqnoButtonKey {
  -background-color: #f44336;
}

.SearchSeqnoButton{
  background-color: #e7e7e7; 
  color: black;
}

.SessionID, .UserName, .DisplayName {
  visibility : hidden;
  display : none;
}

@media screen and (max-width:900px) {
    .Area {
        margin: 0px;
        display: inline;
        visibility: hidden;
    }

    .SearchBox {
        position: fixed;
        top: 15px;
        left: 55px;
        float: right;
        color: white;
        background-color: white;
        padding: 0px 0;
        z-index: 1;
        margin: 0;
        opacity: 1;
        font-size: 12px;
        width: 350px;
        display: inline-block;
        opacity: 0.8;
    }

} 

@media screen and (min-width:900px) {

    .Area {
        margin: 0px;
        display: inline;
        visibility: visible;
    }

    .SearchBox {
        position: fixed;
        top: 15px;
        left: 55px;
        float: right;
        color: white;
        background-color: white;
        padding: 0px 0;
        z-index: 1;
        margin: 0;
        opacity: 1;
        font-size: 12px;
        width: 400px;
        display: inline-block;
        opacity: 0.8;
    }

}

.customHr {
    width: 95% font-size: 1px;
    color: rgba(0, 0, 0, 0);
    line-height: 1px;
    background-color: grey;
    margin-top: -6px;
    margin-bottom: 10px;
}

.no-outline {
    border: none;
    outline: none;
}




#radio input[type="radio"] {
    display: none;
}

#radio input:checked + .button {
    background: #5e7380;
    color: #fff;
    cursor: default;
}

#radio .button {
    display: inline-block;
    margin: 0 5px 10px 0;
    padding: 5px 10px;
    background: #f7f7f7;
    color: #333;
    cursor: pointer;
}

 #radio .button:hover {
        background: #bbb;
        color: #fff;
    }

#radio .round {
    border-radius: 5px;
}

#UserNameView {
    display: inline;
    font-size: 15px;
}