body, html{
    font-family: 'Montserrat';
	  font-display: swap;
    height: 100%;
    margin: 0;
    padding: 0;
    display: flex;
    flex-direction: column;
}

h1, h2, h3, h4, h5, h6{ 
  margin-top: 24px;
  color: #835577;
}

a {
    text-decoration: none;
    color: #835577;
}

.content {
    flex-grow: 1;
    background-color: #efebef;
  }
  
.navbar {
    background-color: #57365C; /* Kolor tła navbaru */
}

.bar-color {
  background-color: #57365C; /* Kolor tła navbaru */
}

.nav-link {
  /*  font-size: small; */
}

.navbar-brand {
    display: flex;
    align-items: center;
  }

.navbar-brand-text {
    margin-left: 10px; /* Odstęp między logiem a tekstem */
    font-size: small;
}

.jumbotron {
    border-bottom: 4px solid #57365C;
    text-align: center;
    padding: 10px 0; /* Wewnętrzny odstęp dla treści jumbotronu */
    text-decoration: none !important;
    color: #595959;
}

.image-box {
  position: relative;
  width: 100%;
  min-height: 400px;
  padding-top: calc(100% * (100 / 250));
  border-bottom: 4px solid #57365C;
}

.image-cropped-calc {
  position: absolute;
  top: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.white-row {
    background-color: #ffffff;
    border-radius: 12px;
    padding: 0px 24px 0px 24px;
}

.white-row2{
  background-color: #ffffff;
  border-radius: 12px;
  padding: 12px 0px 12px 0px;
}

.card {
    display: flex;
    flex-direction: column;
    height: 100%;
  }

.card-body {
    flex-grow: 1;
  }

.card-img-container {
    position: relative;
    overflow: hidden;
  }
  
.card-img-container::before {
    content: "";
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(to bottom, rgba(32, 0, 0, 0), rgba(32, 0, 0, 0.2));
    z-index: 1;
  }
  
  .card-img {
    width: 100%;
    height: 100%;
    object-fit: cover;
  }

  .square-img-container {
    position: relative;
    width: 100%;
    padding-top: 100%; /* Ustala wysokość na 100% szerokości (kwadrat) */
    overflow: hidden;
}

.square43-img-container {
    position: relative;
    width: 100%;
    padding-top: 75%; /* Ustala wysokość na 75% szerokości (43) */
    overflow: hidden;
}

.square-img {
    position: absolute;
    width: auto;
    height: 100%;
    top: 0;
    left: 0;
    transition: transform 0.3s ease; /* Dodajemy przejście */
}

.object-cover {
    object-fit: cover;
}

.card-course-author {
    color: #C75670;
    font-size: small;
}

.card-course-title{
    color: #595959;
    font-weight: bold;
}

.card-course-desc{
    color: #595959;
    font-weight: light;
    

}

.category {
    color: #595959;
    margin-bottom: 0;
}

.page-image {
  height: 200px;
}

.page-content{
  background-color: #ffffff;
  padding: 20px;
  height: 100%;
}

.page-content a {
  color: #C75670; /* Ustaw kolor linków na niebieski */
}

.sidebar{
  border-left: thick #595959;
}

.blog-sidebar {
  color: #595959;
}

.blog-sidebar a {
  color: #595959;
}

.header-with-line {
  position: relative;
  display: inline-block;
}

.header-line {
  position: absolute;
  bottom: 0;
  left: 0;
  width: 100%;
  border-bottom: 4px solid #CCC;
}

.header1-line {
  position: absolute;
  bottom: 8px;
  left: 0%;
  width: 100%;
  height: 16px; /* wysokość linii */
  background-image: url('line-pattern-primary.png'); /* ścieżka do obrazka */
  background-repeat: repeat-x; /* powtarzanie tylko w poziomie */
  background-position: center; /* wyśrodkowanie w pionie */
  background-size: 50px; /* szerokość grafiki */
}

.header2-line {
  position: absolute;
  bottom: -6px;
  left: 10%;
  width: 80%;
  height: 16px; /* wysokość linii */
  background-image: url('line-pattern-secondary.png'); /* ścieżka do obrazka */
  background-repeat: repeat-x; /* powtarzanie tylko w poziomie */
  background-position: center; /* wyśrodkowanie w pionie */
  background-size: 36px; /* szerokość grafiki */
}

@font-face {
  font-family: 'Montserrat';
  font-style: normal;
  font-display: swap;
  font-weight: 100 900;
  src: url('/static/fonts/Montserrat-VariableFont_wght.ttf') format('truetype-variations');
}

.calendar-month td {
  width: 14.28%;
  justify-content: center;
  align-items: center;
}

.calendar-month tr {
  height: 60px;
}

.calendar-circle {
  width: 40px;
  height: 40px;
  display: flex;
  border-radius: 50%; /* Ustala kształt kółka */
  justify-content: center;
  align-items: center;
}

.calendar-circle:hover {
  border: 2px solid;
}

.toc {
  padding-left: 0;
  margin-left: 0.5rem;
  margin-right: 0.5rem;
  text-align: center;
  list-style: none;
  border: 2px solid #dee2e6;
  border-radius: 0 0 0.5rem 0.5rem;
}

.toc li {
  border-bottom: 1px solid #dee2e6;
}

.tom ul {
  
}

.toc_h2 {

}
.toc_h3 {

}
.toc_h4 {

}
.toc_h5 {

}
.toc_h6 {
  
}

.calendar-week {
  table-layout: fixed;
}

.calendar-week td {
  width: 12.5%;
  overflow: hidden;
}

.video-container {
  position: relative;
  padding-bottom: 56.25%; /* Proporcje 16:9 dla wideo */
  height: 0;
  overflow: hidden;
}

.video-container iframe {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
}

.underline_w {
    background-image: url('/static/img/slice4.png');
    background-repeat: repeat-x;
    height:50px;
}

.underline_g {
  background-image: url('/static/img/slice6.png');
  background-repeat: repeat-x;
  height:50px;
}

.part_style_box {
  padding: 1rem 1rem 1rem 1rem;
}

.part_style_box p {
  margin-top: 1rem;
}

.part_style_box_primary {
  background-color: #a3819180;
  border-left: 10px solid #a38191;
}

.part_style_box_secondary {
  background-color: #cccccc80;
  border-left: 10px solid #cccccc;
}

.part_style_box_success {
  background-color: #d0cd8980;
  border-left: 10px solid #d0cd89;
}

.part_style_box_danger {
  background-color: #ff888580;
  border-left: 10px solid #ff8885;
}

.part_style_box_warning {
  background-color: #ffce9280;
  border-left: 10px solid #ffce92;
}

.part_style_box_info {
  background-color: #83adc380;
  border-left: 10px solid #83adc3;
}

.part_style_box_light {
  background-color: #eeeeee80;
  border-left: 10px solid #dddddd;
}

.part_style_box_dark {
  background-color: #000000AA;
  border-left: 10px solid #000;
  color: #ffffff;
}

/* Pokaż elementy menu na małych rozdzielczościach */
@media (max-width: 768px) {
  .visible-sm {
    display: block !important;
  }
}

.thumb-container-50 {
  width: 50px;
  height: 50px;
  overflow: hidden;
  position: relative;
  display: flex;
  align-items: center;
  justify-content: center;
}

.thumb-container-75 {
  width: 75px;
  height: 75px;
  overflow: hidden;
  position: relative;
  display: flex;
  align-items: center;
  justify-content: center;
}

.thumb-container-75 img {
  width: 100%;
  height: auto;
}

.thumb-container-100 {
  width: 100px;
  height: 100px;
  overflow: hidden;
  position: relative;
  display: flex;
  align-items: center;
  justify-content: center;
}

.thumb-container-150 {
  width: 150px;
  height: 150px;
  overflow: hidden;
  position: relative;
  display: flex;
  align-items: center;
  justify-content: center;
}

@media (max-width: 767.98px) { /* Bootstrap breakpoint dla "md" */
  .thumb-container-150 {
    width: 75px;
    height: 75px;
  }
}

.thumb {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.thumb-icon {
  position: absolute;
  bottom: 5px;
  right: 5px;
  color: green; /* Możesz dostosować kolor ikony */
}

.mermaid-diagram svg { 
  max-width: 100% !important;
  width: 100% !important;
  height: auto;
}

.color-red {
  color: #C75670;
}

.avatar-placeholder-100 {
  background-color: #ffcf91; 
  color: #57365C;
  font-weight: bold;
  font-size: 32px;
  text-transform: uppercase;
  width: 100px;
  height: 100px;
}

.avatar-placeholder-50 {
  background-color: #ffcf91; 
  color: #57365C;
  font-weight: bold;
  font-size: 16px;
  text-transform: uppercase;
  width: 50px;
  height: 50px;
}

.avatar-placeholder-25 {
  background-color: #ffcf91; 
  color: #57365C;
  font-weight: bold;
  font-size: 10px;
  text-transform: uppercase;
  width: 25px;
  height: 25px;
}

.product-tile-row {
  padding-top: 0.75rem;
  padding-bottom: 0.75rem;
}

.page-color {
    background-color: #efebef;
}

.section-color {
    background-color: #dbd3dd;
}

.btn-eye:active {
  opacity: 0.5;
}