 /**
* Template Name: Taranga News Advance News
* Template URL: https://techtaranga.com/attraibarta/
* Author: Sheikh Nesarul Islam by Tech Taranga
*/

/*--------------------------------------------------------------
# General
--------------------------------------------------------------*/
/* bengali */
@import url('https://fonts.googleapis.com/css2?family=Hind+Siliguri:wght@300;400;500;600;700&display=swap');
@font-face {
  font-family: 'SutonnyMJ';
  font-style: normal;
  font-weight: 400;
  src: url(../font/SutonnyMJ.woff2) format('woff2');
}

@font-face {
  font-family: 'SolaimanLipi';
  src: url(../font/SolaimanLipi.eot);
  src: url(../font/SolaimanLipi.woff) format('woff'),
       url(../font/SolaimanLipi.ttf) format('truetype'),
       url(../font/SolaimanLipi.svg#SolaimanLipiNormal) format('svg'),
       url(../font/SolaimanLipi.eot?#iefix) format('embedded-opentype');
  font-weight: normal;
  font-style: normal;
}


@font-face {
    font-family: 'NesarAJ';
    src: url('../font/VarendraAP-Light_v7.ttf') format('truetype');
    font-weight: 300; /* Light */
}

@font-face {
    font-family: 'NesarAJ';
    src: url('../font/VarendraAP-Regular_v7.ttf') format('truetype');
    font-weight: 400; /* Regular */
}

@font-face {
    font-family: 'NesarAJ';
    src: url('../font/VarendraAP-Semibold_v7.ttf') format('truetype');
    font-weight: 600; /* SemiBold */
}

@font-face {
    font-family: 'NesarAJ';
    src: url('../font/VarendraAP-Bold_v7.ttf') format('truetype');
    font-weight: 700; /* Bold */
}

@font-face {
    font-family: 'NesarAJ';
    src: url('../font/VarendraAP-Black_v7.ttf') format('truetype');
    font-weight: 900; /* Black */
}

.tt-text{
  color: var(--tt-text-color) !important;
}
.tt-primary-bg{
  background-color: var(--tt_primary_color)  !important;
}
.tt-primary-color{
  color: var(--tt_primary_color)  !important;
}
.tt-white{
  background-color: var(--tt-white-color)  !important;
}
.tt-gray{
  background-color: var(--tt-gray-color)  !important;
}

body {
    font-family: 'NesarAJ', Arial, sans-serif !important;
    background: url("https://file-rangpur.portal.gov.bd/media/central/themes/theme-default/img/bg_main.gif") repeat-y scroll center top rgba(0, 0, 0, 0);
}

a {
  color: #000000;
  text-decoration: none;
}
a:hover {
  color: #3d3d3d;
  text-decoration: none;
}
a.tech-text:hover{
  color:  var(--tt_primary_color) ;
}
h1, h2, h3, h4, h5, h6 {
  font-family: 'NesarAJ', Arial, sans-serif !important;
    font-weight: bold;
}

.form-control:focus {
    box-shadow: unset !important;
}

/* scrol bar */
.no-scrol-bar::-webkit-scrollbar {
    width: 0;  /* Remove scrollbar space */
    background: transparent;  /* Optional: just make scrollbar invisible */
}
/* Optional: show position indicator in red */
.no-scrol-bar::-webkit-scrollbar-thumb {
    background: #FF0000;
}

.tt_pbg{
  background: var(--tt_primary_color);
}
.tt_pbg:hover{
  background: var(--tt_primary_color);
}


.cursor-pointer{
  cursor: pointer;
}

 /***************************************************
 @ Main
 *****************************************************/
/* Header */
@media only screen and (min-width: 960px) {
  .techtaranga-container {
     width: 1020px;
     margin: 0 auto;
  }
}
.container-pad{
  padding:0 25px;
}
@media (max-width: 576px) {
  .container-pad{
    padding: 0 10px;
  }
}
.header-hero{
  position: relative;
  border-top: 4px solid var(--tt_primary_color);
  height: 230px;
}
.header-image {
  position: absolute;
  top: 0;
  left: 0;
  height: 100%;
  width: 100%;
  z-index: -1;
}

.header-image img {
  height: 100%;
  width: 100%;
  object-fit: cover;
  position: absolute;
  top: 0;
  left: 0;
  opacity: 0;
  transition: opacity 1s ease-in-out;
}

.header-image img.active {
  opacity: 1;
  z-index: 1;
}
.header-info {
    display: flex;
    width: 100%;
    align-items: center;
    position: absolute;
    top: 50%;
    left: 25px;
    transform: translate(0, -50%);
}
.header-info img{
  height: 85px;
}
.header-info h1 {
    margin: 0;
    font-size: 26px;
    font-weight: bold;
    margin-left: 15px;
    line-height: 27px;
    color: white;
    text-shadow: -1px -1px 10px #333, 1px -1px 10px #333, -1px 1px 10px #333, 1px 1px 10px #333;
}
@media (max-width: 576px) {
  .header-hero{
    height: 150px;
  }
  .header-info {
      display: flex;
      width: 100%;
      align-items: center;
      position: absolute;
      top: 193px;
      left: 0;
  }
  .header-info h1 {
      font-size: 20px;
      text-shadow: unset;
      color: var(--tt_primary_color);
      line-height: 27px;
  }
   .header-info img{
     height: 65px;
   }
}

/* Nav Menu */

.header-menu {
    border: 1px dotted #e5e5e5;
    justify-content: space-between;
    background: #fafafa;
    align-items: center;
    display: flex;
}
@media (max-width: 576px) {
  .header-menu {
      display: none;
  }
}
.menu-expend {
    background: #666666;
    color: white;
    display: block;
    height: 28px;
    width: 28px;
    text-align: center;
    line-height: 28px;
    font-size: 18px;
    border-radius: 5px;
    margin-right: 11px;
    display: none;
}
.header-menu ul{
  list-style-type: none;
  margin: 0;
  padding: 0;
}
.header-menu ul.parent-menu{
  display: flex;
}
.header-menu ul.parent-menu li{
  display: flex;
  position: relative;
}
.header-menu ul.parent-menu a {
    display: inline-block;
    padding: 12px 6px;
    border-right: 1px dotted #e5e5e5;
    font-size: 15px;
    font-weight: 600;
}
.header-menu ul.parent-menu a i.child-have {
    color: #7c7c7c;
    font-size: 10px;
}
.header-menu ul.parent-menu > li:hover a,
.header-menu ul.parent-menu > li:hover i{
  background: var(--tt_primary_color);
  color: white;
}
.header-menu ul.parent-menu ul.child-menu{
  display: none
}
.header-menu ul.parent-menu li:hover ul.child-menu {
    display: block;
    position: absolute;
    top: 46px;
    min-width: 200px;
    background: #fefefe;
    left: 0;
    border-top: 5px solid  var(--tt_primary_color) !important;
    border: 1px solid #f0f0f0;
}
.header-menu ul.parent-menu ul.child-menu li a {
    background-color: unset;
    border: 0;
    color: black;
    display: block;
    padding: 3px 11px;
}
.header-menu ul.parent-menu ul.child-menu li:hover {
    background-color: #eeeeee;
}
.header-menu ul.parent-menu ul.child-menu {
    background-color: unset;
    padding: 8px;
}
@media (max-width: 955px) {
  .header-menu ul.parent-menu > li:nth-last-child(-n+2) {
    display: none;
  }
  .menu-expend {
      display: block;
  }
}
@media (max-width: 855px) {
  .header-menu ul.parent-menu > li:nth-last-child(-n+4) {
    display: none;
  }
}
@media (max-width: 755px) {
  .header-menu ul.parent-menu > li:nth-last-child(-n+6) {
    display: none;
  }
}
/* Mobile Menu  */
.mobile-topbar {
    background: #e4e4e4;
    padding: 9px;
    margin-top: 93px;
    border-radius: 4px;
    display: none;
}
.mobile-topbar .menu-toggle {
    background: #666666;
    color: white;
    display: inline-block;
    height: 28px;
    width: 28px;
    text-align: center;
    line-height: 32px;
    font-size: 18px;
    border-radius: 5px;
    margin-right:5px;
}
@media (max-width: 576px) {
  .mobile-topbar {
    display: block;
  }
}
.navmenu {
    display: none;
    background: #e4e4e4;
    padding: 0;
    margin-top: 8px !important;
    border-radius: 4px;
    margin: 0;
    list-style: none;
}

.navmenu a {
  display: block;
  padding: 12px;
  text-decoration: none;
}
.navmenu .child {
  display: none;
  list-style: none;
  padding-left: 15px;
}

.navmenu .child a {
  padding: 10px;
  font-size: 14px;
}

.navmenu .has-child > a::after {
    content: " ▼";
    color: #696666;
    float: right;
}

/* Social Menu */

.social-menu a i {
    display: inline-block;
    height: 28px;
    width: 28px;
    text-align: center;
    line-height: 28px;
    border-radius: 50%;
    font-size: 16px;
    color: white;
}
.social-menu a i.bi-envelope-fill {
    background: #D44638;
    color: #fff;
}

.social-menu a i.bi-telephone-fill {
    background: #25D366;
    color: #fff;
}

.social-menu a i.bi-facebook {
    background: #1877F2;
    color: #fff;
}

.social-menu a i.bi-youtube {
    background: #FF0000;
    color: #fff;
}
.techtaranga-box{
    background-color: #f5f5f5;
    border: 1px solid #ccc;
}
/* Notice Board */
.notice-board {
    background: url(//cabinet.portal.gov.bd/themes/responsive_npf/images/welcome_grad.png) repeat-x scroll left top transparent !important;
    background-repeat: repeat-x !important;
    background-image: url("//cabinet.portal.gov.bd/themes/responsive_npf/images/welcome_grad.png") !important;
    background-image: url(//cabinet.portal.gov.bd/themes/responsive_npf/images/bg_notice_board.png) !important;
    background-repeat: no-repeat !important;
    padding: 10px 10px 20px 120px !important;
}
@media (max-width: 576px) {
  .notice-board {
      padding:  10px  !important;
  }
  .notice-board h2 {
      text-align: center;
  }
}
.notice-board h2 {
    font-size: 30px;
    font-weight: 600;
}
.notice-board  hr {
    margin-top: 20px;
    margin-bottom: 20px;
    border: 0;
    border-top: 1px solid #c5c5c5;
}
.notice-list li{
  padding-bottom: 5px;
}
.notice-list a{
  display: flex;
}
.notice-list i{
    width: 15px;
    margin-right: 10px;
    color:limegreen;
}
.notice-list span {
    font-size: 18px;
    line-height: 25px;
}

/*  News Ticker */
.news-ticker {
     display: flex;
     align-items: center;
     overflow: hidden;
   }

   .news-title {
     font-weight: bold;
     margin-right: 10px;
     color: #000;
   }

   .news-list {
     list-style: none;
     margin: 0;
     padding: 0;
     height: 24px; /* এক লাইনের সমান */
     overflow: hidden;
     position: relative;
   }

   .news-list li {
     height: 24px;
     line-height: 24px;
     color: #333;
   }

 /* Service Box */
.service-box {
    background-color: #f5f5f5;
    border: 1px solid #ccc;
    cursor: pointer;
    padding: 10px;
    position: relative;
    overflow: hidden;
    color: #000;
    height: 100%;
    box-shadow: 1px 1px 1px 1px #ccc;
}
.service-box h4 {
  font-size: 20px;
  line-height: 30px;
  margin-bottom: 4px;
  font-weight: 600;
}
.service-list li{
  font-size: 16px;
  transition: 0.3s;
}
.service-list li:hover{
  transform: translateX(6px);
}
.service-list a{
  font-size: 15px;
}
.service-list i{
  color: limegreen;
  margin-right: 5px;
  font-size: 13px;
}

/* Section Title */
.title-section {
    background: var(--tt_primary_color);
    font-size: 17px;
    font-weight: 600;
    padding: 6px 10px;
    color: white;
}
.sidebar-list li i{
  font-size: 10px;
  margin-right: 5px;
}
.sidebar-list li a{
  padding: 8px;
  display: block;
  border-bottom: 1px solid #dee2e6;
  transition: 0.3s;
  font-size: 14px;
}
.sidebar-list li:last-child a {
  border-bottom: unset;
}
.sidebar-list li a:hover{
  background: #f9f9f9;
}

/* Share */
.share-title {
    font-family: "Hind Siliguri", sans-serif;
    color: #662D91;
    font-size: 17px;
    font-weight: 600;
    margin-bottom: 4px;
}
.fb-page {
    box-shadow: 0 0 0px 1px #80808033;
    padding: 9px 18px 7px;
    margin-left: 4px;
    text-align: left;
    border-radius: 1px;
    font-family: "Hind Siliguri", sans-serif;
    color: #662D91;
    font-size: 17px;
    font-weight: 600;
    display: inline-block;
}
.social_btn {
    color: #fff !important;
    font-size: 12px;
    width: 24px;
    line-height: 11px;
    height: 24px;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 50%;
    transition: all 0.6s ease;
    margin: 0 2px 0 2px;
}
.social_btn:hover {
  transform: translateY(-4px);
  text-decoration: none !important;
}
.bread_social {
  display: flex;
  justify-content: space-between;
  align-items: center;
}

.facebook {
  background: #303F9E;
}

.twitter {
  background: #3675AE;
}
.twitter {
  background: #595959;
}

.whatsapp {
  background: #6FBE3C;
}

.linkedin {
  background: #3874B2;
}

.link {
  background: #4FB2E2;
}

.messenger {
  background: #BF3DC8;
}

/* Images */

.gallery-img-1,
.gallery-img-cover-1 {
    width: 100%;
    aspect-ratio: 16 / 9;
    object-fit: cover;
}
.featured-image-photo{
  position: relative;
}
.featured-image-photo i {
    position: absolute;
    top: 16px;
    left: 16px;
    display: block;
    line-height: 32px;
    height: 30px;
    width: 30px;
    color: white;
    border-radius: 3px;
    background: hsl(0deg 0% 0% / 51%);
    text-align: center;
}

/* Video */
.video-container {
  position: relative;
  width: 100%;
  padding-bottom: 56.25%; /* 16:9 ratio */
  height: 0;
  overflow: hidden;
  border-radius: 8px;
}
.video-container iframe {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  border: 0;
}
.techtaranga-content img{
    width:100% !important;
    height:auto !important;
}
.techtaranga-content table {
    border-collapse: collapse; /* Merge borders */
    width: 100%; /* Full width table */
}

.techtaranga-content table, 
.techtaranga-content th, 
.techtaranga-content td {
    border: 1px solid #000; /* Simple black border */
}

.techtaranga-content th, 
.techtaranga-content td {
    padding: 8px; /* Space inside cells */
    text-align: left; /* Align text */
}
/* Footer */
@media only screen and (min-width: 960px) {
    .footer-artwork {
        background: url(//file-rangpur.portal.gov.bd/media/central/themes/theme-default/img/footer_top_bg.png) no-repeat scroll 0 0 rgba(0, 0, 0, 0);
    }
}
@media only screen and (min-width: 960px) {
    .footer-artwork {
        height: 84px;
        margin: 0 auto;
        clear: both;
    }
}
@media only screen and (min-width: 320px) and (max-width: 959px) {
    .footer-artwork {
        height: 15px;
        margin: 0 auto;
        background-color: #666;
    }
}
.footer-area{
  background: #ebebeb;
}
