body {
  background: #1a202c;
}
page {
  display: block;
  margin: 0 auto;
    margin: 0 auto;

  /*margin: 0.8% auto;*/

}
page[size="A4"] {
  width: 21cm;
  height: 29.7cm;
}

.paper{
    padding-right: 2.35%;
    padding-left: 2.35%;

    /*a3 settings*/
    padding-top: 1.6%;
    padding-bottom: 1%;
    margin-bottom: 0%;
    /*margin-bottom: 1.6%;*/
}

div{
    font-family:Arial,sans-serif;
    font-size: 0.6vw;
}
b{
    font-family: Arial,sans-serif;
    font-size: 0.7vw;
}
p{
    font-family: Arial,sans-serif;
    font-size: 0.7vw;
}
div.related_name_small{
    font-family: Arial,sans-serif;
    font-size: 0.5vw;
}
.index_small_tex{
    font-family: Arial,sans-serif;
    font-size: 0.5vw;
}
.index_bold_tex{
    font-family: Arial,sans-serif;
    font-size: 0.6vw;
    font-weight: bold;
}


.table>thead>tr>th, .table>tbody>tr>th, .table>tfoot>tr>th, .table>thead>tr>td, .table>tbody>tr>td, .table>tfoot>tr>td{
    padding-top: 0px;
    padding-bottom: 0px;
    padding-right: 5px;
    padding-left: 5px;

}

.color_name{
    text-align: center;
}
.product_group_header_font_size{
    font-size: 1.05vw;
}
.footer_font_size{
    font-size: 0.6vw;
}
.product_name_font_size{
    font-size: 1vw;
}
.title_font_size{
    font-size: 0.8vw;
}

.top_button{
    place-self:end;
    position:sticky;
    bottom:20px;
    margin-top:100vh;

    /* visual styling */
    text-decoration: none;
    padding: 10px;
    font-family: sans-serif;
    color: #fff;
    background: #000;
    border-radius: 100px;
}

@media (max-width: 575px) {
    div{
        font-family:Arial,sans-serif;
        font-size: 1.5vw;
    }
    b{
        font-family: Arial,sans-serif;
        font-size: 1.5vw;
    }
    p{
        font-family: Arial,sans-serif;
        font-size: 1.5vw;
    }
    th{
        font-family:IRANSansX,sans-serif;
        font-size: 1.3vw;
    }

    .product_group_header_font_size{
        font-size: 2.1vw;
    }
    .footer_font_size{
        font-size: 1.2vw;
    }
    .product_name_font_size{
        font-size: 2vw;
    }
    .title_font_size{
        font-size: 1.6vw;
    }
    div.related_name_small{
        font-family: Arial,sans-serif;
        font-size: 1.2vw;
    }
    .index_small_tex{
        font-family: Arial,sans-serif;
        font-size: 1vw;
    }
    .index_bold_tex{
        font-family: Arial,sans-serif;
        font-size: 1.2vw;
        font-weight: bold;
    }
    .paper{
        padding-right: 2.35%;
        padding-left: 2.35%;
        padding-top: 1.6%;
        padding-bottom: 1.6%;
        margin-bottom: 0%;
        /*margin-top: 0%;*/

        margin-top: 1.6%;
    }
    page {
        display: block;
        margin: 0 auto;
    }
}

page[size="A4"][layout="landscape"] {
  width: 29.7cm;
  height: 21cm;
}
page[size="A3"] {
  width: 29.7cm;
  height: 42cm;
}
.single_page_font_size{
    font-size: 2vw;
}

.index_row{
    margin-top: 1%;
}


page[size="A3"][layout="landscape"] {

    /*a3 settings*/
  width: 100%;
    /*width: 42cm;
    height: 29.7cm;*/
}
page[size="A5"] {
  width: 14.8cm;
  height: 21cm;
}
.page_body{
    padding-left: 0;
    padding-right: 0;
    padding-top: 5%;
    /*padding-bottom: 2.3%;*/
}
page[size="A5"][layout="landscape"] {
  width: 21cm;
  height: 14.8cm;
}
.line{
    background-color: #0c0c0c;
    height: 1px;
}
@media print {

   page {
      background: white;
      margin: 0;
  }
}

@media print {
    div.line{
        background-color: #0c0c0c !important;
        print-color-adjust: exact;
        height: 1px;
    }
}

.box--hidden {
    opacity: 0;
}
.center{
    display: flex;
    text-align: center;
    justify-content: center;
    align-items: center;
    min-height: 100vh;
    transition: opacity 1ms;
}
.ring{
    position: absolute;
    width: 170px;/*//200px*/
    height: 170px;
    border-radius: 50%;
    animation: ring 3s linear infinite;
}
@keyframes ring {
    0%{
        transform: rotate(0deg);
        box-shadow: 1px 5px 2px #21D4FD;
    }
    50%{
        transform: rotate(180deg);
        box-shadow: 1px 5px 2px #E44D26;
    }
    100%{
        transform: rotate(360deg);
        box-shadow: 1px 5px 2px  #00C9A7;
    }
}
.ring:before{
    position: absolute;
    content: '';
    left: 0;
    top: 0;
    height: 100%;
    width: 100%;
    border-radius: 50%;
    box-shadow: 0 0 5px rgba(255,255,255,.3);
}
span{
    color:  #5eb2c7;
    font-size: 15px;
    text-transform: uppercase;
    letter-spacing: 1px;
    line-height: 200px;
    animation: text 3s ease-in-out infinite;
}
@keyframes text {
    50%{
        color: black;
    }
}



