/*
Docking Module
---------------*/
#dock {
    width: 30px;
    position:fixed;
    top: 0;
    left: 0;
    height: 100%;
    z-index:11000;
    }
#dock.nothingdocked {
    visibility: hidden;
    display:none;
}
#dock .dockeditem.firstdockitem {
    margin-top: 2.3em;
    -webkit-border-top-right-radius: 6px;
    -moz-border-radius-topright: 6px;
    border-top-right-radius: 6px;
}
#dock .dockeditem {
    background-color: #ddd;
    padding: 2px;
    padding-left: 0px;
}
#dock .dockedtitle {
    padding-bottom: 5px;
    cursor:pointer;
    background-color: #aaa;
    -webkit-border-top-right-radius: 6px;
    -moz-border-radius-topright: 6px;
    border-top-right-radius: 6px;
    -webkit-border-bottom-right-radius: 6px;
    -moz-border-radius-bottomright: 6px;
    border-bottom-right-radius: 6px;
}
#dock .dockedtitle h2 {
    margin: 0;
    padding: 10px 3px;
    color: #fff;
}
.dockedtitle.activeitem h2 {
    color: #fff;
}
#dock .dockedtitle.activeitem {
    background-color: #abc;
    width: 35px;
    -webkit-border-top-right-radius: 0;
    -moz-border-radius-topright: 0;
    border-top-right-radius: 0;
    -webkit-border-bottom-right-radius: 0;
    -moz-border-radius-bottomright: 0;
    border-bottom-right-radius: 0;
}
#dock .controls {
    bottom: auto;
    background-color: #ddd;
    -webkit-border-bottom-right-radius: 6px;
    -moz-border-radius-bottomright: 6px;
    border-bottom-right-radius: 6px;
}
#dock .controls img {
    cursor:pointer;
    margin-left: 10px;
}

/*
Docked Item Panel
-----------------------*/
#dockeditempanel {
    width: 180px;
    position: relative;
    z-index: 12000;
    left: 100%;
}
#dockeditempanel.dockitempanel_hidden {
    display:none;
}
#dockeditempanel .dockeditempanel_content {
    background-color: #fff;
    margin: 0 3px;
    position: relative;
    min-height: 100px;
    border-color: #abc;
    border-style: solid;
    border-width: 5px;
    -webkit-border-radius: 6px;
    -moz-border-radius: 6px;
    border-radius: 6px;
    -webkit-border-top-left-radius: 0;
    -moz-border-radius-topleft: 0;
    border-top-left-radius: 0;
}
#dockeditempanel .dockeditempanel_hd {
    border-width: 0;
    background-color: #abc;
    padding: 2px;
}
#dockeditempanel .dockeditempanel_bd .block_docked {
    margin:10px;
}
#dockeditempanel .block_calendar_month.block_docked {
    text-align: center;
}
#dockeditempanel .dockeditempanel_hd {
    border-bottom:1px dotted #aaa;
    text-align: left;
}
#dockeditempanel .dockeditempanel_hd h2 {
    display:inline;
    margin: 0;
    padding-left: 1em;
    color: #fff;
}
#dockeditempanel .dockeditempanel_hd .commands {
    display:inline;
}
#dockeditempanel .dockeditempanel_hd .commands img {
    margin-left: 3px;
    vertical-align: middle;
}
#dockeditempanel .dockeditempanel_bd {
    overflow:auto;
    width:auto; /* adds scroll to dock panel */
}
#dockeditempanel .dockeditempanel_bd .block_navigation .block_tree li {overflow:visible;}

/* Hide the move icon for blocks which are docked */
#dock .editing_move,
#dock .moodle-core-dragdrop-draghandle {
    display: none;
}
