﻿/* 

    Copyright (c) 2009, Andrea Franz - (http://gravityblast.com)
    https://github.com/pilu/web-app-theme

*/
*
{
    margin: 0;
    padding: 0;
}
.clear
{
    clear: both;
    height: 0;
}

.wat-cf:after
{
    content: ".";
    display: block;
    height: 0;
    clear: both;
    visibility: hidden;
}

.wat-cf
{
    display: inline-block;
}

/* Hides from IE-mac \*/
* html .wat-cf
{
    height: 1%;
}
.wat-cf
{
    display: block;
}
/* End hide from IE-mac */

h1
{
    margin: 15px 0;
    font-size: 22px;
    font-weight: normal;
}
h2
{
    font-size: 22px;
    margin: 15px 0;
    font-weight: normal;
    padding-bottom: 10px;
}
h3
{
    font-size: 18px;
    margin: 10px 0;
    font-weight: normal;
}
h4
{
    font-size: 16px;
    margin: 10px 0;
    font-weight: normal;
}
hr
{
    height: 1px;
    border: 0;
}
p
{
    margin: 15px 0;
}
a img
{
    border: none;
}

body
{
    font-size: 12px;
    font-family: sans-serif;
}

#container
{
    min-width: 960px;
}

#header, #wrapper
{
    padding: 0 20px;
}

#header
{
    position: relative;
    padding-top: 1px;
}

#header h1
{
    margin: 0;
    padding: 10px 0;
    font-size: 26px;
}

#header h1 a:link, #header h1 a:active, #header h1 a:hover, #header h1 a:visited
{
    text-decoration: none;
}

#main
{
    width: 70%;
    float: left;
}

.actions-bar
{
    padding: 10px 1px;
}

.actions-bar .actions
{
    float: left;
}


.actions-bar .pagination
{
    float: right;
    padding: 1px 0;
}

#sidebar
{
    width: 25%;
    float: right;
}

#sidebar h3
{
    padding: 10px 15px;
    margin: 0;
    font-size: 13px;
}

#sidebar .block
{
    margin-bottom: 20px;
    padding-bottom: 10px;
}

#sidebar .block .content
{
    padding: 0 15px;
}

#sidebar ul.navigation li a:link, #sidebar ul.navigation li a:visited
{
    display: block;
    padding: 10px 15px;
}

#sidebar .block .sidebar-block, #sidebar .notice
{
    padding: 10px;
}

#wrapper
{
    padding-top: 20px;
}

#main .block
{
    margin-bottom: 20px;
    padding-top: 1px;
}

#main .block .content .inner
{
    padding: 15px 15px 15px;
}

#main .smallMenuRight
{
    width: 350px;
    float: right;
    margin: 0px;
    padding-top: 0px;
    padding-right: 10px;
}

#main .smallMenuHorizontal
{
    float:right; 
    margin: 0;
}

#main .main p.first
{
    margin-top: 0;
}

#user-navigation
{
    position: absolute;
    top: 0px;
    right: 20px;
}

#main-navigation
{
    width: 100%;
}

#user-navigation ul, #main-navigation ul, .secondary-navigation ul, #sidebar ul.navigation
{
    margin: 0;
    padding: 0;
    list-style-type: none;
}

#user-navigation ul li, #main-navigation ul li, .secondary-navigation ul li
{
    float: left;
}

#main-navigation ul li
{
    margin-right: 5px;
}

#user-navigation ul li
{
    padding: 5px 10px;
}

#main-navigation ul li a:link, #main-navigation ul li a:visited, #main-navigation ul li a:hover, #main-navigation ul li a:active, .secondary-navigation ul li a:link, .secondary-navigation ul li a:visited, .secondary-navigation ul li a:hover, .secondary-navigation ul li a:active, #user-navigation ul li a:link, #user-navigation ul li a:visited, #user-navigation ul li a:hover, #user-navigation ul li a:active
{
    text-decoration: none;
}

#main-navigation ul li a
{
    font-size: 14px;
    line-height: 14px;
    display: block;
    padding: 8px 15px;
}

.secondary-navigation
{
    font-size: 13px;
    border-bottom-width: 10px;
    border-bottom-style: solid;
}

.secondary-navigation ul li a
{
    display: block;
    padding: 10px 15px;
}

#footer
{
    padding-bottom: 20px;
}

/* pagination */

.pagination a, .pagination span, .pagination em
{
    padding: 2px 5px;
    margin-right: 5px;
    display: block;
    float: left;
    border-style: solid;
    border-width: 1px;
}

.pagination em
{
    font-weight: bold;
}

.pagination a
{
    text-decoration: none;
}

/* tables */
.tableDefault
{
    width: 100%;
    border-collapse: collapse;
    margin-bottom: 15px;
    /*border: 1px;*/
}

.tableDefault th
{
    padding: 10px;
    font-weight: bold;
}

.tableDefault th.left
{
    text-align: left;
    font-weight: bold;
}

.tableDefault th.first
{
    font-weight: bold;
}

.tableDefault th.center
{
    text-align: center;
    font-weight: bold;
}

.tableDefault th.right
{
    text-align: right;
    font-weight: bold;
}

.tableDefault th.last
{
    text-align: right;
    font-weight: bold;
    padding-right: 25px;
}

.tableDefault th.editImages
{
    width: 25px;
}

.tableDefault .checkbox
{
    margin-left: 10px;
}

.tableDefault td
{
    padding: 10px;
}

.tableDefault td.last
{
    text-align: right;
    padding-right: 25px;
}

.tableDefault td.left
{
    text-align: left;
}

.tableDefault td.center
{
    text-align: center;
}

.tableDefault td.right
{
    text-align: right;
}


/* forms */

input.checkbox
{
    margin: 0;
    padding: 0;
}

.form .group
{
    margin-bottom: 15px;
}

.form div.left
{
    width: 20%;
    float: left;
}

.form div.right
{
    width: 75%;
    float: right;
}

.form .columns .column
{
    width: 48%;
}

.form .columns .left
{
    float: left;
}

.form .columns .right
{
    float: right;
}

.form label.label, .form input.text_field, .form textarea.text_area
{
    font-size: 1.2em;
    padding: 1px 0;
    margin: 0;
}

.form .width120
{
    width: 220px;
}

.form label.right
{
    text-align: right;
}

.form input.checkbox, .form input.radio
{
    margin-right: 5px;
}

.form label.checkbox, .form label.radio
{
    line-height: 1.5em;
}

.form label.label
{
    display: block;
    padding-bottom: 2px;
    font-weight: bold;
}

.form div.fieldWithErrors label.label
{
    display: inline;
}

.form .fieldWithErrors .error
{
    color: red;
}

.field-validation-error
{
    color: red;
}

.validation-summary-valid {
    display: none;
}

.form input.text_field, .form textarea.text_area
{
    width: 100%;
    border-width: 1px;
    border-style: solid;
}

/* lists */

ul.list
{
    margin: 0;
    padding: 0;
    list-style-type: none;
}

ul.list li
{
    clear: left;
    padding-bottom: 5px;
}

ul.list li .left
{
    float: left;
}

ul.list li .left .avatar
{
    width: 50px;
    height: 50px;
}

ul.list li .item
{
    margin-left: 80px;
}

ul.list li .item .avatar
{
    float: left;
    margin: 0 5px 5px 0;
    width: 30px;
    height: 30px;
}

/* box */

#box
{
    width: 500px;
    margin: 50px auto;
}

#box .block
{
    margin-bottom: 20px;
}

#box .block h2
{
    padding: 10px 15px;
    margin: 0;
}

#box .block .content
{
    padding: 10px 20px;
}

/*  Inspired by http://particletree.com/features/rediscovering-the-button-element */

a.button:link, a.button:visited, a.button:hover, a.button:active, button.button
{
    color: #222;
    display: block;
    float: left;
    margin: 0 7px 0 0;
    background-color: #eee;
    border: 1px solid #bfbfbf;
    font-size: 1em;
    line-height: 1.3em;
    font-weight: bold;
    cursor: pointer;
    padding: 5px 10px 6px 7px;
    text-decoration: none;
}

button.button
{
    width: auto;
    overflow: visible;
    padding: 4px 10px 3px 7px; /* IE6 */
}
button.button[type]
{
    padding: 5px 10px 5px 7px; /* Firefox */
    line-height: 17px; /* Safari */
}

*:first-child + html button.button[type]
{
    padding: 4px 10px 3px 7px; /* IE7 */
}

button.button img, a.button img
{
    margin: 0 3px -3px 0 !important;
    padding: 0;
    border: none;
    width: 16px;
    height: 16px;
}

button.button:hover, a.button:hover
{
    background-color: #dedede;
}

button.button:active, a.button:active
{
    background-color: #e5e5e5;
}
.text_button_padding
{
    color: #222222;
    display: block;
    float: left;
    font-size: 1em;
    line-height: 2em;
    margin: 0 7px 0 0;
    padding: 5px 0 6px 7px;
    text-decoration: none;
}
.link_button
{
    cursor: pointer;
}
/*****************************************************

            Data Tables Styling

*****************************************************/

/*
 * Page setup styles
 */
body {
	margin: 0;
	padding: 0;
}

#container {
	margin: 0 auto;
	width: auto;
}

h1 {
	text-align: center;
	margin: 1em 0;
}


/*
 * DataTables framework
 */
div.dataTables_wrapper {
	background:  #E0E0E0;
}

div.dataTables_length {
	float: left;
}

div.dataTables_filter {
	float: right;
}

div.dataTables_info {
	padding: 9px 6px 6px 6px;
	float: left;
}

div.dataTables_paginate {
	float: right;
}

div.dataTables_length,
div.dataTables_filter,
div.dataTables_paginate {
	padding: 6px;
}

/* Self clearing - http://www.webtoolkit.info/css-clearfix.html */
.dataTables_wrapper:after {
	content: ".";
	display: block;
	clear: both;
	visibility: hidden;
	line-height: 0;
	height: 0;
}
 
html[xmlns] .dataTables_wrapper {
	display: block;
}
 
* html .dataTables_wrapper {
	height: 1%;
}


/*
 * Table styles
 */
table.table {
	width: 100%;
	clear: both;
}


/* Header cells */
table.table thead th {
	text-align: center;	 
}

/* Body cells */
table.table tbody th {
	text-align: left;
}
	
table.table tbody td {
	text-align: center;
}
		
table.table tbody tr.odd td { 
}

/* Footer cells */	
table.table tfoot th {
	text-align: left;
}
	
table.table tfoot td {
	text-align: center;
	font-weight: bold;
}


/*
 * Pagination
 */
span.paginate_button,
span.paginate_active {
	display: inline-block;
	padding: 2px 6px;
	margin-left: 2px;
	cursor: pointer;
	cursor: hand;
	background: url("../images/button-background.png") repeat scroll 0 0 #DDDDDD;
	border: 1px solid #C3C4BA;
    border-radius: 2px 2px 2px 2px;
    margin-right: 5px;
    min-width: 15px;
    padding: 6px;
    text-align: center;
}

span.paginate_active {
	background: none repeat scroll 0 0 #261F1F;
    border: 1px solid #261F1F;
    color: white;
}

span.paginate_button_disabled 
{
     background: url("../images/button-background.png") repeat scroll 0 0 #DDDDDD;
    border: 1px solid #C3C4BA;
    border-radius: 2px 2px 2px 2px;
    color: #111111;
    margin-right: 5px;
    min-width: 15px;
    padding: 6px;
    text-align: center;
}

div.dataTables_paginate span>span {
	 background: url("../images/button-background.png") repeat scroll 0 0 #DDDDDD;
    border: 1px solid #C3C4BA;
    border-radius: 2px 2px 2px 2px;
    color: #111111;
    margin-right: 5px;
    min-width: 15px;
    padding: 6px;
    text-align: center;
}


/*
 * Sorting
 */
table.table thead th.sorting_asc {
	background: #eaeaea url('../images/sort_asc.png') no-repeat right center;
}

table.table thead th.sorting_desc {
	background: #eaeaea url('../images/sort_desc.png') no-repeat right center;
}

table.table thead th.sorting {
	background: #eaeaea url('../images/sort_both.png') no-repeat right center;
}

