#head {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 94px;
    z-index: 2;
}
#foot {
    position: fixed;
    bottom: 0;
    left: 0;
    width: 100%;
    height: 52px;
    z-index: 2;
}
#contacts {
    padding-top: 8px;
    padding-left: 8px;
}
#title, #contacts {
    max-width:  76eM;
    min-width:  12eM;
    margin-left: auto;
    margin-right: auto;
}
#head .decoration {
    position: absolute;
    top: 92px;
    left: 0;
    height: 28px;
    width: 100%;
}
#foot .decoration {
    position: absolute;
    top: -26px;
    left: 0;
    height: 90px;
    width: 100%;
}
#logo {
    position: absolute;
    top:      0px;
    z-index:  9;
    height:   144px;
}
#title {
    height: 92px;
}

#menu {
    position: absolute;
    left: 320px;
    right: 0px;
    bottom: 6px; 
    max-width: 664px;
    min-width: 160px;
    text-align: right;
}
#menu a {
    margin-right: 1.2eM;
}
#canvas {
    top: 0;
    max-width: 78eM;
    min-width: 12eM;
    
    height: 100%;
    margin-left: auto;
    margin-right: auto;
    text-align: left;
}
#wrapper {
    position: absolute;
    z-index: 1;
    top: 94px;
    bottom: 54px;
    width: 100%;
}
#content {
    position: absolute;
    width: 100%;
    height: 100%;
}

#left, #right {
    position: absolute;
    width: 37eM;
    top: 0;
    bottom: 128px;
    overflow: hidden;
}
#left > h2,
#right > h2 {
    display: block;
    position: absolute;
    top: .5eM;
}
#left > h2 {
    left: 0;
}
#right > h2 {
    right: 0;
}

#summary {
    position: absolute;
    bottom: 0px;
    height: 128px;
    width: 100%;
}
#left {
    left: 0px;
}
#right {
    right: 0px;
}
#frame {
    position: fixed;
    max-width: 64eM;
    min-height: 320px;
    z-index: 10;
    
    top:20%;
    left:40%;
    margin-left:-200px; 
}
#portfolio {
    /*position: fixed;*/
    padding: 2eM;
    width: 21eM;
    margin-top: 1eM;
    margin-bottom: 80px;
}
#portfolio h2 {
    margin-bottom: 0;
}

#popup {
    position: relative;
    
    top:80px;
    left:80px;
    margin-right:180px;
    margin-bottom:186px;
}
#lists {
    float: right;
    max-width: 53eM;
    margin-top: 3eM;
    padding-bottom: 80px;
}
#lists img {
    border: 2px solid white;
}
.entry {
    padding: 6px;
    margin-bottom: 8px;
    margin-left: 16px;
    height: 84px;
}
.entry > h3 {
    margin-top: -3px;
    padding: 0;
}
.entry img {
    float: left;
    height: 80px;
    margin-right: 2eM;
}
.entry img.smaller {
    position: relative;
    margin-right: 1.2eM;
    height: 48px;
    float: none;
}
.entry .stack {
    position: relative;
    top: -36px;
}
.entry .stack img.stack1 {
    z-index: 10;
    top: 36px;
}
.entry .stack img.stack2 { position: absolute; top:  4px; left:  5px; z-index: 9; opacity: 0.85; }
.entry .stack img.stack3 { position: absolute; top:  8px; left: 10px; z-index: 8; opacity: 0.70; }
.entry .stack img.stack4 { position: absolute; top: 12px; left: 15px; z-index: 7; opacity: 0.55; }
.entry .stack img.stack5 { position: absolute; top: 16px; left: 20px; z-index: 6; opacity: 0.40; }
.entry .stack img.stack6 { position: absolute; top: 20px; left: 25px; z-index: 5; opacity: 0.30; }
.entry .stack img.stack7 { position: absolute; top: 24px; left: 30px; z-index: 4; opacity: 0.20; }
.entry .stack img.stack8 { position: absolute; top: 28px; left: 35px; z-index: 3; opacity: 0.10; }
.entry .stack img.stack9 { position: absolute; top: 32px; left: 40px; z-index: 2; opacity: 0.05; }

.entry .stack img.smaller {
    border: 1px solid white !important;
}

#navrcholu {
    float: right;
    margin-right: 8px;
    margin-top: 6px;
}

div#welcome:not(.welcome) {
    padding: 2eM;
    margin-top: 3eM;
}
div.welcome {
    position: absolute;
    top: 0;
    bottom: 125px;
    width: 100%;
    max-height: 540px;
    overflow: hidden;
}
div.welcome h2 {
    position: absolute;
    top: 192px;
    width: 100%;
    text-align: center;
}
div.welcome p {
    position: absolute;
    left: 296px;
    right: 296px;
    top: 420px;
    overflow: hidden;
    text-align: center;
}

#summary .end-left, #summary .end-right {
    position: absolute;
    top: -26px;
}
#summary .end-left {
    left: -48px;
}
#summary .end-right {
    right: -48px;
}

#mapa {
    position: absolute;
    top: 16px;
    left: 6px;
    right: 6px;
    bottom: 128px;
    border: 8px solid white;
    background: white;
}
h1 {
    font-size: 100%;
    display: inline;
}

div.picture {
    height: 96px;
    z-index: 0;
}
#left div.picture.n1st { margin-left: 128px; }
#left div.picture.n2nd { margin-left: 64px; }
#left div.picture.n3rd { margin-left: 64px; }
#left div.picture.n7th { margin-left: 32px; }
#left div.picture.even { left: 64px; }
#left div.picture.odd { left: 0px; }

#right div.picture.n1st { margin-left: 48px; }
#right div.picture.n2nd { margin-left: 104px; }
#right div.picture.n3rd { margin-left: 104px; }
#right div.picture.n7th { margin-left: 96px; }
#right div.picture.even { left: 0px; }
#right div.picture.odd { left: 64px; }
#right div.picture { margin-left: 170px; }

div.picture img.picture {
    position: absolute;
    top: 24px;
    left: 24px;
    width: 192px;
    height: 144px;
}
div.picture img.frame {
    position: absolute;
    top: 0;
    left: 0;
    width: 248px;
    height: 200px;
}
div.picture h2 {
    display: block;
    position: absolute;
    background-image:  url('../img/bgw88.png');
    top: 64px;
    left: 24px;
    width: 192px;
    padding: 4px 0;
    z-index: 2;
    text-align: center;
    color: black;
    font-weight: bold;
    text-shadow: #fff 0px 4px 8px, #fff 4px 0px 8px, #444 1px 1px 3px;
}
#popup h2 {
    margin-top: 0;
}

