html {
    scroll-behavior: smooth;
}
body{
	position: relative;
	min-height: 100vh;    
}

body a:link, body a:visited, body a:active {
	min-height: 100%;
	text-decoration: none;
	transition: color .2s;
}
header{
	/*background-color: #010812;*/
}
.section{
	/*padding-top: 90px;*/
	max-width: 100vh;

	
}
footer{
	/*position: relative;
	bottom: 40px;
	z-index: 2000;
	height: 0px;
	width: 100%;
	text-align: right;
	*/
	position: fixed;
	bottom: 0;
	z-index: 2000;
	height: 25px;
	width: 100%;
	text-align: right;
	
}
section{
	position: relative;
	/*padding-top: 20px;*/
	
	padding-bottom: 100px;
}

.modal-dialog-wide {
    max-width: 90%; /* Dostosuj szerokość do swoich potrzeb */
}

#menu-bar {
	position: fixed;
	width: 100%;	
	z-index: 1010;

	
	/*background-color: #010812*/;
}
.menu-button{
	position: relative;
	cursor: pointer;
	padding: 10px 30px;
	width: 85px;
	transition: .3s;
	
}

@media (min-width: 768px) {
    .menu-button {
        /*filter: drop-shadow(0 0 10px #00b3ff) drop-shadow(0 0 20px #00b3ff) drop-shadow(0 0 40px #00b3ff);*/
    }
}

.menu-button a:link, .menu-button a:visited, .menu-button a:active {
	position: relative;
	color:white;
}
#menu-button-right{
	float: right;
}
.menu-button-ornament::before{
  	content: "";
  	position: absolute;
  	left: 0;
  	bottom: 0;
  	height: 2px;
  	width: 0;
  	background-color: white;
  	transition: width 0.2s ease-out;
}
.menu-button-ornament-end::before{
  	content: "";
  	position: absolute;
  	right: 0;
  	bottom: 0;
  	height: 2px;
  	width: 0;
  	background-color: white;
  	transition: width 0.2s ease-out;
}
.menu-button-ornament:hover::before, .menu-button-ornament-end:hover::before{
  	width: 100%;
}


#menu-toggle{
	position: fixed;
	top: 0;
	z-index: 5005;
	min-height: 100vh;
	width: 100%;
	right: 105%;
}
#menu-toggle-exit{
	position: fixed;
	width: 100%;
	top: 0;
    right: 105%;
	/*z-index: 1000;*/
}

#menu{
	min-height: 100vh;
	color: white;
    display: flex;
    flex-wrap: wrap; /* Pozwala ikonom przechodzić do kolejnej linii */
    justify-content: space-evenly;
    align-items: flex-start; /* Wyśrodkuj ikony w pionie */
    align-content: space-evenly;
    padding: 60px 0;
}
/*.menu-element{
	height: ;
}*/

.icon {
    margin: 10px; /* Dodaj odstęp między przyciskami/menu elementami */
    text-align: center; /* Wyśrodkuj tekst wewnątrz przycisku/menu elementu */
    width: 100px; /* Dostosuj szerokość przycisku/menu elementu */
    overflow: hidden;
}

@media (min-width: 768px) {
    .icon {
        width: 200px
    }
}

.icon a {
    text-decoration: none; /* Usuń podkreślenie linku */
    color: white; /* Kolor tekstu */
}



.notification{
	text-wrap:balance;
	position: fixed;
	width: 90vw;
	max-width: 400px;
	z-index: 2000;
	text-align: center;
	top:30vh;
	left: 50%;
	transform: translateX(-50%) translateY(-50%);
	cursor: pointer;
	padding: 15px;
	border-radius: 10px;
	font-size: 1.2em;
	-webkit-box-shadow: 8px 8px 24px 0px rgba(66, 68, 90, 1);
	-moz-box-shadow: 8px 8px 24px 0px rgba(66, 68, 90, 1);
	box-shadow: 8px 8px 24px 0px rgba(66, 68, 90, 1);
}
.notification::after {
	content: '×';
	position: absolute;
	font-size: 1.2em;
	top: -5px;
	right: 0;
	padding: 0px 6px;
}
#notification_success{
	background: linear-gradient(#00AF54, #059664, #00AF54);
	color: white;
}
#notification_fail{
	background: linear-gradient(#e53935, #D63535, #e53935);
	color: white;
}
#notification_info{
	background-color: #2E4057;
	color: white;
}

.popup{
	display: none;
	position: fixed;
	width: 90vw;
	max-width: 400px;
	z-index: 2000;
	text-align: center;
	top:30vh;
	left: 50%;
	transform: translateX(-50%) translateY(-50%);
	padding: 15px;
	border-radius: 10px;
	font-size: 1.2em;
	-webkit-box-shadow: 8px 8px 24px 0px rgba(66, 68, 90, 1);
	-moz-box-shadow: 8px 8px 24px 0px rgba(66, 68, 90, 1);
	box-shadow: 8px 8px 24px 0px rgba(66, 68, 90, 1);
}



#padding-under-menu{
	position: relative;
	top:0;
	height: 70px;
	opacity: 0;
	
}

#small_logo {
	padding: 14px;

}
#small_logo img{
	height: 50px;

}
#wyloguj{

	position: absolute;
	height: 0px;
	overflow: show;
	margin-right: 0px;
	right: 0;
	top:10px;
	
	
}
.light-up{
	cursor: pointer;
}

/*
	START
*/

	#section-logo{
		perspective: 1000px;
	    position: absolute;
	    top:0;
	    left: 0;
	    margin: 0;
	    height: 100%;
	    max-height: 100vh;
	    width: 100%;
	    background-color: #030920;
	    
	    overflow: hidden;
	}
	#logo{
	    position: relative;
	    top: 30vh;
	    transform: translateY(-50%);
	    text-align: center;
	    text-wrap:balance;
	    padding: 10vh;

	    letter-spacing: 0.2em;
	    color:white;
	    text-shadow: 0 0 10px #00b3ff, 0 0 20px #00b3ff, 0 0 40px #00b3ff;
	    font-family: "Quicksand", sans-serif;
	    font-optical-sizing: auto;
	    font-weight: 100;
	    font-style: normal;
	    overflow: hidden;
	    cursor: default;
	}

/*
	LOGOWANIE
*/


	#logowanie{
		position: absolute;
	    top:0;
	    left: 0;
	    margin: 0;
	    height: 100%;
	    max-height: 100vh;
	    width: 100%;
	    background-color: #030920;
	    /*background-color: yellow;*/
	    overflow: hidden;
	}
	#logowanie-form{
		position: relative;
		top: 50vh;
		max-width: 600px;
	    transform: translateY(-50%);
	    /*background-color: darkgreen;*/
	}
	.logowanie_forms_labels{ 
		position: absolute;
		
    	z-index: 1000; /* Sprawia, że element jest nad innymi elementami */
	    color: white;
	    top: -2px;
	    left: 20px;
	    background-color:  #030920;
	    padding: 0 10px;
	    border-radius: 4px;
	    text-shadow: 0 0 2px #00b3ff;
	}
	.logowanie_forms_inputs{
		width: 100%;
		outline: red;
		padding: 15px;
		border: 2px solid white;
	    background:#030920;
	    font-size: 1.1em;
	    border-radius: 10px;
	    color: white;
	}
	.logowanie-button{
		text-align:center;
		color:white;
	}
	.text-danger{
		padding: 0 0 0 30px;
	}
	#form_logowanie_button{
		border: 2px solid white;
	    color: white;
		background-color: transparent; 
	}
/*
	SKANER
*/


#scanner-part1{
	position: relative;
	padding: 0;
	max-width: 96vw;
	margin: 5px auto;

	
	border: 2px solid grey;
	border-radius: 15px;
	padding: 0 5px;
}

@media (min-width: 768px) {
    #scanner-part1 {
    	max-width: 400px;
    }
}
#scanner-part1 input{
	font-size: 1.5em;
	border: none;
	text-decoration: none;
    text-align: center;
    line-height: 1;
    margin: 0;
}
#scanner-camera-other{
	max-width: 400px; 
	margin: 0 auto;
}
.button-skaner{
	width:100%; 
	background-color: #010812;
	color: #FFFFFF; 
	border-color: #010812;
	margin-bottom: 0px;
	font-size: 1.5em;
}
.button-skaner:hover{
	border-color: #010812;
	background-color: #010812;
}

#scanner-data{
	margin: 20px 0 5px 0;
	display: none;
}
#scanner-data-nazwa{
	font-size: 1.4em;
	text-align: center;
}
.scanner-data-pozycje{
	text-align: center;
	font-size: .9em;
	background-color: lightgrey;
	border-radius: 10px;
	text-wrap: nowrap;
	margin: 1px;
	padding: 2px 0 0 0;
}
#scanner-data-cena-zakupu, #scanner-data-cena-sprzedazy, #scanner-data-stan-magazynowy{
	font-size: 2.2em;
	font-weight: bold;
}
#scanner-data-ean{
	font-size: 1.1em;
	text-align: center;
}

.device-android2{
	position:relative; 
	bottom:10px; 
	z-index: -10;
}


/*
	START
*/
	.start_fail{

		position:fixed; 
		z-index: 100; 
		transform: translate(-50%, -50%);
		left: 50%;
		top: 30vh;
		background-color: red;
	}	
	.text-bg-success{
		background-color: red;
	}

/*
	KONTAKTY
*/

@media (max-width: 576px) {
    .hidden-on-phone {
        display: none;
    }

    .show-on-phone {
        display: inline;
    }
}

@media (min-width: 577px) {
    .hidden-on-phone {
        display: inline; 
    }

    .show-on-phone {
        display: none;
    }
}

	#contact-search{
        text-align: center; 
        margin: 20px;
        padding: 10px;
        border-radius: 10px;
    }
    .contact-search-e1 {
        margin: 0 20px;
    }
    #searchelement{
        min-width:200px; 
        padding: 5px; 
        text-align: center; 
        border: 1px solid white;
        border-bottom: 1px solid gray;
    }
	#searchelement:focus {
	    outline: none;
	}

	.one_row{
		border-style: solid;
	  	border-width: 0.5px 0 0 0;
	  	border-color: lightgrey;
	  	transition: background-color .2s ease;
	  	padding: 10px 0;
	}

	.kontakty-imie-nazwisko{
		font-size: 1.5em;
		padding: 20px 0 20px 10px;
	}
	.kontakty-dzial-lokalizacja{
		font-size: 1.2em;
	}

	@media (max-width: 576px) {
	    .kontakty-telefon, .kontakty-email{
			text-align: center;
			line-height: 2;
		}
	
	}

	@media (min-width: 577px) {
	}
	.kontakty-edycja{
		text-align: right;
	}

	.kontakty-tel, .kontakty-tel svg, .kontakty-tel span {
	    color: black; /* Początkowy kolor tekstu i ikony */
	    fill: black;  /* Początkowy kolor wypełnienia ikony */
	}
/*
	#contact-search .one_row, 
	#contact-search .one_row a, 
	#contact-search .one_row svg {
	    color: black; 
	    fill: black; 
	}

	#contact-search .one_row:hover, 
	#contact-search .one_row a,  
	#contact-search .one_row a:hover, 
	#contact-search .one_row:hover svg {
	    color: white; 
	    fill: white; 
	}
*/
/*
	SKANER kodów kreskowych
*/

	#scanner{
        max-height: 85vh;
    }
    #scanner-search{
        position: relative;
        width: 90%;
        margin: 0 auto;
        bottom: 10px;
        text-align: center;
        font-size: 1.2em;
        font-weight: bold;
        padding: 0;
    }
    #scanner-camera-ios-controls{
        position: relative;
        width: 90%;
        margin: 0 auto;

    }
    #scanner-camera-ios{
        position: relative;
        margin: 11px 0;
        width: 100vw;
        height: 40vh;
        background-color: #010512;
        overflow: hidden;

    }

    #scanner-camera-ios video {
        width: 100%;
        /*height: auto;*/
        object-fit: contain;
        overflow: hidden;
    }

    .grid-container {
        display: grid;
        grid-template-columns: 3fr 3fr;
        grid-template-rows: auto auto;
        gap: 2px;
        padding: 10px 10px 0 10px;
    }

    .grid-item {
        background-color: #005F99;
        color: white;
        border: 1px solid #ddd;
        border-radius: 10px;
        padding: 0;
        text-align: center;
    }
    #scanner-info{
        display: none;
    }
    .scanner-info-description{
        font-size: 0.8em;
    }
    #scanner-info-cena-zakupu, #scanner-info-cena-sprzedazy, #scanner-info-stan-magazynowy{
        font-size: 2em;
        font-weight: 500;
    }
    #scanner-info-ostatnia-transakcja{
        font-size: 1.6em;
        font-weight: 500;
    }

    #scanner-info-product-name{
        position: relative;
        top: 7px;
        font-size: 1.4em;
        font-weight: 500;
        text-align: center;
    }