
/* Kolumny z artykułami */
.article {
    flex: 0 0 25%;  /*Każda kolumna ma 25% szerokości */
    padding: 20px 10px;
    padding-bottom: 0;
/*     background-color: #d6d3d3; */
    background-attachment: fixed; /* Tło nie będzie się przesuwało podczas przewijania */
   /*  font-size: 0.9em; */
    box-shadow: 0 0 10px rgba(0, 0, 0, 0.1); 
}

/* wybrany artykuł - top-article */
.main-top-article{
    width: 100%;
    /* box-shadow: 0 0 10px rgba(0, 0, 0, 0.1) */
}

.main-top-article h2{
    padding: 15px; 
    margin-top: 10px
}

.main-top-article h3{
    padding: 15px; 
    margin-bottom: 10px
}

.main-top-article h4{
    padding: 5px; 
    font-weight: normal;
    color: #666; 
    font-size: 0.8em
}

.main-top-article ol, .main-top-article ul{
    margin-left: 30px
}
.article-top{
    flex: 2; 
    justify-content: center;
   /*  padding: 20px */
}
.do-gory{
    text-align: right;
    margin-bottom: -20px   
}
.article-top .div-img{
    display: flex;
   /*   float: left;   */
}

.article-top .div-img img{
    padding: 5px; 
    border: 1px solid #666; 
    border-left: 0; 
    border-top: 0; 
    margin: 5px;
}

.article-top .div-tresc{
    line-height: 1.4;
}
.div-tresc p{
    padding: 5px;
    margin: 5px;
    text-indent: 30px;
}

.div-tresc div img{ /* obrazek w nagłówku */
   /*  padding: 0 10px 10px 0; */
    filter:drop-shadow(2px 2px 4px #666);
    max-width: 100%
}

.article-top .div-tresc table{
    margin: 20px auto;

}
.article-top .div-tresc table:not(:has(img)), 
.article-top .div-tresc td:not(:has(img)), 
.article-top .div-tresc th:not(:has(img)) {

    border: 1px solid #666;
    border-collapse: collapse;
    padding: 10px
}
.article-top .div-tresc table td table th{
    padding: 10px
}



.article-top .div-tresc table img{
    box-shadow:3px 3px 5px #666;
    width: 100%;
    height: auto;
}

.article-t{
    width:100%;
 /*    margin: 30px; */
    box-shadow: 2px 2px 3px #666;
    width: 100%;
    background-color: #fff;  /* Tło białe */
    color: #333;  /* Kolor tekstu */
}
.article-t caption{
    padding: 20px
}
.article-t, .article-t th, .article-t td{

        border: 1px solid #ccc;  /* Szary border */ 
        border-collapse: collapse;
} 
.article-t th{
    padding: 10px
}
/* następny art */
.div-nav{

    display: flex; 
    justify-content: space-between;
    border-top: 3px solid #3C6DA8;
    border-bottom: 3px solid #3C6DA8;
    padding: 15px 0;
    margin: 10px 0
}

.div-nav .left{
    flex: 1
}

.div-nav .right{
    flex: 1; 
    text-align: right
}
/* Stylizacja dla artykułów */
.post {
/* font-family: "Open Sans", sans-serif !important;  */ 
background-color: white;
padding: 20px;
margin-bottom: 20px;
border: 1px solid #d4d4d4;
transition: transform 0.3s ease, box-shadow 0.3s ease;
}
.post a[href*="facebook.com"] {
    background: url('/img/design/fb_link.png') no-repeat center;
    display: inline-block;
    width: 92px;
    height: 25px;
    text-indent: -9999px; /* Ukrycie tekstu */
    background-size: cover;
    filter: drop-shadow(2px 2px 4px #666);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}
.post a[href*="facebook.com"]:hover{
    transform: translate(-5px, -3px) scale(1.1); 
}
/* Tytuł artykułu */
.post-title {
    font-size: 1.8em;
    padding: 15px; 
    border-bottom: 2px solid #a8a8a8;
    margin-bottom: 10px;  
    transition: 0.5s;
	line-height: 1.3	

}
.post-title:hover{
  /*   background-color: rgba(236, 162, 0, 0.767); */
}
.post > h2{ /* tytuł artykułu */
    font-size: 1.3em
}

/* Data publikacji */
.post-date {
font-size: 0.5em;
color: #777;
/* margin-bottom: 20px; */
text-align: left;
}
.post-date .fa{
    font-size: 1.4em;
    margin: 5px;
    margin-bottom: 0;
    font-weight: normal;
}
/* Stylizacja kontenera z obrazem */
.post-image-container {
display: flex;
justify-content: center;
margin-bottom: 20px;
width: 100%
}

/* Tekst artykułu */
.post-text {
    font-size: 1em;
    line-height: 1.6;
    color: #555;
    margin-bottom: 20px;
    }
/*  */

.post-image-container {
    display: inline-block;
    position: relative;
}

.post-image-link {
    display: block;
    position: relative; /* Potrzebne, by nadawało się tło */
}
.post-image-link{
    display: block;
    padding: 0;
}
.post-image {
    display: block;
    max-width: 100%;
    height: auto;
    transition: opacity 0.3s ease; /* Dodajemy animację dla płynnego efektu */
}

/* Efekt hover na linku otaczającym obrazek */
.post-image-link:hover {
    background-color: rgba(236, 161, 0, 0.774);
}

.post-image-link:hover img {
    opacity: 0.5; /* Zmienia przezroczystość obrazka */
}

/* Tekst "Więcej" */
.more-text {
    position: absolute;
    top: 50%; /* Wyśrodkowanie w pionie */
    left: 50%; /* Wyśrodkowanie w poziomie */
    transform: translate(-50%, -50%); /* Dokładne wyśrodkowanie */
    font-size: 1.5rem; /* Rozmiar czcionki */
    color: rgb(240, 236, 236); /* Kolor tekstu */
    opacity: 0; /* Początkowo niewidoczny */
    transition: opacity 0.3s ease, transform 0.3s ease; /* Efekt pojawiania się i przesunięcia */
}

/* Pokazanie tekstu po najechaniu */
.post-image-link:hover .more-text {
    opacity: 1; /* Tekst staje się widoczny */
    transform: translate(-50%, -50%) scale(1.1); /* Dodajemy efekt powiększenia */
}


/*  */
/* style dla kadry */
fieldset{
    margin: 5px;
    padding: 20px;
    /* box-shadow: 2px 2px 3px #666; */
    transition: 0.5s
}

legend{
    padding: 10px;
    font-weight: 700;
}
fieldset:hover{
    background-color: rgba(120,120,120,0.1);
}
 /* Styl dla linku */

 a.show-more, a {
    color: #005f9e;
    text-decoration: none;
    font-weight: bold;
    position: relative;
   /* padding: 5px 10px;*/
   padding: 2px;
    transition: color 0.3s ease, background-color 0.3s ease;
    font-size: 1.1em;
}

/* Podstawowa animacja koloru */
a.show-more:hover {
    color: #003d6b;
    background-color: rgba(236, 162, 0, 0.767);/* Subtelne podświetlenie */
}

/* Dekoracja podkreślenia */
a.show-more::after, a::after {
    content: "";
    position: absolute;
    left: 0;
    bottom: -3px;
    width: 100%;
    height: 2px;
    background-color: #005f9e;
    transition: transform 0.3s ease;
    transform: scaleX(0);
    transform-origin: right;
}

#nav-absolwent{
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 5px;
    border: 1px solid #aaa;
    padding: 5px;
    box-shadow: 2px 2px 3px #000;
}
#form-absolwent{
    display: flex;
    width: 100%;
    padding: 20px;
}
#form-absolwent #pp1{/* pole wyszukiwania absolwenta */
    width: 100%;
    padding: 10px;  /* Dodanie przestrzeni wewnętrznej */
    border: 1px solid #ccc;  /* Szary border */
    border-radius: 5px;  /* Zaokrąglone rogi */
    font-size: 16px;  /* Większy rozmiar czcionki */
    background-color: #fff;  /* Tło białe */
    color: #333;  /* Kolor tekstu */
    cursor: pointer;  /* Zmieniamy kursor na wskaźnik */
    transition: border-color 0.3s ease;  /* Płynne przejście przy zmianie koloru border */
}
#alfabet{
    padding: 20px 0;
    font-size: 1.1em;
}
/* Efekt focus na select */
#form-absolwent #pp1:focus {
    border-color: #007BFF;  /* Kolor niebieski po kliknięciu */
    outline: none;  /* Usuwamy niebieską ramkę, która pojawia się domyślnie w niektórych przeglądarkach */
}
/* Animacja pojawienia się linii przy najechaniu */
a.show-more:hover::after, a:hover::after {
    transform: scaleX(1);
    transform-origin: left;
}
/* pozostałe wszystkie linki  */
a{
    text-decoration: none;
    color: brown;
    font-weight: bold;
    font-size: 1em
 }

 a::after {
    background-color: brown;

} 
#czarnek table, #czarnek th, #czarnek td{
    border: 1px solid black;
    border-collapse: collapse
}
#czarnek td{
    padding: 5px
}
#czarnek th{
    padding: 10px;
    background-color: #ccc
}
#czarnek tr:nth-child(even){
    background-color: #eee
}
#czarnek tr{
  transition: 0.3s
}
#czarnek tr:hover{
  background-color: rgba(236, 162, 0, 0.767);
}
#czarnek caption{
    font-size: 0.9em;
    padding: 5px
}

#czarnek{
 display: flex;
 align-items: center;
 flex-direction: column;
}

caption > div{
font-size: 0.8em
}

#czarnek .dyzur{
   background-color: rgba(0,255,0,0.3) !important; font-weight: 600
}

#div-kierunki{
    display: flex; 
    gap: 10px; 
    align-items: flex-start;
}
#div-kierunki div{/* pojemnik z logo kireunku */
    flex: 1;
}
#div-kierunki p{ /* opis kierunki wstęp */
    flex: 3
}
#div-kierunki > div img{
    width:100%;
    filter: drop-shadow(2px 2px 4px rgba(0,0,0,0.3));
}