@font-face {
  font-family: "RegularFont";
  src: url("fonts/Montserrat/static/Montserrat-Regular.ttf") format("truetype");
}

@font-face {
  font-family: "MediumFont";
  src: url("fonts/Montserrat/static/Montserrat-Medium.ttf") format("truetype");
}

@font-face {
  font-family: "UltraBold";
  src: url("fonts/Montserrat/static/Montserrat-Black.ttf") format("truetype");
}

:root {
  --bg-color: #eeeeee;
  --bg-secondary-color: #ebe9e9;
  --text-color: black;
}

[data-theme="dark"] {
  --bg-color: #212529;
  --bg-secondary-color: #1c2228;
  --text-color: white;
}

body {
  --color1: #009fe3;
  --color4: rgba(1, 2, 2, 0.3);
  --color2: #0784d2; 
  --color3: #FFFF00; 
  --font-family: RegularFont;
  --font-bold: UltraBold;
  --font-medium: MediumFont;
  font-family: var(--font-family) !important;
  background-color: var(--bg-color);
  color: var(--text-color); 
  transition: background-color 0.3s ease, color 0.3s ease;
}

.bluexbg{
  background-color: var(--color1) !important;    
}
.dropdowns {
  position: absolute;
  top: 100%; 
  left: 0;
  width: 100%;
  /* Takes full width */
  background: white;
  display: none;
  /* Initially hidden */
  /*grid-template-columns: repeat(4, 1fr);
  /* 4-column grid */
  gap: 10px;
  padding: 15px;
  box-shadow: 0px 4px 8px rgba(0, 0, 0, 0.2); 
  z-index: 1000;
}

/* Ensure it's shown when active */
.dropdowns.active {
  display: grid;
}

/* Individual dropdown content (hidden by default) */
.dropdown-content {
  display: none;
}

.dropdown-content.active {
  display: block; 
}

/* Dropdown items */
.dropdown-item { 
  padding: 10px;
  background: #f1f1f1;
  text-align: center;
  border-radius: 5px;
  transition: background 0.2s ease;
}
 

footer {
  /*background: #0f1c39 !important;*/
  background: var(--color1) !important;
  color: white !important; 
}

.subNavContainer {
  position: absolute;
  width: 100%;
  bottom: -100;
  left: 0;
  z-index: 999;
}

.bgTheme {
  background-color: var(--bg-color);
  color: var(--text-color);
}

/* Tooltip hidden by default */
.hidden {
  display: none;
}

/* Tooltip styles */
.tooltip {
  position: absolute;
  background-color: #333;
  color: white;
  padding: 10px;
  border-radius: 5px;
  font-size: 14px;
  max-width: 200px;
  z-index: 10;
  display: none; /* Initially hidden */
  opacity: 0;
  transition: opacity 0.3s;
}

/* Tooltip arrow */
.tooltip::after {
  content: "";
  position: absolute;
  bottom: -10px;
  left: 50%;
  transform: translateX(-50%);
  border-width: 10px;
  border-style: solid;
  border-color: transparent transparent #333 transparent;
}

/* Position the tooltip relative to the button */
#toggleButton {
  position: relative;
}

/* Show tooltip when the hidden class is removed */
.tooltip.show {
  display: block;
  opacity: 1;
  transition: opacity 0.3s;
}

.truncate-multi-line {
  max-width: 300px;
  line-height: 1.5em; /* Ensure this matches JavaScript */
  height: 4.5em; /* maxLines * line-height */
  overflow: hidden;
}

article > p {
  filter: invert(80%);
}

.pFilter80 {
  color: var(--text-color);
  filter: opacity(80%);
}

.truncate-two-line {
  display: -webkit-box;
  -webkit-line-clamp: 2; /* Number of lines */
  -webkit-box-orient: vertical;
  overflow: hidden;
  text-overflow: ellipsis;
}

.truncate-multi-line_two {
  display: -webkit-box;
  -webkit-line-clamp: 3; /* Number of lines */
  -webkit-box-orient: vertical;
  overflow: hidden;
  text-overflow: ellipsis;
  max-width: 300px; /* Adjust as needed */
}

.articleBigHomeImage {
  height: 200px;
  background-size: cover;
  background-repeat: no-repeat;
  border-radius: 10px;
}

#carouselCDC {
  border-radius: 10px;
  overflow: hidden;
}

article:hover{
  opacity: 0.7;  
}

.articleSmallHomeImage {
  height: 130px;
  background-size: cover;
  background-repeat: no-repeat;
  border-radius: 10px;
}

.smallArticleSmallHomeImage {
  height: 70px; 
  background-size: cover;
  background-repeat: no-repeat;
  border-radius: 10px;
}  

a:hover {
  text-decoration: none !important;
}

.bgTheme {
  background-color: var(--bg-color) !important;
}

.bg3Color {
  background-color: var(--color3);
  color: black !important;  
}

.text3Color {
  color: var(--color3);
}

.themeToggle {
  border-radius: 5px;
}

.themeToggle > svg {
  width: 30px !important;
  height: 30px !important;
  filter: invert(50%);
  animation: 0.3s;
}

.secondaryTopBar {
  border-bottom: 1px solid rgba(30, 142, 211, 0.2);
}

#logoDiv {
  width: 80px;
  height: 80px;
  background-image: url("imgs/image-start-est.png") !important;
  background-size: cover;
  margin-top: 10px;
  margin-bottom: 10px; 
}

.mainBG {
  background-color: var(--color1) !important;
}

.secondaryBG {
  background-color: var(--bg-secondary-color) !important;
  color: var(--text-color);
}

.newsletter-area {
  background-color: var(--color1) !important;
  color: white !important;
}

#mc-submit {
  display: inline-flex; /* or flex */
  align-items: center;
  justify-content: center;
}

.thirdColor {
  color: var(--color3) !important;
}

.RegularFamily {
  font-family: var(--font-family);
  color: var(--text-color);
}

.UltraBoldFamily {
  font-family: var(--font-bold) !important;
  color: var(--text-color);
}

.mainColor {
  color: var(--color1) !important;
}

.slideItem {
  position: relative;
}

.myBorderBottom {
  border-left: 2px solid var(--color1) !important;
}

.vp50 {
  height: 500px !important;
}

.articleContainer {
  width: 100%; /* or any specific width */
  aspect-ratio: 16 / 9; /* Sets the aspect ratio to 16:9 */
  background-color: lightblue;
  overflow: hidden;
  border-radius: 10px;
  background-size: cover;
  background-repeat: no-repeat;
  position: relative;
}

.articleContainer > .flextext {
  position: absolute;
  width: 100%;
  /*height: 100%;*/
  left: 0;
  bottom: 0;
  color: white !important;
  background: linear-gradient(
    360deg,
    rgba(4, 14, 29, 0.6) 60%, 
    rgba(4, 34, 83, 0) 100%
  );
}

.itemSlide-1 > .flextext {
  position: absolute;
  width: 100%;
  /*height: 100%;*/
  left: 0;
  bottom: 0;
  background: linear-gradient(
    360deg,
    rgba(0, 159, 227, 0.9) 60%,
    rgba(4, 34, 83, 0) 100%
  );
}

.itemSlide-1 {
  background-size: cover;
  background-repeat: no-repeat;
}

.linkA {
  font-family: var(--font-bold) !important;
  color: var(--text-color) !important;
}

.uk-active > .linkA {
  font-family: var(--font-bold) !important;
  font-weight: 900;
  color: var(--color1) !important;
}

.topAndBottomRadius {
  border-radius: 40px !important;
}

.shippingCard {
  border-radius: 40px !important;
  background: transparent !important;
}

.shippingCard > .imageDiv {
  height: 200px;
  border-radius: 40px !important;
  background-image: url(./imgs/pavel-neznanov-HWxXicMV50I-unsplash.jpg);
  background-size: cover;
  background-position: center;
}

.rentalCard {
  border-radius: 40px !important;
  background: transparent !important;
}

.rentalCard > .imageDiv {
  height: 200px;
  border-radius: 40px !important;
  background-image: url(./imgs/logistics.webp);
  background-size: cover;
  background-position: center;
}
