/* style the built in Elements */
h1 { font-size: 22px;text-align: center; text-transform: uppercase; text-shadow: 0 0 2px white; }
h2 {font-weight:bold; text-align: center; font-size: 1.2rem; color: rgb(77,147,217); font-family: 'Arial', 'Times New Roman', Times, serif}
p {line-height:140%; font-size:20px; display: block; font-size: 16px }
a { font-size: 18px; color:white}
body {background-color: rgb(22, 19, 49); font-family: Arial, sans-serif; color: lightblue; }
img { transition: transform 0.5s; /* add transition */ }
img:hover { transform: scale(1.1); /* scale up on hover */ }

input[type="radio"] {transform: scale(2); margin-left:20px;  margin-right: 20px; margin-top: 15px; accent-color: blue }
input[type="number"] { 
  width: 85px; height: 30px; margin: 3px; margin-right: 10px; cursor:pointer;
  font-size: 20px; font-weight:bold; color: blue; text-align: center; 
  background-color: white; border:  1px solid #555;  outline: none; border-radius: 5px;   }
input[type="text"] { 
    width: 85px; height: 30px; margin: 3px; margin-right: 10px; cursor:pointer;
    font-size: 20px; font-weight:bold; color: blue; text-align: center; 
    background-color: white; border:  1px solid #555;  outline: none; border-radius: 5px;   }
select { 
    width: 50px; height: 25px; margin: 3px; margin-left: 10px; margin-right: 5px; cursor:pointer;
    font-size: 16px; font-weight:bold; color: blue; text-align: center; 
    background-color: white; border:  1px solid #555;  outline: none; border-radius: 5px;   }
input[readonly] {background-color: transparent;color: lightskyblue;}                           

.container { text-align: left; position: relative;
	margin-top: 15px;
	margin-left: 2px;
	margin-right: 0px;
	min-width: 300px;
	max-width: 95%;
	padding: 4px;
	border: 2px solid blue;  box-shadow: 0 0 10px blue; border-radius: 10px;
}
.cCorrect {color: green; font-size: 18px}
.cWrong {color: red; font-size: 18px}

/* Styling for the popup */
.popup {
	display: none;
	position: fixed;
	top: 50%;
	left: 50%;
	transform: translate(-50%, -50%);
	border: 1px solid #ccc;
	border-radius: 10px;
	padding: 20px;
	background-color: black;
	box-shadow: 0 0 10px rgba(0,0,0,0.1);
	width: 250px;
	z-index: 1000; /* Set a high z-index value */
}
.popup input[type="text"] {	margin-bottom: 25px; width: 100%; height: 25px; font-size: 18px; color:blue; text-transform: uppercase}
.popup input[type="email"] {margin-bottom: 25px; width: 100%; height: 25px; font-size: 18px; color:blue; text-transform: lowercase}
.popup .title-bar {
	display: flex;
	justify-content: space-between;
	align-items: center;
	background-color: blue;
	padding: 5px;
	font-weight: bold;
	border-bottom: 1px solid #ccc;
	border-top-left-radius: 10px;
	border-top-right-radius: 10px;
	margin: -19px -20px 10px -20px;
}
.popup .close-btn {cursor: pointer;}
.popup .buttons { display: flex; justify-content: center; margin: 10px;}
.popup .buttons button {flex: 1; margin: 5px;}
.cBulletList {list-style-type: none; margin-bottom: 30px}
.cBulletList li {  margin-bottom: 8px; /* adjust spacing between items */}


label { color: lightblue; font-size: 16px; font-weight:bold}

/* style the custom Elements */
.cPb_Caution {
  background-color: red; font-size: 12px; font-weight:bold; color: white; 
  border-color:lightgrey; border-style:outset;border-radius: 20px; cursor: pointer}

.cPb_Submit {
  height: 40px; width: 60px; background-color: blue; font-size: 14px; font-weight:bold; color: white; 
  border-color:lightgrey; border-style:outset;border-radius: 10px; cursor: pointer; margin-top: 30px}
.cPb_SubmitFb { font-size: 16px; font-weight:bold; color: white; text-align: center; margin-top: 5px }

.input_col_label {
  width: 90px; height: 30px; margin: 3px;  margin-right: 8px;
  font-size: 20px; text-align: center; color: lightblue; 
  background-color: darkblue; border:  1px solid #555; outline: none; border-radius: 5px;}

.cWin_Container { margin: 5px; padding:5px; 
  display: -webkit-flex; display: flex;   flex-wrap: wrap; justify-content: center;
  border: 2px solid blue;  box-shadow: 0 0 10px blue; border-radius: 10px;}


.cWin_Debug {
  position: relative; width: 100%; height: 50px; padding: 4px;
  background-color: magenta; border: 1px solid black;  box-shadow: 0 0 10px grey; border-radius: 10px;
  color: white;  font-size:16px;}

.cCol_Hdr {
  height: 25px; width: 310px;  padding: 2px; margin-bottom: 10px; margin-top: 5px;  
  font-size: 20px; font-weight:bold ; font-family: Times; color: lightblue; text-align: center; cursor:pointer;
  background-color: darkblue; border: 1px solid #aaa; border-radius: 5px;}

.cGroup_Box { width: 300px; border:  1px solid #555;  outline: none; border-radius: 5px; padding-top:5px; padding-bottom:15px; }

.cCol3_1, .cCol3_2, .cCol3_3 {
  padding: 0;
  display: flex;
  flex-direction: column;
  height: 100%;
}

.cCol3_1 { flex: 0 0 130px; }
.cCol3_2 { flex: 0 0 120px; }
.cCol3_3 { flex: 0 0 60px; }

.cPb_On {
  height: 25px; margin:1px;  cursor: pointer ; 
  font-family: Arial; font-size:12px; color: black; 
  background-color: white; border-color:lightgrey; border-style:inset;  }
.cPb_Off {
  height: 25px; margin:1px; cursor: pointer;
  font-family: Arial; font-size:12px; color: black; 
  background-color: darkgrey;  border-color:lightgrey; border-style:outset; }

.cSpeedSlider { accent-color:blue;}

[Ttip]:hover {
	position: relative;
}
[Ttip]:hover::before {
	all: initial;
	display: inline-block;
	border-radius: 5px;
	padding: 10px;
	background-color: white;
	content: attr(Ttip);
	color: black;
	position: absolute;
	bottom: 100%;
	width: 100px;
	left: 50%;
	transform: translate(-50%, 0);
	margin-bottom: 15px;
	text-align: center;
	font-size: 14px;
	z-index: 999;
}
  /* This creates the little triangle */
[Ttip]:hover::after {
	all: initial;
	display: inline-block;
	width: 0; 
	height: 0; 
	border-left: 10px solid transparent;
	border-right: 10px solid transparent;		  
	border-top: 10px solid white;
	position: absolute;
	bottom: 100%;
	content: '';
	left: 50%;
	transform: translate(-50%, 0);
	margin-bottom: 5px;
}