@media all and (max-width: 1260px) { /* 1210 + 50 */
	body {
		font-size: .8em;
		line-height: .8em;
	}
	
	#header .logo {
		height: 96px;
		padding-top: 16px;
	}

	#header .logo .line {
		top: 72px;
	}

	#header .logo img {
		width: 278px;
	}

	#header .menu, #footer .info {
		height: 32px;
	}

	#header .menu li {
		width: 137px;
	}

	#header .menu li a, #footer .info {
		line-height: 32px; /* 32 - 2 */
	}

	#page, #footer .logo, #footer .info {
		width: 965px; /* exact: 968px */ /* 959 (/ 7 = 137) + 6 */
	}

	#content {
		margin-top: 404px;
		padding-bottom: 113px; /* initial value: footer height, smoothing page rendering */
		background-size: 350px;
	}

	#content div.quote {
		width: 393px; /* 3 * 137 + 2 - 20 */
		top: -344px;
		padding: 10px;
	}

	#content .content-left, #content .content-right {
		padding-top: 30px; /* 32 - 2 */
	}

	#content .content-left > * {
		padding: 0 16px .5em 32px;
	}

	#content .content-right > * {
		padding: 0 32px .5em 16px;
	}

	#content .content-left div.clear, #content .content-right div.clear {
		padding: 0;
	}

	#content .content-left > table {
		margin: 0 16px .25em 32px;
	}

	#content .content-right > table {
		margin: 0 32px .25em 16px;
	}

	#content .content-left .map {
		margin: 0 16px .5em 32px;
	}

	#content .content-right .map {
		margin: 0 32px .5em 16px;
	}

	/*#content table.team {
		width: calc(100% - 48px);
	}*/

	#footer {
		margin-top: 30px;
	}

	#footer.content-bg {
		margin-top: 88px;
	}

	#footer .logo {
		height: 64px;
		padding-top: 27px;
	}

	#footer .logo img {
		width: 158px;
	}

	#cycle, #cycle li, #cycle li img {
		height: 794px;
	}

	#cycle li img {
		width: 2048px;
	}
}

@media all and (max-width: 1015px) { /* 965 + 50 */
	#header .menu.primary li.secondary {
		display: none;
	}

	#header .menu.secondary {
		display: block;
	}

	#header .menu.primary li {
		width: 176px;
	}

	#header .menu.secondary li {
		width: 235px;
	}

	#page, #footer .logo, #footer .info {
		width: 707px; /* exact: 726px */ /* 704 (/4 = 176) + 3 */ /* 705 (/3 = 235) + 2 */
	}

	#content {
		margin-top: 371px; /* 404 - 32 - 1 */
	}

	#content div.quote {
		width: 333px; /* 2 * 176 + 1 - 20 */
	}

	#content div.quote h5 {
		font-size: 1.2em;
		line-height: 1.2em;
	}

	#content ul.team li {
		float: none;
		width: 100%;
	}

	#content ul.team li.team-left .wrapper, #content ul.team li.team-right .wrapper {
		margin: 0;
	}
	
	#content ul.team li.team-right .wrapper {
		padding-top: 2em;
	}

	#content ul.team li .wrapper table, #content ul.team li .wrapper p {
		font-size: 1em;
	}

	#footer .info span.breakpoint {
		display: none;
	}
}

@media all and (max-width: 757px) { /* 707 + 50 */
	#header .menu.primary li {
		width: 152px;
	}
	
	#header .menu.secondary li {
		width: 203px;
	}

	#page, #footer .logo, #footer .info {
		width: 611px; /* exact: 605px */ /* 608 (/4 = 152) + 3 */ /* 609 (/3 = 203) + 2 */
	}

	#content div.quote {
		width: 387px; /* 2 * 203 + 1 - 20 */
	}
}

@media all and (max-width: 661px) { /* 611 + 50 */
	#header .menu.primary li {
		width: 122px;
	}
	
	#header .menu.secondary li {
		width: 163px;
	}

	#page, #footer .logo, #footer .info {
		width: 491px; /* exact: 484px */ /* 488 (/4 = 122) + 3 */ /* 489 (/3 = 163) + 2 */
	}

	#content div.quote {
		width: 348px; /* 3 * 122 + 2 - 20 */
	}

	#content .content-left, #content .content-right {
		float: none;
		width: 100%;
	}

	#content .content-right {
		padding-top: 0;
	}

	#content .content-right h1:first-child {
		margin-top: 1em;
	}

	#content .content-left > *, #content .content-right > * {
		padding: 0 32px .5em 32px;
	}

	#content .content-left > table {
		margin: 0 32px .25em 32px;
	}

	#content .content-right > table {
		margin: 0 32px .25em 32px;
	}

	/*#content ul.team li {
		float: left;
		width: 50%;
	}

	#content ul.team li.team-left .wrapper {
		margin-right: .5em;
	}

	#content ul.team li.team-right .wrapper {
		margin-left: .5em;
	}

	#content ul.team li.team-right .wrapper {
		padding-top: 0;
	}*/

	#content .content-left .map {
		margin: 0 32px .5em 32px;
	}

	#content .content-right .map {
		margin: 0 32px .5em 32px;
	}

	#footer.content-bg {
		margin-top: 228px;
	}

	#footer .info span.breakpoint2 {
		display: none;
	}
}

@media all and (max-width: 541px) { /* 491 + 50 */
	#header .menu li a, #footer .info {
		font-size: 1.2em;
	}

	#header .menu.primary {
		height: auto;
		min-height: 32px;
	}

	#header .menu.primary li {
		float: none;
		width: 100%;
		padding-left: 0;
		margin-top: 1px;
	}

	#header .menu.primary li, #header .menu.secondary {
		display: none;
	}

	#header .menu.primary li.active, #header .menu.primary li.error, #header .menu.tertiary {
		display: block;
	}

	#page, #content div.quote, #footer .logo, #footer .info {
		width: 100%;
	}

	#content div.quote {
		padding: 10px 0;
	}

	#content div.quote h5 {
		padding-left: 10px;
		margin-left: .34em;
	}

	#content div.quote p {
		padding-right: 10px;
	}
}
