/**
 *
 * Apply Here your Custom CSS
 *
*/

/*
 *  New font implemented from old portal
 */
@import url(https://fonts.googleapis.com/css?family=PT+Sans:400,700,400italic,700italic);

html, body {
		height: 100%;
		font-size: 14px;
		color: black !important;
}

body.main {
	width: 100%;
	padding: 15px;
	margin: auto;
}

.sidebar-menu {
	height: 100vh;
}

.login-container {
	width: 100%;
	max-width: 750px;
	padding: 15px;
	margin: auto;
}

.login-content {
	margin: 100px;
}

.login-title {
	margin-bottom:100px;
}

footer {
	margin-bottom:10px;
}

footer.main {
  margin-top: 15px;
  padding-top: 15px;
  border-top: 1px solid #ebebeb;
}

footer.bl-footer{
	width: 100%;
	position: relative;
	bottom: 0 ;
	left:0;
}

/*
 * Common
 */

 /* Page header */
 h1:has(> i) {
	color: #054a72; 
 }

 #menu-header	 {
	 padding-bottom: 10px; /* Prevents neon default */
 }

 .form-control {
	 display: block;
	 height: auto;
 }

 input.bold-input {
	font-weight: bold; 
	font-size: 12pt;
 }

a, a:hover, a:focus {
	color: inherit;
	text-decoration: none;
	transition: all 0.3s;
}


.feather {
  width: 16px;
  height: 16px;
  vertical-align: text-bottom;
}

.loading-div{
	display: none;
}
.loading-div.show {
	display: block;
	position: fixed;
	top: 0;
	left: 0;
	width: 100%;
	height: 100%;
	background-color: rgba(255, 255, 255, 0.5);
}
.loading-div-container {
	font-size: 50px;
	position: absolute;
	top: 50%;
	left: 50%;
	transform: translate(-50%, -50%);
	text-align: center;
}

.underline {
	text-decoration: underline;
}

.no-gutters {
  margin-right: 0;
  margin-left: 0;
}

.no-margins {
  margin-right: -15px;
  margin-left: -15px;
}

.no-margins > .col, .no-margins > [class*="col-"] {
	padding-right: 0;
	padding-left: 0;
}

.colour-red {
	color: red;
}

.red-strike {
	text-decoration: line-through;
	text-decoration-color: red;
}

/********** Tables ************/
table {
	width: 100% !important;
	color: white !important;
}

table >tbody >tr>td {
	color:black;
	padding-top:10px;
	padding-bottom:10px;
}

table >tbody >tr.unapproved>td {
	color:red;
}

.table_morecondensed>tbody>tr>th, 
.table_morecondensed>tbody>tr{ padding-top: 0; padding-bottom: 0; }

.table-nostriped tbody tr:nth-of-type(odd) {
  background-color:transparent;
}

thead.dark {
	background-color:#19234b;
	border-top-left-radius:3px;
}

thead.dark th,
thead.semi-dark th {
	color: white;
}

.dataTables_wrapper table thead tr th.sorting_asc, .dataTables_wrapper table thead tr th.sorting_desc {
	color: white;
}

thead.semi-dark {
	background-color:#415dcc;
	border-top-left-radius:3px;
}

td.details-control {
	text-align:center;
	color:darkgreen !important;
	cursor: pointer;
}
tr.shown td.details-control {
	text-align:center; 
	color:red !important;
}

.panel-body {
	background-color: white;
}

.material-table thead th {
	border: 0 !important;
}

.text-wrap{
	word-wrap: break-word;
	max-width: 400px;
	white-space: normal;
	overflow-wrap: break-word;
	width:200px;
}

.tile-gray{
	background-color: #f5f5f5;
	padding: 10px;
}

.test-header {
	color: #8f8f8f;
	font-size: 14px;
	text-align: center;
	margin-bottom: 10px;
}

/********** Modal Dialog ************/
.center {
  position: fixed;
  left: 50%;
  top: 50%;
  transform: translate(-50%, -50%);
}
.modal-open .modal {
    overflow-x: hidden;
    overflow-y: hidden;
}
.modal {
	height: 90vh;
}
.modal-dialog {
	max-width: 800px;
	width: 100%;
}
@media (min-width: 576px) {
	.modal-dialog {
		max-width: 800px;
		width: 100%;
	}
}
.modal-body {
	overflow: auto;
	max-height: calc(100vh - 200px);
}
.modal-footer {
	display: block;
}

.modal-header {
	background-color: #1EA0F5;
}



.details-tab {
    padding: 30px 0px 0px 0px;
}

.stated-irradiance-slice {
  stroke: lightblue;
}

.average-irradiance-slice {
  stroke: darkblue;
}

.ct-label-pie {
	display: none
}

.ct-label {
	font-size: 15px !important;
}

.ct-label-pie:first-of-type {
    display: block;
}

.review-tab {
	padding: 30px 0px 30px 0px;
}

.widget-content-tests {
    border: 1px solid #666666;
}

.widget-header-tests {
    background: #47548e;
}

.img-cont {
	height:200px;
	width:200px;
	border:10px solid #ddd;
	border-radius:50%;
	overflow:hidden;
	text-align:center;
	position:relative;
	margin:auto;
}

.img-cont img {
	position:absolute;
	max-width: 100%;
	min-height:100%;
	top:0;
	left:0;
}

.img-responsive {
  display: block;
  max-width: 100%;
  height: auto;
}

.center-block {
  display: block;
  margin-left: auto;
  margin-right: auto;
}

/* Chartist */

.ct-chart {
	position: relative;
}
.ct-legend {
	position: relative;
	z-index: 10;
	list-style: none;
	text-align: center;
}
.ct-legend li {
	position: relative;
	padding-left: 23px;
	margin-right: 10px;
	margin-bottom: 3px;
	cursor: pointer;
	display: inline-block;
}
.ct-legend li:before {
	width: 12px;
	height: 12px;
	position: absolute;
	left: 0;
	content: '';
	border: 3px solid transparent;
	border-radius: 2px;
}
.ct-legend li.inactive:before {
	background: transparent;
}
.ct-legend.ct-legend-inside {
	position: absolute;
	top: 0;
	right: 0;
}
.ct-legend.ct-legend-inside li{
	display: block;
	margin: 0;
}

/**** Chartist legends to match the default colours lines 1 - 5 ****/

.ct-legend .ct-series-0:before {
	background-color: #d70206;
	border-color: #d70206;
}
.ct-legend .ct-series-1:before {
	background-color: #f05b4f;
	border-color: #f05b4f;
}
.ct-legend .ct-series-2:before {
	background-color: #f4c63d;
	border-color: #f4c63d;
}
.ct-legend .ct-series-3:before {
	background-color: #d17905;
	border-color: #d17905;
}
.ct-legend .ct-series-4:before {
	background-color: #453d3f;
	border-color: #453d3f;
}

/**** Chartist line 5 (Expected irradiance) dashed ****/
.ct-series-e {
	stroke-dasharray: 10px 10px;
}


/********** TestOutcome colors **********/
/**** TBD: copied all from the old portal 
      but the not-reviewed-status-color for now uses the default which is white a
      and we only use approved and rejected colors for now ****/
.not-reviewed-status-color {
	background-color: #ebd34c;
}

.approved-status-color {
	background-color: #00a65a;
}

.follow-up-status-color {
	background-color: #701c1c;
}

.on-hold-basic-correction-status-color {
	background-color: #76B5D0;
}

.rejected-status-color {
	background-color: rgb(148, 148, 148);
}

.custom-control {
	position: relative;
	display: block;
	min-height: 1.5rem;
	padding-left: 1.75rem;
}
.custom-control-input {
	position: relative;
	left: 0;
	z-index: -1;
	width: 1.25rem;
	height: 1.375rem;
	opacity: 0;
}
.custom-control-label {
	position: relative;
	margin-bottom: 0;
	vertical-align: top; 
}
.custom-control-input ~ .custom-control-label::before {
	background-color: transparent;
}
.custom-control-input ~ .custom-control-label {
	color: black;
}
*,::after,::before{box-sizing:border-box;}

.custom-control-input:checked~.custom-control-label::before {
	color: #fff;
	border-color: blue;
	background-color: blue;
}
.custom-checkbox .custom-control-label::before {
	border-width: 2px;
	border-radius: 2px;
}
.custom-checkbox .custom-control-label::before {
	border-radius: .125rem;
}
.custom-control-label::before, .custom-file-label, .custom-select {
	-webkit-transition: background-color .15s ease-in-out,border-color .15s ease-in-out,box-shadow .15s ease-in-out,background-size 5s ease-in-out;
	transition: background-color .15s ease-in-out,border-color .15s ease-in-out,box-shadow .15s ease-in-out,background-size 5s ease-in-out;
}
.custom-control-label::before {
	position: absolute;
	top: .125rem;
	left: -1.75rem;
	display: block;
	width: 1.25rem;
	height: 1.25rem;
	pointer-events: none;
	content: "";
	background-color: #fff;
	border: #000 solid .125rem;
}

.custom-checkbox .custom-control-input:checked~.custom-control-label::after {
	-webkit-transition: background-size .15s ease-in-out;
	transition: background-size .15s ease-in-out;
	background-size: 100%;
}
.custom-checkbox .custom-control-input:checked~.custom-control-label::after {
	background-image: url("data:image/svg+xml;utf8,<svg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 2… d='M21,7L9,19L3.5,13.5L4.91,12.09L9,16.17L19.59,5.59L21,7Z'></svg>");
}
.custom-checkbox .custom-control-label::after {
	-webkit-transition: background-size .15s ease-in-out;
	transition: background-size .15s ease-in-out;
	background-repeat: no-repeat;
	background-position-y: center;
	background-position-x: 50%;
	background-size: 0;
}
.custom-control-label::after {
	position: absolute;
	top: .125rem;
	left: -1.75rem;
	display: block;
	width: 1.25rem;
	height: 1.25rem;
	content: "";
	background: no-repeat 50%/50% 50%;
}

.not_approved{
	color: red;
}