body {
    font-family: 'Roboto', sans-serif;
    font-size: 16px;
    font-size: 1em;
    line-height: 1.7;
}
body.home {
    position: relative;
}
body.slider {
    padding: 0;
}
body * {
    box-sizing: border-box;
}
a,
a:link,
a:visited,
a:active {
    color: #b55445;
}
a.back {
font-size: 14px;
}
header a:hover {
    opacity: 0.6;
}

/* logo */
header.branding h1 {
    margin: 0.3em 0;
}
header.branding h2 {
    margin: 0;
    font-size: 1.2em;
    line-height: 1.3;
}
header.branding .intro {
    font-size: 0.9em;
    font-weight: bold;
}
header.branding .intro p {
    margin: 0;
    float: left;
}
header.branding .intro p a {
    display: inline-block;
    background: #191919;
    color: #fff;
    text-decoration: none;
    padding: 4px 12px;
    border-radius: 5px;
    margin-top: 0.5em;
}
.aia-logo {
    font-family: 'EB Garamond', serif;
    font-variant: small-caps;
    text-transform: capitalize;
    font-size: 20px;
    line-height: 1;
    display: inline-block;
    color: #003366;
    margin-top: 12px;
    display: inline-block;
    width: 60%;
    margin-left: 33.333%;
    background: #FFF;
}
.aia-logo a {
  color: #003366;
  background: #FFF;
}
.clicked .aia-logo,
.clicked .contribute,
.clicked .branding {
    opacity: 0.1;
}
.aia-logo img,
.aia-logo p {
    float: left;
}
.aia-logo p {
    margin: 10px 0 0;
}
.aia-logo img {
    max-height: 60px;
    margin-right: 6px;
}
header .aia-logo p {
    margin-top: 0.8em;
}
.aia-logo span {
    font-variant: normal;
    font-weight: 400;
    font-style: italic;
    text-transform: lowercase;
}
.contribute {
    margin-top: 2em;
    font-size: 0.8em;
    font-style: italic;
    color: #717171;
}

/* map */
.content-map-wrapper {
    width: 100%;
    padding: 12px 0;
    max-width: 1100px;
    margin: 0 auto;
}
#map {
    display: inline-block;
    position: relative;
}
#map svg {
    width: auto;
    height: auto;
    max-width: 100vw;
}

#map figure.scale img {
    max-width: 100%;
}
.st0{fill:#E6E7E8;}
.st1{fill:none;stroke:#000000;stroke-width:0.935;stroke-miterlimit:1;}
.st2{fill:#0083CA;}
.st3{fill:#F37054;}
.st4{fill:#358953;}
.st5{fill:#EFAF1F;}
.st6{fill:#EFAF1F;stroke:#000000;stroke-width:0.5;}
.st7{fill:none;stroke:#000000;stroke-width:1.5;stroke-linecap:round;stroke-linejoin:round;stroke-dasharray:0,2.943;}
.st8{fill:none;stroke:#000000;stroke-width:1.5;stroke-linecap:round;stroke-linejoin:round;stroke-dasharray:0,3.121;}
.st9{fill:none;stroke:#000000;stroke-width:1.5;stroke-linecap:round;stroke-linejoin:round;}
.st10{fill:none;stroke:#000000;stroke-width:1.5;stroke-linecap:round;stroke-linejoin:round;stroke-dasharray:0,3.082;}
.st11{fill:#B55545;}

/* Legend */
.legend p:first-of-type {
    font-size: 0.8em;
}
.legend ul {
    width: 100%;
   list-style: none;
    margin: 0;
    padding: 20px 30px;
    border: 1px solid #a9a9a9;
    border-radius: 10px;
    display: inline-block;
    line-height: 1;
}
.legend p:first-of-type {
    margin-top: 0;
}
.legend li a {
    color: #000;
    text-decoration: none;
    padding: 6px 0;
    display: inline-block;
    font-size: 0.93em;
}
.legend.clicked li a:not(.active) {
    opacity: 0.3;
}
.legend li a:before {
    content: '';
    width: 12px;
    height: 12px;
    display: inline-block;
    margin-right: 6px;
}
.legend .troy-1:before {
    background-color: #b55445;
}
.legend .troy-2:before {
    background-color: #f0af1e;
}
.legend .troy-3-6:before {
    background-color: #f37054;
}
.legend .troy-7:before {
    background-color: #358953;
}
.legend .troy-8-9:before {
    background-color: #0183ca;
}

#dots g {
    opacity: 0;
}

#map.mouse-over a,
#map.clicked a{
    stroke-width: 2;
}
#map.mouse-over a.troy-1,
#map.clicked a.troy-1 {
    fill: #81362a;
    stroke: #81362a;
}
#map.mouse-over a.troy-2,
#map.clicked a.troy-2 {
    fill: #a67508;
    stroke: #a67508;
}
#map.mouse-over a.troy-3-6,
#map.clicked a.troy-3-6 {
    fill: #a03d28;
    stroke: #a03d28;
}
#map  a.troy-3-6 .op5 {
    opacity: 0.75;
}
#map.mouse-over a.troy-3-6 .op5,
#map.clicked a.troy-3-6 .op5 {
    opacity: 1;
}
#map.mouse-over a.troy-7,
#map.clicked a.troy-7 {
    fill: #195a30;
    stroke: #195a30;
}
 #map.mouse-over a.troy-8-9,
  #map.clicked a.troy-8-9 {
    fill: #00507b;
    stroke: #00507b;
}



#dots.clicked g:hover {
    stroke-width: 2px;
    stroke: #999;
    cursor: pointer;
}
.mobile .legend-content li {
    display: none;
}
.desktop .legend-content li {
    display: none;
    opacity: 0;
    transition: opacity 0.8s;
    position: absolute;
    z-index: 9999;
    margin: 0;
    padding: 24px;
    list-style: none;
	background: #fff;
	border-radius: .4em;
	box-shadow: 0 0 2px 2px rgba( 0, 0, 0, .2 );
}

.desktop .legend-content li:not(.with-image) {
	color: #fff;
}

.desktop .legend-content li:after {
    box-shadow: -2px 2px 2px 0 rgba( 0, 0, 0, .2 );
    content: "\00a0";
    display: block;
    width:  12px;
    height: 12px;
    position: absolute;
    transform:             rotate( 45deg );
        -moz-transform:    rotate( 45deg );
        -ms-transform:     rotate( 45deg );
        -o-transform:      rotate( 45deg );
        -webkit-transform: rotate( 45deg );
}
.desktop .legend-content li:not(.with-image):after {
    left: -6px;
}
.desktop .legend-content li.with-image:after {
    left: -16px;
}
.desktop .legend-content li:not(.top):not(.top-ex):after {
    top: 10px;
}
.desktop .legend-content li.top:after {
    top: 234px;
}
.desktop .legend-content li.top-ex:after {
    top: 384px;
}

.desktop .legend-content li span {
    display: none;
}
.desktop .legend-content li:not(.with-image).troy-1,
.desktop .legend-content li.troy-1:after,
.more-buttons li.troy-1 a {
    background: #b55445;
}
.desktop .legend-content li:not(.with-image).troy-2,
.desktop .legend-content li.troy-2:after,
.more-buttons li.troy-2 a  {
    background: #f0af1e;
}
.desktop .legend-content li:not(.with-image).troy-3-6,
.desktop .legend-content li.troy-3-6:after,
.more-buttons li.troy-3-6 a  {
    background: #f37054;
}
.desktop .legend-content li:not(.with-image).troy-7,
.desktop .legend-content li.troy-7:after,
.more-buttons li.troy-7 a  {
    background: #358953;
}
.desktop .legend-content li:not(.with-image).troy-8-9,
.desktop .legend-content li.troy-8-9:after,
.more-buttons li.troy-8-9 a  {
    background: #0183ca;
}
.desktop .legend-content li.with-image.troy-1 {
    border: 10px solid #b55445;
}
.desktop .legend-content li.with-image.troy-2 {
    border: 10px solid #f0af1e;
}
.desktop .legend-content li.with-image.troy-3-6 {
    border: 10px solid #f37054;
}
.desktop .legend-content li.with-image.troy-7 {
    border: 10px solid #358953;
}
.desktop .legend-content li.with-image.troy-8-9 {
    border: 10px solid #0183ca;
}

.more-buttons li.troy-1 a:hover {
    background: #81362a;
}
.more-buttons li.troy-2 a:hover {
    background: #a67508;
}
.more-buttons li.troy-3-6 a:hover {
    background: #a03d28;
}
.more-buttons li.troy-7 a:hover {
    background: #195a30;
}
.more-buttons li.troy-8-9 a:hover {
    background: #00507b;
}

.more-buttons {
    width: 100%;
    padding: 0;
    position: absolute;
    z-index: 999;
    left: 0;
}
.more-buttons li {
    list-style: none;
    display: none;
    margin: auto;
}
.mobile .more-buttons li {
    margin-top: -50px;
}
.more-buttons a {
    width: 100%;
    padding: 12px;
    text-decoration: none;
    display: inline-block;
    text-align: center;
    color: #fff;
    border-radius: 5px;
}

.home header {
    position: relative;
    z-index: 10;
}
.home header.branding {
    max-width: 1300px;
    margin: 0 auto;
}

.home .content-wrapper {
    width: 100%;
    opacity: 0;
    z-index: 1;
    margin: auto;
    position: relative;
}
.home .content-wrapper.clicked {
    background: rgba(255, 255, 255, 0.8);
    z-index: 20;
}
.slider a.close-button {
    width: 100%;
    padding: 10px 12px;
    background: #000;
    position: absolute;
    top: 0;
    left: 0;
    text-decoration: none;
    color: #fff;
    z-index: 99;
}

.royalSlider {
  width: 100%;
  min-height: 60vh;
}


body:not(.home) .content-wrapper {
    text-align: center;
}
.content-text {
    display: inline-block;
    margin: 0 auto;
    padding: 0 36px;
    width: 100%;
    max-width: 840px;
    text-align: left;
}

.rsDefault,
.rsDefault .rsSlide,
.rsDefault .rsOverflow {
    background: #fff;
    color: #000;
}

.rsDefault figure {
    margin: 0 auto;
    width: 100%;
    max-width: 1200px;
    height: auto;
    padding: 0;
}
.rsDefault figure img {
	max-width: 100%;
    max-height: 80vh;
}
.slide-text {
    width: 100%;
    padding: 0 24px;
    text-align: left;
}
.slide-text  h2 {
    margin-top: 0;
    line-height: 1.3;
}
.slide-text p {
    margin-top: 0;
}
.rsDefault .rsBullets {
    padding-right: 36px;
    overflow: visible;
    background: #fff;
    position: relative;
    line-height: inherit;
    text-align: right;
}
.rsDefault .rsBullet span {
    background: #999;
    cursor: pointer;
}
.rsDefault .rsBullet.rsNavSelected span {
    background: #000;
}
.rsDefault.rsHor .rsArrowLeft {
    left: -8px;
}
.rsDefault.rsHor .rsArrowRight {
    right: -8px;
}
.legend figure {
    margin: 0;
    max-width: 200px;
}

.featherlight-content {
    max-width: 860px;
    width: 94%;
    min-height: 80vh;
}

.featherlight-content .header {
	background: #000;
}

.header.troy-intro {
    background: #000;
}
.header.troy-1 {
    background: #b55445;
}
.header.troy-2 {
    background: #f0af1e;
}
.header.troy-3-6 {
    background: #f37054;
}
.header.troy-7 {
    background: #358952;
}
.header.troy-8-9 {
    background: #0183ca;
}

.slider .header button,
.featherlight .featherlight-close-icon {
    color: #fff;
}
.slider .header button {
    position: absolute;
    z-index: 9999;
    top: 0;
    right: 0;
    line-height: 25px;
    width: 25px;
    cursor: pointer;
    text-align: center;
    font-family: Arial,sans-serif;
    background: #fff;
    background: rgba(255,255,255,.3);
    border: 0;
    padding: 0;
}

.slider .header,
.featherlight-content .header {
	padding: 6px 24px;
}
.slider .header h1,
.slider .header h3,
.slider .header figure,
.featherlight-content .header h1,
.featherlight-content .header h3,
.featherlight-content .header figure {
	margin: 0;
	display: inline-block;
	color: #fff;
	vertical-align: middle;
}
.slider .header h1,
.featherlight-content .header h1 {
	font-size: 1.2em;
}
.slider .header img,
.featherlight-content .header img {
	width: 200px;
	vertical-align: middle;
	margin-right: 12px;
}
.slider .header .close-button,
.featherlight-content .header .close-button {
	color: #fff;
	float: right;
	text-decoration: none;
	padding-top: 2px;
}
.featherlight-inner {
	max-width: 860px;
    margin: 60px auto 0;
    padding: 0 48px;
}
.featherlight-inner figure {
	text-align: center;
}
.featherlight-inner img {
	display: block;
	max-width: 100%;
	margin: 0 auto;
	max-height: 70vh;
}
.featherlight-inner figcaption {
	font-weight: bold;
	margin-top: 12px;
}
.featherlight-inner p {
	text-align: left;
}
.featherlight .featherlight-content {
    padding: 0;
}
.featherlight .featherlight-content title {
    display: none;
}
.slider .header button,
.featherlight .featherlight-close-icon {
    margin: 9px 9px 0 0;
}

.featherlight-content button,
.slider .close-button button {
    margin: 9px 9px 0 0;
    position: absolute;
    z-index: 9999;
    top: 0;
    right: 0;
    line-height: 25px;
    width: 25px;
    cursor: pointer;
    text-align: center;
    font-family: Arial,sans-serif;
    background: #fff;
    color: #000;
    border: 0;
    padding: 0;
}
.slider .header,
.featherlight-inner.header {
    width: 100%;
    margin: 0;
}
.featherlight-inner.header {
    position: absolute;
    top: 0;
}
.slide-wrapper {
    max-width: 1000px;
    margin: 24px auto 0;
}
figcaption.caption {
    padding: 0 24px;
    font-weight: bold;
    margin: 1em 0;
}
.legend-content .img-wrapper:after {

}
.desktop .img-wrapper {
    text-align: center;
}
.legend-content li:not(.legend-map) img {
    max-width: 220px;
    max-height: 180px;
    margin-top: 18px;
    display: inline-block;
}
.legend-content li:not(.legend-map) img:not(:first-child) {
    margin-left: 6px;
}
.mobile .legend-content .img-wrapper {
    text-align: center;
}
.mobile .legend-content .img-wrapper img {
    margin-top: 24px;
}
.mobile .legend-content h4 {
    margin: 0 0 0.5em;
}
.mobile .legend-content li:not(.with-image) {
    font-weight: bold;
}
.mobile .legend-content li.with-image {
    margin-bottom: 36px;
}
.legend-content p {
    line-height: 1.5;
}
.legend-content h5 {
    margin: 0 0 0.5em;
    font-size: 1em;
}
.desktop .legend-content li.legend-map img {
    max-width: 80%;
    margin-left: 10%;
}

.desktop .legend-content h4 {
    font-size: 1.2em;
    margin: 0.5em 0;
}
.legend-content p {
    margin: 0;
    font-size: 0.9em;
}

.troy-3-6-special {
    position: absolute;
     margin-top: 6px;
    padding: 12px;
    font-size: 0.83em;
    border: 1px solid #e6e7e8;
    display: none;
    opacity: 0;
    z-index: 99;
}
.desktop .troy-3-6-special {
    background: rgba(255, 255, 255, 0.7);
}
.mobile .troy-3-6-special {
    background: rgba(255, 255, 255, 0.9);
}
.troy-3-6-special img {
    width: 100px;
    float: left;
    margin-right: 12px;
}

header:after,
.legend-content .img-wrapper:after {
    content: '';
    display: table;
    clear: both;
}
.exp-dots {
    font-size: 0.9em;
    line-height: 1.5;
    margin-bottom: 0;
    display: none;
}
.exp-dots.clicked {
    display: block;
}
.exp-dots span:before {
    margin: 0 4px;
    content: '';
    height: 8px;
    width: 8px;
    background-color: #000;
    border-radius: 50%;
    display: inline-block;
}
.exp-dots.mobile {
    width: 100%;
    left: 0;
    margin: 0 0 1em;
    text-align: center;
    position: absolute;
}

.mobile .legend-content.clicked {
    background: #fff;
    padding: 36px;
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    margin: 0;
    opacity: 0;
    height: 100vh;
    overflow: auto;
}
.mobile .legend-content.clicked.troy-1 {
        border: 10px solid #b55445;
}
.mobile .legend-content.clicked.troy-2 {
        border: 10px solid #f0af1e;
 }
.mobile .legend-content.clicked.troy-3-6 {
        border: 10px solid #f37054;
 }
.mobile .legend-content.clicked.troy-7 {
        border: 10px solid #358953;
 }
.mobile .legend-content.clicked.troy-8-9 {
        border: 10px solid #0183ca;
 }
.mobile .legend-content.clicked.troy-1:before {
    background: #b55445;
  }
.mobile .legend-content.clicked.troy-2:before {
    background: #f0af1e;
  }
.mobile .legend-content.clicked.troy-3-6:before {
    background: #f37054;
  }
.mobile .legend-content.clicked.troy-7:before {
    background: #358953;
  }
.mobile .legend-content.clicked.troy-8-9:before {
    background: #0183ca;
  }

.mobile .legend-content.clicked:before {
    content: 'X';
    display: inline-block;
    position: fixed;
    top: 0;
    right: 0;
    padding: 9px 12px;
    line-height: 1;
    color: #fff;
    z-index: 9999;
 }

@media only screen and (min-width: 1201px) {
    .desktop .legend-content li {
        max-width: 35%;
    }
}

@media only screen and (max-width: 1200px) and (min-width: 451px) {
    .desktop .legend-content li {
        max-width: 50%;
    }
}

@media only screen and (min-width: 1001px) {
    .more-buttons {
        top: 80px;
    }
    .troy-3-6-special {
        width: 40%;
        left: 48px;
    }
}

@media only screen and (max-width: 1000px) and (min-width: 841px) {
    .more-buttons {
        top: 120px;
    }
    .troy-3-6-special {
        max-width: 60%;
    }
}

@media only screen and (min-width: 841px) {
    body.home {
        padding: 24px 48px;
    }
  #map {
        width: 70%;
    }
    .text-wrapper {
        max-width: 30%;
        float: right;
    }
    .home .description {
        width: 50%;
        padding-right: 36px;
        display: inline-block;
    }
    header.branding .intro {
        width: 50%;
        max-width: 640px;
        float: right;
    }
    #map svg {
        max-height: 75vh;
    }
    .more-buttons li {
        width: 640px;
    }
}

@media only screen and (max-width: 840px) {
    body.home {
        padding: 0;
    }
  #map {
        width: 100%;
    }
    .legend ul li {
        display: inline-block;
        margin-right: 1em;
    }
    .desktop #map svg {
        max-height: 60vh;
    }
    .more-buttons {
        padding: 0 48px;
    }
    .troy-3-6-special {
        top: 0;
        left: 0;
        margin: 0;
        padding: 48px;
    }
}

@media only screen and (max-width: 840px) and (min-width: 641px) {
    .aia-logo {
        float: left;
        margin: 0 36px 12px 0;
    }
    .desktop .more-buttons {
        top: 223px;
    }
}

@media only screen and (max-width: 840px) and (min-width: 451px) {
    .home header.branding,
    .content-map-wrapper {
        padding: 24px 36px 0;
    }
}

@media only screen and (min-width: 641px) {
    .mobile .legend-content li.legend-map img {
        max-height: 50vh;
        margin: 0 auto;
        display: block;
    }
    .with-image span  {
        float: left;
        font-weight: bold;
    }
    .mobile .legend-content li:not(.with-image) {
        font-weight: bold;
    }
    .with-image .img-wrapper.right {
        float: right;
        margin-left: 24px;
    }
    .with-image h4 {
        margin: 0;
    }
    .with-image:after {
        content:'';
        display: table;
        clear: both;
    }
    .mobile .legend-content li.legend-map {
        margin-bottom: 24px;
    }
    .mobile .legend-content:not(.troy-8-9) li:not(.legend-map) {
        float: left;
        padding-right: 1em;
        width: 33.33%;
        margin-bottom: 12px;
    }
    #map figure.scale {
        max-width: 180px;
            position: absolute;
        bottom: 0;
        right: 0;
    }
}
body.slider {
    position: relative;
}
body.slider:after {
    display: block;
    width: 100%;
    height: 100vh;
    background: #fff;
    position: fixed;
    top: 0;
    left: 0;
    content: '';
    z-index: 99998;
}
body.slider:before {
    content: url(images/loading.gif);
    position: absolute;
    margin: auto;
    top: 50vh;
    left: 48vw;
    z-index: 99999;
}
body.slider.loaded:before {
  visibility: hidden;
  opacity: 0;
}
body.slider.loaded:after {
  visibility: hidden;
  opacity: 0;
  transition: visibility 0s 2s, opacity 2s linear;
}

@media only screen and (min-width: 767px) and (orientation:portrait) {
    .mobile .more-buttons {
        top: 200px;
    }
    .exp-dots.mobile {
        top: -32px;
    }
}
@media only screen and (min-width: 767px) and (orientation:landscape) {
    .mobile .more-buttons {
        top: 150px;
    }
    .exp-dots.mobile {
        top: 0;
    }
}

@media only screen and (max-width: 766px) and (orientation:portrait) {
    .mobile .more-buttons {
        top: 300px;
    }
    .exp-dots.mobile {
        top: -24px;
    }
    .aia-logo {
    width: 100%;
    margin-left: 0;
    margin-top: 24px;
	}
}
@media only screen and (max-width: 766px) and (orientation:landscape) {
    .mobile .more-buttons {
        top: 250px;
    }
    .exp-dots.mobile {
        top: -12px;
    }
    #map svg {
        max-height: 90vh;
    }
}

@media only screen and (max-width: 640px) {
    .desktop .more-buttons {
        top: 300px;
    }
    #map figure.scale {
        max-width: 180px;
        margin-top: -38px;
    }
}

@media only screen and (max-width:451px) {
    .home header.branding,
    .content-map-wrapper {
        padding: 24px 24px 0;
    }
}
