/*--------
Layout
*/
@font-face {
	font-family: Kalpurush;
    src: url('/downloads/font/kalpurush.ttf');
}
body {
	background: url('/images/stripe_1.png');
	align-content: center;
	font-family: Kalpurush, Kalpurush, vrinda, arial, verdana, sans-serif;
	margin: 0;
}

header {
	height: 5vh;
	font-size: 1.5vh;
	border-radius: 10px 10px 0px 0px;
}

footer {
	height: 3vh;
	font-size: 2vh;
	border-radius: 0px 0px 10px 10px;
	flex-grow: 1;
}

footer a {
	color: white;
	font-size: 1.5vh;
	text-decoration: underline;
}

article {
	text-align: left;
	background: #fafafa;
	min-height: 90vh;
	font-size: 2.5vh;
	width: 95vw;
	max-width: 1020px;
	padding: 5px;
	height: auto;
}

header, footer {
	color: #ffffff;
	text-align: center;
	background: #00c1ca; /* #0000ca; */	
	max-width: 1024px;
	vertical-align: middle;
}

header, footer, article {
	margin-left: auto;
	margin-right: auto;
	margin-top: 0px;
	margin-bottom: 0px;
}

#logo {
	border-radius: 5px;
	padding: 3px;
	float: left;
	height: 4.7vh;
	background: #fafafa; 
	margin: 0px;
}

.panelW { clear: both; margin: 0; }
.panelR { float: right; width: 40%; text-align: right; display: block; }
.panelLX, .panelLXS { float: left; text-align: left; padding: 5px; border-right: solid #00c1ca 2px; }
.panelRX, .panelRXS, .panelRS { float: right; padding: 5px; overflow-y: auto; }
.panelLX { width: 50%; }
.panelRX { width: 47%; text-align: left; }
.panelRS { width: 10%; text-align: right; }
.panelLXS { height: 82vh; overflow-y: auto; width: 30%; }
.panelRXS { height: 82vh; width: 65%; text-align: left; }
.panelC { margin: auto; max-width: 800px; }
.panelpop {
	margin: auto;
	width: 90vw;
	max-width: 900px;
	max-height: 90vh;
	border-radius: 5px;
	background: #fafafa;
	border: solid #0000ca 1px;
	box-shadow: 0 5px 15px rgba(145, 92, 182, 0.8);
	display:block;
	padding: 2px;
	top: 50%;
	left: 50%;
	transform: translate(-50%, -50%);
	position: fixed;
	visibility: hidden;
	font-size: 3vh;
	text-align: center;
}

/*--------------
Elements
*/
button, .button, .tinybutton {
	font-size: 3vh;
	height: 4vh;
	width: 100%;
	margin: 2px;
	border-radius: 5px;
	border: 1px solid silver;
}
button, .button { max-width: 330px; }
button:hover, .button:hover {
	background: #0000;
	text-shadow: 0 5px 15px rgba(145, 92, 182, 1);
	cursor:pointer;
}
.smallbutton { width: 32%; max-width:170px; }
.tinybutton { width: 8%; max-width:50px; }
.bigbutton { width: 100%; max-width:640px; }
button img, .button img { width: 3vh; height: 3vh; object-fit: cover; }
.panelpop button { font-size: 3vh; height: 3.5vh; width: auto; }

input, select, textarea, .wide, .bigwide {
	font-size: 3vh;
	border-radius: 5px;
	border: 1px solid silver;
	padding: 0px 5px 0px 5px;
	margin: 1px;
}
input, select, textarea, .wide { height: 4vh; max-width: 98%; }
input.largeckbx { margin-left: 20px; transform : scale(3); }
textarea { width: 99vw; min-height: 8vh; word-wrap: normal; resize:none; }
.wide { width: 99vw; }
.wide2 { width: 99vw; max-width: 90%; }
.bigwide { width: 99vw; height: 30vh; text-align: top; resize:vertical; }
.editable {
	color: black;
	border: 1px solid green;
	box-shadow: inset 0px 0px 5px lime;
}
:disabled, :hover:disabled {
  border: 1px solid silver;
  box-shadow: none;
  background: #dddddd;
  cursor:not-allowed;
  text-shadow: none;
}

.ddbox {
	z-index: 10;
	display: block;
	position: absolute;
	background: white;
	text-align: left;
	border: solid 1px #000066;
	border-radius: 5px;
	padding: 3px;
	min-width: 200px;
	max-width: 800px;
	visibility: hidden;
	margin-top: 1px;
}

a {
	text-decoration: none;
	color:#000066;
	text-shadow: 0 5px 15px rgba(145, 92, 182, 0.8);
	border-radius: 3px;
	padding: 3px;
}
a:hover {
  text-decoration: underline;
  text-shadow: 0 5px 5px rgba(145, 92, 182, 1);
}

/* Headings */
.w0 { color: #0000ca; font-weight: bold; font-size: 10vh; margin-left: 1vw; margin-top: 0; margin-bottom: 0; }
.w0lang { color: #0000ca; font-weight: normal; font-size: 2.5vh; margin-top: 0; margin-bottom: 0; }
.w0specs { font-weight: normal; font-size: 2.5vh; margin-top: 0; margin-bottom: 0; }
.mcnt { font-weight: bold; font-size: 5vh; margin-top: 0; margin-bottom: 0; }
.tag0, .tag0 a {
	padding: 2px 10px;
	color:#ffffff;
	background-color: #00c1ca;
	border: 0px;
	border-radius: 6px;
	margin-left: 3px;
	height: 3.5vh;
}
.tag0R, .tag0R a {
	padding: 5px;
	color:#ffffff;
	background-color: #00c1ca;
	border: 0px;
	border-radius: 8px;
	float:  right;
	margin: 1px;
	font-size: 2vh;
	height: 2.5vh;
}
.info {
	float: right;
	color:  #00c1ca;
	font-size: 1.75vh;
	font-weight: 200;
	margin: 0px;
	text-align: right;
}
.alert { color:red; }
.green { color:lime; }
.silver { color:silver; }
.orange { color:orange; }
.newicon {
	color: red;
	font-size: 1.75vh;
	animation: blink-animation 1s steps(5, start) infinite;
	-webkit-animation: blink-animation 1s steps(5, start) infinite;
	transform:rotate(-90deg);
}
.photo { width: 100%; image-rendering: auto; }
.icon { height: 2.7vh; max-width: 50px; }
h1 { font-weight: bold; font-size: 5vh; margin: 0px; }
h2 { font-weight: bold; font-size: 3vh; margin: 0px; }
h3 { color: #0000ca; font-weight: bold; font-size: 2.5vh; margin: 2vh 0px 0px 0px; }
h4 { color: #00c1ca; font-size: 2vh; font-weight: normal; margin: 0px; }
h5 { color: #8c8c8cff; font-size: 2vh; font-weight: normal; margin: 0px; }
hr { clear: both; height: 1px; border: none; border-bottom: solid 1px #00c1ca; margin: 0px; }
.hr2 { clear: both; height: 3px; border: none; border-bottom: solid 1px #00c1ca; margin: 0px; }

/*----------
navigator
*/
#menu-toggle {
	display: none;
	font-size: 2.5vh;
	font-weight: bold;
	color: #fff;
	background: #00c1ca;
	padding: 5px 10px;
	border-radius: 5px;
	cursor: pointer;
	margin: 5px;
}

#nav {
	background: #00c1ca;
	width: fit-content;
	float: right;
	text-align: left;
	margin-bottom: 1px;
	border-radius: 5px;
	position: relative;
	z-index: 999999;
}
#nav li {
	margin: 0;
	float: right;
	position: relative;
	list-style: none;
	background: #00c1ca;
	border-radius: 5px;
}
#nav a {
	font-weight: bold;
	font-size: 2vh;
	color: #e7e5e5;
	text-decoration: none;
	display: block;
	padding: 3px 10px;
	border-radius: 5px;
}

/* hover effects */
#nav .current a, #nav li:hover > a {
	background: #7788aa url('/images/bg.png') repeat-x 0 -20px;
	color: #000;
	border-top: 1px solid #f8f8f8;
	border-radius: 5px;
	box-shadow: 0 2px 2px rgba(0,0,0,0.7);
}
#nav li ul {
	background: #00c1ca;
	border-radius: 5px;
	width: auto;
	min-width: 150px;
}
#nav ul li a, #nav li li a { background: #00c1ca; border: none; color: #fff; }
#nav ul li:hover a, #nav li:hover li a { background: #00c1ca; border: none; color: #fff; }
#nav ul li a:hover { background: #335599 url('/images/bg.png') repeat-x 0 -100px; color: #fff; border-radius: 5px; }
#nav ul li:first-child > a { border-radius: 5px 5px 0 0; }
#nav ul li:last-child > a { border-radius: 0 0 5px 5px; }

/* drop down */
#nav li:hover > ul { opacity: 1; visibility: visible; }
#nav ul {
	opacity: 0;
	visibility: hidden;
	padding: 0;
	width: auto;
	left: 0;
	position: absolute;
	transition: opacity .25s linear, visibility .1s linear .1s;
}
#nav ul li {
	background: #aabbcc url('/images/bg.png') repeat-x 0 0;
	float: none;
	margin: 0;
}
#nav ul a { color: #e7e5e5; font-weight: bold; }
#nav ul ul { left: 100%; top: 0; }

/* --- Responsive Enhancements --- */
@media (max-width: 768px) {
	#menu-toggle { display: block; float: right; }
	#nav { clear: both; float: none; width: 100%; display: none; }
	#nav.open { display: block; width: 100%; }
	#nav ul { display: flex; flex-direction: column; width: 100%; padding: 0; }
	#nav li { float: none; width: 100%; margin: 0; }
	#nav li a { text-align: left; width: 100%; font-size: 2.2vh; }
	#nav li ul { position: static; width: 100%; border: none; box-shadow: none; }
	#nav li ul li a { padding-left: 25px; font-size: 2vh; }
}

@media (max-width: 480px) {
	body, article { font-size: 2vh; }
	header { font-size: 1.2vh; height: auto; }
	footer { font-size: 1.4vh; height: auto; }
}

@media (max-width: 768px) {
  #nav li ul {
    display: none;   /* keep submenu hidden by default */
  }
  #nav li.open > ul {
    display: block;  /* show only when parent is toggled */
  }
  .submenu-toggle {
    float: right;
    cursor: pointer;
    font-size: 2vh;
    padding: 0 10px;
    color: #fff;
  }
}
