/* 
Sahana - NYC-CSP Theme - Stylesheet 
-----------------------------------------------------------------------------------
designer : Priyanga Fonseka  - jo@opensource.lk 

Selectors are listed in their order of appearance in the html, where applicable.
---------------------------------------------------------------------------------- */

/* Neutralize styling: 
   Elements we want to clean out entirely: */
html, body, form, fieldset, textarea {
        margin: 0;
        padding: 0;
        font: 100%/125% Arial, Helvetica, sans-serif;
}

/* Neutralize styling: 
   Elements with a vertical margin: */
h1, h2, h3, h4, h5, h6, p, pre,
blockquote, ul, ol, dl, address {
        margin: 0 0 1em 0;
        padding: 0;
}

/* Apply left margin:
   Only to the few elements that need it: */
li, dd, blockquote {
        margin-left: 1em;
}

/* Clear floats without structural markup */
.clearfix:after {
    content: "."; 
    display: block; 
    height: 0; 
    clear: both; 
    visibility: hidden;
}

/* Hides from IE-mac \*/
* html .clearfix {height: 1%;}
/* End hide from IE-mac */

/* Miscellaneous conveniences: */
body {
	font-size: 0.8em;
	color: #000;
        min-width:760px;
}

form label {
	cursor: pointer;
}

fieldset {
	border: none;
}

input, select, textarea {
	font-size: 100%;
}

/* Links should ALWAYS be unvisited */
a {
    color: #039;
    text-decoration: underline;
}

a:hover {
    color: #C00;
    text-decoration: none;
    background-color: #FFC;
}

/* hidden elements */
.hide {
	display: none;
}

p#skip {
	display: none;
}

/* page sections */
div#header {
	background: #FFF url(img/sahana_logo.png) no-repeat left top;
	border-bottom: #54A4DE 1px solid;  
	height: 40px;
/*         width:200px; */
}

div#header h1 {
    display:none; 
}


form.head{
    display:none;
    position:absolute;
    right:0px;
    font-size:11px;
}

form.head select{
    border: 1px inset ;
}

form.head label{
    font-weight:bold;
}

/* insident changer select box in the top */
form#incident_changer {
     float:right;
     padding:20px 0px 2px 2px; 
}



/* main menu and module menu */
div#menuwrap { 
	width: 200px;
	float: left;
	clear: left;
}

div#menuwrap h2{
    background: url(img/main_rounded.gif) no-repeat;
    text-transform:uppercase;
    font-size:0.9em;
    font-weight:bold;
    color:#444;
    padding:2px;
    margin:20px 0px 0px 0px;
    text-align:center;
}

div#menuwrap ul{
    list-style-type:none;
    background:#ffd596;
    padding-bottom:20px;
}


div#menuwrap li
{
	margin: 0px;
	padding: 0px;
	line-height: 20px;
}

div#menuwrap ul li a
{
	display: block;
	width: 190px;
	padding-left: 10px;
	background-color: #ffe6bf;
	font-size: 0.9em;
	border-top: #FFF 1px solid;
        border-bottom:#ffd596 1px solid;
}

div#menuwrap ul li a:link, 
div#menuwrap ul li a:visited
{
	color: #444;
	text-decoration: none;
}

div#menuwrap ul li a:hover
{
	background-color: #dee6e8;
}


/* module menu */
div#modmenuwrap{ 
	width: 200px; 
	float: left; 
	clear: left;
}

div#modmenuwrap h2{
    background: url(img/mod_rounded.gif) no-repeat;
    text-transform:uppercase;
    font-size:0.9em;
    font-weight:bold;
    color:#444;
    padding:2px;
    margin:20px 0px 0px 0px;
    text-align:center;
}

div#modmenuwrap ul
{
	list-style-type: none;
    background:#bbd9ee;
    padding-bottom:20px;
}

div#modmenuwrap li
{
	margin: 0px;
	padding: 0px;
	line-height: 20px;
}

div#modmenuwrap ul li a
{
	display: block;
	width: 190px;
	padding-left: 10px;
	background-color: #d8e9ec;
	font-size: 0.9em;
	border-top: #EBF4FA 1px solid;
        border-bottom: #DCE4EA 1px solid;
}

div#modmenuwrap ul li a.smopen
{
    background:#d8e9ec url(img/down_arrow.gif) no-repeat right;
}

div#modmenuwrap ul li a.smclose
{
    background:#d8e9ec url(img/up_arrow.gif) no-repeat right;
    border-bottom:0px solid;
}


div#modmenuwrap ul li a:link, 
div#modmenuwrap ul li a:visited
{
	color: #444;
	text-decoration: none;
}

div#modmenuwrap ul li a:hover
{
	background-color: #f1e0bc;
}

div#modmenuwrap ul ul {
    margin:0px;
    padding:0px;
}
div#modmenuwrap ul ul li a
{
	display: block;
	padding-left: 20px;
	width: 180px;
	background-color:#EBF4FA ;
	font-size: 0.85em;
}

div#modmenuwrap ul ul li a:link, 
div#modmenuwrap ul ul li a:visited
{
	border:0px;
}

div#modmenuwrap ul ul li a:hover
{
	background-color: #f1e0bc;
}

div#modmenuwrap ul ul
{
    display:none;
}



/* login form */
div#loginform {
    width: 200px;
    float: left; 
    clear: left;
    margin-bottom:10px;
}

div#loginform form fieldset {
    padding: 10px 10px 10px 20px;
    border: #e7e4d3 1px solid;
}

div#loginform form legend {
    color: #444;
    font-weight:bold;
    padding:2px 5px 2px 5px;
}

div#loginform form input#userName, 
div#loginform input#pswd {
    width:150px;
    border:1px #ADBBC7 solid;
}

div#loginform input[type="submit"]{
    border:1px #ADBBC7 solid;
    margin-top:5px;
}

div#loginform a,div#loginform span{
    color:#666;
    font-size:80%;
}

span#wellcome{
    color:red;
    font-weight:bold;
    font-style:italic;
}

div#session{
    position:absolute;
    float:right;
    top:3px;
    right:6px;
}

div#session span{
    font-weight:bold;
}

/* breadcrumbs */
#breadcrumbs ,#breadcrumbs b,#breadcrumbs a, #breadcrumbs a:hover{
    color:#999;
    font-size:0.9em; 
}

div#content {
	margin: 0 0 0 200px;
	padding: 4px 1em 1em 1em;
}

/* footer style */
div#footer {
	padding: 10px;
/* 	background-color: #FFDDBB; */
        background:url("img/nyc_logo.png") no-repeat ;
        height:75px;
	border-top: #FF9900 1px solid;
}


/* elements inside content div */

div#content{
    color:#444;
    padding-left:20px;
}

div#content h1, div#content h2{
/*     border-bottom:1px solid #444; */
    padding-top:1em;
    padding-bottom:3px;
    font-size:large;
}

#home{
/* 	border: 10px #fff solid; */
}

#home ul{
	padding: 5px; 
}


ul#tabmenu{
    list-style:none;
    background:#d8e9ec;
    padding:5px 10px 0px 10px;
    margin:0;
}

ul#tabmenu li{
    display:inline;
    padding:0;
    margin:0;
}

ul#tabmenu a {
      background:url("img/tab_lbak.gif") no-repeat left top;
      padding-left:5px;
      text-decoration:none;
      color:#444;
}
ul#tabmenu a span {
      background:url("img/tab_rbak.gif") no-repeat right top;
    padding-right:5px;
}

ul#tabmenu a:hover {
      background:url("img/tab_hlbak.gif") no-repeat left top;
      color:#FF9933;
}
ul#tabmenu a:hover span, ul#tabmenu li#active a span {
      background:url("img/tab_hrbak.gif") no-repeat right top;
}

ul#tabmenu li#active a {
      background:url("img/tab_hlbak.gif") no-repeat left top;
      color:#CC0000;
}


/* Form styles */
div.form-container form{ padding: 5px; border: #EEE 1px solid; background-color: #FbFbFb;}
p.legend { margin-bottom: 1em; }
p.legend em { color: #C00; font-style: normal; }
/* div.form-container form { display:block; } */
div.form-container p { margin: 0.5em 0 0 0; }
div.form-container form p { margin: 0; }
div.form-container form p.note { margin-left: 170px; font-size: 90%; color: #333; }
div.form-container form fieldset { margin:0 0 10px 0; padding: 10px; border: #DDD 1px solid; background-color:#FFF;}
div.form-container form legend { font-weight: bold; color: #666; }
div.form-container form fieldset div.brake { padding: 0.3em; }
div.form-container form fieldset hr { display:block;color:#DDD; background: #DDD; border: 0; Height:1px;margin:1.5em 0 1.5em 0;}
div.form-container form fieldset label em{color:red;font-size:120%;font-style:normal;position:absolute;right:0pt ;}
div.form-container form fieldset label{ position:relative; margin-right: 10px; padding-right: 10px; width: 15em; display: block; float: left; text-align: right;min-height:1em;top:0.25em;}
div.form-container form fieldset label.errorfield,
div.form-container form fieldset span.errorfield { color: #C00; }
div.form-container form fieldset label.value{display:block;text-align:left;width:auto;}
div.form-container form fieldset input.errorfield { border-color: #C00; background-color: #FEF; }
div.form-container form fieldset input:focus,
div.form-container form fieldset input.errorfield:focus, 
div.form-container form fieldset textarea:focus {	background-color: #FFC; border-color: #FC6;  }
div.form-container div.controlset label, 
div.form-container div.controlset input { display: inline; float: none; }
div.form-container div.controlset div { margin-left: 15em; }
div.form-container div.buttonrow { margin-left: 180px; }
.red { color:red; font-weight:bold;}





/* message styles */
.error {
	border:  #C00 1px solid;
	background: url(img/dialog-error.png) #FFE5E5 no-repeat 5px 5px;
}

.error p em{
	color:#C00;
}

.confirmation {
	border: #070 1px solid;
	background: url(img/dialog-confirmation.png) #E5FFE5 no-repeat 5px 5px;
}

.confirmation p em{
	color:#070;
}

.warning {
	border: #FC6 1px solid;
	background: url(img/dialog-warning.png) #FFC no-repeat 5px 5px;
}

.warning p em{
	color:#C00;
}

.message{
	margin: 0 0 10px 0;
	padding: 5px 10px 5px 35px;
}

.message p {
	margin: 0;
}

.message ul {
	margin: auto;
	margin-bottom: 0.5em;
	list-style: disc;
}

.message p em {
	font-style: normal;
	font-weight: bold;
}

.popupLink {
    position:absolute;
    height:20px;
    width:50px;
    background-image:url(img/help_off.gif) ;
 }
.popupLink span{
    display:none;
}

.popupLink:hover {
    background-color:transparent;
    background-image:url(img/help_on.gif);
 }


.popup { 
    position: absolute; 
    visibility: hidden; 
    background-color: #FFC; 
    width: 200px;
    border: 1px solid #FC6; 
    padding: 3px; 
    z-index: 10; 
}

/* alert styles */
div.alert {
	margin: 0 0 10px 0;
	padding: 5px 10px 5px 35px;
	border: #FC6 1px solid;
	background: url(img/oops.png) #FFC no-repeat 5px 5px;
}

/* info styles */
div.info , div.form-container fieldset p{
	color:#666;
 	padding: 5px; 
}


table {
    border-collapse: collapse
}

thead td{
    text-align:center;
    padding:.25em;
    background: #FBFBFB;
    font-weight:bold;
}

td{
    padding:5px 5px 0 5px;
    border:1px solid #ccc;	
}


#result table{
    background:white;
    width:100%;
    border-collapse:collapse;
}

#result table thead td{
    text-align:center;
    padding:.25em;
    background: #BBB8AB;
    color:#fff; 
    font-size:100%;
    border:1px solid #fff;
}

#result tr td{
    text-align:left;
    padding:.1em;
    font-size:90%;
    color:#000;
    background:#F1EFE2;
    border:1px solid #fff;
}

#result tr td.total{
    background:#D5D2C3;
}

#result tr:hover td{
    background:#E7E4D3;
}

#result table#loc_table{
    width:200px;
}


/* confirmation page styles*/
div#confirm{
    padding:10px;
}

div#confirm table{
    table-layout:automatic;
    border-collapse:collapse;
    border:#FFF;
    empty-cells: show;
}

div#confirm td{
	text-align:left;
	padding:.25em;
	border:none; 
}

div#confirm h4#connyc,div#confirm h2{
    margin:0;padding:5px 0px 0px 0px;border:0;
}
div#confirm h4{
    margin:0%;
    padding:0;
    border-bottom:1px dotted #444;
    width:400pt;
}

div.print_only{
    display:none;
}

/* tab styles */
ul#tab{
    display:inline;
}

ul#tab li{
    display:inline;
}
ul#tab li a{
    color:#666;
    text-decoration:none;
    font-weight:bold;
    border:#ccc 1px solid;
    padding:3px 5px 0px 5px;
    background:#efefef;
}

ul#tab li a:hover{
    background:#FFC;
}

ul#tab li#activeTab a{
    background:#999;
    color:white;
    padding:3px 5px 0px 5px;
}


