.risk-matrix {
    position: relative;
    width: 100%;
    /*height: 50%;*/
    height: 460px;
    margin-left: 20px;
    margin-bottom: 20px;
}

.risk-matrix .left-label {
    position: absolute;
    /*font-size: 1.2em;*/
    font-weight: bold;
    bottom: 0px;
    transform: rotate(270deg);
    -webkit-transform: rotate(270deg);
    -ms-transform: rotate(270deg);
    transform-origin: left bottom 0;
    -webkit-transform-origin: left bottom 0;
    -ms-transform-origin: left bottom 0;
}

.risk-matrix .bottom-label {
    position: absolute;
    /*font-size: 1.2em;*/
    /*font-weight: bold;*/
    font-weight: bold;
    bottom: -20px;
}

.risk-matrix .risk-box {
    position: absolute;
    width: 19%;
    height: 19%;
    margin-right: 1%;
    margin-top: 1%;
}

.risk-box.low-risk {
    background: rgba(153, 255, 51, 0.8);
    border: 1px solid rgba(153, 255, 51, 1);
}

.risk-box.medium-risk {
    background: rgba(255, 153, 51, 0.8);
    border: 1px solid rgba(255, 153, 51, 1);
}

.risk-box.low-medium-risk {
    background: rgba(255, 255, 51, 0.8);
    border: 1px solid rgba(255, 255, 51, 1);
}

.risk-box.high-risk {
    background: rgba(255, 51, 51, 0.8);
    border: 1px solid rgba(255, 51, 51, 1);
}

.risk-box.risk-col-0 {
    left: 0%;
}

.risk-box.risk-col-1 {
    left: 20%;
}

.risk-box.risk-col-2 {
    left: 40%;
}

.risk-box.risk-col-3 {
    left: 60%;
}

.risk-box.risk-col-4 {
    left: 80%;
}

.risk-box.risk-row-0 {
    top: 0%;
}

.risk-box.risk-row-1 {
    top: 20%;
}

.risk-box.risk-row-2 {
    top: 40%;
}

.risk-box.risk-row-3 {
    top: 60%;
}

.risk-box.risk-row-4 {
    top: 80%;
}

.risk-matrix .risk-matrix-item {
    border-radius: 50%;
    width: 33%;
    height: 33%;
    overflow: hidden;
    visibility: hidden;
    display: none;
    border: 1px solid #000;
    position: relative;
    float: left;

}

.risk-matrix .risk-matrix-inherent {
    border-radius: 50%;
    width: 30px;
    height: 30px;
    overflow: hidden;
    visibility: hidden;
    display: none;
    border: 1px solid #000;
    position: relative;
    float: left;
}

.risk-matrix .risk-matrix-item-inherent {
    border-radius: 50%;
    width: 30px;
    height: 30px;
    overflow: hidden;
    border: 1px solid #000;
    position: relative;
    float: left;
}

.risk-matrix .risk-matrix-item-greater-than {

}

.label-matrix-greater-than {
    background: White;
    padding: 16px;
    border: 3px solid transparent;
    position: relative;
    float: left;
    border-radius: 20%;
    width: 100%;
    height: 100%;
}

.risk-matrix .risk-matrix-item-related {
    position: relative;
    float: left;
    border-radius: 50%;
    width: 33%;
    height: 33%;
    overflow: hidden;
    visibility: initial;
}

.risk-matrix .risk-matrix-item-show {
    visibility: initial;
    display: block;
}

.risk-matrix .risk-matrix-item > div.open {
    padding: 5px;
    visibility: hidden;
    opacity: 0;
}

.risk-matrix .risk-matrix-item .title {
    font-size: 1.1em;
    font-weight: 700;
    margin-bottom: 5px;
    padding-bottom: 5px;
    border-bottom: 1px solid #ddd
}

.risk-matrix .risk-matrix-item-greater-than .title {
    font-size: 1.1em;
    font-weight: 700;
    margin-bottom: 5px;
    padding-bottom: 5px;
    border-bottom: 1px solid #ddd
}

.label-matrix {
    background: White; /* RGBa(205,205,205,0.1);  */
    padding: 5px;
    transition: 0.25s ease;
    border: 3px solid transparent;
    position: relative;
    float: left;
    border-radius: 50%;
    width: 25%;
    height: 25%;
}

.label-matrix-inherent {
    background: White; /* RGBa(205,205,205,0.1);  */
    padding: 1px;
    transition: 0.25s ease;
    border: 3px solid transparent;
    position: relative;
    float: left;
    border-radius: 50%;
    width: 30px;
    height: 30px;
}

.labelMatrixSelected {
    background: Blue !important;
}

.label-matrix:hover {
    border-color: RGBa(0, 0, 0, 0.2);
}

/*.label:active {*/
/*background: RGBa(0,0,0,0.2);*/
/*}*/

.overlay {
    position: fixed;
    /*height: 50%;*/
    width: 100%;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: RGBa(255, 255, 255, 0.3);
    z-index: 1;
}

.label-matrix-r {
    background: White; /* RGBa(205,205,205,0.1);  */
    padding: 5px;
    transition: 0.25s ease;
    border: 3px solid transparent;
    position: relative;
    float: left;
    border-radius: 50%;
    width: 25%;
    height: 25%;
}

.label-matrix-r-inherent {
    background: White; /* RGBa(205,205,205,0.1);  */
    padding: 5px;
    transition: 0.25s ease;
    border: 3px solid transparent;
    position: relative;
    float: left;
    border-radius: 50%;
    width: 40px;
    height: 40px;
}

.label-matrix-r:hover {
    border-color: RGBa(0, 0, 0, 0.2);
}

/*.label:active {*/
/*background: RGBa(0,0,0,0.2);*/
/*}*/

.overlay-r {
    position: fixed;
    height: 100%;
    width: 100%;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: RGBa(255, 255, 255, 0.3);
    z-index: 1;
}

.popup {
    max-height: 50%;
    position: absolute;
    padding: 10px;
    left: 50%;
    top: 50%;
    width: 300px;
    overflow-y: auto;
    background: #f9f9f9;
    color: #999;
    transform: translate(-50%, -50%);
    border-radius: 5px;
}

.popup-r {
    max-height: 50%;
    position: absolute;
    padding: 10px;
    left: 50%;
    top: 50%;
    width: 300px;
    overflow-y: auto;
    background: #fff;
    color: #999;
    transform: translate(-50%, -50%);
    border-radius: 5px;
}

/*.title {*/
/*font-size: 25px;*/
/*text-align: center;*/
/*display: block;*/
/*}*/

.popup input {
    display: block;
    margin: 20px 0;
    width: 50%;
    padding: 5px 0;
    transition: 0.25s ease;
    color: #333;
    border: none;
    border-bottom: 1px solid transparent;
    font-size: 15px;
    outline: none;
}

.popup input:focus {
    width: 90%;
    border-bottom: 1px #aaa solid;
}

.popup p {
    text-align: center;
    font-size: 20px;
    margin: 30px 0;
}

.floatTL {
    position: absolute;
    z-index: 1050;
    /*top:0px;*/
    /*left:0px;*/
}

@media (min-width: 990px) {

    .my-modal-popup .modal-lg {
        width: 80%;
        max-width: 1500px !important;
    }

}

.primera {
    background-color: orange;
    color: white;
    height: 100px;
    width: 500px;
}

.segunda {
    background-color: #078DD2;
    color: white;
    height: 90%;
    width: 90%;
}

td.highlight {
    background-color: whitesmoke !important;
}

.ta-toolbar {
    background-color: #F0F0F0;
    padding: 10px 10px 5px;
    margin-left: 0px; /* Override bootstrap */
    border: 1px solid #EEE;
}

.ta-toolbar .btn-group {
    margin-bottom: 5px;
}

.ta-editor, .white-box {
    padding: 10px;
    background-color: #FFF;
    border: 1px solid #EEE;
}

textarea.ta-bind {
    width: 100%;
}

/*----------------------------------*/

.custom-file-input ~ .custom-file-label::after {
    content: "Elegir";
}

.section-preview {
    border: 1px solid #e0e0e0;
    padding: 15px;
}

/*
 * A colorselector for Twitter Bootstrap which lets you select a color from a predefined set of colors only.
 * https://github.com/flaute/bootstrap-colorselector
 *
 * Copyright (C) 2014 Flaute
 *
 * Licensed under the MIT license
 */

/* colorselector dropdown */
.dropdown-colorselector>.dropdown-menu {
    top: 80%;
    left: -7px;
    padding: 4px;
    min-width: 130px;
    max-width: 130px;
}

/*
.dropdown-colorselector>.dropdown-menu.pull-right {
  right: -7px;
  left: auto;
}
*/
.dropdown-colorselector>.dropdown-menu>li {
    display: block;
    float: left;
    width: 20px;
    height: 20px;
    margin: 2px;
}

.dropdown-colorselector>.dropdown-menu>li>.color-btn {
    display: block;
    width: 20px;
    height: 20px;
    margin: 0;
    padding: 0;
    border-radius: 0;
    position: relative;
    -webkit-transition: all ease 0.1s;
    transition: all ease 0.1s;
}

.dropdown-colorselector>.dropdown-menu>li>.color-btn:hover {
    text-decoration: none;
    opacity: 0.8;
    filter: alpha(opacity = 80);
    -webkit-transform: scale(1.08);
    -ms-transform: scale(1.08);
    transform: scale(1.08);
}

.dropdown-colorselector>.dropdown-menu>li>.color-btn.selected:after {
    content: "\e013";
    font-family: 'Glyphicons Halflings';
    display: inline-block;
    font-size: 11px;
    color: #FFF;
    position: absolute;
    left: 0;
    right: 0;
    text-align: center;
    line-height: 20px;
}

.btn-colorselector {
    display: inline-block;
    width: 20px;
    height: 20px;
    background-color: #DDD;
    vertical-align: middle;
    border-radius: 0;
}

.dropdown-menu.dropdown-caret:before {
    border-bottom: 7px solid rgba(0, 0, 0, 0.2);
    border-left: 7px solid transparent;
    border-right: 7px solid transparent;
    content: "";
    display: inline-block;
    left: 9px;
    position: absolute;
    top: -7px;
}

.dropdown-menu.dropdown-caret:after {
    border-bottom: 6px solid #FFFFFF;
    border-left: 6px solid transparent;
    border-right: 6px solid transparent;
    content: "";
    display: inline-block;
    left: 10px;
    position: absolute;
    top: -6px;
}

/*
.dropdown-menu.pull-right.dropdown-caret:before {
  left: auto;
  right: 9px;
}

.dropdown-menu.pull-right.dropdown-caret:after {
  left: auto;
  right: 10px;
}
*/

.dndPlaceholder {
    min-height: 42px;
    display: block;
}
.dndDraggingSource {
    opacity: 1;
    display: none;
}

.dndDragging {
    opacity: 1;
}

.table-wrapper-scroll-y {
    display: block;
    max-height: 450px;
    overflow-y: auto;
    -ms-overflow-style: -ms-autohiding-scrollbar;
}

