
body {
	font-family: Comic Sans MS, Arial, Helvetica, sans-serif;
    background-color: #C7D8F2;
 	font-size: 14px; 
	color: darkblue;
	margin: 10px;
	user-select: none;
	-webkit-user-select: none;
	-moz-user-select: none;
	-ms-user-select: none;
}

#strona {
    position: relative;
	margin: auto; 
    /*max-width: 1024px;*/
    max-width: 1070px;
    width: 100%;
	background-image: url("images/tlo.jpg");
	border:1px solid darkblue;
	box-shadow: 0 0 20px rgba(0, 0, 0, 0.7);
}

#logo {
    position: absolute;
    top: 10%;
    left: 1%;
    max-width: 30%;
    height: auto;
    z-index: 999;
}

#logo img {
	width: 100%;
	height: auto;
	border-radius: 50%;
	box-shadow: 0 0 20px rgba(0, 0, 0, 0.7);
}

.logout {
    position: absolute;
    top: 25%;
	right: 1%;
    height: auto;
	width: auto;
    z-index: 998;
}
    
#naglowek {
	margin-top: 3px;
    width: 100%;
	font-size: clamp(6px, 3vw, 14px);
	font-style: italic;
	text-align: center;
}

#srodek {
    position: relative;
}
#srodek img {
	width: 100%; 
	height: auto;
	display: block;
}

#menu {
    position: absolute;
    bottom: 30px;
    left: 0;
    width: 100%;
	text-align: center;
    padding-bottom: 5px;
    justify-content: center;
	display: flex;
    flex-direction: row;
	flex-wrap: wrap; 
	gap: 20px 50px;
}

#janc {
    position: absolute;
    bottom: 0;
    width: 100%;
    text-align: center;
    padding: 7px;
	clear: both;
}
#janc a {
   color: white;
   font-size: 12px;
   font-weight: normal;    
   font-style: italic;
   text-decoration: none;
}
#janc a:hover {
    color: #FF0000;
}

#stopka {
    width: 100%;
    text-align: center;
    padding: 7px;
	clear: both;
}
#stopka a {
   color: darkblue;
   font-size: 12px;
   font-weight: normal;    
   font-style: italic;
   text-decoration: none;
}
#stopka a:hover {
    color: #FF0000;
}

.login-lightbox {
    display: none;
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0,0,0,0.5);
    z-index: 2000;
    justify-content: center;
    align-items: flex-start;
}




/* Styl dla button, identyczny jak w przykładowym label */
.custom-button, .ok, .cancel, .confirm, .close_upload {
    padding: 5px 20px !important; /* Wewnętrzny odstęp */
    background-color: #e6e6e6 !important; /* Kolor tła */
	border-top: 2px solid #fff !important; /* Ramka na górze */
    border-left: 2px solid #fff !important; /* Ramka po lewej */
	border-bottom: 2px solid #282828 !important; /* Ramka na dole */
    border-right: 2px solid #282828 !important; /* Ramka po prawej */
    border-radius: 5px !important; /* Zaokrąglone rogi */
    cursor: pointer !important; /* Kursor wskazujący */
    font-size: 12px !important; /* Rozmiar czcionki */
    color: darkblue !important; /* Kolor tekstu */
    font-weight: bold !important; /* Pogrubienie tekstu */
    text-align: center !important; /* Wyśrodkowanie tekstu */
    transition: background-color 0.3s, transform 0.1s !important; /* Płynne przejścia */
}

/* Efekt po najechaniu myszką */
.custom-button:hover, .ok:hover, .cancel:hover, .confirm:hover, .close_upload:hover {
    color: red !important;
}

/* Efekt po kliknięciu */
.custom-button:active, .ok:active, .cancel:active, .confirm:active, .close_upload:active {
	border-top: 2px solid #282828 !important;
    border-left: 2px solid #282828 !important;
	border-bottom: 2px solid #fff !important;
    border-right: 2px solid #fff !important;
}


/* Styl dla kontenera lightboxa logowania */
.login-lightbox-container {
    background: #f0f0f0;
    padding: 20px;
    border-radius: 10px;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.7);
    box-sizing: border-box;
    width: 300px;
    top: 20px;
    position: absolute;
    display: flex;
    flex-direction: column;
    align-items: center;
	text-align: center;
font-weight: bold;
color: red;

}


/* Styl dla kontenera przycisków w formularzu logowania */
.login-lightbox .login-buttons {
    display: flex;
    gap: 10px;
    justify-content: center;
}

/* Styl dla pól input w lightboxie logowania i wgrywania */
.login-lightbox input, .upload-lightbox input {
    padding: 8px;
    font-size: 14px;
    border: 1px solid darkblue;
    border-radius: 5px;
    width: 100%;
    box-sizing: border-box;
	font-family: Arial, sans-serif;
    color: darkblue;
    background-color: #fff;
}

.login-lightbox form {
    display: flex;
    flex-direction: column;
    gap: 10px;
    width: 100%;
}