@media screen and (max-width: 650px) {
	fieldset {
		width:95%;
	}
	.admin_menu{
		width:100%;
	}
	.menu_font{
		font-size:11px;
	}
	.title_font{
		font-size:10px;
	}
	.content_font{
		font-size:10px;
	}
	div.searchshow{
		width:90%;
	}
	.lp_coname{
		text-align: center;
	}
	.lp_atext{
		text-align: center;
	}
}
@media screen and (min-width: 650px) {
	.admin_menu{
		width:150px;
	}
	div.searchshow{
		width:97%;
	}
	.lp_coname{
		text-align: right;
	}
	.lp_atext{
		text-align: left;
	}
}

div.windows_main{
	position:fixed;
	border:2px solid #C3D1EC;
	background-color: #FFFFFF;
	border-radius: 2px;
	text-align: left;
	z-index: 222222;
	top: 5vh;
	left: 8vw;
	width: 91vw;
	height: 94vh;
	max-width: 91vw;
	max-height: 94vh;
	overflow:hidden;
}

div.windows_main:hover{
	z-index:555555 !important;
}

div.windows_comment{
	position:relative;
	width: 100%;
	max-width: 100%;
	height: 92%;
	max-height: 92%;
	overflow:auto;
}

div.windows_dropdown{
	position: relative;
	display: inline-block;
}

div.windows_dropdown_content {
  display: none;
  position: absolute;
  min-width: 100px;
  box-shadow: 0px 8px 16px 0px rgba(0,0,0,0.2);
  z-index: 1;
}

div.windows_dropdown:hover div.windows_dropdown_content {
  display: block;
}

div.windows_dropdown_content a {
  color: black;
  padding: 12px 10px;
  text-decoration: none;
  display: block;
}

div.windows_dropdown_content a:hover {background-color: #f1f1f1}


ul {
  list-style: none;
  padding: 0;
  margin: 0;
  z-index: 1;
}

ul li {
  display: block;
  position: relative;
  float: left;
}

/* This hides the dropdowns */


li ul { display: none; }

ul li a {
  display: block;
  padding: 5px 15px;
  text-decoration: none;
  white-space: nowrap;
  color: #000;
}

ul li a:hover { background: #8a8a8a;text-decoration: none;color: #FFF; }

/* Display the dropdown */

ul li ul li{
	width: 100px;
}

li:hover > ul {
  display: block;
  position: absolute;
}

li:hover li { float: none; }

li:hover a { background: #f1f1f1;text-decoration: none;color: #000; }

li:hover li a:hover { background: #8a8a8a;white-space: nowrap;color: #FFF; }

.main-navigation li ul li { border-top: 0; }

/* Displays second level dropdowns to the right of the first level dropdown */


ul ul ul {
  left: 100%;
  top: 0;
}

/* Simple clearfix */



ul:before,
ul:after {
  content: " "; /* 1 */
  display: table; /* 2 */
}

ul:after { clear: both; }

span.i_blank{ width:5px;display: inline-block; }


.mmenu_top{
	position: fixed;
	width: 100%;
	height: 40px;
	max-height: 40px;
	z-index:444444;
}

.pointer {cursor: pointer;}

.mmain_content{
	padding-top: 40px;
	//overflow-x: auto;
	width: 100vw;
	min-width: 100vw;
}

.mh_control{
	max-height: 400px;
	overflow-y: auto;
}

a{
	text-decoration: none;
	color: #4189fc;
}

.admin_menu{
  padding-top: 42px;
  z-index:333333;
  position: fixed;
  top: 0;
  height: 100%;
  vertical-align: middle;
  //background-color: #FF0000;
  color: #FFF;
}

.admin_menu a:hover{
background-color: #FFF;
color:#FFF;
}
.admin_menu a{
text-decoration:none;
color: #FFF;
outline:none;
}

div.main_menu_button{
   margin-left: auto;
   margin-right: auto;
   vertical-align: middle;
   border-bottom: 1px solid #000; 
   width:100%;
   padding-top: 7px;
   line-height: 40px;
   height:40px;
   cursor: pointer;
   border-radius: 1px;
   color: #FFF;
   font-weight: bold;
}

div.main_menu_button_sub{
   margin-left: auto;
   margin-right: auto;
   display: none;
   width: 100%;
   border:1px solid #000;
   text-align: center;
   color: #000;
}

div.admin_menu_sbutton{
	color: #FFF;
	font-size: 14px;
	font-family:Impact, fantasy;
	letter-spacing:6px;
	transform: rotate( -90deg );
	margin-top: -50px;
	margin-left: 112px;
	z-index:3;
    position: fixed;
	cursor: pointer;
	height: 220px;
	width: 300px;
}

div.admin_menu_sbutton:hover{
	color: #FF0000;
}

td.link:hover {
background-color: #fff4ff;
cursor: pointer;
color: #000;
}


a.button{
   background: #000;
   padding: 3px;
   border-radius: 0;
   color: #FFF;
   cursor: pointer;
}

.bgolorcha{
   background: #ffffff; /* Old browsers */
   background: -moz-linear-gradient(left, #ffffff 0%, #000000 100%); /* FF3.6-15 */
   background: -webkit-linear-gradient(left, #ffffff 0%,#000000 100%); /* Chrome10-25,Safari5.1-6 */
   background: linear-gradient(to right, #ffffff 0%,#000000 100%); /* W3C, IE10+, FF16+, Chrome26+, Opera12+, Safari7+ */
}

input.calendar{
    width: 90px;
    background: #FFFFFF url(../images/calendar.png) no-repeat;
    background-position: 5px -7px !important;
    padding: 2px 2px 2px 24px;
}

input[type=radio] {
    display:none;
}
 
input[type=radio] + label {
    display:inline-block;
	font-size: 14px;
    margin:-2px;
    padding: 4px 12px;
    margin-bottom: 0;
    line-height: 20px;
    color: #333;
    text-align: center;
    text-shadow: 0 1px 1px rgba(255,255,255,0.75);
    vertical-align: middle;
    cursor: pointer;
    background-color: #f5f5f5;
    background-image: -moz-linear-gradient(top,#fff,#e6e6e6);
    background-image: -webkit-gradient(linear,0 0,0 100%,from(#fff),to(#e6e6e6));
    background-image: -webkit-linear-gradient(top,#fff,#e6e6e6);
    background-image: -o-linear-gradient(top,#fff,#e6e6e6);
    background-image: linear-gradient(to bottom,#fff,#e6e6e6);
    background-repeat: repeat-x;
    border: 1px solid #ccc;
    border-color: #e6e6e6 #e6e6e6 #bfbfbf;
    border-color: rgba(0,0,0,0.1) rgba(0,0,0,0.1) rgba(0,0,0,0.25);
    border-bottom-color: #b3b3b3;
    filter: progid:DXImageTransform.Microsoft.gradient(startColorstr='#ffffffff',endColorstr='#ffe6e6e6',GradientType=0);
    filter: progid:DXImageTransform.Microsoft.gradient(enabled=false);
	-moz-border-radius: 5px;
    -webkit-border-radius: 5px;
    border-radius: 5px;
    -webkit-box-shadow: inset 0 1px 0 rgba(255,255,255,0.2),0 1px 2px rgba(0,0,0,0.05);
    -moz-box-shadow: inset 0 1px 0 rgba(255,255,255,0.2),0 1px 2px rgba(0,0,0,0.05);
    box-shadow: inset 0 1px 0 rgba(255,255,255,0.2),0 1px 2px rgba(0,0,0,0.05);
}

input[type=radio]:checked + label {
       background-image: none;
	   font-weight: bold;
	   color: #E60000;
    outline: 0;
    -webkit-box-shadow: inset 0 2px 4px rgba(0,0,0,0.15),0 1px 2px rgba(0,0,0,0.05);
    -moz-box-shadow: inset 0 2px 4px rgba(0,0,0,0.15),0 1px 2px rgba(0,0,0,0.05);
    box-shadow: inset 0 2px 4px rgba(0,0,0,0.15),0 1px 2px rgba(0,0,0,0.05);
        background-color:#e0e0e0;
}

input.data{
    width: 90px;
}

input.number{
    width: 45px;
}


input.fee{
    width: 70px;
}

input, textarea, select {
    padding: 2px;
    border: 1px solid #F5F5F5;
    -moz-border-radius: 2px;
    -webkit-border-radius: 2px;
    border-radius: 2px;
    -moz-box-shadow: 0 1px 1px #ccc inset, 0 1px 0 #fff;
    -webkit-box-shadow: 0 1px 1px #CCC inset, 0 1px 0 #FFF;
    box-shadow: 0 1px 1px #CCC inset, 0 1px 0 #FFF;
}

input.longchar{
   width: 1000px;	
}

input, textarea {
    width: 200px;
	font-size: 13px;
}

textarea.doctextarea{
	width: 100%;
}

table.main_table tr:hover {
background-color: #fff4ff;
}

fieldset {
background:#FFF;
padding:10px;
border:1px solid #FFF;
//border-color:#fff #666661 #666661 #fff;
margin-bottom:20px;
margin-left: auto;
margin-right: auto;
border-radius: 2px;
width:50%;
}

fieldset.action {
background:#FFFFFF;
border-color:#FFFFFF;
margin-top:-20px;
}

fieldset.action2 {
background:#FFFFFF;
border-color:#e9e9e9;
}

legend {
text-align: left;
background:#000;
color:#FFF;
padding: 5px;
margin:-26px 0 0 -11px;
border:1px solid #000;
font-size:14px;
}

fieldset table { 
margin: auto;
//border:1px solid #8e8e8e;
width:99%;
height:95%;
padding:0px;
border-radius: 2px;
border-collapse: collapse;
}

fieldset.tableview {
width: 95%;
}

fieldset table tr:hover {
background-color: #e9e9e9;
}

fieldset table tr td {
border:1px solid #e9e9e9;
//padding:5px;
vertical-align: top;
}
td.dt {text-align:right; width:100px;vertical-align: top;color:5E5E5E;}
td.dd {text-align:left;padding-left:10px;vertical-align: top;}

div.searchshow
{
	    position:absolute;
		//margin-left:-48%;
        //width:97%;
        border:1px #CCC solid;
        display:inline;	
        z-index:1;		
}

div.searchshow_doc{
	    position:absolute;
        width:24%;
        border:1px #CCC solid;
        display:inline;	
        z-index:1;	
}

div.searchshow_pro{
	    position:absolute;
        width:74%;
        border:1px #CCC solid;
        display:inline;	
        z-index:1;	
}

div.searchshow_pro2{
	    position:absolute;
        width:99%;
        border:1px #CCC solid;
        display:inline;	
        z-index:1;	
}

div.showDetail {
  background-color: #FFFFFF;
  position:absolute;
  border:1px solid #C3D1EC;
  border-radius: 5px;
  text-align: left;
  padding: 3px 3px 3px 3px;
  z-index:10;
}

div.docshowDetail {
  width: 700px;
  height: 700px;
  background-color: #FFFFFF;
  position:absolute;
  border:1px solid #8e8e8e;
  border-radius: 1px;
  text-align: left;
  padding: 10px 10px 10px 10px;
}

div.docshowDetailD {
  width: 99%;
  height: 99%;
  max-width: 99%;
  max-height: 99%;
  background-color: #FFFFFF;
  //border:1px solid #8e8e8e;
  border-radius: 1px;
  text-align: left;
  line-height: 21px;
  display: inline-block;
}

div.showDetail_client{
	width: 100%;
}

div.msg_show{
	z-index: 5;
	position: absolute;
	margin-top: -25px;
	margin-left: 92px;
	font-size:xx-small;
	background-color: red;
	color: white;
	height: 13px;
	width: 13px;
	padding: 2px;
	border: 2px solid red;
    border-radius: 6px;
	line-height:12px;
}

button.doc_input_button{
	height: 17px;
}

ul.a {list-style-type: none;}

div.foldermenu{
	width: 30%;
	height:100vh;
	text-align: left;
	overflow:auto;
	float:left;
}

div.fileclass{
	width: 70%;
	height:100vh;
	text-align: center;
	overflow:auto;
	float:left;
}

.tableFixHead          { overflow-y: auto; height: 100px; }
.tableFixHead thead th { position: sticky; top: 0;  }

div.fixtable {
  max-width: 100%;
  max-height: 780px;
  overflow: scroll;
}


/* Use position: sticky to have it stick to the edge
 * and top, right, or left to choose which edge to stick to: */

div.fixtable thead th {
  position: -webkit-sticky; /* for Safari */
  position: sticky;
  top: 0;
}

div.fixtable tbody th {
  position: -webkit-sticky; /* for Safari */
  position: sticky;
  left: 0;
}


/* To have the header in the first column stick to the left: */

div.fixtable thead th:first-child {
  left: 0;
  z-index: 1;
}


/* Just to display it nicely: */

div.fixtable thead th {
  background: #000;
  color: #FFF;
}

div.fixtable tbody th {
  background: #FFF;
  border-right: 1px solid #CCC;
}

table {
  border-collapse: collapse;
}

