
body.mobile {
    background-color: #184277;
    padding: env(safe-area-inset-top, 20px) env(safe-area-inset-right, 20px) env(safe-area-inset-bottom, 20px) env(safe-area-inset-left, 20px);
}


#left{
    overflow-y:auto;
}

#left ul li{
    padding-left:0;
    width:72px;
    min-height:72px;
	height: auto;
    cursor: pointer;
	float: left;
}
#left li span {
	display: none;
}
#left.wide li span {
	display: inline;
}
#left li i {
	padding-left:20px;
	font-size:22px;
}
#left.wide > ul > li:hover, #left ul > li.act{
    border-left:solid 6px #9cbbe2;
	background:#e9e9ee;
}
#left.wide > ul > li > ul > li {
	border-left:none !important;
	background: #bcbccb !important;
	margin-left:-26px;
	width: calc(100% + 26px);

}
#left.wide > ul > li > ul > li > ul > li {
	border-left:none !important;
	background: #bcbccb !important;
	margin-left: -59px;
	width: calc(100% + 137px);
	padding-left: 80px;
}
#left.wide > ul > li > ul > li > ul > li.act {
	margin-left: -60px;
	width: calc(100% + 139px);
	padding-left: 74px;
}
#left > ul > li > ul > li:hover, #left > ul > li > ul > li > ul > li:hover {
	background: #8b8ba1 !important;
}
#left.wide > ul > li{
	border-left:solid 6px #bcbccb;
	padding-left:20px !important;
}
#left.wide > ul > li i {
	font-size:18px;
	display: inline-block;
	padding-right:10px;
	margin-left: -13px;

}

#left ul li img{
	position: absolute;
	left:27px;
	top: 50%;
    transform: translateY(-50%);
    width:18px;
}
#left.wide img{
	filter:brightness(0);
}
.screen_name{
	opacity:0;
}

#left.wide .act {
	background: #8b8ba1 !important;
	border-left: solid 6px #000 !important;
	padding-left: 54px;
}
#left > ul > li > ul > li {
	border-left:none !important;
}
#navul > li ul {
	display: none;
}


body.mobile #main {
    left:76px;
    top:70px;
    padding:0;
    width: calc(100vw - 80px);
}

body.mobile #dyn {
    left:76px;
    top:0;
    padding:80px 4px 0 0;
}

#main{
    width:calc(100vw - 347px);
    left:315px;
	min-height:calc(100vh - 95px);
}
#main.login {
    width:100vw;
    left:0;

}
#btn_resetpw_back{
    margin-right:20px;
}

#topareas{
    position: absolute;
    right:60px;
    display: flex;
    flex: 1;
    flex-wrap: nowrap;
    align-items:center;
    align-content: space-between;
    height:40px;
}
.toparea{
    border:1px solid #5C7A9F;
    font-size:15px;
    border-radius: 22px;
    white-space:nowrap;
    cursor: pointer;
	color:#91A8C7;
    min-width:40px;
}
.toparea a {
    color:#91A8C7;
}
.topareaspace{
	border-bottom:1px solid #5C7A9F;
    margin:0 10px;
}
.toparea.act,.toparea:hover {
	border:1px solid #FFF;
	background:#FFF;
	color:#184277;
}

.new_btn:hover{
	opacity:0.5;
}
.btn-primary {
    background-color:#184277;
    border-color:#212529;
}
.btn-outline-primary {
    color:#184277;
    border-color:#212529;
}

.btn-primary.disabled,.btn-primary:disabled {
    background-color:#184277;
    border-color:#184277;
}
.btn-primary:not(:disabled):not(.disabled).active,.btn-primary:not(:disabled):not(.disabled):active,.show>.btn-primary.dropdown-toggle {
    background-color:#2852b7;
    border-color:#2852b7;
}
.btn-primary:hover {
    background-color:#2852b7;
    border-color:#184277;
}
.btn-secondary {
    background-color: #6f6f6f;
    border-color: #888891;
}
.maintab tbody tr td {
     font-size:0.9em;
     line-height: 1.2em;
 }
.maintab.table_grey tbody td,.maintab.table_grey thead td {
    padding: 8px 10px;
}

.table_operations { white-space: nowrap; }
.table_operations i {
	cursor: pointer;
    font-size:1.4em;
    color: #888891;
}
.table_operations i:hover {
    color:#000;
}

.table_operations i.click {
    margin-right:0.4em;
}

#dyn.dyn_wide {
    left:76px;
    padding:80px 0 0 0;
    top:0;
/*    width: calc(100vw - 80px); */
}

[inert] > * { opacity: 0.5; }

.filter_bar .btn.bgblue {
    background: #184277;
}
.filter_bar .btn-group {
    margin-bottom:15px;
    line-height: 50px;
}

.filter_bar .col-md-1 i {
    font-size:24px;
    vertical-align:top;
    margin: 0 4px;
}
.filter_bar .col-md-1 {
    border-right: 1px solid #e9e9ee;
    color: #4D4F5C;
    height: 30px;
    margin-top: 10px;
    cursor: pointer;
}

/*
#myall, #myalladm {
    margin:0 4px;
}
.myall i, .myalladm i, .filter_symbol i { }
*/
h3.screentitle{
    font-size: 18px;
	margin-bottom:40px;
	color:#4D4F5C;
	position: relative;
	width:100%;
}

.screeninner label {
    margin-top:0.7em;
}

.weight {
	width:1em;
	height:1em;
	display:inline-block;
	border:solid 1px #fff;
	margin-right:2px;
	margin-bottom: -2px;
}

.maprow {
    clear: both;
    border-collapse: collapse;
}

.mapcol {
    position: relative;
    display: inline-block;
    float: left;
    border:solid 0.5px #fff;
    border-collapse: collapse;
    color:#fff;
    text-align: center;
}
.maplegendx,.maplegendy {
    background: linear-gradient(90deg, rgba(255,255,255,0.9) 0%, rgba(255,255,255,0.8) 60%, rgba(255,255,255,0) 100%);
    padding-left:1.4em;
    height:1.4em;
    line-height: 1.4em;
    font-size:0.8cqw;
}

.maplegendx {
    margin-top: -1.4em;
    grid-area: -1 / 1 / -1 / -1;
}
.maplegendy {
    z-index: 10;
    transform: rotate(-90deg);
    transform-origin: left top;
    grid-area: -1 /1 / -1 / -1;
}
.mapbox, .startmapbox {
    color:#fff;
    aspect-ratio: 1;
    font-size: min(4cqw, 6cqh);
    display:flex;
    justify-content: center;
    align-items: center;
    transition-duration: 0.2s;
}
.mapbox.hov, .mapbox:hover {
    transform: scale(1.1);
    box-shadow: 0px 0px 4px 4px #fff;
    z-index:11;
}
.mapbox.sel {
    border: solid #fff;
    border-radius: 50%;
}
.mapbox.selnet {
    border: dashed thick #fff;
    border-radius: 50%;
}
.riskmapscale {
    display:flex;
    height: 2em;
    color: #000;
    align-self: self-start;
    margin-top: -100%;
    overflow: hidden;
    white-space: nowrap;
    align-items: center;
    justify-content: right;
    font-size: 0.8cqw;
}


/*
.mapbox:before {
  content: "";
  display: inline-block;
  height: 100%;
  vertical-align: middle;
}
*/
.startmapwrap {
    max-width:95%;
    margin:0 auto;
}
#startStrategicmap, #strategicmap {
    display:block;
    width:100%;
    height:auto;
    background:#fff;
}
#strategicmapwrap {
    width:100%;
    max-width:800px;
    margin:0 auto;
}
#riskfimapwrap {
    position:relative;
    width:100%;
    height:calc(100vh - 150px);
    min-height:400px;
}
.rosigraphwrap {
    position:relative;
    width:100%;
    height:320px;
    margin-top:25px;
}
#strategicmap {
    cursor:pointer;
}
#strategicmapscreenbody {
    padding-bottom:30px;
}
#strategicmaplegend {
    display:grid;
    grid-template-columns:repeat(2,minmax(0,1fr));
    gap:24px;
    width:81.25%;
    margin:8px 4.375% 0 14.375%;
}
.strategiclegendcolumn strong {
    display:block;
    margin-bottom:8px;
}
.strategiclegenditem {
    display:grid;
    grid-template-columns:58px minmax(0,1fr);
    align-items:start;
    min-height:52px;
    line-height:1.25;
}
.strategiclegendsize, .strategiclegendcolor {
    display:block;
    justify-self:center;
    border:1px solid #202020;
    border-radius:50%;
    margin-top:2px;
}
.strategiclegendsize {
    background:#fff;
}
.strategiclegendcolor {
    width:24px;
    height:24px;
}

.riskmap {
    display: grid;
    grid-gap: 1px;
    background-color: #fff;
    grid-auto-rows: 1fr;
    grid-auto-flow:row;
}

/* nested sort */
ul.proclist, ul.acclist {
	width: 100%;
	max-width: 800px;
}
.proclist li div:hover  { background:#fafafa; }
.proclist li.nestedSortable-collapsed > ul, .acclist li.nestedSortable-collapsed > ul { display: none; }
.proclist li.nestedSortable-collapsed > ol, .acclist li.nestedSortable-collapsed > ol { display: none; }
.proclist li.nestedSortable-branch > div > .disclose, .acclist li.nestedSortable-branch > div > .disclose { display: inline-block; }
.disclose { cursor: pointer; width: 20px; display: none; }
.dragplaceholder { border:dotted 1px #000; }

.arrowicon {
  width: 13px;
  display: inline-block;
}

.proclist li div, .acclist li div{
	padding:6px 0px;
	border-bottom:1px solid #e9e9ee;
    max-width: 100%;
    overflow: hidden;
    text-overflow: ellipsis;
    text-wrap: pretty;
}
.proct, .acct {
	display:inline-block;
	width:290px;
}
.checkinuse, .invalid {
	outline:2px dotted #bf2727;
}
/* dia collaps */
.procsel li.nestedSortable-collapsed > ol { display: none; }
.procsel li.nestedSortable-branch > div > .disclose { display: inline-block; }
ol.procsel { max-width: 390px; }
ol.procsel, ol.procsel ol { list-style-type: none; }
#formdiareview ol.procsel { max-width: 800px; }
#formdiareview .proct, .acct { width:690px; }


.procsel li div {
	background-color: #fff;
	border-style: none none solid none;
	border-width: 0 0 1px 0;
	border-color: #e9e9ee;
	margin: 0;
	padding: 0px;
}
.rotate90 {
	-webkit-transform: rotate(90deg);
    -moz-transform: rotate(90deg);
    -ms-transform: rotate(90deg);
    -o-transform: rotate(90deg);
    transform: rotate(90deg);
	display: inline-block !important;
}
.disclose.rotate90 {
	padding-top: 0px;
  	padding-left: 2px;
}

/* small proclist title */
.ccheck {
	vertical-align: top;
	margin-top:5px;
}

.iconwrapper { float:right;  }
.iconwrapper i { font-size:16px; cursor: pointer;}

/* Assessmentlist */
.assessment_fa{
	float:right;
	padding-right:7px;
}
.assessment_fa .fa-pencil{
	padding-right:3px;
}
#answer_assessment{
	width:400px;
	margin-bottom:10px;
}
.quest_assessment{
	margin-bottom:40px;
}
.ans_assessment{
	margin-top:33px;
}
.assessment_top{
	margin-top:107px;
}
.answer {
	position:relative;
}
.ansitem {
	position: relative;
  float: left;
  width: 100%;
	margin-bottom: 30px;
}

/*.sortgroup {
	position: absolute;
	left: 387px;
	top: 43px;
}
.sortquestion {
	position: absolute;
	top: 44px;
	left: -19px;
}*/
.item {
	clear: left;
	float: left;
	width: 100%;
}
.sortanswer {
	position: absolute;
	left: -20px;
	top: 10px;
}
.rem_answer {
	position: absolute;
	left: -40px;
	top: 10px;
}

.fullleft, .fullright{
	width: 50%;
	float: left;
}
.fullleft.clear { clear:left; }
.fullright {
	padding-left:50px;
}
.assanswitem input{
    margin-bottom:0;
}
#impacttable {
    min-width: 80%;
/*    white-space: nowrap; */
}
#impacttable td:last-of-type{
    white-space: nowrap;
    text-align:right;
}
#impacttable input {
    width: 70%;
    display:inline-block;
    margin:12px;
    text-align:right;
}
#impacttable input.showonly {
	width: 100%;
	text-align:right;
	border:none;
	margin:0;
	padding:0;
}
.ellipsis {
    overflow:hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
    max-width: 35vw;
}

.table_grey td mark {
    padding:0;
}
.tab-pane:not(.active){
     display: none;
 }
.dimdia {
    z-index:10 !important;
    opacity:0.1;
}

.diainner .w50{
	width:calc(50% - 30px);
	margin-right: 15px;
}
.qwrapper{
	display: block;
	clear: left;
	border-top: 1px solid #184277;
	margin-bottom:30px;
	padding-top: 20px;
}
.diainner input:not([type="checkbox"]):not([type="radio"]), .diainner select, .diainner .select2_std {
	max-width: 800px;
}
.diainner input:not(.fleft):not([type="checkbox"]):not([type="radio"]), .diainner select:not(.fleft), .diainner .select2_std:not(.fleft) {
	clear:left;
}
.diainner input:not(.tmphide):not([type="checkbox"]):not([type="radio"]) {
	display: block;
}
.diainner input[type="radio"] {
    float: left;
    clear: left;
    margin-top: 5px;
}
.diainner input[type="radio"] + label {
    clear: unset;
  width: calc(100% - 25px);
  padding: 0px !important;
  margin-top: 5px;
  opacity:1;
  float: left;
}

.diainner .datefield {
	width: 150px !important;
}
.diainner .fleft {
	float: left;
	padding-right: 20px;
}
.tmphide {
	display: none;
}
/*Details Diverse*/
#reviewrisks .attrisk{
	display: flex;
    width:100%;
    flex-wrap: nowrap;
	padding-bottom: 10px;
}

#reviewrisks .attrisk span:first-of-type {
  margin-left: auto;
}

#reviewrisks .attrisk span + span {
  margin-left: 10px;
}
#riskselwrapper{
    display:none;
}
#riskselwrapper .select2{
    width:100% !important;
}
#riskselabort{
    padding-left: 27px;
  margin-bottom: 20px;
}

#single_risk_wrap .select2.select2-container.select2-container--default{
  margin-bottom: 4px !important;
  margin-left: 20px !important;
}

.fileup.tmphide{
	padding-top: 15px;
}

#dia_assessment h4{
	margin-top: 0;
}
.qgroup{
	margin-bottom: 20px;
}
.qgroup h3{
	font-weight: bold;
}
.qgroup .agroup{
	margin-top: 10px;
}

#duerepeatwrap, #dia_controls .input50{
	font-size: 14px;
}
/*#riskusr_wrap .select2.select2-container.select2-container--default{

}
*/
#revisions{
	padding-bottom: 10px;
}

.ribtnaddrisk{
    /*
	background-color: #184277;
	color: #fff;
	height: 35px;
	border-bottom: #2852b7;
    width: 500px;
*/
    width:50%;
}
.ribtnopenrisk{
	height: 40px;
    margin-top:20px;
    display:block;
}
.btnopenrisk {
    margin: 10px;
}
#dia_impacts label{
	margin-top: 30px;
}

#formdiaquestionairegroups .proct{
	width: calc(100% - 60px);
}
#aprocli_0{
	width: 100%;
	max-width: 100%;
}

#dyn{
	overflow-x: hidden;
}

/*.ansitem .sortanswer{
	left: -30px;
}*/
.ansitem .rem_answer {
    right: 0;
	left: auto;
	max-width: 15px;
}
.quest_assessment label i{
	margin-left: 10px;
}
.fullleft .quest_assessment textarea{
	min-height: 100px;
}

#formdiausergroups .trigger, #dia_notificationgroups .trigger{
	margin-bottom: 20px;
    cursor:pointer;
}
.trigger .fa{
    font-size: 12px;
  margin-right: 5px;
}
.trigger.trigger_active .fa{
    transform: rotate(90deg);
}
h4.trigger{
    cursor: pointer;
}
.usrgp_inner, .diainner .checkboxwrapper{
	display: flex;
}
.diainner .checkboxwrapper label{
    padding: 0 !important;
    margin-top: -3px;
    margin-left: 8px;
}

#formdiarisks .nav {
	flex-wrap: inherit;
}
#formdiarisks span.input50{
	padding-left: 60px;
}
#formdiarisks #cockpitTab .tox, #procmapping{
	margin-bottom: 20px;
}
.riskspad{
	padding: 20px 0;
}
#formdiarisks label{
	padding: 20px 0 5px;
}
#r2rnew{
	padding-bottom: 20px;
    display: block; cursor: pointer;
}
#r2rnew .fa-plus{
	margin-right: 10px;
}
#relvwtab_relvcombo8 td,.ratingtab td, .relevance2riskrating td{
	padding-right: 10px;
	vertical-align: top;
	padding-bottom: 5px;
}
.relvwtab td:last-of-type{
	min-width: 100px;
}
.relevance2riskrating .ratingtable {
	margin-bottom: 80px;
    width:100%;
}

#clearr2rrating{
	background: #fe6566;
	color: #fff;
	padding: 7px 20px;
	vertical-align: -moz-middle-with-baseline;
	cursor: pointer;
}
.impactimputwrp{
	margin-right:20px;
}
#p_min, #p_med,#p_max, #impacttable tr:first-of-type th:nth-last-of-type(2),  #impacttable b:first-of-type{
	margin-left: 30px !important;
	display: inline-block;
}
#dia_measures .nav-link{
	width: 33.334%;
}
/*#dia_measures .input50,*/#formdiacontrols .input50{
	width: 100% !important;
}
#dia_measures .input50 #controlrepeat1{
	margin-left: 50px;
}
.riskcnmtab .subtab select{
	padding-left: 7px !important;
}
.riskcnmtab .riskcnmadd .select2-selection{
	height: 38px;
}
.riskcnmtab .select2-container--default .select2-selection--single .select2-selection__rendered{
  padding: 4px 15px;
}
.riskcnmtab .select2-container--default .select2-selection--single .select2-selection__arrow{
  top: 4px;
}
.riskcnmadd .select2 {
  margin-right: 10px;
    margin-bottom: 0;
}
 #formdiacontrols .readonly, #formdiameasures .readonly{
	margin-bottom: 15px;
	float: left;
}
#formdiacontrols .tox-tinymce,#formdiameasures .tox-tinymce{
	margin-bottom: 15px;
}

#calendar {
    display:block;
    width:100%;
    height:100%;
}

#main .card {
    margin:15px 0;
}
#formdiariskident_list_processes .btnopenrisk, #riskident_questions_list .btnopenrisk{
	/*
    color: #000;
    border-color: #e9e9ee;
    background-color:#fff;
	border-radius: 0;
    border-width: 0 0 1px 0;
    line-height: 1.8em;
    cursor: pointer;
	box-shadow: 0px 1px 1px 1px #e9e9ee;
	margin:0;
    */
	margin-bottom: 20px;
    width:220px;
}
#formdiariskident_list_processes .tmphide{
	max-width: 800px;
	min-width: 500px;
	float: left;
    margin-right: 300px;
    width:100%;
}
#formdiariskident_list_processes .rilistrisk,#riskident_questions_list .rilistrisk{
/*	width: 500px; */
	margin-bottom: 20px;
}
#formdiariskident_list_processes .rilistrisk span,#riskident_questions_list .rilistrisk span {
    float: left;
    width: 50%;
}
#riskident_questions_list .ribtnaddrisk{
    margin-right: 100%;
}
#riskident_questions_list select{
	width:calc(50% - 30px);
	margin-right: 15px;
}
#riskident_questions_list .rilistrisk{
	min-width: 75%;
    clear:both;
}
.rlcause, .rlcmeasure, .rllinkedrisk {
    display: inline-block;
    border-style: solid;
    border-color: #e9e9ee;
    box-shadow: 2px 2px 4px #e9e9ee;
    border-width: 1px 2px 2px 1px;
    font-weight: normal;
    color:#000;
    background-color: #fff;
    cursor: pointer;
    line-height: 22px;
    padding: 8px 12px;
    width: 18vw;
    min-width: 220px;
    height:60px;
    overflow:hidden;
    margin: 4px 0 4px 6px;
    border-radius:0.25rem;
    position: relative;
}

.rlcause:hover .risk_remove_cause, .rlcmeasure:hover .risk_remove_measure, .rllinkedrisk:hover .risk_remove_linkedrisk{
    display: inline-block;
}

.riskloadselect {
    animation: grow;
    animation-delay:0.25s;
    animation-duration: 0.75s;
}

.tabulator-row.riskloadselect {
    transform-origin:left;
}

.risk_remove_cause, .risk_remove_measure, .risk_remove_linkedrisk {
    font-size: 1.5rem;
    line-height: 1.2;
    position: absolute;
    right: 10px;
    top: 10px;
    display: none;
}

.risk_add_measure {
    float: right;
    margin: 18px;
}

.riskcnmtab td:first-child{
    width: calc(18vw + 26px);
    min-width: 246px;
}
.subtab.riskcnmtab tfoot td:last-of-type {
    text-align:left;
}

.subtab {
    width:100%;
}
.subtab td {
    vertical-align: top;
    padding: 8px 10px;
}
.subtab select {
    margin:12px;
    background-color: #fff;
    width:auto;
    padding: 4px 8px;
}
.subtab tfoot td:last-of-type{
	color:#888891;
    text-align: right;
}
#linkedrisksTab .subtab tfoot td:last-of-type{
	text-align: left;
}
.subtab tfoot .select2, .tabulator-footer-contents .select2 {
	margin-bottom: 0;
	height: 36px;
	background: #fff;
	padding-left:5px;
}
#dia_riskview .floatl{
	float: left;
	margin-bottom: 50px;
}
#dia_riskview .description{
	padding-right: 50px;
}
#dia_riskview .bold, .bold{
	font-weight: bold;
}
#dia_riskview .bold.rsgray, #dia_riskview .rsltgray, #dia_riskview td.bold{
	width: 320px;
	padding-right: 20px;
}
#dia_riskview table{
	margin-top: 50px;
	width: calc(100% - 50px);
}
#dia_riskview th{
	background: #e9e9ee;
	padding: 5px;
}
#dia_riskview td{
	vertical-align: top;
	padding: 5px;
}
#dia_riskview .rsimpact thead th{
	font-weight: bold;
}
#dia_riskview .rsimpact tbody th{
	background: none;
	font-weight: bold;
}
#dia_riskview .thright {
	text-align: right;
}
#dia_riskview .rsusertitle{
	font-weight: bold;
}
#dia_riskview .rsgraph{
    margin-top:50px;
}
#dia_riskview .rsbgltgray{
	background: #9cbbe2;
}
#dia_riskview .rsrlv{
	cursor: pointer;
}

#formdiasettings .btn-group{
	width: 100%;
}

#dia_about .btm_small{
	position: absolute;
    bottom: 0px;
    font-size: 0.8em;
}
#dia_about .diainner{
	padding-bottom: 130px;
}
#dia_about img{
	margin-bottom: 20px;
}
#dia_about a{
	color:#184277;
}
#dia_about i{
	margin-left: 15px;
	cursor: pointer;
}



#nav_icons {
    width:100%;
    height: 72px;
    overflow: hidden;
    padding-left:0;
}

#navul {
    display:inline-block;
    margin-bottom:72px;
}
.dot{
  height: 16px;
  width: 16px;
  background-color: #bcbccb;
  border-radius: 50%;
  display: inline-block;
}

.table_grey td, .table_grey th { padding:8px 10px; }
.tabulator input {
    margin-bottom: 0;
}
.column-dropdown-menu .dropdown-item {
    padding: 0 3rem 0 1rem;
}
.column-dropdown-menu label {
    font-size:inherit;
    opacity: 1;
}
label.column-dropdown-item.dropdown-item i {
    margin-left:-2px;
    margin-right: 12px;
    font-size: 20px;
    color:#888891;
}

.tabulator-row {
    transition: background-color .25s;
}
.tabulator-row .tabulator-cell.table_operations:first-of-type {
    border-left:solid 1px #e9e9ee;
}
#addbookmark {
    transition: all 0.2s ease;
}
/*
.filter_bar .columns.columns-left.btn-group .btn {
    min-width:40px;
    margin-left:0;
    border-color:#888891;
    border: 1px solid transparent;
}
*/
.tabulator-header-filter input {
    display: block;
    height: calc(1.5em + .75rem + 2px);
    line-height: 1.5;
    color: #4d4f5c;
    background-color: #fff;
    background-clip: padding-box;
    border: 1px solid #e9e9ee;
    border-radius: .25rem;
    transition: border-color .15s ease-in-out,box-shadow .15s ease-in-out;
}

#startcalendar {
    min-height: 300px;
}
#startcalendar .fc-event {
    cursor: pointer;
}

.admonly {
    display:none;
}

.dia-in { animation-name: dia-in; animation-duration: 0.25s; }
.dia-out { animation-name: dia-out; animation-duration: 0.25s; }


@keyframes dia-in {
    0% { transform: translateY(50%); }
    100% { transform: translateY(-50%); }
}
@keyframes dia-out {
  0% { transform: translateY(-50%); }
  100% { transform: translateY(50%); }
}

@keyframes grow-x {
  from { transform: scaleX(0); opacity:(0.5); }
  to { transform: scaleX(1); opacity: (1); }
}
@keyframes shrink-x {
  from { transform: scaleX(1); opacity:(1); }
  to { transform: scaleX(0);  opacity:(0.5);}
}
@keyframes grow {
    0%   {  transform: scale(0); }
    50%  {  transform: scale(2.5); }
    100% {  transform: scale(1); }
}

.startGrid {
   display: grid;
   grid-template-columns: 1fr 1fr 1fr;
   grid-template-rows: auto;
   grid-auto-rows: auto;
   gap: 8px;
  justify-items: stretch;
  align-items:stretch;
  justify-content: stretch;
  align-content:stretch;
  width:100%;
  height:80%;
  grid-auto-flow: row;
}

.startGrid > div {
    min-height:200px;
    grid-row-start: span 1;
    grid-column-start: span 1;

}

#wRiskmap, #wDetectionmap, #wStrategicmap {
    grid-row-start: span 2;
}
#wCalendar {
    grid-row-start: span 2;
}

#wRiskKPIs {
    grid-column-start:span 3;
    min-height:150px;
}
#wRiskTop, #wRiskTrend, #wRiskWaterfall {
    grid-column-start:span 2;
    min-height:320px;
}
#wMeasureStatus, #wRiskStatus, #wControlStatus {
    min-height:320px;
}
.riskkpigrid {
    display:grid;
    grid-template-columns:repeat(auto-fit,minmax(150px,1fr));
    gap:10px;
    align-content:stretch;
}
.riskkpi {
    display:flex;
    flex-direction:column;
    justify-content:center;
    min-height:78px;
    padding:10px 14px;
    color:#fff;
    cursor:pointer;
    border-radius:2px;
}
.riskkpi span {
    line-height:1.15;
}
.riskkpi strong {
    margin-top:5px;
    font-size:24px;
    line-height:1.1;
}
.riskkpi.blue { background:#416985; }
.riskkpi.red { background:#815b5e; }
.riskkpi.yellow { background:#aa8b3e; }
.riskkpi.green { background:#5e805d; }
.riskkpi.gray { background:#77777e; }
.dashboardchart {
    position:relative;
    min-height:260px;
}
.bookmarklistitem {
    width: 100%;
    height:3em;
    line-height:3;
    border-bottom: 1px solid #e9e9ee;
    cursor: pointer;
    overflow: hidden;
    white-space: nowrap;
}
.bookmarklistitem .removeBookmark {
    display: none;
    transition: 0.2s;
    margin-top: 0.25rem;
    float:right;
}
.bookmarklistitem:hover .removeBookmark {
    display:inline-block;
    z-index: 1;
}
.widgetBarBtn {
    float: right;
    font-size:1.2em;
    line-height: 1.5em;
    color:#888891;
}
.widgetBar {
    height:100%;
    float:right;
    display:none;
    font-size:1.4em;
    line-height: 1.2em;
    color:#888891;
}
.widgetBar > span {
    width: 42px;
    display:inline-block;
}

.pointer {
    cursor: pointer;
}

.screen_navbar{
	position: absolute;
	left:0px;
	top:0px;
	width:100%;
    padding: 15px 60px;
    height: 80px;
    color: #4D4F5C;
    z-index: 1;
    border-bottom: solid 1px #e9e9ee;
    background-color: #fff;
}
.screen_navbar .nav-item, .dia .btn-group .nav-item {
    padding: 0 24px 0 0;
    align-self:center;
    white-space: nowrap;
    cursor: pointer;
    transition: all 0.2s;
}

.screen_navbar .nav-item > div > i {
    vertical-align:text-bottom;
}
.screen_navbar .btn, .dia .btn-group .btn {
    color:#4D4F5C;
    border-radius:0;
    border-width: 0 0 1px 0;
    border-color:#e9e9ee;
    line-height: 1.8em;
    cursor: pointer;
    box-shadow: 0px 1px 1px 1px #e9e9ee;
}
.screen_navbar .btn:hover, .dia .btn-group .btn:hover {
	background: #8b8ba1;
	color: #fff;
}
.dialngnav{
    width: calc(100% - 100px);
    display: block;
    margin-top: -78px;
    margin-left: -54px;
}
.screen_navbar .btn , .screen_navbar .btn-group .btn  {
    min-width: 2.8em;
    transition: all 0.2s;
}
.dia .btn-group .btn  {
    width: 2.8em;
    transition: all 0.2s;
    background: #fff;
}
.dia .btn-group.tendencygroup .btn{
    width:auto;
}

.screen_navbar .btn-group .btn.active, .dia .btn-group .btn.active {
    opacity: 1;
    background: #8b8ba1;
	color: #fff;
}
.screen_navbar .btn-group label.btn {
    margin-right:0;
    opacity: 0.9;
}

.screen_navbar .nav-item > span.btn {
    margin-right:0;
}

.screen_navbar .btnbar .nav-item {
    padding:0 0 0 12px;
    transition: all 0.2s;
}

.screen_navbar .searchbar .search-input {
    background:url(../img/icon_search.svg) 8px center no-repeat;
    padding-left:36px;
    border-width: 0 0 1px 0;
    box-shadow: 0px 1px 1px 1px rgba(100,100,100,0.1);
    margin: 0 10px;
    height:2.4em;
    width:35vw;
    display:inline-block;
}
#navbaritems #addBookmark {
    width:2.8em;
    overflow:hidden;
}
#navbaritems #addBookmark:hover {
    width:100%;
}

#navbaritems #addBookmark .navlabeltxt {
    width:0%;
	overflow: hidden;
    height: 1em;
	display: inline-block;
}
#navbaritems #addBookmark:hover .navlabeltxt {
	width: 100%;
    overflow: visible;
    margin-right: 8px;
}

#matchcnt {
    display:inline-block;
    margin: 0 51px 4px -80px;
    font-size: 0.8em;
    border-radius: 100%;
    width: 2em;
    height: 2em;
    line-height: 2em;
    background: #e9e9ee;
    font-weight: 400;
    text-align: center;
    vertical-align: middle;
}
.btn:focus { box-shadow: 0 0 0 0.2rem #fafafa; }

.bsel {
	background:rgba(10,57,117,0.1);
}

.tabulator-header-popup-button { display: none; }

.tabulator-row.hov {
    background-color: #e9e9ee;
}
.dynclearfilter {
    display: none;
    float: right;
    position: absolute;
    top: 21px;
    right: 50px;
    font-size: 1.9em;
    z-index: 15;
    box-shadow: 0 0 5px 4px #ffffffdd;
    color: #000;
    border-radius: 50%;
    width: 1.5em;
    height: 1.5em;
    text-align: center;
    background: #ffffffdd;
    transition: 0.2s;
    animation-name: grow;
    animation-duration: 0.5s;
}
.max100 {
    max-height: 100%;
    overflow: hidden;
}

.faded {
    opacity: 0.4;
}

.loginlinks {
    position: fixed;
    left: 30px;
    bottom: 20px;
}
.loginlinks .btn {
    width: 160px;
    display: block;
    margin-bottom: 8px;
}

.screen_navbar .calLegend.act {
    border-bottom-width: calc(1px + 0.375rem);
    padding-bottom: 0;
}
.calLegend, .screen_navbar .calLegend {
    margin-left: 10px;
    min-width:120px;
}

.otpqr {
    width: 40vh;
    margin-top: 20px;
}
.nav-link.disabled {
	pointer-events: none;
	opacity:0.3;
 }

#cmbcause {
    min-width: 400px;
}



.diainner input[type=date].dtcontrolnext {
    display:inline-block !important;
    max-width: calc(800px - 122px);
    width: calc(100% - 122px);
}

.controlnext span.btn {
    margin-top: -12px;
}

.controlnextstatus {
    display: inline-block;
    width: 2rem;
    text-align: center;
    font-size: 1.4rem;
    height: 2rem;
}

.monitoringlog div {
    display:flex;
    border-bottom: solid 1px #e9e9ee;
    padding: 1em 0;
}
.monitoringlog div span {
    padding: 12px 8px;
}
.monitoringlogremarks {
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
    height: 2.5rem;
}
.monitoringlogremarks.addcarret:before {
    content: '▶';
    cursor: pointer;
}
.monitoringlogremarks.addcarret.expand:before {
    content: '▼';
}

.monitoringlogremarks.expand {
    white-space: normal;
    height: auto;
    cursor: default;
}

.btn.disabled, .btn:disabled {
    cursor: default;
}
@media (max-width: 1760px){
    #navbar_left .tabletools .navlabeltxt { display:none; }
}

@media (max-width: 1600px){
    .screen_navbar {
        padding:5px 15px 5px 5px;
    }
    .screen_navbar .nav-item {
        align-self: flex-start;
        margin: auto 0;
        width: 100%;
        padding: 10px 10px;
    }
    .startGrid { grid-template-columns: 1fr 1fr; }
    #navbar_left .navlabeltxt { display:none; }
}

@media (max-width: 1280px){
    #top_hidden { width:72px; }
    #logo2 { left:5px; width:60px; }
    #left ul.subnav { display:none; }
    #topareas{ margin-top:10px; right:8px; }
    .toparea{
        height: 36px;
        padding: 6px 10px;
        margin-top: 15px;
        font-size: 14px;
        border-radius: 16px;
    }
    /*.topareaspace{ width:0; }*/
    .screen_navbar {
        padding:5px 10px 5px 0;
    }
    .screen_navbar .nav-item {
        padding: 10px 5px;
    }

    .diainner .nav-link{
        max-width:50%;
    }
    .dia.dia_small.expand {
        left:1%;
        width:98%;
        height:99vh;
    }
    .tabulator-headers > .tabulator-col.table_operations:first-of-type .tableheadermenuicon { display:inline-block; }
    .tabulator-headers > .tabulator-col.table_operations ~ .tabulator-col.table_operations .tableheadermenuicon { display:none; }
    .table_operations .tabulator-header-popup-button { display: inline; }
    .tabletools { display:none }
}

@media (max-width: 720px){
    .btnbar .navlabeltxt { display:none; }
    #logo2 { width: 60px; left: 6px; top: 28px; }
    .startGrid { grid-template-columns: 1fr; }
    .dia_large, .dia_small { width: 98vw; left:1vw; height:99vh; }
    .dia { padding: calc(10px + env(safe-area-inset-bottom)) 15px calc(40px + env(safe-area-inset-bottom)) 15px; }
    .diainner .nav-link{ max-width:100%; }
    .diainner { padding-right:0; }
    .expanddia { display: none; }
    .fullleft, .fullright { width: 100%; float: none; padding-left: 0; }
    #impacttable input { margin: 12px 4px; width:40%; }
    #impacttable th { hyphens: auto; }
    #impacttable input.showonly { width:60%; }
    .subtab { width: 90%; margin:0 auto; }
    #cnmTab th { display: none; }
    #cnmTab td { display: block; width:100%; }
    .max100 { max-height: none; overflow: visible; }
}

@media (max-width: 600px){
    body { font-size:13px; }
    .btn { font-size:1em; }
    #topareas{
        top:80px;
        margin:0;
        position: absolute;
        right:0;
        display: flex;
        flex: 1;
        flex-wrap: nowrap;
        align-items:center;
        align-content: space-between;
        height:calc(100vh - 80px);
        flex-direction: column;
        background-color:#184277;
    }
    #top.hide_this #topareas {
        display: none;
    }

    .toparea{
        line-height: 70px;
        height:72px;
        margin-top: 0;
        font-size: 16px;
        border-width: 0 0 1px 0;
        border-radius: 0;
        min-width:84px;
        width: calc(100vw - 301px);
        text-align: right;
        padding: 0 10px;
    }
    #left { width:52px; font-size:16px; }
    #left li i { padding-left:10px; }
    #logo2 { left:3px; width:46px; }
    #top_hidden { width:52px; }
    body.mobile #main {
        left:56px;
        width: calc(100vw - 60px);
    }
    body.mobile #dyn { left:56px; }
    .calLegend, .screen_navbar .calLegend {
        min-width:2.8em;
        width:2.8em;
        overflow: hidden;
        text-overflow: ellipsis;
    }

}

@media (min-width: 1200px){
    .tableheadermenuicon { display:none; }
/*    .tabulator .tabulator-header .tabulator-col .tabulator-col-content .tabulator-header-popup-button { padding: 0; } */
    .tabletools { display:list-item; }
}

@media (min-width: 1280px){
    #topareas{ margin-top:20px; }
    .toparea{ height:44px; padding: 10px 15px; }
    /*.topareaspace{ width:calc(24vw - 410px); }*/
}
.tabulator .tabulator-header .tabulator-col .tabulator-col-content{
	padding: 10px;
}
#startcalendar .fc-toolbar.fc-header-toolbar{
	margin-bottom: 0em;
}

.cnmweight {
    margin-bottom:0;
    margin-top: 30px;
}
.cnmweight::before {
    content: attr( value );
    display: inline-block;
    height: 1.8em;
    margin: -26px auto 0 auto;
    position: absolute;
    width: 80px;
    text-align: center;
}
.meanselect, .meanselect:hover, .situselect, .situselect:hover, .levelselect, .levelselect:hover {
    margin-bottom: 4px;
    width:100%;
}
.meanselectval, .situselectval, .levelselectval {
    display: inline-block;
    width: 100%;
    text-align: center;
    height: 2em;
    margin-bottom:16px;
}
/*
.meanselect::before {
    content: attr( value );
    display: inline-block;
    height: 1.8em;
    margin: -16px auto 0 auto;
    position: absolute;
    width: 200px;
    text-align: left;
}

datalist {
    display: flex;
    width: 100%;
    justify-content: space-between;
    margin-top: -8px;
    padding-top: 0px;
    overflow: hidden;
    font-size: 14px;
    writing-mode: vertical-lr;
    flex-direction: column;
}

datalist option {
}
/*
body.snaploaded {
    filter: sepia(0.2);
}

.snapdis, .snapdis:hover, body.snaploaded .btndiasave, body.snaploaded .btnsave, body.snaploaded .controlnextdone {
    pointer-events: none !important;
    text-decoration:line-through;
    cursor: not-allowed !important;
}
body.snaploaded .tabulator-row .tabulator-cell.tabulator-row-handle .tabulator-row-handle-box {
    width:0;
}
body.snaploaded i.fa-trash, body.snaploaded i.fa-sort,  body.snaploaded i.fa-plus-square {
    opacity: 0.4 !important;
    pointer-events: none !important;
}
/*
body.snaploaded .relevance2riskrating input, body.snaploaded .relvwtab input, body.snaploaded .relvwtab select {
    pointer-events: none !important;
    cursor:normal;
}
*/

.modal-header {
	border-bottom:none;
}
.modal-header h5 {
	font-weight: bold;
}
.widgetBarBtn {
	visibility: hidden;
}
.card-header:hover .widgetBarBtn {
	visibility: visible;
}

select[inert] {
    background: none;
}

#formdiarisks label.btn {
    padding: .375rem .75rem;
}

a.fc-event, .calcrp {
    cursor:pointer;
}

input::placeholder {
    opacity: 0.5;
}

.collapse {
    transition: 0.25s
}
.fc-list-day-text {
     text-transform: capitalize;
}
.caloverdueicon {
    color:#d9534f;
    margin-left:4px;
    font-size:0.9em;
    flex-shrink:0;
}
.widgetBar .dropdown-item {
    font-size:12px;
    text-align:center;
}
#aifill { float:right; }
.lngout {
    display:none;
}
.lngout.disp{
    display:inline-block;
}
.loginform .error_txt{
    position: absolute;
  right: 8px;
  margin-top: 40px;
  cursor: pointer;
  opacity: 0.4;

}
.reviewcolumnfixed, .reviewcolumn {
    display:block;
    padding:7px 10px;
    margin-bottom:4px;
    border:1px solid #ddd;
    background:#fff;
}
.reviewcolumnfixed {
    background:#f1f1f3;
}
.reviewcolumn i, .reviewcolumnfixed i {
    display:inline-block;
    width:20px;
    margin-right:12px;
    color:#777;
}
.reviewcolumn i.fa-sort {
    cursor:move;
}
.reviewcolumn input, .reviewcolumnfixed input {
    margin-right:7px;
}
#dia_riskview .riskviewratings table {
    margin-top:8px;
    width:100%;
}
#dia_riskview .riskviewsectiontitle {
    display:block;
    margin-top:28px;
}
#dia_riskview .riskviewratings .rsgraph {
    margin-top:0;
    min-height:340px;
}
#dia_riskview .riskviewactions {
    margin-top:25px;
}
#dia_riskview .riskviewactions table {
    margin-top:15px;
}
#dia_riskview .rvgraph canvas {
    max-width:100%;
}
#dia_riskview .rvgraph {
    min-height:320px;
    margin-bottom:30px;
}
#dia_riskview #rvfinancialgraph {
    max-height:300px;
}
#dia_riskview .riskviewhistory {
    margin-top:25px;
}
#dia_riskview .riskviewhistory > div {
    position:relative;
    height:280px;
    margin-top:10px;
}
#dia_riskview .riskviewaccordions > .card {
    margin-top:12px;
    border:1px solid #ddd;
}
#dia_riskview .riskviewaccordions > .card > .card-header {
    padding:12px 15px;
    background:#eeeef2;
    font-weight:bold;
}
#dia_riskview .riskviewaccordions > .card > .card-body {
    padding:18px;
}
#dia_riskview .riskviewaccordions .rsgraph {
    margin-top:0;
    text-align:center;
}
#dia_riskview .riskviewaccordions .rsgraph > canvas {
    max-width:100%;
}
#dia_riskview .rsrelv .rsrlv {
    cursor:pointer;
    border-left:3px solid transparent;
}
#dia_riskview .rsrelv .rsrlv:hover {
    background:#e7eef7;
    border-left-color:#2d6192;
}
#dia_riskview .rsrelv tr.riskviewratingactive > td:first-child {
    font-weight:bold;
}
#dia_riskview .rsrelv th .fa-mouse-pointer {
    margin-left:5px;
}
#dia_riskview .rvstrategicmaps {
    text-align:center;
}
#dia_riskview .rvstrategicmaps canvas {
    display:block;
    width:100%;
    height:auto;
    margin-top:8px;
}
#dia_riskview .rvstrategiclegend {
    display:flex;
    gap:30px;
    margin-top:20px;
}
#dia_riskview .rvstrategiclegend > div {
    flex:1;
}
#dia_riskview .rvstrategiclegend > div > strong {
    display:block;
    margin-bottom:8px;
}
#dia_riskview .rvstrategiclegenditem {
    display:inline-flex;
    align-items:center;
    gap:5px;
    margin:0 14px 8px 0;
}
#dia_riskview .riskviewmonitoring {
    margin-top:25px;
}
#dia_riskview .riskviewmonitoring table {
    width:100%;
    border-collapse:collapse;
}
#dia_riskview .riskviewmonitoring th,
#dia_riskview .riskviewmonitoring td {
    padding:8px 10px;
    border-bottom:1px solid #ddd;
    vertical-align:top;
    text-align:left;
}
#dia_riskview .riskviewmonitoring th {
    background:#eeeef2;
}
#dia_riskview .riskviewmonitoring .rvmonitoringstatus {
    width:60px;
    text-align:center;
}
#dia_riskview .riskviewmonitoring .fa-thumbs-o-up {
    color:#34a030;
}
#dia_riskview .riskviewmonitoring .fa-thumbs-down {
    color:#9e0534;
}
