
* {
    color: #000;
    font-family: Calibri;
    font-size:14px;
}

::selection {
    background: #314791;
    color: black;
    text-shadow: none;
}

::-moz-selection {
    background: #314791;
    color: black;
    text-shadow: none;
}

#table a.add-button {
    padding:10px;
    border-radius: 5px 5px;
}

body
{
    background:#fff;
	padding: 0;
	margin: 0;
	border: 0;
}


#header {
    height: 72px;
    text-align: center;
    width: 340px;
    margin: 20px;
    display: block;
    background-color: #314791;
    padding: 20px;
    margin-bottom: 0px;
}

#login #header img {
    float: none;
}

#login-box
{
	background: #333;
	border: 1px solid #fff;
    margin:20px;
    margin-top:0px;
}

#login-box input
{
	background: #FFFFFF;
	border: 1px solid #000;
}

#login-box input {
    color: #333;
}

#login-box input#password, #login-box input#username
{
	border: 1px solid #000000;
}

#login-box label {
    color: #fff ;
}

#tabs, #table {
    /*background: #fff;*/
}

#tabs {
    border-bottom: 1px solid #314791;
    padding-left:20px;
}
/* Top Level Navigation Rest States
 */
/* Normal tab background colour */
#tabs ul li a,
#tabs ul.level1 li a
{
	background: #ccc;
    padding:10px;
}
/* Custom tabs background colour */

#tabs ul li.logout-li a {
    background: #666;
}

/* Selected & Hover States Top Level
 */
#users #tabs ul li.users-li a,
#sites #tabs ul li.sites-li a,
#clients #tabs ul li.clients-li a,
#developments #tabs ul li.developments-li a,
#stages #tabs ul li.stages-li a,
#room_types #tabs ul li.room_types-li a,
#lists #tabs ul li.lists-li a,
#postcodes #tabs ul li.postcodes-li a,
#equipment #tabs ul li.equipment-li a,
#inspection_types #tabs ul li.inspection_types-li a,
#recipient_emails #tabs ul li.recipient_emails-li a,
#settings #tabs ul li.settings-li a,
#templates #tabs ul li.templates-li a,
#technical #tabs ul li.technical-li a
{
    
	margin-top: 0;
	border-top: 2px solid #314791;
	background: #314791;
}

#tabs ul li:hover a,
#tabs ul li a:hover
{
    margin-top: 0;
	border-top: 2px solid #314791;
	background: #314791;
}

/* Custom Selected & Hover States Top Level */
#publish #tabs ul li.publish-li a
{
    margin-top: 0;
    border-top: 2px solid #d00;
    background: #d00;
}

#tabs ul li.publish-li:hover a
{
    margin-top: 0;
    border-top: 2px solid #d00;
    background: #d00;
}

#tabs ul li.logout-li:hover a
{
    margin-top: 0;
    border-top: 2px solid #000;
    background: #000;
}

/* Second Level unselected */
#tabs ul li ul li a
{
	border-top: 2px solid #999 !important;
    background: #999 !important;
}

/* Second Level Hover */

#tabs ul li ul.level0 li:hover a {
    background: #314791 !important;
}

/* Third Level unselected */

#tabs ul li ul.level0 li:hover ul.level1 li a {
    border-top: 2px solid #999 !important;
	background: #999 !important;
}

/* Third Level Hover */

#tabs ul li ul.level0 li:hover ul.level1  li:hover a {
    background: #314791 !important;
}

/* Controls */
.controls {
    background: #333;
	border-bottom: 1px solid #000;
}

.controls span, .controls span a {
	color: #fff;
}

.controls select {
    color: #000;
}
/* Table */
* #table {
    /*background: #fff;*/
}

.contextual-help strong {
    color: #666;
}

/* Filters */

#table form.filter-box {
    background: transparent !important;
}

#table form.filter-box input, #table form.filter-box select {
    color: #000 !important;
    
}

#table form.filter-box input.submit {
    color: #fff !important;
    background: #333;
    border: 0;
    
}

/* Crumbtrail & Footer */

#footer, #footer a {
    color: #000;
}

p.crumbtrail, p.crumbtrail a {
    color: #000;
    margin-top:10px;
    margin-bottom:10px;
}

/* Switch control */
a.switch.on {
     background: #314791;
}

.top {
    padding:10px;
    -moz-border-radius-topright: 5px 5px;
    border-top-right-radius: 5px 5px;
    -moz-border-radius-topleft: 5px 5px;
    border-top-left-radius: 5px 5px;
}

.bottom {
    padding:10px;
    border-bottom-right-radius: 5px 5px;
    -moz-border-radius-bottomleft: 5px 5px;
    border-bottom-left-radius: 5px 5px;
}


table tr th, table tr td {
    padding-top:5px;
    padding-bottom:5px;
}


#table form input, #table form textarea, #table form select {
    padding:10px;
    width: 550px;
}

#footer, #footer a {
    font-size:12px;
}

#table form span.currency-symbol {
    margin-top:21px;
}

#table form input.submit {
    border-radius: 5px 5px;
}

#login-box input#password, #login-box input#username {
    padding:10px;
}

#login-box input {
    border-radius: 5px 5px;
    padding:10px;
}

#mapsframe{
    position:fixed;
    z-index:-1000;
    height:100%;
    width:100%;
    overflow:hidden;
    top:0;
}

#editmapsframe{
    position:fixed;
    z-index:-1000;
    height:100%;
    width:200%;
    overflow:hidden;
    top:0;
    right:-80%;
    -webkit-filter: grayscale(100%);
       -moz-filter: grayscale(100%);
        -ms-filter: grayscale(100%);
         -o-filter: grayscale(100%);
            filter: grayscale(100%);
}

.filter-box input.submit {
    padding:10px !important;
}

.filter-box input {
    width:200px !important;
}

#table select#search-filter-scope {
    height:40px;
}
