
/* Bootstrap compatibility for existing form controls */

select.form-select {
	display: inline-block !important;
	max-width: 100%; /* Prevents overflow in smaller containers */
}

input.form-control {
	display: inline-block !important;
	max-width: 100%; /* Prevents overflow in smaller containers */
}


/* http://meyerweb.com/eric/tools/css/reset/
v2.0 | 20110126
License: none (public domain)
*/

html, body, div, span, applet, object, iframe,
h1, h2, h3, h4, h5, h6, p, blockquote, pre,
a, abbr, acronym, address, big, cite, code,
del, dfn, em, img, ins, kbd, q, s, samp,
small, strike, strong, sub, sup, tt, var,
b, u, i, center,
dl, dt, dd, ol, ul, li,
fieldset, form, label, legend,
table, caption, tbody, tfoot, thead, tr, th, td,
article, aside, canvas, details, embed,
figure, figcaption, footer, header, hgroup,
menu, nav, output, ruby, section, summary,
time, mark, audio, video {
	margin: 0;
	padding: 0;
	border: 0;
	font-size: 100%;
	font: inherit;
	vertical-align: baseline;
}

/*
/* HTML5 display-role reset for older browsers */
/*


article, aside, details, figcaption, figure,
footer, header, hgroup, menu, nav, section {
display: block;
}
*/


/*
body {
line-height: 1;
} */
/* ol, ul {
list-style: none;
} */

/*
blockquote, q {
quotes: none;
}
blockquote:before, blockquote:after,
q:before, q:after {
content: '';
content: none;
}
*/
table {
	border-collapse: collapse;
	border-spacing: 0;
}

/* apply a natural box layout model to all elements */
*, *:before, *:after {
	-moz-box-sizing: border-box; -webkit-box-sizing: border-box; box-sizing: border-box;
}


/*
General definitions
*/
input, select, textarea {
	border: solid gray 1px;
	margin: 0px 5px 0px 5px;
	outline: 0px;
	font-size:13px;
	display: inline-block;
	width: auto;
	color: black !important;
}


/* image - unselectable */
img {
	margin: 0px;
	padding: 0px;
	border: none;
	-moz-user-select: -moz-none;
	-khtml-user-select: none;
	-webkit-user-select: none;
	user-select: none;
}

div {
	text-align: right;
	overflow: hidden;
	background-color: transparent;
}

/* span {
margin: 0px;
padding: 0px;
outline: 0px;
} */

*.centered_32 {
	vertical-align: 7px;
}

p,h1,h2,h3,h4,h5,h6 {
	margin-top: 2px;
	margin-bottom: 2px;
}

p {
	line-height: 18px;
}

h1 {
	font-size: 18px;
	color: rgb(201,100,27);
	line-height: 24px;
	font-weight: bold;
}

/* table styling old */

table {
	border-width: 2px;
	border-spacing: 1px;
	border-style: solid;
	border-collapse :collapse;
	padding: 0px;
	margin: 0px;
	border-color: #e2dfda;
	vertical-align: middle;
	table-layout:fixed;
}

td {
	text-align: right;
	border-width: 1px;
	padding: 0px;
	margin: 0px;
	border-spacing: 1px;
	border-style: solid;
	border-color: #e2dfda;
	border-collapse :collapse;
	vertical-align: middle;
	padding: 2px;
}

th {
	text-align: right;
	border-width: 1px;
	padding: 0px;
	margin: 0px;
	border-spacing: 1px;
	border-style: solid;
	border-color: #e2dfda;
	border-collapse :collapse;
	vertical-align: middle;
	padding: 2px;
} 


table.wide_table {
	width: 99%;
	margin: 0.5%;
}


/*
* tablesort.js specific
*/
table.sortable th {
	cursor : pointer;
}

th.sortasc {
	text-decoration: underline;
}

th.sortdesc {
	text-decoration: underline;
}

/*
* table rows zebra coloring
*/
tr.rowodd > td
{
	background-color: #f9f3e7;
}

tr.roweven > td
{
	background-color: white;
}


/* list styling old */


li {
	margin: 6px;
}

ul {
	list-style-type: disc;
	list-style-position: inside;
	margin: 10px;
}

ul ul {
	list-style-type: circle;
	list-style-position: inside;
	margin: 10px;
}

/* general body and wrapper */


html, body {
	font-family: Arial;
	background-color: rgb(175,206,213);
	background-image: url(".././images/bg.png");
	background-repeat: repeat-x;
	text-align: center;
	min-width: 1250px;
	min-height: 600px;
	font-size: 13px;
}

#wrapper {
	font-family: Arial;
	direction: rtl;
	border: none;
	padding: 0px;
	margin: 0 auto;
	outline: 0pt;
	text-decoration: none;
	font-size: 13px;
	list-style: none;
	text-indent: 0px;
	color: black;
	background-color: rgb(175,206,213);
	background-image: url(".././images/bg.png");
	background-repeat: repeat-x;
	background-position: top;
	min-width: 1250px;
	width: 1250px;
	min-height: 600px;
	position: relative;
	text-align: center;
}

#header {
	margin: 0px;
	height: 90px;
}

/* logo and banners */


#logo_a {
	position: absolute;
	width: 200px;
	height: 70px;
	top: 10px;
	right: 0px;
	cursor: pointer;
}

#big_banner_a {
	position: absolute;
	width: 280px;
	height: 80px;
	top: 5px;
	right: 500px;
	cursor: pointer;
}

#london_2013_a {
	position: absolute;
	width: 312px;
	height: 84px;
	top: 3px;
	right: 350px;
	cursor: pointer;
}

#ichess_addthis
{
	position: absolute;
	top: 57px;
	right: 340px;
}

/* login area */


#login_menu {
	margin: 0px;
	width: 350px;
	height: 85px;
	position: absolute;
	top:0px;
	right: 900px;
	background-repeat: repeat-x;
}

#login_menu_main {
	position: absolute;
	top: 0px;
	right: 0px;
	width: 100%;
	height: 100%;
	z-index: 80;
}

#login_bg_left
{
	position: absolute;
	top: 0px;
	right: 340px;
	width: 10px;
	height: 100%;
	background-image: url(".././images/common-sprites-02-02-2015.png");
	background-position: -320px 0px;
}

#login_bg_right
{
	position: absolute;
	top: 0px;
	right: 0px;
	width: 10px;
	height: 100%;
	background-image: url(".././images/common-sprites-02-02-2015.png");
	background-position: -340px 0px;
}

#login_bg_mid
{
	position: absolute;
	top: 0px;
	right: 10px;
	width: 330px;
	height: 100%;
	background-image: url(".././images/common-sprites-02-02-2015.png");
	background-position: -360px 0px;
}

div.login_textbox
{
	width: 137px;
	height:19px;
	position: absolute;
	background-image: url(".././images/common-sprites-02-02-2015.png");
	background-position: -160px -180px;

}

div.login_textbox input
{
	position: relative;
	top: 1px;
	right: 10px;
	border: none;
	height: 16px;
	width: 120px;
	color: gray;
}

#welcome_guest {
	font-weight: bold;
	color: rgb(77,77,77);
}

#username_span {
	font-weight: bold;
	color: rgb(77,77,77);
}

#username {
	top: 10px;
	right: 200px;
	border-radius : 6px;
}

#username_text {
	background-color: transparent;
}

#password {
	border-radius : 6px;
	top: 35px;
	right: 200px;
}

#password_text {
	background-color: transparent;
}

#remember_me {
	top: 63px;
	right: 200px;
	position: absolute;
}

#login_button {
	position: absolute;
	width: 67px;
	height: 19px;
	top: 60px;
	right: 270px;
	cursor: pointer;
	background-image: url(".././images/common-sprites-02-02-2015.png");
	background-position: 0px -180px;
}

#login_button:hover {
	background-position: -80px -180px;
}


/* old menu */


#menu
{
	width: 100%;
	height: 34px;
	margin: 0px;
	position: relative;
	overflow: visible;
	z-index: 80;
	margin-bottom: 5px;
}


#menu_right
{
	position: absolute;
	top: 0px;
	right: 0px;
	width:10px;
	height: 100%;
	background-image: url(".././images/common-sprites-02-02-2015.png");
	background-position: -20px -100px;
}

#menu_mid
{
	position: absolute;
	top: 0px;
	right: 10px;
	width: 1230px;
	height: 100%;
	background-image: url(".././images/common-sprites-02-02-2015.png");
	background-position: -40px -100px;
}

#menu_left
{
	position: absolute;
	top: 0px;
	right: 1240px;
	width: 10px;
	height: 100%;
	background-image: url(".././images/common-sprites-02-02-2015.png");
	background-position: 0px -100px;
}

#menu_menu
{
	position: absolute;
	top: 0px;
	right: 0px;
	width: 100%;
	height: 100%;
}

#menu div.menu_title
{
	position: relative;
	float: right;
	top: 0px;
	height: 100%;
}

#menu span.menu_title_a
{
	cursor : pointer;
	display: block;
	position: relative;
	top: 10px;
	padding-right: 12px;
	padding-left: 12px;
	font-size: 14px;
	color: black;
	font-weight: bold;
	text-decoration: none;
	color: rgb(67,67,67);
	background-image: url(".././images/menu_sep.png");
	background-position: left;
	background-repeat: no-repeat;
}

#menu p.menu_title_p
{
	margin: 0px;
	width: 300px;
	position: relative;
	top: 9px;
	padding-right: 20px;
	padding-left: 20px;
	font-size: 14px;
	line-height: 18px;
	color: black;
	font-weight: bold;
	text-decoration: none;
	color: rgb(67,67,67);
}

#menu div.menu_title_hover:hover
{
	background-image: url(".././images/common-sprites-02-02-2015.png");
	background-position: 0px -140px;
}


#menu_lists
{
	position:absolute;
	top: 34px;
	right: 0px;
	width: 100%;
	height: 0px;
	overflow: visible;
}

#menu div.menu_menu_list
{
	position: absolute;
	visibility: hidden;
	width: 182px;
}


#menu div.menu_menuitem
{
	position: relative;
	height: 25px;
	border-bottom: solid rgb(172,172,172) 1px;
	border-left: solid rgb(172,172,172) 1px;
	border-right: solid rgb(172,172,172) 1px;
	background-image: url(".././images/common-sprites-02-02-2015.png");
	background-position: -240px -140px;
	width: 180px;

}

#menu div.menu_menuitem:hover
{
	background-position: -460px -140px;
}

#menu_empty
{
	width: 10px;
	padding-left: 0px;
	padding-right: 2px;
}

#menu a.menu_menuitem_a
{
	display: block;
	position: relative;
	padding: 5px;
	text-decoration: none;
	color: black;
	font-size: 14px;
}

/* reason div */


#reason_p {
	maring: 2px;
	font-size: 14px;
	z-index: 99;
}

#reason_icon {
	float: right;
	margin: 5px;
	width: 16px;
	height: 16px;
	z-index: 99;
}

#reason_div {
	position: relative;
	height: 25px;
	margin: 3px;
	cursor: pointer;
	border: solid green 2px;
	border-radius : 10px;
	z-index: 99;
	padding-left: 30px;
}


/* old main div of all pages */



#main_bottom
{
	clear:both;
}


#main {
	width: 100%;
	background-image: url(".././images/main_mid.png");
	background-repeat: repeat-y;
	overflow-y : auto;
	position: relative;
	z-index: 10;
}

#main_top
{
	width: 100%;
	height: 10px;
	background-image: url(".././images/common-sprites-02-02-2015.png");
	background-position: 0px -260px;
}

#main_bottom
{
	width: 100%;
	height: 10px;
	background-image: url(".././images/common-sprites-02-02-2015.png");
	background-position: 0px -280px;
}

/* old modal dialogs */


#modal_div
{
	background-color: black;
	position: absolute;
	margin: 0px;
	padding: 0px;
	border: none;
	width: 100%;
	min-width : 100%;
	height: 100%;
	min-height: 100%;
	top: 0;
	right: 0;
	bottom: 0;
	left: 0;
	z-index: 90;
	display: none;
}


div.dialog {
	position: fixed;
	border: solid rgb(190,145,80) 2px;
	z-index: 91;
	background-color: white;
	display: none;
	margin: 0px;
	padding: 5px;
	outline : 0pt;
	border-radius : 15px;
	top: 50%;
	left: 50%;
}

div.dialog_body {
	margin: 5px;
}

div.dialog_header {
	background-color: rgb(205,236,243);
	margin: 0px;
	padding: 0px;
	width: 100%;
	cursor: pointer;
}

div.dialog_header h1 {
	color: rgb(167,135,111);
	margin-right : 5px;
}

/* old banners div */


#banners {
	float: left;
	width: 220px;
	padding: 5px;
	margin: 0px;
	border-right: solid rgb(175,206,213) 2px;
}

#banners h2 {
	font-size: 14px;
	line-height: 18px;
}


a.banner_img
{
	display: block;
	width: 150px;
	margin: 5px;
	height: 55px;
	background-image: url(".././images/common-sprites-02-02-2015.png");
	background-repeat: no-repeat;
}

a.banner_big_img
{
	display: block;
	width: 407px;
	margin: 0px;
	height: 180px;
	background-image: url(".././images/common-sprites-02-02-2015.png");
	background-repeat: no-repeat;
}

#chess_org_banner
{
	background-position: -160px -300px;
}

#cpchess_banner
{
	background-position: -320px -300px;
}

#jeruchess_banner
{
	background-position: -0px -300px;
}

#ramsoffer_banner
{
	background-position: -0px -370px;
}

#lectures_banner
{
	background-position: -160px -300px;
}

#anand_gelfand_banner
{
	background-position: -270px -450px;
}

#anand_gelfand_big_banner
{
	background-position: -0px -570px;
}

/* fixed width text box and inner box */


div.textbox {
	margin: 0px 20px 0px 20px;
}

div.inner_box {
	margin: 5px;
	border-bottom: solid silver 1px;
}


/*
index.html specific
*/

div.index_main_square
{
	width: 350px;
	height: 350px;
	margin: 5px;
}

div.index_main_square_top
{
	position: absolute;
	top: 0px;
	right: 0px;
	background-image: url(".././images/common-sprites-02-02-2015.png");
	background-position: -480px -300px;
	height: 10px;
	width: 100%;
}

div.index_main_square_mid
{
	position: absolute;
	top: 10px;
	right: 0px;
	background-image: url(".././images/main_square_mid.png");
	height: 343px;
	width: 100%;
	background-repeat: repeat-y;
}

div.index_main_square_bottom
{
	position: absolute;
	top: 353px;
	right: 0px;
	background-image: url(".././images/common-sprites-02-02-2015.png");
	background-position: -480px -320px;
	height: 10px;
	width: 100%;
}

div.index_main_div
{
	float: right;
	margin-top: 0px;
	margin-bottom: 0px;
	margin-left: 10px;
	margin-right: 10px;
	padding: 0px;
}

div.index_sep
{
	display: inline;
	float: right;
	width: 1px;
	height: 232px;
	background-image: url(".././images/article_sep.png");
	background-position: center;
}

#index_middle
{
	width: 840px;
	padding: 15px;
	margin: 0px;
}

#index_left
{
	width: 360px;
	padding: 5px;
	margin: 0px;
	border-right: solid rgb(175,206,213) 2px;
}


div.index_article
{
	width: 100%;
	margin-bottom: 10px;
}

img.index_article_img
{
	float: right;
	margin-top: 5px;
	margin-bottom: 5px;
	margin-right: -10px;
}

a.index_article_title
{
	color: rgb(167,135,111);
}

div.index_article_body
{
	color: rgb(68,68,68);
	overflow: hidden;
	max-height: 80px;
}
