/* CssTweak */
* {margin: 0; padding: 0;}
html {direction: rtl;}
img {border: 0;}
a {color: white;text-decoration: none;}
a:hover {color: white;text-decoration: underline;}
.clear {clear:both; font-size: 0; line-height: 0;}
.nolist {list-style:none; list-style-type:none;}
.notable {border:0; border-collapse:collapse; border-spacing:0;}
.Whref a {text-decoration: none;color:white;}
.Whref a:hover{text-decoration: underline;}

.href_di a{text-decoration: none;}
.href_di a:hover{text-decoration: none;}
.anext {background: url('../images/navgametable_back.gif') no-repeat center;padding-right: 15px;}
.NoUnder a:hover{text-decoration: none;}

/* CBox */
div.cbox {position: relative; z-index: 1; padding: 5px 5px 10px 5px; border: 1px solid #1f1f1f; background: url('../images/box_bg.jpg') repeat-x top right;}
div.cbox .cbox_top {position: absolute; z-index: 2; top: -1px; right: -1px; height: 14px; font-size: 0; line-height: 0;}
div.cbox .cbox_top .cbox_tl {position: absolute; top: 0; left: 0; width: 15px; height: 14px; background: url('../images/box_tl.gif') no-repeat center;}
div.cbox .cbox_top .cbox_tr {position: absolute; top: 0; right: 0; width: 15px; height: 14px; background: url('../images/box_tr.gif') no-repeat center;}
div.cbox .cbox_bottom {position: absolute; z-index: 2; bottom: -1px; right: -1px; height: 14px; font-size: 0; line-height: 0;}
div.cbox .cbox_bottom .cbox_bl {position: absolute; top: 0; left: 0; width: 15px; height: 14px; background: url('../images/box_bl.gif') no-repeat center;}
div.cbox .cbox_bottom .cbox_br {position: absolute; top: 0; right: 0; width: 15px; height: 14px; background: url('../images/box_br.gif') no-repeat center;}

/* PBox */
div.pbox {position: relative; z-index: 1; padding: 0; border: 1px solid #999999; background: url('../images/box_pbg.jpg') repeat;}
div.pbox .pbox_top {position: absolute; z-index: 2; top: -1px; right: -1px; height: 14px; font-size: 0; line-height: 0;}
div.pbox .pbox_top .pbox_tl {position: absolute; top: 0; left: 0; width: 15px; height: 14px; background: url('../images/box_ptl.gif') no-repeat center;}
div.pbox .pbox_top .pbox_tr {position: absolute; top: 0; right: 0; width: 15px; height: 14px; background: url('../images/box_ptr.gif') no-repeat center;}
div.pbox .pbox_bottom {position: absolute; z-index: 2; bottom: -1px; right: -1px; height: 14px; font-size: 0; line-height: 0;}
div.pbox .pbox_bottom .pbox_bl {position: absolute; top: 0; left: 0; width: 15px; height: 14px; background: url('../images/box_pbl.gif') no-repeat center;}
div.pbox .pbox_bottom .pbox_br {position: absolute; top: 0; right: 0; width: 15px; height: 14px; background: url('../images/box_pbr.gif') no-repeat center;}

body {background-color: #000; font-size: 12px; font-family: arial; color: #fff; margin: 0 auto; text-align: center;}

/* Main */
p.topline {width: 100%; height: 27px; background: url('../images/topline.jpg') repeat top center;}
div#base {width: 915px; text-align: right; margin: 0 auto;}
div#base .topbar {position: relative; z-index: 1; width: 915px; height: 131px; margin: 0 auto; background: url('../images/topbar.jpg') no-repeat top center;}
div#base .tbhome {background: url('../images/topbar_home.jpg') no-repeat top center;}
div#base .rightsidecolumn {float: right; display: inline; width: 270px;}
div#base .contentcolumn {float: left; display: inline; width: 630px; margin-right: 15px;}

/* Logo */
a.logo {display: block; position: absolute; z-index: 3; top: 8px; right: 319px; width: 271px; height: 102px; font-size: 0; line-height: 0;}
a.logo img {display: block; width: 100%; height: 100%;}

/* Menu */
div.menu {position: absolute; top: 71px; right:0; z-index: 2; width: 915px;}
div.menu ul {width: 895px; padding-right: 5px;}
div.menu ul li {float: right; display: inline;}
div.menu ul li.menu_rightside {margin-left: 0px;}
div.menu ul li.menu_leftside {margin-left: 0px;}
div.menu ul li.menu_leftside .contact {position: absolute; width: 50px; top: 0; left: 8px; z-index: 4;}
div.menu ul li.spacer {width: 332px; text-align: center;}
div.menu ul li a {font-size: 13px; font-weight:bold; color: #ffffff; text-decoration: none; display: inline-block; padding-bottom: 9px;}
div.menu ul li a:hover , div.menu ul li a.active {font: bold 13px arial; color: #ffba00; background: url('../images/menu_li.gif') no-repeat bottom center;}

/* NavMenu */
div.navmenu {position: absolute; top: 110px; right:312px; z-index: 4; width: 400px;}
div.navmenu ul li {float: right; display: inline; margin-left: 77px;}
div.navmenu ul li a {font: bold 14px arial; color: #fff; text-decoration: none;}
div.navmenu ul li a:hover, div.navmenu ul li a.active {color: #b50000;}

/* NewUser */
a.newuser {display: block; width: 270px; height: 22px; margin: 0 auto; text-decoration: none; background: url('../images/newuser.jpg') no-repeat top center; font-size: 0; line-height: 0;}

/* LoginForm */
form.loginform {}
form.loginform label {display: block; padding-top: 8px;}
form.loginform label span {float: right; display: inline; width: 65px; text-align: left; cursor: pointer; font: bold 11px arial; color: #ffba00;}
form.loginform label .field {float: right; display: inline; margin-right: 5px; width: 122px; height: 16px; padding: 2px; border: 0; background: transparent url('../images/loginform_field.jpg') no-repeat center;}
form.loginform label .field2 {float: right; display: inline; margin-right: 5px; width: 122px; height: 20px; padding: 2px; border: 0;}
form.loginform p {font-size: 11px; width: 187px; padding: 2px 83px 0 0;}
form.loginform p a {color: #fff; text-decoration: none;}
form.loginform p a:hover {text-decoration: underline;}
form.loginform .submit {position: absolute; top: 25px; left: 12px; width: 50px; height: 50px; cursor: pointer; border: 0; background: transparent url('../images/loginform_submit.jpg') no-repeat center;}

/* AdvLines */
p.advline001, p.advline002 {width: 258px; height: 69px; font-weight: bold; text-align: center;}
p.advline001 a, p.advline002 a {color: #fff;text-decoration: none;}
p.advline001 a:hover, p.advline002 a:hover {text-decoration: none;}
p.advline001 {color: #ffba00; background: url('../images/advline001.jpg') repeat-x top right;}
p.advline002 {color: #b50000; background: url('../images/advline002.jpg') repeat-x top right;}

/* PrizeBox */
div.prizebox {margin: 10px auto; width: 258px;}
div.prizebox .cbox_top, div.prizebox .cbox_bottom {width: 270px;}
div.prizebox .prizebox_img {float: left; position: relative; top:0; left:0; z-index: -1; display: block; font-size: 0; line-height: 0;}
div.prizebox .prizebox_header {font: bold 16px arial; color: #ffba00;}
div.prizebox .prizebox_subheader {font: bold 16px arial; color: #fff;}
div.prizebox .prizebox_info {padding: 5px 0 5px 5px;;}
div.prizebox .prizebox_link {font-weight: bold; color: #fff; text-decoration: none;}
div.prizebox .prizebox_link:hover {text-decoration: underline;}

/* StatisticsBox */
div.statisticsbox {margin: 10px auto; width: 258px;}
div.statisticsbox .cbox_top, div.statisticsbox .cbox_bottom {width: 270px;}
div.statisticsbox .statisticsbox_header {font: bold 13px arial; color: #ffba00; padding-bottom: 5px;}
div.statisticsbox ul li {float: right; display : inline; width: 120px; margin-left: 9px;}

/* WelcomeBox */
div.welcomebox {position: relative; z-index: -1; right: -6px; padding-right: 290px; min-height: 291px; height: auto !important; height: 291px; background: url('../images/welcomebox.jpg') no-repeat top right;}
div.welcomebox .welcomebox_header {padding-top: 30px; font: bold 13px arial; color:#ffba00;}
div.welcomebox .welcomebox_header span {color:#b50000;}
div.welcomebox .welcomebox_text {text-align: justify; line-height: 1.5em;}
div.welcomebox .welcomebox_sign {float: left; margin-top: 20px; font-weight: bold; color: #ffba00;}

/* News */
div.newslist {width: 630px; margin: 0 auto;}
div.newsbox {margin: 10px auto; padding: 5px 10px; width: 608px;}
div.newsbox .cbox_top, div.newsbox .cbox_bottom {width: 630px;}
div.newsbox .newsbox_header {font: bold 13px arial; color:#ffba00;}
div.newsbox .newsbox_body {margin-top: 5px; text-align: justify; line-height: 1.3em; width: 608px;}
div.newsbox .newsbox_body .newsbox_readmore {margin-top: 20px; width: 600px; float: right; display: inline; border-top: 1px dashed #fff;}
div.newsbox .newsbox_body .newsbox_readmore a {font: bold 13px arial; color:#ffba00; text-decoration: none;}
div.newsbox .newsbox_body .newsbox_readmore a:hover {text-decoration: underline;}
div.newsbox .newsbox_body .newsbox_sign {margin-top: 10px; width: 130px; padding-right: 5px; float: right; display: inline; text-align: right; color: #ffba00;}
div.navnewslist {width: 630px; margin: 10px auto; text-align: center;}
div.navnewslist ul {margin: 0 auto; text-align: center;}
div.navnewslist ul li {display: inline}
div.navnewslist ul li.pagelink {font-weight: bold; color:#1c1c1c; margin: 0 20px;}
div.navnewslist ul li.pagelink a {color:#fff; text-decoration: none;}
div.navnewslist ul li.pagelink a:hover {text-decoration: underline;}
div.navnewslist ul li.pagenum {margin: 0 1px}
div.navnewslist ul li.pagenum a {display: inline-block; padding: 1px 3px; border: 1px solid #121212; background-color: #fff; color: #000; font-weight: bold; text-decoration: none;}
div.navnewslist ul li.pagenum a:hover, div.navnewslist ul li.pagenum a.active {color: #b60303;}

/* ContentBox */
div.contentbox {margin: 10px auto; padding: 5px 10px; width: 608px; min-height: 854px; height: auto !important; height: 854px;}
div.contentbox .cbox_top, div.contentbox .cbox_bottom {width: 630px;}

/* ProfileBox */
div.profilebox {margin: 0px auto; width: 268px;}
div.profilebox .pbox_top, div.profilebox .pbox_bottom {width: 270px;}
div.profilebox .profilebox_userstatus {margin: 2px 10px 0 0; padding-right: 10px; font: bold 11px arial; color:#000; background: url('../images/userstatus.jpg') no-repeat center right;}
div.profilebox .profilebox_userstatus a {font-size: 11px; color:#000; text-decoration: none;}
div.profilebox .profilebox_userstatus a:hover {text-decoration: underline;}
div.profilebox .profilebox_userimg {float: right; display: inline; margin-right: 2px; width: 77px; height: 77px;}
div.profilebox .profilebox_usermainstats {float: right; display: inline; padding-right:10px;}
div.profilebox .profilebox_usermainstats p  .white {font-weight: bold;}
div.profilebox .profilebox_usermainstats p  .black {color: #000;}
div.profilebox .profilebox_usersecondstats {margin: 3px auto;}
div.profilebox .profilebox_usersecondstats li {float: right; display : inline; width: 120px; margin-right: 14px;}

/* GameMenuBox */
div.gamemenubox {width: 270px; margin: 10px auto;}
div.gamemenubox .gamemenubox_header {font: bold 14px arial; margin: 0 15px 5px 0;}
div.gamemenubox .gamemenu {background: url('../images/box_bg.jpg') repeat-x top right;}
div.gamemenubox .gamemenu .gamemenu_top {width: 270px; height: 16px; background: url('../images/gamemenu_top.gif') no-repeat top right; font-size: 0; line-height: 0;}
div.gamemenubox .gamemenu .gamemenu_bottom {width: 270px; height: 16px; background: url('../images/gamemenu_bottom.gif') no-repeat top right; font-size: 0; line-height: 0;}
div.gamemenubox .gamemenu .spacer {width: 268px; height: 10px; border-right: 1px solid #373737; border-left: 1px solid #373737; font-size: 0; line-height: 0;}
div.gamemenubox .gamemenu .gamemenu_first {width: 268px; border-right: 1px solid #373737; border-left: 1px solid #373737;}
div.gamemenubox .gamemenu .gamemenu_first .gamemenu_first_header {width: 90%; padding: 2px 10% 2px 0; border-top: 1px solid #131313; border-bottom: 1px solid #131313; background-color: #1f1f1f;}
div.gamemenubox .gamemenu .gamemenu_first .gamemenu_first_header a {display: inline-block; padding-right: 15px; font: bold 14px arial; color: #ffba00; text-decoration: none;}
div.gamemenubox .gamemenu .gamemenu_first .gamemenu_first_header a.open {background: url('../images/gamemenu_open.gif') no-repeat 100% 3px;}
div.gamemenubox .gamemenu .gamemenu_first .gamemenu_first_header a.close {background: url('../images/gamemenu_close.gif') no-repeat 100% 3px;}
div.gamemenubox .gamemenu .gamemenu_second {width: 100%; list-style-type: disc; color:#ffba00;}
div.gamemenubox .gamemenu .gamemenu_second li {width: 84%; margin-right: 16%; font-size: 14px; color: #ffba00;}
div.gamemenubox .gamemenu .gamemenu_second li a {color: #ffba00; text-decoration: none;}
div.gamemenubox .gamemenu .gamemenu_second li a:hover {text-decoration: underline;}

/* LoggedBar */
p.loggedbar {margin: 2px 30px 0 0; font: bold 13px arial; color: #ffba00;}
p.loggedbar a {color: #ffba00; text-decoration: none;}
p.loggedbar a:hover {text-decoration: underline;}
p.loggedbar a.logout {font-weight: normal;}

/* GameTable */
div.gametable {margin: 10px auto; width: 630px;}
div.gametable table {width: 630px; background: url('../images/box_bg.jpg') repeat-x top left;}
div.gametable table tr {vertical-align: top;}
div.gametable table tr th {padding: 0 2px 5px 2px; vertical-align: middle; text-align: center; font: bold 14px arial; color: #ffba00; border-left: 1px solid #313131;}
div.gametable table tr td {padding: 0 2px; vertical-align: middle; text-align: center; border-left: 1px solid #313131;}
div.gametable table tr.gametable_top {width: 630px; border:0; background: url('../images/gametable_top.gif') no-repeat top left;}
div.gametable table tr.gametable_bottom {width: 630px; border:0; background: url('../images/gametable_bottom.gif') no-repeat top left;}
div.gametable table tr.gametable_top td, div.gametable table tr.gametable_bottom td {border:0;}
div.gametable table tr th.num, div.gametable table tr td.num {width:32px; color: #ffba00; text-align: center; background-color: #000;}
div.gametable table tr td.noborder {border:0 !important;}
div.navgametable {width: 630px; margin: 10px auto; text-align: center;}
div.navgametable ul {margin: 0 auto; text-align: center;}
div.navgametable ul li {display: inline}
div.navgametable ul li.pagelink {margin: 0 5px;}
div.navgametable ul li.pagelink a {display: inline-block; width: 14px; height: 10px; font-size: 0; line-height: 0;}
div.navgametable ul li.pagelink a.next {background: url('../images/navgametable_next.gif') no-repeat top center;}
div.navgametable ul li.pagelink a.back {background: url('../images/navgametable_back.gif') no-repeat top center;}
div.navgametable ul li.pagenum {margin: 0}
div.navgametable ul li.pagenum a {display: inline-block; padding: 1px 3px; border: 1px solid #121212; background-color: #fff; color: #000; font-weight: bold; text-decoration: none;}
div.navgametable ul li.pagenum a:hover, div.navgametable ul li.pagenum a.active {color: #b60303;}

/* WelcomeUserBox */
div.welcomeuserbox {margin: 20px auto; width: 488px; padding-top: 10px; text-align: center; font: bold 13px arial; color: #ffba00; line-height: 1.3em;}
div.welcomeuserbox .cbox_top, div.welcomeuserbox .cbox_bottom {width: 500px;}
div.welcomeuserbox span {color: #b50101;}

/* UserGuideBox */
div.userguidebox {width: 623px; height: 209px; overflow: hidden; background: url('../images/userguidebox.jpg') no-repeat top center;}
div.userguidebox .userguidebox_header {margin: 30px 55px 10px 0; font: bold 14px arial; color: #ffba00;}
div.userguidebox .userguidebox_text {padding: 0 55px; text-align: justify; line-height: 1.5em;}

/* StatusLineTop */
div.statusline_top {margin: 10px auto; width: 630px; height: 53px; background: url('../images/statusline_top.jpg') no-repeat top center;}
div.statusline_top ul {margin: 0 auto; text-align: center; padding-top: 3px;}
div.statusline_top ul li {display: inline; font: bold 13px arial; color: #000; margin: 0 5px;}
div.statusline_top .statusline_top_header {padding: 6px 30px 0 0;text-align: center; font: bold 18px arial; color: white; margin: 0 5px;}

/* StatusLineBottom */
div.statusline_bottom {margin: 10px auto; width: 630px; height: 53px; background: url('../images/statusline_bottom.jpg') no-repeat top center;}
div.statusline_bottom ul {margin: 0 auto; text-align: center; padding-top: 33px;}
div.statusline_bottom ul li {display: inline; font: bold 13px arial; color: #000; margin: 0 5px;}

/* Footer */
div.footer {width: 915px; height: 33px; margin: 10px auto; background: url('../images/footer.jpg') no-repeat top center;}
div.footer p {display: inline; padding: 9px 10px 0 10px;}
div.footer p a {color: #fff; text-decoration: none;}
div.footer p a:hover {text-decoration: underline;}
div.footer p.allrights {float: right;}
div.footer p.credits {float: left;}


/** forms */
.InputText{padding: 2px; border: 1px solid rgb(255, 186, 0); background-color: black; color: rgb(255, 186, 0); width: 150px; height: 15px; font-size: 12px;}
.InputSubmit{padding: 4px; border: 1px solid rgb(255, 186, 0); background-color: black; font-size: 14px; color: rgb(255, 186, 0);}
.InputTextarea{padding:2px; border:1px solid rgb(255, 186, 0); background-color: black; font-size: 12px; color: rgb(255, 186, 0);}

/** my add */
.Help {z-index: 2;position: absolute;border:1px solid #6C6C6C;background-color: rgb(31, 31, 31);color: rgb(255, 186, 0);padding:3px;}

/** error */
.error{color: red;margin-bottom: 15px;}
.error p{font-weight: bold;color: rgb(200, 0, 0);}
/** succes */
.succes{color: green;margin-bottom: 15px;}

/** table game state */
.TableRashi {background-image: url(../images/TableRashi.gif);width: 600px;height: 223px;float: left;margin-left: 5px;}
.TextTableRashi {margin-top: 5px;margin-right: 20px;}
.ThTable {border: 1px solid gray;background-color:rgb(31, 31, 31);color:white;width: 20%;height: 25px;padding-right: 5px;font-weight: bold;}
.TableDevelopingAndImproving td{padding: 5px;}
.TableDevelopingAndImproving td.ThTable{padding: 0px 5px 0px 0px;}

/** pop up */
.styled_popup2{display:none; position: absolute; z-index:100; background-color: rgb(31, 31, 31); border: 2px solid #6C6C6C; min-width: 200px; min-height: 300px; color: #DBD7D1; top: 20px; left:40px;}
.dragme { cursor: move }
.dragme2 { cursor: move }

/** BOMBS */
.bomb {width:240px;text-align:center;margin:auto;}
.bomb a{cursor: hand;color:#FF3300;}
.bomb a:hover{text-decoration: none;}
.bomb .in {float:right;text-align: right; background: url('../images/bomb_after.jpg');width:90px;height:25px;font-size:15px;color:#FF3300;font-weight:bold;padding: 8px 27px 0px 0px;}
.bomb .inbefore {float:right;text-align: right; background: url('../images/bomb_before.jpg');width:80px;height:25px;font-size:15px;color:#FF3300;font-weight:bold;padding: 8px 27px 0px 0px;}


