html,body{margin:0!important;overflow-x:hidden}

/*TEMP*/
/*div.mainarea {background-color:#00f}
* {
  outline: 1px solid red;
}*/

/*TEMP END*/



.material-icons.md-18 { font-size: 18px; }
.material-icons.md-24 { font-size: 24px; }
.material-icons.md-36 { font-size: 36px; }
.material-icons.md-48 { font-size: 48px; }

/*COLORS*/
/* === GRAY === */
.gray-10 { background-color: #f5f7fa!important; }
.gray-20 { background-color: #ebeff5!important; }
.gray-30 { background-color: #dde3ed!important; }
.gray-40 { background-color: #c8d1e0!important; }
.gray-50 { background-color: #afbacc!important; }
.gray-60 { background-color: #8e99ab!important; }
.gray-70 { background-color: #707a8a!important; }
.gray-80 { background-color: #58606e!important; }
.gray-90 { background-color: #434a54!important; }
.gray-100 { background-color: #333840!important; }
/* === BLUE === */
.blue-10 { background-color: #f0f5fc!important; }
.blue-20 { background-color: #cfe0fc!important; }
.blue-30 { background-color: #accbfc!important; }
.blue-40 { background-color: #84b1fa!important; }
.blue-50 { background-color: #5691f0!important; }
.blue-60 { background-color: #3272d9!important; }
.blue-70 { background-color: #1d5bbf!important; }
.blue-80 { background-color: #114599!important; }
.blue-90 { background-color: #103570!important; }
.blue-100 { background-color: #15233b!important; }
/* === BRONZE === */
.bronze-10 { background-color: #fcf2e6!important; }
.bronze-20 { background-color: #fad8af!important; }
.bronze-30 { background-color: #f5bc76!important; }
.bronze-40 { background-color: #e89c3f!important; }
.bronze-50 { background-color: #cf7911!important; }
.bronze-60 { background-color: #ad5f00!important; }
.bronze-70 { background-color: #8a4d03!important; }
.bronze-80 { background-color: #693d07!important; }
.bronze-90 { background-color: #4d2f0b!important; }
.bronze-100 { background-color: #3321dc!important; }
/* === GREEN === */
.green-10 { background-color: #e1faeb!important; }
.green-20 { background-color: #8ef5b7!important; }
.green-30 { background-color: #46e385!important; }
.green-40 { background-color: #1ec963!important; }
.green-50 { background-color: #0aa648!important; }
.green-60 { background-color: #038537!important; }
.green-70 { background-color: #056b2e!important; }
.green-80 { background-color: #075426!important; }
.green-90 { background-color: #09401f!important; }
.green-100 { background-color: #0a2e18!important; }
/* === TEAL === */
.teal-10 { background-color: #d7faf8!important; }
.teal-20 { background-color: #83f2eb!important; }
.teal-30 { background-color: #43ded3!important; }
.teal-40 { background-color: #21c2b7!important; }
.teal-50 { background-color: #0ea197!important; }
.teal-60 { background-color: #08827a!important; }
.teal-70 { background-color: #086962!important; }
.teal-80 { background-color: #09524d!important; }
.teal-90 { background-color: #0a3d3a!important; }
.teal-100 { background-color: #0a2b29!important; }
/* === SKY === */
.sky-10 { background-color: #e8f4fa!important; }
.sky-20 { background-color: #bbe5fa!important; }
.sky-30 { background-color: #8dd4f7!important; }
.sky-40 { background-color: #53baed!important; }
.sky-50 { background-color: #229ad6!important; }
.sky-60 { background-color: #0c7bb3!important; }
.sky-70 { background-color: #066391!important; }
.sky-80 { background-color: #064d70!important; }
.sky-90 { background-color: #093952!important; }
.sky-100 { background-color: #0c2938!important; }
/* === SLATE === */
.slate-10 { background-color: #edf4f7!important; }
.slate-20 { background-color: #cbe3f5!important; }
.slate-30 { background-color: #a7ceeb!important; }
.slate-40 { background-color: #84b7db!important; }
.slate-50 { background-color: #5e95bd!important; }
.slate-60 { background-color: #48799c!important; }
.slate-70 { background-color: #376180!important; }
.slate-80 { background-color: #2d4d63!important; }
.slate-90 { background-color: #243947!important; }
.slate-100 { background-color: #1d2830!important; }
/* === INDIGO === */
.indigo-10 { background-color: #f2f2fc!important; }
.indigo-20 { background-color: #dcdcfc!important; }
.indigo-30 { background-color: #c2c2fc!important; }
.indigo-40 { background-color: #a7a7fa!important; }
.indigo-50 { background-color: #8585f2!important; }
.indigo-60 { background-color: #6767e6!important; }
.indigo-70 { background-color: #4d4dd1!important; }
.indigo-80 { background-color: #373783!important; }
.indigo-90 { background-color: #28288a!important; }
.indigo-100 { background-color: #2d2057!important; }
/* === DUSK === */
.dusk-10 { background-color: #f4f2f7!important; }
.dusk-20 { background-color: #e3dcf7!important; }
.dusk-30 { background-color: #cec2f0!important; }
.dusk-40 { background-color: #b5a6e3!important; }
.dusk-50 { background-color: #9886cf!important; }
.dusk-60 { background-color: #7a68b3!important; }
.dusk-70 { background-color: #645396!important; }
.dusk-80 { background-color: #4f4178!important; }
.dusk-90 { background-color: #3a3154!important; }
.dusk-100 { background-color: #282436!important; }
/* === PURPLE === */
.purple-10 { background-color: #f5f0fa!important; }
.purple-20 { background-color: #ead9fa!important; }
.purple-30 { background-color: #dabcf7!important; }
.purple-40 { background-color: #c79bf2!important; }
.purple-50 { background-color: #ae74e8!important; }
.purple-60 { background-color: #9656d6!important; }
.purple-70 { background-color: #7d3cbd!important; }
.purple-80 { background-color: #642b9e!important; }
.purple-90 { background-color: #4b2175!important; }
.purple-100 { background-color: #371c52!important; }
/* === MAGENTA === */
.magenta-10 { background-color: #faf0f4!important; }
.magenta-20 { background-color: #fad4e4!important; }
.magenta-30 { background-color: #fab4d1!important; }
.magenta-40 { background-color: #f78bb8!important; }
.magenta-50 { background-color: #ed5393!important; }
.magenta-60 { background-color: #d6246e!important; }
.magenta-70 { background-color: #b01355!important; }
.magenta-80 { background-color: #8a1244!important; }
.magenta-90 { background-color: #611535!important; }
.magenta-100 { background-color: #421527!important; }
/* === RED === */
.red-10 { background-color: #faf0f0!important; }
.red-20 { background-color: #fad4d4!important; }
.red-30 { background-color: #fab6b6!important; }
.red-40 { background-color: #fa8e8e!important; }
.red-50 { background-color: #f55353!important; }
.red-60 { background-color: #de1b1b!important; }
.red-70 { background-color: #b80d0d!important; }
.red-80 { background-color: #8f0e0e!important; }
.red-90 { background-color: #661414!important; }
.red-100 { background-color: #451717!important; }

body,.card,.article {color:#434a54;font-family: "Raleway", sans-serif;font-size: 14px; font-weight:400}
strong,b {font-weight:700 !important;font-weight: bold;}
div#body{background-color:#f5f7fa;}
div.header{text-align:left}
div.header{margin:0}

/**TOP MENU**/
.navbar-top{background:#fff!important;border-bottom:5px solid #229ad6!important;box-shadow:0 2px 16px rgba(67,74,84,.08);}
.navbar-bottom {background-color:#ebeff5 !important;/*border-bottom:0px solid #fff*/}
.navbar-toggler{border-color:#fff !important;background: #58606e ! important}

.menu-link{padding:0 12px;height:36px;display:inline-flex;align-items:center;font-size:12px;text-transform:uppercase;letter-spacing:1px;text-decoration:none;border:0!important;transition:.3s;}
.menu-link.f-1{background-color:#6fe083!important;color:#1a3a20!important;}
.menu-link.f-2{background-color:#229ad6!important;color:#fff!important;}
.menu-link.f-3{background-color:#ffa101!important;color:#fff!important;}
.menu-link.f-4{background-color:#f55353!important;color:#fff!important;}
.menu-link.f-fw{background-color:#ffd8e3!important;color:#583e78!important;font-weight:600;letter-spacing:.04em;}
.menu-link:hover,.menu-link:active{text-decoration:none!important;}
.menu-link.f-1:hover,.menu-link.f-1:active{background-color:#4ab866!important;color:#1a3a20!important;}
.menu-link.f-2:hover,.menu-link.f-2:active{background-color:#1a7db0!important;color:#fff!important;}
.menu-link.f-3:hover,.menu-link.f-3:active{background-color:#cc8001!important;color:#fff!important;}
.menu-link.f-4:hover,.menu-link.f-4:active{background-color:#d43e3e!important;color:#fff!important;}
.menu-link.f-fw:hover,.menu-link.f-fw:active{background-color:#fcaebb!important;color:#583e78!important;}
#main a{text-decoration:none;}
.dropdown-container{position:relative;}

/* Language toggle button */
.btn-language,.btn-language:link,.btn-language:visited{
  color:#229ad6!important;
  background:rgba(34,154,214,.09)!important;
  border:1.5px solid rgba(34,154,214,.28)!important;
  font-family:Poppins,sans-serif;
  font-size:12px;
  font-weight:600;
  text-transform:uppercase;
  letter-spacing:.7px;
  height:36px;
  padding:0 14px;
  display:inline-flex;
  align-items:center;
  gap:6px;
  transition:background .18s ease,border-color .18s ease,color .18s ease;
}
.btn-language:hover,.btn-language:focus,.btn-language:active{
  background:rgba(34,154,214,.17)!important;
  border-color:rgba(34,154,214,.5)!important;
  color:#0c7bb3!important;
}

/* Dropdown panel */
.dropdown-menu[aria-labelledby="dropdownLanguages"]{
  border-radius:12px;
  border:1px solid #dde3ed;
  box-shadow:0 8px 28px rgba(67,74,84,.13);
  padding:6px;
  min-width:175px;
}

/* Dropdown items */
a.dropdown-item{
  text-decoration:none;
  font-family:Poppins,sans-serif;
  font-size:12.5px;
  font-weight:500;
  color:#434a54!important;
  letter-spacing:.15px;
  text-transform:none;
  border-radius:8px;
  padding:8px 12px;
  display:flex;
  align-items:center;
  gap:8px;
  transition:background .15s ease,color .15s ease;
}
a.dropdown-item:hover,a.dropdown-item:focus{
  background:rgba(34,154,214,.1)!important;
  color:#229ad6!important;
}
a.dropdown-item.active,a.dropdown-item[aria-current]{
  background:rgba(34,154,214,.13)!important;
  color:#229ad6!important;
  font-weight:600;
}

/* Flag emoji sizing */
.language-flag{display:inline-block;min-width:1.35em;font-size:1.2em;line-height:1;vertical-align:middle;text-align:center;flex-shrink:0;}
/* FOOTER */

.footer-copyright{padding-top:10px}
.footer-link {font-size:12px;font-weight:300;}
.valem-footer{background:#15233b;border-top:3px solid #229ad6;color:rgba(255,255,255,.8);font-size:13px;}
.valem-footer a,.valem-footer a:link,.valem-footer a:visited{color:rgba(255,255,255,.6);text-decoration:none;transition:color .2s ease;}
.valem-footer a:hover,.valem-footer a:focus{color:#fff;text-decoration:none;}
.valem-footer-brand{font-family:Poppins,sans-serif;font-size:1.05rem;font-weight:700;color:#fff;letter-spacing:.2px;}
.valem-footer-tagline{font-size:12px;color:rgba(255,255,255,.4);margin-top:3px;}
.valem-footer-heading{font-family:Poppins,sans-serif;font-size:10px;font-weight:700;text-transform:uppercase;letter-spacing:1.3px;color:rgba(255,255,255,.35);margin-bottom:10px;}
.valem-footer-divider{border-color:rgba(255,255,255,.08);margin:0;}
.valem-footer-copy{font-size:11px;color:rgba(255,255,255,.35);}

div.header,div.intro,div.homepage {
text-align:left;
max-width:1180px;
min-width:320px;
line-height:1.5
}

div.mainmenu{height:44px;}
.mainmenu ul{margin:0;padding:0 0 0 7px;}
.mainmenu li{display:inline;background:none;margin:0;padding:0;}
.mainmenu a.regular{}
.mainmenu a{text-decoration:none;font-size:12px;text-transform: uppercase;letter-spacing:1px;font-weight:400;color:#333840;}
.mainmenu a:active{color:#fff;}
.mainmenu a:hover{color:#fff;background:#ffa101;}
div.mainmenu{width:100%}
h1{font-family: "Poppins", sans-serif;font-size:24px!important;font-weight:600;margin:10px 0 10px 0px;color:#229ad6!important}
h2,h2.article{font-family:Poppins,sans-serif;font-size:1.05rem;font-weight:600;color:#2d3a50;margin:1.6rem 0 .55rem;padding:.1rem 0 .1rem 12px;border-left:3px solid #229ad6;line-height:1.3;}
h3{font-family:Poppins,sans-serif;font-size:.72rem;font-weight:700;color:#8e99ab;text-transform:uppercase;letter-spacing:.9px;margin:1.4rem 0 .35rem;padding:0;}
.highlight{background:#fff;border-bottom:1px solid #e8edf5;}
.heading1{font-family: Poppins, sans-serif;font-weight:600;color:#229ad6}
.heading1{padding:0;margin:0;}
.heading1 .home{color:#229ad6;text-decoration:none}
.heading1 .home:hover,.heading1 .home:focus,.heading1 .home:active{color:#53baed;text-decoration:none}
* {
  box-sizing: border-box;
  -moz-box-sizing: border-box;
  -webkit-box-sizing: border-box;
}

a {
color:#007AFF;
}

a:hover {
}

img[src*=svg] {
	height: auto;
}

img.logo {
	display: block;
	width: 270px;
	height: 90px;
	max-width: 270px;
}

.tab1 { padding-left: 25px; }
.tab2 { padding-left: 50px; }
.tab3 { padding-left: 75px; }
.tab4 { padding-left: 100px; }

div.extra, .MathEq {
padding:16px 20px;
margin: 0 0 4px;
}

/*table, tr, td {font-family: "Times New Roman", Times, serif;}*/
table, tr, td {font-family: "Raleway", sans-serif;}
th {font-family: "Raleway", sans-serif; font-size: 16px; font-weight:600}

td.MathEqTable {
padding:0px;
margin:0px;
}

.extra, .navigation {
background: #e3dcf7
}

.hub-submenu{
background:#fff;
border-bottom:1px solid #e8edf5;
padding:0;
margin-bottom:12px;
}
.hub-submenu-list{
gap:8px;
padding:0;
margin:0;
}
/* Section pill headings (home cards + sub-page h2) — match calkoo.com toc1.rounded-pill style */
.card-header.rounded-pill,
h2.rounded-pill{
font-family:Poppins,sans-serif;
font-size:15px!important;
font-weight:600;
letter-spacing:1px;
line-height:1;
padding:20px;
border-left:none;
color:inherit;
}

/* Sub-group pill headings (mathematics, physics etc. group labels) */
h5.rounded-pill{
font-family:Poppins,sans-serif;
font-size:12px!important;
font-weight:600;
letter-spacing:0.6px;
text-transform:uppercase;
}

.hub-pill,.hub-pill:link,.hub-pill:visited{
display:inline-block;
padding:6px 14px;
font-family:Poppins,sans-serif;
font-size:11px;
font-weight:600;
text-transform:uppercase;
letter-spacing:.9px;
line-height:normal;
border-radius:100px;
border:1.5px solid transparent;
background:rgba(67,74,84,.18);
color:#434a54!important;
text-decoration:none!important;
transition:background .18s ease,color .18s ease,border-color .18s ease;
}
.hub-pill:hover,.hub-pill:active,.hub-pill:focus{
background:rgba(67,74,84,.28);
color:#434a54!important;
text-decoration:none!important;
}
.hub-pill-mathematics.is-active,.hub-pill-mathematics.is-active:link,.hub-pill-mathematics.is-active:visited{
background:linear-gradient(135deg,#8585f2,#5691f0);
color:#fff!important;
border-color:transparent;
}
.hub-pill-mathematics.is-active:hover{background:linear-gradient(135deg,#7070e8,#4a7de0);color:#fff!important;}
.hub-pill-physics.is-active,.hub-pill-physics.is-active:link,.hub-pill-physics.is-active:visited{
background:linear-gradient(135deg,#53baed,#229ad6);
color:#fff!important;
border-color:transparent;
}
.hub-pill-physics.is-active:hover{background:linear-gradient(135deg,#3daee3,#1a87c0);color:#fff!important;}
.hub-pill-finance.is-active,.hub-pill-finance.is-active:link,.hub-pill-finance.is-active:visited{
background:linear-gradient(135deg,#0c7bb3,#066391);
color:#fff!important;
border-color:transparent;
}
.hub-pill-finance.is-active:hover{background:linear-gradient(135deg,#0a6a9a,#054f73);color:#fff!important;}
.hub-pill-chemistry.is-active,.hub-pill-chemistry.is-active:link,.hub-pill-chemistry.is-active:visited{background:linear-gradient(135deg,#6767e6,#4d4dd1);color:#fff!important;border-color:transparent;}
.hub-pill-chemistry.is-active:hover{background:linear-gradient(135deg,#5a5ad8,#3e3ec0);color:#fff!important;}
.hub-pill-geography.is-active,.hub-pill-geography.is-active:link,.hub-pill-geography.is-active:visited{background:linear-gradient(135deg,#3aaa6e,#22875a);color:#fff!important;border-color:transparent;}
.hub-pill-geography.is-active:hover{background:linear-gradient(135deg,#2e9860,#1a7049);color:#fff!important;}

.MathEq {
background: linear-gradient(135deg, #ddeafc 0%, #d0e2f9 100%);
border: 1px solid #b8d0f4;
border-radius: 14px;
box-shadow: 0 2px 10px rgba(86,130,210,.09);
}
.MathEqExpl {
float: left;
width: 40px;
}
.MathEqExp2 {
float: left;
width: 60px;
}
.html-result,.html-operator{font-size:16px;font-weight:lighter;}

div.header-footnote {font-size:11px;}

div.intro {
background: #bbe5fa;
font-weight:lighter;
/*background-image: url("./img/cert-pattern.png");
background-repeat: no-repeat;
background-position: right; 
text-shadow: 0px 0px 5px #fff;*/
}
div.homepage {
background: #ededed;
margin:0;
height: 120px;
/*background-repeat: no-repeat;
background-position: right; */
}
img.homepage { 
width:100%;
height: 120px; }
.object-fit_fill { object-fit:none }

div.top-menu {
background-color:#fff;
padding:10px 20px 10px 20px;
}

/*div.xml {
background: #D6CEC3;
background:-webkit-linear-gradient(#D6CEC3,#f5f7fa);
background:-o-linear-gradient(#D6CEC3,#f5f7fa);
background:-moz-linear-gradient(#D6CEC3,#f5f7fa);
background: -ms-linear-gradient(#D6CEC3, #f5f7fa);/*For IE10*/
/*background:linear-gradient(#D6CEC3,#f5f7fa)
filter: progid:DXImageTransform.Microsoft.gradient(GradientType=0,startColorstr='#D6CEC3', endColorstr='#f5f7fa');/*For IE7-8-9*/ 
/*height: 1%;/*For IE7*/ 
/*}*/
thead, th {
    background-color: #afbacc;
    color: #fff;
}
tfoot {
    background-color: #D7D7D7;
    color: #555;
}
table {border-collapse: collapse;}
table.w100 {width:99%;}
thead {}
table.no-border, table.no-border tr td {border-style: none; border:0px;}
table.no-border td.BG555{border-top:#555 1px solid;height:1px;padding-top:0px}
table, td {border: 0px solid #555;}
table.no-border tr:nth-child(even) {background-color: inherit}
tr:nth-child(even) {background-color: #f5f7fa}
tr:nth-child(even).crosstable {background-color: inherit}

tr:nth-child(odd) td.rh {background-color: #e8f4fa}
tr:nth-child(even) td.rh {background-color: #bbe5fa}
tr td.rh.crosstable {background-color: #bbe5fa}

table.no-border tr:hover {background-color: inherit}

/*tbody tr:hover:nth-child(odd) {background-color: #fad4d4}
tbody tr:hover:nth-child(even) {background-color: #fad4d4}*/
tbody tr:hover td.crosstable {background-color: #faf0f0}
tbody tr:hover td.rh {background-color: #fad4d4}
tbody tr td.crosstable:hover {background-color: #fad4d4; color: #000; font-weight:900; }

table.no-border td ,table.no-border th {padding: 2px 0;}
td {padding: 10px 5px 0 5px;}
th {padding: 20px 10px 12px;}
.tr {
display:table-row
}
.td {
display:table-cell;
}

td.crosstable, th.crosstable {
    border: 1px solid #999;
    padding: 5px;
    position: relative;
}
col.ch {background-color: #faf0f0;}

.comment {
font-size:12px;
display:inline
}
.extra {
font-size:12px;
}

div.notice{font-weight:200;
text-align:left;line-height:21px;-moz-border-radius:5px;-webkit-border-radius:5px;border-radius:5px;/*background-color:#fcf7e3;*/
color:#ffca00;
background:-webkit-linear-gradient(#FFDB4C,#FFCD02);
background:-o-linear-gradient(#FFDB4C,#FFCD02);
background:-moz-linear-gradient(#FFDB4C,#FFCD02);
background: -ms-linear-gradient(#FFDB4C, #FFCD02);/*For IE10*/
background:linear-gradient(#FFDB4C,#FFCD02)
filter: progid:DXImageTransform.Microsoft.gradient(GradientType=0,startColorstr='#FFDB4C', endColorstr='#FFCD02');/*For IE7-8-9*/
border:#8ecfe5 0px solid;margin:0; margin-right:5px; ;padding:10px;}

.sm-row{
  margin-right: 0px;
  margin-left: 0px;
}

hr.intro {
border-color:#555
}

hr{
 display: block;
 height: 1px;
 border: 0;
 border-top: #c8d1e0 1px dotted!important ;
 margin: 1em 0;
 padding: 0;
}

.L{text-align:left}
.C{text-align:center}
.R{text-align:right}
.R1{text-align:right;padding-right:20px}
.FL{float:left}
.FC{
display: block;
position: relative;
left: 40%;
}
.FR{float:right}

.lang-flag {
	width: 16px;
	height: 11px;
}

.fb-share-placeholder {
	min-height: 28px;
}

.ad-header-slot,
.ad-sidebar-slot {
	overflow: hidden;
}

.ad-header-slot .adsbygoogle,
.ad-sidebar-slot .adsbygoogle {
	display: block !important;
}


.box {
padding:20px 10px 22px;
font-weight:200;
-webkit-clip-path: polygon(0 0, 100% 0, 100% 80%, 0% 100%);
  clip-path: polygon(0 0, 100% 0, 100% 80%, 0% 100%);
}

.c-1 {background-color: #07cbb3; color:#fff;}
.c-2 {background-color: #229ad6; color:#fff;}
.c-3 {background-color: #53baed; color:#fff;}
.c-4 {background-color: #056B2E; color:#fff;}
.c-5 {background-color: #fa8e8e; color:#fff;}
.f5f7fa {background-color: #f5f7fa;}

p {}
.footnote {font-size:12px;}

ol {
  list-style-type: none;
  counter-reset: item;
  margin: 0;
  padding: 0;
}

ol > li {
  display: table;
  counter-increment: item;
  margin-bottom: 0.6em;
}

ol > li:before {
  content: counters(item, ".") ". ";
  display: table-cell;
  padding-right: 0.6em;    
}

li ol > li {
  margin: 0;
}

li ol > li:before {
  content: counters(item, ".") ". ";
}
/* alternative 

ol {
    counter-reset: item;
}
ol li {
    display: block;
    position: relative;
}
ol li:before {
    content: counters(item, ".")".";
    counter-increment: item;
    position: absolute;
    margin-right: 100%;
    right: 10px; /* space between number and text */
/*}*/
/*input {margin-bottom: 10px;}
input.vis:hover{border:1px solid #94bbe5;-webkit-box-shadow:inset 0 1px 2px rgba(0,0,0,0.1);-moz-box-shadow:inset 0 1px 2px rgba(0,0,0,0.1);box-shadow:inset 0 1px 2px rgba(0,0,0,0.1);}
input.vis.disabled:hover{background-color:#f3f3f3; color:#000; border:#D2E2F4 1px solid; -webkit-box-shadow:none;-moz-box-shadow:none;box-shadow:none;}
input.vis:focus{background-color:#fcf7e3; color:#ffca00; outline:none;border:1px solid #ffca00;-webkit-box-shadow:inset 0 1px 2px rgba(0,0,0,0.3);-moz-box-shadow:inset 0 1px 2px rgba(0,0,0,0.3);box-shadow:inset 0 1px 2px rgba(0,0,0,0.3);}
.input{font-size:16px;}
.hid{background-color:inherit;color:inherit;border:0;font-weight:lighter;}
.vis,.disabled{letter-spacing:1px;color:inherit;border:#D2E2F4 1px solid;height:32px;-moz-border-radius:2px;-webkit-border-radius:2px;border-radius:2px;background:0;filter:progid:DXImageTransform.Microsoft.gradient(startColorstr='#f5f7fa',endColorstr='#ffffff');font-weight:lighter;padding:3px 2px 2px;margin:0 5px 7px;}
.vis{background-color:#e8f0f9;}
.disabled{background-color:#f3f3f3; color:#000;}
.uline {text-decoration: underline;}
.handcursor{cursor:pointer;display:inline}
.mainsubmit,.submit{text-transform: uppercase;padding:7px 14px 5px; margin:2px 0px;-webkit-border-radius:4px;-moz-border-radius:4px;border-radius:4px;font-family:inherit;font-size:12px;font-weight:400;font-style:normal;height:35px;text-decoration:none;text-align:center;cursor:pointer}
.mainsubmit	{-moz-box-shadow:inset 0 1px 0 0 #3f974d;-webkit-box-shadow:inset 0 1px 0 0 #3f974d;box-shadow:inset 0 1px 0 0 #3f974d;background:0;filter:progid:DXImageTransform.Microsoft.gradient(startColorstr='#3f974d',endColorstr='#6bc388');background-color:#3f974d;border:0 solid #3f974d;display:inline-block;color:#fff;text-shadow:1px 1px 0 #3c8f48;}
.submit		{-moz-box-shadow:inset 0 1px 0 0 #fff;-webkit-box-shadow:inset 0 1px 0 0 #fff;box-shadow:inset 0 1px 0 0 #fff;background:0;filter:progid:DXImageTransform.Microsoft.gradient(startColorstr='#f5f7fa',endColorstr='#e7e7e7');background-color:#f5f7fa;border:1px solid #aaa;display:inline-block;color:#aaa;text-shadow:1px 1px 0 #fff;}
.mainsubmit:hover{background:0;filter:progid:DXImageTransform.Microsoft.gradient(startColorstr='#3f974d',endColorstr='#3f974d');background-color:#3f974d;}
.submit:hover{background:0;filter:progid:DXImageTransform.Microsoft.gradient(startColorstr='#f5f7fa',endColorstr='#f5f7fa');background-color:f5f7fa;}
input[type=radio]{margin:5px}
input[type=radio].css-radio,input[type=checkbox].css-checkbox{display:none}
input[type=radio].css-radio + label.css-label,input[type=checkbox].css-checkbox + label.chk-label{font-weight:lighter;padding-left:24px;margin:4px 0 9px 6px;height:19px;display:inline-block;line-height:19px;background-repeat:no-repeat;background-position:0 0;vertical-align:middle;cursor:pointer}
input[type=radio].css-radio:checked + label.css-label,input[type=checkbox].css-checkbox:checked + label.chk-label{background-position:0 -19px}
label.css-label,label.chk-label{-webkit-touch-callout:none;-webkit-user-select:none;-khtml-user-select:none;-moz-user-select:none;-ms-user-select:none;user-select:none}
label.css-label{background-image:url(./img/cssradio.png)}
label.chk-label{background-image:url(./img/csscheckbox.png)}

SELECT{background-color:#e8f0f9;font:14px;font-weight:lighter;letter-spacing:0;color:#555;border:#D2E2F4 1px solid;height:24px;-webkit-border-radius:2px;-moz-border-radius:2px;border-radius:2px;-webkit-appearance:none; -moz-appearance: none; margin:0 5px 7px}
SELECT {
  padding: 3px 36px 1px 5px;
  background-image:
    linear-gradient(45deg, transparent 50%, #999 50%),
    linear-gradient(135deg, #999 50%, transparent 50%),
    linear-gradient(to right, #999, #999);
  background-position:
    calc(100% - 14px) calc(0.6em + 3px),
    calc(100% - 9px) calc(0.6em + 3px),
    calc(100% - 2.0em) 0.1em;
  background-size:
    5px 5px,
    5px 5px,
    1px 1.4em;
  background-repeat: no-repeat;}
SELECT:hover{border:1px solid #94bbe5;}
.select40 	{width:40px; text-align:right;}
.select60 	{width:60px; text-align:right;}
.select60L 	{width:60px;}
.select75 	{width:75px; text-align:right;}
.select90 	{width:90px;}
.select100 	{width:100px;}
.select120 	{width:120px;}
.select150 	{width:150px;}
.select180 	{width:180px;}
.select240 	{width:240px;}

.navi {display:inline;}
.navi_containter {display:block;}*/


/* RETINA IMAGES */

img.retina_image {
    height: 128px;
    width: 128px;
}

/* HOMEPAGE */

li.all{background:none;}
div.toc{padding-bottom:7px}
ul.all,li.all,a.toc{display:block}
.toc ul{margin:0;padding:0;border:0;list-style:none}
a.toc{display:block;border-bottom:#dde3ed 1px solid;border-left:3px solid transparent;color:#4a5568;font-size:14px;font-weight:400;text-decoration:none;padding:8px 8px 8px 12px;transition:border-color .15s,color .15s,background-color .15s;}
a.toc:hover{background-color:#f0f7fb;color:#229ad6;border-left-color:#53baed;}

/* PERIODIC TABLE */

/* Periodic table required form styles */

select {
    background-color: #fff;
    font: 14px Raleway, sans-serif;
    font-weight: 300;
    color: #434a54;
    border: 1px solid #c8d1e0;
    height: 24px;
    border-radius: 2px;
    padding: 3px 36px 1px 5px;
    appearance: none;
    background-image:
        linear-gradient(45deg, transparent 50%, #8e99ab 50%),
        linear-gradient(135deg, #8e99ab 50%, transparent 50%),
        linear-gradient(to right, #8e99ab, #8e99ab);
    background-position:
        calc(100% - 14px) calc(0.6em + 3px),
        calc(100% - 9px) calc(0.6em + 3px),
        calc(100% - 2em) .1em;
    background-size: 5px 5px, 5px 5px, 1px 1.4em;
    background-repeat: no-repeat;
}

select:hover {
    border-color: #afbacc;
}

.select180 {
    width: 180px;
}
.select240 {
    width: 240px;
}

.W120 {
    width: 120px;
}

input[type=radio].css-radio,
input[type=checkbox].css-checkbox {
    display: none;
}

input[type=radio].css-radio + label.css-label,
input[type=checkbox].css-checkbox + label.chk-label {
    font-weight: 300;
    padding-left: 24px;
    margin: 4px 0 9px 6px;
    height: 19px;
    display: inline-block;
    line-height: 19px;
    background-repeat: no-repeat;
    background-position: 0 0;
    vertical-align: middle;
    cursor: pointer;
    background-color: transparent !important;
    color: #434a54 !important;
}

label.css-label,
label.chk-label {
    user-select: none;
    background-color: transparent !important;
    color: #434a54 !important;
}

label.css-label {
    background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='19' height='19' viewBox='0 0 19 19'%3E%3Crect x='0.75' y='0.75' width='17.5' height='17.5' rx='3' fill='%23ffffff' stroke='%23c8d1e0' stroke-width='1.5'/%3E%3C/svg%3E");
    background-size: 19px 19px;
}

input[type=radio].css-radio:checked + label.css-label {
    background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='19' height='19' viewBox='0 0 19 19'%3E%3Crect x='0.75' y='0.75' width='17.5' height='17.5' rx='3' fill='%23ffffff' stroke='%23c8d1e0' stroke-width='1.5'/%3E%3Crect x='5.2' y='5.2' width='8.6' height='8.6' rx='2' fill='%23555555'/%3E%3C/svg%3E");
}

label.chk-label {
    background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='19' height='19' viewBox='0 0 19 19'%3E%3Crect x='0.75' y='0.75' width='17.5' height='17.5' rx='3' fill='%23ffffff' stroke='%23c8d1e0' stroke-width='1.5'/%3E%3C/svg%3E");
    background-size: 19px 19px;
}

input[type=checkbox].css-checkbox:checked + label.chk-label {
    background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='19' height='19' viewBox='0 0 19 19'%3E%3Crect x='0.75' y='0.75' width='17.5' height='17.5' rx='3' fill='%23ffffff' stroke='%23c8d1e0' stroke-width='1.5'/%3E%3Cpath d='M4.7 9.9 8 13.2 14.6 6.6' fill='none' stroke='%23555555' stroke-width='2.6' stroke-linecap='square' stroke-linejoin='miter'/%3E%3C/svg%3E");
}


/* RESPONSIVE STYLES */
@media screen and (max-width: 374px) {
img.logo{height:60px;width:180px;max-width:180px}
}
@media screen and (min-width: 375px) {
img.logo{height:90px;width:270px;max-width:270px}
}
@media screen and (max-width: 479px) {
	body{padding:75px 0 0 0!important;}
	div.mainarea-salva{display:block}
	div.content,div.content-wide{padding:0;margin:0;min-width:300px;max-width:100%}
	.navbar-bottom{padding:10px 5px;display:block}
	.footer-copyright{font-size:13px;padding:10px 0 15px 7px;border-bottom:#fff 1px solid}
	.navbar-toggler{margin:0 5px}
	img.logo{height:60px;width:180px}
	.w240{width:240px}
	.w180{width:180px}
	.w130{width:180px}
	.MathEq {
	font-size: 11px;
	}
	.calculators{display:none!important}
	.mobile-calculators{display:block}
}

@media screen and (min-width: 480px) {
	img.logo{height:90px;width:270px}
	.w240{width:240px}
	.w180{width:180px}
	.w130{width:130px}
	.mobile-calculators {display: none; }   /* hide it elsewhere */
}

@media screen and (min-width: 480px) and (max-width: 1000px) {
	body{padding:105px 0 0 0!important;}
div.content,div.content-wide{max-width:960px}
div.content,div.content-wide{padding:0;margin:0;width:100%;max-width:960px}
.navbar-bottom{padding:10px 20px}
div.sidemenu{background-color:#f5f7fa;display:block;width:100%}
.footer-copyright{font-size:13px;padding:10px 0 15px 7px;border-bottom:#fff 1px solid}
}

@media screen and (max-width: 767px) {
	div.mobile-stripe {background-color:inherit;height:10px;}
	div.rectangle-ad{padding-bottom: 20px;}
	.ad-header-slot,.ad-header-slot .adsbygoogle{min-height:100px;}
	.ad-sidebar-slot,.ad-sidebar-slot .adsbygoogle{min-height:250px;}
    .desktop {
        display: none !important;
    }
	.information-content {
		min-width: 280px;
		max-width: 727px;
    }
	.w240{width:180px}
	.w200{width:180px}
	.w120{width:120px}
	.w110{width:120px}
	.w100{width:120px}
	.w100-60{width:60px}
	.w90{width:90px}
	.w80{width:90px}
	.w78{width:90px}
	.w60{width:60px}
	.w56{width:180px}
	.w50{width:60px}
	.w43{width:43px}
	.w40{width:40px}
	.w30{width:30px}
	.w20{width:20px}
	/*img.logo {height: 38; width: 200px; border: 0;}*/
	.R-mob-L{text-align:left}
	.small {
	font:14px "Raleway",sans-serif;
	font-weight:200
	}
	.big {
	font:14px "Raleway",sans-serif;
	font-weight:200;
	height:35px
	}
	.title {
	font:20px "Raleway",sans-serif;
	font-weight:400
	}
	div.intro {
	font-size:14px;
	}
/*	.invoice-header {
	display:block;
	}*/
	.navbar-toggler {
	margin: 10px 0px 0px !important;
	}
	.nav-link {
	padding: 10px 0px 10px !important;
	margin: 0px 10px 10px 0px !important;
	}
}

@media screen and (min-width: 0px) and (max-width: 767px) {
	.mobile {
        display: inline;
    }
	/*.w360{width:360px}*/
	input.description {width:180px;}
	.w1 {width: 280px}
	.w2 {width: 200px}
	.navbar-text {
    margin:0px;}
}

@media screen and (min-width: 768px) and (max-width: 1000px) {
	div.header-ad {display:inline-block;}
	div.rectangle-ad{padding-bottom: 20px;}
	.ad-header-slot,.ad-header-slot .adsbygoogle{min-height:90px;}
	.ad-sidebar-slot,.ad-sidebar-slot .adsbygoogle{min-height:250px;}
	.information-content {
		min-width: 724px;
		max-width: 956px;
    }
	.w1 {width: 350px}
	.w360{width:140px;}
	/**FOOTER ITEMS**/
	.footer-copyright{font-size:13px;padding:10px 0 15px 7px;border-bottom:#fff 1px solid}
	.footer-items ul li.footer-link a{min-width:300px;max-width:100%;padding:0;display:block}
	.footer-items ul{margin:0;padding:0;border:0;list-style:none}
	.footer-items li.footer-link a:hover{color:#229ad6}
	.footer-items ul li.footer-link a{background-color:inherit;border-top:#ebeff5 0 solid;border-bottom:#fff 1px solid;color:#707a8a;font-size:13px;font-weight:300;margin-bottom:0;text-decoration:none;padding:7px}
}

@media screen and (min-width: 1001px) and (max-width: 1199px) {
	ul.all,li.all,a.toc{min-width:310px;max-width:400px;}
	.table-responsive {min-width:639px}
}

@media screen and (min-width: 1001px) {
	body{padding:105px 0 0 0!important;}
	.ad-header-slot,.ad-header-slot .adsbygoogle{min-height:90px;}
	.ad-sidebar-slot,.ad-sidebar-slot .adsbygoogle{min-height:360px;}
	.custom-fixed-top {
	  position: fixed;    /* Makes it stick to viewport */
	  top: 0;             /* Pins it to the top */
	  right: 0;
	  left: 0;            /* Full width */
	  z-index: 1030;      /* Keeps it above most content (same as Bootstrap's navbar z-index) */
	}
	div.Ad970x90,div.header{max-width:1000px;}
	div.stripe {background-color:inherit;height:10px;}
	div.header-ad{display:inline-block;float:right}
	div.rectangle-ad{display:inline-block;float:right; padding-right: 0px; padding-bottom: 20px;}
	div.header-logo{display:inline-block;float:left}
	.information-content {
		min-width: 956px;
		max-width: 956px;
    }
	div.sidemenu {
		min-width: 310px;
    }
	.w360{width:360px;}
	.footer-items{width:100%}
	.footer-copyright,.footer-link{padding-right:10px;font-size:13px}
	.footer-copyright{padding-bottom:10px}
}

@media screen and (min-width: 768px) {
	.mainmenu a.featured{color:#fff;}
	.menu-link.active {border: 1px solid #707a8a;}
	.menu-link.featured {border: 1px solid #fff; background:#6fe083;}
	.menu-link.active:hover {border: 1px solid #ffa101;}
	.menu-link.featured:hover {border: 1px solid #f7f7f7; background:#6fe083;}

    .mobile {
        display: none; }   /* hide it elsewhere */
	.navbar {
		border-radius: 0px;
	}
	.navbar-collapse {
		float: right;
	}
	.w240{width:240px}
	.w200{width:200px}
	.w120{width:120px}
	.w110{width:110px}
	.w100{width:100px}
	.w100-60{width:100px}
	.w90{width:90px}
	.w80{width:80px}
	.w78{width:78px}
	.w60{width:60px}
	.w56{width:56px}
	.w50{width:50px}
	.w43{width:43px}
	.w40{width:40px}
	.w30{width:30px}
	.w20{width:20px}
	.R-mob-L{text-align:right}
	/*img.logo {height: 57; width: 300px;}*/
	.small {
	font:12px "Raleway",sans-serif;
	font-weight:200
	}
	.big {
	font:18px "Raleway",sans-serif;
	font-weight:200;
	height:35px
	}
	.title {
	font:24px "Raleway",sans-serif;
	font-weight:400
	}
	div.intro {
	font-size:18px;
	}

	body {
		/* Margin bottom by footer height */
		margin-bottom: 0px;
		padding-bottom: 0px; 
	}
	.info-table {
		float: right;
	}
}

@media screen and (min-width: 1200px) {
div.header{max-width:1180px!important;}
ul.all,li.all,a.toc{min-width:360px;max-width:400px;}
.table-responsive {min-width:755px}
}

@media (min-width:1200px){
  .container,.container-sm,.container-md,.container-lg,.container-xl,.container-xxl{max-width:1180px;}
}

#outdated-browser {
    text-align: right;
    clear: both;
    position: relative;
    top: 17px;
    color: #FF2D55
}

@media (min-width:0px) {
/*.adslot_1{height:250px;width:300px;}*/
.adslot_1{height:100px;width:320px;}
.adslot_2{height:250px;width:300px;}
}
@media (min-width:336px) {
.adslot_2{height:280px;width:336px;}
}
@media (min-width:480px) {
/*.adslot_1{height:280px;width:336px;}*/
.adslot_1{height:100px;width:320px;}
}
/*@media (min-width:768px) {
.adslot_1,.adslot_3{height:90px;width:728px;}
}*/
@media (min-width:992px) {
/*.adslot_2{height:280px;width:336px;}*/
.adslot_1{height:90px;width:728px;}
}

.top5-box{box-shadow:0 8px 18px rgba(67,74,84,.08);}
.top5-box-menu{background-color:#dcdcfc!important;}
.top5-box-title{color:#434a54 !important;}
.top5-list{margin-bottom:0;}
.top5-item{padding-top:0!important;padding-bottom:0!important;}
.top5-item:last-child{border-bottom:0!important;}
.top5-box .top5-item{border-bottom-color:#434a54!important;}
.top5-box a.top5-link,.top5-box a.top5-link:link,.top5-box a.top5-link:visited{width:100%;padding:11px 8px;border-radius:12px;text-decoration:none;transition:color .18s ease;}
.top5-box-menu a.top5-link,.top5-box-menu a.top5-link:link,.top5-box-menu a.top5-link:visited{color:#434a54 !important;}
.top5-box-menu a.top5-link:hover,.top5-box-menu a.top5-link:focus{color:#229ad6 !important;text-decoration:none;background-color:transparent!important;border-left-color:transparent!important;}
.top5-box-menu a.top5-link:active{color:#952506 !important;}
.top5-rank{width:1.85rem;height:1.85rem;margin-right:.65rem;font-family:Poppins,sans-serif;font-size:15px;font-weight:700;line-height:1;color:inherit;opacity:.82;text-align:center;flex-shrink:0;display:inline-flex;align-items:center;justify-content:center;border-radius:50%;background-color:#cfd0fb;border:0;}
.top5-box-menu .top5-rank{background-color:#f0f5fc;}
.top5-text{line-height:1.35;color:inherit;}
.top5-title{font-family:Poppins,sans-serif;font-size:24px!important;font-weight:700;margin:10px 0 10px 0}
.border-dotted-light{border-bottom:#c8d1e0 1px dotted;color:#707a8a;}

/* === HOME CARDS === */
.valem-home-card{border-radius:18px!important;overflow:hidden;background:#fff;border:1px solid #dde3ed!important;box-shadow:0 2px 18px rgba(67,74,84,.09);transition:box-shadow .24s ease,transform .24s ease;}
.valem-home-card:hover{box-shadow:0 10px 42px rgba(67,74,84,.17);transform:translateY(-4px);}
.valem-home-card-hd{padding:1.35rem 1.5rem;display:flex;align-items:center;gap:.75rem;border-radius:0!important;}
.valem-home-card-icon{font-size:1.4rem;color:rgba(255,255,255,.9);flex-shrink:0;}
.valem-home-card-title{font-family:Poppins,sans-serif;font-size:1rem;font-weight:600;color:#fff;letter-spacing:.2px;line-height:1.2;}
.valem-card-math{background:linear-gradient(135deg,#8585f2,#5691f0)!important;}
.valem-card-physics{background:linear-gradient(135deg,#53baed,#229ad6)!important;}
.valem-card-geo{background:linear-gradient(135deg,#229ad6,#0c7bb3)!important;}
.valem-card-finance{background:linear-gradient(135deg,#0c7bb3,#066391)!important;}
.valem-card-chem{background:linear-gradient(135deg,#6767e6,#4d4dd1)!important;}
.valem-home-card .card-body{background:#fff;color:#434a54;font-size:14px;line-height:1.65;}
.valem-home-card .card-footer{background:transparent;border-top:1px solid #f0f0fa;padding:.75rem 1.5rem 1.25rem;}
.valem-home-card-link,.valem-home-card-link:link,.valem-home-card-link:visited{display:inline-flex;align-items:center;gap:.4rem;color:#229ad6;font-family:Poppins,sans-serif;font-size:13px;font-weight:600;text-decoration:none!important;transition:gap .2s ease,color .2s ease;}
.valem-home-card-link:hover,.valem-home-card-link:focus{gap:.75rem;color:#0c7bb3;background:transparent!important;border-left-color:transparent!important;text-decoration:none!important;}
.valem-home-card-link i{font-size:11px;transition:transform .2s ease;}
.valem-home-card-link:hover i{transform:translateX(3px);}
.valem-home-card h5.fw-semibold{font-family:Poppins,sans-serif!important;font-size:11px!important;font-weight:700!important;color:#8e99ab!important;text-transform:uppercase;letter-spacing:.9px;margin:.9rem 0 .4rem!important;}
.valem-home-card h5.fw-semibold:first-child{margin-top:0!important;}
.valem-geo-pill,.valem-geo-pill:link,.valem-geo-pill:visited{display:inline-block;background:#dde3ed;color:#434a54!important;border-radius:100px;padding:5px 13px;font-size:12px;font-weight:600;text-decoration:none!important;transition:background .18s ease;margin:2px 2px 2px 0;}
.valem-geo-pill:hover,.valem-geo-pill:focus{background:#434a54;color:#fff!important;text-decoration:none!important;}

/* === TOP 7 CARD === */
.valem-top7-card{border-radius:18px;overflow:hidden;background:#fff;border:1px solid #dde3ed;box-shadow:0 2px 18px rgba(67,74,84,.09);}
.valem-top7-hd{padding:1.1rem 1.4rem;display:flex;align-items:center;gap:.7rem;background:linear-gradient(135deg,#8585f2,#6767e6);}
.valem-top7-icon{font-size:1.2rem;color:rgba(255,255,255,.9);}
.valem-top7-title{font-family:Poppins,sans-serif;font-size:.95rem;font-weight:700;color:#fff;letter-spacing:1.5px;}
.valem-top7-list{list-style:none;margin:0;padding:.3rem 0;}
.valem-top7-item{border-bottom:1px solid #f5f7fa;}
.valem-top7-item:last-child{border-bottom:0;}
.valem-top7-link,.valem-top7-link:link,.valem-top7-link:visited{display:flex;align-items:center;gap:.6rem;padding:.55rem 1.2rem;color:#434a54!important;text-decoration:none!important;transition:background .16s ease,color .16s ease;background:transparent!important;}
.valem-top7-link:hover,.valem-top7-link:focus{background:#f2f2fc!important;color:#4d4dd1!important;text-decoration:none!important;}
.valem-top7-rank{width:1.5rem;height:1.5rem;border-radius:50%;background:#dde3ed;color:#434a54;font-family:Poppins,sans-serif;font-size:12px;font-weight:700;display:inline-flex;align-items:center;justify-content:center;flex-shrink:0;transition:background .16s ease,color .16s ease;}
.valem-top7-link:hover .valem-top7-rank{background:#8585f2;color:#fff;}
.valem-top7-text{flex:1;font-size:13px;line-height:1.35;}
.valem-top7-arrow{font-size:9px;color:#c8d1e0;flex-shrink:0;transition:transform .16s ease,color .16s ease;}
.valem-top7-link:hover .valem-top7-arrow{transform:translateX(2px);color:#8585f2;}
.valem-card-kids{background:linear-gradient(135deg,#53baed,#066391)!important;}
.valem-card-calkoo{background:linear-gradient(135deg,#229ad6,#0c7bb3)!important;}
.valem-calkoo-card .valem-top7-link:hover .valem-top7-rank{background:#229ad6;}
.valem-calkoo-card .valem-top7-link:hover,.valem-calkoo-card .valem-top7-link:focus{background:#edf7fd!important;color:#0c7bb3!important;}
.valem-calkoo-card .valem-top7-link:hover .valem-top7-arrow{color:#229ad6;}
/* Math formula group cards */
.valem-math-card{border-radius:18px;overflow:hidden;background:#fff;border:1px solid #dde3ed;box-shadow:0 2px 18px rgba(67,74,84,.09);transition:box-shadow .24s ease,transform .24s ease;break-inside:avoid;margin-bottom:12px;}
.valem-math-card:hover{box-shadow:0 8px 36px rgba(67,74,84,.15);}
.valem-math-hd{padding:1rem 1.4rem;display:flex;align-items:center;gap:.65rem;background:linear-gradient(135deg,#8585f2,#5691f0);}
.valem-physics-hd{padding:1rem 1.4rem;display:flex;align-items:center;gap:.65rem;background:linear-gradient(135deg,#53baed,#229ad6);}
.valem-finance-hd{padding:1rem 1.4rem;display:flex;align-items:center;gap:.65rem;background:linear-gradient(135deg,#0c7bb3,#066391);}
.valem-geo-hd{padding:1rem 1.4rem;display:flex;align-items:center;gap:.65rem;background:linear-gradient(135deg,#3aaa6e,#22875a);}
.valem-math-icon{font-size:1.05rem;color:rgba(255,255,255,.9);flex-shrink:0;}
.valem-math-group-title{font-family:Poppins,sans-serif;font-size:.88rem;font-weight:700;color:#fff;flex:1;letter-spacing:.2px;}
.valem-math-count{font-size:11px;font-weight:600;color:rgba(255,255,255,.75);background:rgba(255,255,255,.18);border-radius:100px;padding:2px 9px;flex-shrink:0;}
.valem-math-list{list-style:none;margin:0;padding:.2rem 0;}
.valem-math-item{border-bottom:1px solid #f5f7fa;}
.valem-math-item:last-child{border-bottom:0;}
.valem-math-link,.valem-math-link:link,.valem-math-link:visited{display:flex;align-items:center;gap:.5rem;padding:.55rem 1.25rem;color:#434a54!important;font-size:13.5px;text-decoration:none!important;transition:background .15s ease,color .15s ease;background:transparent!important;}
.valem-math-link:hover,.valem-math-link:focus{background:#eeecfd!important;color:#5252c8!important;text-decoration:none!important;}
.valem-math-text{flex:1;line-height:1.3;}
.valem-math-arrow{font-size:9px;color:#c8d1e0;flex-shrink:0;transition:transform .15s ease,color .15s ease;}
.valem-math-link:hover .valem-math-arrow{transform:translateX(3px);color:#8585f2;}

/* ===== MODERN TABLE REDESIGN ===== */
.article table {
  width:100%;
  border-collapse:collapse;
  border-radius:14px;
  overflow:hidden;
  border:1px solid #dde3ed;
  box-shadow:0 2px 12px rgba(67,74,84,.07);
  margin:4px 0 20px;
  font-size:13.5px;
}
/* header row */
.article table thead th,
.article table th {
  background:linear-gradient(135deg,#5691f0,#229ad6)!important;
  color:#fff!important;
  font-family:Poppins,sans-serif;
  font-size:11px;
  font-weight:600;
  letter-spacing:.55px;
  text-transform:uppercase;
  padding:11px 14px;
  border:none!important;
  white-space:nowrap;
}
/* cells */
.article table td {
  padding:10px 14px;
  border-bottom:1px solid #edf0f5;
  border-top:none;
  border-left:none;
  border-right:none;
  vertical-align:middle;
  color:#434a54;
}
.article table tr:last-child td {border-bottom:none;}
/* row striping */
.article table tbody tr:nth-child(odd)  {background-color:#fff;}
.article table tbody tr:nth-child(even) {background-color:#ddeaf8;}
/* row hover */
.article table tbody tr:hover {background-color:rgba(86,145,240,.22)!important;transition:background-color .15s ease;}
/* row-header cells (.rh = first-column highlight) */
.article table tr:nth-child(odd)  td.rh {background-color:#e8f1fe;color:#2e60c0;font-weight:600;}
.article table tr:nth-child(even) td.rh {background-color:#dce9fd;color:#2e60c0;font-weight:600;}
.article table tbody tr:hover td.rh    {background-color:rgba(86,145,240,.18)!important;}
/* tfoot */
.article table tfoot td,
.article table tfoot th {background:#f0f4fb!important;color:#5a6272;font-weight:600;font-size:12px;border-top:2px solid #dde3ed!important;}

/* === Crosstable (multiplication) — interactive with blue palette === */
table.crosstable {border-radius:14px;overflow:hidden;border:1px solid #dde3ed;box-shadow:0 2px 12px rgba(67,74,84,.07);}
td.crosstable,th.crosstable {border:1px solid #dde3ed!important;padding:8px 11px;}
th.crosstable {background:linear-gradient(135deg,#5691f0,#229ad6)!important;color:#fff!important;font-family:Poppins,sans-serif;font-size:12px;font-weight:700;letter-spacing:.4px;}
tr td.rh.crosstable {background:linear-gradient(135deg,#5691f0,#229ad6)!important;color:#fff!important;font-weight:700;}
tbody tr:hover td.crosstable {background-color:#eef4fe!important;}
tbody tr td.crosstable:hover {background-color:#d0e6fb!important;color:#1a5baf!important;font-weight:900;}
col.ch {background-color:#eef4fe!important;}
table.crosstable tr {background-color:transparent;}
tr:nth-child(even).crosstable {background-color:inherit;}
