header .maxwidth
{
	padding: 52px 36px;
}

.logo
{
	width: 272px;
}

.smaller .logo {
	width: 230px;
}

.main-nav nav a::before
{
	content: ''attr(namelink)'';
}

.main-nav nav a::after
{
	content: ''attr(namelink)'';
}

.bigmenu
{
	z-index: 10000000000000000000000000;
}

.main a::before
{
	content: ''attr(namelink)'';
}

.main a::after
{
	content: ''attr(namelink)'';
}

.submain a::before
{
	content: ''attr(namelink)'';
}

.submain a::after
{
	content: ''attr(namelink)'';
}

.s-citta-hotel-content
{
	background-image: url(skin/sfondobergamoapt.webp);
}

.testo-slogan-content h1
{
	letter-spacing: 10px;
	font-size: 16px;
}

.testo-slogan-content p
{
	font-size: 100px;
	line-height: 120%;
}

.vantaggi_content li
{
	width: 20%;
}

.room-list-content {
	background-position: center center;
	background-size: cover;
	width: 100%;
	transform: translateY(50px);
	opacity: 0;
	position: relative;
	transition: all .75s cubic-bezier(.215, .61, .355, 1);
	background-repeat: no-repeat;
}

.room-list-content.in-page {
	transform: translateY(0);
	opacity: 1;
}

.room-list-content::before {
	content: "";
	position: absolute;
	left: 0;
	top: 0;
	background-color: var(--bodycolor);
	width: 100%;
	height: 100%;
	z-index: 2;
	transition: all 1s cubic-bezier(.215, .61, .355, 1) .1s;
}

.room-list-content:hover::before {
	height: 0;
}

.room-list-content::after {
	content: "";
	position: absolute;
	left: 0;
	top: 0;
	background-color: var(--darkercolor);
	width: 100%;
	height: 100%;
	z-index: 1;
	opacity: .55;
}

.room-list-content a {
	position: absolute;
	z-index: 5;
	top: 0;
	left: 0;
	width: 100%;
	height: 100%;
}

.testo-room-list {
	width: 1230px;
	margin: 0 auto;
	padding: 50px 0;
	border-top: 1px solid var(--darkcolor);
	position: relative;
	z-index: 3;
	display: flex;
	align-items: center;
	justify-content: space-between;
}

.testo-room-list svg {
	width: 72px;
	height: 72px;
	color: #fff;
	transform: translateX(-40px);
	opacity: 1;
	transition: all 1s cubic-bezier(.215, .61, .355, 1);
	color: var(--darkercolor);
}

.room-list-content:hover .testo-room-list svg {
	color: var(--bodycolor);
	animation: clicking 1.5s infinite linear;
}

.testo-int {
	text-align: left;
	width: 66.667%;
}

.testo-int span {
	font-family: 'Cinzel', serif;
	color: var(--darkercolor);
	font-size: 80px;
	line-height: 100%;
	font-weight: 500;
	transition: all .75s cubic-bezier(.215, .61, .355, 1);
}

.testo-int p {
	margin: 24px 0 0;
	font-size: 16px;
	color: var(--darkercolor);
	transition: all .75s cubic-bezier(.215, .61, .355, 1);
}

.room-list-content:hover .testo-int span, .room-list-content:hover .testo-int p {
	color: var(--bodycolor);
}

.room-list-content:last-child .testo-room-list {
	border-bottom: 1px solid var(--darkcolor);
}

.servizi_list {
	background-color: var(--lightcolor);
	padding: 32px 32px 14px;
	border-radius: 24px;
}

.servizi_list ul {
	margin: 0;
	padding: 0;
	list-style: none;
}

.servizi_list p, .servizi_list li {
	font-size: 13px;
	margin: 0 0 18px;
	line-height: 170%;
}

.servizi_list li {
	padding: 0 0 0 18px;
	border-left: 3px solid var(--gold);
	margin-left: 0;
}

.testo-smart h3
{
	font-size: 52px;
}

.testo-smart ul {
	margin: 0 0 32px;
}

.testo-smart li {
	margin: 0;
}

.servizio-content
{
	padding: 28px 0;
}

.testo-servizio
{
	padding: 0 8.333%;
}

.testo-servizio h2
{
	font-size: 56px;
}

.tab-content
{
	width: 100%;
}

.luoghi-content
{
	grid-template-columns: repeat(3, 1fr);
	grid-template-rows: masonry;
	gap: 25px;
	display: grid;
}

.bloccob_txt h1
{
	text-shadow: 0 0 10px rgba(0,0,0,.4);
}

.link_fotogallery
{
	transform: translate(-50%,-50%) scale(1);
	box-shadow: 0 0 32px rgba(0,0,0,.9);
}

.link_fotogallery:hover
{
	box-shadow: 0 0 64px rgba(0,0,0,.5);
	transform: translate(-50%,-50%) scale(1.05);
}

@keyframes clicking {
	0% {
		transform: translateX(-40px);
	}

	50% {
		transform: translateX(0px);
	}

	100% {
		transform: translateX(-40px);
	}
}

@keyframes dondolio {
	0%, 20%, 50%, 80%, 100% {transform: rotate(0deg);}
	40% {transform: rotate(-3deg);}
	60% {transform: rotate(2.9deg);}
}

@media (min-width: 1921px) and (max-width: 2600px) {}

@media (min-width: 1281px) and (max-width: 1367px) {}

@media (min-width: 1087px) and (max-width: 1280px) {
.main-nav nav
{
	display: none;
}
}

@media (min-width: 811px) and (max-width: 1085px) {
header .maxwidth
{
	padding: 24px;
}
.luoghi-content
{
	grid-template-columns: repeat(2, 1fr);
}
}

@media (min-width: 481px) and (max-width: 810px) {
header .maxwidth
{
	padding: 24px;
}
.luoghi-content
{
	grid-template-columns: repeat(2, 1fr);
}
}

@media (min-width: 320px) and (max-width: 480px) {
header .btn a span
{
	display: none;
}
.logo, .smaller .logo
{
	width: 160px;
}

.testo-slogan-content p
{
	font-size: 28px;
	margin-top: 16px;
}

header .btn a, .head-menu .btn a
{
	border-width: 0 2px;
}
.atipico
{
	margin: 0;
}
.luoghi-content
{
	grid-template-columns: repeat(1, 1fr);
}
}
