/*
  ****************************************
  GLOBAL
  ****************************************
 */
html{
    background-color: #1d1c22;
    font-size: 16px;
}
.content{
    padding-top: 10px;
    padding-bottom: 10px;
}
.highlight{
    background-color: #efefef;
    border: 1px solid #E7E7E7;
    border-radius: 4px;
    margin-bottom: 14px;
    padding: 9px 14px;
}
.alert-box{
    width: 50%;
    margin: 20px auto;
    padding: 5px;
    border-radius: 4px;
    border: 1px solid gray;
}
.table-dl td{
    padding: 5px;
}
.banner{
    border-bottom: 4px solid black;
    color: white;
    background-image: url("../images/banner.jpg");
    background-size: 100%;
    background-repeat: no-repeat;
    margin-bottom: 0;
}
.banner-background{
    margin: 40px 0;
    background-color: black;
    border-radius: 20px;
    padding: 20px 0;
    background-color: rgba(0, 0, 0, 0.5);
}
.banner-background img{
    max-height: 150px;

}
.banner-background h1{
    font-size: 72px;
}
.banner-background h1,
.banner-background h2,
.banner-background h3{
    margin-top: 0;
}
.page-section{
    margin-bottom: 40px;
}
.subsection{
    margin-bottom: 20px;
}
/*
  ***************************************
  FOOTER
  ***************************************
 */
#footer{
    height: 60px;
    border-top: 1px solid #e7e7e7;
    text-align: center;
    color: white;
}
/*
  ***************************************
  INDEX
  ***************************************
 */
.media{
    display: inline;
}
.media img{
    height: 50px;
    margin: 5px;
}
/*
  ***************************************
  ONTOLOGY PAGE
  ***************************************
 */
.entity{
    border: 1px solid navy;
    padding: 5px;
    margin: 5px 0;
}

.entity h1,
.entity h2,
.entity h3,
.entity h4,
.entity h5{
    border-bottom: 1px solid navy;
}
.description{
    border-top: 1px dashed gray;
    border-bottom: 1px dashed gray;
    background-color: rgb(242, 243, 244);
    margin-top: 5px;
    padding-bottom: 5px;
}
.description dl dd{
    margin-left: 1em;
}
/*
  ***************************************
  PAGINATION/SEARCH RESULTS
  ***************************************
 */
.result-doc{
    margin: 10px 0;
    padding: 10px 0;
    border-bottom: 1px solid silver;
}
.doc-label{
    font-size: 120%;
}
.paging_div{
    padding: 10px 0;
    vertical-align: top
}
.page-nos{
    text-align: right;
}
#filter-form .form-control{
    width: 20em;
    display: inline;
}
/*
  ***************************************
  SPARQL
  ***************************************
 */
#sparqlForm{
    margin: 20px 0;
    font-size: 14px;
}
#sparqlForm select{
    width: 20em;
}
.CodeMirror{
    background-color: #fff;
    background-image: none;
    border: 1px solid #ccc;
    border-radius: 4px;
    box-shadow: 0 1px 1px rgba(0, 0, 0, 0.075) inset;
    color: #555;
    padding: 6px 12px;
    transition: border-color 0.15s ease-in-out 0s, box-shadow 0.15s ease-in-out 0s;
}
.CodeMirror:focus{
    border-color: #66afe9;
    box-shadow: 0 1px 1px rgba(0, 0, 0, 0.075) inset, 0 0 8px rgba(102, 175, 233, 0.6);
    outline: 0 none;
}
/*
  ***************************************
  PAGE DISPLAY
  ***************************************
 */
.lang{
    font-style: italic;
}
.toggle-geoJSON{
    margin-left: 10px;
}
.map-normal{
    width: 100%;
    height: 400px;
}
.map-fullscreen{
    width: 100%;
    height: 100%;
}
.ol-attribution{
    max-width: calc(100% - 3em);
}
.ol-control button,
.ol-attribution,
.ol-scale-line-inner{
    font-family: 'Lucida Grande', Verdana, Geneva, Lucida, Arial, Helvetica, sans-serif;
}
.thumb{
    max-width: 100%;
    height: 160px;
    margin: 5px 0;
}
#iiif-container{
    background-color: inherit;
}
.iiif-container{
    width: 100%;
    height: 100%;
}
.obj-container{
    z-index: 1;
    /*cursor:pointer;*/
    color: #c94f2a;
}
a.fancybox{
    height: 100%;
    width: 100%;
    display: block;
}
@media (min-width : 992px){
    .obj-container{
        height: 200px;
        background-size: cover;
        background-position: center center;
        background-repeat: no-repeat;
        position: relative;
    }
    .iiif-zoom-glyph{
        position: absolute;
        right: 0;
        top: 180px;
    }
    .model-button{
        position: absolute;
        right: 20px;
        top: 180px;
        z-index: 1000;
    }
}
@media (max-width : 991px){
    .obj-container{
        height: 400px;
        background-size: cover;
        background-position: center center;
        background-repeat: no-repeat;
        position: relative;
    }
    .iiif-zoom-glyph{
        position: absolute;
        right: 0;
        top: 380px;
    }
    .model-button{
        position: absolute;
        right: 20px;
        top: 380px;
        z-index: 1000;
    }
}
.iiif-window{
    width: 640px;
    height: 480px;
}
/*
  ***************************************
  VISUALIZATION FORM
  ***************************************
*/
#distributionForm input[type = text],
#distributionForm select{
    width: 20em;
}
#distributionForm select.era{
    width: 5em;
    margin-left: 10px;
}
#distributionForm input.year{
    width: 10em;
}
.control-container{
    display: inline;
    width: 20px;
}
.control-row .btn{
    margin: 0 5px;
}
.query-pair{
    display: block;
    margin-bottom: 15px;
}
.prop-container{
    display: inline;
    margin-left: 10px;
    margin-right: 10px;
}
.duplicate-date-alert-box,
.empty-query-alert-box{
    width: 50%;
    margin: 20px auto;
    padding: 5px;
    border-radius: 4px;
    border: 1px solid gray;
}