body { 
    counter-reset: h4counter h2counter; 
}

.citem, .citem:hover, .citem:visited, .citem:active, .citem:link{
    text-decoration: none;
    color: blue;
    display: block;
}


h4:after {
    counter-increment: h4counter;
    content: " " counter(h4counter) ".";
}

h2:before {
    counter-increment: h2counter;
    content: counter(h2counter) ". ";
}

.bar{
    background-color: #BB2649;
    padding-left: 2vw;
    padding-right: 2vw;
    padding-top: 1vw;
    padding-bottom: 1vw;
    text-align: left;
    margin-top:  0px;
    color:  white; 
}

.clear:after {
    clear: both;
    display: table;
    content: "";
}

.head{
    float: right;
    font-size: 30px;
    font-weight: bold;
}

.title{
    margin-top: 4vw;
    text-align: center;
    font-size: 30px;
    font-weight: bold;
    padding-left: 2vw;
    padding-right: 2vw;
}

.author{
    margin-top: 4vw;
    text-align: center;
    font-size: 20px;
}

.affiliation{
    margin-top: 2vw;
    text-align: center;
    font-size: 20px;
}

.abstract{
    margin-top: 2vw;
    text-align: justify;
    padding-left: 2vw;
    padding-right: 2vw;
    color:  black;
    font-size: 20px; 
    font-style: italic;
}

.abstract::before{
    content: "Streszczenie: ";
    font-weight: bold;
}

.keywords{
    margin-top: 2vw;
    text-align: justify;
    padding-left: 2vw;
    padding-right: 2vw;
    color:  black;
    font-size: 20px; 
    margin-bottom: 2vw;
}

.keywords::before{
    content: "Słowa kluczowe: ";
    font-weight: bold;
}

.print{
    float: left;
    width: 40px;
    text-align: left;
}

.video{
    margin-left: 10px;
    float: left;
    width: 40px;
    text-align: left;
}



#container{
    margin-left: auto;
    margin-right: auto;
    max-width: 1100px;
    background-color: white;
    padding-bottom: 2vw;
    /*width: 100%;*/
    color: black;
}

li{
    font-size: 20px;
}

h2{
    padding-top: 2vw;
    padding-left: 2vw;
    padding-right: 2vw;
    margin-top:  0px;
    font-size: 25px;
}

h3{
    padding: 0;
    padding-left: 2vw;
    padding-right: 2vw;
    margin-top: 15px;
    margin-bottom: 15px;
    text-align: left;
    font-size: 22px;
}


h4{
    padding: 0;
    padding-left: 2vw;
    padding-right: 2vw;
    margin-top: 15px;
    margin-bottom: 15px;
    text-align: left;
    font-size: 18px;
/*    text-decoration: underline*/

}







p{
    text-align: justify;
    padding-left: 2vw;
    padding-right: 2vw;
    color:  black;
    font-size: 20px;
}

img{
    display: block;
    margin-left: auto;
    margin-right: auto;
    max-width: 100%;
/*    margin-left: 2vm;
    margin-right: 2vm;*/
    width: 30em;
    margin-top: 2vh;
}

ul{
/*    list-style-position: inside;
    padding-inline-start:  30px;*/
}

li{
    padding: 0;
    margin:  0;
}


.img div{
    display: block;
    margin-left: auto;
    margin-right: auto;
    text-align: center;
    font-size: 20px;
    font-style: italic;
    padding-left: 2vw;
    padding-right: 2vw;
    font-style: italic;
}

.table {
    display: block;
    margin-left: auto;
    margin-right: auto;
    text-align: center;
    font-size: 20px;
    font-style: italic;
    padding-left: 2vw;
    padding-right: 2vw;
    overflow-x: auto;
    overflow-y: hidden;
}

.mjx-chtml{
    color:  black;
}
.MathJax_CHTML{
    /*overflow-x: scroll;*/
}


code{
    /*padding-left: 20px;*/
    color:  black;
}


.MathJax[display] {
    overflow-x: auto;
    overflow-y: hidden;
    padding-left: 2vw;
    padding-right: 2vw;
}





td, th{
    color:  black;
    border: black;
    border-width: 1px;
    border-style: solid;
    padding: 5px;
}

table{
    margin-left: auto;
    margin-right: auto;
    max-width: 600px;
    padding: 5px;
}

hr{
    border: 0;
    height: 2px;
    background-image: -webkit-linear-gradient(left, rgba(0,0,0,0), rgba(0,0,0,0.85), rgba(0,0,0,0));
}


div[path] {
  position: relative;
}

div[path]::after {
  content: attr(path);
  display: block;
  position: absolute;
  color: white;
  border-radius: 5px;
  font-size: .8em;
  top: 0;
  left: 0;
  white-space: nowrap;
  transform: scale(0);
  padding: 5px;
  margin-left: 2vw;
  font-weight: bold;
  z-index: 10000;
  background-color: lightgray;
}

div[path]:hover::after {
  transform: scale(1);
}



div[math_label] {
  position: relative;
}

div[math_label]::after {
  content: attr(math_label);
  display: block;
  position: absolute;
  color: white;
  border-radius: 5px;
  font-size: .8em;
  top: 0;
  left: 0;
  white-space: nowrap;
  transform: scale(0);
  padding: 5px;
  margin-left: 2vw;
  font-weight: bold;
  z-index: 10000;
  background-color: lightgray;
}

div[math_label]:hover::after {
  transform: scale(1);
}
















red {
    color: red;
    font-weight: bold;
}

code {
    font-family: monospace;
    color: black;
/*    font-weight: bold;*/
}

ul{

}


.highlight{
    padding-left: 2vw;
    padding-right: 2vw;
    overflow-x: auto;
    overflow-y: hidden;
    user-select: none;
}


.inline::after {
    content: attr(href);
}

.inline{
    overflow-wrap: break-word;
}


mjx-container
{
    margin: 0;
}


div[data-root-id] {
    margin-left: auto;
    margin-right: auto;
    text-align: center;
    max-width: 600px;
}