.gpopupmenu {
    padding: 2px;
}

.gpopupmenu.disabledObject {
	opacity: 0.35;
	cursor: default;
	cursor: no-drop;
}

.gpopupmenu div.label {
	height: 30px;
	overflow: visible;
}

div.popmenu1 {
    padding: 0px;
    border: 0px;
    box-shadow: 0 0 30px 0 rgba(0, 0, 0, 0.3);
    display: block;
}
.gpopupmenu_popup .arrowDiv {
	position: absolute;
	border-color: transparent transparent white transparent;
	border-width: 7px;
	border-style: solid;
	margin-top: -14px;
	z-index: 9999;
}
.gpopupmenu_popup .arrowDiv.bellow {
	margin-top: 0px;
	border-color: white transparent transparent transparent;
}

/*'a' tag*/
.gpopupmenu  div.label a {
    border: 1px solid #d9d9d9;
    border-radius: 4px;
    color: #000000;
    font-weight: bold;
    height: 26px;
    padding: 3px;
    text-align: center;
    display: inline-flex;
    padding-top: 1px;
    padding-bottom: 1px;
    line-height: 20px;
    vertical-align: middle;
}

/* icon in label */
.gpopupmenu a > i {
	font-size: 18px;
	float: left;
	margin-left: 3px;
	vertical-align: middle;
	display: flex;
	align-items: center;
}

/* for function key if is defined */
.gpopupmenu  span.function_key {
    border: 1px solid #9DC6DD;
    border-bottom: 2px solid #9FC8DE;
    border-radius: 3px;
    display: inline-block;
    box-sizing: border-box;
    height: 20px;
    margin-right: 1px;
    position: relative;
    top: 2px;
    color: #80B3DD;
    font-size: 14px;
    padding: 0 4px 0 4px;
    font-weight: normal;
    margin-left: 1px;
    line-height: 17px;
    font-size: 12px;
    min-width: 24px;
}

.gpopupmenu a.PopupLinkDefault span.function_key {
    background-color: #E6F5FC;
}

.gpopupmenu a.PopupLinkPrimary span.function_key {
    background-color: none;
}

.gpopupmenu a.PopupLinkDelete span.function_key {
    background-color: #f9f9f9;
}

/* icon inside dialog - font icon on left span of each 'a' tag */
.gpopupmenu a span.icon i {
    color: #dadada;
    font-size: 18px;
    font-weight: normal;
    position: relative;
    text-decoration: none;
    top: -1px;
}

/* span for icon */
.gpopupmenu a span.icon {
    border: 1px solid #dadada;
    border-radius: 3px;
    display: inline-block;
    box-sizing: border-box;
    width: 20px;
    height: 20px;
    line-height: 20px;
    position: relative;
    top: 2px;
    margin-right: 1px;
}

.gpopupmenu a.PopupLinkPrimary span.icon {
	border: 1px solid #98B9DE;
}

.gpopupmenu a.PopupLinkPrimary span.icon i {
	color: #98B9DE;
}

div.gpopupmenu a.popupColorIconLink span.icon {
    display: inline-block;
    width: 19px;
    height: 19px;
    position: relative;
    top: 1px;
    margin-right: 1px;
    border: 1px solid #dadada;
    border-radius: 2px;
}

div.gpopupmenu a.popupColorIconLink span.icon.color {
	width: 16px;
	height: 16px;
	top: 4px;
	margin-left: 3px;
	border: none;
	box-shadow: inset 0 0 1px rgba(0, 0, 0, 0.8);
}

div.popmenu a.item i {
    display: block;
    color: #A1A1A1;
    font-size: 19px;
    line-height: 36px;
    margin: 0;
    padding: 0;
    text-indent: 0;
    text-align: center;
}

/* for first and last 'a' tag in popup dialog */
div.popmenu1 a.top_bottom {
    height: 5px;
    display: table-row;
    background: #ffffff none repeat scroll 0 0;
}

div.popmenu a.top_bottom span.icon {
    display: block;
    background-color: #F6F6F6;
    width: 44px;
    float: left;
    height: 5px;
}

div.popmenu a.top_bottom span.label {
    display: block;
    height: 100%;
    background-color: #ffffff;
    padding-right: 10px;
    text-overflow: ellipsis;
    overflow: hidden;
    box-sizing: border-box;
}

/* whole 'a' tag of dialog */
div.popmenu a.item {
    font-weight: normal;
    font-size: 14px;
    font-family: "Roboto Medium";
    white-space: nowrap;
    display: table-row;
    width: 0;
    background: none;
    position: relative;
}

div.popmenu a.item:hover,
div.popmenu a.item:focus {
    background-color: #F1FCFF;
    color: #3B7CD0;
    position: relative;
    outline: none;
}
    
div.popmenu a.item span {
    display: inline;
    line-height: 38px;
    padding-right: 0;
}

div.popmenu a.item:hover span.icon,
div.popmenu a.item:focus span.icon {
    background-color: #EAF4F8;
    border: 1px solid #B6CFDD;
    border-right-style: none;
    position: relative;
    outline: none;
}

div.popmenu a.item span.label {
    line-height: 36px;
    border: 1px solid transparent;
    border-left-style: none;
    height: 36px;
    text-indent: 13px;
    padding-right: 13px;
    display: table-cell;
    width: 0;
    float: none;
}

div.popmenu a.item span.fkeyWrapper {
    line-height: 36px;
    border: 1px solid transparent;
    border-left-style: none;
    height: 36px;
    padding: 0;
    padding-right: 7px;
    display: table-cell;
    text-align: center;
    text-indent: 0;
}

div.popmenu a.item span.fkeyWrapper .function_key {
	background-color: #E6F5FC;
    border: 1px solid #9DC6DD;
    border-bottom: 2px solid #9FC8DE;
    border-radius: 3px;
    display: inline-block;
    box-sizing: border-box;
    height: 22px;
    position: relative;
    color: #80B3DD;
    padding: 0 4px 0 4px;
    font-weight: normal;
    line-height: 20px;
    font-size: 12px;
    min-width: 24px;
    text-indent: 0;
    top: -2px;
}

div.popmenu a.item:hover > span:not(.icon),
div.popmenu a.item:focus > span:not(.icon) {
    border: 1px solid #B6CFDD;
    border-left: 0;
    border-right: 1px solid transparent;
    background-color: #F1FCFF;
    color: #3B7CD0;
}
div.popmenu a.item:hover > span:not(.icon):last-child,
div.popmenu a.item:focus > span:not(.icon):last-child {
	border-right: 1px solid #B6CFDD;
}
div.popmenu.gpopupmenu_popup a.item:hover > span:not(.icon):last-child,
div.popmenu.gpopupmenu_popup a.item:focus > span:not(.icon):last-child {
	border-top: 1px solid #B6CFDD;
	border-bottom: 1px solid #B6CFDD;
}


div.popmenu a.item span.icon span.icon_w {
    position: relative;
	left: 14px;
	top: 2px;
    height: 16px;
	width: 16px;
	padding: 0;
}

div.popmenu a.item span.icon span.icon_color, div.gpopupmenu a.popupColorIconLink span.icon span.icon_color {
	border-radius: 2px;
	height: 16px;
	width: 16px;
	border: 0;
	box-shadow: inset 0 0 1px rgba(0, 0, 0, 0.8);
}
/* for IE*/
div.popmenu span.separator {
    display: table-row;
    background: none;
    height: 0px;
    width: 0;
}

div.popmenu span.separator + a.item:not(:hover):not(:focus) > span { 
    border-top: 1px solid #ececec; 
}

div.popmenu a.item:hover + span.separator + a.item > span,
div.popmenu a.item:focus + span.separator + a.item > span {
    border-top: 1px solid transparent;
}

/* for other browsers */
div.popmenu hr {
    position: absolute;
    display: block;
    background-color: rgb(236, 236, 236);
    height: 1px;
    width: 100%;
    border: 0;
    margin: 0;
}

div.popmenu a.item:hover + hr {
    visibility: hidden;
}

div.popmenu a.item span.icon {
    background-color: #F6F6F6;
    border: 1px solid transparent;
    border-right-style: none;
    display: table-cell;
    float: none;
    position: relative;
    width: 43px;
    text-indent: 0;
    text-align: center;
}

div.gpopupmenu a.iconLink span.label {
    padding-top: 2px;
}

div.gpopupmenu a.iconLink img.icon_img {
    padding: 2px;
    margin: 2px 3px 0 0;
}

.gpopupmenu div.label a span.label {
    margin-left: 7px;
    margin-right: 13px;
    font-weight: normal;
    font-size: 15px;
	line-height: 25px;
	height: 26px;
	white-space: nowrap;
}

div.gpopupmenu a.iconLink {
    line-height: 24px;
}

div.popmenu span.icon .function_key {
border: 1px solid #9DC6DD;
border-bottom: 2px solid #9FC8DE;
border-radius: 3px;
display: inline-block;
height: 22px;
color: #80B3DD;
font-size: 12px;
padding: 0 4px 0 4px;
font-weight: normal;
line-height: 22px;
text-indent: 0;
background-color: #E6F5FC;
box-sizing: border-box;
min-width: 24px;
max-width: 28px;
}


/* for primary */
.gpopupmenu div.label a.PopupLinkPrimary {
    background-color: #3276C4;
	border-top: 1px solid transparent;
	border-left: 1px solid transparent;
	border-right: 1px solid transparent;
	border-bottom: 1px solid #285E9D;
	box-shadow: inset 0 -1px 0 0 #285E9D;
}

.gpopupmenu div.label a.PopupLinkPrimary span.label,  .gpopupmenu div.label a.PopupLinkPrimary > i {
    color: #FFFFFF;    
}

.gpopupmenu div.label a.PopupLinkPrimary:hover, .gpopupmenu div.label a.PopupLinkPrimary:focus {
    background-color: #408CE3;
    color: #FFFFFF;
    text-decoration: none;
    outline: 0;
}

.gpopupmenu div.label a.PopupLinkPrimary:active, .gpopupmenu.cs-activeLabelSelect div.label a.PopupLinkPrimary {
    background-color: #2264AE;
	border-top: 1px solid #1D5493;
	box-shadow: inset 0 1px 0 0 #1D5493;
  	border-bottom: 1px solid transparent;
}

/* for default */
.gpopupmenu div.label a.PopupLinkDefault {
    background-color: #ffffff;
    color: #444;
    border: 1px solid #D9D9D9;
    
    /* type | offset-x | offset-y | blur-radius | spread-radius | color */
    box-shadow: inset 0 -2px 0 0 #F0F0F0;
}

.gpopupmenu div.label a.PopupLinkDefault span.label {
    color: #444;
}

.gpopupmenu div.label a.PopupLinkDefault:hover, .gpopupmenu div.label a.PopupLinkDefault:focus {
    border: 1px solid #B2B2B2;
    box-shadow: inset 0 -2px 0 0 #F0F0F0, 0 0 2px rgba(0,0,0,0.2);
    text-decoration: none;
    outline: 0;
}

.gpopupmenu div.label a.PopupLinkDefault:active, .gpopupmenu.cs-activeLabelSelect div.label a.PopupLinkDefault {
    box-shadow: inset 0 2px 0 0 #F0F0F0;
    border: 1px solid #D9D9D9;
}

/* for delete */
.gpopupmenu div.label a.PopupLinkDelete {
    background-color: #BEBEBE;
    border: 1px solid #9A9A9A;
    
    /* type | offset-x | offset-y | blur-radius | spread-radius | color */
    box-shadow: 0 -1px 0 0 #9A9A9A inset;
}

.gpopupmenu div.label a.PopupLinkDelete  span.label {
    color: #F9F9F9;
}

.gpopupmenu div.label a.PopupLinkDelete:hover {
    background-color: #D0D0D0;
    color: inherit;
    border: 1px solid #B2B2B2;
    box-shadow: inset 0 -2px 0 0 #B2B2B2, 0 0 2px rgba(0,0,0,0.2);
    text-decoration: none;
}

.gpopupmenu div.label a.PopupLinkDelete:active, .gpopupmenu.cs-activeLabelSelect div.label a.PopupLinkDelete {
    box-shadow: inset 0 2px 0 0 #8A8A8A;
    border: 1px solid #8A8A8A;
    background-color: #A4A4A4;
}

.gpopupmenu div.label a {
	margin: 0px;
}