@import "_transitionColors";

#Transitions_Container {
    position: relative;
    z-index: 1500;
    height: 550px;
    text-align: left;
    margin-left: 50px;
}
.Transitions_Canvas_Container {
    position: absolute;
}

#Transitions_Canvas_Background_Left {
    z-index: 1501;
}

#Transitions_Canvas_Background_Right {
    z-index: 1502;
}

#Transitions_Canvas_Left {
    z-index: 1503;
}

#Transitions_Canvas_Right {
    z-index: 1504;
}

#Transitions_Canvas_Loops {
    z-index: 1505;
}

.Transitions_Text {
    color: @theme-color-text;
    font-size: 11px;
    line-height: 14px;
    position: absolute;
    background: rgba(0, 0, 0, 0); /* without this, IE9 triggers hover only on the text, not the box */
    z-index: 1506;
    word-wrap: break-word;
    text-align: left;
    cursor: default;
}

#Transitions_CenterBox {
    margin: 27px 0 0 345px;
    width: 208px;
    min-height: 373px;
    background: @theme-color-background-contrast;
    border: 1px solid @theme-color-border;
    border-radius: 10px;
    -webkit-box-shadow: 0 0 9px 0 @theme-color-boxShadow;
    -moz-box-shadow: 0 0 9px 0 @theme-color-boxShadow;
    box-shadow: 0 0 9px 0 @theme-color-boxShadow;
    z-index: 1507;
}

#Transitions_CenterBox h2 {
    font-size: 12px;
    line-height: 16px;
    padding: 10px;
    border-bottom: 1px dotted @theme-color-border;
    font-weight: bold;
    overflow: hidden;
    color: @theme-color-link;
    margin: 0;

    a {
        color: inherit;
    }
}

.Transitions_Pageviews {
    text-align: center;
}

.Transitions_OutgoingTraffic {
    text-align: right;
}

.Transitions_CenterBoxMetrics {
    padding: 15px 10px 0 10px;
    display: none;
    font-size: 12px;
}

.Transitions_CenterBoxMetrics table td {
    padding: 0 0 5px 0;
}

.Transitions_CenterBoxMetrics table td.Transitions_Percentage {
    padding-right: 6px;
    font-weight: bold;
}

#Transitions_CenterBox h3 {
    font-weight: bold;
    font-size: 12px;
    margin: 15px 0 7px 0;
    padding: 0;
    color: @theme-color-text-light;
}

#Transitions_Loops {
    margin: 445px 0 0 346px;
    width: 208px;
    text-align: center;
    line-height: 25px;
    font-size: 12px;
    display: none;
    z-index: 1506;
    cursor: default;
}

.Transitions_CenterBoxMetrics p {
    margin: 0 0 3px 0;
    padding: 0;
    cursor: default;
    font-size: 12px;
    line-height: 15px;
}

.Transitions_CenterBoxMetrics p.Transitions_Margin {
    margin-bottom: 11px;
}

.Transitions_CenterBoxMetrics .Transitions_Highlighted {
    color: @theme-color-link;
}

span.Transitions_Metric {
    font-weight: bold;
    cursor: default;
}

.Transitions_Value0 {
    color: @theme-color-text-lighter;
}

.Transitions_TitleOfOpenGroup {
    font-size: 12px;
    color: @theme-color-link;
    font-weight: bold;
}

.Transitions_BoxTextLeft,
.Transitions_BoxTextRight {
    width: 165px;
    height: 42px;
    overflow: hidden;
}

.Transitions_BoxTextRight {
    text-align: right;
}

.Transitions_BoxTextLeft.Transitions_HasBackground,
.Transitions_BoxTextRight.Transitions_HasBackground {
    background-repeat: no-repeat;
    height: 18px;
}

.Transitions_BoxTextLeft.Transitions_HasBackground {
    background-position: 0 1px;
    width: 175px;
}

.Transitions_BoxTextLeft.Transitions_HasBackground span {
    display: block;
    padding-left: 16px;
}

.Transitions_BoxTextRight.Transitions_HasBackground {
    background-position: right 1px;
}

.Transitions_BoxTextRight.Transitions_HasBackground span {
    display: block;
    padding-right: 17px;
}

.Transitions_CurveTextLeft,
.Transitions_CurveTextRight {
    color: @theme-color-link;
    font-weight: bold;
    width: 34px;
    text-align: center;
    cursor: default;
}

body .ui-tooltip.Transitions_Tooltip_Small {
    font-size: 11px;
    padding: 3px 5px 3px 6px;
    background: @theme-color-background-contrast;
    color: @theme-color-text;
    border: 1px solid @theme-color-border;
}

.Transitions_SingleLine {
    font-size: 12px;
    height: 21px;
}

#transitions_report {
    #Transitions_Container {
        z-index: 0;
    }
    #Transitions_CenterBox {
        z-index: 987;
    }
    .Transitions_Text,
    #Transitions_Loops {
        z-index: 986;
    }
    #Transitions_Canvas_Background_Left {
        z-index: 981;
    }
    #Transitions_Canvas_Background_Right {
        z-index: 982;
    }
    #Transitions_Canvas_Left {
        z-index: 983;
    }
    #Transitions_Canvas_Right {
        z-index: 984;
    }
    #Transitions_Canvas_Loops {
        z-index: 985;
    }
    div[name=actionType] {
        margin-left: -0.75rem;
    }
    div[name=actionName] {
        margin-right: -0.75rem;
    }
    & > .row {
        margin-left: 0;
        margin-right: 0;

        body.widgetized & {
            margin-left: 0.75rem;
            margin-right: 0.75rem;
        }
    }
}

.widget #Transitions_Container h3 {
    padding: 0 !important;
}

#dashboardWidgetsArea {
    #transitions_report {
        #Transitions_Container {
            overflow: scroll;
        }
    }
}
