/* --------------------------------------------------------------

   main.css
   * Default CSS.

-------------------------------------------------------------- */


/**
    Main page structure
 */
body {
    overflow: hidden;
}
 


#sidebar {
    position: absolute;
    width: 250px;
    top: 79px;
    bottom: 0px;
}
#sidebar.normal {
    left: 0px;
}
#sidebar.hidden {
    left: -300px;
}

#mainContent {
    position: absolute;
    top: 130px;
    right: 0px;
    bottom: 0px;
    overflow: auto;
    padding: 10px;
}
#mainContent.normal {
    left: 260px;
}

#mainContent.fullScreen {
    left: 65px;
}

#menuHeader {
    position: absolute;
    top: 0px;
    right: 0px;
    left: 0px;
}

#logout {
    position: absolute;
    top: 10px;
    right: 10px;
}

#logout a {
    color: #999;
    text-decoration: none;
    font-size: 13px;
    font-weight: 600;
}

#logo {
    background-color: #39c;
    color: white;
    font-size: 2em;
    height: 50px;
    line-height: 50px;
    vertical-align: middle;
    padding: 5px 15px;
    font-family: 'aller', inherit;
    font-weight: 600;
    border-bottom: 1px solid #59656C;
}
 

#mainMenu {
    position: absolute;
    top: 61px;
    bottom: 0px;
    left: 0px;
    right: 0px;
    overflow: auto;
    margin-bottom: -1px;
    background-color: #f4f4f4;
}

/**
  General elements
*/
body,
input,
textarea,
button {
    font-family: 'aller';
    font-size: 100%;
    color: #59656C;
}

h1 {
    font-size: 2em;
    font-family: 'aller';
    font-weight: 100;
    margin-bottom: 1em;
}

/**
    Forms
 */
input[type='text'],
input[type='password'],
textarea {
    box-shadow:0px 1px 2px 0px #d9d9d9 inset;
    -moz-box-shadow:0px 1px 2px 0px #d9d9d9 inset;
    -webkit-box-shadow:0px 1px 2px 0px #d9d9d9 inset;

    border: 1px solid #d9d9d9;
    width: 250px;
}

input,
button,
textarea {
    border-radius: 3px;
    -webkit-border-radius: 3px;
    -moz-border-radius: 3px;
    margin: 0px;
}

select {
    margin: 0px;
}

input[type=checkbox] {
    border: none;
}

input[type=button],
input[type=submit],
button {
    background-color: #39c;
    color: white;

    border: none;
    padding: 2px 20px;
}

 

input[type=button].inputHelp,
input[type=submit].inputHelp,
input[type=button].tableEdit,
button.inputHelp {
    color: #39c;
    background-color: #d9d9d9;
    width: 185px;
}

input:active[type=button].inputHelp,
input:active[type=submit].inputHelp,
input:active[type=button].tableEdit,
button:active.inputHelp,
input:active[type=button],
input:active[type=submit]:active,
button:active {
     background-color: #39e;  
}



form table td {
    padding: 3px;
    padding-left:  0px;
}

form table td table td {
    padding-left: 0px;
    padding-right: 0px;
}

form table td.default {
    width: 250px;
}

form table td:nth-child(2) {
    padding-left: 10px;
}

td[valign=top] {
    vertical-align: top;
    padding-top: 6px;
}

#mainContent h1 {
    color: #39c;
}

#mainContent h2 {
    font-size: 1.3em;
    color: #5f5f5f;
    margin: 10px 0;
}

#mainContent.applet {
    padding: 0px;
}

#mainContent.fullScreen.ieApplet {
    padding-left: 10px;
}

.filtering td {
    vertical-align: middle;
}
.filtering input[type=text] {
    width: 60px;
}

.filtering td.default {
    padding-left: 5px;
    white-space: nowrap;
    width: auto;
    min-width: 0;
}
.filtering td.default:first-of-type {
    padding-left: 0px;
}

table.newCategory {
    margin-top: 10px;
}

thead .datalink {
    font-family: 'aller', inherit;
    font-weight: 600;
}

thead td.buttons {
    text-align: right;
}

input[type=button].tableEdit {
    margin-right: 5px;
    width: auto;
    min-width: 0;
}

table.wideLabel td.default {
    min-width: 340px;
}

nav {
    margin: 40px 75px;
    padding-top: 0px;
    color: #999;
    font-size: 18px;
    font-weight: 100;
}

nav h1 {
    display: inline;
    font-weight: 100;
    font-size: 50px;
    color: #39c;
}

nav ul,
nav ul li {
    display: inline;
}

nav a {
    text-decoration: none;
    color: #d9d9d9;
    padding: 0px 0px 0px 40px;
    font-size: 16px;
}

nav a:hover,
nav li.active a {
    color: #39c;
}










.fw {
	color: #999;
	font-size: 18px;
	font-weight: 100;
}

.fwb {
	font-size: 14px;
}

.disable {
	opacity: 0.5;
	color: grey;
	pointer-events: none;
}

.div-table {
	display: table;
	width: auto;
	/*	background-color: #eee; */
	/*border: 1px solid #666666; */
	border-spacing: 5px; /* cellspacing:poor IE support for  this */
}

.div-table-row {
	display: table-row;
	width: auto;
	clear: both;
}

.div-table-col {
	float: left; /* fix for  buggy browsers */
	display: table-column;
	width: 200px;
	/* background-color: #ccc;*/
}

.parent {
	position: relative;
	width: 100%;
}

.right {
	position: absolute;
	width: 200px;
	height: 200px;
	background: red;
	top: 0;
	right: 0;
}

/* DivTable.com */
.divTable {
	display: table;
	width: 100%;
}

.divTableRow {
	display: table-row;
}

.divTableHeading {
	background-color: #EEE;
	display: table-header-group;
}

.divTableCell, .divTableHead {
	display: table-cell;
	padding: 3px 10px;
	border: 1px solid #666666;
}

.divTableHeading {
	background-color: #EEE;
	display: table-header-group;
	font-weight: bold;
}

.divTableFoot {
	background-color: #EEE;
	display: table-footer-group;
	font-weight: bold;
}

.divTableBody {
	display: table-row-group;
}



 [data-tip] {
	position:relative;

}
[data-tip]:before {
	content:'';
	/* hides the tooltip when not hovered */
	display:none;
	content:'';
	display:none;
	border-left: 5px solid transparent;
	border-right: 5px solid transparent;
	border-bottom: 5px solid #1a1a1a;
	position:absolute;
	top:30px;
	left:35px;
	z-index:8;
	font-size:0;
	line-height:0;
	width:0;
	height:0;
	position:absolute;
	top:30px;
	left:35px;
	z-index:8;
	font-size:0;
	line-height:0;
	width:0;
	height:0;
}
[data-tip]:after {
	display:none;
	content:attr(data-tip);
	position:absolute;
	top:35px;
	left:0px;
	padding:5px 8px;
	background:#1a1a1a;
	color:#fff;
	z-index:9;
	font-size: 0.75em;
	height:18px;
	line-height:18px;
	-webkit-border-radius: 3px;
	-moz-border-radius: 3px;
	border-radius: 3px;
	white-space:nowrap;
	word-wrap:normal;
}
[data-tip]:hover:before,
[data-tip]:hover:after {
	display:block;
}