body {
	background: white;
}

body.work  {
	background: var(--bgLight);
}

.sub header {
	height: 400px;
}

aside, main {
	padding: calc(var(--sectionPadding) / 2) 0;
}

h1 {
	margin-top: 0;
	font-size: var(--h2);
}

aside h4,
aside h5 {
	font-size: var(--h5);
	margin-top: 15px;
}


aside .nav {
	margin: 0;
	padding: 0;
	width: 100%;
}

aside .nav li {
	margin: 0;
	padding: 0;
	list-style: none;
}

aside .nav a {
	display: block;
	box-sizing: border-box;
	width: 100%;
	line-height: 1.3;
	padding: 10px 25px;
	text-decoration: none;
	border-left: 2px solid var(--borderColor);
	transition: all .2s;
	color: var(--textColor);
}

aside .nav a:hover,
aside .nav a.active {
	border-left-color: var(--primary);
}

aside .nav a:hover {
	padding-left: 30px;
	padding-right: 20px;
}

aside .nav a.active {color: var(--muted);}



aside .card {
	margin-bottom: 30px;
}

aside .card-image {
	width: 100px;
	margin-right: 20px;
}

aside .card-image::after {display: none;}

aside .card-title {
	margin: 0 0 5px;
	line-height: 1.1;
}


.gallery a {
	overflow: hidden;
	width: 100%;
	border-radius: 8px;
}

.gallery img {
	display: block;
	width: 100%;
	transition: all var(--normalSpeed) var(--ease);
}

.gallery a:hover img {
	transform: scale(1.1);
}


.downloads a {
	display: flex;
	align-items: center;
	border-radius: 8px;
	justify-content: space-between;
	margin-bottom: 10px;
	box-sizing: border-box;
	padding: 15px 30px;
	text-decoration: none;
	color: var(--textColor);
	transition: all var(--fastSpeed);
	box-shadow: 0 0 30px hsl(0, 0%, 0%, .1);
}

.downloads a:hover {
	color: var(--primary);
	transform: translateY(-2px);
	box-shadow: 0 15px 20px -5px hsl(0, 0%, 0%, .2);
}

.downloads a img:not(.download-icon) {
	height: 52px;
	border-radius: 0;
}

.download-icon {
	height: 18px;
	display: block;
	margin-left: 30px;
	border-radius: 0;
}

.downloads .text {
	flex-grow: 1;
	display: flex;
	align-items: center;
	justify-content: space-between;
	margin-left: 30px;
}



table {
    width: 100%;
    padding: 0px;
    overflow: hidden;
    border: 20px solid var(--bgLight);
    line-height: 1.25;
    border-radius: 12px;
    border-collapse: separate;
	background: var(--bgLight);
	margin: 30px 0;
}
table th {
	text-align: left;
}

table small {
	line-height: 1;
}

table tr {
    background: white;
	border: none;
	border-bottom: 1px solid #e6e8eb;
}

table tr:last-of-type {
	border-bottom: none;
}

table tr th,
table tr td {
	border: none;
}

table tr th, table tr td {
	border-bottom: 1px solid #e6e8eb;
}

table tr,
table tr th,
table tr td {
	padding: 1rem 2rem;
	transition: 2s cubic-bezier(0.075, 0.82, 0.165, 1);
}
/*
table tr:hover td {
	background-color: #e6e8eb;
}
*/
table tr:first-child th:first-child {
    border-top-left-radius: 12px;
}

table tr:first-child td:last-child {
    border-top-right-radius: 12px;
}

table tr:last-child th:first-child {
    border-bottom-left-radius: 12px;
}

table tr:last-child td:last-child {
    border-bottom-right-radius: 12px;
}

table tr td p:first-of-type {
	margin-top: 0px;
}

table tr td p:last-of-type {
	margin-bottom: 0px;
}

table tr th {
	text-align: right;
}

form .col {
	margin-bottom: 15px;
}

#main .oferta-pracy {
	padding-left: 0;
	padding-right: 0;
}

#main .oferta-nazwa,
#main .oferta-wynagrodzenie,
#main .oferta-wyjazd,
#main .oferta-dlugosc {
	padding-left: 15px;
	padding-right: 15px;
	flex: 0 0 25%;
}

#main .oferta-dlugosc {border-right: 0;}

.oferta-pracy strong, .oferta-pracy span {
	flex-shrink: 0;
}

select {
	background-color: #fff;
}

input, select {
	border-radius: 16px;
}

::placeholder {
	color: black;
	opacity: 1;
	transition: all .2s;
}

:focus::placeholder {
	opacity: .2;
}

label[for="zgoda"] {
	font-size: 0.75rem;
	line-height: 1.5;
}

aside .bg-light.p-60 {
	border-radius: 100px 0;
}





/*


				M  E  D  I  A
				Q U E R I E S


*/


@media screen and (max-width: 1020px) {
	.oferta-szczegoly {
		padding-right: 15px;
		flex-shrink: 0;
		flex-grow: 1;
	}

	table {
		display: block;
		width: 100%;
		overflow: hidden;
		border-width: 2px;
		position: relative;
	}

	th, td {
		padding: 0.5em;
		font-size: 0.75rem;
	}

	table tbody {
		display: block;
		overflow-x: auto;
		width: 100%;
	}

	/* table::after {
		content: '';
		display: block;
		width: 20%;
		height: 100%;
		position: absolute;
		top: 0;
		right: 0;
		z-index: 10;
		background: linear-gradient(to right, transparent, white);
	} */
}


@media screen and (max-width: 590px) {

	#main .oferta-pracy {
		padding-left: 15px;
		padding-right: 15px;
	}

	#main .oferta-nazwa, #main .oferta-wynagrodzenie, #main .oferta-wyjazd, #main .oferta-dlugosc {
		padding-left: 0;
		padding-right: 0;
		flex: 0 0 100%;
	}

	.oferta-szczegoly {
		padding-right: 0;
		flex-shrink: 0;
		flex-grow: 1;
	}

	.sub header {
		height: 300px;
	}

	h1 {font-size: var(--h3);}

	.bg-light.p-60 {
		border-radius: 1rem;
		padding: 30px;
	}

	.bg-light.p-60 h3 {
		font-size: var(--h4);
	}
}