@import url("/boilerplate.css");
/* COLOUR DEFINITIONS */
:root {
	--grey-00: rgba(0, 0, 0, 1); /*#000000*/
	--grey-00-25: rgba(0, 0, 0, 0.25);
	--grey-03: rgba(51, 51, 51, 1); /*#333333*/
	--grey-06: rgba(102, 102, 102, 1); /*#666666*/
	--grey-12: rgba(204, 204, 204, 1); /*#CCCCCC*/
	--grey-13: rgba(221, 221, 221, 1); /*#DDDDDD*/
	--grey-14: rgba(238, 238, 238, 1); /*#EEEEEE*/
	--grey-14-5: rgba(248, 248, 248, 1); /*#F8F8F8*/
	--grey-15: rgba(255, 255, 255, 1); /*#FFFFFF*/
	--transparent: rgba(255, 255, 255, 0);
}
/* COLOUR PREFERENCE */
/*@media (prefers-color-scheme: dark) {
	:root {
		--grey-00: rgba(255, 255, 255, 1);
		--grey-00-25: rgba(0, 0, 0, 0.25);
		--grey-03: rgba(204, 204, 204, 1);
		--grey-06: rgba(102, 102, 102, 1);
		--grey-12: rgba(51, 51, 51, 1);
		--grey-13: rgba(34, 34, 34, 1);
		--grey-14: rgba(17, 17, 17, 1);
		--grey-14-5: rgba(7, 7, 7, 1);
		--grey-15: rgba(0, 0, 0, 1);
		--transparent: rgba(255, 255, 255, 0);
	}
}*/
.raleway-<uniquifier> {
  font-family: "Raleway", sans-serif;
  font-optical-sizing: auto;
  font-weight: 400;
  font-style: normal;
}
body {
  background-color: var(--grey-14-5);
  color: var(--grey-06);
  font-family: "Raleway", Verdana, sans-serif;
  font-size: 1.5rem;
  margin: 0;
  padding: 0;
}
header {
  height: 11.25rem;
  display: block;
  width: 100%;
  top: 0;
  background-image: url("/images/ad-logo-2019-646px.png");
  background-repeat: no-repeat;
  background-position: calc(50%) 0.63rem;
  background-size: 40.38rem;
}
div#logo a {
  display: block;
  width: 10.63rem;
  height: 10.63rem;
  margin: auto;
  position: absolute;
  left: calc(50% - 5.31rem);
}
header p {
  display: none;
}
nav > ul, footer > ul {
  margin: 0;
  padding: 0;
}
nav > ul > li, footer > ul > li {
  list-style: none;
  padding: 0;
  margin: 0;
}
nav > ul > li {
  width: calc(100% / 5);
  text-align: center;
}
footer > ul > li {
  width: calc(100% / 3);
  text-align: center;
}
footer > ul > li a {
  display: inline-block;
}
nav a, footer a {
  display: block;
  text-decoration: none;
  color: var(--grey-06);
  transition: all 0.3s ease 0s;
}
nav a {
  width: 100%;
  padding: 1.56rem 0;
}
footer a {
  padding: 0;
  margin: auto;
  width: fit-content;
}
nav a:after {
  content: "";
  display: block;
  width: 0;
  height: 0.13rem;
  background: var(--grey-06);
  margin: 0.19rem auto 0;
  transition: all 0.5s ease 0s;
}
nav a:hover, nav a.selected, footer a:hover {
  color: var(--grey-00);
}
nav a.selected:after {
  width: 2.19rem;
  background-color: var(--grey-00);
}
nav a:hover:after {
  width: 2.81rem;
}
nav > ul, .image-grid, footer > ul {
  display: flex;
  flex-wrap: wrap;
}
main {
  background-color: var(--grey-14-5);
  padding: 1.06rem 0.75rem;
  box-shadow: 0 0 0.94rem 0 var(--grey-00-25);;
  margin: 0 0 1.88rem;
  position: relative;
  font-size: 1.25rem;
  line-height: 1.5em;
}
.image-grid, .project {
  max-width: 72.50rem;
  margin: auto;
}
.image-grid > div {
  text-align: center;
  font-size: 1.88rem;
  box-sizing: border-box;
  /*font-weight: 600;*/
  -ms-grid-column-span: 1;
  padding: 0.75rem;
}
.image-grid > div.feature {
  -ms-grid-row-start: 1;
  grid-row-start: 1;
  -ms-grid-row-end: 3;
  grid-row-end: 3;
  -ms-grid-column-start: 1;
  grid-column-start: 1;
  -ms-grid-column-end: 3;
  grid-column-end: 3;
}
.image-grid > div img {
  display: block;
  width: 100%;
  height: auto;
  transition: all 0.5s ease 0s;
}
.image-grid a {
  position: relative;
  display: block;
  text-decoration: none !important;
}
span.title-plaque {
  position: absolute;
  border-radius: 0.75rem;
  display: table;
  transition: all 0.3s ease 0s;
  background: var(--transparent);
  height: 4.13rem;
  width: calc(100% - 2.50rem);
  bottom: 0;
  margin: 1.25rem;
  box-shadow: 0 0.06rem 0.31rem var(--transparent);
}
span.work-title {
  vertical-align: middle;
  display: table-cell;
  padding: 0 2.25rem;
  text-shadow: 0 0 0 var(--transparent);
  transition: all 0.2s ease 0s;
  color: var(--transparent);
  font-size: 1.25rem;
  line-height: normal;
  text-decoration: none;
  background: none transparent;
}
footer {
  margin: 0 0.75rem;
}
footer {
  padding-top: 0;
  margin-bottom: 1.88rem;
  text-align: center;
}
main .project a {
  display: inline-block;
  text-decoration: none;
  font-weight: 600;
}
[align="right"], .floatRight {
  float: right;
  margin-left: 1.25rem;
}
[align="left"], .floatLeft {
  float: left;
  margin-right: 1.25rem;
}
main .project a, main .project.light a {
  color: var(--grey-06);
}
main .project.dark a {
  color: var(--grey-15);
}
footer a:after {
  content: "";
  display: block;
  width: 0;
  height: 0.13rem;
  background-color: var(--grey-06);
  margin: auto;
  transition: all 0.2s ease-in-out 0s;
  position: relative;
  bottom: 0.25rem;
}
main .project a {
  text-decoration: underline;
  text-decoration-color: rgba(102, 102, 102, 0.4);
  display: inline;
  position: relative;
  transition: all 0.2s ease 0s;
}
main .project a:hover {
  text-decoration-color: var(--grey-06);
}
main .project a[target*="_blank"]:after {
  background: url("/images/newin.svg") no-repeat right top / 1.00rem auto;
  background-color: var(--transparent) !important;
  display: inline-block;
  content: "";
  height: 1.00rem;
  width: 1.25rem;
  top: -0.50rem;
  position: relative;
  opacity: 0.65;
  right: 0.50rem;
  transition: all 0.2s ease 0s;
  margin-right: -1.00rem;
}
main .project a[target*="_blank"]:hover:after {
  opacity: 1;
}
footer a:hover:after {
  width: 100%;
  background-color: var(--grey-06);
}
main .project.dark a:hover:after {
  background-color: var(--grey-15);
}
main .project sup a:after, main .project sub a:after {
  bottom: -0.50rem;
}
main .project a.noLine:after {
  display: none;
}
main .project *, main .project.light * {
  color: var(--grey-03);
}
main .project.dark * {
  color: var(--grey-15);
}
main .project * {
  box-sizing: border-box;
}
main .project-container {
  width: 100%;
  margin: 0 auto 1.88rem;
}
main .project-container h1, main .project-container h2, main .project-container h3, main .project-container h4, main .project-container p {
  margin: 0 0 0.94rem;
}
main .project-title h1 {
  text-align: center;
}
h1 {
  font-size: 2.00rem;
  font-weight: 700;
  line-height: 1.125em;
}
h2 {
  font-size: 1.75rem;
}
h3 {
  font-size: 1.63rem;
}
h4 {
  font-size: 1.50rem;
}
h5 {
  font-size: 1.38rem;
}
h2, h3, h4, h5 {
  font-weight: 600;
  line-height: 1.25em;
}
table {
  margin: auto;
}
th, td {
  border: 0.06rem solid var(--grey-06);
  padding: 0.31rem 0.63rem;
  text-align: left;
}
th {
  background-color: var(--grey-14);
  font-weight: 600;
}
thead th {
  background-color: var(--grey-13);
  border-bottom-width: 0.13rem;
  font-weight: 700;
}
code {
  font-family: "Courier New", Courier, monospace;
}
pre code {
  padding: 0.63rem;
}
input, textarea {
  padding: 0.31rem 0.63rem;
}
pre code, input, textarea {
  background-color: var(--grey-15);
  box-shadow: inset 0.19rem 0.19rem 0.63rem 0 rgba(0, 0, 0, 0.15), inset 0 0 0.31rem 0 rgba(0, 0, 0, 0.20);
  border-radius: 0.31rem;
  border: medium none;
}
label {
  display: block;
}
input {
  font-family: sans-serif;
  font-size: 1.50rem;
  font-weight: normal;
  margin: 0.31rem 0;
}
input.wide, textarea.wide {
  width: -webkit-fill-available;
  width: -moz-fill-available;
  width: fill-available;
  width: stretch;
}
button, input[type="button"], input[type="reset"], input[type="submit"] {
  cursor: pointer;
  -moz-appearance: button;
  -webkit-appearance: button;
  appearance: button;
  background-color: var(--grey-12);
  box-shadow: none;
}
button:hover, input[type="button"]:hover, input[type="reset"]:hover, input[type="submit"]:hover {
  background-color: var(--grey-03);
  color: var(--grey-15);
}
fieldset img {
  margin: 0.31rem 0;
  height: auto;
  width: 6.88rem;
}
p.fmerrors {
  margin: 0 !important;
  padding: 0 !important;
  font-weight: 800;
  color: #dd0000;
}
p.fmerrors + ul {
  margin: 0 0 0.63rem !important;
}
p.fmerrors + ul li {
  color: #dd0000;
}
#prevnext {
  text-align: center;
  display: block;
  width: 100%;
}
#prevnext p {
  margin: 0;
}
#prevnext a {
  color: var(--grey-06);
}
#prevnext img {
  border: none;
  box-shadow: none;
  width: 1.56rem;
}
#prevnext p > * {
  display: inline-block;
  width: auto;
  padding: 0 0.63rem;
}
#prevnext p a:hover:after {
  width: 100%;
}
.project-title {
  width: 100%;
}
.project .project-image {
  text-align: center;
}
.project .project-image a:after {
  display: none !important;
}
.project .project-image > a, .project .project-image > img {
  display: block !important;
  margin: 0 auto 1.25rem;
}
.project .project-image > a {
  cursor: zoom-in;
  z-index: 10;
}
.project-image img {
  box-shadow: 0 0.31rem 0.63rem 0 var(--grey-00-25);, 0 0.13rem 0.19rem 0 rgba(0, 0, 0, 0.2);
  border-radius: 0.94rem;
  height: auto;
  width: auto;
  max-width: 100%;
}
#nav-list a[target*="blank"] {
  background: url(/images/newin.svg) no-repeat calc(50% + 2.06rem) calc(50% - 0.94rem) transparent;
}
.floatyRight, .floatyLeft {
  position: relative !important;
  max-width: 18.75rem !important;
  margin-left: 1.25rem !important;
  min-width: 18.75rem !important;
}
.floatyRight {
  float: right !important;
}
.floatyLeft {
  float: left !important;
}
.floatyRight img, .floatyLeft img {
  border-radius: 1rem;
}
/* TABLET AND BELOW */
@media only screen and (max-width: 74.37rem) {
  .image-grid > div img {
    border-radius: 2rem 2rem 0 0;
    box-shadow: 0 0.06rem 0.31rem rgba(0, 0, 0, 0.1);
    corner-shape: squircle;
  }
  .image-grid a span.title-plaque {
    background: var(--grey-15);;
    width: 100%;
    margin: 0;
    height: 4.63rem;
    box-shadow: 0 0.06rem 0.31rem rgba(0, 0, 0, 0.1);
    position: relative;
    border-radius: 0 0 1.56rem 1.56rem;
	min-height: 5rem;
  }
  .image-grid a span.work-title {
    padding: 0.5rem 0.63rem;
    text-shadow: 0 0.13rem 0.25rem var(--grey-00-25);;
    color: var(--grey-06);
    transition: all 0.2s ease 0.15s;
    font-size: 1.25rem;
    line-height: 1.50rem;
  }
  .floatyRight {
    max-width: 50% !important;
    min-width: 50% !important;
  }
  .pnBlock {
    display: block;
    overflow: auto;
  }
}
/* STANDARD SCREEN AND ABOVE */
@media only screen and (min-width: 74.38rem) {
  .image-grid > div img {
    border-radius: 2rem;
    box-shadow: 0 0 0 0 var(--grey-06);, 0 0 0 0.06rem rgba(0, 0, 0, 0.2);
    corner-shape: squircle;
  }
  .image-grid a:hover img {
    box-shadow: 0 0.31rem 0.63rem 0 rgba(0, 0, 0, 0.17), 0 0.06rem 0.25rem 0 rgba(0, 0, 0, 0.1);
    transform: scale(1.01);
  }
  .image-grid a:hover span.title-plaque {
    background: rgb(255 255 255 / 0.9);
    width: calc(100% - 2.00rem);
    margin: 1.00rem;
    height: 4.63rem;
    box-shadow: 0 0.06rem 0.31rem rgba(0, 0, 0, 0.1);
  }
  .image-grid a:hover span.work-title {
    padding: 0.5rem 1.25rem;
	text-shadow: 0 0.13rem 0.25rem var(--grey-00-25);;
    color: var(--grey-06);;
    transition: all 0.2s ease 0.15s;
    font-size: 1.25rem;
    line-height: 1.125em;
    font-weight: 400;
  }
}
@media only screen and (min-width: 74.38rem) {
  .pnBlock {
    position: fixed;
    top: 40%;
    left: 0;
    z-index: 1;
  }
  .pnBlock a img {
    opacity: 0.5;
  }
}
@media only screen and (max-width: 74.38rem) {
  .pnBlock {
    width: 15.63rem !important;
    margin: auto;
  }
}
@media only screen and (max-width: 86.25rem) {
  .image-grid, .project {
    max-width: 61.25rem;
  }
}
/* TABLET */
@media only screen and (min-width: 40.00rem) and (max-width: 74.37rem) {
  .image-grid > div {
    width: calc(100% / 3);
  }
  footer, .image-grid > div {
    padding: calc((100% / 3) * 0.04);
  }
  main .project-container {
    padding: 1.06rem 1.25rem;
  }
  nav > ul {
    padding: 2.69rem 1.25rem 0;
  }
}
/* STANDARD SCREEN */
@media only screen and (min-width: 74.38rem) and (max-width: 97.50rem) {
  .image-grid > div {
    width: calc(100% / 3);
  }
  footer, .image-grid > div {
    padding: calc((100% / 3) * 0.03);
  }
  footer {
    margin: 0 15%;
  }
  main .project-container {
    padding: 1.06rem 0;
    display: flex;
    flex-wrap: wrap;
  }
  .project .project-image, .project .project-comentary, .project .buy-stuff {
    width: calc(100% / 2);
    margin-left: 0;
    margin-right: 0;
    display: inline-block;
    padding: 1.25rem;
  }
  .project .project-image, .project .buy-stuff {
    text-align: right;
  }
  .project .article {
    margin: auto;
    width: 100%;
    max-width: 60.00rem;
  }
  nav > ul {
    padding: 2.94rem 20% 0;
  }
  .floatyRight {
    margin-right: -6.25rem !important;
  }
  .floatyLeft {
    margin-right: -6.25rem !important;
  }
}
/* WIDESCREEN */
@media only screen and (min-width: 97.50rem) {
  .image-grid > div {
    width: calc(100% / 3);
  }
  footer, .image-grid > div {
    padding: calc((100% / 3) * 0.03);
  }
  footer {
    margin: 0 25% 1.25rem;
  }
  .project .project-image, .project .project-comentary, .project .buy-stuff {
    width: calc(100% / 2);
    margin-left: 0;
    margin-right: 0;
    display: inline-block;
    padding: 1.25rem;
  }
  .project .project-image, .project .buy-stuff {
    text-align: right;
  }
  .project .article {
    margin: auto;
    width: 100%;
    max-width: 60.00rem;
  }
  main .project-container {
    padding: 1.06rem 0;
    display: flex;
    flex-wrap: wrap;
  }
  nav > ul {
    padding: 2.94rem 25% 0;
  }
  .floatyRight {
    margin-right: -6.25rem !important;
  }
  .floatyLeft {
    margin-right: -6.25rem !important;
  }
}
/* MOBILE */
@media only screen and (max-width: 40.00rem) {
  body {
    font-size: 1.25rem;
  }
  header {
    height: 6.25rem;
    background-position: calc(50%) 0.63rem;
    background-size: 20.19rem;
  }
  div#logo a {
    width: 22%;
    height: 6.25rem;
    left: calc(50% - 11%);
  }
  nav > ul {
    padding: 0.94rem 0.63rem 0;
  }
  nav > ul > li {
    width: 19.5%;
  }
  nav > ul > li#nav-hollow {
    width: 22%;
  }
  #nav-list a[target*="blank"] {
    background-position: calc(50% + 1.63rem) calc(50% - 0.69rem);
  }
  main {
    font-size: 1rem;
  }
  main .project a[target*="_blank"]:after {
    max-width: 1.25rem;
  }
  main .project-container {
    padding: 1.06rem 1.25rem;
  }
  h1 {
    font-size: 1.5rem;
  }
  .image-grid a img {
    border-radius: 1.88rem 1.88rem 0 0;
    corner-shape: squircle;
  }
  .image-grid a span.title-plaque {
    border-radius: 0 0 1.88rem 1.88rem;
    corner-shape: squircle;
  }
  .image-grid > div {
    width: calc(100% / 2);
  }
  .image-grid a span.work-title {
    font-size: 1rem;
    line-height: normal;
  }
  main .project .project-comentary a:after {
    width: 100%;
    background-color: var(--grey-06);
  }
  footer, .image-grid > div {
    padding: calc((100% / 2) * 0.04);
  }
  footer {
    padding-top: 0;
    padding-bottom: 0;
  }
  footer p {
    margin: 0 0 0.63rem;
  }
}
.project .project-comentary {
  vertical-align: middle;
  margin: auto 0;
  z-index: 10;
}
.pnBlock {
  width: 100%;
}
.pnBlock a {
  margin: 1.25rem;
  background-color: var(--grey-15);
  border-radius: 0.44rem;
  z-index: 500;
}
.pnBlock a:after {
  content: "";
  width: 100%;
  height: 100%;
  top: 0;
  left: 0;
  position: absolute;
  background-size: 50%;
  background-repeat: no-repeat;
  background-position: center center;
  opacity: 0.35;
  transition: all 0.3s ease 0s;
}
.pnBlock a:hover:after {
  opacity: 0.7;
  background-size: 70%;
}
.pnBlock a.pnPrev {
  float: left;
}
.pnBlock a.pnNext {
  float: right;
}
.pnBlock a.pnPrev:after {
  background-image: url("/images/nav-prev.png");
}
.pnBlock a.pnNext:after {
  background-image: url("/images/nav-next.png");
}
.pnBlock a img {
  border-radius: 0.44rem;
  box-shadow: 0 0.25rem 0.50rem 0 var(--grey-00-25);, 0 0.13rem 0.19rem 0 rgba(0, 0, 0, 0.3);
  transition: all 0.5s ease 0s;
  width: 5.00rem;
  height: auto;
}
.pnBlock a:hover img {
  opacity: 1;
}
dl, dt, dd {
    line-height: 1.5em;
}