
.contactbox {
	position: relative;

	--box-size-big: 110px;
	--box-size-small: 80px;
	--box-height-detail: 140px;
	--box-width-detail: auto;
}

.contactbox a.fa::before,
.contactbox p.fa::before {
	font-family: 'Font Awesome 6 Free', sans-serif;
	margin-right: 10px;
}

.contactbox .boxview .details .content {
	display: flex;
	flex-wrap: nowrap;
}

.contactbox .boxview .details .info {
	width: 240px;
	padding: 0;
}

.contactbox .boxview header,
.contactbox .boxview p {
	padding-left: 15px;
	color: #FFFFFF;
}

.contactbox .boxview .image {
	width: 100px;
}

.contactbox .boxview .info header * {
	font-size: 24px;
	color: #FFFFFF;
	margin: 0;
	line-height: 1.25;
	font-weight: bold;
	font-family: 'PTSans', sans-serif;
}

.contactbox .boxview .info p {
	font-size: 18px;
	margin-bottom: 0;
}

.contactbox .boxview .btn-close {
	position: absolute;
	cursor: pointer;
	top: 10px;
	left: 10px;
	background: none;
	opacity: .7;
}
.contactbox .boxview .btn-close:hover {
	opacity: 1;
}

.contactbox .boxview .details {
	background: #C40005;
	display: none;
	position: absolute;
	right: -15px;
	bottom: -30px;
	padding: 15px 10px 15px 40px;
	height: var(--box-height-detail);
	width: var(--box-width-detail);;
}
.contactbox.enlarged .boxview .details {
	bottom: -15px;
}

.contactbox .boxview .icon {
	cursor: pointer;
	height: var(--box-size-small);
	width: var(--box-size-small);
	display:flex;
	align-items: center;
	flex-direction: column;
	justify-content: center;
	background: #C40005;
	transition: height 300ms, width 300ms;
}

.contactbox .boxview a,
.contactbox .boxview a:hover {
	color: #FFFFFF;
	text-decoration: none;
}

.contactbox .icon .icontext {
	text-align: center;
	font-size: 22px;
	color: #FFFFFF;
	overflow: hidden;
	height: 0;
	transition: height 300ms;
}
.contactbox.enlarged .icon .icontext {
	padding-top: 5px;
	height: 30px;
}

.contactbox.enlarged .icon {
	width: var(--box-size-big);;
	height: var(--box-size-big);;
}

.contactbox .boxview .icon:hover,
.contactbox .boxview .icon:hover .icontext {
	background: #AE0005;
}

.contactbox .boxview .btn-close:before,
.contactbox .boxview .btn-close:after {
	content: " ";
	position: absolute;
	display: block;
	margin: auto;
	left: 0;
	right: 0;
	top: 0;
	bottom: 0;
	width: 16px;
	height: 0;
	border-top: 3px solid #FFFFFF;
	transform: rotate(45deg);
	transform-origin: center;
}

.contactbox .boxview  .btn-close:after {
	transform: rotate(-45deg);
}

@media (max-width: 767px) {
	.contactbox .boxview .details {
		width: 100%;
		position: fixed;
		background: transparent;
		top: 0;
		left: 0;
	}

	.contactbox .boxview .icon:hover {
		background: none;
	}

	.contactbox .boxview {
		position: unset;
	}

	.contactboxWrapper .boxview .icon {
		margin: 0 auto;
		width: 30px;
		height: 30px;
		display: flex !important;
	}

	.contactbox .boxview .icon,
	.contactbox .boxview div {
		background: none;
	}

	.contactboxWrapper .icon .icontext {
		display: none;
	}

	.contactbox .icon img {
		filter: invert(1);
		padding: 0;
		width: 100%;
		height: 100%;
	}

	.contactbox .boxview .details .content {
		top: 54px;
		left: 0;
		position: absolute;
		width: 100%;
		z-index: 3;
		background: #C40005;
		padding: 15px 35px 15px 35px;
	}

	.contactbox .boxview .details .info {
		right: 3px;
		top: -8px;
		z-index: 1;
		position: relative;
		width: 100%;
		text-align: center;
	}

	.contactbox .btn-close {
		width: 24px !important;
	}

	.contactbox .boxview .btn-close {
		top: 4px;
		left: 3px;
		z-index: 2;
	}
}