:root {
	--font-grey: #5A5A5A;
	--font-grey-bold: #454545;
	--bg-grey: #F2F2F2;
	--bg-lightgrey: #f8f8f8;
	--white: #FFFFFF;
	--font-blue: #0B3E62;
	--box-opale: #7FB7C0;
}

textarea {
	resize: none;
}

/* styling the section for the standalone rating tab */
.section-tab {
	padding-bottom: 32px;
}

.section-full-rating {
	padding-top: 120px;
	padding-bottom: -60px;
}

.rating-title {
	padding: 60px;
	margin-bottom: 32px;
	background-color: var(--font-blue);
/* 	background-image: url('../images/Rating-blue.jpg');
	background-size: cover;
	background-repeat: no-repeat;
	background-attachment: scroll; */
}

.rating-title h1 {
	font-size:3em;
	color: white;
}

.name-elem input {
	width: 49.85% !important;
}

.checktab {
	background-color: var(--bg-lightgrey);
	border: 1px solid var(--font-blue);
	margin: 6px 0 16px 0;
}

.checkb {
	width: 31%;
	height: 62px;
	background-color: var(--white);
	border: 1px solid lightgrey;
	display: inline-flex;
	align-items: center;
	padding: 12px;
	box-sizing: border-box;
	margin: 16px 1% 16px 1%;
}

	.checkb:hover {
		background-color: lightgrey;
	}

.checkb label {
	padding: 0 0 0 12px;
	margin: 0;
	font-weight: normal;
	color: var(--font-grey);
}

	.checkb input[type=checkbox]:hover {
		cursor: pointer;
	}

.checkb-text-input {
	width: 97.5% !important;
	border: 1px solid lightgrey !important;
	margin: 16px 1% 16px 1%;
}

/* alerts styling */
.alerts {
	margin-bottom: 15px;
}

.err {
	padding: 10px;
	opacity: 1;
	transition: opacity 0.6s;
	margin-bottom: 8px;
	width: 100%;
	display: flex;
	background-color: #FFCCCC;
	color: #FF9494;
	font-weight: bold;
	border-left: 4px solid #FF9494;
}

.suc {
	padding: 10px;
	opacity: 1;
	transition: opacity 0.6s;
	margin-bottom: 8px;
	width: 100%;
	display: flex;
	background-color: #77D79A;
	color: #4BB543;
	font-weight: bold;
	border-left: 4px solid #4BB543;
}

/* Rating preliminary styling */
.section-label-input input[type=text], .section-label-input textarea, .section-label-input input[type=date] {
	width: 100%;
	padding: 12px; /* Some padding */
	border: 1px solid var(--font-blue); /* Gray border */
	box-sizing: border-box; /* Make sure that padding and width stays in place */
	margin-top: 6px; /* Add a top margin */
	margin-bottom: 16px; /* Bottom margin */
}

.section-label-input select {
	width: 100%;
	font-size: 1em;
	border: 1px solid var(--font-blue);
	border-radius: 0px;
	-webkit-appearance: none;
	-moz-appearance: none;
	background-position: right 50%;
	background-repeat: no-repeat;
	background-image: url('data:image/svg+xml;utf8,<?xml version="1.0" encoding="utf-8"?><!DOCTYPE svg PUBLIC "-//W3C//DTD SVG 1.1//EN" "http://www.w3.org/Graphics/SVG/1.1/DTD/svg11.dtd"><svg xmlns="http://www.w3.org/2000/svg" width="14" height="12" version="1"><path d="M4 8L0 4h8z"/></svg>');
	padding: 12px;
	padding-right: 1.5em;
	margin: 6px 0 16px 0;
}

.section-label-input select:hover, .section-label-input input[type=date]:hover {
	cursor: context-menu;
}

.section-label-input table {
	width: 100%;
	padding: 12px; /* Some padding */
	box-sizing: border-box; /* Make sure that padding and width stays in place */
	margin-top: 6px; /* Add a top margin */
	margin-bottom: 16px;
	table-layout: fixed;
}

.section-label-input td {
	width: 33%;
	border: 1px solid var(--font-blue); /* Gray border */
	box-sizing: border-box; /* Make sure that padding and width stays in place */
	padding: 0;
}

.section-label-input td input {
	width: 100%;
	font-size: 1em;
	padding: 12px;
	border: none;
	box-sizing: border-box; /* Make sure that padding and width stays in place */
}

input[type=number]::-webkit-inner-spin-button, input[type=number]::-webkit-outer-spin-button {
  -webkit-appearance: none;
  margin: 0;
}

.text-center-align {
	text-align: center !important;
	height: 100%;
	margin-bottom: 16px;
}

.submit-button {
	/* width: 25%; */
	text-transform: uppercase;
	background-color: var(--font-blue);
	font-size: 1em;
	color: white;
	padding: 12px 48px;
	text-align: center;
	border: none;
	border-radius: 0px;
	cursor: pointer;
}

	.submit-button:hover {
		background-color: var(--box-opale);
	}

/* Modal box styling */
.modal-bg {
	display: flex; /* Value to change for displaying the modal */
	width: 100%;
	height: 100%;
	background-color: var(--bg-grey);
	position: relative;
	margin: 20px 0 20px 0;
	top: 0;
	left: 0;
	overflow: visible;
	justify-content: center;
	align-items: center;
	font-family: lato, sans-serif;
}

.modal-box {
	width: 500px;
	height: 500px;
	background-color: var(--bg-grey);
	border-radius: 1px;
	text-align: center;
	padding: 20px;
	position: relative;
}

#shake-hands {
	margin: 6% 0 0 0;
	padding: 0;
	width: 60%;
	height: 60%;
	object-fit: contain;
}

.modal-box h2 {
	font-family: lato, sans-serif;
	color: var(--font-grey);
}

/* rating full - Tableau rating styling */
.tableau-rating {
	overflow-x: auto;
	font-family: lato, sans-serif;
}

.tableau-rating table {
	border-collapse: collapse;
	width: 100%;
}

.tableau-rating th, td {
	padding: 8px;
	text-align: left;
}

.tableau-rating tr {
	background-color: var(--bg-lightgrey);
	border: 1px solid lightgrey;
}

	.tableau-rating tr:nth-child(even) {
		background-color: var(--bg-grey);
	}

	.tableau-rating tr:hover {
		background-color: lightgrey;
	}

.tableau-rating td {
	height: 34px;
	color: var(--font-grey);
}

.tableau-rating th {
	height: 50px;
	background-color: var(--font-blue);
	color: var(--bg-grey);
	font-weight: bold;
}

.tableau-rating input[type=number], .tableau-rating input[type=text] {
	width: 100%;
	height: 30px;
	font-size: 1em;
}

.triple-p {
	display: flex;
}

.triple-p p {
	text-align: center;
	padding: 8px 0;
}

.triple-input input, .triple-p p {
	width: 32.8% !important;
	margin: 0 !important;
}

.rating-footer {
	background: var(--bg-grey);
	bottom: 0;
	width: 100%;
	padding: 16px;
	margin: 16px 0 0 0;
	font-size: .8em;
	text-align: center;
}

.phone-display {
	display: none;
}

@media (max-width: 767px) {
	.computer-display {
		display: none;
	}

	.phone-display {
		margin: 25% 5% 5% 5%;
		padding: 16px;
		display: block;
		text-align: center;
	}
}
