/*-----------------------------------------------------------------------------------

=================================================
  Table of Contents
=================================================

	- Basic
	- Helpers Classes
	- Layouts
	- Extra

-------------------------------------------------------------------*/
/* =================================== */
/*  Basic Style 
/* =================================== */

:root{
  --paper-size: 100px;
  --A4-width: var(--paper-size);
  --A4-height: calc(var(--A4-width) * 1.4142);
  --Letter-width: var(--paper-size);
  --Letter-height: calc(var(--Letter-width) * 1.2941);
}
.page {
  
  width: var(--A4-height);
  height: var(--A4-width);
 
}

.page-portrait {
  width: var(--A4-width);
  height: var(--A4-height);
}
.page-split-4 {
  background-size: 50% 50%;
}
body {
  
  color: #535b61;
  font-family: 'Roboto', sans-serif;
  font-size: 14px;
  line-height: 22px;
}

form {
  padding: 0;
  margin: 0;
  display: inline;
}

img {
  vertical-align: inherit;
}

a, a:focus {
  color: #0071cc;
  -webkit-transition: all 0.2s ease;
  transition: all 0.2s ease;
}

a:hover, a:active {
  color: #0c2f55;
  text-decoration: none;
  -webkit-transition: all 0.2s ease;
  transition: all 0.2s ease;
}

a:focus, a:active,
.btn.active.focus,
.btn.active:focus,
.btn.focus,
.btn:active.focus,
.btn:active:focus,
.btn:focus,
button:focus,
button:active {
  outline: none;
}

p {
  line-height: 1.9;
}

blockquote {
  border-left: 5px solid #eee;
  padding: 10px 20px;
}

iframe {
  border: 0 !important;
}

h1, h2, h3, h4, h5, h6 {
  color: #0c2f54;
  font-family: "Poppins", sans-serif;
}

.table {
  color: #535b61;
}

.table-hover tbody tr:hover {
  background-color: #f6f7f8;
}

/* =================================== */
/*  Helpers Classes
/* =================================== */
/* Border Radius */
.rounded-top-0 {
  border-top-left-radius: 0px !important;
  border-top-right-radius: 0px !important;
}

.rounded-bottom-0 {
  border-bottom-left-radius: 0px !important;
  border-bottom-right-radius: 0px !important;
}

.rounded-left-0 {
  border-top-left-radius: 0px !important;
  border-bottom-left-radius: 0px !important;
}

.rounded-right-0 {
  border-top-right-radius: 0px !important;
  border-bottom-right-radius: 0px !important;
}

/* Text Size */
.text-0 {
  font-size: 11px !important;
  font-size: 0.6875rem !important;
}

.text-1 {
  font-size: 12px !important;
  font-size: 0.75rem !important;
}

.text-2 {
  font-size: 14px !important;
  font-size: 0.875rem !important;
}

.text-3 {
  font-size: 16px !important;
  font-size: 1rem !important;
}

.text-4 {
  font-size: 18px !important;
  font-size: 1.125rem !important;
}

.text-5 {
  font-size: 21px !important;
  font-size: 1.3125rem !important;
}

.text-6 {
  font-size: 24px !important;
  font-size: 1.50rem !important;
}

.text-7 {
  font-size: 28px !important;
  font-size: 1.75rem !important;
}

.text-8 {
  font-size: 32px !important;
  font-size: 2rem !important;
}

.text-9 {
  font-size: 36px !important;
  font-size: 2.25rem !important;
}

.text-10 {
  font-size: 40px !important;
  font-size: 2.50rem !important;
}

.text-11 {
  font-size: 44px !important;
  font-size: 2.75rem !important;
}

.text-12 {
  font-size: 48px !important;
  font-size: 3rem !important;
}

.text-13 {
  font-size: 52px !important;
  font-size: 3.25rem !important;
}

.text-14 {
  font-size: 56px !important;
  font-size: 3.50rem !important;
}

.text-15 {
  font-size: 60px !important;
  font-size: 3.75rem !important;
}

.text-16 {
  font-size: 64px !important;
  font-size: 4rem !important;
}

.text-17 {
  font-size: 72px !important;
  font-size: 4.5rem !important;
}

.text-18 {
  font-size: 80px !important;
  font-size: 5rem !important;
}

.text-19 {
  font-size: 84px !important;
  font-size: 5.25rem !important;
}

.text-20 {
  font-size: 92px !important;
  font-size: 5.75rem !important;
}

/* Line height */
.line-height-07 {
  line-height: 0.7 !important;
}

.line-height-1 {
  line-height: 1 !important;
}

.line-height-2 {
  line-height: 1.2 !important;
}

.line-height-3 {
  line-height: 1.4 !important;
}

.line-height-4 {
  line-height: 1.6 !important;
}

.line-height-5 {
  line-height: 1.8 !important;
}

/* Font Weight */
.font-weight-100 {
  font-weight: 100 !important;
}

.font-weight-200 {
  font-weight: 200 !important;
}

.font-weight-300 {
  font-weight: 300 !important;
}

.font-weight-400 {
  font-weight: 400 !important;
}

.font-weight-500 {
  font-weight: 500 !important;
}

.font-weight-600 {
  font-weight: 600 !important;
}

.font-weight-700 {
  font-weight: 700 !important;
}

.font-weight-800 {
  font-weight: 800 !important;
}

.font-weight-900 {
  font-weight: 900 !important;
}

/* Opacity */
.opacity-0 {
  opacity: 0;
}

.opacity-1 {
  opacity: 0.1;
}

.opacity-2 {
  opacity: 0.2;
}

.opacity-3 {
  opacity: 0.3;
}

.opacity-4 {
  opacity: 0.4;
}

.opacity-5 {
  opacity: 0.5;
}

.opacity-6 {
  opacity: 0.6;
}

.opacity-7 {
  opacity: 0.7;
}

.opacity-8 {
  opacity: 0.8;
}

.opacity-9 {
  opacity: 0.9;
}

.opacity-10 {
  opacity: 1;
}

/* Background light */
.bg-light {
  background-color: #FFF !important;
}

.bg-light-1 {
  background-color: #f9f9fb !important;
}

.bg-light-2 {
  background-color: #f8f8fa !important;
}

.bg-light-3 {
  background-color: #f5f5f5 !important;
}

.bg-light-4 {
  background-color: #eff0f2 !important;
}

.bg-light-5 {
  background-color: #ececec !important;
}

@media print {
  .table td, .table th {
    background-color: transparent !important;
  }

  .table td.bg-light, .table th.bg-light {
    background-color: #FFF !important;
  }

  .table td.bg-light-1, .table th.bg-light-1 {
    background-color: #f9f9fb !important;
  }

  .table td.bg-light-2, .table th.bg-light-2 {
    background-color: #f8f8fa !important;
  }

  .table td.bg-light-3, .table th.bg-light-3 {
    background-color: #f5f5f5 !important;
  }

  .table td.bg-light-4, .table th.bg-light-4 {
    background-color: #eff0f2 !important;
  }

  .table td.bg-light-5, .table th.bg-light-5 {
    background-color: #ececec !important;
  }
}
/* =================================== */
/*  Layouts
/* =================================== */
.invoice-container {
  /*height: 500px;*/
  width: 500px;  
  margin: 0px auto;
  /*padding: 20px 50px 20px 50px*/;
/*  max-width: 850px;*/
  background-color: #f7f7f7;
 /* border: 1px solid #ccc;*/
  /*-moz-border-radius: 6px;
  -webkit-border-radius: 6px;
  -o-border-radius: 6px;
  border-radius: 6px;*/
  background-size: cover;
}

@media (max-width: 767px) {
  .invoice-container {
    padding: 35px 20px 70px 20px;
    margin-top: 0px;
    border: none;
    border-radius: 0px;
  }
}
/* =================================== */
/*  Extras
/* =================================== */
.bg-primary, .badge-primary {
  background-color: #0071cc !important;
}

.bg-secondary {
  background-color: #0c2f55 !important;
}

.text-secondary {
  color: #0c2f55 !important;
}

.text-primary {
  color: #0071cc !important;
}

.btn-link {
  color: #0071cc;
}

.btn-link:hover {
  color: #0e7fd9 !important;
}

.border-primary {
  border-color: #0071cc !important;
}

.border-secondary {
  border-color: #0c2f55 !important;
}

.btn-primary {
  background-color: #0071cc;
  border-color: #0071cc;
}
.btn-primary:hover {
  background-color: #0e7fd9;
  border-color: #0e7fd9;
}

.btn-secondary {
  background-color: #0c2f55;
  border-color: #0c2f55;
}

.btn-outline-primary {
  color: #0071cc;
  border-color: #0071cc;
}
.btn-outline-primary:hover {
  background-color: #0071cc;
  border-color: #0071cc;
  color: #fff;
}

.btn-outline-secondary {
  color: #0c2f55;
  border-color: #0c2f55;
}
.btn-outline-secondary:hover {
  background-color: #0c2f55;
  border-color: #0c2f55;
  color: #fff;
}

.progress-bar,
.nav-pills .nav-link.active, .nav-pills .show > .nav-link {
  background-color: #0071cc;
}

.page-item.active .page-link,
.custom-radio .custom-control-input:checked ~ .custom-control-label:before,
.custom-control-input:checked ~ .custom-control-label::before,
.custom-checkbox .custom-control-input:checked ~ .custom-control-label:before,
.custom-control-input:checked ~ .custom-control-label:before {
  background-color: #0071cc;
  border-color: #0071cc;
}

.list-group-item.active {
  background-color: #0071cc;
  border-color: #0071cc;
}

.page-link {
  color: #0071cc;
}
.page-link:hover {
  color: #0e7fd9;
}

/* Pagination */
.page-link {
  border-color: #f4f4f4;
  border-radius: 0.25rem;
  margin: 0 0.3rem;
}

.page-item.disabled .page-link {
  border-color: #f4f4f4;
}




/**/
.title_name{
  background: #fff;
  margin-top: 20px;
  padding: 10px;
  box-shadow: 0px 3px 6px rgba(0, 113, 113, 0.3);
}

.title_name h1{
  color: #098282;
  text-align: center;
  margin-bottom: 0;
  font-weight: 600;
}

.sub_title p{
  color: #fff;
  text-align:  center;
  font-size: 25px;
  font-weight: 500;
  margin-top: 20px;
  line-height: 30px;
}

.card{
  width: 350px;
  margin: 150px auto 20px auto;
  padding: 10px;
  border-radius: 40px;
  border: none;
}
.card-header{
  background: transparent;
  border-bottom: none;
}

.scan_text{
  font-weight: 600;
  color: #fff;
  font-size: 30px;
}
.qr_img{
  text-align: center;
}
.qr_img img{
  width: 150px;
}
.product_detail img{
  width: 150px;
}

.foot_text{
  color:#fff;
  border-bottom: 5px solid #fff;
  font-size: 20px;
}

.seller_top{
  position: relative;
  background: #31C3C3;
  border-radius: 0px 0px 0px 50px;
  width: 380px;
  float: right;
  height: 110px;
}

.seller_top img{
  position: absolute;
  left: -35px;
  top: 15px;
  width: 80px;
  border-radius: 100%;
  border: 4px solid #f7f7f7;
}

.seller_top h3{
  color: #fff;
  text-align: center;
  margin-top: 40px;
}

.product_detail{
  text-align: center;
}

.product_detail h3{
  color:#2F4858; 
  font-size: 24px;
}

.product_detail  p{
  color:#2F4858; 
  line-height: 20px;
}

.bottom_branding{
   position: relative;
  background: #31C3C3;
  border-radius: 0px 50px 0px 0px;
  width: 380px;
  float: left;
  height: 110px;
}

.bottom_branding img{
  position: absolute;
    right: -75px;
    bottom: 15px;
    width: 35px;  
}
.bottom_branding h3{
  color: #fff;
  text-align: center;
  margin-top: 40px;
}

.qr_img p{
  color: #2F4858;
}



@media (min-width: 768px) and (max-width: 991px) {

}
 @media (min-width: 480px) and (max-width: 767px) {
   .qr_img img{
    width: 240px;
  }
  
}
 @media (min-width: 320px) and (max-width: 479px) {
  .qr_img img{
    width: 240px;
  }
  .title_name h1 {
    font-size: 20px;
  }
  .sub_title p {
    font-size: 19px;
  }
  .foot_text {
    font-size: 15px;
    line-height: 20px;
  }
  
}



.q {
    /*max-width: 50%;
    max-height: 50%;
    min-width: 50%;
    min-height: 50%;*/
    width: 50%;
    height: 50%;
    display:inline-block;
    border: 1px solid grey;
}
.q34 {
    max-width: 100%;
    max-height: 50%;
    min-width: 100%;
    min-height: 50%;
    width: 100%;
    height: 50%;
    display:inline-block;
   
}



.q { float: left; }




page {
  background: white;
  display: block;
  margin: 0 auto;
  margin-bottom: 0.5cm;
  box-shadow: 0 0 0.5cm rgba(0,0,0,0.5);
}
page[size="A4"] {  
  width: 21cm;
  height: 29.7cm; 
}
page[size="A4"][layout="landscape"] {
  width: 29.7cm;
  height: 21cm;  
}