/*
-----------------------------------------------
Layout Specific Styles
Version:  08 May 2006
----------------------------------------------- */

div#wrap {position:relative; width:780px; margin:0 auto; text-align:left;}
/*div#header {position:relative; z-index:500; width:780px; height:211px; background:url("/_l/i/tpl/bg_header.jpg") no-repeat top center;}*/
div#header {position:relative; z-index:500; width:780px; height:211px; background:url(/img/worship/bg_header.jpg) no-repeat top center;}
div#cwrap {float:left; display:inline;margin-bottom: 3px;}
div#side {background:#660000; float:left; display:inline; width:150px; margin:0 3px 0 0; padding:10px;}
div#main {background:#E1D6B3;}

/* Side, Main, Xtra 
----------------------------------------------- */
body.smx div#cwrap {background:url("/_l/i/tpl/bg_cwrap.jpg") repeat-y top left;}
body.smx div#main, div#main {float:left; width:412px; margin:0 3px 0 0;padding: 20px 10px 10px 10px;}
body.smx div#xtra, div#xtra {float:left; width:150px; margin:0;}
body.smx div#footer, div#footer {margin:0;}

/* Side, Main
----------------------------------------------- */
body.sm div#cwrap {background:url("/_l/i/tpl/bg_cwrap2.jpg") repeat-y top left; position:relative; height:670px; display:inline;}
html>body.sm div#cwrap {min-height:780px; height:auto;}
body.sm div#main {width:570px; float:left; display:inline; margin-left:173px; padding:20px; background:none;}
body.sm div#side {position:absolute; top:211px; left:0; z-index:10; background:#660000; width:150px; padding:10px;}
body.sm div#xtra {display:none;}
body.sm div#footer {margin:0;}

/* Main
----------------------------------------------- */
body.m div#cwrap {background:url("/_l/i/tpl/bg_cwrap3.jpg") repeat-y top left;padding: 0 20px;}
body.m div#side {display:none;}
body.m div#main {float:left; width:719px; margin:0;}
body.m div#xtra {display:none;}
body.m div#footer {margin:0;}

/* Chatroom
----------------------------------------------- */
body.chat div#cwrap {background:url("/_l/i/tpl/bg_cwrap3.jpg") repeat-y top left;padding: 0 20px;}
body.chat div#side {display:none;}
body.chat div#main {float:left; width:719px; margin:0;}
body.chat div#xtra {display:none;}
body.chat div#footer {margin:0;}

/* Spanish
----------------------------------------------- */
body.s div#header {position:relative; width:780px; height:211px;background:url("/_l/i/tpl/spanish/bg_header.jpg") no-repeat top center;}
body.s div#cwrap {background:url("/_l/i/tpl/bg_cwrap3.jpg") repeat-y top left;padding: 0 20px;}
body.s div#side {display:none;}
body.s div#main {float:left; width:719px; margin:0;}
body.s div#xtra {display:none;}
body.s div#footer {margin:0;}

/* Comon Ground
----------------------------------------------- */
body.cg div#wrap {position:relative;width:710px; margin:0;padding:0;text-align: left;}
body.cg div#header {position:relative; width:710px; height:216px; background: url("/_l/i/tpl/cg/header.jpg") no-repeat;padding-bottom: 27px;}
body.cg div#cwrap {background: #fff url("/_l/i/tpl/cg/body_bg.jpg") repeat-y;width:710px;padding: 0;margin:0;}
body.cg div#side {float:left;background: #073771 url("/_l/i/tpl/cg/sidebox_top.jpg") no-repeat top left;height:93px;width: 155px;padding:0;margin:0;}
body.cg div#main {float:left; width:471px; padding: 45px 25px 25px 45px;background: #fff;}
body.cg div#footer {margin:0; height:10px;}

/* Comon Ground - New
----------------------------------------------- */
body.h div#hwrap {position:absolute; z-index:0; top:0; left:0; width:100%; height:212px; background: url("/_l/i/tpl/students/cg/tpl/bg_hwrap.jpg") no-repeat top center;}
body.h div#wrap {position:relative; z-index:10; width:802px; height:727px; margin:0 auto; text-align:left; background: url("/_l/i/tpl/students/cg/tpl/bg_wrap.jpg") no-repeat top left;}
html>body.h div#wrap {min-height:727px !important; height:auto;}
body.h div#header {float:left; width:802px; height:135px; background:none;}
body.h div#cwrap {float:left; width:802px;}
body.h div#side {position:absolute;z-index:100;top:172px;left:0;width:225px; padding:0; margin:0; background:none;}
body.h div#main {float:right; display:inline; width:500px; margin: 155px 52px 0 15px; padding:0; background:none; position:relative; z-index:15;}
body.h div#footer {position:relative; z-index:10; margin:0 auto; width:802px; height:273px; text-align:right; background: url("/_l/i/tpl/students/cg/tpl/bg_footer.jpg") no-repeat top left;}
body.h div#fwrap {position:absolute; z-index:0; bottom:0; left:0; width:100%; height:207px; background: url("/_l/i/tpl/students/cg/tpl/bg_fwrap.jpg") no-repeat bottom center;}

/* Jam
----------------------------------------------- */
body.j div#wrap {position:relative;width:710px; margin:0;padding:0;text-align: left;}
body.j div#header {position:relative; width:710px; height:216px; background: url("/_l/i/tpl/jam/header.jpg") no-repeat;padding-bottom: 27px;}
body.j div#cwrap {background: #fff url("/_l/i/tpl/jam/body_bg.jpg") repeat-y;width:710px;padding: 0;margin:0;}
body.j div#side {float:left;background: #073771 url("/_l/i/tpl/jam/sidebox_top.jpg") no-repeat top left;height:93px;width: 155px;padding:0;margin:0;}
body.j div#main {float:left; width:471px; padding: 45px 25px 25px 45px;background: #fff;}
body.j div#footer {margin:0;height: 10px;}

/* Worship
----------------------------------------------- */
body.w div#cfWrap {position:relative; width:100%; z-index:0;}
body.w div#wrap {position:relative; z-index:0; height:1099px; width:100%; margin:0 auto; text-align: left; background: url(/img/worship/bg_header_repeat.jpg) repeat-x top left;}
html>body.w div#wrap {min-height:1099px; height:auto;}
body.w div#hwrap {position:absolute; z-index:10; top:0; left:0; width:100%; height:659px; background: url(/img/worship/bg_header.jpg) no-repeat top center;}
body.w div#header {width:773px; height:211px; margin:0 auto; background:none;}
body.w div#content-wrap { position:relative; z-index:11; width:733px; margin:0 auto; padding:190px 0 0;}
body.cal div#content-wrap {position:static;}
body.w td#side {margin:0; padding:15px 15px 20px 15px; background:#F4FDE2; border:1px solid #9B9B9B;}
body.w div#fwrap {position:absolute; z-index:10; bottom:0; left:0; width:100%; height:210px; padding-top:230px; background: url(/img/worship/bg_footer.jpg) no-repeat bottom center;}
body.w div#footer {width:773px; margin:0 auto;}
body.w div#footerBg {position:absolute; z-index:5; bottom:0; left:0; width:100%; height:291px; background: url(/img/worship/bg_footer_repeat.jpg) repeat-x bottom left;}

/* Peru
----------------------------------------------- */
body.p div#wrap {position:relative;width:548px; margin:0 auto; text-align:left;border: 1px solid #000;background: #fff;}
body.p div#header {position:relative; width:548px; height:191px; background: url("/_l/i/tpl/peru/header.jpg") no-repeat;}
body.p div#cwrap {background:#fff;padding: 0 10px;}
body.p div#main {float:left; width:528px; margin:0;padding: 0;background: #fff;}
body.p div#footer {margin:0;}

/* Brazil
----------------------------------------------- */
body.b div#wrap {position:relative;width:600px; margin:0 auto; text-align:left;border: 1px solid #000;background: #fff;}
body.b div#header {position:relative; width:600px; height:191px; background: url("/_l/i/tpl/brazil/header.jpg") no-repeat top center;}
body.b div#cwrap {background:#fff;padding: 0 10px;}
body.b div#main {float:left; width:580px; margin:0;padding: 0;background: #fff;}
body.b div#footer {margin:0;}

/* Brazil 2007
----------------------------------------------- */
body.b07 div#wrap {position:relative;width:600px; margin:0 auto; text-align:left;border: 1px solid #000;background: #fff;}
body.b07 div#header {position:relative; width:600px; height:191px; background: url("/_l/i/tpl/brazil07/header.jpg") no-repeat top center;}
body.b07 div#cwrap {background:#fff;padding: 0 10px;}
body.b07 div#main {float:left; width:580px; margin:0;padding: 0;background: #fff;}
body.b07 div#footer {margin:0;}
/* Kenya
----------------------------------------------- */
body.k div#wrap {position:relative;width:548px; margin:0 auto; text-align:left;border: 1px solid #000;background: #fff;}
body.k div#header {position:relative; width:548px; height:125px; background: url("/_l/i/tpl/kenya/header.jpg") no-repeat;}
body.k div#cwrap {background:#fff;padding: 0 10px;}
body.k div#main {float:left; width:528px; margin:0;padding: 0;background: #fff;}
body.k div#footer {margin:0;}

/* 40 Day
----------------------------------------------- */
body.f div#wrap, body.fd div#wrap {position:relative;width:760px; margin:0 auto; text-align:left;}
body.f div#header {position:relative; width:588px; height:236px; background: url("/_l/i/tpl/40days/bg_header.jpg") no-repeat top left;}
body.f div#cwrap, body.fd div#cwrap {width:760px;padding:0;margin:0;background: url("/_l/i/tpl/40days/bg_cwrap.gif") repeat-y top left;}
body.f div#main, body.fd div#main {float:left; display:inline;background: #fff;width:540px; margin:0 15px;padding-top:0;}
body.f div#xtra, body.fd div#xtra {float:right;display:inline;background: #fff url("/_l/i/tpl/40days/bg_side.gif") repeat-x top left;width:149px;margin:0 16px 0 0;}
body.f div#footer, body.fd div#footer {margin:0;padding:0;width:760px;height:17px;background:url("/_l/i/tpl/40days/bg_footer.gif") no-repeat top left;}
body.fd div#header {position:relative; width:588px; height:236px; background: url("/_l/i/tpl/40days/bg_header-d.jpg") no-repeat;}
