* {

    margin: 0;
    padding: 0;
}

html,body {

    height: 100%;
    width: 100%;
    font-family: arial;
    color: #999999; 
    line-height: 200%;
    font-size: 100%;
    background-color: #4f5454;
    
}
a, a:link, a:visited, a:active, a:hover {
    border:0!important;
}

a{
    text-decoration: none;
    color: #999999; 
}

a:hover{
    text-decoration: none;
    color: #cccccc; 
}

#wrapper {
    position:relative;
    top: 10%;
    max-width: 1400px;
    min-width: 900px;
    height: 80%;
    max-height:900px;
    margin: 0 auto;
}

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

    #wrapper {
    top: 0%;
    height: 100%;
    max-height:900px;
    margin: 0 auto;
}
    
}


header{
    height: 20%;
}

#logo-txt{
    position:absolute;
    margin-top: 5%;
    margin-left: 2%; 
}

header a {

    color: #ff9000;
    font-size: 250%;
}

#main_nav{

    float: right;
    width: 20%;
}

#main_nav ul{
    font-size: 110%;
    font-weight:bold;
    list-style: none;
    padding-left: 10%;
}

#main_nav li ul{
    font-weight:normal;
    font-size: 85%;
    line-height: 110%;
}

.is-active{
    border: 1px solid;
    border-left-style: none;
}

.is-active-collection{
    color: #2e2e2e;
}

#intro{

    float: left;
    margin-left: 20%;
    width: 60%;
    height: 100%;
}

#intro img{
    
    display: block;
    max-height: 100%;
    max-width: 100%;
    margin: 0 auto;
 
}

#impressum{
    border: 1px solid;
    padding: 5%;
    width:25%;
    margin-left:25%;
}

section{
    height: 60%;
}

#reference-group, .cat-group, .books, .cat-list{
     border: 1px solid;
    padding: 2%;
    width:50%;
  
    max-height:90%;
    margin-left:25%;   
    overflow: auto;
}
#reference-group .ref-item{
    width:100%;  
    padding:2%;
    overflow: auto;
}

#reference-group .ref-preview{
    width:40%;  
    float:left;
}

#reference-group .ref-item .ref-preview .ref-preview-img{
    max-width:100%;  
}

#reference-group .ref-preview-text{
    float:left;
    margin-left: 2%;
    width:50%;
}

.cat-group .cat-item{
    width:30%; 
    height: 50%;
    float: left; 
    margin-right: 2%; 
    margin-top: 2%;
    display: block;
    opacity: 0.7;
}

.cat-item p{
    text-align: center;
}

.cat-item-preview{
    height: 60%;
}

.book-item {

    margin-left:  auto;
    margin-right: auto;
    width: 450px;
    padding-top: 20px;
}

.cat-item-preview img{
    display: block;
    max-height: 100%;
    margin: 0 auto;
    max-width: 100%;
    vertical-align: middle;
}

a.cat-item:hover{
    opacity: 1;
}

.cat-list .even {

    background-color: #e6e4e4;
}

.cat-list .odd {

    background-color: #d0d0d0;
    
}
.cat-list td{
    padding: 3px;
}

.cat-list  td{
    width:200px;
}

.cat-list td:first-child, {
    width:100px;
}

.cat-list td:last-child, {
    width:auto;
}

.cat-editor {

    display: none;
    position: fixed;
    width: 60%;
    height: 100%;
    left: 20%;
    top:0px;
    border: 1px solid;
    background-color: white;
}


footer{
    width: 100%;
    font-size: 80%;
    text-align: center;
    position: absolute;
    bottom: 10px;
}

.getty-link:hover{
    opacity: 0.7;
}