main > .container, main > .container-fluid
{
    padding: 100px 15px 20px;
}

.footer {
    background-color: #f5f5f5;
    font-size: .9em;
    height: 60px;
}

.footer > .container, .footer > .container-fluid {
    padding-right: 15px;
    padding-left: 15px;
}

.login-form {
	position: absolute;
	width: 25em;
	top: 50%;
	left:50%;
	transform: translate(-50%,-50%);
	box-shadow: 0 0.5rem 1rem rgba(0, 0, 0, 0.15) !important;
	background-color: #fff;
	padding: 2rem;
}

@media (max-width: 650px) {
	.login-form {
		width: 65%;
		margin-bottom: 300px;
	}
	.footer {
		margin-top: 150px;
	}
}

@media screen and (min-width: 650px) and (max-width: 800px)  {
	.login-form {
		width: 50%;
	}
}

@media screen and (min-width: 800px) and (max-width: 1300px)  {
	.login-form {
		width: 30%;
	}
}

.table-fixed tbody {
	height: 200px;
	overflow-y: scroll;
	width: 100%;
}

.table-fixed thead,
.table-fixed tbody,
.table-fixed tr,
.table-fixed td,
.table-fixed th {
	display: block;
}

.table-fixed thead > tr > th {
	padding: 0.3rem !important;
}

.table-fixed tbody tr td {
	height: 30px !important;
}

.table-fixed tbody td,
.table-fixed tbody th,
.table-fixed thead > tr > th {
	float: left;
	position: relative;
	padding: 0.2rem 0.5rem;

	&::after {
			content: '';
			clear: both;
			display: block;
	}
}

#map .leaflet-popup-content {
	margin: 10px 18px;
}

.bg-danger-ricambi > td {
	--bs-bg-opacity: 0.2;
	background-color: rgba(var(--bs-danger-rgb), var(--bs-bg-opacity)) !important;
}

body header .basket-container {
	display: flex;
	flex-direction: row;
	align-items: center;
	cursor: pointer;
	padding: 10px 0;
}

body header .cart-count {
	display: flex;
	align-items: center;
	justify-content: center;
	background-color: rgba(0, 0, 0, 0.55);
	font-size: 10px;
	color: #fff;
	min-width: 18px;
	padding: 0;
	line-height: 18px;
	height: 18px;
	border-radius: 20px;
	opacity: 1 !important;
}

.carrello-remove, .carrello-remove:hover {
	color: var(--bs-nav-link-color);
}

.availability-container {
	display: flex;
	justify-content: space-between;
}

.available {
	display: inline-block;
	align-items: center;
	justify-content: center;
	background-color: var(--bs-teal);
	width: 18px;
	height: 18px;
	padding: 0;
	border-radius: 20px;
	opacity: 1 !important;
}

.small-available {
	display: inline-block;
	align-items: center;
	justify-content: center;
	background-color: var(--bs-yellow);
	width: 18px;
	height: 18px;
	padding: 0;
	border-radius: 20px;
	opacity: 1 !important;
}

.not-available {
	display: inline-block;
	align-items: center;
	justify-content: center;
	background-color: var(--bs-red);
	width: 18px;
	height: 18px;
	padding: 0;
	border-radius: 20px;
	opacity: 1 !important;
}

.tableIcon {
	padding: 0px;
}

.card-deck .card {
		margin-bottom: 20px;
}

.card-deck .card .card-body {
		flex: 0;
}

.card-link {
	color: inherit;
	text-decoration: none;
}

.not-set {
    color: #c55;
    font-style: italic;
}

/* add sorting icons to gridview sort links */
a.asc:after, a.desc:after {
    content: '';
    left: 3px;
    display: inline-block;
    width: 0;
    height: 0;
    border: solid 5px transparent;
    margin: 4px 4px 2px 4px;
    background: transparent;
}

a.asc:after {
    border-bottom: solid 7px #212529;
    border-top-width: 0;
}

a.desc:after {
    border-top: solid 7px #212529;
    border-bottom-width: 0;
}

.grid-view th,
.grid-view td:last-child {
    white-space: nowrap;
}

.grid-view .filters input,
.grid-view .filters select {
    min-width: 50px;
}

.hint-block {
    display: block;
    margin-top: 5px;
    color: #999;
}

.error-summary {
    color: #a94442;
    background: #fdf7f7;
    border-left: 3px solid #eed3d7;
    padding: 10px 20px;
    margin: 0 0 15px 0;
}

/* align the logout "link" (button in form) of the navbar */
.navbar form > button.logout {
    padding-top: 7px;
}

@media(max-width:767px) {
    .navbar form > button.logout {
        display:block;
        text-align: left;
        width: 100%;
        padding: 10px 0;
    }
}

.navbar form > button.logout:focus,
.navbar form > button.logout:hover {
    text-decoration: none;
}

.navbar form > button.logout:focus {
    outline: none;
}

/* style breadcrumb widget as in previous bootstrap versions */
.breadcrumb {
    background-color: var(--bs-gray-200);
    border-radius: .25rem;
    padding: .75rem 1rem;
}

.breadcrumb-item > a
{
    text-decoration: none;
}

.no-padding {
	margin: 0;
}

.articolo-nome {
	margin-bottom: 0px;
}

.esploso-nome {
	margin-bottom: 0px;
	font-size: 0.8em; /* Adjust as needed */
	color: #999;
}

.articolo-nome {
	color: #000;
}

.articolo-link, .articolo-link:hover {
	color: rgba(0, 0, 0, 0);
}

.pdfWrapper {
  position: relative;
  width: 100%;
  overflow: hidden;
  padding-top: 75%; /* 4:3 Aspect Ratio */
}

.pdfWrapper-iframe {
  position: absolute;
  top: 0;
  left: 0;
  bottom: 0;
  right: 0;
  width: 100%;
  height: 100%;
  border: none;
}