* {
	margin: 0;	padding: 0;	box-sizing: border-box;
}

a {
	cursor: pointer;
}

a:hover {
	text-decoration: underline;
	color: #000000;
}

@font-face {
	font-family: "Sneak";
	src:
		url("../fonts/Sneak-Regular.woff2") format("woff2"),
		url("../fonts/Sneak-Regular.woff") format("woff");

	font-weight: normal;
	font-style: normal;
}
@font-face {
	font-family: "Cancellaresca";
	src:
		url("../fonts/Cancellaresca-Script-Std-Regular.woff2") format("woff2"),
		url("../fonts/Cancellaresca-Script-Std-Regular.woff") format("woff");
	
	font-weight:normal;
	font-style:normal;
}

table {
	vertical-align: top;
}

body {
	background-color: #fff;
	---background-color: #000;
}

body,
p,
div,
button,
input,
select,
em,
span {
	text-decoration: none;
	font-weight: 400;
	
}
i {
	font-style:normal;
	---font: bold;
	---color: #fda177;
	color: #000 !important;
	---background-color: #ffef93;
}
a {
	align-content: center;
	text-decoration: none;
	color: #acacac;
}
b {
	font-style:normal;
	font:normal;
	color: #000;
}




::selection {
	text-decoration: none;
	color: #e6ad8e;
}

sup {
	font-size: x-small;
	line-height: 0;
}

@media (max-width: 1300px) {
	.carousel-overlay {width: 50% !important;}
	
	.carousel-overlay.left {left: 0 !important;}
	
	.carousel-overlay.right {left: 50vw !important;
	}
	
	.container {
		padding: 0 3vw 2vh 3vw!important;
		height: 700px !important;
		margin-top: 0 !important;
		max-width: 100vw !important;
		background-color: #fafafa;
		border-top: dashed #000 1px;
		border-bottom: dashed #000 1px;
	}
	.carousel img {
		max-height: 615px !important;
	}
	h4, h2 {
		color: #9a9a9a !important;
	}
	.page {
		width: inherit !important;
		position: relative !important;
		padding: 18px 12px 40px 12px !important;
		max-width: 400px !important;
		
	}
	.page-two {
		max-width: 400px !important;
		width: inherit !important;
		padding: 50px 12px 50px 12px !important;
		---margin: 0 3vw 0 3vw !important;
		position: relative !important;
		z-index: 0 !important;
		border-bottom: dashed #000 1px;
	}
	.page-three {
		max-width: 400px !important;
		width: inherit !important;
		padding: 50px 12px 50px 12px !important;
		---margin: 0 3vw 0 3vw !important;
		position: relative !important;
		z-index: 0 !important;
		border-bottom: dashed #000 1px;
	}
	.page-four {
		max-width: 400px !important;
		width: inherit !important;
		padding: 50px 12px 0 12px !important;
		---margin: 0 3vw 0 3vw !important;
		position: relative !important;
		z-index: 0 !important;
		
	}

	#counter {
		position: relative !important;
		padding: 0 0 1.5vw 0 !important;
		margin: 0 40vw 0 40vw !important;
		z-index: 200 !important;
		width: 20vw !important;
	}
	.clickers {
		justify-content:space-between !important;
	}
	.cr {
		display: none !important;
	}
	.up {
	right: 12px !important;
	max-width: 100vw !important;
	position: relative !important;
}
	
}

p {
	font-family: "Sneak", Helvetica, sans-serif;
	font-size: 23pt;
	font-weight: 400;
	display: block;
	margin-top: 0;
	margin-bottom: 0;
}

p,
h1,
h2,
h3,
h4,
h5,
h6 {
	font-weight: 400;
	margin: 0;
	---color: #292929;
	color: #aaaaaa;
}

p {
	font-size: 16.5px;
	text-decoration: none;
	font-family: "Sneak", Helvetica, sans-serif;
}

h1 {
	font-size: 18px;
	font-family: "Sneak", Helvetica, sans-serif;
}

h2 {
	font-size: 19px;
	font-family: "Sneak", Helvetica, sans-serif;
}

h3 {
	font-size: 16px;
	text-decoration: none;
	font-family: "Sneak", Helvetica, sans-serif;
}

h4 {
	font-size: 14px;
	text-decoration: none;
	font-family: "Sneak", Helvetica, sans-serif;
}


h5 {
	font-size: 40px;
	color: #000;
	font-family: "Cancellaresca", Helvetica, sans-serif;
}

.page-body {
	---padding: 2vw .75vw 2vw 11vw;
	padding: 2vw .75vw 2vw 26.9635vw;
	max-width: 61vw;
	width: auto;
	text-justify: inter-character;
	text-decoration: none;
	font-weight: 400;
	color: #000;
	display: block;
	z-index: 50;
	top: 0;
}

.page,
#page {
	padding: 2.6vw .75vw 18px 2.427vw;
	width: 26.2135vw;
	text-align: justify;
	text-justify: inter-character;
	text-decoration: none;
	font-weight: 400;
	color: #000;
	margin: 0 0 0 0;
	position: relative;
	z-index: 150;
	---top: 0;
	display: inline-block;
	---height: 100vh;
	vertical-align: top;
}

.page-two {
	margin:  0 0 0;
	padding: 2.6vw .75vw 18px 26.9635vw;
	max-width: 50vw;
	---width: 50vw;
	text-align: justify;
	position: absolute;
	text-justify: inter-character;
	text-decoration: none;
	font-weight: 400;
	color: #000;
	display: inline-block;
	z-index: 50;
	top: 0;
	vertical-align: top;
	
}

.page-three {
	padding: 2.6vw .75vw 18px 50.75vw;
	max-width: 73.7865vw;
	---width: 23.7865vw;
	text-align: justify;
	position: absolute;
	text-decoration: none;
	font-weight: 400;
	color: #000;
	display: inline-block;
	z-index: 25;
	top: 0;
	vertical-align: top;
}

.page-four {
	padding: 2.6vw 2.427vw 18px 74.5365vw;
	max-width: 100vw;
	---width: 26.1vw;
	text-align: justify;
	position: absolute;
	text-decoration: none;
	font-weight: 400;
	color: #000;
	display: inline-block;
	z-index: 5;
	top: 0;
	vertical-align: top;
}

.page-two img{
	padding: 7px 0 10px 0;
	max-width: 100%;
	text-align: center;
	font-weight: 400;
	color: #000;
	display: inline-block;
	position: relative !important;
	z-index: 10;
}
.page-three img{
	padding: 30px 10% 3px 10%;
	max-width: 100%;
	text-align: center;
	text-justify: inter-character;
	text-decoration: none;
	font-weight: 400;
	color: #000;
	display: block;
	position: relative;
	z-index: 10;
}
.page-four img{
	padding: 7% 12% 3px 12%;
	max-width: 100%;
	text-align: left;
	text-justify: inter-character;
	text-decoration: none;
	font-weight: 400;
	color: #000;
	display: block;
	position: relative;
	z-index: 10;
}


.by {
	text-align: center;
	padding: 5px 0 30px 0;
	margin: 0;
}

table {
	width: 100%;
	justify-content: space-between;
}

.arrow a {
	color: #000 !important;
}

.arrow a:hover {
	text-decoration: underline !important;
}

.page a {
	---background-color: yellow;
	---color: #000;
}

.page a:hover {
	color: #000;
	---background-color: none !important;
	---text-decoration: none;
}


.contact {
	right: 19px;
	text-align: right;
	display: inline-table;
	position: fixed;
}

.active {
	text-decoration: underline !important;
}

#counter {
	position: relative;
	text-decoration: none;
	z-index: 100;
	text-align: center;
	width: 26.2135vw;
	padding: 2vw .75vw 0 2.427vw;
  	display: block;
  	font-size: 16px;
  	color: #000;
}

.container {
	z-index: 300;
	display: flex;
	align-items: center;
	justify-content: center;
	padding: 28px 0 0 2.427vw;
	text-align: center;
	text-justify: inter-character;
	text-decoration: none;
	font-weight: 400;
	color: #000;
	margin: 0 0 0 0;
	position: relative;
	max-height: 83vh;
	---margin-top: -20px;
	max-width: 25.4635vw;
	---background-color: #bfbfbf;
}

.carousel img {
	max-width: 100%;
	max-height: 43vh;
	---margin-top: -34px !important;
	display: none;
	margin: auto;
	text-align: center !important;
	align-items: center;
	justify-content: center;
}

.carousel img.active {
	display: flex;
}

.carousel-caption {
	padding: 8px 20px 20px 20px;
	margin: 0 auto;
	width: 100%;
	text-align: center;
	align-content: center;
	justify-content: center !important;
	display: none;
	text-decoration: none !important;
	bottom: 2.427vw;
}

#project {
	z-index: 300;
}

.carousel-caption.active {
	display: block;
}

.carousel-overlay {
	position: absolute;
	bottom: 0;
	width: 9.2146vw;
	height: 100%;
	---rsrsor: pointer;
	z-index: 500;
	
}

.carousel-overlay.left {
	left: 2.427vw;
	cursor:
		url('http://www.gavinfraser.com/photos/cursor-arrow-left-sm.png') 10 10, pointer;
        }

.carousel-overlay.right {
	left: 16.2486vw;
	cursor:
		url('http://www.gavinfraser.com/photos/cursor-arrow-right-sm.png') 10 10, pointer;
}

.navbar-right:hover span {
	---display: none;
	z-index: 9000;
}

.navbar-right:hover:before {
	---content: "next page";
	font-family: "Sneak", Helvetica, sans-serif;
	font-size: 29px;
	font-weight: 400;
	display: block;
	cursor: pointer !important;
	text-decoration: underline;
}
.navbar-left:hover span {
	---display: none;
	z-index: 9000;
}

.navbar-left:hover:before {
	---content: "previous page";
	font-family: "Sneak", Helvetica, sans-serif;
	font-size: 29px;
	font-weight: 400;
	display: block;
	cursor: pointer !important;
	---text-decoration: underline;
}
.clickers {
	---width: 100vw;
	position:static;
	display: flex;
	justify-content:space-between;
	margin-top: -60px;
}

.period h3{
	color: #f8f8f8 !important;
}

.white {
	color: #ffffff;
}

.inset {
	padding: 0 0 0 30%;
}

.cr {
	position: absolute;
	bottom: 36px;
	right: 2.427vw;
	text-align: right;
	max-width: 14vw;
}
.up {
	position: fixed;
	bottom: 0;
	right: 2.427vw;
	text-align: right;
	max-width: 14vw;
}

#fullscreen-image-wrapper {
  position: fixed;
  display: none;
  z-index: 9999;
  top: 0;
  left: 0;
  width: 100vw;
  height: 100vh;
  justify-content: center;
  align-items: center;
  background: transparent;
}

#fullscreen-image {
  max-width: 90vw;
  max-height: 90vh;
  object-fit: contain;
  cursor: zoom-out;
}

.expandable {
  cursor: zoom-in;
}
