﻿//Colors
@root_color: #fff;
@root_backgroundColor: #000;
@root_hover_color: #000;
@root_hover_backgroundColor: #fff;

@menu_backgroundColor: #fff;
@menu_border_color: #ccc;
@menu_hover_backgroundColor:#e8f1fa;

@primarybtn_backgroundColor: #0087c6;
@primarybtn_color: #fff;
@secondarybtn_backgroundColor: #e4e4e4;
@secondarybtn_color: #333333;

@menu_width: 220px;
@root_width: 20px;
@root_height: 20px;

.dnnEditState .DnnModule:hover
{
    opacity:1;
}

.dnnEditState.dnnOpacityDisabled .DnnModule {
    opacity: 1;
}

div.actionMenu ul 
{
    z-index:1000 !important;

}

div.actionMenu ul:hover, div.actionMenu ul.showhover
{
    z-index:1003 !important;

}

div.actionMenu ul.dnn_mact {
    margin-bottom: 0;
    margin-left: 0;
}

div.actionMenu ul.dnn_mact li { 
	position:relative; 
	list-style:none;
}

div.actionMenu ul.dnn_mact > li {
	width:20px; 
	height:20px;
	float:left;
    padding: 0;
    margin: 0;
    cursor: pointer;
    border:1px solid transparent;
    background:transparent;
}

div.actionMenu ul.dnn_mact > li:hover {
    border:1px solid @menu_border_color;
    border-bottom:1px solid @menu_backgroundColor;
    background:@menu_backgroundColor;
}

div.actionMenu ul.dnn_mact > li > a {
    display: inline-block;
    width: @root_width;
    height: @root_height;
    background-color: @root_backgroundColor;
    color: @root_color;
    font-size: 16px;
    line-height:20px;
    text-align:center;
    text-decoration: none;
}

div.actionMenu ul.dnn_mact > li:hover > a {
    background-color: @root_hover_backgroundColor;
    color: @root_hover_color;
}
div.actionMenu ul.dnn_mact > li > a > i{
    vertical-align: baseline;
}

/* Secondary level */
div.actionMenu ul.dnn_mact > li ul {  /* Styles for all sub levels */
    display: none;
    position: absolute;
    top:@root_height;
    width: @menu_width;
    padding: 0; margin: 0;
    margin-right:-1px;
    background: @menu_backgroundColor;
    border: 1px solid @menu_border_color;
    list-style-type: none;
    -webkit-box-shadow:  0px 2px 2px 0px rgba(0, 0, 0, 0.3);
    box-shadow:  0px 2px 2px 0px rgba(0, 0, 0, 0.3);
}

div.actionMenu ul.dnn_mact > li > ul { /* styles specific to secondary level */
    right:0;
}

div.actionMenu ul.dnn_mact > li > ul > li {
    display: block;
    padding:0; 
    margin: 0;
    border-top: 1px solid @menu_border_color;
    white-space: nowrap;
}

div.actionMenu ul.dnn_mact > li > ul > li:first-child{border:none;}

div.actionMenu ul.dnn_mact > li > ul li:hover {
    background-color: @menu_hover_backgroundColor;
}

div.actionMenu ul.dnn_mact > li.actionQuickSettings > ul li:hover {
    background-color: @menu_backgroundColor;
}

div.actionMenu ul.dnn_mact > li ul a {
	display:block;
	padding:5px 12px;
	color:#666;
	text-decoration:none;
	overflow:hidden; 
    font-size:11px;
}

div.actionMenu ul.dnn_mact > li ul a > * {
	display:inline-block;
	margin-right: 5px;
}

div.actionMenu ul.dnn_mact > li > ul > li:hover a{ color:#333; }

div.actionMenu ul.dnn_mact > li.actionMenuMove > ul {
    max-height: 220px;
    overflow: auto;
    padding: 0;
    margin: 0;
}

div.actionMenu ul.dnn_mact > li.actionMenuMove > ul li {
    padding: 8px 0 5px 10px;
    height: 20px;
    margin: 0;
    border-bottom: 1px solid @menu_border_color;
    border-top: none;
    cursor: pointer;
    font-size: 12px;
    font-family: Arial;
    line-height: 18px;
    text-shadow: none;
}

div.actionMenu ul.dnn_mact > li.actionQuickSettings > ul {
    width:auto;
    min-height: 250px;
    overflow: auto;
    cursor:default;
    z-index: 1000;
}

div.actionMenu ul.dnn_mact > li.actionQuickSettings div.qsHeader{
    margin-top: 9px;
    margin-left: 10px;
    margin-right: 10px;
    padding-bottom: 9px;
    border-bottom: 1px solid @menu_border_color;
    font-size: 20px;
}

div.actionMenu ul.dnn_mact > li.actionQuickSettings div.qsContainer{
    margin-left: 10px;
    margin-right: 10px;
    min-height: 150px;
    border-bottom: 1px solid @menu_border_color;
}

div.actionMenu ul.dnn_mact > li.actionQuickSettings div.qsFooter{
    margin-top: 6px;
    padding-bottom: 6px;
    clear: both;
    width: 100%;
    padding-top: 10px;
    text-align: center;
}

div.actionMenu ul.dnn_mact > li.actionQuickSettings div.qsFooter a{
    margin-left: 10px;
    margin-right: 10px;
}

div.actionMenu ul.dnn_mact > li.actionQuickSettings div.qsFooter a.primarybtn{
    background: @primarybtn_backgroundColor;
    color: @primarybtn_color !important;
    display: inline-block;
    padding: 9px 9px;
    cursor: pointer;
    min-width: 75px;
    border-radius: 3px;
    text-decoration: none;
    text-align: center;
    font-size: 13px;
}

div.actionMenu ul.dnn_mact > li.actionQuickSettings div.qsFooter a.secondarybtn{
    background: @secondarybtn_backgroundColor;
    color: @secondarybtn_color !important;
    display: inline-block;
    padding: 9px 9px;
    cursor: pointer;
    min-width: 75px;
    border-radius: 3px;
    text-decoration: none;
    text-align: center;
    font-size: 13px;
}

div.actionMenu ul.dnn_mact li.dnn_menu_label {
    display: inline-block;
    width: 20px;
    height: 100px;
    background-color: @menu_backgroundColor;
    pointer-events: none;
}

div.actionMenu ul.dnn_mact li.dnn_menu_label > div {
    display: inline-block;
    width: 20px;
    height: 20px;
    writing-mode:tb-rl;
    -webkit-transform:rotate(90deg);
    -moz-transform:rotate(90deg);
    -o-transform: rotate(90deg);
	white-space:nowrap;
    color: white;
    background-color: #000;
    background-image: none !important;
}
