
:root {
  --bullseye-x-offset: 20px;
  --bullseye-y-offset: 24px;
  --bullseye-font-size: 32px; /* Depending on the font-size, offset needs also to be adjusted accordingly */
}


body {
background: #FFF;
color: #333;
}

.center {
    text-align:center;
}

.rotate-270 {
  transform: rotate(270deg);
}

.inactive {
    opacity: 0.5;
}

.helptext {
    font-size: 90%;
    color: gray;
}

th {
    max-width: 120px;
    }

.sp-title {
    font-size: 28px;
    margin: 10px 0 5px 0;
}

.sp-subtitle {
    font-size: 22px;
    font-weight: 600;
    margin: 25px 0 10px 0;
}
.sp-subtitle2 {
    font-size: 16px;
    margin: 6px 0 3px 0;
}
.errorlist, .errorlist li {
    color: red! important;
}
.errorlist li {
  list-style-type: none;
}
.underemphasize {
    color: #999999;
    font-size: 90%;
}

.datetime {
    color: silver;
    font-style: italic;
}

.bg-danger {
    background-color: red;
    padding: 20px;
    margin: 10px 0 10px 0;
    border-radius: 4px;
    font-size: 18px
}
.bg-warning {
    background-color: blue;
    padding: 20px;
    margin: 10px 0 10px 0;
    border-radius: 4px;
    font-size: 18px
}
.bg-success {
    background-color: #40ac14;
    border-radius: 4px;
    font-size: 16px
}


.page-title {
    letter-spacing: 1px;
    padding-top: 10px;
}

.fas.circle, .far.circle {
  background-color: var(--main-color);
  margin-right: 8px;
}


.sidebar .sidebar-footer .project-list .project img{
	background: var(--water-light);
	width: 100px; height: auto;
	margin-bottom: 5px;
}

.btn-primary.disabled, .btn-primary:disabled {
    color: #fff;
    background-color: silver;
    border-color: gray;
}


.sidebar .sidebar-menu .nav-link.active .fas, .sidebar .sidebar-menu .nav-link.active .far {
    background: var(--main-color);
}

/****************************/
/*       Risk Matrix        */
/****************************/
.risk-matrix {
    position: relative;
    margin-bottom:500px;
}

.risk-matrix .risk-matrix-title {
    position: relative;
    font-size: 2em;
    font-weight: bold;
	margin: 50px;
}


.risk-matrix .risk-matrix-table {
    position: absolute;
    background-color: white;
    border-width: 2px;
    border-style: solid;
	left: 100px;
	top: 80px;
}

.risk-matrix .risk-matrix-table-title {
    font-size: 1.5em;
    color: black;
}

.risk-matrix .risk-matrix-table-header {
}

.risk-matrix .risk-matrix-table td {
	 max-width: 100px;
	 min-width: 100px;
	 height: 50px;
	 max-height: 50px;
	 overflow: hidden;
	 text-overflow: ellipsis;
	 white-space: nowrap;
	 margin:0;
	 padding:0;
}

.risk-matrix .risk-matrix-table td.risk-cell {
	 max-width: 100px;
	 min-width: 100px;
	 height: 100px;
}

.risk-matrix .bullseye {
	position: absolute;
    font-size: var(--bullseye-font-size);
	 margin:0;
	 padding:0;
}


/****************************/
/*   Procrustes container   */
/****************************/
.procrustes-table{
    margin-top: 15px;
    margin-bottom: 15px
}

.procrustes-table td, .procrustes-table th {
  border: none !important;
    border-bottom-color: currentcolor;
    border-bottom-style: none;
    border-bottom-width: medium;
  border-bottom: solid 1px var(--grey-mutted) !important;
  padding: .8rem;
  line-height: 1.1;
}

/****************************/
/*    Tool detail view      */
/****************************/
.raet-supported {
    color: #337ab7
}
.raet-unsupported {
    color: #999;
}

/****************************/
/*           Forms          */
/****************************/
.field-label {
    font-size: 14px;
    font-weight: normal;
}
.field-helptext {
    font-size: 12px;

}
.field-error {
    font-size: 14px;
    color: red;
}
.field-required {
    font-size: 14px;
    font-weight: bold;
}
.field-required:after {
    content: "*";
}

/*********   Homapage   *************/

.under-development-container{
    width:100%;
    position:relative;
    background:#000;
    text-align:center;
}

.under-development {
    margin: 5px;
    width: 80%;
    left:10%;
    top:100px;
    position: absolute;
    background: gray;
    font-size: 1.2vmax;
    line-height: 1.3;
    -webkit-box-shadow: 2px 2px 5px 0px rgba(0,0,0,0.75);
    -moz-box-shadow: 2px 2px 5px 0px rgba(0,0,0,0.75);
    box-shadow: 2px 2px 5px 0px rgba(0,0,0,0.75);
    border-radius: 4px;
    z-index: 999;
}




.img-homepage {
    width:95%;
    border-style: solid;
    border-color: silver;
    border-width: 1px;
    -webkit-box-shadow: 0px 0px 3px 4px rgba(255,255,255,0.76);
    -moz-box-shadow: 0px 0px 3px 4px rgba(255,255,255,0.76);
    box-shadow: 0px 0px 3px 4px rgba(255,255,255,0.76);
  -moz-transition: all 0.3s;
  -webkit-transition: all 0.3s;
  transition: all 0.3s;
}

.img-homepage:hover {
  -moz-transform: scale(1.03);
  -webkit-transform: scale(1.03);
  transform: scale(1.03);
}

#homepage-container .img-title {
    font-size: 24px;
    line-height: 120%;
    font-weight: 400;
    margin: 20px 0 10px 0;
}
#homepage-container .img-subtitle {
    font-size: 15px;
    line-height: 150%;
    font-weight: 400;
    margin: 10px 0 30px 0;
}
#homepage-container .img-subtitle a {
    color: #88ccff;
}
.w3-col.m3, .w3-quarter {
    min-height: 490px;
}

.pending img, .not-installed img {
    cursor: pointer;
}

.endorsments-item {
    margin: 0 30px 0 30px;
}
.endorsments-item figcaption{
    color: white;
}


/*********   Event list   *************/

.sp-filter .nav>li>a {
    text-decoration: none;
    background-color: #aaa;
}

.sp-filter .nav-pills>li>a:hover{
    color: black;
    background-color:  #ddd;
}
.sp-filter .nav-pills>li>a:focus {
    color: white;
    background-color:  var(--main-color);
}

.sp-filter .nav-link {
    margin: 3px 0 3px 0;
}

.sp-filter .nav-pills input {
    margin: 3px;
}


/*
.sp-filter .nav-pills>li>a:focus, .sp-filter .nav-pills>li.active>a, .sp-filter .nav-pills>li.active>a:hover, .sp-filter .nav-pills>li.active>a:focus {
    color: #fff;
    background-color: #337ab7;
}
*/
.sp-filter {
    padding: 7px;
    background-color:  #EEEEEE;
    border: 1px solid #666;
    -webkit-box-shadow: 5px 5px 5px 0px rgba(0,0,0,0.75);
    -moz-box-shadow: 5px 5px 5px 0px rgba(0,0,0,0.75);
    box-shadow: 5px 5px 5px 0px rgba(0,0,0,0.75);
    border-radius: 4px;
}

/*********   Scenario list   *************/
#list-scenario ul {
    padding-left: 3px;
    }

.runner {
    font-size: 26px;
    color:var(--main-color);
}

.simulation-running {
  animation: blinker 1s linear infinite;
}
.simulation-running .runner{
    color:red;
}

@keyframes blinker {
  50% {
    opacity: 0;
  }
}

/*********   Scenario   *************/
.scenario-form {
}

.scenario-form table {
    width: 100%;
}
.scenario-form tr {
    border-style: solid;
    border-color: #ddd;
    border-width: 1px;
}
.scenario-form th, .scenario-form td {
    padding: 5px 0 5px 15px;
}

.wizard-button {
    color:white;
    background: var(--main-color);
    padding: 5px 10px 4px 10px;
    cursor: pointer;
    border-radius: 4px;
}

.wizard > .content > .body {
    padding-left: 1.0%;
    padding-right: 1.0%;
}

#nr-events {
    font-weight: bold;
}

#event-wizard .nav-pills>li.active>a, #event-wizard .nav-pills>li.active>a:hover, #event-wizard .nav-pills>li.active>a:focus {
    color: white;
    background-color: #2184be;
}

#event-wizard .nav-pills>li>a, #event-wizard .nav-pills>li>a:hover, #event-wizard .nav-pills>li>a:focus {
    color: black;
    background-color: #ddd;
    margin: 0 20px 0 0;
}

#event-wizard .nav-pills>li>a:hover {
    background-color: #9dc8e2;
}

#event-wizard .dataTables_wrapper {
    height: 375px;
    overflow: auto;
}

#event-wizard .wizard > .content > .body {
    width: 100%;
}

#event-wizard .sp-filter{
    max-height: 410px;
    height: 410px;
    overflow: auto;
    padding-bottom: 15px;
}

#eventSearch {
    margin: 2px;
    border-radius: 4px;
}

#events-table {
  border: 0px solid black;
}
#event-wizard .table-responsive {
    border: 1px solid gray;
    -webkit-box-shadow: 5px 5px 5px 0px rgba(0,0,0,0.75);
    -moz-box-shadow: 5px 5px 5px 0px rgba(0,0,0,0.75);
    box-shadow: 5px 5px 5px 0px rgba(0,0,0,0.75);
}

.wizard > .content > .body input {
    display: inline;
}

#params-table-wrapper {
    max-height: 350px;
    overflow: auto;
    border: 1px solid gray;
    -webkit-box-shadow: 5px 5px 5px 0px rgba(0,0,0,0.75);
    -moz-box-shadow: 5px 5px 5px 0px rgba(0,0,0,0.75);
    box-shadow: 5px 5px 5px 0px rgba(0,0,0,0.75);
}


td.details-control {
    background: url('../images/details_open.png') no-repeat center center;
    cursor: pointer;
}
tr.shown td.details-control {
    background: url('../images/details_close.png') no-repeat center center;
}
/*********  Measure list **************************/
.number-in-box {
    background: var(--main-color);
    padding: 5px;
    max-width: 50px;
    text-align: center;
    -webkit-box-shadow: 2px 2px 5px 0px rgba(0,0,0,0.75);
    -moz-box-shadow: 2px 2px 5px 0px rgba(0,0,0,0.75);
    box-shadow: 2px 2px 5px 0px rgba(0,0,0,0.75);
    border-radius: 4px;
}

.number-in-button a {
    text-decoration: none;
    color: white;
}

.number-in-box:hover {
  -moz-transform: scale(1.03);
  -webkit-transform: scale(1.03);
  transform: scale(1.03);
}


/***********************************/

.sp-container, #ds-details-list-wrap .container,  #ds-details-list-wrap .container-fluid {
    color: black;
    background: #adb5bd;
    padding: 20px 20px 20px 20px;
}


.sp-container thead tr,  #ds-details-list-wrap .container  thead th,  #ds-details-list-wrap .container-fluid  thead th{
    background: var(--main-color);
    color: white;
    cursor: pointer;
}
.sp-container thead th {
    color: white;
}


.sp-container table {
    -webkit-box-shadow: 2px 2px 5px 0px rgba(0,0,0,0.75);
    -moz-box-shadow: 2px 2px 5px 0px rgba(0,0,0,0.75);
    box-shadow: 2px 2px 5px 0px rgba(0,0,0,0.75);
}

.sp-container tr { cursor: pointer; }

.icons-operation, .icons-operation a { font-size: 18px;
                margin-left: 2px;
                margin-right: 2px;
                color: var(--main-color); }



.sp-table1 {
    margin-top: 15px;
}

table.dataTable tbody tr.selected {
    background-color: #FF6666;
}

.sp-table2 {
}

.sp-table2 input, .sp-table2 textarea, .sp-table2 select{
    width: 95%;
}
.sp-table2 textarea{
    height: 60px;
}


#sp-Modal-container {
    color: black;
    }
#sp-Modal-title {
    color: #000099;
    font-size: 150%;
    font-weight: bold;
}

#spindle-main-navbar img {
    height:92px;
    background-color: #f8f8f8;
    border-style: solid;
    border-color: #e6e6e6;
    border-width: 0 1px 1px 1px;
    -webkit-box-shadow: 0px 0px 3px 4px rgba(255,255,255,0.76);
    -moz-box-shadow: 0px 0px 3px 4px rgba(255,255,255,0.76);
    box-shadow: 0px 0px 3px 4px rgba(255,255,255,0.76);
}

#structured-search {
    color: black;
}

.pending, .not-installed {
    opacity: 0.20;
    cursor: pointer;
}

