﻿::-moz-selection {
    text-shadow: none;
}

::selection {
    text-shadow: none;
}

img {
    vertical-align: middle;
}

html, body {
    margin: 0;
    padding: 0;
    background-color: #000000;
    font-family: sans-serif;
   -webkit-font-smoothing: antialiased; 
}

body {
    overflow-x: hidden;
}

body.loupe-active {
    overflow: hidden;
}

header {
    display: none;
    position: absolute;
    top: 0;
    left: 0;
    margin: 0;
    padding: 0px 6px 0 0; /*was 10,6,0,0 */
    width: 100%;
    height: 114px;                /*was 114px*/
   -moz-box-sizing: border-box;
    box-sizing: border-box;   
    z-index: 2;

    -webkit-transition: all .2s ease-out;
    -moz-transition: all .2s ease-out;
    -ms-transition: all .2s ease-out;
    -o-transition: all .2s ease-out;
    transition: all .2s ease-out;
}

.has-header header {
    display: block;
    
}

header.is-fixed {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    z-index: 2;
}

header div.background {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 114px;
    background-color: #ffffff;
    opacity: .9;
}

header div.meta-left {
    width: 100%;          /*was 50% */
    float: left;          /*was left*/
    padding-left: 6px;
    padding-top: 5px;  /* was 20px */
   -moz-box-sizing: border-box;
    box-sizing: border-box; 
}

header div.meta-right {
    width: 100%;         /*was 50% */
    float: right;
    padding-right: 5px;
    padding-top: 0px;
   -moz-box-sizing: border-box;
    box-sizing: border-box; 
}

header p.title {
    position: relative;    /*was relative */
    margin: 0;
    /*padding: 10px 0 0 0px; 
    padding-top: 10px; */
    font-size: 24px;
    /*color: #5D92B1; */
    color: #D9D9D9;
    text-align: center;    
    font-weight: normal;    /* was bold */
   -moz-box-sizing: border-box;
    box-sizing: border-box;
    /*white-space: nowrap;*/
    overflow: hidden;
    text-overflow: ellipsis;
}

header p.Xlink {        /* now controls top right eXit button - previously called 'header p.author' when author's name was in use */
    position: relative;
    margin: 0;   
    padding: 4px 5px 0px 2px;
    color: #FFFFAA;
    font-size: 48px;    /* seems to be a comprompise value to suit all browsers */
    text-transform: lowercase;
    text-align: right;    
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
}

#Xlink-videopage {        /* now controls top right eXit button on video pages */
    float: right;
    /*margin-bottom: 100px; */   
    padding: 4px 16px 0px 2px;
    color: #FFFFAA;
    font-size: 30px;     
    text-decoration: none;
    text-transform: lowercase;
    text-align: right;    
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
}

#Xlink-mappage {        /* now controls top right eXit button on map pages */
    float: right;
    /*margin-bottom: 100px; */   
    padding: 4px 16px 0px 2px;
    color: #FFFFAA;
    font-size: 60px;
    text-decoration: none;
    text-transform: lowercase;
    text-align: right;    
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
}

/*
.video_container {  /*uses Flex protocol
  display: flex;
  justify-content: center;
}
*/


/*
.video_container {
  transform: translate(-50%, -50%);
  position: absolute;
  top: 50%;
  left: 50%;
}
*/


/*
.video-container {
    display: flex;
    
    justify-content: center; /* Center horizontally */
    align-items: center;  /*Center vertically */
    /*height: 100vh; /* Full viewport height 
}
*/


.video_container {
	 display: block;
	 margin: 0 auto;
	 width: 80%; /* Set a specific width for the video */
}


#empee4{
	width: 1000px;
	margin-top: 200px;
	/*margin-left: 50px; */
	/*aspect-ratio: 16 / 9; */
	text-align: center;
}

a{
   color: inherit;
    text-decoration: none;
    font-weight: normal;
}

header a:hover {
    opacity: .75;
    color: #FD92B1; /* added by me */
}

header ul.gallery-meta {
    display: block;
    margin: -15px 0 0 0;
    padding: 0;
    list-style-type: none;

    -webkit-transition: all .2s ease-out;
    -moz-transition: all .2s ease-out;
    -ms-transition: all .2s ease-out;
    -o-transition: all .2s ease-out;
    transition: all .2s ease-out;
}

header ul.gallery-meta li {
    display: block;
    float: right;
    font-size: 14px;
    line-height: 40px;
}

.scrolled header.is-fixed {
    height: 80px;
    padding: 0px 6px 0 0;
    overflow: hidden;
}

.scrolled header.is-fixed div.meta-left {
    padding-top: 8px;
}

.scrolled header.is-fixed div.meta-right {

}

.scrolled header.is-fixed p.title {
    padding: 12px 0 0 2px;
    font-size: 18px;
}

.scrolled header.is-fixed p.author {
    margin: .25em 0 0 0;
}

.scrolled header.is-fixed ul.gallery-meta {
    margin: 0;
}

#buttonFullscreen {
    display: none;
    position: relative;
    width: 40px;
    height: 40px;
    cursor: pointer;
}

#pageNav {
    display: block;
    float: right;
    font-size: 12px;
}

#pageNav div.count {
    padding-top: 1px;
}

#pageCountCurrent,
#pageCountTotal {
    font-weight: bold;
    line-height: 40px;
}

#buttonPrevPage {
    position: relative;
    display: block;
    float: left;
    width: 20px; /*was 40x40*/
    height: 20px;
    overflow: hidden;
    cursor: pointer;
}

#buttonPrevPage.disabled {
    opacity: .5;
    cursor: inherit;
}

#svgIconPrevPage {
    position: absolute;
    top: 0;
    left: 0;
    width: 20px; /*was 45x45*/
    height: 20px;
}

#pageNav div.count {
    float: left;
}

#buttonNextPage {
    position: relative;
    display: block;
    float: left;
    width: 20px; /*was 40x40*/
    height: 20px;
    overflow: hidden;
    cursor: pointer;
}

#buttonNextPage.disabled {
    opacity: .5;
    cursor: inherit;
}

#svgIconNextPage {
    position: absolute;
    top: 0;
    left: 0;
    width: 45px;
    height: 45px;
}

.fullscreen #buttonFullscreen {
    display: block;
}

#buttonFullscreen div.icon {
    position: absolute;
    top: 12px;
    left: 11px;
    width: 18px;
    height: 16px;
}

#svgIconFullscreen {
    position: absolute;
    top: 0px;
    left: 0px;
    width: 18px;
    height: 16px;
}

#thumbnailContainer {
    position: relative;
    padding: 20px;
    width: 100%;
   -moz-box-sizing: border-box;
    box-sizing: border-box;
    overflow: hidden;
    font-size: 0;
}

.row-spacing-sm #thumbnailContainer {
    padding-top: 2px;
}

.row-spacing-md #thumbnailContainer {
    padding-top: 8px;
}

.row-spacing-lg #thumbnailContainer {
    padding-top: 16px;
}

.has-header #thumbnailContainer {
    position: relative;
    padding: 150px 0px 0px 0px;   /* was 114px - increases space between header and thumbnail gallery */
    width: 100%;
   -moz-box-sizing: border-box;
    box-sizing: border-box; 
}

div.thumbnails {
    overflow: hidden;
    margin: 0 auto;
   -moz-box-sizing: border-box;
    box-sizing: border-box;
    text-align: center;
}

div.thumbnail {
    position: relative;
    display:inline-block;
   -moz-box-sizing: border-box;
    box-sizing: border-box;
    cursor: pointer;

   -webkit-transition: -webkit-box-shadow .03s ease-in;
   -moz-transition: -moz-box-shadow .03s ease-in;
   -ms-transition: box-shadow .03s ease-in;
   -o-transition: box-shadow .03s ease-in;
    transition: box-shadow .03s ease-in; 
}

div.thumbnail:hover {
   -moz-box-shadow: inset 0 0 100px rgba(0, 0, 0, .4);  
   -webkit-box-shadow: inset 0 0 100px rgba(0, 0, 0, .4);   
    box-shadow: inset 0 0 100px rgba(0, 0, 0, .4);

   -webkit-transition: all .03s ease-out;
   -moz-transition: all .03s ease-out;
   -ms-transition: all .03s ease-out;
   -o-transition: all .03s ease-out;
    transition: all .03s ease-out;  
}

.row-spacing-sm div.thumbnail {
    margin-bottom: 2px;
}

.row-spacing-md div.thumbnail {
    margin-bottom: 8px;
}

.row-spacing-lg div.thumbnail {
    margin-bottom: 16px;
}

div.thumbnail.not-loaded {
    display: none;
}

div.thumbnail img {
    display: block;
    position: absolute;
    top: 0;
    left: 0;
    width: auto;
    max-width: 100%;
    height: auto;
    max-height: 100%;
   -moz-box-sizing: border-box;
    box-sizing: border-box;
    cursor: pointer;
    border-style: solid;
}

#loupeContainer {
    display: none;
    position: fixed;
    top: 0;
    left: 0;
    padding: 45px 45px 180px 45px;
    width: 100%;
    height: 100%;
   -moz-box-sizing: border-box;
    box-sizing: border-box;
    z-index: 2;
    font-size: 14px;
    color: #ABABAB;
    text-align: center;
}

#loupeContainer.meta-empty {
    padding: 45px;
}

#loupeContainer a {  /* my addition for a Video link below some images */
	color: #FFFFAA;  /* yellow */
}

#loupeContainer a:hover {  /* my addition */
	color: #999999;        /* grey */
}

#loupeContainer div.background {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
}

#loupeContainer div.image-container {
    position: relative;
    display: table;
    width: 100%;
    height: 100%;
}

#loupeContainer div.corners {
    position: relative;
    display: inline-block;
}

#loupeContainer div.image-container div.image {
    display: table-cell;
    margin: 0;
    padding: 0;
    width: 100%;
    height: 100%;
   -moz-box-sizing: border-box;
    box-sizing: border-box;
    vertical-align: middle;
    text-align: center;
}

#loupeContainer img {
    width: auto;
    max-width: 100%;
    height: auto;
    max-height: 100%;
   -moz-box-sizing: border-box;
    box-sizing: border-box;
    /* box-shadow (below) not required with black scheme 
    
   -moz-box-shadow: 2px 2px 5px #595959;  /* my addition - 2px is thickness rhs and bottom of image, 5px is strength of blur effect )
    -webkit-box-shadow: 2px 2px 5px #595959;  /* my addition */  
}

#loupeContainer div.lateral-nav-container {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 45px;
    overflow: hidden;
    text-align: center;
}

#loupeContainer ul.lateral-nav {
    display: inline-block;
    margin: 0;
    padding: 0;
    list-style-type: none;
    line-height: 45px;
}

#loupeContainer div.info-container {
    position: absolute;
    left: 0;
    bottom: 0;
    width: 100%;
    height: 180px; /*was 180px*/
    padding: 8px;    /* was 20px but 3px gives more space under caption for iPad */
   -moz-box-sizing: border-box;
    box-sizing: border-box;
}

#loupeContainer.meta-empty div.info-container {
    display: none;
}

#loupeContainer div.side-navigation {
    position: absolute;
    left: 0;
    bottom: 0;
    width: 100%;
    height: 100%;
    padding: 45px 0px 100px 0px;
   -moz-box-sizing: border-box;
    box-sizing: border-box; 
}

#loupeContainer div.side-navigation div.hotspot {
    position: relative;
    width: 25%;
    height: 100%;

   -webkit-user-select: none;   
   -moz-user-select: none;
   -ms-user-select: none;
   -o-user-select: none;
    user-select: none;
}

#loupeContainer div.side-navigation div.hotspot.over {
    cursor: pointer;
}

#loupeMeta p {
    margin: 0;
    padding: 0;
}

#loupeMeta p.title {
    margin: 0 auto 5px auto;
    padding: 0px;  /* was 0 but increased to 10px to give space between image and title */
    max-width: 80%;  /*was max-width 80% */
    overflow: hidden;
    text-overflow: ellipsis;
    /*white-space: nowrap;*/
    font-size: 16px;  /*was 15*/
    font-weight: bold;
    color: #D9D9D9;  /* my addition - colour is Gray67 */
}

#loupeMeta p.caption {
    margin: 0 auto;
    padding: 3px;   /* was 0, but increased to prevent cut-off tops of superscript characters */
    max-width: 95%; /* was 80% changed for iPad display */
    height: 120px;	/*was 48px  changed to extend caption to 3 lines */ 
    overflow: hidden;  /* was hidden */
    font-size: 15px; /* was 14px */
    color: #D9D9D9;  /* my addition - colour is Gray76 */
    text-align: top;
}

#hotspotPrevLoupe {
    float: left;
}

#hotspotPrevLoupe.disabled {
    display: none;
    position: absolute;
    top: 50%;
    left: 0;
}

#hotspotNextLoupe {
    float: right;
}

#hotspotNextLoupe.disabled {
    display: none;
}

#loupeContainer div.side-navigation div.button {
    display: block;
    width: 50px; /*was 50x50 */
    height: 50px;
}

#buttonPrevSideLoupe {
    position: absolute;
    top: 50%;
    left: 0px;
    -webkit-transition: all .2s ease-out;
    -moz-transition: all .2s ease-out;
    -ms-transition: all .2s ease-out;
    -o-transition: all .2s ease-out;
    transition: all .2s ease-out;
    opacity: 0;
}

#hotspotPrevLoupe.over #buttonPrevSideLoupe {
    opacity: 1;
}

#svgIconPrevSideLoupe {
    position: absolute;
    top: 0;
    left: 0;
    width: 25px;  /*was 50*/
    height: 25px;  /*was 50*/
}

#buttonNextSideLoupe {
    position: absolute;
    top: 50%;
    right: 0px;
    -webkit-transition: all .2s ease-out;
    -moz-transition: all .2s ease-out;
    -ms-transition: all .2s ease-out;
    -o-transition: all .2s ease-out;
    transition: all .2s ease-out;
    opacity: 0;
}

#hotspotNextLoupe.over #buttonNextSideLoupe {
    opacity: 1;
}

#svgIconNextSideLoupe {
    position: absolute; /*was absolute */
    top: 0;
    left: -5;       /* was 0 */
    width: 25px;   /*was 50*/
    height: 25px;   /*was 50*/
}

#loupeContainer li {
    display: block;
    float: left;
}

#countCurrent,
#countTotal {
    font-weight: bold;
}

#buttonPrev {
    position: relative;
    width: 45px;
    height: 45px;
    cursor: pointer;
   -webkit-user-select: none;   
   -moz-user-select: none;
   -ms-user-select: none;
   -o-user-select: none;
    user-select: none; 
}

#buttonPrev.disabled {
    opacity: .5;
    cursor: inherit;
}

#svgIconPrevLoupe {
    position: absolute;
    top: 0;
    left: 0;
    width: 45px;
    height: 45px;
}

#buttonNext {
    position: relative;
    width: 45px;
    height: 45px;
    cursor: pointer;
   -webkit-user-select: none;   
   -moz-user-select: none;
   -ms-user-select: none;
   -o-user-select: none;
    user-select: none;
}

#buttonNext.disabled {
    opacity: .5;
    cursor: inherit;
}

#svgIconNextLoupe {
    position: absolute;
    top: 0;
    left: 0;
    width: 45px;
    height: 45px;
}

#loupeCloseButton {
    position: absolute;
    top: 0;
    right: 0;
    width: 45px;
    height: 45px;
    cursor: pointer;
}

#svgIconLoupeClose {
    position: absolute;
    top: 0;
    right: 0;
    width: 45px;
    height: 45px;
}

#svgIconLoupeClose .shape-x{
    fill-rule:evenodd;
    clip-rule:evenodd;
}

.custom-colorable {
    fill: #a0a0a0;
}

@media screen and (max-width: 1280px) { /*screen width 1125px on iPhone 11 Pro */



    #loupeContainer {
        padding: 45px 45px 150px 45px; /* was 150 */
        font-size: 13px;  /* was 13px */
        
    }
    
    #loupeContainer div.info-container {
        height: 150px; /*was 150px*/
    }

    #loupeMeta p.title {
        margin: 0 auto 2px auto; /*was 10px – reduced to bring title nearer to caption on iPhone */
        width: 100%;  /* was 75% */
        max-height: 2.6em;
        overflow: hidden;
        font-size: 1.3em;  /* was 1.3em */
        font-weight: bold;
        line-height: 1.3em;
        
    }

    #loupeMeta p.caption {
        margin: 0 auto;
        padding: 0;
        width: 75%;  /*was 75%*/
        max-height: 5.2em;
        overflow: hidden;
        line-height: 1.3em; /*was 1.3em*/
        /*color: #7c7c7c;  /* my addition */ 
    }

}

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


    #loupeContainer {
        padding: 45px 45px 120px 45px;
        font-size: 12px; /*was 12px */
        
    }

    #loupeContainer div.info-container {
        height: 120px;
    }

    #loupeMeta p.title {
        width: 85%;  /* was 85% */
        max-height: 2.6em;
        overflow: hidden;
        font-size: 1.1em;
        
    }

    #loupeMeta p.caption {
        width: 85%;
        max-height: 5.2em;
        overflow: hidden;
        color: #7c7c7c;  /* my addition */
    }

}

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


    header p.title {
        font-size: 18px;  /* was 18* */
    }

    .has-header #thumbnailContainer {
        padding: 180px 0 0 0;    /* was 100px important for iPad and iPhone do not 180px */
    }

    #loupeContainer {
        padding: 45px 35px 100px 35px;
        font-size: 15px;
    }

    #loupeContainer div.info-container {
        height: 100px;
    }

    #loupeMeta p.title {
        /*white-space: nowrap; */
        text-overflow: ellipsis;
        width: 100%;
        box-sizing: border-box;
        overflow: hidden;
        font-size: 1em;
    }

    #loupeMeta p.caption {
       /* white-space: nowrap;     inactivated to allow flow of text to next line */
        text-overflow: ellipsis;
        width: 100%; /*was 100%*/
        box-sizing: border-box;
        overflow: hidden;
        /*font-size: 2em;  /*my addition */
        color: #c2c2c2;  /* my addition */
    }

}

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

#empee4{
	width: 320px; /* for correct iPhone rendering */
}

    header {
        padding-bottom: 20px;
        height: auto;
        overflow: hidden;
    }

    header div.meta-left {
        padding: 20px 20px 0px 20px;
        width: 100%;
    }

    header div.meta-right {
        width: 100%;
    }

    header p.title,
    header p.author {

    }

    header p.author {
        margin-top: .5em;
    }

    .scrolled header.is-fixed {
        padding-bottom: 20px;
        height: auto;
        overflow: hidden;
    }

    .scrolled header.is-fixed p.title {
        padding: 12px 0 0 2px;
        font-size: 15px; /*was 15px*/
    }

    .scrolled header.is-fixed p.author {
        margin-top: .5em;
    }

    header ul.gallery-meta {
        display: none;
    }

    #pageNav {
        display: inline-block;
        float: none;
    }

    .fullscreen #buttonFullscreen {
        display: none;
    }

    #loupeContainer {
        padding: 45px 20px 90px 20px; /* was 80px specifies position of image on the page */
        font-size: 11px; /*was 11px*/
    }

    #loupeContainer div.info-container {
        height: 100px;  /*was 80px increased to produce 4 lines of caption on iPhone */
    }

    #loupeMeta p.title {
        /*white-space: nowrap; */
        text-overflow: ellipsis;
        width: 100%;
        box-sizing: border-box;
        overflow: hidden;
        font-size: 12px /*my addition*/
    }

    #loupeMeta p.caption {
        /*white-space: nowrap; */
        text-overflow: ellipsis;
        width: 100%;
        height: 180px; /* gives 4 lines caption on an iPhone if no title used */
        box-sizing: border-box;
        overflow: hidden;
        font-size: 12px; /*my addition changes text size on iPhone*/
    }

}
