
@font-face {
font-family: "General sans";
src: url('../GeneralSans_Complete/GeneralSans_Complete/Fonts/TTF/GeneralSans-Variable.ttf') format('woff2');
font-weight: 500 600;
font-display: swap;
}
@font-face {
  font-family: 'Dm sans';
  src: url('../fonts/DMSans-VariableFont_opsz,wght.woff2') format('woff2');
   font-display: swap;
}
@font-face {
  font-family: 'karla';
  src: url('../fonts/Karla-Medium.woff2') format('woff2');
   font-display: swap;
}


@font-face {
font-family: "Noto sans regular";
src: url('../fonts/NotoSansSinhala_SemiCondensed-Regular.woff2') format('woff2');
font-display: swap;
}
@font-face {
font-family: "Noto sans semiMedium";
src: url('../fonts/NotoSansSinhala_SemiCondensed-Medium.woff2') format('woff2');
font-display: swap;
}
/* @font-face {
font-family: "Noto sans semiBold";
src: url('/pageJS/static/NotoSansSinhala_SemiCondensed-SemiBold.ttf') format('woff2');
font-display: swap;
} */

/* @font-face {
font-family: "Noto sans bold";
src: url('/pageJS/static/NotoSansSinhala_SemiCondensed-Bold.ttf') format('woff2');
font-display: swap;
} */
body{
font-family: "Dm sans",system-ui,"Noto sans semiMedium";
margin: 0;
background-color: white;
}

.homeText{
padding-top:9px; 
padding-left: 8px; 
font-size: 12px;
}
#responsive-image2,#responsive-image3,#responsive-image4,#responsive-image5{
/*filter: blur(4px);*/
}
#responsive-image5{
    /*filter: blur(4px);*/
}
.nav-item a {
  padding-top: 11px;
  text-decoration: none;
  font-family: "karla", system-ui;
  font-size: 13px;
  margin-right: 4px;
}

.nav-btn-one {
    border: solid 2px yellow;
    height: 31px;
    margin-top: 6px;
    margin-left: 5px;
    border-radius: 4px;
    color: yellow;
    background: transparent;
    min-width: 74px;
    font-size: 13px;
    font-family: "karla", "Noto sans regular";
}

.nav-btn-two {
    border: solid 2px #cece00;
    height: 31px;
    margin-top: 4px;
    margin-left: 18px;
    border-radius: 5px;
    color: yellow;
    background: transparent;
    min-width: 73px;
    font-size: 13px;
    font-family: "karla", "Noto sans regular";
}
.td{
   margin-top: -13px;
}
.topic{

padding-top: 32px;
font-family: 'General sans',system-ui,"Noto sans semiMedium";
font-size: 14px;
text-align: center;
padding-right: 38px;


}
#languageSwitcher {
    border: none;
    outline: none;
    padding-left: 0px;
    font-family: "karla", system-ui, "Noto Sans Regular";
    padding-top: 8px;
    color: white;
    font-size: 13px;
    padding-right: 1px;
    margin-top: 4px;
}
/* Slideshow container */
.slideshow-container {
position: relative;
overflow: hidden; /* Hide anything that slides outside the container */
width: 100%; /* Ensure the container takes up the full available width */
margin-top: 56px;
}

.slides-wrapper {
display: flex;
transition: transform 1.3s ease; /* Smooth transition */
}

.mySlides {
min-width: 100%; /* Each slide takes up the full width of the container */
box-sizing: border-box; /* Prevents overflow due to padding or margin */
}



/* Slide images */
.mySlides img {
width: 100%; /* Image takes full width of the slide 
height: auto; /* Maintain aspect ratio */
}
.aspect-ratio-box {
position: relative; /* Allows positioning inside the box 
width: 100%; /* Full width of its container */
padding-top: 37.25%; /* 16:9 Aspect Ratio (you can adjust this value for different ratios) */
overflow: hidden; /* Hides anything that spills out */
/*background-color: #b5b5b5;*/
}
/* 119.25% */
.aspect-ratio-box img {
position: absolute; /* Position the image inside the box */
top: 0; /* Align to the top */
left: 0; /* Align to the left */
width: 100%; /* Stretch to fill the width of the box */
height: 100%; /* Stretch to fill the height of the box */
object-fit: cover; /* Crop the image to fill the box without stretching */
}
.prev, .next {
cursor: pointer;
position: absolute;
top: 37%;
width: auto;
padding: 16px;
margin-top: -22px;
color: rgb(202, 202, 202);
font-size: 59px;
transition: 0.6s ease;
border-radius: 0 3px 3px 0;
user-select: none;  /* Standard syntax */
-webkit-user-select: none;  /* Chrome, Safari, Opera */
-webkit-tap-highlight-color: transparent;

}

@media(max-width:450px){
.aspect-ratio-box {
position: relative; /* Allows positioning inside the box */
width: 100%; /* Full width of its container */
padding-top: 119.25%; 
overflow: hidden; /* Hides anything that spills out */
}
.slides-wrapper {
display: flex;
transition: transform 1s ease; /* Smooth transition */
}
}

.dot {
cursor: pointer;
height: 10px;
width: 10px;
margin: 0 2px;
background-color: #b9b9b9;
border-radius: 50%;
display: inline-block;
transition: background-color 0.4s ease;
-webkit-tap-highlight-color: transparent;

}


/* Position the "next button" to the right */
.next {
right: 0;
border-radius: 3px 0 0 3px;
user-select: none;  /* Standard syntax */
-webkit-user-select: none;  /* Chrome, Safari, Opera */
}

/* On hover, add a black background color with a little bit see-through */
/* .prev:hover, .next:hover {

color: rgb(240, 240, 240);
} */

/* Caption text */
.text {
color: #f2f2f2;
font-size: 15px;
padding: 8px 12px;
position: absolute;
bottom: 8px;
width: 100%;
text-align: center;
}

/* Number text (1/3 etc) */
.numbertext {
color: #f2f2f2;
font-size: 12px;
padding: 8px 12px;
position: absolute;
top: 0;
}
.dots {
position: absolute;
bottom: 10px;
left: 50%;
transform: translateX(-50%);
text-align: center;
width: 100%; /* Ensures dots span the full width */
}

/* The dots/bullets/indicators */
/* .active, .dot:hover {
background-color: #dadada;
} */
.active {
background-color: #e2e2e2;
} 
@media(max-width:767px){
#languageSwitcher{
padding-left: 4px;
}
}
@media(max-width:645px){
.prev,.next{
top: 43%;
padding: 12px;
margin-top: -22px;
color: #fff;
font-size: 43px;
font-family: none;

}

.dot {

height: 8px;
width: 8px;
margin: 0 2px;
border-radius: 50%;
}

}

@media(min-width:646px) and (max-width:800px){
.prev, .next {
top: 40%;
padding: 8px;
margin-top: -22px;
color: rgb(202, 202, 202);
font-size: 50px;
}

}
#electric-electronic-items{
text-wrap:unset;
width:165px;
}
.left-button{
left: 10px;
font-size: 31px;
color:grey;
cursor: pointer;
margin-right: 35px;
padding-bottom: 50px;
/* font-weight: bold; */
opacity: 0.75;
user-select: none;  /* Standard syntax */
-webkit-user-select: none;  /* Chrome, Safari, Opera */
}
.right-button{
font-size: 31px;
color:gray;
cursor: pointer;
margin-left: 14px;
padding-bottom: 50px;
/* font-weight: bold; */
opacity: 0.75;
user-select: none;  /* Standard syntax */
-webkit-user-select: none;  /* Chrome, Safari, Opera */
}


.main-section{
position: relative;
width:100%;
display: flex;
justify-content: center;
/* background-color: black; */
margin-bottom: 160px;
flex-direction: row;
align-items: center;

}

.button-section-main{

display: grid;

row-gap: 15px;
margin-top: 13px;
/* background-color: rgb(167, 153, 153); */
margin-bottom: 20px;


}
a{
color: inherit;
text-decoration: none;
}
.button-link {
cursor: pointer;
font-family: "Dm sans",system-ui,"Noto Sans Sinhala";
font-weight: 500;
color: inherit;
display: grid;
flex-direction: column;
grid-template-columns: 53px 1fr;
border-radius: 7px;
font-size: 16px;
height: 60px;
margin: 8px;
transition: 0.4s ease;
-webkit-tap-highlight-color: transparent;
text-decoration: none;
}


.button-link-right{
display: flex;
flex-direction: column;
padding-top: 5px;
}
.count{
display: flex;
padding-top: 3px;
padding-left: 6px;
font-size: 13px;
color:#0b6d68;
font-family: "General sans";
word-spacing: 1px;


}
#electric-electronic-items{
text-wrap: unset;
width: 176px;
}


.button-img{
display: flex;
justify-content: center;
align-items: center;
/* background-color: black; */
}
.button-img img{
width: 33px;
height: auto;
opacity: 0.93;
}
.button-text{
display: flex;
align-items: center;
padding-left: 3px;
/* max-width: 106px; */
padding-top:6px;

/*text-wrap: nowrap;*/
}
.button-text-en{

font-family:"Dm sans",system-ui, sans-serif;
color: #000000eb;
font-size: 14px;
}
.footer-container{
background-color:#004346;
}
.button-text-si{

font-family: "Noto sans semiMedium", system-ui, sans-serif;
font-size: 13px;

}
.icon-wrapper {
  display: flex;
  align-items: center;
}
.chevron-icon {
  transition: transform 0.3s ease;
}
.expanded .chevron-icon {
  transform: rotate(180deg);
}
.sub-content {
display: grid;
grid-template-columns: 40px 1fr 90px;
height: 44px;
/* margin-top: -1px; */
align-items: center;
padding-left: 10px;
font-size: 15px;
border-top: 1px solid grey;
}
.modal-header{
padding: 8px 9px;
margin: 0px 16px;
border-color: grey;
}
/* .modal-body{
padding-top: 0;
} */
@media (max-width:775px){
.left-button{
display: none;

}
.td{
   margin-top:0;
}
.right-button{
display: none;
}
.count{
justify-content: center;
padding-top: 5px;
}
.button-section-main {

width: 100%;
display: flex;
overflow-x: auto; /* Enable horizontal scrolling */
overflow-y: hidden; /* Hide vertical overflow */
padding-top: 10px; /* Space at the top of the container */
padding-bottom: 19px;
padding-left: 5px;
height: 136px;
gap: 9px;
}

.button-img img {
width: 39px;
height: auto;
opacity: 1;
}
.button-text {
    display: flex;
    align-items: center;
    padding-left: 3px;
    text-wrap: nowrap;
    white-space: nowrap;
    font-size: 15px;
    color: #212222;
    padding-top: 12px;
    font-family: "Nunito Sans",system-ui, 'Noto Sans Sinhala', Arial, sans-serif;
    font-weight: 500;
}

#electric-electronic-items{
text-wrap:nowrap;
white-space:nowrap;
width:auto;
}

.button-text-si{
padding-top: 6px;
font-size: 14px;
line-height: 18px;
font-family: "Noto sans regular";
color: black;
}
.button-text-en {
padding-top: 12px;
font-size: 15px;
font-family: "Dm sans",system-ui;
line-height: 15px;
color: black;
font-weight: 400;
}
.topic {
    /* padding-left: 16px; */
    height: 31px;
    font-size: 14px;
    text-align: start;
    color: #000000e3;
    padding-left: 16px;
    font-family: 'General sans',system-ui,"Noto sans semiMedium";
    padding-top: 34px;
    /* box-sizing: border-box; */
    padding-bottom: 19px;
}
.count{
font-family: 'General sans', system-ui, sans-serif;
white-space: nowrap;
}
.button-section-main::-webkit-scrollbar {

height: 13px;
}

.button-section-main::-webkit-scrollbar-thumb {
background-color: #e6e6e6; /* Color of the scrollbar thumb */
border-radius: 2; /* Roundness of the scrollbar thumb */

}

.button-section-main::-webkit-scrollbar-track {
background-color: #ffffff; /* Color of the scrollbar track */
border-radius: 6px; /* Roundness of the scrollbar track */
}
.button-link{
display: flex !important;
height: 105px;
}
.button-link-right{
padding-top: 1px;
}
.button-text-en{
white-space: nowrap;
}
.button-text-si{
white-space: nowrap;
}.main-section{
margin-bottom: 77px;
}
}
@media (max-width:450px){

} 
@media(min-width:776px) and (max-width:1112px){
.button-section-main {
grid-template-columns:repeat(3, 1fr);
width: 90%;

row-gap: 13px;
/* column-gap: 30px; */

}.right-button{
margin-left: -22px;
}
#electric-electronic-items{
text-wrap:nowrap;
width:165px;
}
}   

@media(min-width:1113px){
.button-section-main{
grid-template-columns:repeat(4, 1fr);
row-gap: 10px;
/* column-gap: 70px; */
width: 86%;
}

}

.footer{
background-color: black;
margin-top: 300px;
height: 200px;
width: 100%;
}

nav {
font-family: 'karla',system-ui;
font-weight: 500;
font-size: 13px;
}
.nav-link {
color: rgb(31, 31, 31);
background-color: transparent;
font-size: 11px;
}
