/*
*:not(body):not(html) {
    outline: 1px solid red;
}
*/

body {
    font-family: Arial, sans-serif;
	height: 100%;
    margin: 0;
    padding: 0;
    display: flex;
    flex-direction: column;
	/*overflow-x:hidden;*/
	
}

header {
  height:72px;
  width:100%;
  display: flex;
  align-items: center;
  background-color: #013064; 
  padding: 10px 40px 10px 0px;
  position: fixed;
  top: 0;
  z-index: 1000; 

}

header a { 
    color: white; 
    padding: 10px; 
    text-decoration: none; 
    display: inline-block; 
}
header a:hover { 
    text-decoration: underline; 
}
header img { vertical-align: middle; }

.header-link
{
	padding:20px;
}

.pipe {
    color:#fff;
	padding:10px;
}

#logo {
	margin-right: 20px;
	margin-left:40px;
}


#overlay {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(0, 0, 0, 0.5); /* Przyciemnienie o wartości 0.5 */
    z-index: 1000;
}


/* Styl dla menu */
#date-picker {

    display: flex;
    align-items: center;
    padding: 20px;
    justify-content: flex-start;
}

#language-selector {
	
	margin-left: auto;
	padding:0px 10px;
}

#language-selector img {
	cursor: pointer;
	padding:0px 12px;
}

#faq-selector {
	padding:0px 70px 0px 0px;
}

#breadcrumb-nav {
	 
    display: flex;
    align-items: center;
    padding: 10px;
    background-color: #e8e8e8;

}

#breadcrumb-nav a img {
    width: 24px;
	margin-right:10px;
}

#reportContainer, iframe, h1 {
	font-family: Arial, sans-serif;
    font-size: 32;
    width: 100%;
    height: auto;
    border: none;
	border:0;	
}


#picker-label {
	margin-right:10px;
}

#pickers {
	margin-top:10px;
	display: flex;
	align-items: center;
}

#type-selector img {
    width: 40px;
    height: 40px;
    cursor: pointer;
}


.content-wrapper {
	width:100%;
	flex: 1 0 auto; /* Flex grow, flex shrink, flex basis */
    display: flex; 
    flex-direction: row;
    align-items: stretch; 
    padding-top: 210px; 
    position: relative; /* Umożliwia działanie z-index */
}


/*zablokowanie nagłówka*/

#breadcrumb-nav, #pickers {
    position: fixed;
    width: 100%;
    top: 0;
    z-index: 100; 
}

 #hr{
	 position: fixed;
    width: 100%;
    top: 190;
	z-index: 50;
	height: 1px;
    background-color: #A9A9A9;
}
#breadcrumb-nav {
    top: 92px; 
}

#pickers {
	background-color:#fff;
    top: 126px; 
}

footer {
    flex-shrink: 0; 
    background-color: #013064;
    color: white;
    padding: 20px 40px;
    font-size: 0.9em;
    clear: both;
	position: sticky;
	background-image: url('img/elementy_background.jpg');
	background-repeat: no-repeat;
	background-position: right center;
}

#godlo{
	padding-bottom:20px;
}

.footer-left {
	float:left;
}

.footer-center {
	float:left;
	padding-left:70px;
}


.footer-right {
    position: absolute;
    bottom: 0;
    right: 0;
    display: flex;
    flex-direction: column;
    align-items: center;
}

.footer-right img {
    max-width: 300px;
}

.social-icons {
    display: flex;
    gap: 10px;
	 position: relative;
	 padding:20px;

}

.social-icons a img {
    width: 50px;
    height: 50px;
}


#export-report-csv {
    display: flex;
    align-items: center;
    margin-left: auto;
}
#export-report-csv img {
    width: 70px;
    height: 70px;
    cursor: pointer;
}
#export-report-csv > div {
    display: flex;
    align-items: center;
}

#export-report-csv img, 
#export-report-csv span
{
    margin-left: 10px;
    margin-right: 5px;
}



.custom-fields-container {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    justify-content: flex-start;
	z-index: 1001;
}

.custom-field-wrapper {
    display: flex;
    align-items: center;
    margin-right: 20px;
}

.custom-field-wrapper label {
    margin-right: 10px;
    white-space: nowrap;
}

.custom-checkbox-label,
.custom-radio-label,
.custom-toggle-label {
    display: flex;
    align-items: center;
    margin-right: 15px;
}

.custom-checkbox-label input,
.custom-radio-label input,
.custom-toggle-label input {
    margin-right: 5px;
}

.custom-field-wrapper select {
    padding: 5px;
}




/* Styles for multi-select dropdown */

.multi-select-dropdown, .standard-dropdown {
    position: relative;
    width: 140px; 
    /*margin-right: 20px;*/
    z-index: 10001;
}

.select-box {
    display: flex;
    align-items: center;
    justify-content: space-between;
    border: 1px solid #999;
    padding: 5px 5px;
    cursor: pointer;
    background-color: #fff;
    user-select: none;
    position: relative; /* Zapewnia prawidłowe pozycjonowanie strzałki */
}

.select-box:hover {
    background-color: #f0f0f0;
}

.arrow-down,
.arrow-up {
    width: 0;
    height: 0;
    margin-left: 10px;
    border-left: 6px solid transparent;
    border-right: 6px solid transparent;
}

.arrow-down {
    border-top: 6px solid #333;
}

.arrow-up {
    border-bottom: 6px solid #333;
}

.options-container {
    position: absolute;
    top: 100%;
    left: 0;
    width: 100%;
    max-height: 200px; /* Dostosuj maksymalną wysokość według potrzeb */
    overflow-y: auto;
    border: 1px solid #999;
    background-color: #fff;
    display: none;
    z-index: 10001;
    box-shadow: 0 4px 6px rgba(0,0,0,0.1);
	pointer-events: auto;
}

.options-container.active {
    display: block;
}

.option {
    display: flex;
    align-items: center;
    padding: 5px 5px;
}

.option:hover {
    background-color: #f0f0f0;
}

.option input {
    margin-right: 10px;
}


/* Kontener grupy radio buttons */
.custom-radio-group {
	padding-top:2px;
	padding-bottom:2px;
	justify-content: flex-start;
    display: flex;
    gap: 10px; /* Odstęp między przyciskami */
}

/* Ukrywanie oryginalnych radio inputs */
.custom-radio-group input[type="radio"] {
    display: none;
}

/* Stylizacja etykiet jako przycisków */
.custom-radio-button {
    padding: 10px 5px;
    background-color: #f0f0f0; 
    color: #000000; 
    border: none;
    border-radius: 10px 10px 0 0;
    text-align: center;
    cursor: pointer;
    min-width: 150px;
    transition: background-color 0.3s ease;
    font-size: 16px;
}

/* Stylizacja przycisku na hover */
.custom-radio-button:hover {
    background-color: #013064; 
	color: #ffffff;
}

/* Stylizacja zaznaczonego przycisku */
.custom-radio-group input[type="radio"]:checked + .custom-radio-button {
    background-color: #013064;
	color: #ffffff;
}
