/* 
    Document   : index
    Created on : Apr 3, 2013, 12:23:20 PM
    Author     : wsouilem
    Description:
        Purpose of the stylesheet follows.
*/
/*http://www.red-team-design.com/wp-content/uploads/2011/03/css3-dropdown-menu-demo.html*/

root { 
    display: block;
}

/* temp here*/
html{
    background:#f2f2f2;
    width: 100%;
    height: 100%;
}


body {
       color: #8a8d99;
/*       height: 100%;*/
       min-height: 100%;
       line-height: 1; 
       width: 90%;
       margin: 0 auto;       
       z-index: 1; 
        background: #fff;
        border: 1px solid #d9d9d9;
        border-top: none;
        border-bottom: none;
        overflow-x: auto;
        overflow-y: auto;
        -webkit-box-shadow: 0 0 4px rgba(0,0,0,.3);
        -moz-box-shadow: 0 0 4px rgba(0,0,0,.3);
         box-shadow: 0 0 4px rgba(0,0,0,.3);
}

ol, ul {
	list-style: none;
}
blockquote, q {
	quotes: none;
}
blockquote:before, blockquote:after,
q:before, q:after {
	content: '';
}

/* remember to define focus styles! */
:focus { outline: 0; }

/* remember to highlight inserts somehow! */
ins { text-decoration: none; }
del { text-decoration: line-through; }
/* tables still need 'cellspacing="0"' in the markup */
table { border-collapse: collapse; }

/* Typography */
body, input, select, textarea, button{
	font-family: "Helvetica Neue", Helvetica, Arial, sans-serif;
	font-size: 12px;
        color: rgb(105, 107, 116);
}
h1, h2, h3 { padding-bottom: 15px; color: #2b2b2b; }
h1 { font-size: 36px;}
h2 { font-size: 24px; }

h3 label {color:rgb(138, 137, 137); font-weight: bold; font-size: 16px; line-height: 16px; font-variant: small-caps;  margin-bottom: 15px; padding-top: 5px;}


div#main
{
     padding-bottom: 40px;
}

/***********************************
 * Menu 
 ***********************************/

.errors{
    color: red;
}

label{
    display: inline-block;
    color: #999999;
    font-size: 12px;
    margin-left: 18px;
}
#menu{
    width: 100%;
    margin: 0;
    padding: 10px 0 0 0;
    list-style: none;  
    background: #111;
    background: -moz-linear-gradient(#444, #111); 
    background: -webkit-gradient(linear,left bottom,left top,color-stop(0, #111),color-stop(1, #444));	
    background: -webkit-linear-gradient(#444, #111);	
    background: -o-linear-gradient(#444, #111);
    background: -ms-linear-gradient(#444, #111);
    background: linear-gradient(#444, #111);
    -moz-border-radius: 50px;
    border-radius: 5px;
    -moz-box-shadow: 0 2px 1px #9c9c9c;
    -webkit-box-shadow: 0 2px 1px #9c9c9c;
    box-shadow: 0 2px 1px #9c9c9c;
}

#menu li{
    float: left;
    padding: 0 0 10px 0;
    position: relative;
    line-height: 0;
}

#menu a
{
    float: left;
    height: 25px;
    padding: 0 25px;
    color: #999;
    text-transform: uppercase;
    font: bold 12px/25px Arial, Helvetica;
    text-decoration: none;
    text-shadow: 0 1px 0 #000;
}

#menu li:not(.active):hover > a
{
    color: #fafafa;
}
#menu .active > a{
     color: rgb(253, 161, 87);
} 

*html #menu li a:hover /* IE6 */
{
    color: #fafafa;
}

#menu li:hover > ul
{
    display: block;
}

#menu ul
{
    list-style: none;
    margin: 0;
    padding: 0;    
    display: none;
    position: absolute;
    top: 35px;
    left: 0;
    z-index: 99999;    
    background: #444;
    background: -moz-linear-gradient(#444, #111);
    background: -webkit-gradient(linear,left bottom,left top,color-stop(0, #111),color-stop(1, #444));
    background: -webkit-linear-gradient(#444, #111);    
    background: -o-linear-gradient(#444, #111);	
    background: -ms-linear-gradient(#444, #111);	
    background: linear-gradient(#444, #111);
    -moz-box-shadow: 0 0 2px rgba(255,255,255,.5);
    -webkit-box-shadow: 0 0 2px rgba(255,255,255,.5);
    box-shadow: 0 0 2px rgba(255,255,255,.5);	
    -moz-border-radius: 5px;
    border-radius: 5px;
}

#menu ul ul
{
    top: 0;
    left: 150px;
}

#menu ul li
{
    float: none;
    margin: 0;
    padding: 0;
    display: block;  
    -moz-box-shadow: 0 1px 0 #111111, 0 2px 0 #777777;
    -webkit-box-shadow: 0 1px 0 #111111, 0 2px 0 #777777;
    box-shadow: 0 1px 0 #111111, 0 2px 0 #777777;
}

#menu ul li:last-child
{   
    -moz-box-shadow: none;
    -webkit-box-shadow: none;
    box-shadow: none;    
}

#menu ul a
{    
    padding: 10px;
    height: 10px;
    width: 130px;
    height: auto;
    line-height: 1;
    display: block;
    white-space: nowrap;
    float: none;
    text-transform: none;
}

*html #menu ul a /* IE6 */
{    
    height: 10px;
}

*:first-child+html #menu ul a /* IE7 */
{    
    height: 10px;
}

#menu ul a:hover
{
    background: rgb(141, 148, 162);
    background: -moz-linear-gradient(rgb(141, 148, 162),  rgb(62, 69, 82));	   
    background: -webkit-gradient(linear, left top, left bottom, from(rgb(141, 148, 162)), to(rgb(62, 69, 82)));
    background: -webkit-linear-gradient(rgb(141, 148, 162),  rgb(62, 69, 82));
    background: -o-linear-gradient(rgb(141, 148, 162),  rgb(62, 69, 82));
    background: -ms-linear-gradient(rgb(141, 148, 162),  rgb(62, 69, 82));
    background: linear-gradient(rgb(141, 148, 162),  rgb(62, 69, 82)); 
}

#menu ul li:first-child > a
{
    -moz-border-radius: 5px 5px 0 0;
    border-radius: 5px 5px 0 0;
}

#menu ul li:first-child > a:after
{
    content: '';
    position: absolute;
    left: 30px;
    top: -8px;
    width: 0;
    height: 0;
    border-left: 5px solid transparent;
    border-right: 5px solid transparent;
    border-bottom: 8px solid #444;
}

#menu ul ul li:first-child a:after
{
    left: -8px;
    top: 12px;
    width: 0;
    height: 0;
    border-left: 0;	
    border-bottom: 5px solid transparent;
    border-top: 5px solid transparent;
    border-right: 8px solid #444;
}

#menu ul li:first-child a:hover:after
{
/*    border-bottom-color: #04acec; */
   border-bottom-color: rgb(141, 148, 162);
}

#menu ul ul li:first-child a:hover:after
{
/*    border-right-color: #04acec; */
    border-right-color: rgb(141, 148, 162);
    border-bottom-color: transparent; 	
}


#menu ul li:last-child > a
{
    -moz-border-radius: 0 0 5px 5px;
    border-radius: 0 0 5px 5px;
}

/* Clear floated elements */
#menu:after 
{
    visibility: hidden;
    display: block;
    font-size: 0;
    content: " ";
    clear: both;
    height: 0;
}
/* Right Items */
#menu .right-item, .sub-menu .right-item{
    float: right;
    font-size: 15px;
} 

#menu .right-button-icon {
    background-image: url(../img/sprite.png);
    background-position: -499px -40px; /*1px -41px;*/
    background-repeat: no-repeat;
    display: inline-block;
    width: 12px;
    height: 10px;
    margin-right: 10px;
}
#menu .right-button-icon:hover {
    background-position: -399px -40px;
}

/***************************************************
 *     SUB Menu
 ***************************************************/
.sub-menu{
    overflow: hidden;    
    list-style: none;  
    background: url(../img/overview_divider_up.jpg) no-repeat left bottom;
    -moz-border-radius: 50px;
    border-radius: 5px;
    -moz-box-shadow: 0 2px 1px #9c9c9c;
    -webkit-box-shadow: 0 2px 1px #9c9c9c;
    box-shadow: 0 2px 1px #9c9c9c;
    z-index: 100;
}

.sub-menu li{
    float: left;
    padding: 0 0 6px 0;
    position: relative;
    line-height: 0;

}

.sub-menu a
{
    text-decoration: none;
    padding: 0 25px;
    font: bold 12px/25px Arial, Helvetica;
    color: #8a8d99;/*IE*/
    color: rgba(133, 129, 123, 0.59);
    cursor: pointer;
}
.sub-menu .active a{
    color: rgb(105, 107, 116);  
}

.status_view{
    z-index: 1;
    background: #f2f2f2;
    width: 500px;
    height: 15px;
    text-align: center;
    border-radius: 3px;
    -moz-border-radius: 3px;
    padding: 2px;
    position: absolute;
    top: 83px;
    left: 50%;
    margin-left: -270px;
}

.success {
    background-color: #D7F7C4;
    color: #4F8A10;
}

.failure {
    background-color: rgb(241, 212, 208);
    color: rgb(243, 36, 8);
}






* html #menu             { zoom: 1; } /* IE6 */
*:first-child+html #menu { zoom: 1; } 

/*************************************
 *  Button
 *************************************/
button, th, .tablefooter , .submit, .save{
	font-weight: bold;
	color: #999;
	text-shadow: 0px -1px 0px #000;
}

button, .submit, #checklist_table .action-button{
	display: block;
	height: 30px;	
	padding: 0px 14px;		
	background: #2d2d2d; /* Old browsers */
	/* IE9 SVG, needs conditional override of 'filter' to 'none' */
	background: -moz-linear-gradient(top, #2d2d2d 0%, #141414 100%); /* FF3.6+ */
	background: -webkit-gradient(linear, left top, left bottom, color-stop(0%,#2d2d2d), color-stop(100%,#141414)); /* Chrome,Safari4+ */
	background: -webkit-linear-gradient(top, #2d2d2d 0%,#141414 100%); /* Chrome10+,Safari5.1+ */
	background: -o-linear-gradient(top, #2d2d2d 0%,#141414 100%); /* Opera 11.10+ */
	background: -ms-linear-gradient(top, #2d2d2d 0%,#141414 100%); /* IE10+ */
	background: linear-gradient(top, #2d2d2d 0%,#141414 100%); /* W3C */
	filter: progid:DXImageTransform.Microsoft.gradient( startColorstr='#2d2d2d', endColorstr='#141414',GradientType=0 ); /* IE6-8 */	
	border: 0;
	border-radius: 3px;
	-webkit-border-radius: 3px;
	-moz-border-radius: 3px;
	-o-border-radius: 3px;	
	color: #999;
        font-weight: bold;
}

button:hover, th:hover, .tablefooter:hover , .submit:hover, .save:hover{
        color: #fff;	
}
button:active, #login .submit:active, #checklist_table .action-button:active, .submit:active {
	background: #2d2d2d; /* Old browsers */
	/* IE9 SVG, needs conditional override of 'filter' to 'none' */
	background: -moz-linear-gradient(top, #141414 0%, #2d2d2d 100%); /* FF3.6+ */
	background: -webkit-gradient(linear, left top, left bottom, color-stop(0%,#141414), color-stop(100%,#2d2d2d)); /* Chrome,Safari4+ */
	background: -webkit-linear-gradient(top, #141414 0%,#2d2d2d 100%); /* Chrome10+,Safari5.1+ */
	background: -o-linear-gradient(top, #141414 0%,#2d2d2d 100%); /* Opera 11.10+ */
	background: -ms-linear-gradient(top, #141414 0%,#2d2d2d 100%); /* IE10+ */
	background: linear-gradient(top, #141414 0%,#2d2d2d 100%); /* W3C */
	filter: progid:DXImageTransform.Microsoft.gradient( startColorstr='#141414', endColorstr='#2d2d2d',GradientType=0 ); /* IE6-8 */
}


/************************************
 *  View Styles 
 ************************************/

body .gradient-up {
    background: url(../img/overview_divider_up.jpg) no-repeat center bottom;
}
body .gradient-down {    
    background: url(../img/overview_divider_up.jpg) no-repeat center top;
}
body row{
    border-top: 1px solid #ced0d5;
}
body .flushpad {
    overflow: hidden;
    padding-left: 70px;
    padding-right: 70px;
    margin-left: -70px;
    margin-right: -70px;
}

/*.view {
	background-color: #fff;	
	box-shadow: 0px 2px 1px #a9a9a9;
	-webkit-box-shadow: 0px 2px 1px #a9a9a9;
	-moz-box-shadow: 0px 2px 1px #a9a9a9;
	-o-box-shadow: 0px 2px 1px #a9a9a9;
	
	border-radius: 5px;
	-webkit-border-radius: 5px;
	-moz-border-radius: 5px;
	-o-border-radius: 5px;
}

.form_view{
	background-color: #fff;	
	box-shadow: 0px 2px 1px #a9a9a9;
	-webkit-box-shadow: 0px 2px 1px #a9a9a9;
	-moz-box-shadow: 0px 2px 1px #a9a9a9;
	-o-box-shadow: 0px 2px 1px #a9a9a9;	
	border-radius: 5px;
	-webkit-border-radius: 5px;
	-moz-border-radius: 5px;
	-o-border-radius: 5px;
        padding: 25px 10px 90px 40px;
}

.form_view .submit{
    margin-top: 20px;
    margin-right: 40px;
    float: left;
}*/

/************************************************
 * Form Styles 
 ************************************************/
input[type="text"], input[type="password"], select, textarea {
	border: 1px solid #dcdcdc;
	border-radius: 3px;
	-webkit-border-radius: 3px;
	-moz-border-radius: 3px;
	-o-border-radius: 3px;	
}
fieldset {
	border: 1px solid #dcdcdc;
	margin-bottom: 10px;
}

.element-group {
    padding: 3px;
}
.form-div .element-group input, .form-div .element-group select, .form-div .element-group radio {
    padding: 8px;  
    font-size: 12px;   
}
.element-group input, .element-group select {
	width: 250px;	
}
.form-div .element-group .errors{
	padding-left: 10px;	
	font-style: italic;
	color: red;
	font-size: 11px;
        display: inline-block;
}

.form-div .element-group .ajax-errors{
	margin-left: 10px;
	margin-top: 9px;
	font-style: italic;
	color: red;
	font-size: 11px;
        margin-bottom: 20px;
}


.form-div .element-group .below-input{
  padding-left: 0px;
  position: relative;
}


.form-div .cancel{      
    padding:  10px;
    float: left;
    margin-left: 10px;
    width: 80px;    
    height: 35px;
    color: white;  
}

.form-div .save{
    padding:  15px;
    width: 140px;    
    height: 40px;
    color: white;    
}


.basic-form h3{
    color: #999999;
    padding-left: 45px;
}
.basic-form form ul{
    padding-left: 80px;
}

.basic-form form ul li{
     display: table-row;    
     margin-top: 10px;
}
.basic-form form ul li label{
    display: table-cell;
    vertical-align: middle;
    text-align: right;
    padding: 15px;
}

.basic-form form ul li input, .basic-form form ul li select, .basic-form form ul li textarea{ 
    vertical-align: middle;
    margin: 0 ;
    margin-top: 5px;
}

.basic-form form ul li .submit {
    width: 80px;
    margin-left: 140px;
    margin-top: 26px;
}

.basic-form form ul li:last-child{
    display: block;
}

.dataTables_length {
    float: left;
    padding: 5px;
}
.dataTables_filter {
    float: right;
    padding: 5px;
}
.dataTables_paginate {
    float: right;
    padding: 5px;
}
.dataTables_info {
    float: left;
    padding: 5px;
}
.DataTables_sort_wrapper:hover {
    cursor: pointer;
}
div.DataTables_sort_wrapper span {
    left: 0;
    margin-top: -8px;
    position: absolute;
    top: 49%;
}
.DataTables_sort_wrapper {
    padding-bottom: 5px;
    padding-left: 20px;
    padding-top: 5px;
    position: relative;
}
.dataTables_scroll {
    overflow: auto;
}

/************************************************
 * Table Styles 
 *************************************************/
table.std_tbl{
	border: 1px;        
	background: #fff;	
	margin: auto;	
	border-collapse:separate;	
	box-shadow: 0px 2px 1px #a9a9a9;
	-webkit-box-shadow: 0px 2px 1px #a9a9a9;
	-moz-box-shadow: 0px 2px 1px #a9a9a9;
	-o-box-shadow: 0px 2px 1px #a9a9a9;
	
	border-radius: 5px;
	-webkit-border-radius: 5px;
	-moz-border-radius: 5px;
	-o-border-radius: 5px;
	border--radius: 5px;
	-webkit-border--radius: 5px;
	-moz-border--radius: 5px;
	-o-border--radius: 5px;		
}
table.std_tbl thead{
	border-top-right-radius: 5px;
	-webkit-border-top-right-radius: 5px;
	-moz-border-top-right-radius: 5px;
	-o-border-top-right-radius: 5px;
	border-top-left-radius: 5px;
	-webkit-border-top-left-radius: 5px;
	-moz-border-top-left-radius: 5px;
	-o-border-top-left-radius: 5px;	
}
table.std_tbl th, table.std_tbl .tablefooter {
	vertical-align: middle;

	background: #000;
	background: -moz-linear-gradient(top, #2A2A2A 0%, #1E1E1E 100%); /* FF3.6+ */
	background: -webkit-gradient(linear, left top, left bottom, color-stop(0%,#2A2A2A), color-stop(100%,#1E1E1E)); /* Chrome,Safari4+ */
	background: -webkit-linear-gradient(top, #2A2A2A 0%,#1E1E1E 100%); /* Chrome10+,Safari5.1+ */
	background: -o-linear-gradient(top, #2A2A2A 0%,#1E1E1E 100%); /* Opera 11.10+ */
	background: -ms-linear-gradient(top, #2A2A2A 0%,#1E1E1E 100%); /* IE10+ */
	background: linear-gradient(top, #2A2A2A 0%,#1E1E1E 100%); /* W3C */
	filter: progid:DXImageTransform.Microsoft.gradient( startColorstr='#2A2A2A', endColorstr='#1E1E1E',GradientType=0 ); /* IE6-8 */	
}
table.std_tbl .tablefooter{
        margin:auto;
	text-align: center;	
	font-weight: normal;
	height: 32px;	
	padding: 10px 10px 10px 20px;
        
	border-radius: 5px;
	-webkit-border-radius: 5px;
	-moz-border-radius: 5px;
	-o-border-radius: 5px;
	border-radius: 5px;
	-webkit-border-radius: 5px;
	-moz-border-radius: 5px;
	-o-border-radius: 5px;
	
	box-shadow: 0px 2px 1px #a9a9a9;
	-webkit-box-shadow: 0px 2px 1px #a9a9a9;
	-moz-box-shadow: 0px 2px 1px #a9a9a9;
	-o-box-shadow: 0px 2px 1px #a9a9a9;
}
table.std_tbl .tablefooter input {
	padding: 5px;
	width: 150px;
}
table.std_tbl .tablefooter select{
	padding: 0;
}
table.std_tbl .tablefooter span{
    padding-left :5px;
}
table.std_tbl th:first-child , .dataTables_wrapper table th:first-child{
	border-top-left-radius: 5px;
	-webkit-border-top-left-radius: 5px;
	-moz-border-top-left-radius: 5px;
	-o-border-top-left-radius: 5px;	
}
table.std_tbl th:last-child, .dataTables_wrapper table th:last-child{
	border-top-right-radius: 5px;
	-webkit-border-top-right-radius: 5px;
	-moz-border-top-right-radius: 5px;
	-o-border-top-right-radius: 5px;
}
table.std_tbl tr:nth-child(2n), .dataTables_wrapper table tr:nth-child(2n) {
	background: #f5f5f5;
}
table.std_tbl tr:hover, .dataTables_wrapper table tr:hover{
	background: #cbd6ee;
}
table.std_tbl td .dataTables_wrapper table td{
	padding: 12px;
}
table.std_tbl tbody td .dataTables_wrapper table tbody td{
	text-align: center;
    vertical-align: middle;
}
table.std_tbl tr:last-child td:last-child, .dataTables_wrapper table tr:last-child td:last-child{
	border-bottom-right-radius: 5px;
	-webkit-border-bottom-right-radius: 5px;
	-moz-border-bottom-right-radius: 5px;
	-o-border-bottom-right-radius: 5px;	
}
table.std_tbl tr:last-child td:first-child, .dataTables_wrapper table tr:last-child td:first-child{
	border-bottom-left-radius: 5px;
	-webkit-border-bottom-left-radius: 5px;
	-moz-border-bottom-left-radius: 5px;
	-o-border-bottom-left-radius: 5px;	
}
.new_item {
	font-weight: bold;
}
.new_item:hover {
	color: #fff;
	background: #353535;
}
/* DataTables Styles */
.dataTables_filter {
	float: left;
}
.dataTables_length {
	float: right;
	margin-top: 4px;
}
.dataTables_paginate {
	float: right;
	margin-top: 4px;
        cursor: pointer; 
        position:relative;
}
.dataTables_info {
	position: relative;
	left: 50%;
	margin-left: -200px;

	font-size: 12px;
	height: 22px;
	width: 400px;
	padding-top: 10px;	

	text-align: center;
        
        float:left;
}

/*****
   Data Table
******/

.account_info_table {
    width: 95%;
    margin: auto;
    margin-top: 20px;
}
.account_info_table .tableheader {
    height: 30px;
    clear: both;
}
.account_info_table .datatable_info{
    width: 100%;
    margin: auto;
    box-shadow: 0px 2px 1px #a9a9a9;
    -webkit-box-shadow: 0px 2px 1px #a9a9a9;
    -moz-box-shadow: 0px 2px 1px #a9a9a9;
    -o-box-shadow: 0px 2px 1px #a9a9a9;
    border-radius: 5px;
    -webkit-border-radius: 5px;
    -moz-border-radius: 5px;
    -o-border-radius: 5px;
    border--radius: 5px;
    -webkit-border--radius: 5px;
    -moz-border--radius: 5px;
    -o-border--radius: 5px;
}

.account_info_table .dataTables_info {
    color: rgb(105, 107, 116);
}
.account_info_table .fg-toolbar {
    background-color: rgb(241, 240, 243) !important;
    color: rgb(105, 107, 116) !important;
}
.account_info_table .fg-toolbar span{
    padding-left: 8px;
}
/*************************************
 *  Footer
 *************************************/
#footer {
    position: fixed;
    height: 24px;
    bottom: 0px;
    z-index: 5;
    padding-top: 5px;
    box-shadow: 0px -2px 1px #9c9c9c;
    -webkit-box-shadow: 0px -2px 1px #9c9c9c;
    -moz-box-shadow: 0px -2px 1px #9c9c9c;
    -o-box-shadow: 0px -2px 1px #9c9c9c;
    background: #d9d9d9;
    filter: progid:DXImageTransform.Microsoft.gradient( startColorstr='#2A2A2A', endColorstr='#1E1E1E',GradientType=0 ); /* IE6-8 */	    
    width: 90%;
    margin: 0;
    padding: 5px 0 0 0;
    list-style: none;
    background: #111;
    background: -moz-linear-gradient(#444, #111);
    background: -webkit-gradient(linear,left bottom,left top,color-stop(0, #111),color-stop(1, #444));
    background: -webkit-linear-gradient(#444, #111);
    background: -o-linear-gradient(#444, #111);
    background: -ms-linear-gradient(#444, #111);
    background: linear-gradient(#444, #111);
}

#footer_text {    
    font-size: 8pt;
    font-family: Arial, Sans-serif;       
    padding-left: 24px;
    color: #a0a0a0;
}


.fg-button
{
    background:none !important;
    margin:0px 2px !important;
    border:none !important;
}

.error_msg
{
    color:white;
    background-color:red;
    padding: 5px;
    font-weight:bold;
}

.non_error_msg
{
    color:white;
    background-color:green;
    padding: 5px;
    font-weight:bold;
}