﻿@import url('open-iconic/font/css/open-iconic-bootstrap.min.css');

@font-face {
	font-family: 'Gordita';
	src: url('fonts/Gordita Regular.woff');
	font-weight: normal;
}

@font-face {
	font-family: 'Gordita';
	src: url('fonts/Gordita Bold.woff');
	font-weight: bold;
}

html, body {
	font-family: 'Gordita', 'Helvetica Neue', Helvetica, Arial, sans-serif;
}

h1:focus {
	outline: none;
}

a, .btn-link {
	color: #0071c1;
}

.content {
	padding-top: 1.1rem;
}

.valid.modified:not([type=checkbox]) {
	outline: 1px solid #26b050;
}

.invalid {
	outline: 2px solid red;
}

.pageContainer
{
	display: none;		/*Make sure nothing is displayed initially*/
/*	top: 18px;
	position: relative;*/
}

.validation-message {
	color: red;
}

.card {
	box-shadow: none;
	border: none;
	border-radius: 0.4rem;
}

.btn {
	text-transform: uppercase;
}

.btn-primary {
	background-color: rgb(82, 81, 83);
}

	.btn-primary:hover {
		background-color: rgb(92, 91, 93);
	}

.btn-danger {
	background-color: rgb(232,114,114); 
}

.btn-support {
	background-color: rgb(46, 184, 224);
	color: white;
	font-size: x-large;
	padding: 0.575rem 0.7rem;
}

/* A card's header text */
.sm-card-header-text {
	color: rgb(21,113,179);
	font-family: 'Gordita', Arial, Helvetica, sans-serif;
	font-size: large;
}

.sm-card-subheader-text {
	font-family: 'Gordita', Arial, Helvetica, sans-serif;
	font-size: large;
	color: rgb(21,113,179);
	font-weight: bold;
}

/* A cards header */
.card-header {
	padding-top: 1rem !important;
	padding-bottom: 1rem !important;
}

/* A cards small header */
.card-header-sm {
	padding: .0rem .5rem .7rem 0.2rem;
	margin-bottom: 0px;
	border-bottom: 1px solid rgba(33, 40, 50, 0.125);
}

/* A cards small footer */
.card-footer-sm {
	padding: 0.8rem 0.0rem 0.0rem 0.0rem;
	margin-bottom: 0px;
	border-top: 1px solid rgba(33, 40, 50, 0.125);
	background-color: transparent;
}

.card-header-actions .card-header {
	height: initial;
}

.sm-card-container {
	box-shadow: 0rem 0rem 2rem 1rem rgb(0 0 0 / 20%);
}

/* Used for the functionality container throughout the web site */
.sm-container {
	border: 1px dashed rgb(167, 167, 168);
	border-radius: 10px;
	padding: 1em;
	margin: 0.1em 0.1em 1.1em 0.1em;
	background-color: var(--secondary-color);
}


/* Button groups  */
.sm-btn-action {
	background-color: var(--primary-color);
	color: white;
}

.sm-btn-description {
	white-space: nowrap;
	background-color: rgb(82, 81, 83);
	color: white;
	text-transform: uppercase;
	font-family: 'Gordita', Arial, Helvetica, sans-serif;
}

.sm-btn-group:hover > .sm-btn {
	color: lightgrey;
}


/*.btn:hover {
	color: var(--bs-btn-hover-color);
	background-color: var(--bs-btn-hover-bg);
	border-color: var(--bs-btn-hover-border-color);
}
*/
/*.sm-btn:hover {
	color: black;
	background-color: black;
	border-color: black;
}
*/
/* Modal */
.modal-title {
	text-transform: uppercase;
	color: rgb(21,113,179);
	font-family: 'Gordita', Arial, Helvetica, sans-serif;
	font-size: xx-large;
}


.sm-banner {
	position: absolute;
	width: 100%;
	z-index: -100;
}

.card-header {
	color: var(--primary-color);
	font-weight: normal;
	font-size: large;
}

.modal-title {
	color: var(--primary-color);
	font-weight: normal;
	font-size: x-large;
}

.modal-dialog .btn-primary {
	background-color: var(--primary-color);
	border: 1px solid var(--primary-color);
}

.row {
	--bs-gutter-x: 0rem;
}

.row {
	--bs-gutter-x: 0rem;
}

.sm-control {
	background-color: rgb(253,235,212);
}

	.sm-control:focus {
		background-color: rgb(243,225,202);
	}

.sm-label {
	font-weight: bold;
}

.photoFrame {
	display: inline-block;
	width: 100%;
	height: auto;
	min-height: 50px;
	border: dashed lightgrey 3px;
	border-radius: 10px
}

.loadingMessage {
	position: absolute;
	top: 50%;
	left: 50%;
	transform: translate(-50%, -50%);
}

.loadingIcon {
	font-size: 50px;
	color: grey;
}

.cameraIconContainer {
	position: absolute;
	top: 50%;
	left: 50%;
	transform: translate(-50%, -50%);
}

.cameraIcon {
	font-size: 30px; 
	color: grey;
	cursor: pointer;
}


.deletePhoto {
	width: 48px;
}

.editPhoto {
	width: 48px;
}


/* taken from https: //stackoverflow.com/questions/43806515/position-svg-elements-over-an-image*/
.img-overlay-wrap {
	position: relative;
	display: inline-block;
}

	.img-overlay-wrap img {
		max-width: 100%;
		height: auto;
	}

	.img-overlay-wrap svg {
		position: absolute;
		top: 0;
		left: 0;
	}


.slider {
	-webkit-appearance: none;
	width: 100%;
	height: 15px;
	border-radius: 5px;
	background: #d3d3d3;
	outline: none;
	opacity: 0.7;
	-webkit-transition: .2s;
	transition: opacity .2s;
}

	.slider::-webkit-slider-thumb {
		-webkit-appearance: none;
		appearance: none;
		width: 25px;
		height: 25px;
		border-radius: 50%;
		background: var(--primary-color);
		cursor: pointer;
	}

	.slider::-moz-range-thumb {
		width: 25px;
		height: 25px;
		border-radius: 50%;
		background: var(--primary-color);
		cursor: pointer;
	}


.slider-right-button {
	color: rgb(82, 81, 83);
	position: relative;
	left: 0px;
	font-size: 30px;
	top: -4px;
}

.slider-left-button {
	position: relative;
	color: rgb(82, 81, 83);
	font-size: 30px;
	top: -4px;
}

.radioButton {
	list-style-type: none;
	padding: 0;
	text-align: center;
}

	.radioButton div {
		float: left;
		margin: 0 5px 0 0;
	}

	.radioButton label, .radioButton input {
		display: block;
	}

		.radioButton input[type="radio"] {
			opacity: 0.011;
			z-index: 100;
		}

			.radioButton input[type="radio"] + label {
				margin-top: 0px;
			}

			.radioButton input[type="radio"]:checked + label {
				background: var(--primary-color);
				border: 3px solid black;
				margin-top: 0px;
			}

	.radioButton label {
		padding: 5px;
		border: 1px dashed grey;
		cursor: pointer;
		z-index: 90;
		border-radius: 10px;
		border-color: black;
		text-transform: uppercase;
		white-space: nowrap;
		min-width: 210px;
		background-color: var(--secondary-color);
		
	}


.grid-selector-button {
	background-color: var(--secondary-color);	
	border: 1px dashed grey;
	padding-top: 15px;
}

	.grid-selector-button.selected {
		background-color: var(--primary-color);
		border: 3px solid black;
		padding-top: 11px;
	}


.thumbnail {
	width: 100px;
	height: 100px;
	object-fit: contain;
}




.overlay {
	height: 100%;
	width: 0;
	position: fixed;
	z-index: 50;
	top: 0;
	left: 0;
	background-color: var(--primary-color);
	overflow-x: hidden;
	transition: 0.5s;
}

.overlay-content {
	position: relative;
	/*	top: 25%;*/
	width: 100%;
	text-align: center;
	margin-top: 0px;
}

.overlay a {
	padding: 8px;
	text-decoration: none;
	font-size: 36px;
	color: #818181;
	display: block;
	transition: 0.3s;
}

	.overlay a:hover, .overlay a:focus {
		color: #f1f1f1;
	}

.overlay .closebtn {
	position: absolute;
	top: 20px;
	right: 45px;
	font-size: 60px;
}

@media screen and (max-height: 450px) {
	.overlay a {
		font-size: 20px
	}
}

.overlay .closebtn {
	font-size: 40px;
	top: 15px;
	right: 15px;
}


.overlayimage {
	width: auto;
	height: auto;
	max-width: 100vw;
	max-height: 100vh;
}


.title {
	font-size: 50px;
	position: relative;
	top: 30px;
	left: 80px
}

@media screen and (max-width: 768px) {
	.title {
		font-size: 25px;
	}
}


.settings {
	top: 50px;
	right: 10px;
	color: rgb(82, 81, 83);
	font-size: 30px;
	cursor: pointer;
}

@media screen and (max-width: 768px) {
	.settings {
		top: 63px;
		right: 20px;
		position: relative;
	}
}

.languageSelector {
	top: 50px;
	right: 10px;
	color: rgb(82, 81, 83);
	font-size: 30px;
	cursor: pointer;
	position: relative;
}

.languageSelectorSelect {
	border-radius: 10px;
	padding-left: 10px;
	padding-right: 10px;
}

@media screen and (max-width: 768px) {
	.languageSelector {
		top: 56px;
		right: 20px;
		position:relative;
	}

	.languageSelectorSelect {
		font-size: large;
	}
}



.gotoScreenSelector {
	top: 50px;
	right: 310px;
	color: rgb(82, 81, 83);
	font-size: 30px;
	cursor: pointer;
	position: absolute;
}

.gotoScreenSelectorSelect {
	border-radius: 10px;
	padding-left: 10px;
	padding-right: 10px;
}

@media screen and (max-width: 768px) {
	.gotoScreenSelector {
		top: 56px;
		right: 20px;
		position: relative;
	}

	.gotoScreenSelectorSelect {
		font-size: large;
	}
}


.installationName {
	font-size: 20px;
	text-align: center;
	margin-bottom: 30px;
}


.mainTitle {
	font-size: 48px;
	top: 30px;
	left: 80px
}

.signOffSubHeading {
	color: var(--primary-color);
	font-weight: bold;
}


.summaryData
{
	font-weight: bold;
}

.failedData {
	font-weight: bold;
	color: red;
}

.card-body {
	padding: 0.7rem 0.7rem;
}

.btn-group-lg > .btn, .btn-lg
{
	font-size: 1rem;
}

.firstLetterPara {
	text-align: center;
}

.firstLetter::first-letter {
	font-size: 200%;
	color: var(--primary-color);
}


/*Hazard icons*/
.hazardOuterContainer {
	display: inline-block;
}

.hazardContainer {
	display: inline-flex;
	position: relative;
}

.hazardLabel {
	top: 10px;
	left: 10px;
	position: absolute;
	color: white;
	font-size: 12px;
	width: 138px;
	height: 55px;
	text-align: center;
}

	.hazardLabel p {
		margin: 0;
		position: absolute;
		top: 50%;
		left: 50%;
		-ms-transform: translate(-50%, -50%);
		transform: translate(-50%, -50%);
	}

.hazardSubLabel {
	top: 176px;
	left: calc(100% - 140px);
	color: black;
	font-size: 19px;
	width: 138px;
	height: 55px;
	text-align: center;
	position: absolute;
}

	.hazardSubLabel p {
		margin: 0;
		position: absolute;
		top: 15px;
		left: 50%;
		-ms-transform: translate(-50%, -50%);
		transform: translate(-50%, -50%);
		width: 150%;
	}


.hazardIcon {
}

.hazardRadioButton {
	vertical-align: top;
}


.audioCountDown {
	font-size: 50px;
	font-weight: bold;
	z-index: 2000;
	position: absolute;
	top: 25px;
	width: 100%;
	text-align: center;
	color: gray;
	display: none;
}

.check {
	position: absolute;
	right: -5px;
	z-index: 100;
	font-size: .7rem;
	top: 6px;
	color: white;
	font-weight: bold;
	text-transform: uppercase;
}


.grid-selector-button {

}


.gridSelectorMulti .grid-selector-button.selected {
}

	.gridSelectorMulti .grid-selector-button.selected:after {
		content: '';
		width: 0;
		height: 0;
		border-style: solid;
		border-width: 0 50px 50px 0;
		border-color: transparent rgb(141, 187, 99) transparent transparent;
		right: -3px;
		top: -3px;
		position: absolute;
	}
