.outerbox {
}
#modformdiv, #rmkmodformdiv{
  background:#000; opacity:0.9;width:100%;height:100%; position:fixed; top:0; left:0; z-index:999; display:none;
}
#modform, #rmkmodform{
  margin:20px auto; padding:10px; border:3px #cyan solid; 
  opacity:1; visibility: 100%;
  top:30px; width:90%; max-width: 500px; background-color:white; display:none;
}
#addform{
  margin:20px 10px; padding:10px; border:3px #BBB solid; display:none;
}

.workbody {
  margin-bottom:20px;
}


/* MyDns */
.manyzonesdiv {
background:#c2def9; padding:5px;
}
.onezonediv{
 display:inline-block; width:45%; min-width:350px; margin:10px;padding:10px;font-size:1.5em; background:#fff;
 position:relative;
}

.onezonediv:hover {
  background:#3e70a3; color:white;
}
.onezonenotice {
  background: #f1f2b0;
} 

/* MyZone */
.zoneremark {
  color: #aaa; padding:2px; text-align:right; 
} 

.recentmodtr {
  background: lightgreen;
}

.rrtable {
  width:100%;
  border-spacing: 0;
  border-collapse: collapse;
  border: 3px solid #A99;
  margin-top:10px;
}
.rrtable tr td, .rrtable tr th {

  word-wrap: break-word;
  overflow:hidden;
  padding: 5px;
  border: 1px solid #AAA;
  max-width:400px; 
}
.rrtable thead tr th {
    cursor: pointer;
}

.rrtable tr:hover {
  background: #EFE; 
}
.docsdiv h3 {
  line-height: 0.8em;
}
.docsdiv {
  background: #FEE; margin-top:10px;padding: 3px 5px 12px; position:relative;
}
.col_rrname {
    max-width:100px !important;
}
.col_mng { min-width:70px; }
.col_rdata { max-width:400px; } 
#centermsg { z-index:9999;position: fixed; top:50%; left:50%; margin-left:-200px; margin-top:-200px; background:black; opacity:0.82; display:none; width:400px; padding:10px; height:350px; }
#msgbody { background: black; opacity:1; color:white;}
#closemsg { opacity:1; color:yellow; float: right;  text-align:right; cursor:pointer; }
.noticespan { color: #a1ff00; }
.successspan { color:white; background-color:green; padding:2px; }
.warningspan { color:white; background-color:orange; padding:2px; }

/* AllZone */
.modeltab { font-size:0.6em; border:1px #DDD solid;
  border-top-left-radius: 6px;
  border-top-right-radius: 6px;
  padding:2px 10px;
}
.unithint { color:#CCC; font-size:0.7em; position:absolute; bottom:1px; right:3px; } 
.zonedisabled {   background: #DDD; }
.zonedisabled:hover {
  background:#be9043; color:white;
}

/* AllRecord */
.schoolspan {
  background:#c3f7f7; color:navy; padding:2px;
}

/* STAT */
.outerbox.stat h1{
  font-size:1.2em; color:#12bc23;
  border-bottom: 1px solid #12bc23;
}

.outerbox.stat section h2{
  font-size:2em; color:#5abadd;
}

.outerbox.stat section div{
  color:#a01897;
  font-size:1.3em;
  padding-left:1%;
  padding-right:6%;
  margin:10px 0 10px 10px;
  border-left: 50px solid #f7caf5;
  position:relative; 
}

.outerbox.stat section div em{
  color:white;
  margin-left:-45px;
  margin-right:20px;
  vertical-align:middle ;
  text-orientation: sideways;;
  writing-mode: vertical-lr;
  transform: rotate(-180deg);
}
.outerbox.stat section div i{
  position:absolute;
  top:3px;
  left:-45px;
  padding:0 6px;
  color:white;
  background-color: #ecafe9;
  border:white solid 1px;
  z-index:9999;
}

.outerbox.stat section{
  font-size: 1.2em;
}

.outerbox.stat section.blue div{
  border-left: 50px solid #c8dcf4;  
}

.outerbox.stat section.blue div i{
  background-color: #a8bce4;
}
.outerbox.stat .ratio{
  font-weight: bold;
  color:#c418db;
}

.outerbox.stat img {
  width:92%;
  text-align:center;
}




@media(max-width:410px){
  .onezonediv{
    width:90%;  max-width:300px; min-width:250px;
  }
  .manyzonesdiv{
    width:100%;
    max-width:340px;
  }
  .col_rdata { max-width:120px !important;  }
  .col_rrname {
    max-width:90px !important;
  }
  .col_ttl {
    display:none;
  }
  .rrtable { font-size:0.85em; }

}
@media(max-width:690px){
  .zoneremark { display:none;  }
  .col_rdata { width:200px; max-width:200px;}
  .rrtable { font-size:0.92em; }

  .outerbox.stat section div i { font-size:80%;}
  .outerbox.stat section div em{ font-size:80%;}
  .outerbox.stat img { width:100%; } 
  .outerbox.stat section div{   padding-right:1%; }

}
@media(max-width:1000px){
  .col_ttl { display:none;  }
  .col_rdata { max-width:330px; }
}

