
/* For modern browsers */
.clearfix:before,
.clearfix:after {
    content:"";
    display:table;
}
.clearfix:after {
    clear:both;
}
/* For IE 6/7 (trigger hasLayout) */
.clearfix {
    zoom:1;
}

body {
    font: 13px "Share", verdana, arial, sans-serif;
    color: #626262;
    width: 950px;
    margin: 0 auto !important;
    background-image: url('/public/images/');
    background-position: top center;
    background-repeat: no-repeat;
    background-color: rgb(220, 220, 220);
    line-height: 145%;
}

fieldset {
    border: 1px solid #626262;
    padding-bottom: 12px;
    padding-left: 10px;
}

legend {
    padding: 0 3px;
}

.logo {
    position: absolute;
}

#header hr,
#footer hr {
    border: -webkit-linear-gradient(left, lightblue, turquoise, lightblue);
    border: -moz-linear-gradient(left, lightblue, turquoise, lightblue);
    border: -ms-linear-gradient(left, lightblue, turquoise, lightblue);
    border: -o-linear-gradient(left, lightblue, turquoise, lightblue);
    height: 2px;
}

#header,
#footer,
#content {
    width: 910px;
    margin: 0 auto;
    background-color: #fff;
    padding-left: 20px;
    padding-right: 20px;
    position: relative;
}

#content {
    padding-top: 20px;
    padding-bottom: 20px;
}

#footer {
    padding-top: 20px;
    height: 70px;
}

h1, h3 {
    color: #000;
    margin-top: 0px;
    font-weight: normal;
}

.button {
    background-color: RGB(79, 129, 189);
    color: white;
    text-align: right;
    width: 200px;
    display: inline-block;
}

.input {
    border-radius: 5px;
    margin: 6px 0 0 10px;
    border: 1px solid gray;
    text-decoration: none;
    display: inline-block;
    padding-right: 10px;
    width: 188px;
    height: 18px;
}

h3 {
    /*font-size: 11pt;*/
    color: #2eaadc;
    font-size: 18px;
    font-weight: normal !important;
}

h1 {
    color: #44D62C;
    font-size: 18px;
    font-weight: normal !important;
    margin-bottom: 12px;
}

form label {
    display: inline-block;
    width: 165px;
    text-align: right;
}

form input,
form select,
form textarea {
    margin: 4px 0 0 10px;
    border: 1px solid gray;
    border-radius: 5px;
    width: 250px;
}

form input {
    padding-left: .5em;
    padding-right: .5em;
}

form textarea {
    padding: .5em;
}

form input[type=submit]:hover,
.input:hover {
    cursor: pointer;
    background: silver;
}

form input[type=submit] {
    background: RGB(79, 129, 189);
}

form br {clear: left;}

.point {
    margin-top: 20px;
    margin-bottom: 5px;
    margin-left: -50px;
}

.wrapper {
    width: auto;
    overflow: hidden; /* will contain if #first is longer than #second */
}

.first {
    width: auto;
    float:left; /* add this */
    margin-right: 25px;
}

.second {
    overflow: hidden; /* if you don't want #second to wrap below #first */
}

#forgot-pass {
    margin-left: 10px;
}

#languages {
    float: right;
}

#languages a {
    color: white;
    font-size: 1.3em;
    text-decoration: none;
}

#languages a:hover {
    text-decoration: underline;
}

form p {
    margin-top: 0px;
    margin-bottom: 0px;
    display: inline-block;
}

table td input {
    width: auto;
}

#footer #co {
    text-decoration: none;
    color: white;
}

.table-pager {
    text-align: center;
}

.description {
    font-size: 14px;
    font-color: #333;
}

.table-pager a,
.table-pager span {
    background: lightblue;
    margin: 5px;
    border: 1px solid grey;
    color: black;
    padding: 2px;
    text-decoration: none;
    display: inline-block;    
}

.table-pager span.current {
    font-weight: bold;
    background: grey;
}

.highlight {
    background-color: yellow;
}

.sortable-notification {
    display:block;
    width:100%;
    text-align:right;
}

/* prevent internet explorer putting a blue border around images in anchors*/
a img {
    border: 0px;
}

.nospin::-webkit-outer-spin-button,
.nospin::-webkit-inner-spin-button {
    /* display: none; <- Crashes Chrome on hover */
    -webkit-appearance: none;
    margin: 0; /* <-- Apparently some margin are still there even though it's hidden */
}

a.create {
    color: white;
}

.text {
    width: 600px;
    height: 200px;
}

.hey {
    margin-top: 11px;
    text-align: right;
    display: block;
}

.hey a {
    color: #626262;
}

.menu {
    list-style-type: none;
    width: 214px;
    margin-top: 0;
    padding: 0;
}

.menu li {
    margin-bottom: 5px;
    width: 212px;
    min-height: 37px;
}

.menu li a {
    background: #bfbfbf;
    border: 1px solid #777;
    color: #000;
    display: block;
    font-size: 13pt;
    padding-left: 8px;
    padding-top: 8px;
    padding-bottom: 10px;
    text-align: left;
    text-decoration: none;
    width: 205px;
    border-radius: 5px;
    box-shadow: 3px 3px 3px -1px rgba(0, 0, 0, 0.7);
}

.menu li div a {
    margin-left: 30px;
    width: 175px;
    margin-top: 5px;
}

.menu li div a.active {
    background-color: #4F81BD;
}

.menu li div div a {
    margin-left: 60px;
    width: 145px;
}

.menu li div div div a {
    margin-left: 90px;
    width: 115px;
}

.menu li.active>a {
    background-color: #4F81BD;
}

.admin-menu a:hover {
    background: grey;
}

.admin-menu {
    width: 225px;
    display: inline-block;
    float: left;
}

.admin-menu ul {
    margin-left: 0;
}

.admin-content {
    display: inline-block;
    width: 685px;
    float: left;
}

#navigation {
    margin-top: -72px;
    margin-bottom: 30px;
}

#navigation a {
    text-decoration: none;
    color: #333;
    padding: 7px;
    font-size: 13pt;
    font-weight: bold;
    border: 1px solid grey;
    background-color: #bfbfbf;
    display: inline-block;
    border-radius: 5px;
}

#navigation span {
    color: #333;
    padding: 7px;
    font-size: 13pt;
    font-weight: bold;
    border: 1px solid grey;
    background-color: grey;
    display: inline-block;
    border-radius: 5px;
}

#navigation .active {
    background: #4F81BD;
}

.admin-content form label {
    width: 300px;
    float: left;
    margin-top: 3px;
}

.admin-content form input {
    margin-right: 3px;
}

#fiddle {
    width: 382px;
    margin-top: -7px;
    margin-left: -2px;
}

#mail-pdf {
    display: inline-block;
    margin-left: 10px;
    margin-top: 65px;
    width: 505px;
}

#inputs {
    float: left;
    display: inline-block;
    width: 385px;
}

#inputs input,
#inputs select,
#inputs textbox {
    width: 110px;
}

#results {
    display: inline-block;
    width: 525px;
    float: right;
}

#main-nav {
    list-style-type: none;
    padding: 0;
    float: left;
    position: relative;
    text-align: center;
    display: inline-block;
    margin-left: 0;
    margin: 20px 0;
}

#main-nav li {
    margin: 0;
    padding: 0;
    display: inline;
}

#main-nav a {
    text-decoration: none;
    color: #2EAADC;
    font-size: 14px;
    font-weight: normal;
    display: inline-block;
    border-right: 1px solid #2eaadc;
    padding: 0 20px;
}

#loader {
    position: fixed;
    top: 50%;
    left: 50%;
    /* Half the thingies width and height */
    margin-top: -64px;
    margin-left: -64px;
    display: none;
}

#slogan {
    left: 500px;
    top: 85px;
    position: absolute;
}

.noborder {
    border: none;
}

#sqlexc {
    display: inline-block;
    position: absolute;
    left: 50%;
    right: 50%;
    margin: 0 auto 0 -475px;
    width: 730px;
    top: 50px;
    z-index: 1;
}

.start label {
    width: 335px;
}

.start fieldset {
    margin-top: 5px;
    margin-bottom: 5px;
    width: 700px;
    border-radius: 5px;
}

#inputs fieldset {
    border-radius: 5px;
}

.sortable-notification {
    margin-top: 15px;
}

#acp-wrap {
    display: inline-block;
}

/* ie7 center workaround */
#input-form-content {
    width: 730px;
    margin-left: 100px;
    display: inline-block;
}

#index-forms {
    width: 700px;
}

#fiddle form input,
#fiddle form select {
    margin-left: 3px;
}

#visualisation_peaks {
    overflow: hidden;
}

#columns,
#visualisation_peaks {
    width: 500px;
    height: 200px;
}

.pies {
    clear: both;
    width: 500px;
    overflow: hidden;
    height: 150px;
}

#visualisation_from_consumption {
    float: left;
    display: inline-block;
    width: 250px;
    height: 150px;
}

#visualisation_from_production {
    display: inline-block;
    width: 250px;
    height: 150px;
}

.link {
    color: #2EAADC;
    text-decoration: none;
}

#input-form-content input,
#input-form-content select {
    margin-left: 3px;
    margin-right: 3px;
}

.jsonly {
    display: none;
}

#js-warning p {
    text-align: center;
    font-size: 18px;
    width: 848px;
    font-weight: normal;    
    color: #D8000C;
    background-color: #FFBABA;
    border-radius: 5px;
    border: 1px solid;
    margin: 10px 0px;
    padding:15px 10px 15px 50px;
    background-repeat: no-repeat;
    background-position: 10px center;
    border-radius: 5px;
    margin-bottom: 25px;
}

#language-selection {
    display: inline;
    float: right;
    position: relative;
    top: 20px;
}

#language-selection ul {
    list-style: none;
    padding: 0;
}

#language-selection ul li {
    display: inline;
}

#language-selection ul li a {
    text-decoration: none;
    color: inherit;
}

#language-selection ul li.active a {
    text-decoration: underline;
}

p {
    line-height: 20px;
}

.pies *, .columns * {
    font-size: 11px !important;
}

#fiddle label {
    width: 185px;
}

#results .table {
    margin-top: 14px;
}

.login-promo {
    margin-bottom: 30px;
}

.login-title {
    margin-bottom: 50px;
}

em {
    font-style: italic;
}

span.okay {
    font-weight: bold;
    color: green;
}

.pv {
    display: none;
}
