/* BORDER */
.advborder {
	border: 1px solid silver;
	border-radius: 4px;
	background-color: #F8F8F8;
}

.advborder.error {
	border-color: darkred;    
}

.advborder.focused {
	border-color: #C7A158; 
	background-color: white;      
}

.advheight {
	height: 25px;
	line-height: 25px;
}

.advpopup {
	position: absolute;
	z-index: 6000;
	margin-top: 2px;
	padding: 3px 10px;
	background-color: silver;
	display: none;    
}

.advmenu {
	background-color: #EFEFEF;   
	padding-left: 5px;
	padding-right: 5px;     
	cursor: pointer;
	border-top-left-radius: inherit;
	border-bottom-left-radius: inherit;
	vertical-align: middle; 
}

/* ADVEDIT */

.advedit {
	display: inline-block; 
	position: relative;
	width: 100%;
}

.advedit table {
	width: 100%;
}

.advedit_main {
	padding: 0;
	padding-left: 4px;
	padding-right: 4px;
	border-radius: inherit;
}

.advedit_main.menu_left { 
	border-top-left-radius: 0;
	border-bottom-left-radius: 0;    
}

.advedit_main.menu_right {
	border-top-right-radius: 0;
	border-bottom-right-radius: 0;    
}

.advedit_menu_left, .advedit_menu_right {
	background-color: #EFEFEF;
	padding-left: 5px;
	padding-right: 5px;
}            

.advedit tbody, .advedit tr {
	border-radius: inherit;    
}

.advedit_menu_left {
	vertical-align: middle;
	border-top-left-radius: inherit;
	border-bottom-left-radius: inherit;
	height: inherit;
}

.advedit_menu_right {
	vertical-align: middle;
	border-top-right-radius: inherit;
	border-bottom-right-radius: inherit;
	height: inherit;
}

.advedit_main {
	vertical-align: middle;
}

.advedit_values {
	overflow-x: hidden;
	overflow-y: auto;  
	display: none; 
	max-height: 200px; 
	position: absolute;
	background-color: white;    
	border: 1px solid silver;
	border-radius: 3px;
	border-top-left-radius: 0;
	padding-left: 5px;
	padding-right: 5px;
	z-index: 1000;

	-moz-box-shadow: 3px 3px 4px #AAA; 
	-webkit-box-shadow: 3px 3px 4px #AAA; 
	box-shadow: 3px 3px 4px #AAA; 
	-ms-filter: "progid:DXImageTransform.Microsoft.Shadow(Strength=4, Direction=135, Color='#AAAAAA')"; 
	filter: progid:DXImageTransform.Microsoft.Shadow(Strength=4, Direction=135, Color='#AAAAAA'); 
} 

.advedit_value {
	padding-top: 2px;
	padding-bottom: 2px;   
	white-space: nowrap;
}

.advedit_value:hover {
	background-color: #E7F4F9;
	cursor: pointer;
}

.advedit_input {
	border: 0;
	background: 0;
	padding: 0;
	margin: 0;      
	width: 100%;
	display: inline-block;
	font: inherit;
	color: inherit;
}        

.advedit_input:focus {
	outline: none; 
}

.advedit_input.default {
	color: silver;
	font-style: italic;
	display: inline-block;
}

/* ADV FILE */

.advfile {
	display: inline-block; 
	width: 100%;
	margin-bottom: 2px;
	position: relative;
}

.advfile table {
	width: 100%;
}

.advfile_main {
	padding: 1px 4px;
}

.advfile_main > div {
	text-overflow: ellipsis;  
	overflow: hidden;
	white-space: no-wrap;
	width: 100%;
}

.advfile_main.default {
	font-style: italic;
	color: gray;
}

.advfile_sep {
	width: 1px;    
}

.advfile_browse {
	width: 70px;
	vertical-align: middle;
}

.advfile_cont {
	position: relative; 
	overflow: hidden; 
	text-align: right; 
	width: 70px; 
	height: 20px;
	text-align: center;
}

.advfile_cont input {
	-moz-opacity:0 ;
	filter:alpha(opacity: 0);
	opacity: 0;
	z-index: 2;  
	position: absolute; 
	right: 0;      
	cursor: pointer;
}

.advfile_cont div {
	z-index: 1;
}

.advfile table, .advfile tbody, .advfile tr {
	border-radius: inherit;    
}

.advfile_main {
	vertical-align: middle;
}

.advfile_value {
	text-overflow: ellipsis; 
	overflow: hidden;
	white-space: nowrap;
}

/* ADVSELECT */

.advselect {
	display: inline-block;
	position: relative;    
	text-decoration: none;
	width: 100%;
}

.advselect table {
}

.advselect tbody, .advselect tr {
	border-radius: inherit;    
}

.advselect.expanded {
	border-bottom-right-radius: 0;
	border-bottom-left-radius: 0;   
}

.advselect_menu {
	background-color: #EFEFEF;   
	padding-left: 5px;
	padding-right: 5px;     
	cursor: pointer;
	border-top-left-radius: inherit;
	border-bottom-left-radius: inherit;
	vertical-align: middle; 
}
			 
.advselect_main {
	cursor: pointer;
	margin-left: 4px;
	margin-right: 20px;
	padding: 0;
	padding-left: 5px;
	border-radius: inherit;
	border-top-right-radius: 0;
	border-bottom-right-radius: 0;
	vertical-align: middle; 
}

.advselect_main.default {
	color: gray;
	font-style: italic;    
}

.advselect_main.menu_left {
	border-top-left-radius: 0;
	border-bottom-left-radius: 0;    
}

.advselect_button {
	cursor: pointer; 
	
	border-top-right-radius: inherit;
	border-bottom-right-radius: inherit;
	vertical-align: middle; 
}

.advselect_button span {
	display: block;
	background-image: url(../img/icon-down1.png); 
	background-position: 2px 0;
	background-repeat: no-repeat; 
	width: 20px;
	height: 10px;
}

.advselect_button:hover span {
	background-image: url(../img/icon-down0.png); 
	background-repeat: no-repeat; 
}

.advselect_button.expanded span {
	background-image: url(../img/icon-up1.png); 
}

.advselect_button.expanded:hover span {
	background-image: url(../img/icon-up0.png); 
}

.advselect_list {
	display: none;
	position: absolute;
	background-color: white;    
	border: 1px solid silver;
	margin-top: -1px;
	margin-left: -1px;
	border-radius: 3px;
	border-top-left-radius: 0;
	padding-left: 5px;
	padding-right: 5px;

	-moz-box-shadow: 3px 3px 4px #AAA; 
	-webkit-box-shadow: 3px 3px 4px #AAA; 
	box-shadow: 3px 3px 4px #AAA; 
	-ms-filter: "progid:DXImageTransform.Microsoft.Shadow(Strength=4, Direction=135, Color='#AAAAAA')"; 
	filter: progid:DXImageTransform.Microsoft.Shadow(Strength=4, Direction=135, Color='#AAAAAA'); 
}

.advselect_list.left {
	left: 1px;
}

.advselect_list.right {
	right: 1px;
}

.advselect_list.expanded.sticked {
	border-top-right-radius: 0;        
}

.advselect_cont {
	overflow-x: hidden;
	overflow-y: auto;   
	max-height: 200px; 
    outline: none;
} 

.advselect_value {
	vertical-align: middle;
	background-color: transparent;
	border: 0;
	padding: 0;
	color: inherit;
	font: inherit;
	text-decoration: none !important;	
	text-overflow: ellipsis; 
	overflow: hidden;
	white-space: nowrap;   
	display: block;
	width: 100%; 
}

a.advselect_value {
	cursor: pointer;
	outline: 0;
}

.advselect_edit {
	background-color: transparent;
	border: 0;
	color: inherit;
	line-height: inherit;
	height: inherit;
	padding: 0;
	margin: 0;
	display: block;
	width: 100%;    
}

.advselect_value.default {
	color: gray;
	font-style: italic;    
}
 
.advselect_item {
	padding-left: 5px; 
	padding-top: 2px;
	padding-bottom: 2px;   
	white-space: nowrap;
}

.advselect_item.selected {
	background-color: #EEEEEE;        
}

.advselect_item:hover {
	background-color: #E7F4F9;
	cursor: pointer;
}


/*
.adveselect_menu {
	background-color: #EFEFEF;   
	padding-left: 5px;
	padding-right: 5px;     
	cursor: pointer;
	border-top-left-radius: inherit;
	border-bottom-left-radius: inherit;
	vertical-align: middle; 
}
			 
.adveselect_main {
	cursor: pointer;
	margin-left: 4px;
	margin-right: 20px;
	padding: 0;
	padding-left: 5px;
	border-radius: inherit;
	border-top-right-radius: 0;
	border-bottom-right-radius: 0;
	vertical-align: middle; 
}

.adveselect_main.default {
	color: gray;
	font-style: italic;    
}

.adveselect_main.menu_left {
	border-top-left-radius: 0;
	border-bottom-left-radius: 0;    
}

.adveselect_button {
	cursor: pointer; 
	
	border-top-right-radius: inherit;
	border-bottom-right-radius: inherit;
	vertical-align: middle; 
}

.adveselect_button span {
	display: block;
	background-image: url(../img/icon-down1.png); 
	background-position: 2px 0;
	background-repeat: no-repeat; 
	width: 20px;
	height: 10px;
}

.adveselect_button:hover span {
	background-image: url(../img/icon-down0.png); 
	background-repeat: no-repeat; 
}

.adveselect_button.expanded span {
	background-image: url(../img/icon-up1.png); 
}

.adveselect_button.expanded:hover span {
	background-image: url(../img/icon-up0.png); 
}

.adveselect_list {
	display: none;
	position: absolute;
	background-color: white;    
	border: 1px solid silver;
	margin-top: -1px;
	margin-left: -1px;
	border-radius: 3px;
	border-top-left-radius: 0;
	padding-left: 5px;
	padding-right: 5px;

	-moz-box-shadow: 3px 3px 4px #AAA; 
	-webkit-box-shadow: 3px 3px 4px #AAA; 
	box-shadow: 3px 3px 4px #AAA; 
	-ms-filter: "progid:DXImageTransform.Microsoft.Shadow(Strength=4, Direction=135, Color='#AAAAAA')"; 
	filter: progid:DXImageTransform.Microsoft.Shadow(Strength=4, Direction=135, Color='#AAAAAA'); 
}

.adveselect_list.left {
	left: 1px;
}

.adveselect_list.right {
	right: 1px;
}

.adveselect_list.expanded.sticked {
	border-top-right-radius: 0;        
}

.adveselect_cont {
	overflow-x: hidden;
	overflow-y: auto;   
	max-height: 200px; 
} 

.adveselect_value {
	text-overflow: ellipsis; 
	white-space: nowrap;
	background-color: transparent;
	border: 0;
	color: inherit;
	line-height: inherit;
	height: inherit;
	padding: 0;
	margin: 0;
	display: block;
	width: 100%;    
}

.adveselect_value.default {
	color: gray;
	font-style: italic;    
}
 
.adveselect_item {
	padding-left: 5px; 
	padding-top: 2px;
	padding-bottom: 2px;   
	white-space: nowrap;
}

.adveselect_item:hover {
	background-color: #E7F4F9;
	cursor: pointer;
}        */

/* ADVAREA */

.advarea {
	display: inline-block; 
	width: 100%;
	margin-bottom: 2px;
}

.advarea_main {
	padding-left: 4px;
	padding-right: 4px;    
}

.advarea textarea {
	border: 0;
	margin: 0;
	padding: 0;
	background: 0;
	width: 100%;   
	resize: none; 
	font: inherit;
	color: inherit;
}

.advarea textarea:focus {
	outline: none; 
}

.advarea_main textarea.default {
	color: silver;
    font-style: italic;
} 

/* CHECK */
.advcheck {
	display: inline-block;
	line-height: inherit;    
	vertical-align: middle;
	position: relative;           
}

.advcheck_bullet {
	cursor: pointer;
	display: inline-block;
	vertical-align: middle;
	border: 1px solid silver;
	background-image: url(../img/bullet-back.png);
	width: 11px;
	height: 11px;
	margin-left: 2px;
	margin-right: 5px;
}

.advcheck_bullet > div {
	display: inline-block;   
	margin: 2px;
	width: 7px;
	height: 7px;
	background-color: white;
}

.advcheck_bullet.checked > div {
	background-color: #74C173;    
}

.advcheck .advborder {
	border-radius: 0 !important;    
}
	 
/* BUTTON */
.advbutton {
	background-color: #EDEDED; 
	font: inherit;
	border-radius: 4px;
							border: 1px solid silver;
	cursor: pointer;
}

.advbutton:hover {
	background-color: white;    
}

.grid_field_error {
	display: none;    
}

.form_message {
	font-weight: bold;
	color: darkred;    
}

/* MENU */
.advmenu_right_container {
	display: block;
	position: relative;
	border-top-right-radius: inherit;
	border-bottom-right-radius: inherit;     
}

.advmenu_left_container {
	display: block;
	position: relative;
	border-top-left-radius: inherit;
	border-bottom-left-radius: inherit;     
}

.advmenu_right {
	border-top-right-radius: inherit;
	border-bottom-right-radius: inherit;
	position: absolute;
	top: -2px;
	bottom: -2px;   
	left: -5px;
	right: -6px;
}

.advmenu_left {
	border-top-left-radius: inherit;
	border-bottom-left-radius: inherit;
	position: absolute;
	top: -2px;
	bottom: -2px;   
	left: -6px;
	right: -5px;
}

.advchecktree {
	border: 1px solid silver; 
	overflow: auto;                     
}

.advchecktree a {
	font-weight: normal;    
}
