/* Reset some default styles for consistency */
html, body {
    margin: 1px;
    padding: 1px;
	background-color: #fff;
    color: #111;
	border-radius: 5px;
}

h2, h3, h4, h5, h6, blockquote, hr, dl, dt, dd {
    margin: 3px;
    padding: 5px;
    color: #111;
	border-radius: 5px;
}

h1{
    margin: 3px;
    padding: 5px;
	/*background-color: #00d7ff;*/
    color: #111;
	border-radius: 15px;	
}


h2{
	/*background-color: #ff9595;*/
	
}

h3{
	/*background-color: #ff9700;*/
	border: 2px solid #f00;
}

h4{
	/*background-color: #539a51;*/
	border-bottom-width: 1px;
	border-bottom-style: dashed;
	border-bottom-color: #00f;
}

h5{
	/*background-color: #00ddd3;*/
}

h6{
	/*background-color: #00ddbc;*/
}


ul, ol{
	margin: 20px;
    padding: 5px;
}

summary{
	margin: 1px;
    padding: 5px;
	color: #111;
	font-weight: bold;
	background-color: #ffc5c5;
	line-height: 2.0;
	font-size: 20px;
	border-radius: 6px;
}

li{
	border-radius: 5px;
	/*background-color: #78ff5c;*/
	margin: 1px;
    padding: 1px;
}

p{
    margin: 1px;
    padding: 1px;
	text-align:justify;
}


/* General styling */
body {
    font-family: Arial, sans-serif;
    line-height: 1.6;
    color: #333;
    background-color: #f9f9f9;
}

h1, h2, h3, h4, h5, h6 {
    font-weight: bold;
    margin-bottom: 10px;
}

p {
    margin-bottom: 15px;
}

a {
    color: #007bff;
}

em {
	font-family:serif;
	font-weight:bold;
	font-size: 20px;
}

img {
max-width: 100%;
height: auto;
border-radius: 10px;
display:block;
margin-left:auto;
margin-right:auto;
}

a:hover {
    color: #0056b3;
}

/* Header styling */
header {
    background-color: #fff;
    color: #fff;
    padding: 1px;
    text-align: center;
}

/* Navigation styling */
nav {
    background-color: #007bff;
    padding: 1px;
}

nav a {
    text-decoration: none;
    color: #fff;
    padding: 10px 20px;
    display: inline-block;
}

nav a:hover {
    background-color: #0056b3;
}

/* Main content styling */
main {
    max-width: 960px;
    margin: 20px auto;
    padding: 20px;
    background-color: #fff;
    box-shadow: 0 0 5px rgba(0, 0, 0, 0.2);
}

/* Footer styling */
footer {
    text-align: center;
    background-color: #333;
    color: #fff;
    padding: 1px;
}

/* Code block styling */
pre {
    background-color: #000;
    color: #fff;
    padding: 10px;
    border: 2px solid #f00;
    overflow: auto;
    font-size: 18px;
    line-height: 1.0;
	font-weight: bold;
	border-radius: 20px;
	font-family: "Courier New", monospace;
}

code {
    /*color: #333;*/
	font-family: "Courier New", monospace;
	margin: 5px;
    padding: 5px;
	color: #000;
	border-radius: 3px;
	/*background-color: #ffec85;*/
	font-weight: bold;
	font-size: 18px;
}

/* Figure styling */
figure {
    text-align: center;
    margin: 20px 0;
}

figcaption {
    font-style: italic; /*italic, oblique, oblique 10deg*/
    color: #a0a;
    font-size: 20px;
	font-weight: bold;
	font-family:fangsong;
}

/* Table styling */
table {
    border-collapse: collapse;
    width: 100%;
	margin-bottom:25px;
	margin-top:25px;
	border-spacing:2px;
}

th, td {
    border: 1px solid #0800ff;
    padding: 8px;
    text-align: center;
	display:table-cell;
	vertical-align:inherit;
}

tr{
display:table-row;
vertical-align:inherit;	
}

th {
    background-color: #ede8ff;
}

.myclass {
	text-align:center;
}

.mybar {
	text-decoration: overline;
	padding: 2px;
}

.myerror {
	color: #f00;
    background-color: #0ff;
	padding: 5px;
}

.ktable4x4v {border: 2px solid red; margin: 2px; width: 220px; height:220px; }
.ktable3x2v {border: 2px solid red; margin: 2px; width: 220px; height:110px; }
.ktable2x2v {border: 2px solid red; margin: 2px; width: 110px; height:110px; }
.ktable2x3v {border: 2px solid red; margin: 2px; width: 110px; height:220px; }
.khead2x3v  {border: 2px solid white; margin: 2px; width: 110px; }
.khead4x4v  {border: 2px solid white; margin: 2px; width: 220px; }
.ktop       {border: 2px solid white; margin: 2px; width: 75px; height: 50px; vertical-align: bottom;}
.kleft3x2v  {border: 2px solid white; margin: 2px; width: 75px; height: 100px; }
.kleft4x4v  {border: 2px solid white; margin: 2px; width: 75px; height: 200px; }
.kleft2x2v  {border: 2px solid white; margin: 2px; width: 75px; height: 100px; }
.ktr        {border: 1px solid white; padding: 2px; height: 50px;}
.ktrs       {border: 1px solid white; padding: 2px; height: 54px;}
.keq        {border: 2px solid white; margin: 2px; width: 220px; text-align:left;}
.ktd        {border: 1px solid black; padding: 5px; text-align: center; }
.ktdside    {border: 0px solid black; padding: 5px; text-align: right; }
.ktdtop     {border: 0px solid black; padding: 5px; text-align: center; vertical-align: bottom;}

.rectangle {
  height: 45px;
  width: 45px;
  background-color: #faf;
  font-weight:bold;
  /*border-radius:30%;*/
}

.rectangle2 {
  height: 45px;
  width: 45px;
  background-color: #faa;
  font-weight:bold;
  /*border-radius:30%;*/
}

.rl{
	border-left-style:dashed;
	border-left-width:3px;
}

.rr{
	border-right-style:dashed;
	border-right-width:3px;
}

.rt{
	border-top-style:dashed;
	border-top-width:3px;
}

.rb{
	border-bottom-style:dashed;
	border-bottom-width:3px;
}

.rectangle.btl{border-top-left-radius:50%;}
.rectangle.bbl{border-bottom-left-radius:50%;}
.rectangle.btr{border-top-right-radius:50%;}
.rectangle.bbr{border-bottom-right-radius:50%;}

.image1 {
  position: relative;
  top: 0;
  left: 0;
  border: 1px red solid;
}

.parent {
  /*background: mediumpurple;
  padding: 1rem;*/
}
.child {
  /*border: 1px solid indigo;
  padding: 1rem;*/
}

.inline-block-child {
  display: inline-block;
}

.cent {
  margin: auto;
  width: 330px;
  /*border: 2px dashed green;
  padding: 5px;*/
}

.cent1row2v {
  margin: auto;
  width: 215px;
  /*border: 2px dashed green;
  padding: 5px;*/
}

.cent1row3v {
  margin: auto;
  width: 490px;
  /*border: 2px dashed green;
  padding: 5px;*/
}

.cent1row4v {
  margin: auto;
  width: 725px;
  /*border: 2px dashed green;
  padding: 5px;*/
}


.cc1{
	background-color:#ff9700;
}

.cc2{
	background-color:#00ddd3;
}
.cc3{
	background-color:#ff9595;
}
.cc4{
	background-color:#ffec85;
}
.cc5{
	background-color:#859cff;
}
.cc6{
	background-color:#ff85fe;
}


.katex-display {
	font-size: larger; /* x-large */
}

.crop {
    display: block;
    height: 500px;
    position: relative;
    overflow: hidden;
    width: 100px;
}
.crop img {
    left: -10px; /* alter this to move left or right */
    position: absolute;
    top: -10px; /* alter this to move up or down */
}
