/* 
    Created on : 30 janv. 2015, 13:33:42
    Author     : lx
*/

.bloc-title {
    position: relative;
    z-index: 5;
    font-weight: bolder;
    font-size: 1.7em;
}
.bloc-list {
    height: calc(100% - 60px);
    overflow: auto;
}

.tippy-box[data-reference-hidden] {
    display: none;
}

.side-block-container {
    position: absolute;
    display: flex;
    align-items: center;
    justify-content: center;
    height: 100%;
    width: 100%;
}
.side-block {
    z-index: 1006;
    
    display: none;
    height: calc(100% - 150px);
    
    padding: 0;
    
    background-color: #fff;
    border: 1px solid #555;
    border-radius: 6px;
    
    box-shadow: 0 2px 26px #222;
}
.side-block.tiny {
    left: 30%;
    width: 40%;
}
.side-block.medium {
    left: 10%;
    width: 80%;
}
.side-block.large {
    left: 2%;
    width: 96%;
}
.side-block.full-height {
    height: calc(100% - 100px);
}

.side-block .sb-head {
    display: flex;
    align-items: center;
    justify-content: space-between;
    height: 40px;
    padding: 5px;
    
    color: #eee;
    font-weight: bold;
    
    border-radius: 6px 0 0 0;
    background-color: #333;
}
.side-block .sb-sub-head {
    margin-bottom: 10px;
}

.side-block .sb-content {
    align-items: flex-start;
    padding: 5px;
    padding-top: 0;
    height: calc(100% - 40px);
    width: 100%;
    overflow-y: auto;
}
.side-block .sb-content .nav-tabs {
    width: 100%;
}
.side-block .sb-content .tab-content {
    min-height: 100%;
    width: 100%;
}
.side-block .sb-content.with-filter {
    height: calc(100% - 95px);
}

.side-block .sb-content .add-block {
    display: block !important;
    margin-bottom: 5px;
    border: 1px solid #333;
    border-radius: 10px;
    box-shadow: 1px 2px 4px #888;
}
.add-block .bHeader {
    display: flex;
    align-items: center;
    justify-content: space-between;
}
.add-block .bHeader {
    border-radius: 10px 10px 0 0;
}
.add-block .bFooter {
    border-radius: 0 0 10px 10px;
}
.add-block .bHeader,
.add-block .bFooter {
    padding: 5px;
    color: #eee;
    text-shadow: 1px 1px 1px #000;
    background-color: #888
}
.add-block .bContent {
    padding: 5px;
    background-color: #fff;
}

.side-blocks-overlay {
    position:  absolute;
    z-index: 1005;
    
    display: none;
    
    top: 0;
    left: 0;
    
    width: 100vw;
    height: 100%;
    
    background-color: #000;
    opacity: 0.75;
}

.side-block .sb-content table tr.active {
    box-shadow: 0 1px 3px #000;
}
.side-block .sb-content table tr.active td {
    background-color: #ccc !important;
}