/*********************medel**********************/
#global {
min-height:100%;
background:#fff url(/templates/skin1/images/contentBgr.gif) repeat-y;
}


/***************************header********************************/
#header {
width:100%;
height:289px;
background:url(/templates/skin1/images/headerBgr.jpg) repeat-x 71px;
position:absolute;
left:0;
}

#wall {
width:100%;
height:289px;
position:absolute;
z-index:5;
background:url(/templates/skin1/images/wall.jpg) no-repeat 50% 0;
}

#wall a {
width:469px;
height:41px;
display:block;
margin:0 auto;
position:relative;
top:23px;
font-size:1px;
color:#BE8079;
}

.plant {
width:172px;
height:289px;
background:url(/templates/skin1/images/plant.png) repeat-x;
position:absolute;
z-index:10;
}

.left {
left:1px;
}

.right {
right:1px;
}

#sofa {
width:100%;
height:289px;
position:absolute;
z-index:20;
background:url(/templates/skin1/images/sofa.png) no-repeat 50%;
top:65px;
}

/***************************headerEnd********************************/

#box {
width:100%;
max-width:1700px;
position:relative;
margin:0 auto;
}

/************************nav***********************/
#nav {
width:254px;
height:300px;
position:absolute;
left:1px;
top:280px;
z-index:30;
}

#nav ul {
width:100%;
display:block;
background:url(/templates/skin1/images/navMid.jpg) repeat-y;
margin:0px auto 0 auto;
position:relative;
padding:60px 0 15px 0;
}

#nav ul:before {
content:"";
height:122px;
width:100%;
display:block;
clear:both;
background:url(/templates/skin1/images/navBotTop.jpg) no-repeat;
position:absolute;
top:0;
z-index:10;
}

#nav ul:after {
content:"";
height:122px;
width:100%;
display:block;
clear:both;
background:url(/templates/skin1/images/navBotTop.jpg) no-repeat 0 -122px;
position:absolute;
bottom:-1px;
z-index:10;
}

#nav ul li {
height:43px;
width:195px;
display:block;
list-style:none;
position:relative;
z-index:30;
left:27px;
border-top:1px #000 dotted;
margin:0 0 1px 0;

}

#nav ul li:hover a {
background:#a8273c;
}

#nav ul li a {
display:block;
width:90%;
height:inherit;
color:#333;   
text-decoration:none;
padding:1px 29px 0 5px;

}

#nav ul li:hover:before {
content:"";
display:block;
width:10px;
height:44px;
background:#a8273c;
float:left;
position:absolute;
left:-17px;

}

#nav ul li:first-child a {
border-top:none;
}

#nav ul li a:hover {
color:#fff;
}

#nav .akt a {
background:#a8273c;
color:#fff;
}

#nav .akt a:before {
content:"";
display:block;
width:10px;
height:45px;
background:#a8273c;
float:left;
position:absolute;
left:-17px;
margin:0 0 1px 0;
top:-1px;
}

/*#nav span {
display:table-cell;
width:inherit;
height:inherit;
vertical-align:middle;
}*/

/************************navEnd***********************/

/************************content***********************/
#content {
margin:0 300px -81px 300px;
min-height:99%;
border-left:1px #000 dotted;
border-right:1px #000 dotted;
padding:0 0 0px 0;
}

#paddingForHeader {
width:100%;
height:289px;
}

#contentBox {
padding:30px 30px 100px 30px;
max-width:1500px;
}

#contentBox h1,
#contentBox h2,
#contentBox h3,
#contentBox h4,
#contentBox h5,
#contentBox h6 {
margin:0 0 1em 0;
}

.firstHeader {
width:100%;
height:32px;
display:block;
background:#a8273c;
color:#fff;
font-size:110%;
position:relative;
line-height:28px;
text-indent:20px;
}

/*#content .firstHeader,#contentBox {
position:relative;
top:200px;
}*/

/*.firstHeader:before {
content:"ggggggggg";
display:block;
height:50px;
width:200px;
background:#00FF00;
clear:both
}*/




.firstHeader:before,.firstHeader:after {
content:"";
width:10px;
height:32px;
position:absolute;
}




.firstHeader:before {
left:-1px;
background:url(/templates/skin1/images/header2Bgr.gif) no-repeat;
}

.firstHeader:after  {
right:-1px;
background:#fff url(/templates/skin1/images/header2Bgr.gif) no-repeat 0 -32px;
}

/************************contentEnd***********************/

/*************************gallery*************************/
#gallery {
width:181px;
height:300px;
position:absolute;
top:288px;
right:20px;
z-index:30;
}

#gallery a {
width:158px;
height:105px;
display:block;
}

#gallery a:before {
content:"";
display:block;
width:158px;
height:105px;
background:url(/templates/skin1/images/galMask.png) no-repeat;
position:absolute;
left:10px;
z-index:10;
}

#gallery img {
width:158px;
height:105px;
position:absolute;
z-index:5;
left:10px;
}

#testBox {
position:relative;
width:100%;
}

#test, #test2 {
width:200px;
height:100px;
position:absolute;
}

#test {
left:20px;
top:20px;
/*background:#0000FF;
filter:AlphaImageLoaded( src='/templates/skin1/images/galMask.png', sizingMethod='scale');*/
/*filter:progid:DXImageTransform.Microsoft.Iris(irisStyle=SQUARE, motion=in)*/
z-index:10;
}

#test2 {
left:40px;
top:40px;
background:#FF0000;
z-index:5;
}
/************************galleryEnd***********************/

#fotter {
height:81px;
width:98%;
position:relative;
margin:-81px auto 0 auto;
background:#a8273c;
}

#fotter:before,#fotter:after {
content:"";
width:10px;
height:81px;
position:absolute;
}

#fotter:before {
left:0px;
background:url(/templates/skin1/images/fotterBgr.gif) no-repeat;
}

#fotter:after  {
right:0px;
background:#fff url(/templates/skin1/images/fotterBgr.gif) no-repeat 0 -81px;
}

#counters { 
position:absolute;
top:10px;
right:0;	
}
