
   body {
	font-family: 'Montserrat', sans-serif;
	padding: 0px;
	color: rgb(11,58,111);
	background-color: #e9ecef;
 }

    select { margin-right: 10px; padding: 5px; }
    .no-results { color: red; }


	/* MAIN */

DIV.main-container {
  max-width: 1000px;
  margin: 0 auto;
  padding: 0 3px; /* Dodatkowy padding dla lepszego wyglądu na małych ekranach */
  box-sizing: border-box;
  position: relative;
}

	/* Lang */

#lang-selector {
    position: absolute;
    top: 15px;
    right: 15px;
    z-index: 10;
    display: flex;
    align-items: center;
    gap: 5px;
}
#lang-selector .filter-reset-button {
    padding: 5px 10px;
    font-size: 12px;
}

#lang-selector .lang-link {
    margin-left: 10px;
    text-decoration: none;
    color: #000;
    font-weight: bold;
}

@media (max-width: 500px) {
    #lang-selector {
        position: static;
        top: auto;
        right: auto;
        text-align: center;
        margin-bottom: 10px;
    }

    .ETI-toplogocontainer {
        text-align: center;
    }
}



/* Style dla kontenera przycisku powrót */

.button-container {
	padding-top: 15px;
    display: flex;
    flex-direction: column;
    gap: 10px;
    width: 100%;
}

/* Stylizacja przycisków i animacji */
.animated-button {
    display: block;
    width: 100%;
    padding: 12px 25px;
    text-decoration: none;
    color: white;
    font-weight: 700;
    border-radius: 8px;
    position: relative;
    overflow: hidden;
    white-space: nowrap;
    text-align: center;
    box-sizing: border-box;
    background: linear-gradient(to right, rgb(11, 58, 111) 50%, rgb(203, 0, 123) 50%);
    background-size: 200% 100%;
    background-position: left;
    transition: background-position 0.4s ease-in-out;
}

.animated-button:hover {
    background-position: right;
}




	/* nagłówek H1, H2, H3 */

	h1 {
  font-size: 30px;
  text-align: center;
  font-weight: bold;
}
	h2 {
  font-size: 20px;
}
	h4 {
  font-size: 20px;
  text-align: center;
}

@media (max-width: 500px) {
	h1 {
    font-size: 20px;
  }
	h2 {
    font-size: 15px;
  }
	h4 {
    font-size: 15px;
  }
}

	/* Top */

IMG.ETI-top-logo {
	padding-top: 5px;
	height: 45px;
	margin: 0;
	}

@media only screen and (min-width: 1010px) {
IMG.ETI-top-logo {
	height: 60px;
	}
}


DIV.ETI-first-product-title-line {
	width: 90%;
	height: 1px;
	margin: 10px auto 0 auto;
	background: rgb(203,0,123);
}


@media only screen and (min-width: 601px) {
  .filter-grid {
    display: flex;
    gap: 20px;
    margin-bottom: 20px;
    flex-wrap: wrap;
    align-items: flex-start;
  }
  .filter-column {
    display: grid;
    grid-template-columns: 150px 1fr;
    gap: 10px 12px;
    flex: 1 1 0;
    min-width: 240px;
    align-items: center;
  }
  .filter-column label {
    text-align: right;
    font-size: 14px;
    padding-right: 6px;
  }
  .filter-column select {
    width: 100%;
    padding: 8px;
    font-size: 14px;
    box-sizing: border-box;
  }
}

@media only screen and (min-width: 601px) {
  .filter-grid {
    display: flex;
    gap: 20px;
    margin-bottom: 20px;
    flex-wrap: wrap;
    align-items: flex-start;
  }
  .filter-column {
    display: grid;
    grid-template-columns: 150px 1fr;
    gap: 10px 12px;
    flex: 1 1 0;
    min-width: 240px;
    align-items: center;
  }
  .filter-column label {
    text-align: right;
    font-size: 14px;
    padding-right: 6px;
  }
  .filter-column select {
    width: 100%;
    padding: 8px;
    font-size: 14px;
    box-sizing: border-box;
  }
}

@media (max-width: 600px) {
  .filter-grid {
	display: flex;
    flex-direction: column;
    gap: 5px;
	margin-bottom: 20px; 
  }
  .filter-column {
    display: flex;
    flex-direction: column;
    gap: 5px;
  }
  .filter-column label {
    text-align: left;
    padding-right: 0;
  }

  .material-table table,
  .material-table thead,
  .material-table tbody,
  .material-table th,
  .material-table td,
  .material-table tr {
    display: block;
  }
  .material-table thead tr {
    position: absolute;
    top: -9999px;
    left: -9999px;
  }
  .material-table tr {
    border: 1px solid #ccc;
  }
  .material-table td {
    border: none;
    border-bottom: 1px solid #eee;
    position: relative;
    padding-left: 50%;
    text-align: right;
  }
  .material-table td::before {
    position: absolute;
    top: 6px;
    left: 6px;
    width: 45%;
    padding-right: 10px;
    white-space: nowrap;
    text-align: left;
    font-weight: bold;
    content: attr(data-label);
  }
}


  /* przycisk wyczyść */

.filter-reset-container {
  display: flex;
  justify-content: center;
  margin: 10px 0 20px 0;
  perspective: 800px; /* Perspektywa dla efektu 3D */
}

.filter-reset-button {
  background-color: rgb(11, 58, 111);
  color: white;
  border: none;
  padding: 8px 15px;
  border-radius: 5px;
  cursor: pointer;
  font-size: 14px;
  font-weight: bold;
  transition: all 0.3s ease-in-out;
  box-shadow: 0 4px 6px rgba(0, 0, 0, 0.2);
  transform: scale(1);
}

.filter-reset-button:hover {
  background-color: rgb(203, 0, 123);
  box-shadow: 0 8px 12px rgba(0, 0, 0, 0.3);
  transform: scale(1.05);
}



  /* wyświetlanie wyników */

.record-card {
  background: #fff;
  border-radius: 8px;
  box-shadow: 0 4px 10px rgba(0,0,0,0.1);
  padding: 15px;
  margin-bottom: 20px;
}

.record-title {
  font-size: 20px;
  font-weight: bold;
  margin-bottom: 15px;
}

.record-content {
  display: flex;
  gap: 20px;
  flex-wrap: wrap;
}


.record-image {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 10px;
  margin-bottom: 10px;
}

.record-image img {
  max-width: 100%;
  border-radius: 4px;
}

@media (max-width: 500px) {
  .record-content {
    flex-direction: column;
    gap: 10px;
  }
  .record-image {
    display: flex;
    flex-direction: column;
    gap: 10px;
  }

  .record-image img {
    max-width: 100%;
    height: auto;
  }
}

.alert-center {
  position: fixed;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  background-color: rgba(0, 0, 0, 0.8);
  color: white;
  padding: 15px 30px;
  border-radius: 5px;
  z-index: 1000;
  font-family: sans-serif;
  text-align: center;
  transition: opacity 0.5s ease-in-out;
  opacity: 0;
}

.alert-center.show {
  opacity: 1;
}


.btn-dwg {
  background-color: rgb(11, 58, 111);
  color: white;
  padding: 5px 10px;
  border: none;
  border-radius: 5px;
  cursor: pointer;
  text-decoration: none;
  display: inline-block;
  font-size: 14px;
  transition: all 0.3s ease-in-out;
  box-shadow: 0 4px 6px rgba(0, 0, 0, 0.2); /* Początkowy cień */
  transform: scale(1);
}

.btn-dwg:hover {
  background-color: rgb(203, 0, 123);
  box-shadow: 0 8px 12px rgba(0, 0, 0, 0.3); /* Głebszy cień po najechaniu */
  transform: scale(1.05); /* Wysunięcie w dwóch płaszczyznach */
}

.record-params {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 10px 20px;
  flex: 1;
}

.param {
  font-size: 14px;
}

.param span {
  font-weight: bold;
}

/* RESPONSYWNOŚĆ PARAMETRÓW */
@media (max-width: 800px) {
  .record-params {
    grid-template-columns: 1fr;
  }
}

@media (max-width: 500px) {
  .record-content {
    flex-direction: column;
  }
  .record-params {
    grid-template-columns: 1fr;
	gap: 5px;
  }
}

/* TABELA RESPONSYWNA */
 .material-table {
      margin-top: 25px;
      overflow-x: auto;
    }

    .material-table h4 {
      display: flex;
      align-items: center;
      gap: 10px;
      margin-bottom: 15px;
    }

    .material-table table {
      width: 100%;
      border-collapse: collapse;
      text-align: left;
    }

    .material-table th,
    .material-table td {
      padding: 12px;
      border-bottom: 1px solid #ddd;
    }

    .material-table th {
      background-color: #f7f7f7;
      font-weight: 700;
      color: #0b3a6f;
      text-transform: uppercase;
      font-size: 12px;
      white-space: nowrap;
    }

@media (max-width: 600px) {
  .material-table table,
  .material-table thead,
  .material-table tbody,
  .material-table th,
  .material-table td,
  .material-table tr {
    display: block;
  }
  .material-table thead tr {
    position: absolute;
    top: -9999px;
    left: -9999px;
  }
  .material-table tr {
    border: 1px solid #ccc;
  }
  .material-table td {
    border: none;
    border-bottom: 1px solid #eee;
    position: relative;
    padding-left: 50%;
    text-align: right;
  }

  .material-table td, .material-table th {
       font-size: 11px;
   }

  .material-table td::before {
    position: absolute;
    top: 6px;
    left: 6px;
    width: 45%;
    padding-right: 10px;
    white-space: nowrap;
    text-align: left;
    font-weight: bold;
    content: attr(data-label);
  }
}

/* przycisk skopiuj do schowka */

.copy-bom-btn {
  background-color: rgb(11, 58, 111); /* Domyślny kolor tła */
  color: white;
  border: none;
  padding: 5px 10px;
  border-radius: 4px;
  cursor: pointer;
  font-size: 12px;
  margin-left: 10px;
  transition: all 0.3s ease-in-out;
  box-shadow: 0 4px 6px rgba(0, 0, 0, 0.2); /* Początkowy cień 3D */
  transform: scale(1);
}

.copy-bom-btn:hover {
  background-color: rgb(203, 0, 123); /* Kolor po najechaniu myszką */
  box-shadow: 0 8px 12px rgba(0, 0, 0, 0.3); /* Głebszy cień po najechaniu */
  transform: scale(1.05); /* Wysunięcie w dwóch płaszczyznach */
}

/* info pod wyszukiwaniem */

.ETI-info {
  padding: 20px;
  color: rgb(11,58,111);
  font-size: 16px;
  line-height: 1.5;
  text-align: left;
}

/* Footer */

.bottomfooter {
	padding-top: 5px;
	padding-bottom: 5px;
	text-align: center;
	}
.bottom-footer-image{
	width:100%;
	text-align: center;
	}

DIV.footer-line {
	width: 80%;
	height: 1px;
	margin-top: 10px;
	margin-left: auto;
	margin-right: auto;
	background: rgb(203,0,123);
}

IMG.footer-slogan-image {
	width: 50%;
	padding-top: 10px;
	padding-bottom: 10px;
}

@media only screen and (min-width: 600px) {
IMG.footer-slogan-image {
	width: 30%;
	padding-top: 15px;
	}
}



/* Tekst opisowy */



.documentation-section {
        margin-top: 30px;
        padding: 20px;
        background-color: #f8f9fa;
        border-radius: 8px;
    }

    .documentation-section h2 {
        color: rgb(11, 58, 111);
        font-size: 24px;
        margin-bottom: 15px;
        border-bottom: 2px solid rgb(203, 0, 123);
        padding-bottom: 10px;
    }

    .documentation-section p {
        font-size: 16px;
        line-height: 1.6;
        margin-bottom: 15px;
    }

    .documentation-section img {
        display: block;
        max-width: 100%;
        height: auto;
        margin: 20px auto;
        box-shadow: 0 4px 8px rgba(0,0,0,0.1);
        border-radius: 4px;
    }

    .documentation-section .image-caption {
        text-align: center;
        font-style: italic;
        font-size: 14px;
        color: #6c757d;
        margin-top: 5px;
    }

    .note-box {
        background-color: #e9ecef;
        border-left: 5px solid rgb(11, 58, 111);
        padding: 15px;
        margin: 20px 0;
        border-radius: 4px;
    }

    .note-box h4 {
        margin-top: 0;
        color: rgb(11, 58, 111);
    }
	
	
	.documentation-section img[src*="rys1.png"] {
    width: 70%;
}
	
	
	.documentation-section img[src*="rys3.png"] {
    width: 70%;
}