html, body {
	background: #f8f8f9;
	font-family: verdana, sans-serif;
	font-size: 12px;
	color: #838282;
	direction: rtl;
	background: #333333;
	
}
h1, h2 ,h3 , h4 , details {
	font-weight: bold;
	color: #096570;
}
h1 {
	margin-bottom: 5px;
	font-size: 18px
}

h2 {
	font-size: 14px;
}

h3 { font-size: 14px; color: #000; }

h1 a {color: #fff; text-decoration: none}

.h_line {
	background: url('../images/h_bg.gif') bottom right repeat-x; 
	padding-bottom: 4px; 
	margin-bottom: 10px;
	font-size: 18px;
}


li {
	list-style: none;
}

fieldset {
	margin-bottom: 10px;
	width: 90%;
	padding: 5px 10px 5px 10px;
	border: 1px solid #BEBBBB;
	position: relative;
}
legend {
	font-size: 14px;
	font-weight: bold;
	color: #000000;
	padding: 5px 10px 5px 10px;
}

small {font-size: 10px}

.pointer {cursor:pointer}

a {	color: #096570; }

a:hover {	border-bottom: none;}

.button {background:#4761aa; font-size:14px; line-height:20px; color:#fff; display:inline-block; padding:5px 20px 5px 20px;  box-shadow:0 1px 1px #034c76; text-decoration: none; text-shadow: 0 1px 1px #6b6b6b;}
.button:hover {background:#131313; box-shadow:0 1px 1px #000; }

.button3d {
	display: inline-block;
	padding: 6px 12px;
	margin-bottom: 0;
	font-size: 14px;
	font-weight: normal;
	line-height: 1.42857143;
	text-align: center;
	white-space: nowrap;
	vertical-align: middle;
	-ms-touch-action: manipulation;
	  touch-action: manipulation;
	cursor: pointer;
	-webkit-user-select: none;
	 -moz-user-select: none;
	  -ms-user-select: none;
		  user-select: none;
	background-image: none;
	border: 1px solid transparent;
	border-radius: 4px;

	color: #fff;
	background-color: #096570 ;
	text-decoration: none;
}

.button3d:hover {
  color: #fff;
  background-color: #000;
  border-color: #000;
}

a.button3d_fixSize { width: auto }



a img {	border: none;}



.clear {	clear: both;}

.right { float: right; }
.left { float: left; }
.center { text-align: center; position: relative;}

table td { padding: 5px; position: relative;    }
tr.title td, .title { font-weight: bold}

.arrow {font-size: 48px;  line-height: 20px; width: 50px}

#loading {	position: absolute;	z-index: 999;	width: 300px;	height: auto;	margin-top: -100px;	margin-left: -100px;	top: 50%;	left: 50%;	text-align: center;	color: #000;}


.notValid {color: red}
.valid {color: green}

.found {	border: 1px green solid; 	outline-color: green; 	outline-style:inset;}

/******************** Header **********************/
header#mainHeader { background: #333333;  width: 100%; height: 50px; position: fixed; z-index: 999} /* Add "position: fixed; z-index: 999" for header fix position */

header#mainHeader #logo { text-decoration: none; color: #999999; font-weight: bold; font-size: 18px;  padding: 5px 15px 0 15px; float: right; }

header#mainHeader nav { width: 600px; float: left;  line-height: 50px; }
header#mainHeader nav li{ position: relative; float:left;}
header#mainHeader nav li a{ float: left;  text-decoration: none; color: #999999; font-size: 14px; padding: 0 15px 0 15px;}
header#mainHeader nav li a:hover{ color: #fff; background: #000 }
header#mainHeader nav li a b {    background-color: #999999;    border-radius: 10px;    color: #FFFFFF;    display: inline-block;    font-size: 12px;    font-weight: bold;    line-height: 1;
						min-width: 10px;    padding: 3px 7px;    text-align: center;    vertical-align: baseline;    white-space: nowrap;}
						
header#mainHeader nav li a b.new { background: #61b7db }						

#topMenu li {position: relative;  }
#topMenu li ul{
	display: none;
	position: absolute; 
	top: 50px;
	left: 0px;
    border-top-left-radius: 0;
    border-top-right-radius: 0;
    background-clip: padding-box;
    background-color: #FFFFFF;
    border: 1px solid rgba(0, 0, 0, 0.15);
    box-shadow: 0 6px 12px rgba(0, 0, 0, 0.176);
    font-size: 14px;
	width: 220px;
	padding: 0px;
	z-index: 1000;
}

#topMenu li ul li {   width: 100%; border-bottom: 1px solid #999;  min-height: 50px; }
#topMenu li ul li:hover  { background: #ddd;}
#topMenu li ul li a {float: none;  text-decoration: underline; padding: 0 10px 0 10px;}
#topMenu li ul li a:hover {background: none;}
#topMenu li ul li div {float: right; width: 135px; margin-right: 5px; line-height: 30px; }
#topMenu li ul li div a { padding: 0px;}
#topMenu li ul li img {margin: 5px 5px 0 0 ; float: right}
#topMenu li ul li  span {color: red}
#topMenu li ul li .delButton {float: left; margin-top: 5px}
						
						
/******************** Side Bar **********************/

aside { width: 200px; height: 100%;  position: absolute; right: 0px;  position: fixed; }

aside nav {width: 100%; font-size: 14px; line-height: 40px; margin-top: 50px;}

aside nav li a {display: block; height: 50px; width: 100%; text-decoration: none; color: #999999; padding-right: 15px; }
aside nav li a:hover, aside nav li a.active {display: block; background: #000; color: #fff; width: 185px}
aside nav li ul li a:hover, aside nav li a.active { width: 175px}


section.content {margin-right: 200px; padding: 70px 20px 10px 30px; background: #fff; min-height: 400px} /* padding-top was 20. change to 70 for header fix position*/

/******************** Side sub menu **********************/
#sideMenu ul ul {
  display: none;
}

#sideMenu ul ul  li{ margin-right: 10px; }

/* Arrow down */
#sideMenu ul  li span, header nav li a span, table.sort th i{  border-left: 4px solid rgba(0, 0, 0, 0);   border-right: 4px solid rgba(0, 0, 0, 0);    border-top: 4px solid;    display: inline-block;    height: 0;    margin-right: 2px;    vertical-align: middle;    width: 0;}


/******************** Sort Table **********************/
table {  width: 100%;text-align: right;}

table.sort th { padding: 8px; color: #333333; border: 1px solid #DDDDDD;}
table.sort tr:hover  { background: #eee;}
table.sort td { padding: 8px; border: 1px solid #DDDDDD; position: relative;  overflow: hidden;   text-overflow: ellipsis;}
table.sort span.new {color: red; font-size: 9px; position: absolute; left: 5px;}

table.color tr:first-child th {color: white }
table.color tr:first-child th h1{color: white }

table.blue tr:first-child th{ background: #2980B9;}
table.dark_blue tr:first-child th, tr.dark_blue th{ background: #34495E; color: white   }
table.green tr:first-child th{ background: #16A085;  }
table.red tr:first-child th{ background: #E74C3C;  }
table.yellow tr:first-child th{ background: #F39C12;  }
table.purple tr:first-child th{ background: #8E44AD;  }


#navForm {
	padding: 10px 55px 10px 15px;
	border-radius: 4px;
    background-color: #ddd;
    border-color: #EBCCD1;
    color: #31708F;
	margin-top: 20px;
}
table#navForm {width: 100%}

table.titles1Col td:first-child { font-weight: bold; color: #000; }
table.titlesMultiCol td:nth-child(odd) { font-weight: bold; color: #000; }
table.titlesMultiCol td {width: 25%}
table.colsEq  {table-layout: fixed}

table dt a {display: block}

/******************** Form **********************/

form p {  min-height: 40px; clear: both; }
label { width: 120px; display: block; float: right}

.longLabel  label{ width: 230px; display: block; }
.shortLabel  label, .shortLabel{ width: 60px; display: block; }

input,select {
    background-color: #FFFFFF;
    background-image: none;
    border: 1px solid #CCCCCC;
    border-radius: 4px;
    box-shadow: 0 1px 1px rgba(0, 0, 0, 0.075) inset;
    color: #555555;
    padding: 6px;
    transition: border-color 0.15s ease-in-out 0s, box-shadow 0.15s ease-in-out 0s;
    width: 80%;
	float: right;
}

textarea {
	border: 2px solid #ccc;
	width: 80%;
	height: 100px;
	float: right;
	padding: 4px;
	color: #555;
	margin-bottom: 5px;
}

textarea:focus,input:focus,select:focus {
	border:2px solid #61b7db;
}



.full {width: 100%}
.tinyFields input, .tinyField { width: 15px !important} 
.smallFields input, .smallField { width: 50px !important} 
.mediumField input , .mediumField { width: 150px !important}
.longField input , .longField select, .longField { width: 250px }

.longFieldSp { width: 250px }
.doubleFieldSp  { width: 500px }


form span {
	color: red;
	margin-right: 5px;
	position: relative;

}

form dl { margin-top: 7px }

.form_arrows {
    background-color: #FFFFFF;
    border: 1px solid #DDDDDD;
    display: inline-block;
    padding: 0px 14px 0 14px;
	height: 30px;
	line-height: 30px;	
}

.form_arrows_sm {
    background-color: #FFFFFF;
    border: 1px solid #DDDDDD;
    display: inline-block;
    padding: 3px 5px 3px 5px;
}

.form_arrows:hover, .form_arrows_sm:hover {background: #ddd;  border: 1px solid #999; cursor: pointer;}

#files form {width: 900px}

.quick_search {margin: auto; width: 205px; position: relative}
.quick_search  input[type="image"] {width: 30px; height: 33px; background: none; border: none; padding: 0px}

/******************** Reply - View tkt **********************/

.comment { width: auto; padding: 10px; margin-bottom: 10px; border: 1px solid #ddd; position: relative; }
.comment article { width: 80%;}
.comment article.commentWithFiles { padding-bottom: 30px;}
.comment article header {position: relative; }
.comment article header dl {font-size: 10px; color: #333333; display: block; float: right; margin-left: 10px}
.comment article header a { float: left }
.comment article header input { position: absolute; top: 0; left: 0; }
.comment article .files{ position: absolute; bottom: 5px;  }
.comment article div { margin-top: 5px}

.comment .userInfo {width: 20%; text-align: center; font-size: 14px;} 


/******************** MESSAGES **********************/

.msg {
	color: #2b2b2b;
	padding: 10px 55px 10px 15px;
	margin-bottom: 10px;
	border-radius: 4px;
	position: relative;
}

.msg_medium {width: 400px;}
.msg_small {width: 300px;}

.msg_error {
    background-color: #F2DEDE;
    border-color: #EBCCD1;
    color: #A94442;
}

.msg_success {
    background-color: #D9EDF7;
    border-color: #BCE8F1;
    color: #31708F;
}

.msg_note {
    background-color: #DFF0D8;
    border-color: #D6E9C6;
    color: #3C763D;
}

.msg_msg { /* system msg*/
    background-color: #f5f7bf;
    border-color: #e9e9c6;
    color: #73763c;
}

.msg_dashboard {
    background-color: #a0ddd5 ;
    border-color: #28847E ;
    color: #fff ;
}

.dashboard h3 { }
.dashboard .totalNum { font-weight: bold; font-size: 42px; }
.dashboard .msg .title {vertical-align: -30px}
.dashboard .msg img {position: absolute; top: 10px; right: 10px;}





/************** Multi Upload *****************/

.MultiFile-label { clear: both; margin-bottom: 10px; }
.MultiFile-title { color: green }

/* Multi Upload end */


/************** Tool Tip *****************/
.stickytooltip{
	box-shadow: 5px 5px 8px #818181; /*shadow for CSS3 capable browsers.*/
	-webkit-box-shadow: 5px 5px 8px #818181;
	-moz-box-shadow: 5px 5px 8px #818181;
	display:none;
	position:absolute;
	display:none;
	border: 5px solid #096570 ; /*Border around tooltip - set in JS code*/
	background:white;
	z-index:3000;
	padding: 5px;
	border-radius: 4px;
}


.tooltip { width: 400px; max-height: 700px; overflow-y: auto; }
/* End - Tooltip */

/************** tabs begin *****************/


.tab_block , .tab_block_sub{padding: 10px; border: 1px solid #DDDDDD; display: none}
ul.tabs li { 	display:inline;}

ul.tabs li a.active { background: #ddd;  border: 1px solid #999; }

ul.list_vertical {width: 20%}
ul.list_vertical a { display: block;}
/*.tabboxNotActive {display: none}*/

/* End - tabs */

.hideBox { background: #DDDDDD; padding: 10px;  border-radius: 4px;}

/*************** Footer ************************/
footer { 	width:100%;		color: #fff;	margin-top: 20px;	}
footer p { margin-left: 200px; text-align: center;}
footer p a{ color: #61b7db}

/*************** Calendar ************************/

#projectCalendar {
	width: 100%;
}

#projectCalendar .title {
	text-align: center;
	vertical-align: top;
	font-weight: bold;
	height: 50px;
}

#projectCalendar .title td { font-weight: bold; height: 50px; text-align: center; vertical-align: middle }

#projectCalendar td {
	width: 14% ;
	height: 100px ;
	vertical-align: top ;
	padding: 2px ;
	border: 1px solid grey ;
	text-align: left ;
	background: #eeeeee url('../images/cellBG.png') repeat-x;
}

.highlight { background: yellow !important}

#projectCalendar  td p {
	padding: 5px;
	border-radius: 4px;
}
/********************************************/


