﻿body {
    padding-top: 50px;
    padding-bottom: 20px;
    /*
    overflow: hidden;
    padding-bottom: 20px;*/
}

iframe {
    display: block;
    border-style:none;
	margin: 0 auto;
}

.page {
    text-align: center;
    /*width: 80%;*/
    margin: 50px auto 50px;
    position: relative;
}

/* Set padding to keep content from hitting the edges */
.body-content {
    padding-left: 15px;
    padding-right: 15px;
}

/* Override the default bootstrap behavior where horizontal description lists 
   will truncate terms that are too long to fit in the left column 
*/
.dl-horizontal dt {
    white-space: normal;
}

/* Set width on the form input elements since they're 100% wide by default */
/*input,
select,
textarea {
    max-width: 280px;
}
*/

.inputdefault {
  width: 100%;
  text-align:left;
   border: 1px solid transparent;
    border-radius: 4px;
    cursor: pointer;
    display: inline-block;
    font-size: 14px;
    font-weight: normal;
    line-height: 1.42857;
    margin-bottom: 0;
    padding: 6px 12px;
    vertical-align: middle;
    white-space: nowrap;
}

A:link, A:hover {
    color: #888;
    text-decoration: none;
}

A:hover {
    color: #099;
    text-decoration: none;
}

A:visited {
    color: #bbb;
}

A.btn, A.btn:visited {
    color: #fff;
}

.btn {
    letter-spacing: normal;     
}

.btn2 {
    font-size:14px;    
    padding:3px;
    margin-top:-2px;
} 

.btnBack {
    font-size:28px;    
    padding:3px;
    margin-top:-2px;
    color:inherit;
} 

A.btnBack, A.btnBack:visited {
    color: inherit;
}

.divUpDownBtn {
    display:inline-table;
}

.btnBlock {
    display:block;
}

.btnText {
    padding: 6px 6px;
}

.header {
    margin-top: 40px;
    margin-bottom: 20px;
}

.textheader {
    margin-bottom: 20px;    
}

.pageheadline {
    font-size: 22px;
    font-variant: small-caps;
    letter-spacing: 0.5em;
}

.pageheadline[contenteditable="true"]:empty::before {
    content: "<type page caption here>";
    opacity: 0.5;
}

.pagesubheadline {
    font-size: 16px;
    letter-spacing: 0.3em;
}

.pagesubheadline[contenteditable="true"]:empty::before {
    content: "<type description here>";
    opacity: 0.5;
}

.pageedit {
    position: fixed;
    top: 0;
    right: 0;
    z-index: 2000;
}

.backButton {
    position: fixed;
    width: 100%;
    top: 50px;
    left: -5px;
    z-index: 500;
    margin: 0px auto;
    text-align:left;
}

.chapterheadline {
    font-size: 18px;
    font-variant: small-caps;
    font-weight: normal;
    letter-spacing: 0.3em;
}

.chapterheadline[contenteditable="true"]:empty::before {
    content: "<type chapter caption here>";
    opacity: 0.5;
}

.textheadline {
    font-size: 18px;
    font-weight: normal;
    letter-spacing: 0.3em;
    text-align:left;
}

.textheadline[contenteditable="true"]:empty::before {
    content: "<type chapter header here>";
    opacity: 0.5;
}

.text {
    font-size:14px;
    font-variant:normal;
    font-weight: normal;
    text-align:left;
    color:#555;
}

.text[contenteditable="true"]:empty::before {
    content: "<type chapter text here>";
    opacity: 0.5;
}

.chaptersubheadline {
    font-size: 12px;
    letter-spacing: 0.3em;
}

.chaptersubheadline[contenteditable="true"]:empty::before {
    content: "<type description here>";
    opacity: 0.5;
}

.chaptersubheadline[contenteditable="true"] {
    min-height: 28px;
}

.chaptersubheadline[contenteditable="false"]:empty {
    display:none;
}

.imagecaption {
    display: none;
    font-size: 12px;
    letter-spacing: 0.3em;
}

.imagecaption[contenteditable="true"]:empty::before {
    content: "<type description here>";
    opacity: 0.5;
}

.navigation {
    font-size: 100%;
    font-weight: normal;
    font-variant: small-caps;
    margin-left: 15px;
    margin-right: 15px;
    letter-spacing: 0.3em;
}

.chapter {
    margin: 0 auto 20px;
    font-size: 18px;
    font-weight: normal;
    font-variant: small-caps;
    position: relative;
}

.thumb {
    height: 200px;
    background-color: #333333;
    margin: 0 auto 5px 5px;
    /*padding: 10px;
    border: solid 1px #888888;*/
}

.thumbPano {
    height: 200px;
    margin: 0 auto 20px;
    padding: 10px;
    background-color: #333333;
    border: solid 1px #888888;
}

.thumbsquare {
    position: relative;
    width: 200px;
    height: 200px;
    overflow: hidden;
}

.thumbsquare img {
    position: absolute;
    left: 50%;
    top: 50%;
    height: 100%;
    width: auto;
    -webkit-transform: translate(-50%,-50%);
    -ms-transform: translate(-50%,-50%);
    transform: translate(-50%,-50%);
}

.thumbsquare img.portrait {
    width: 100%;
    height: auto;
}

.thumbsgallery figcaption {
    display: none;
}

.dropzone {
}

.dropzone3 {
    background-color: cadetblue;
    display: inline-block;
    width: 50px;
    height: 200px;
    margin: 0 auto -88px;
}

.dragover {
}

.dragging {
    opacity: 0.9;
}

.filetarget {
    background-color: dimgray;
    overflow: auto;
    height: 500px;
}

.filetargetIcon {
    background-color: dimgray;
    overflow: auto;
    height: 300px;
}

#filetargettext {
    margin-left: 20px;
    font-size: 30px;
    line-height: 150px;
    color: #555555;
}

.filetargetthumb {
    height: 150px;
    padding: 4px;
    width: unset;
}

.fileinfo {
    padding: 4px;
}

.InfoContainer {
    background-color: #F0F0F0;
    width: 95%;
}

div.editable {
    min-width: 50px;
    border-style: dashed;
    border-width: 1px;
    border-color: #555555;
}

button, input {
    line-height: normal;
}

button, input, select, textarea {
    font-size: 18px;
    margin: 0;
    vertical-align: baseline;
    *vertical-align: middle;
}

.fileinput-button {
    position: relative;
    overflow: hidden;
}

.fileinput-button input {
    position: absolute;
    top: 0;
    right: 0;
    margin: 0;
    opacity: 0;
    filter: alpha(opacity=0);
    transform: translate(-300px, 0) scale(4);
    font-size: 23px;
    direction: ltr;
    cursor: pointer;
}

.editbuttons {
    position: absolute;
    top: -1px;
    right: 0px;
    z-index: 10;
    letter-spacing: normal;
    opacity: 0.3;
    transition: opacity .2s ease-in-out;
    -moz-transition: opacity .1s ease-in-out;
    -webkit-transition: opacity .1s ease-in-out;
    text-align:left;
}

.chapter > .editbuttons, .textitem > .editbuttons {
    right: -82px;
    font-size: 1px;
}
.editbuttons:hover {
   opacity: 1.0;
}

.editbuttons2
{
    position: absolute;
    top: 0px;
    right: 0px;
    z-index: 10;
    letter-spacing: normal;
    opacity: 0.0;
    font-size:0px;
    padding:0px;
    
}

.chapterheadline:focus+.editbuttons2, 
.chaptersubheadline:focus+.editbuttons2, 
.imagecaption:focus+.editbuttons2, 
.pageheadline:focus+.editbuttons2, 
.pagesubheadline:focus+.editbuttons2, 
.textheadline:focus+.editbuttons2, 
.text:focus+.editbuttons2, 
.chapterheadline+.editbuttons2>btn:focus, 
.chaptersubheadline+.editbuttons2>btn:focus, 
.imagecaption+.editbuttons2>btn:focus, 
.pageheadline+.editbuttons2>btn:focus, 
.pagesubheadline+.editbuttons2>btn:focus, 
.textheadline+.editbuttons2>btn:focus, 
.text+.editbuttons2>btn:focus 
{
    opacity: 1.0;
    font-size:initial;
}

.chapterheadline:hover+.editbuttons2, 
.chaptersubheadline:hover+.editbuttons2, 
.imagecaption:hover+.editbuttons2, 
.pageheadline:hover+.editbuttons2, 
.pagesubheadline:hover+.editbuttons2, 
.textheadline:hover+.editbuttons2, 
.text:hover+.editbuttons2 {
}

.imagecaption + .editbuttons2 {
    margin-top:-23px;
}

.open.editbuttons.dropdown {
    opacity: 1.0;
    z-index: 1000;
}

.thumbframe {
    display: inline-block;
    position: relative;
    margin: 2px;
}

.thumbsgallery {
    font-size: 1px;
}

.textitem 
{
    display:inline-block;
    width:100%; 
}
.pageheader {
    position: relative;
}

.modal-content, .dropdown-menu {
    background-color: #555555;
}

.btn-text-left {
    text-align: left;
}

.editmode {
    display: inherit;
}

.descriptionChapter {
    margin-right: 5px;
    font-weight: bold;
    text-align: right;
}

.descriptionImage {
    text-align: left;
    margin-left: 5px;
}

.ExposureInfo {
    margin-left: 7px;
    font-variant: normal;
    text-align: left;
}

.ImageInfo {
    margin-right: 10px;
    font-variant: normal;
    text-align: right;
}

.descriptionTable {
    width: 100%;
    vertical-align: top;
}

.descriptionLeft {
    width: 50%;
    border-right: 1px solid;
}

.descriptionLeft2 {
    width: 25%;
    text-align: right;
    border-right: 1px solid;
}

.descriptionRight {
    border:1px;
    margin-right: 7px;
    width: 50%;
}

.map {
    position: absolute;
    top: -300px;
    right: 5px;
}

.disable {
    opacity: 0.5;
}

.pagepreview {
    display: inline-block;
    width: 300px;
    height: 300px;
    overflow: hidden;
    transition: 0.5s ease-in-out;
}

.pagepreview figure {
    position: relative;
    height: 100%;
    width: 100%;
    }

.pagepreview img {
    width: 300px;
    height: 300px;
object-fit: cover;
}

.pagepreview img.portrait {
    width: 100%;
    height: auto;
}

.pagepreview .p-content {
    display:none;
    bottom: 0px;
    position: absolute;
    right: 20px;
    opacity:0.8;
    text-align:right;
    color: #FFF;
    text-shadow: 2px 2px #222222;
}

.pagepreview:hover {
    transform: scale(1.02);
}

.pswp_hideScrollbar {
    overflow: hidden;
}

.PSChapter {
  position: absolute;
  left: 50%;
  top: 50%;
  -webkit-transform: translate(-50%, -50%) scale(1.5);
  transform: translate(-50%, -50%) scale(1.5);
}

.trackmap {
	aspect-ratio: 16/8;
	width:90%;
}