#popover{
    position: fixed;
    z-index: 2000;
    display: none;
    padding:20px;
    background: white;
    text-wrap: avoid;
}

#attach, #information, #media{
    position: fixed;
    z-index: 2001;
    display: none;
    background: rgba(255, 255, 255, 0.7);
    width: 100%;
    height: 100%;
    top: 0;
    left: 0;
}



.main-info
{
    height: 200px;
    min-height: 200px;
    min-width: 1210px;
}

.content-holder
{
    overflow: auto;
}

.clear-both
{
    clear: both;
}

.group-left
{
    float: left;
    text-align: center;
}

.group-right
{
    float: right;
    text-align: center;
}

.small-height
{
    height: 40px;
}

.small-width
{
    width: 40px;
}

.medium-width
{
    width: 120px;
}

.large-width
{
    width: 200px;
}

.outline
{
    /*border: 1px dashed crimson;*/
}

#children
{
    margin-top: 70px;
}

#siblings
{
    margin-top: 110px;
}

#children, #siblings
{
    overflow-y: auto;
    height: 40px;
}

#parents, #children, #siblings
{
    width: 500px;
}

.child, .sibling
{
    float: left;
    width: 120px;
    text-wrap: none;
}

.child:hover, .sibling:hover, .parent:hover, #spouse-holder:hover
{
    cursor: pointer;
    background: crimson;
    border-radius: 5px;
    color: #ffffff;
}

.child:hover > .label, .sibling:hover > .label, .parent:hover > .label, #spouse-holder:hover > .label
{
    color: #000000;
}

#picture, #picture > img {
    max-width: 200px;
    max-height: 200px;
}

#picture > img {
    margin-top: 50%;
    margin-left: 50%;
    transform: translate(-50%, -50%);
}

#picture
{
    margin-right: 5px;
}

#holder
{
    width: 99%;
    min-width: 1210px;
    overflow-y: auto;
    border: 1px solid crimson;
}

#name
{
    font-size: 20px;
}

#gender, #birth, #death, #spouse, #mother, #father, .family-element
{
    height: 25px;
    margin-top: 2px;
}

.family-element
{
    font-size: 12px;
}

#birth, #death
{
    margin-top: 5px;
}

#gender
{
    margin-top: 1px;
    margin-left: 6px;
}

.label
{
    font-size: 10px;
    color: #999999;
    float: right;
    height: 11px;
    margin-right: 5px;
    margin-top: -2px;
}



.nav-hidden
{
    display: none;
}

#navigation
{
    margin-top: 10px;
    width: 100%;
    height: 40px;
}

#nav_description > div, #nav_events > div, #nav_pictures > div, #nav_movies > div
{
    text-align: center;
    margin-top: 5px;
}

#description > p
{
    width: 98%;
    margin-left: 1%;

}

#nav_description, #nav_events, #nav_pictures, #nav_movies
{
    border-top: 1px solid crimson;
    border-left: 1px solid crimson;
    border-top-left-radius: 10px;
    border-top-right-radius: 10px;
}

#nav_movies
{
    border-right: 1px solid crimson;
}

#nav_description:hover, #nav_events:hover, #nav_pictures:hover, #nav_movies:hover
{
    background: #EA728A;
    cursor: pointer;
}

#nav_description.active, #nav_events.active, #nav_pictures.active, #nav_movies.active
{
    background: crimson;
    color: #ffffff;
    font-weight: bold;
    border: 1px solid #EA728A;
}

.attachment-message, .information-message, .media-message{
     position: relative;
     background: white;
     padding: 20px;
     width: 20%;
     height: 20%;
     top: 50%;
     left: 50%;
     margin-left: -10%;
     margin-top: -10%;
     border-radius: 10px;
     border: 1px solid crimson;
 }

.information-message, .media-message{
    width: 90%;
    height: 90%;
    top: 3%;
    margin-top: 0;
    margin-left: -45%;
}

#close-information, #close-media
{
    text-align: center;
    border: 1px solid crimson;
    border-radius: 20px;
    width: 30px;
    height: 30px;
    cursor: pointer;
    position: absolute;
    background: #DDDDDD;
    right: -15px;
    top: -15px;
}

#close-information > p, #close-media > p
{
    margin-top: 4px;
    margin-left: 2px;
    font-weight: bold;
    color: crimson;
}

#close-information:hover, #close-media:hover
{
    background: crimson;
}

#close-information:hover > p, #close-media:hover > p
{
    color: white;
}

.slides li
{
    float: left;
}

.slides img
{
    width: 100px;
    height: 100px;
    padding: 10px;
}

#attach-listener
{
    float: left;
    width: 45%;
    height: 20%;
    display: none;
    border: 1px solid crimson;
}

#cancel-listener
{
    float: right;
    width: 45%;
    height: 20%;
    display: none;
    border: 1px solid crimson;
}

.attachment-message > .title
{
    text-align: center;
    padding: 10px;
    display: none;
}

.attachment-message > .stone-id
{
    text-align: center;
    padding: 10px;
    width: 100%;
}

.attachment-message > .list
{
    margin-left: 10%;
    width: 80%;
    height: 25%;
}

.attachment-message > .list > select
{
    width: 80%;
    text-align: center;
    margin-left: 10%;
}