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

	#head .wrapper {
		position: relative;
		flex-flow: row wrap;
	}
		
	#logo {
		padding: 20px 0 0;
		flex: 100%;
		text-align: center;
	}
	
	#nav-main {
		margin: 0;
		padding: 8px 0;
	}
	
	#nav-main ul {
		text-align: center;
	}
	
	.nav-head-extra {
		position: absolute;
		right: 20px;
		top: 20px;
	}
	
}


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

.news-slide.slidered {
	display: inline-block;
	width: 100%;
	text-align: center;
}

.news-slide.slidered .column:last-child {
	width: 612px;
	text-align: left;
}

.news-slide.slidered + .news-slide {
	margin-left: 0;
}

}


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

.membership-items .membership-item {
	width: 48%;
}

.membership-items .membership-item:nth-child(2n+1) {
	margin-left: 0;
}

.membership-items .membership-item:nth-child(1n+3) {
	margin-top: 40px;
}


[id^="memberships-"] #main-main .column {
	display: block;
	width: 100%;
}

[id^="memberships-"] #main-main .column+.column {
	margin: 2em 0 0;
}

}


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

body {
	padding-top: 80px;
}

#head {
	position: fixed;
	left: 0;
	top: 0;
	right: 0;
	box-shadow: rgba(0,0,0,0.1) 0 2px 6px;
}

#head .wrapper {
	min-height: 0;
}

#logo {
	padding: 13px 0;
}


.news-slide.slidered .column:last-child {
	width: 306px;
}


.news-slide.slidered .column:last-child {
	width: 306px;
}


.membership-item.column {
	width: 100%;
}

.membership-item.column+.column {
	margin-left: 0;
}

.membership-item.column:nth-child(1n+2) {
	margin-top: 40px;
}


#memberships-summary table {
	table-layout: auto;
}

#memberships-summary table {
	border-collapse: collapse;
	font-size: 14px;
	line-height: 21px;
}

#memberships-summary table tr { 
	display: block;
	float: left;
}

#memberships-summary table tr tr { 
	display: block;
	float: left;
}

#memberships-summary table th {
	display: block;
	border: none;
	width: auto !important;
	text-align: left !important;
}

#memberships-summary table td {
	display: block;
	border: none;
	width: auto !important;
	text-align: right !important;
	white-space: nowrap;
	overflow: hidden;
	text-overflow: ellipsis;
}

#memberships-summary table td>br {
	display: none;
}

#memberships-summary td small {
	margin: 0 0 1px 5px;
	vertical-align: bottom;
}

#memberships-summary table tr:first-child {
	width: 23% !important;
}

#memberships-summary table tr {
	width: 25.667% !important;
}

#memberships-summary table tr:first-child+tr:last-child {
	width: 77% !important;
}

#memberships-summary td.membership-type-name {
	font-weight: 600;
}

}


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

#billboard .billboard-slide-text {
	font-size: 2.6932vw;
}

#billboard .billboard-slide-text h1, 
#billboard .billboard-slide-text h2 {
	font-size: 8.3138vw;
}


#content-columns {
	padding-top: 0;
	padding-bottom: 0;
}

#content-columns #main-main {
	display: block;
	width: 100%;
	padding: 0;
}

#content-columns #main-side {
	display: block;
	position: relative;
	width: 100%;
	margin: 0;
	padding-left: 0;
	padding-right: 0;
}

#content-columns #main-side:after {
	display: none;
}

}


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

.column.parts-5 {
	width: 19%;
}

.column.parts-5+.parts-5 {
	margin-left: 8% !important;
}

.column.parts-5:nth-child(4n+1) {
	margin-left: 0 !important;
}

.column.parts-5:nth-child(1n+5) {
	margin-top: 60px;
}


#tail-content>div {
	background: url(../_img/hline.png) 50% 0 repeat-y;
}

#tail-content .column.parts-4 {
	width: 48%;
}

#tail-content .column.parts-4+.parts-4:nth-child(2n+1) {
	margin-left: 0;
}

#tail-content .column.parts-4+.parts-4:nth-child(1n+3) {
	margin-top: 4%;
}


.ce-block.ce-image-boxes .image-box.parts-4 {
	display: block;
	width: 100%;
	padding-top: calc((100% - 3 * 24px) * 0.6667);
}

.ce-block.ce-image-boxes .image-box.parts-5 {
	display: block;
	width: 100%;
	padding-top: calc((100% - 4 * 24px) * 0.6667);
}

.ce-block.ce-image-boxes .image-box.parts-4 + .image-box, 
.ce-block.ce-image-boxes .image-box.parts-5 + .image-box {
	margin: 1.5333rem 0 0 0 !important;
}


#billboard  {
	min-height: 275px;
}

#billboard .billboard-slide-text {
	left: 4%;
}

#billboard .billboard-slide-text .column {
	display: block;
	width: 100%;
}

#billboard .billboard-slide-text .column+.column {
	display: none;
}


#nav-sub {
	display: none;
}

}


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

body .ce-block:not(.ce-headlines):not(.ce-news) .column {
	display: block;
	width: 100% !important;
}

body .ce-block:not(.ce-headlines):not(.ce-news) .column+.column {
	margin: 1.5333rem 0 0 0 !important;
}


body .ce-text-image.ce-fullwidth-image .wrapper {
	position: relative;
	padding: 56.25% 0 0 !important;
}

body .ce-text-image.ce-fullwidth-image .wide-image {
	position: absolute;
	left: 0 !important;
	top: 0;
	right: 0;
	bottom: auto;
	width: 100% !important;
	background-position: 50% 0;
	padding-top: 56.25%;
}

body .ce-text-image.ce-fullwidth-image.ce-image-left .column:first-child,
body .ce-text-image.ce-fullwidth-image.ce-image-right .column+.column {
	height: 0;
	margin: 0 !important;
}

body .ce-text-image.ce-fullwidth-image.ce-image-left .column+.column,
body .ce-text-image.ce-fullwidth-image.ce-image-right .column:first-child {
	margin: 0 !important;
	padding: 45px 10px;
}


.membership-items .membership-item {
	width: 100%;
	margin-left: 0 !important;
}

.membership-items .membership-item+.membership-item {
	margin-top: 40px;
}


.ce-block.ce-image-boxes .image-box.parts-2 {
	padding-top: calc((100% - 24px) * 0.6667);
}

.ce-block.ce-image-boxes .image-box.parts-3 {
	padding-top: calc((100% - 2 * 24px) * 0.6667);
}


.ce-block.ce-contactinfo {
	padding-top: 12px;
}

.ce-block.ce-contactinfo {
	padding-bottom: 60px;
}

.ce-block.ce-contactinfo + .ce-contactinfo {
	margin-top: 10px;
}

.ce-block.ce-contactinfo .wrapper {
	flex-flow: column;
	gap: 1.5333rem;
}

.ce-block.ce-contactinfo .map-embed-wrap {
	position: static;
	height: 300px;
}

.ce-block.ce-contactinfo.ce-mapleft .column:first-child {
	margin-top: 0 !important;
	order: 1;
}

.ce-block.ce-contactinfo.ce-mapleft .column:last-child {
	margin-top: 0 !important;
	order: 2;
}

.ce-block.ce-contactinfo.ce-mapright .column:first-child {
	margin-top: 0 !important;
	order: 2;
}

.ce-block.ce-contactinfo.ce-mapright .column:last-child {
	margin-top: 0 !important;
	order: 1;
}

}


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

.ce-headlines .news-slide {
	height: 564px;
}

.ce-headlines .news-slide .column:first-child {
	width: 100%;
	height: 50%;
	background-position: 50% 15%;
}

.ce-headlines .news-slide .column:last-child {
	width: 100% !important;
	height: 50%;
}

#hukka-customer-feedback-form-embed {
	height: calc(1120px - 50vw) !important;
}

	
.news-slide {
	height: 564px;
}

.news-slide .column:first-child {
	width: 100%;
	height: 50%;
	background-position: 50% 15%;
}

.news-slide .column:last-child {
	width: 100% !important;
	height: 50%;
	margin-top: 0 !important;
}

	
}


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

.ce-block h1 {
	font-size: 7.9167vw;
}


#billboard .billboard-slide-text {
	font-size: 14px;
	text-align: center;
}

#billboard .billboard-slide-text h1, 
#billboard .billboard-slide-text h2 {
	font-size: 35px;
}

#billboard .slidr-nav {
	left: auto;
	bottom: 15px;
	right: 15px;
	-webkit-transform: none;
	transform: none;
}


#membership-steps li {
	display: block;
}

#membership-steps li+li {
	margin-top: 5px;
}


form p.half {
	width: 100%;
	float: none;
	clear: both;
}

form p.half+p.half {
	margin-left: 0;
}


#mc_embed_signup .mc-field-group+.mc-field-group {
	width: 100%;
	float: none;
}

#mc_embed_signup .mc-field-group+.mc-field-group+.mc-field-group {
	margin-left: 0;
}


#tail-content>div {
	background: none;
}

#tail-content .column.parts-4 {
	width: 100%;
	margin-left: 0 !important;
}

#tail-content .column.parts-4+.parts-4 {
	margin-top: 4%;
}

#tail-content .centered-block {
	display: block;
	text-align: center;
}


#large-modal-content.type-text {
	top: 10px;
	bottom: 10px;
}

}

