/* Main */
#menu{
	width: 100%;
	margin: 0;
	padding: 10px 0 0 0;
	list-style: none;  
	background: #103965;
	box-shadow: 0 2px 1px #9c9c9c;
}

#menu li{
	float: left;
	padding: 0 0 10px 0;
	position: relative;
}

#menu a{
	float: left;
	height: 25px;
	padding: 0 25px;
	color: #fff;
	text-transform: uppercase;
	font: bold 12px/25px Arial, Helvetica;
	text-decoration: none;
	text-shadow: 0 1px 0 #000;
}

#menu li:hover > a{
	color: rgba(255, 202, 0, 0.92);
}



*html #menu li a:hover{ /* IE6 */
	color: #fafafa;
}

#menu li:hover > ul{
	display: block;
}

/* Sub-menu */

#menu ul{
    list-style: none;
    margin: 0;
    padding: 0;    
    display: none;
    position: absolute;
    top: 35px;
    left: 0;
    z-index: 99999;    
    background: #444;
   
}

#menu ul li{
    float: none;
    margin: 0;
    padding: 0;
    display: block;  
    box-shadow: 0 1px 0 #111111, 0 2px 0 #777777;
}

#menu ul li:last-child{   
    box-shadow: none;    
}

#menu ul a{    
    padding: 10px;
    height: auto;
    line-height: 1;
    display: block;
    white-space: nowrap;
    float: none;
    text-transform: none;
}

*html #menu ul a{ /* IE6 */   
	height: 10px;
	width: 150px;
}

*:first-child+html #menu ul a{ /* IE7 */    
	height: 10px;
	width: 150px;
}

#menu ul a:hover{
        background: #0186ba;
}

#menu ul li:first-child a{
    border-radius: 5px 5px 0 0;
}

#menu ul li:first-child a:after{
    content: '';
    position: absolute;
    left: 30px;
    top: -8px;
    width: 0;
    height: 0;
    border-left: 5px solid transparent;
    border-right: 5px solid transparent;
    border-bottom: 8px solid #444;
}

#menu ul li:first-child a:hover:after{
    border-bottom-color: #04acec; 
}

#menu ul li:last-child a{
    -moz-border-radius: 0 0 5px 5px;
    -webkit-border-radius: 0 0 5px 5px;
    border-radius: 0 0 5px 5px;
}

/* Clear floated elements */
#menu:after{
	visibility: hidden;
	display: block;
	font-size: 0;
	content: " ";
	clear: both;
	height: 0;
}

* html #menu             { zoom: 1; } /* IE6 */
*:first-child+html #menu { zoom: 1; } /* IE7 */

/***** top menu add :: 2016.12.22. :: kh :: s. *****/
#top_menu {
	padding: 10px 0 0 0;
	margin: 3px 0 0 0;
	border-right: 1px solid #999;
	float: left;
	border-left: 1px solid #ababab;
	background: #103965;
	list-style: none;  
	width: 100%;
}

#top_menu li{
	float: left;
	padding: 0 0 10px 10px;
	position: relative;
}

#top_menu a{
	float: left;
	height: 25px;
	padding: 0 25px;
	color: #fff;
	text-transform: uppercase;
	font: 14px/25px Arial, Helvetica;
	text-decoration: none;
}

#top_menu li:hover > a{
	color: #FF9800;
	font-weight: bold;
}

#top_menu li:hover > ul{
	display: block;
}

#top_menu li.active > a{
	color: #FF9800;
	font-weight: bold;
	display:block;
    z-index: 9;
}

#top_menu li.active > ul{
	color: #FF9800;
	display:block;
    z-index: 9;
}

#top_menu li.deactive > a{
	color: gray;
	display:block;
    z-index: 9;
}

/* Sub-menu */

#top_menu ul{
    list-style: none;
    margin: 0;
    padding: 10px 0 0 0;    
	display: none;
    position: absolute;
    top: 35px;
	height:40px;
	width:500px;
    left: 0;
    z-index: 999;
}

#top_menu ul.top_menu_sub1{
    list-style: none;
    margin: 0px 0 0 5px;
    padding: 10px 0 0 0;
	display: none;
    position: absolute;
    top: 36px;
	height:40px;
	width:790px;
    left: 0;
    background: white;
}

#top_menu ul.top_menu_sub2{
    list-style: none;
    margin: 0px 0 0 -90px;
    padding: 10px 0 0 60px;    
	display: none;
    position: absolute;
    top: 36px;
	height:38px;
	width:730px;
    left: 0;
    background: white;
}
#top_menu ul.top_menu_sub3{
    list-style: none;
    margin: 0px 0 0 0px;
    padding: 10px 0px 10px 0px;    
	display: none;
    position: absolute;
    top: 36px;
	height:38px;
	width:450px;
    left: 0;
    background: white;
}
#top_menu ul.top_menu_sub4{
    list-style: none;
    margin: 0px 0 0 -901px;
    padding: 10px 0 0 10px;
	display: none;
    position: absolute;
    top: 36px;
	height:38px;
	width:763px;
    left: 0;
    background: white;
}

#top_menu ul li{
    float: left;
    margin: 0;
    padding: 0 10px 0 2px;
    display: block;
    background: #FFF;
}

#top_menu ul a{
	color:black;
    padding: 10px;
    height: auto;
    line-height: 1;
    display: block;
    white-space: nowrap;
    float: none;
    text-transform: none;
}

/***** top menu add :: 2016.12.22. :: kh :: e. *****/


/***** Admin Sub Menu :: 2017.10.12. :: kh. :: s. ******/
#admin_sub_menu {
/*    float: none;*/
/*	padding-top: 40px;*/
/*    position: absolute;*/
	margin:0px;
	padding-top: 110px;
	padding-left: 20px;
	padding-right: 20px;
	text-align: left;
	border-left: 1px solid #ababab;
	border-right: 1px solid #ababab;
}

#admin_sub_menu .sub_title{
	float:left;
	padding-right: 20px;
	font-weight: bold;
	font: bold 13px/25px Arial, Helvetica;
}
#admin_sub_menu .sub_menu{
	overflow:hidden;
}

#admin_sub_menu a{
	color: blue;
	font-weight: bold;
	font-size: 14px;
	text-decoration:none;
}

.admin_sub_menu_on{
	color: #FF9800;
	font-weight: bold;
}
/***** Admin Sub Menu :: 2017.10.12. :: kh. :: e. ******/


/***** Admin Sub Menu 2 (by session) :: 2017.10.24. :: kh. :: s. ******/
#bysession_sub_menu a{
	color: blue;
	font-weight: bold;
	font-size: 13px;
}
/***** Admin Sub Menu 2 (by session) :: 2017.10.24. :: kh. :: e. ******/

.chair_check_on{
	color: #CC00FF;
	font-weight: bold;
	text-decoration: underline;
	cursor:pointer;
}

.chair_check_off{
	color: black;
	font-weight: bold;
	text-decoration: underline;
	cursor:pointer;
}

.chair_del_btn{
	color: red;
	cursor:pointer;
	font-size: 15px;
}
.chair_add_btn{
	color: black;
	cursor:pointer;
	font-size: 15px;
}
