
@font-face {
    font-family: "KantarBrownLight";
	src: url('../../css/Fonts Kantar Brown/KantarBrownCyrTT-Light.ttf');
}

* { box-sizing: border-box; }

html { font-size:105%;}

body {
    font-family: KantarBrownLight, Arial, Helvetica;
	
    color: #000;
	font-size:0.9rem;
    height: 100%;

}

#container {
	background-color:#fff;	
	margin: 0 auto;
}

p , h1 ,h2, h3, h4 {  padding:0rem 1rem;}
p { line-height: 1.5rem; font-size:1rem;}
a {
	font-weight:900;
	color: inherit;
	font-size:inherit;	 
	text-decoration: none;
}
a:hover, a:focus , input[type=submit]:hover  , input[type=submit]:focus { 
	text-decoration: underline;
}

h1,h2, h3, h4, .topnav li a {	
    font-family: KantarBrownLight, Arial, Helvetica;	
}

h4 {
	margin-bottom:1rem;
	font-size:1rem;
	line-height:1.8rem;
	text-align:left;	
	}

h3 {
	margin-bottom:1.5rem;
	font-size:1.5rem;
	line-height:1.8rem;
	text-align:left;
}

input[type="submit" i]:disabled {
	background-color: light-dark(rgba(239, 239, 239, 0.3), rgba(19, 1, 1, 0.3)) !important;
	color: light-dark(rgba(16, 16, 16, 0.3), rgba(255, 255, 255, 0.3)) !important;
	border-color: light-dark(rgba(118, 118, 118, 0.3), rgba(195, 195, 195, 0.3)) !important;
	text-decoration: none !important;
	cursor: default !important;
}


.portalBtn, input[type=submit] {
	display: inline-block;
	width: auto;
	background-color: #000;
	color: #fff;
	padding: 0.5rem 1rem;
	border-radius: 3px;
	margin: 0rem 1rem;
	cursor: pointer;
}

	input[type=submit] {
	margin:0rem 1rem;
	}

	.portalBtn, input[type=submit],	.carousel-btn {
		box-shadow: 0px 5px 5px rgba( 0, 0, 0, 0.2 );	
	}

.portalBtn:hover, .carousel-btn:hover, input[type=submit]:hover {
    background-color: #636363;	
}


 input[type=submit] {
	 font-weight:600;
	margin:1rem;
 }

header {
    display: flex;
	width:100%;
	margin:0rem auto 0;
	padding:0;
    justify-content: space-between;
	align-items: center;
}
	
header img {
	display: inline-block;
	margin: 1rem 0rem;
	max-height: 30px;
	margin-left:1rem;
}
header, .topnav {
	float:none;
}

.topnav {
	text-transform:uppercase;
	display:flex;
    justify-content: center;    
	flex-direction: row; 
	
}
nav ul {
  list-style: none outside none;
}


.topnav li {	
    margin: 1rem 0.5em 0rem;
	text-decoration: none;
	
}
.topnav li a {
	padding:1rem;
	line-height:2rem;
	width:100%;
	display:inline-block;
}

.topnav li a:hover, .topnav li a:focus {
	 background-color: #D4D4C9;
	 color:#000;
}


.topnav li a:hover, .topnav li a:focus  {
	text-decoration:none;
}


.subnavMob {
	display:none;
}


.subnavMob li a {
	font-size:1rem;
	margin-left:0rem;
}

.subnavDesk {
	border: none;
    background: #f0f0f0;
	widows:100%;
	display: flex;
	justify-content: flex-start;
	
}
.subnavDesk li a{
	padding:1rem;
	line-height:2rem;
}

.navIcon {
 	color: #000;
	font-size:1.5rem;
	display:none;
	margin-right	:1.5rem;	
}




 .pageHeaderBlock  {
    width:100%;
	margin:0rem auto 0;
	text-align:left; 
	overflow:hidden;
	color:#fff;
	background:#6d4480;	
	background: linear-gradient(to left, #6d4480, #482459  80%,#361347);
}

 .pageHeaderBlock  h2  { 
font-size:3rem;
 }
 .pageHeaderBlock { 
  padding:5rem 0rem 
 }


  .pageHeaderBlock h1{ 
	font-size:3.5rem;
	}


  .pageHeaderBlock h2, .pageHeaderBlock h1 { 
	padding:1rem 0rem;
	text-align:left;
	color:#fff;
	font-weight:900;
	display:block;
	width:70%;
	margin:0 1rem;
	text-transform:uppercase;
	}

.aboutMeasurement {
	min-height:15rem;
	margin:-5rem auto 5rem;  
	align-content: center;
	justify-content: center;	
	gap: 1rem;
	
	padding: 3rem 0rem;
	}

	.flex2c {
		align-content: center;
		justify-content: space-between;	
		padding:1rem 1rem 0rem;
	
	 }

	 .bordertopLine {
		margin-top:1rem;
		border-top:2px solid #bdbdbd;
	 }


.aboutMeasurement , .flex2c {
	display:flex;
	flex-flow: row wrap;
	align-items: center;	
	width: 100%;
	max-width: 1800px;
}

.aboutMeasurement .portalBtn {
	margin:1rem 1rem 0rem;
}



.aboutMeasurement article { 
	background-color:#fff;
	padding:3rem 2rem;
	margin: 0 auto 0 0;
	box-shadow: 0px 10px 10px rgba( 0, 0, 0, 0.2 );	
	
}
.aboutMeasurement article {
	flex: 2 1 0%; /* flex-grow, flex-shrink, flex-basis */
	-moz-flex: 2 1 0%;
	-webkit-flex: 2 1 0%;
	-ms-flex: 2 1 0%;	
   
}

/* Apply styles only within the .panelistContentPage section */
.panelistContentPage .inlineblock {
	display: inline-block; /* Ensures the heading and button are on the same line */
	margin-right: 15px; /* Provides space between the heading and the button */
	vertical-align: middle; /* Vertically aligns the heading with the button */
}

 section ol {
	 
  list-style: decimal outside none;
  margin:0.5rem 1rem; 
  line-height:1.5rem;
  counter-reset: item;

}
	section ol li:nth-child(1) { 
	 list-style: none outside none;	
	 display: block;
	 margin-left:-1rem;
	 margin-top:1.5rem;
	}
	section ol >  :not(:first-child){
	list-style-type:none;
	counter-increment: item;
	}
	
	section ol > :not(:first-child):before { 
	 display:inline-block;
	 width:1.5em;
	 border-radius:2px;
	 margin-right:0.5rem;
	 font-weight:bold;
	 text-align:center;

	 content:counter(item) ".";
	}
	
	
		section ol dl {	
			 list-style: square inside none;
			
		}
		section ol dl li { display: block; padding:0rem;  margin:0rem 1rem; text-align:center; }
		section ol dl li  i { font-size:0.8rem;  } 
		section ol dl li:not(:first-child) {  padding-bottom:1rem;  text-align:left;}

		
select option:hover { 
   background: #000 !important;
}



 section ol .portalBtn {
 padding:0.5rem;
 }
 

footer {
	
	display:flex;
	gap: 1rem;
	flex-flow: row wrap;
	align-content: center;
	justify-content: space-around;
	 align-items: center;
	 font-weight:500;
	text-align:center;
	padding:1rem 0rem;
}


.error-message {
	color: #D8000C;
	background-color: #FFD2D2;
	border: 1px solid #D8000C;
	padding: 10px 15px;
	margin: 10px 0;
	font-family: Arial, sans-serif;
	font-size: 14px;
}

.ok-message {
	color: #fff;
	background-color: #6d4480;
	border: 1px solid #361347;
	padding: 10px 15px;
	margin: 10px 0;
	font-family: Arial, sans-serif;
	font-size: 14px;
}

.hidden {
	visibility: none;
}

.visible {
	display: block;
}


@media screen and (max-width: 1000px) {
	#container { min-width:100%;	 }
		
	
	header { display: block; }
	
	.topnav { 
		display:block; 
		max-height: 0; 
		transition: max-height 300ms linear; 
		overflow:hidden;
		margin:4rem auto 0; 
		background-color:#000;
		border:0px solid #000;
		color:#fff;	
	}
  
	.topnav li {
		display: block; 
		margin:0rem; 
		padding:0rem 0.5rem;
	}

	.subnavMob, .topnav li a { display:block; }
	.subnavDesk  { display:none; }
	
	.subnavMob li a {
	font-size:0.8rem;
	margin-left:1rem;
	}
  
	header img, .navIcon {
    display: block;
	position: absolute;
	top: 1rem;
   }
 
	

	 .navIcon { right: 1rem; }
	
	header img { left: 1rem;  } 

	.topnav.responsive {
		position: relative; 
		max-height: 30rem;
		}
		
	.topnav.responsive li {
		float: none;
		text-align: left;
		}

		.aboutMeasurement {
		  margin:-5rem 0rem 5rem;  
		  padding: 1.5rem 1rem 1rem;
		}
	
} /* End of min-width: 1000px */

/* Tablet */
@media screen and (max-width: 768px) {
	
	 .pageHeaderBlock h2 , .pageHeaderBlock h1  { 
		font-size:2rem;
		padding:0.5rem;
		width:95%;
	}

	.aboutMeasurement {
	
		padding: 1.5rem 0rem;
	}


}

/* Mobile */
@media screen and (max-width: 440px) {
	 .pageHeaderBlock  { background-position:left; }
	 .pageHeaderBlock  h3 { 
		font-size:2rem;
		margin-top:1rem;
		}

	.aboutMeasurement { display:block; width:calc((100%) - 2em);  }
	.aboutMeasurement article { padding: 1.5rem 0rem; margin-top:-1px; }

	.aboutMeasurement {
	  padding: 1.5rem 0rem;
	}

	
}

.modalPersson .close {
	position: fixed;
	top: 15px; /* Adjust the distance from the top */
	right: 80px; /* Adjust the distance from the right */
	z-index: 1001; /* Ensure it stays above other elements */
	padding: 0px;
}


.modalPersson #householdName {
	position: fixed; /* For Safari */
	left: 40px;
	top: 0px;
	padding-top: 30px;
	right: 0;
	z-index: 900; /* Make sure it stays above other sticky elements */
	background-color: white; /* Ensure it has a background */
}

/*.modalPersson .close {
	position: -webkit-sticky;*/ /* For Safari */
	/*position: sticky;
	top: 0;
	right: 0;
	z-index: 1001;*/ /* Make sure it stays above other sticky elements */
	/*background-color: white;*/ /* Ensure it has a background */
	/*z-index: 999;
}*/

/*.modalPersson #householdName {
	position: -webkit-sticky;*/ /* For Safari */
	/*position: sticky;
	top: 0;
	right: 0;
	z-index: 900;*/ /* Make sure it stays above other sticky elements */
	/*background-color: white;*/ /* Ensure it has a background */
/*}*/

.tabs#panelistTab {
	position: -webkit-sticky;  /*For Safari */
	position: sticky;
	top: 60px;  /*Adjust according to the height of the householdInfo */
	z-index: 999; /* Just below the close button */
}


.hidden {
	display: none !important;
}

#loadingLayer {
	position: fixed;
	top: 0;
	left: 0;
	width: 100%;
	height: 100%;
	background-color: white; /* Adjust background as needed */
	display: flex;
	justify-content: center;
	align-items: center;
	z-index: 1000;
}

.fullspinner {
	border: 16px solid #361347;
	border-top: 16px solid #6d4480;
	border-radius: 50%;
	width: 120px;
	height: 120px;
	animation: spin 2s linear infinite;
}

/* Margin for specific sides */
.mt-0 {
	margin-top: 0;
}

.mt-1 {
	margin-top: 4px;
}

.mt-2 {
	margin-top: 8px;
}

/* Restore strong from being reset */
strong {
	font-weight: bold;
}
