﻿:root {
    --header-height: 80px;
    /*colors*/
    --light-grey: #F7F7FA;
    --medium-grey: #EBECEF;
    --navy: #001D77;
}

body {
    font-family: 'Roboto', sans-serif;
}

.skip-links {
    position: absolute;
    top: 0;
}

.skip-links a {
    left: -999px;
    position: absolute;
    top: auto;
    width: 1px;
    height: 1px;
    overflow: hidden;
    z-index: -999;
}

.skip-links a:focus, .skip-links a:active {
    color: #ffffff;
    background-color: var(--navy);
    left: 25%;
    top: auto;
    width: 50%;
    height: auto;
    overflow: auto;
    padding: 10px;
    text-align: center;
    font-size: 1.2em;
    z-index: 1500;
}

/*HEADER*/
.header {   
}

.header nav {
    min-height: var(--header-height);
	box-shadow: 0 0 5px rgba(0,0,0,.4);
	background-color: #FFF;
}

.logo {
    height: 35px;
}

.navbar-toggler-icon {
    width: 1.25em;
    height: 1.25em;
}

.top-menu>ul{
	padding-top: 1rem;	
	padding-bottom: 1rem;	
}

.top-menu .nav-link {
    color: var(--navy);
    font-size: 18px;
    font-weight: bolder;
}

.top-menu .top-menu-item {
    text-decoration: none;
    cursor: pointer;
}

.top-menu-item:hover {
    text-decoration: underline;
}

.top-menu-icon {
    width: 25px;
    height: 25px;
    margin-right: 6px;
}

button.top-menu-item:focus{
	outline: 5px auto -webkit-focus-ring-color;
    outline-offset: -2px;
}

.flaga{
	padding-left: .75rem; 
	padding-right: .75rem;	
	text-align: center;
}

.flaga img {
    height: 60px;
}

.divider {
    height: 1px;
    width: 100%;
    padding: 0;
    background-color: #EDEDF0;
}

@media (min-width: 400px) {
	.logo {
		height: auto;
	}
	
	.navbar-toggler-icon {
		width: 1.5em;
		height: 1.5em;
	}
}

@media (min-width: 992px) {
	.top-menu>ul{
		padding-right: .75rem;	
		padding-top: 0;	
		padding-bottom: 0;
	}
	
	.top-menu .nav-link {
		padding-left: 1.5rem !important;
		padding-right: 1.5rem !important;
	}

	.divider {
		height: 64px;
		width: 1px;
	}
}

.wrapper {
    padding-top: var(--header-height);
    height: 100%;
}

.left-side {
    background-color: var(--light-grey);
    height: calc(100vh - var(--header-height));
    min-width: 50px;
}

.left-side .menu .nav-link {
    color: var(--navy);
    font-size: 16px;
}

.left-side .menu .menu-item {
    cursor: pointer;
    /*padding-top: .75rem;
    padding-bottom: .75rem;*/
	padding: .5rem;
    margin-top: .5rem;
    margin-bottom: .5rem;
	width: 100%;
	border: 0;
	text-align: left;
	border-radius: 25px;
}

.left-side .menu .menu-item:hover {
    background-color: var(--medium-grey);
    border-radius: 25px;
}

.left-side .menu .menu-item.active {
    background-color: var(--medium-grey);
    border-radius: 25px;
    font-weight: bold;
}

.left-side .nav-item:nth-child(1) .menu-icon {
    vertical-align: -0.2em;
}

.left-side .nav-item:nth-child(2) .menu-icon {
    vertical-align: -0.2em;
}

.left-side .nav-item:nth-child(3) .menu-icon {
    /*vertical-align: -0.2em;*/
}

.left-side .nav-item:nth-child(4) .menu-icon {
    vertical-align: -0.3em;
}

.left-side .menu .menu-icon-notification {
    background-color: #CD1332;
    color: #FFFFFF;
    border-radius: 50%;
    width: 15px;
    height: 15px;
    position: absolute;
    transform: translate(-12px, -2px);
    visibility: hidden;
    font-size: 10px;
    text-align: center;
}

.left-side .menu button.menu-item:focus{
	outline: 5px auto -webkit-focus-ring-color;
    outline-offset: -2px;
}

.content {
    height: calc(100vh - var(--header-height));
    overflow-y: auto;
}

@media (min-width: 992px) {
	.left-side {
		min-width: 200px;	
	}
	
	.left-side .menu .menu-item {
		padding: .5rem .75rem;
	}
	
	.left-side .menu .menu-icon {
		/*width: 20px;
		height: 20px;*/
		/*vertical-align: -0.1em;*/
		margin-right: .5rem;
	}
	
	.left-side .menu .menu-icon-notification {
		transform: translate(-23px, -2px);
	}
}

@media (min-width: 1200px) {
	.left-side {
		min-width: 250px;	
	}

	.left-side .menu .nav-link {
		font-size: 18px;
	}
	
	.left-side .menu .menu-item {
		padding: .75rem 1rem;	
	}
}

/*FOOTER*/
.footer {
    border-top: 1px solid #EDEDF0;
    padding-top: 1rem;
    padding-bottom: 1rem;
    font-size: .8rem;
}

.copy, .popc{
    text-align: center;
	padding-top: .25rem;
	padding-bottom: .25rem;
}

.popc img{
    height: 40px;
}

.footer .links{
	color: #000;
	padding-top: .75rem;
}


.footer .links a{
	color: #000;
	padding: 0.5rem;
	text-decoration: none;
}

.footer .links a:hover{
	text-decoration: underline;
}

.footer .links ul{
	padding: 0;
	list-style: none;
	margin-bottom: 0;	
}

.mx-bull{
	margin-left: .5rem;
	margin-right: .5rem;
}

@media (min-width: 576px) {	
	.popc img{
		height: 50px;
	}
}

@media (min-width: 992px) {	
	.copy, .popc{
		padding-top: 0;
		padding-bottom: 0;
	}
	
	.popc{
		text-align: right;
	}
	
	.mx-bull{
		margin-left: 1rem;
		margin-right: 1rem;
	}
}


@media (min-width: 1200px) {
	.footer {
		font-size: .9rem;
	}
	
	.popc img{
		height: 70px;
	}
}

/*Początkowy*/
#divPoczatkowy {
    min-height: 350px;
}

.kafelki{
	margin-bottom: 0;
}

.kafelki li{
	padding: 1rem 0;
}

.kafel-item {
    height: 120px;
    width: 260px;
    background-color: #FFF;
    font-family: 'Roboto';
    font-weight: 600;
    margin-right: 1rem;
    margin-left: 1rem;
    text-decoration: none;
    cursor: pointer;
    box-shadow: 8px 8px 20px lightgray;
    border-radius: 15px;
}

.kafel-item h2{
	font-size: 1rem;
	font-weight: 600;
	margin-bottom: 0;
}

.kafel-item:hover {
	box-shadow: 0px 8px 20px lightgray;
}

.kafel-icon {
    width: 40px;
    height: 40px;
    padding: .75rem .75rem .75rem 0;
    background-color: white;
    box-sizing: content-box;
}

@media (min-width: 992px) {
	.kafelki li{
		padding: 0 .8rem;
	}
}

@media (min-width: 1200px) {
	.kafelki li{
		padding: 0 1rem;
	}
	
	.kafel-item {
		height: 130px;
		width: 280px;
		margin-right: 2rem;
		margin-left: 2rem;
	}
	
	.kafel-icon {
		width: 45px;
		height: 45px;
		padding: 1rem 1rem 1rem 0;
	}
}

/*SSO*/
.iframe-sso {
    border: none;
}

/**/
#tblPowiadomienia tr td:nth-child(2) {
    display: none;
}

#tblZakladki tr td:nth-child(1) {
    color: var(--navy);
}

.tbl-icon {
    margin-right: 0.75rem;
}

.table th {
    color: var(--navy);
}

.table th.sorting:hover {
    cursor: pointer;
	text-decoration: underline;
}

.table tbody tr:hover td {
    /*background-color: var(--medium-grey);*/
    /*cursor: pointer;*/
}

.table a:hover {
    text-decoration: none;
}

th.sorting {
    position: relative;
}

.sorting-asc::after {
    content: "\25B2";
    position: absolute;
}

.sorting-desc::after {
    content: "\25BC";
    position: absolute;
}

.span-more {
    border-radius: 30px;
    padding: 10px;
}

.btn-more {
}

.span-more:hover {
    cursor: pointer;
    background-color: var(--medium-grey);
}

.search-icon {
    position: absolute;
    top: 7px;
    left: 20px;
}

input[name="txtWyszukiwanie"]{
	padding-left: 40px;	
}

tr.open-active td {
    --bs-table-accent-bg: var(--navy) !important;
    color: #FFFFFF !important;
}

tr.open-active td a{
    color: #FFFFFF !important;
}

tr.open td {
    padding: 0;
}

tr.open td > div {
    width: 100%;
    min-height: 50px;
    border-left: 3px solid var(--navy);
    border-right: 3px solid var(--navy);
    border-bottom: 3px solid var(--navy);
    padding: .75rem;
}

.details-icon {
    cursor: pointer;
}

.details span {
    display: block;
}

.details span.title {
    color: grey;
}

.details span.contents {
    margin-bottom: 1rem;
}

#tblZakladki, #tblPowiadomienia, #tblHistoria, #tblFormularze{
	min-width: 700px;	
}

caption h2{
	font-size: 17px;
	color: var(--navy);
	font-weight: 700;
}

span#infoWyszHistoria{	
	color: grey;
	font-size: 14px;
	display: none;
}

#wyszHistoria:focus + span#infoWyszHistoria{
	display: block;	
	margin-top: .5rem;
}

[role="tooltip"]{
	display: none;
}

.span-more:hover + [role="tooltip"], .span-more:focus + [role="tooltip"]{
		display: block;
		position: absolute;
		z-index: 1050;
		background-color: #000;
		color: #FFF;
		padding: 0.5rem;
		border-radius: 0.375rem;
		left: 50%;
		text-wrap: nowrap;
	}

@media (max-width: 992px) {
	.menu-item:hover + [role="tooltip"], .menu-item:focus + [role="tooltip"]{
		display: block;
		position: absolute;
		z-index: 1050;
		background-color: #000;
		color: #FFF;
		padding: 0.5rem;
		border-radius: 0.375rem;
		left: 10px;
		text-wrap: nowrap;
	}
}

#declarationDiv h1, #declarationDiv h2, #politykaDiv h1, #politykaDiv h2{
	color: var(--navy);
}

#declarationDiv h1, #politykaDiv h1{
	font-size: 22px;
	margin-bottom: 1rem;
}

#declarationDiv h2, #politykaDiv h2{
	font-size: 20px;
	margin-bottom: 1rem;
	margin-top: 2rem;
}


/*Bootstrap - override*/
.table > :not(caption) > * > * {
    padding: 1rem .75rem;
}

.table-striped > tbody > tr:nth-of-type(odd) > * {
    --bs-table-accent-bg: var(--light-grey);
}

.table thead, .table tbody {
    border-bottom: 1px solid #DDDEE4;
}

.form-control:focus, .form-select:focus {
    border-color: rgb(0,29,119);
    box-shadow: 0 0 0 0.15rem rgba(0,29,119,1);
}

/**/
.list-unstyled{
	padding-left: 0;
    list-style: none;
}

.sr-only{
	position: absolute;
	width: 1px;
	height: 1px;
	padding: 0;
	margin: -1px;
	overflow: hidden;
	clip: rect(0, 0, 0, 0);
	white-space: nowrap;
	border-width: 0;
}