/*body * { border: 1px solid red; }*/

a,
a:focus,
a.active {
    outline: none;
    text-decoration: none;
    color: #5d0a16;
}

a:hover {
    outline: none;
    text-decoration: none;
    /*color: #bf7680;*/
    color: #5d0a16;
}

body {
    /*background: #0c0c0c;*/
    background: white;
    margin: 0 auto 0 auto;
    background-color: white;
    /*background-color: #201f1e;*/
    min-height: 120%;
    min-width: 410px;
}

.btn-outline {
  border: 2px solid black;
  background-color: white;
  color: black;
  padding: 8px 8px;
  font-size: 16px;
  cursor: pointer;
}

.spacer {
    margin-top: 40px;
}

/* Green */
.success {
  border-color: #4CAF50;
  color: green;
}

.success:hover {
  background-color: #4CAF50;
  color: white;
}

/* Blue */
.info {
  border-color: #2196F3;
  color: dodgerblue
}

.info:hover {
  background: #2196F3;
  color: white;
}

/* Orange */
.warning {
  border-color: #ff9800;
  color: orange;
}

.warning:hover {
  background: #ff9800;
  color: white;
}

/* Red */
.danger {
  border-color: #f44336;
  color: red
}

.danger:hover {
  background: #f44336;
  color: white;
}

/* Gray */
.default {
  border-color: #e7e7e7;
  color: black;
}

.default:hover {
  background: #e7e7e7;
}

.wyd-kaf {
    display: block;
    min-height: 55px;
    margin: 10px;
    width: 100%;
    vertical-align: top;
}

.wyd-kaf .data {
    display: inline-block;
    text-align: right;
    padding-right: 5px;
    border-right: 3px solid #5d0a16;
    height: 50px;
    width: 85px;
}

.wyd-kaf .dzien{
    display: inline-block;
    font-family: Arial, "Kaushan Script", "Helvetica Neue", Helvetica,  cursive;
    font-size: 20px;
    font-weight: 900;
    color: #5d0a16;
}

.wyd-kaf .dni {
    font-family: Arial, "Kaushan Script", "Helvetica Neue", Helvetica,  cursive;
    font-size: 10px;
    font-weight: 700;
    color: #5d0a16;
}

.vcenter {
    margin: auto;
}

.wyd-kaf .kategoria {
    display: inline-block;
    vertical-align: center;    
}

.wyd-kaf .kategoria {
    display: inline-block;
    vertical-align: top;
    margin: 10px 25px 0px 5px;
}

.wyd-kaf .kategoria img {
    width: 30px;
    height: 30px;
}

.wyd-kaf h2 {
    display: inline-block;
    vertical-align: top;
    margin: 0px;
    height: 100%;
    width: 55%;
    font-size: 25px;
    overflow: hidden;
    text-overflow: ellipsis;
}

.wyd-kaf .kategoria .tooltiptext {
    visibility: hidden;
    width: 120px;
    background-color: grey;
    color: #fff;
    text-align: center;
    border-radius: 3px;
    padding: 2px 0;
    position: absolute;
    transform: translate(-30px, 32px);
    z-index: 1; 
}

.wyd-kaf .kategoria:hover .tooltiptext {
    visibility: visible;
}

.nazwa-sekcji {
    display: block;
    font-family: Arial, "Kaushan Script", "Helvetica Neue", Helvetica,  cursive;
    font-size: 31px;
    font-weight: 900;
    color: black;
    margin-top: 41px;
}

.nazwa-sekcji p {
    display: inline-block;
    background: white;
    position: relative;
    z-index: 25;
    padding: 0px 20px;
}

.nazwa-sekcji p {
    margin-right: 10%;
}

.nazwa-sekcji p:nth-child(odd) {
    margin-left: 10%;
}

.nazwa-sekcji::after {
    width: 100%;
    content: '';
    height: 2px;
    display: block;
    position: relative;
    transform: translate(0, -30px);
    border-bottom: 3px solid #bf7680;
    z-index: 15;
}

.kont-shadow {
    background: white;
    -webkit-box-shadow: 0px 16px 43px -26px rgba(0,0,0,0.42);
    -moz-box-shadow: 0px 16px 43px -26px rgba(0,0,0,0.42);
    box-shadow: 0px 16px 43px -26px rgba(0,0,0,0.42);
    margin: 20px 0px;
    padding: 20px 30px;
}

.bg-gray {
    background-color: #f7f7f7;  /* Jasnoszare tło */
}

.kaf-main {
    display: block;
    position: relative;
    height: 80px;
    width: 100%;
    max-width: 200px;
    min-width: 139px;
    background: white;
    -webkit-box-shadow: 0px 16px 43px -26px rgba(0,0,0,0.42);
    -moz-box-shadow: 0px 16px 43px -26px rgba(0,0,0,0.42);
    box-shadow: 0px 16px 43px -26px rgba(0,0,0,0.42);
    margin: 20px 0px;
    padding: 4px 5px;
    font-weight: 900;
    font-size: 12px;
    text-align: right;

}

.zdj-edycja {
    position: relative;
    padding: 20px;
}

.zdj-edycja a {
    position: absolute;
    top: 25px;
    right: 25px;
    padding: 10px;
}

.kaf-main-group {
    padding-top: 80px;
}

.kaf-main span {
    font-size: 22px;
    font-weight: 900;
    display: block;
    width: 100%;
}

.kaf-main p {
    font-size: 8px;
    font-weight: 500;
    color: gray;
    font-style: italic;
}

.winnice-main {
    border-right: 6px solid #5d0a16;
}

.szlaki-main {
    /*border-left: 6px solid blue;*/
    border-right: 6px solid #5d0a16;
}

.regiony-main {
    /*border-left: 6px solid green;*/
    border-right: 6px solid #5d0a16;
}

.enostat-main {
    border-right: 6px solid gray;
    /*border-right: 6px solid #5d0a16;*/
    color: gray;
}

.news-item a {
    font-size: 18px;
    font-weight: 500;
    display: block;
}

.news-item::after {
    margin-top: 45px;
    content: '';
    display: block;
    width: 70%;
    position: relative;
    bottom: 0;
    left: 50%;
    margin-left: -40%;
    height: 1px;
    background: -webkit-radial-gradient(center, ellipse, rgba(0,0,0,0.2) 0, rgba(255,255,255,0) 75%);
    background: radial-gradient(ellipse at center, rgba(0,0,0,0.2) 0, rgba(255,255,255,0) 75%);
}

.news-item .metadane {
    font-size: 10px;
    font-style: italic;
    color: grey;
}

.news-item b {
    font-size: 15px;
    font-style: normal;
    color: black;

}
.news-item .header {
    padding-bottom:18px;
}

.newsCaption {
    position: relative;
    top: 20px;
	width: 100%;
	text-align: center;
    font-size: 30px;
    text-transform: uppercase;
    color: black;
}

.refsCaption {
    position: relative;
    top: 20px;
	width: 100%;
    text-transform: uppercase;
	text-align: center;
    font-size: 30px;
    color: black;
}

.podtyt {
    font-size: 21px;
    font-weight: 600;
    color: black;
    margin-top: 20px;
    font-style: italic;
}
.row-bordered {
    padding: 25px;
    vertical-align: middle;
}

.row-bordered::before {
    content: '';
    margin-left: -20px;
    float: left;
    display: inline-block;
    width: 1px;
    position: relative;
    bottom: 0;
    height: 20%;
    background: -webkit-radial-gradient(center, ellipse, rgba(0,0,0,0.2) 0, rgba(255,255,255,0) 95%);
    background: radial-gradient(ellipse at center, rgba(0,0,0,0.2) 0, rgba(255,255,255,0) 95%);
}

.row-bottom-bordered::before {
    content: '';
    display: block;
    width: 80%;
    position: relative;
    bottom: 0;
    left: 50%;
    margin-top: 10px;
    margin-bottom: 10px;
    margin-left: -40%;
    height: 1px;
    background: -webkit-radial-gradient(center, ellipse, rgba(0,0,0,0.2) 0, rgba(255,255,255,0) 75%);
    background: radial-gradient(ellipse at center, rgba(0,0,0,0.2) 0, rgba(255,255,255,0) 75%);
}

.reg-show-cont {
    position: relative;
    max-width: 800px;
    min-height: 400px;
    height: 100%;
    background-repeat: no-repeat;
    background-size: cover;
    background-position: center;
    margin: 10px auto;
}

.reg-show-cont .opis-reg-zajawka {
    min-height: 20%;
    width: 100%;
    max-width: 800px;
    position: absolute;
    bottom: 0px;
    padding: 5px 5px 12px 5px;
    color: white;
    background-color: rgba(0,0,0, 0.6);

}

.opis-reg-zajawka h3 {
    font-size: 20px;
    font-weight: 700;
    margin-left: 12px;

}

#link-do-reg {
    display: block;
    text-align: right;
    margin: 15px 20px ;
    font-style: italic;
}

.font-weight-bold {
    font-weight: 700;
}

.bg-dark {
    background: black;
    color: white
}

.navbar-brand {
    height: 60px;
    display: block;
    vertical-align: middle;
}
.nav-logo {
    height: 60px;
    display: block;
    vertical-align: middle;
}

.nav-down {
    font-size: 18px;
    font-weight: 700;
}

 .navbar {
  min-height: 40px;
}

.navbar-brand {
  padding: 10 15px;
  height: 40px;
  line-height: 20px;
}

.navbar-toggle {
  /* (80px - button height 34px) / 2 = 23px */
  margin-top: 23px;
  padding: 12px 10px !important;
}

@media (min-width: 768px) {
  .navbar-nav > li > a {
    /* (80px - line-height of 27px) / 2 = 26.5px */
    padding-top: 6.5px;
    padding-bottom: 6.5px;
    line-height: 20px;
  }
}

.top {
    position: fixed;
    top: 0px;
    left: 0px;
    right: 0px;
    z-index: 99999;
    min-height: 80px;
}

.page-top {
    margin: 30px;
    position: relative;
    display: block;
}

.spacja {
    margin-top: 15px;
}

.patroni-imgs {
    height: 100%;
    min-height: 200px;
    display: block;
}

.patroni-imgs img {
    margin: auto auto;
    display: block;
    width: 90%;
    max-width: 230px;
    max-height: 200px;
}

.page-footer .wh {
    color: white;
}


.desc-cont {
    display: flex;
}

.desc-cont .desc-title {
    font-weight: 700;
    font-size: 10pt;
    color: #5d0a16;
}

.desc-cont .desc-val {
    flex: 1;
    margin-left: 20px;
}

.desc-cont .break {
  flex-basis: 100%;
  height: 0;
}

@media print {
    .row {
        display: flex; /* Umożliwia flexbox */
        flex-wrap: wrap; /* Pozwala na owinięcie wierszy */
    }
    
    .print-col {
        flex: 0 0 30%; /* Ustala szerokość kolumny na 50% */
        box-sizing: border-box; /* Zapewnia, że padding i margines są wliczane w szerokość */
        padding: 0px; /* Opcjonalnie, aby dodać trochę odstępu */
    }

    .leaflet-container-default { 
        max-height: 400px;
    }
    
    /* Usunięcie marginesów i paddingów dla druku */
    body {
        margin: 0;
        padding: 0;
    }
}
