div#corp_container{
/* 	position: relative;
	background-color: #F2F5FA;
	display: block;
	padding: 0 20px; */
	
}

.row {
	margin-left: 0 !important;
}
.aui .row-fluid .span2{
	cursor: pointer;
}

div.agent .span2 {
	text-align: center;
	vertical-align: middle;
	margin-left: 40px !important;
    margin: 20px auto;
    height: 80px;
    background: #88A2D5;
    color: #fff;
    font-weight: 600;
    
	div {
		height: 100%;
	    text-align: center;
	    vertical-align: middle;
	    margin: 0;
	    line-height: 80px;
	    display: inline-block;
	}
	
	.agent_detail {
		width: 100%;
	}
}

div.agent_info .func {
	height: 20px !important;
    width: 100% !important;
    margin: 0 !important;
    border-top: 1px #7194D8 solid;
    background: #5D84CF;
    display: block;
    
    .update_agent {
    	width: 50%;
    	border-right: 1px #7194D8 solid;
    	line-height: 30px;
    	display: inline-block;
    }
    
    .delete_agent {
    	line-height: 30px;
    	display: inline-block;
    	float: right;
    	width: 50%;
    }
}

div.agent .agent_info:hover{
	background: #5D84CF;

	.func {
		display: block;
		visibility: visible;
	}
}

div.span2.new_ele {
	text-align: center;
	font-size: 16px;
    font-weight: 600;
    background-color: #fff;
}

div.new_ele {
	text-align: center;
	font-size: 16px;
    font-weight: 600;
    background-color: #fff;
    cursor: pointer;
}

div.new_corp{
	border: 3px #88A2D5 dashed;
    color: #5F83CF;
    border-radius: 5px;
    line-height: 40px;
    div {
    	display: inline-block;
    	height: 100%;
		margin-left: 10px;
    }
    
    .add_corp {
    	text-align: right;
    }
    
    .add_new {
    	text-align: left;
    }
}

div.span2.new_agent{
	border : 3px #FEC99F solid;
	color: #FE9B40;
	
	.add_agent {
		margin: 0;
	    display: inline-block;
	    width: 28px;
	}
	
	.add_new {
		margin: 0;
		margin-left: 5px;
		display:inline-block;
		text-align: left;
	}
}

div.row.corp {
	margin-top: 20px;
	background-color: #fff;
	border-radius: 5px;
	
	.title {
		font-weight: 600;
	    color: #2552AF;
	    padding: 10px 40px;
	    background: url("../images/title.png") no-repeat;
	    background-position: 20px center;
	    font-size: 16px;
	    
	    span.update_corp {
			color: #74ADDA;
		    font-size: 14px;
		    font-weight: 200;
		    padding: 10px 20px 10px 30px;
		    background: url("../images/ico_changeinfo.png") no-repeat;
		    background-position: 15px center;
		    cursor:pointer;
	    }
	    
	    span.slash {
			color: #E5E5E5;
		    font-size: 14px;
	    }
	    
	     span.delete_corp {
	     	color: #E68B8A;
		    font-size: 14px;
		    font-weight: 200;
		    padding: 10px 10px 10px 30px;
		    background: url("../images/ico_delete.png") no-repeat;
		    background-position: 15px center;
		    cursor:pointer;
	     }
	}
}

.datepicker-popover.yui3-widget.popover.yui3-widget-positioned.yui3-widget-modal.yui3-widget-stacked.top {
	z-index: 999 !important;
}

.yui3-g.yui3-calendar-header {
	text-align: center;
    position: relative;
    width: 100%;
    padding: 0;
    padding-bottom: 10px !important;
}

.yui3-skin-sam .yui3-calendarnav-prevmonth, .yui3-skin-sam .yui3-calendarnav-prevmonth:hover {
	background: none !important;
    border: 10px solid transparent;
    border-right-color: #000;
    left: 0;
    margin-left: -10px !important;
    width: auto !important;
    height: auto !important;
    position: absolute;
}

.yui3-skin-sam .yui3-calendarnav-nextmonth {
	background: none !important;
    border: 10px solid transparent;
    border-left-color: #000;
    right: 0;
    margin-right: -10px !important;
    width: auto !important;
    height: auto !important;
    position: absolute;
}


/* mask start*/
#mask_wrapper {
	display: block;
	width: 100%;
	height: 100%;
	background: none repeat scroll 0 0 rgba(255, 255, 255, 0.8);
	position: fixed;
	top: 0;
	left: 0;
	z-index: 2000;
}

#progress_bar {
	border: solid 2px #86A5AD;
	background: white url('img/progress_bar.gif') no-repeat 10px 10px;
}

#progress_bar {
	display: block;
	width: 148px;
	position: fixed;
	top: 50%;
	left: 50%;
	margin-left: -74px;
	margin-top: -50px;
	padding: 10px 10px 10px 50px;
	text-align: left;
	line-height: 27px;
	font-weight: bold;
	position: fixed;
	z-index: 2001;
}

.aui .form-horizontal .control-label {
    padding-right: 10px;
}

form.form-horizontal .required {
	color: red;
}

.aui .table{
	overflow: auto !important;
}

.red {
    color: red;
    font-size: 18px;
    line-height: 20px;
    display: inline-block;
}