.main {
min-height: 100%;
position: relative; /* чтобы дочерние элементы позиционировались относительно этого блока */
}


/* CSS Document */

html, body {
width: 100%;
height: 100%;
}

* html #container {
height: 100%;
}

#container {
position: relative;
width: 960px;
margin: 0 auto;
min-height: 100%;
}


#footer {
position: relative;
background-image: url(../images/tightrope4.png);
width: 960px;
height: 90px;
color: #ccc;
font-size: .9em;
margin:50px auto 0;
}


#footer p {
font-size: .9em;
padding: 20px 0 0;
text-align: center;
}

#footer a {
color: #fff;
}

#footer a:hover {
color: #999;
}

table.mirr {background-image: url(../images/tightrope4.png); height: 100%; width: 1224px; background-repeat:no-repeat; background-position: right bottom;}

body { background-color:#cde8f9; margin:0px; background-repeat:repeat-x; background-image:url(../images/bg.png); background-position:0 0px; }
body.nevvs { background-color:#012751; margin:0px; background-repeat:repeat-y; background-position:0 0px; }
body.v { background-color:#cde8f9; margin:0px; background-repeat:repeat-x; background-image:url(../images/bg_v.png); background-position:0 0px; }
body, td, input, textatea, select { color: white; font-size: 12px; font-family: Verdana, Arial, Helvetica, sans-serif; }
div.nave { background-image:url(../images/nave.jpg); background-position:50% 0; background-repeat:no-repeat; height:100%; }
div.krug { background-image:url(../images/tightrope4.png); background-position:100% 100%; background-repeat:no-repeat;}
div.nave_v { background-image:url(../images/nave_v.jpg); background-position:50% 0; background-repeat:no-repeat; height:100%; }
td.foot { border-top:3px solid #012751; }
td.foot table { width:100%; }
td.foot td { padding:37px; color:#18579c; }
td.foot a { color:#18579c; text-decoration:none; }
/*меню top из 3-х пунктов*/
table.menu { /*background-image:url(../images/menu_top.png);*/ background-repeat:no-repeat;margin-top:20px; margin-right:10px; }
table.menu a { color:white; text-decoration:none; margin:0 7px; padding:0 1px; }
/*меню возможности top из 3-х пунктов*/
table.menu_v { /*background-image:url(../images/menu_top.png);*/ background-repeat:no-repeat;margin-top:20px;  margin-right:10px; }
table.menu_v a { color:white; text-decoration:none; margin:0 7px; padding:0 1px; }
/*событие рамка*/
table.sob_v { background-image:url(../images/sob.gif); background-repeat:no-repeat; margin-top: 0px; }
table.sob { background-image:url(../images/sob.gif); background-repeat:no-repeat; margin-top: 320px; }
td.titlel { color:#93d5ff; font-size:18px; padding:29px 36px 6px; text-align:center; }
td.titlel a, td.titlel a:visited{text-decoration:underline;color:#fff;}
td.titlel a:active, td.titlel a:hover{text-decoration:none;color:#fff;}


td.sob_bg { background-image:url(../images/sob_bg.gif); background-repeat:repeat-y; }

/* Услуги */
table.servis { background-image:url(/images/uslugi2.gif); background-repeat:no-repeat; margin-top: 0px; }
table.servis_m { background-image:url(/images/uslugi2.gif); background-repeat:no-repeat; margin-top: 320px; }

/*История*/
table.his{ background-image:url(/images/0nas.gif); background-repeat:no-repeat; margin-top: 20px; }
table.empty{ background-image:url(/images/empty.gif); background-repeat:no-repeat; margin-top:-10px; }

/*возможности рамка*/
table.club { background-image:url(../images/club.gif); background-repeat:no-repeat; margin-top: 0px; }

/*новости рамка*/
table.news_tad { background-image:url(../images/novosti.gif); background-repeat:no-repeat; margin-top: 0px; }

/*контакты рамка*/
table.contact { background-image:url(../images/contact_1.gif); background-repeat:no-repeat; margin-top: 0px; }
td.title_c { color:#93d5ff; font-size:20px; padding:29px 36px 6px; }
/*фотогалерея рамка*/
table.photo { background-image:url(../images/photo_1.gif); background-repeat:no-repeat; margin-top: 0px; }
td.title_p { color:#93d5ff; font-size:20px; padding:29px 36px 6px; }
td.photo_bg { background-image:url(../images/photo_3.gif); background-repeat:repeat-y; }
/*возможности рамка*/
table.vozm { background-image:url(../images/vozm.gif); background-repeat:no-repeat; margin-top: 0px; }
td.title_m { color:#93d5ff; font-size:20px; padding:29px 36px 6px; }
td.vozm_bg { background-image:url(../images/vozm_bg.gif); background-repeat:repeat-y; }
/*круизный лайнер рамка для флеш альбома*/
table.lux { background-image:url(../images/lux.gif); background-repeat:no-repeat; margin-top: 190px; }
table.news_box { background-image:url(/images/news_box.gif); background-repeat:no-repeat; margin:-5px 0 0 0; }
td.title { color:#93d5ff; font-size:20px; padding:29px 36px 6px; }
td.lux_bg { background-image:url(../images/lax_bg.gif); background-repeat:repeat-y; }
td.serv_t { background-image:url(../images/t2.gif); behavior:url('css/pngbg2.htc'); padding:25px 36px 0; }
td.button { background-color:#2084ff; font-size:18px; padding-right:8px; }
p, ul, ol { margin-top:0px; margin-bottom:10px;}
div.serv { border-bottom:1px solid #0a4181; padding:0 33px 3px; }
div.serv a { font-size:24px; color:white; text-decoration:none; background-image:url(../images/arrow2.gif); background-repeat:no-repeat; background-position:right 13px; padding-right:17px; }
div.serv_img a { font-size:24px; color:white; text-decoration:none; background-repeat:no-repeat; background-position:right 13px; padding-right:17px; }
div.serv div { margin-bottom:10px; display:none; padding-top:10px;}
td.dash { background-image:url(../images/dash.gif); background-repeat:repeat-x; background-position:0 50%; }
a.top { color:#012751; text-decoration:none; background-image:url(../images/arrow3.gif); background-repeat:no-repeat; background-position:right 50%; padding-right:15px; }
img.galsp { margin-right:13px; border-width:0px; }
a.dblue { color:#ffffff; text-decoration:none; }

table.footer_m { 
background-image:url(../images/footer_m.gif); 
background-repeat:no-repeat; margin-top: 0px; 
}
A:link {text-decoration: none; color: #FFF;}
A:visited {text-decoration: none; color: #FFF;}
A:active {text-decoration: none}
A:hover {text-decoration: underline; color: #09F;}

