:root {
  --greenback: #019447;
  --greenbtn: #019447;
}

.container {
  max-width: 1335px;
  margin: 0 auto;
}

.grid-row {
  display: flex;
  flex-flow: row wrap;
  justify-content: flex-start;
}

.grid-item {
  height: auto;
  flex-basis: 25%;
  -ms-flex: auto;
  width: 100%;
  position: relative;
  padding: 10px;
  box-sizing: border-box;
}

.grid-row a {
  text-decoration: none;
}

.wrapping-link {
  position: absolute;
  top: 0;
  left: 0;
  bottom: 0;
  right: 0;
  z-index: 2;
  color: currentColor;
}

.grid-item-wrapper {
  -webkit-box-sizing: initial;
  -moz-box-sizing: initial;
  box-sizing: initial;
  background: #ececec;
  margin: 0;
  height: 100%;
  width: 100%;
  overflow: hidden;
  position: relative;
}

.grid-item-container {
  height: 100%;
  width: 100%;
  position: relative;
}

.grid-image-top {
  height: 60%;
}

.grid-image-top .centered {
  text-align: center;
  transform: translate(-50%, -50%);
  background-size: contain;
  background-repeat: no-repeat;
  top: 54.5%;
  left: 50%;
  width: 60%;
  height: 60%;
  background-position: center;
}

.grid-image-top img{
  width: 100%;
  height: 100%;
  object-fit: fill;
}


.grid-item-content {
  padding: 0 20px 20px 20px;
}

.item-title {
  font-size: 24px;
  line-height: 26px;
  font-weight: 700;
  margin-bottom: 18px;
  display: block;
}

.item-category {
  text-transform: uppercase;
  display: block;
  margin-bottom: 20px;
  font-size: 14px;
}

.item-excerpt {
  margin-bottom: 20px;
  display: block;
  font-size: 14px;
}

.more-info {
  position: absolute;
  bottom: 0;
  margin-bottom: 25px;
  padding-left: 0;
  transition-duration: .5s;
  font-size: 12px;
  display: flex;
}

.more-info i {
  padding-left: 5px;
  transition-duration: .5s;
}

.grid-item:hover .more-info i {
  padding-left: 20px;
  transition-duration: .5s;
}

.more-info i::before {
  font-size: 16px;
}


@media(max-width: 1333px) {
  .grid-item {
    flex-basis: 33.33%;
  }
}

@media(max-width: 1073px) {
   .grid-item {
    flex-basis: 33.33%;
  }
}

@media(max-width: 815px) {
  .grid-item {
    flex-basis: 50%;
  }
}

@media(max-width: 555px) {
  .grid-item {
    flex-basis: 100%;
  }
}

.list_wrap{
  padding: 10px;
  background: #fff;
}

.item_thumb{
  display: flex;
  align-items: center;
}

.item_thumb img{
  width: 300px;
}

.list_item{
  width: 100%;
  display: flex;
  align-items: center;
  background: rgb(0, 107, 107);
  margin-bottom: 10px;
}

.main_info{
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 20px 10px;
}

.primary_info span{
  display: block;
}

span.item_title{
  font-weight: bold;
}



/* Font Box */
/* 
.fontboxcontainer {
  max-width: 1400px;
} */

.fontbox {
  position: relative;
  background-color: #ffffff;
  background-position: top left;
  background-repeat: no-repeat;
  display: inline-table;
  width: 370px;
  border-radius: 20px;
  padding: 20px;
  margin: 10px;
  margin-top: 30px;
  margin-bottom: 20px;
  text-align: left;
  box-shadow: 4px 4px 30px 0 rgb(0 0 0 / 20%);
  transition: padding .5s;
  min-height: 140px;
}

.fonttitle {
  font-size: 28px;
  margin-left: 10px;
  display: inline-table;
}

.fontsubtitle {
  font-size: 18px;
  color: #6d6e70;
  display: inline-table;
  margin-left: 8px;
}

.preview {
  font-size: 40px;
  padding: 10px;
  transition: color .5s;
}

.fontdetails {
  font-size: 18px;
  color: #6d6e70;
  display: inline-table;
  margin-left: 8px;
}
.dload_btn{
  display: flex;
  justify-content: center;
}


@media (max-width: 991.98px) { 

  .fontbox {
    padding: 20px;
  }

  .fontboxcontainer {
    text-align: center;
  } 

 }


 /* Font list New */

 a{
  text-decoration: none !important;
 }

 .font_listul{
  list-style: none;
  margin: 0;
 }

 .font_listul li{
  margin-bottom: 36px;
  border-bottom: 1px solid #e7e7e7;
 }

 .preview_header {
  display: flex;
  justify-content: space-between;
  padding: 10px;
  background-color: #eee;
  border: 1px solid #777;
  -webkit-border-radius: 7px;
  -moz-border-radius: 7px;
  border-radius: 7px;
  box-sizing: border-box;
  -webkit-box-sizing: border-box;
}

.cat_in{
  margin-right: 3px;
}

.font_title a {
  color: #3f3f3f;
  font-weight: 600;
  text-decoration: none;
}

.font_Cat a {
  color: #003975;
}

.font_thumb img{
  width: 300px;
}

.preview_info{
  display: flex;
  justify-content: space-between;
  padding: 10px 0px;
  align-items: center;
}

.list_wrapper{
  display: block;
  width: 100%;
background: #fff;
margin: 10px 0px;
}


.dload_btn {
  border: 1px solid #000;
  padding-right: 11px;
  padding-left: 11px;
  padding-top: 8px;
  padding-bottom: 8px;
  font-weight: 700;
  background-color: #000;
  color: #fff;
  margin-top: 8px;
  margin-right: 0;
  cursor: pointer;
  font-size: 15px;
  -webkit-border-radius: 4px;
  -moz-border-radius: 4px;
  border-radius: 4px;
  width: 160px;
}

.bn_soroborno, .bn_benjon, .bn_numbers, .bn_symbols td{
  font-size: 3rem;
  text-align: center;
}

.preview_sonar_bangla{
  font-size: 3rem;
  margin: 0px;
}

.preview_sub_title{
  font-size: 1.5rem;
  margin: 0px;
}

.char_map_wrap table{
  margin: 0 0 .5em;
}

.charsmap_title{
  font-size: 1.2rem;
  font-weight: bold;
}

select {
  -webkit-appearance:none;
  -moz-appearance:none;
  -ms-appearance:none;
  appearance:none;
  outline:0;
  box-shadow:none;
  border:0!important;
  background: #5c6664;
  background-image: none;
  flex: 1;
  padding: 0 .5em;
  color:#fff;
  cursor:pointer;
  font-size: 1em;
  font-family: 'Open Sans', sans-serif;
}
select::-ms-expand {
  display: none;
}
.select {
  position: relative;
  display: flex;
  width: 15em;
  line-height: 3;
  background: #5c6664;
  overflow: hidden;
  border-radius: .25em;
}
.select::after {
  content: '\25BC';
  position: absolute;
  top: 0;
  right: 0;
  padding: 0 1em;
  background: var(--greenback);
  cursor: pointer;
  pointer-events: none;
  transition: .25s all ease;
  color: #fff;
}
.select:hover::after {
  color: #23b499;
}

/* Previewer Area */
.font_previewer, .char_map{
  margin-bottom: 20px;
}
.preiew_header{
  width: 100%;
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 10px;
}
.preview_textarea{
  font-size: 1.6rem;
}

.font_text_size, .font_letter_size, .font_line_size{
  display: flex;
  align-items: center;
}

@media (min-width: 992px) { 

  .preiew_header{
    gap: 30px;
  }

 }

@media (max-width: 991.98px) { 
    .preiew_header{
      display: block;
    }
    .font_mod{
      width:100%;
    }
    .font_mod select, input{
      width:100%;
    }
 }

@media (max-width: 767.98px) { 
  .font_thumb h2{
    font-size: 2.5rem;
  }
  .font_thumb h3{
    font-size: 1.6rem;
  }

  .bn_soroborno, .bn_benjon, .bn_numbers {
    border-collapse: collapse;
    border-spacing: 0;
    width: 100%;
    border: 1px solid #ddd;
  }
  
  th, td {
    text-align: left;
    padding: 8px;
  }

  .preview_textarea {
    font-size: 1.1rem;
  }

  .bn_soroborno, .bn_benjon, .bn_numbers td {
    font-size: 1.7rem;
  }

  .font_details_tbl td{
    font-size: 1rem;
  }

}


@media (max-width: 575.98px) { 
  .font_thumb h2{
    font-size: 1.7rem;
  }
  .font_thumb h3{
    font-size: 1.1rem;
  }
}

/* Pagination */


.pagination {
  display: inline-block;
}

.pagination a, .pagination span {
  color: black;
  float: left;
  padding: 4px 14px;
  text-decoration: none;
  transition: background-color .3s;
  border: 1px solid #ddd;
}

.pagination span.current  {
  background-color: #2b2b2b;
  color: white;
  border: 1px solid #2b2b2b;
}

.pagination a:hover:not(.active) {background-color: #ddd;}

