body {font-family: 'Roboto', sans-serif; font-size: 16px; background-color: #186DB5; margin: 0; }
h1 { font-family: 'Montserrat', san-serif; font-weight:700; color:#FF8512; font-size: 2.6rem; line-height: 1em; }
h2 { font-family: 'Montserrat', san-serif; font-weight:600; color:#186DB5; font-size: 1.9rem; line-height: 1em; }
h3 { font-family: 'Montserrat', san-serif; font-weight:600; color:#0F4776; font-size: 1.4rem; line-height: 1em; }
h4 { font-family: 'Montserrat', san-serif; font-weight:600; color:#0F4776; font-size: 1.25rem; line-height: 1em; }
sup {font-size: 0.75rem !important;}

/* New Page Structures */
#header { 
	text-align: center;
	padding: 2em 2em;
	min-height: 100px;
	width:100%;
}

#footer {
	min-height: 80px;
	padding: 3em 2em;
	background-color:#186DB5;
	margin-top: 2em;
	text-align: center;
	
}

.footer { 
	color: #ffffff;
	font-family: 'Montserrat', san-serif;
	font-size: 1rem;
	line-height: 1.2em;
}

#content-area {
	display: flex;
	justify-content: center !important;
	align-items: center !important;
	
}

.form-container {
	/*display: flex;*/
	text-align: center;
	padding: 1em 1em 3em;
	width: 95%;
}

.flex-container {
	display: flex;
	justify-content: center;
	align-items: center;
	background-color: #ffffff;
	width: 80%;
	max-width: 1200px;
	border-radius: 20px;
	padding: 2.2em 2em;
	box-shadow: 0px 0px 25px #09244275;
}

.angled {
    transform: rotate(0deg);
    display: block;
    font-size: 0.9rem;
    line-height: 0.9em;
   	padding: 6px 2px;
}

.flex-container-promo {
	display: flex;
	justify-content: center;
	align-items: center;
	background-color: #ffffff;
	width: 100%;
	max-width: 1200px;
	padding: 1em 2em;
	border: 1px solid #FFB625;
	border-radius: 25px;
	margin: 50px 0 25px;
	flex-flow: wrap;
}

h3.form-container {
	/*display: flex;*/
	text-align: left !important;
	margin-top: 22px;
	margin-bottom: 12px;
}

.home-container {
	min-height: 70vh;
	display: flex;
}

.responsive-img {
	width: 90%;
	max-width: 500px !important;
	height: auto;
}

.survey-title {
	color: #186DB5;
	font-size: 2.2em;
}

.survey-title-step {
	display:flex;
	flex-direction: row;
	align-content:center;
	align-items: center;
	justify-content: center;
}

.survey-title-step img {
	width: 50px;
	height: auto;
	margin-right: 12px;
}

.flex-container > div.main {flex: 60%; padding: 3em; align-items: center; text-align: center;}
.flex-container > div.right {flex: 40%; padding: 15px; margin-top: 7px; text-align: center;}

.flex-container-promo > div.main {flex: 60%; padding: 2em; align-items: center; text-align: center;}
.flex-container-promo > div.right {flex: 40%; padding: 15px; margin-top: 7px; text-align: center;}

@media only screen and (max-width: 1200px) {

	.flex-container, .flex-container-promo {
		display: flex;
		flex-wrap: wrap;
		justify-content: center;
		align-items: center;
		background-color: #ffffff;
		width: 96%;
		border-radius: 20px;
		}
	.form-container {
		text-align: center;
		padding: 2em 0.5em;
	}
}

@media only screen and (max-width: 769px) {

	.flex-container, .flex-container-promo {
		display: flex;
		flex-wrap: wrap;
		justify-content: center;
		align-items: center;
		background-color: #ffffff;
		width: 96%;
		border-radius: 20px;
		padding: 1em 0em;
		}
	.form-container {
		text-align: center;
		padding: 2em 0.5em;
		width: 96%;
	}
	
	.angled {
    	transform: rotate(65deg);
    	display: block;
    	font-size: 0.8rem;
    	line-height: 0.85em;
   		padding: 12px 1px !important;
		text-aligh: right;
	}
	.angled-div {
		height: 60px;
		width: 35px;
		display: flex;
      	justify-content: center; /* Center horizontally */
     	align-items: center;
	}
	
	.radio-column {
		min-width: 22px !important;
	}
	.header-cell {
		vertical-align: middle !important;
		height: 100px;
		position: sticky;
	}
	
	.flex-container > div.main { padding: 1em; flex: 100%; }
	.flex-container-promo > div.main { padding: 1em; flex: 100%; }
	
	h3.form-container {
		/*display: flex;*/
		text-align: left !important;
		margin-top: 22px;
		margin-bottom: 12px;
		font-size: 1.2rem;
	}
}

	
* {box-sizing: border-box;}
.menu {float: left; width: 20%; text-align: center;}
.menu a {background-color: #e5e5e5; padding: 8px; margin-top: 7px; display: block; width: 100%; color: black;}


div.row {padding: 5px 10px;}
div.row:nth-child(even) {
  background: #ffffff !important;
}

/* Homepage Disclaimer */

.home-disclaimer {
	padding: 0.5em 1em 2em;
	margin-top: 2em;
    text-align: left !important;
    border: 1px solid #FFB625;
    border-radius: 12px;
}

.start-button {
	margin-top: -35px;
}

/* Destructive Cult Structure */
.member-involvement-containter {
	display: flex;
	flex-wrap: wrap;
	flex-direction: row;
	justify-content: center;
	align-items: center;
	background-color: #ffffff;
}

.member-involvement-containter > div.main {flex: 35%; align-items: center; text-align: center;}
.member-involvement-containter > div.right {flex: 65%; padding: 5px; text-align: center;}

@media only screen and (max-width: 769px) {
	
.member-involvement-containter > div.main {flex: 100%; align-items: center; text-align: center;}
.member-involvement-containter > div.right {flex: 100%; padding: 4px; margin-top: 7px; text-align: center;}
}
	

/* Button Styles */

button {background-color: #FFB625 !important; border: none; color: #0F4776; padding: 12px 30px !important; text-align: center; text-decoration: none; display: inline-block; font-size: 1.175rem; font-weight: 500; margin: 6px 2px; cursor: pointer; font-family: 'Montserrat', san-serif; min-width: 300px !important;}
button:hover {font-weight: 500; background-color: #92D050 !important; color: #ffffff; transition: 0.5s;}
button {border-radius: 44px;}

.smaller-button {
    font-size: 1.1rem !important;
	font-weight: 500;
    padding: 13px 30px !important;
    margin-top: 9px;
    min-width: 250px !important;
    background-color: #92D050 !important;
}

.smaller-button:hover {
	color: #ffffff;
    background-color: #459624 !important;
}

/* Form Styling - James */

select {
	-webkit-appearance: none;
	-moz-appearance: none;
	-ms-appearance: none;
	appearance: none;
	width: 100%;
	padding: 12px;
	scrollbar-color: #FF9800 #2196f30f;
	border-radius: 10px;
	border: 1px solid #86b0d1;
	min-height: 40px !important;
}

@media only screen and (max-width: 769px) {
	select {
		width: 100%;
	}
}

option { 
	width: 100%;
	padding: 6px 3px;
	font-size: 1.05rem !important;
}

option:hover { 
	background-color: #ffdbb1 !important;
}

/* Style the form */
#regForm {
  background-color: #ffffff;
  margin: 10px auto;
  padding: 1px;
  width: 95%;
  min-width: 300px;
}

/* Style the input fields */
input {
  padding: 10px;
  /* width: 100%; */
  font-size: 17px;
  font-family: Raleway;
  /*border: 1px solid #aaaaaa; */
	
  -webkit-appearance: none;
  -moz-appearance: none;
  appearance: none;

  border-radius: 50%;
  width:20px;
  height: 20px;

  border: 2px solid #ffb62590;
  transition: 0.2s all linear;
  margin-right: 5px;

  position: relative;
  top: 4px;
}

/* Mark input boxes that gets an error on validation: */
input.invalid {
  background-color: #ffdddd;
}


input:checked {
	border: 2px solid #186DB5;
	background-color: #2196F3;
	outline: unset !important /* I added this one for Edge (chromium) support */
}

input[type=text] {
	border: 1px solid #86b0d1;
	border-radius: 6px;
	width: 100%;
	height: 40px;
}

@media only screen and (max-width: 769px) {
	input[type=text]  {
		width: 100%;
	}
}

/* Hide all steps by default: */
.tab {
  display: none;
}

/* Make circles that indicate the steps of the form: */
.step {
  height: 15px;
  width: 15px;
  margin: 0 2px;
  background-color: #FFB625;
  border: none;
  border-radius: 50%;
  display: inline-block;
  opacity: 1;
}

/* Mark the active step: */
.step.active {
  background-color: #186DB5;
  opacity: 1;
}

/* Mark the steps that are finished and valid: */
.step.finish {
  background-color: #92D050;
}


  /* Main Table Styles */
  .table {
    display: table;
	width: 100%;
    border-collapse: collapse;
    border: 0px solid #ddd;
	border-radius: 12px;
  }
  
  /* Row and Cell Styles */
  .table-row {
    display: table-row;
  }
  .table-cell {
    display: table-cell;
    padding: 16px 3px;
    border-right: 1px solid #d5d5d557;
    vertical-align: middle;
  }
  
  /* Header Styling with Sticky Position */
  .header-cell {
    font-weight: bold;
    background-color: #d6bd85; /* Matches header background from screenshot */
    text-align: center;
    position: sticky;
    top: 0; /* Stick the header at the top */
    z-index: 1; /* Ensure header stays above content */
	vertical-align: bottom !important;
  }
  
  /* Column Width */
  .group-name {
    width: 40%;/* Group name width */
  }
  .radio-column {
    width: 5%; /* Each radio column width */
    text-align: center;
  }
  
  /* Centering radio buttons */
  .table-cell input[type="radio"] {
    margin: 0 auto;
  }
  
  /* Row Alternating Colors */
  .table-row:nth-child(odd) .table-cell {
    background-color: #eaf0f3; /* Light gray for odd rows */
  }
  .table-row:nth-child(even) .table-cell {
    background-color: #ffffff; /* White for even rows */
  }

  /* Scrollable Table Container */
  .scrollable-table {
    max-height: 500px; /* Adjust height as needed */
    overflow-y: auto; /* Enable vertical scrolling */
  }

  .scroll-x {
    overflow-x: auto !important; /* Enable horizontal scrolling */
  }


.static-header-row {
    border-bottom: 3px solid #186DB5;
}

.bloc {
  display: inline-block;
  vertical-align: top;
  overflow: hidden;
  border: solid grey 1px;
  width: 90%;
}

.bloc select {
  padding: 10px;
  margin: -5px -20px -5px -5px;
}

/* Results Styling */

.results-container {
	display: flex;
	flex-direction: row;
	flex-wrap: wrap;
	justify-content: center;
	align-items: center;
	background-color: #ffffff;
	width: 100%;
	border-radius: 20px;
}

.result-box {
	display:flex;
	flex-direction: column;
	justify-content: center;
	align-items: center;
	width: 23%;
	padding: 25px 16px;
	margin: 2px;
	border: 0px solid #e2e2e2;
	border-radius: 24px;
}

.result-box h4 {
	color:#186DB5 !important;
	font-size: 1.5rem;
	margin: 13px 0;
}

.progress-legend {
	display: flex;
	width: 100%;
	flex-flow: row nowrap;
	padding: 10px;
	justify-content: space-between;
	text-align: center;
}

.legend1 {
	color:#92D050;
	font-family:'Montserrat', sans-serif;
	font-size: 1rem;
	font-weight: 600;
	padding: 0.5em 2em;
	text-align: center;
}

.legend2 {
	color:#FF8512;
	font-family:'Montserrat', sans-serif;
	font-size: 1rem;
	font-weight: 600;
	padding: 0.5em 2em;
	text-align: center;
}

.result-description {
	font-family: 'Roboto', sans-serif;
	font-size: 1rem;
	line-height: 1.8em;
	width: 85%;
	margin-bottom: 1em;
}

.result-description h4 {
	font-family: 'Montserrat', sans-serif;
	font-size: 1.5rem;
	font-weight: 600;
	line-height: 1.4em;
}

@media only screen and (max-width: 769px) {
	
	
	.group-name {
    	font-size: 0.9rem;
		width: 300px !important;
  }

	.results-container {
		display: flex;
		flex-direction: row;
		flex-wrap: wrap;
		justify-content: center;
		align-items: center;
		background-color: #ffffff;
		width: 100%;
		border-radius: 20px;
}

	.result-box {
		display:flex;
		flex-direction: column;
		justify-content: center;
		align-items: center;
		width: 48%;
		padding: 25px 16px;
		margin: 2px;
		border: 0px solid #e2e2e2;
		border-radius: 24px;
}
	
.legend1 {
	color:#92D050;
	font-family:'Montserrat', sans-serif;
	font-size: 0.8rem;
	font-weight: 600;
	padding: 0.5em 0.8em;
	text-align: center;
}

.legend2 {
	color:#FF8512;
	font-family:'Montserrat', sans-serif;
	font-size: 0.8rem;
	font-weight: 600;
	padding: 0.5em 0.8em;
	text-align: center;
}
	
}

/* Share Result Page */

.flex-container-share {
	display: flex;
	flex-direction: column;
	justify-content: center;
	align-items: center;
	background-color: #186DB5;
	width: 90%;
	max-width: 1200px;
	border-radius: 20px;
	text-align: center;
	padding: 0.5em 1em;
	box-shadow: 0px 0px 0px #09244275;
}

.screenshot-thumb {
	max-width: 100%;
    padding: 22px;
    background-color: #ffffff;
    border-radius: 24px;
}

.link-share-container {
	display: flex;
	flex-direction: row;
	justify-content: center;
	align-items: center;
}

.social-share-container a {
  text-decoration: none;
  padding: 12px 10px;
}

.social-share-container a img {
  height: 65px;
  transition: all 300ms ease;
}

.social-share-container a:hover img {
  transform: scale(1.2);
}

.social-share-container {
  display: flex;
  flex-direction: row;
  justify-content: center;
}

.toast {
  font-family: "Roboto", sans-serif;
  background: #222;
  color: #fff;
  width: fit-content;
  border-radius: 8px;
  padding: 12px 32px;
  position: fixed;
  bottom: 40px;
  left: 50%;
  transform: translate(-50%, 100px);
  opacity: 0;
  transition: all 300ms ease;
}

.toast.active {
  opacity: 1;
  transform: translate(-50%, 0);
}

#section-to-hide {
    display: none; /* Default display */
}


/* Print PDF Styling */

@media print { 
.result-box h4 {
    color: #186DB5 !important;
    font-size: 1.1rem;
}

.result-box {
	width: 24%;
	}

.circle {
    width: 110px !important;
    height: 110px !important;
}

.circle .inner {
    width: 78px !important;
    height: 78px !important;
	color:#186DB5 !important;
	background-color:#ffffff !important;

}
	
.progressbar-title h2 {
    font-weight: 700;
    font-size: 20pt !important;
}
	
.progress-bg {
    border-radius: 26px;
    border: 2px solid #c4c7cd !important;
}


.progress-number-mark {
	border: 2px solid #186DB5 !important;
	background-color:#ffffff !important;
	color:#186DB5 !important;
}
	
.result-description h4 {
    font-family: 'Montserrat', sans-serif;
    font-size: 12pt;
    font-weight: 600;
    line-height: 18pt;
}
	
.flex-container {
	box-shadow: none;
	}
}

/* Results Screenshot Template */

.body-result {
	background-color: #ffffff !important;
}

h1.social-share-title {
	font-size: 2.1rem !important;
	line-height: 1.1em;
}
.flex-container-result {
    display: flex;
    justify-content: center;
    align-items: center;
    background-color: #ffffff;
    width: 80%;
    max-width: 1200px;
    border-radius: 20px;
    text-align: center;
    padding: 1em 1em;
    /* box-shadow: 0px 0px 25px #09244275; */
}

.progressbar-title-result {
    text-align: center;
    font-weight: 700;
    margin-bottom: 55px !important;
}

.number-results {
	font-size: 1.7em !important;
	padding: 12px 20px 12px !important;
}

.legend-share {
    padding: 0px !important;
}

.results-container-smaller {
    display: flex;
    flex-direction: row;
    flex-wrap: wrap;
    justify-content: center;
    align-items: center;
    background-color: #ffffff;
    width: 85%;
    border-radius: 20px;
}

.smaller-result-box {
	padding: 0px !important;
}

@media only screen and (max-width: 769px) {
.link-share-container {
	flex-direction: column;	
	}
}