/* 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; }
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;   }
input[readonly] {background-color: transparent;color: lightskyblue;}                           

/* Styling for the popup */
.popup {
	display: none;
	position: fixed;
	top: 50%;
	left: 50%;
	transform: translate(-50%, -50%);
	border: 2px solid green; box-shadow: 0 0 10px green; border-radius: 10px; 
	padding: 10px;
	background-color: rgb(10, 24, 14);
	width: 90%;
	max-width: 350px;
	z-index: 9000; /* 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;
	height: 30px;
	justify-content: center;
	align-items: center;
	background-color: darkgreen;
	padding: 5px;
	font-size: 20px;
	color: white;
	font-weight: bold;
	border-bottom: 2px solid green;
	border-top-left-radius: 10px;
	border-top-right-radius: 10px;
	margin: -10px -10px 10px -10px;
}
.popup .close-btn {cursor: pointer;position: fixed; right: 2%; color: white}
.popup .buttons { display: flex; justify-content: center; margin: 10px;}
.popup .buttons button {flex: 1; margin: 5px;}

label { color: lightblue}

/* style the custom Elements */
.cPb_Caution {
  height: 20px; width:75px; background-color: red; font-size: 12px; font-weight:bold; color: white; 
  border-color:lightgrey; border-style:outset;border-radius: 20px; cursor: pointer}

.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; border-radius: 10px; box-shadow: 0 0 10px; box-sizing: border-box}

.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; }

.cCol_1 { -webkit-flex: 1; -ms-flex: 1; flex: 1; padding: 1%; }
.cCol_2 { -webkit-flex: 1; -ms-flex: 1; flex: 1; padding: 1%; }
.cCol_3 { -webkit-flex: 1; -ms-flex: 1; flex: 1; padding: 1%; }
.cCol_4 { -webkit-flex: 1; -ms-flex: 1; flex: 1; padding: 1%; }
.cCol_5 { -webkit-flex: 1; -ms-flex: 1; flex: 1; padding: 1%; }

.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;
}