﻿html {
    /*background-color: #e2e2e2;*/
    margin: 0;
    padding: 0;
    height: 100%;
}

body {
    /*border-top: solid 10px #000;*/
    color: #333;
    font-size: .85em;
    /*font-family: "Segoe UI", Verdana, Helvetica, Sans-Serif; */
    font-family: "Lucida Grande","Lucida Sans Unicode","Arial","Helvetica","sans-serif";
    margin: 0;
    height: 100% !important;
    /*width: 100vw !important;*/
    padding: 0;
    display: flex;
    flex-direction: column;
}

#body {

    clear: both;
    min-height: 600px;
    top: auto;
    /*margin-right: 471px;*/
  width: 100% !important;
padding-left: 25px;
padding-right: 25px;
box-sizing: border-box;

}


#PageContainer {
    width: 1094px;
}

#MainContainer{
    flex: 1;
}


#MaxWidthContainer1065px {
    max-width: 100% !important;
    flex: 1;
    max-height: fit-content;
}

#NavLinks {
    width: 243px;
    *float: none !important;
}

#HeaderBar {
    width: 100%;
    height: 110px;
    /*background-image: url(/Images/Buttons/headingbg2.png);
    background-repeat: repeat-x;*/
}

.ThemedBorder {
}

a {
    color: #333;
    outline: none;
    padding-left: 3px;
    padding-right: 3px;
    text-decoration: underline;
}

    a:link, a:visited,
    a:active, a:hover {
        color: #333;
    }

    a:hover {
        background-color: #c7d1d6;
    }

header, footer, hgroup,
nav, section {
    display: block;
    /*height: 1px;*/
}


h1, h2, h3,
h4, h5, h6 {
    color: #000;
    margin-bottom: 0;
    padding-bottom: 0;
}

h1 {
    font-size: 2em;
}

h2 {
    font-size: 1.75em;
}

h3 {
    font-size: 1.2em;
}

h4 {
    font-size: 1.1em;
}

h5, h6 {
    font-size: 1em;
}

    h5 a:link, h5 a:visited, h5 a:active {
        padding: 0;
        text-decoration: none;
    }

/* main layout
----------------------------------------------------------*/
.content-wrapper {
    margin: 0 auto;
    /* max-width: 960px;*/
    max-width: 500px;
    width: 500px;
    height: 1px;
}

.main-content {
    background: url("/Images/accent.png") no-repeat;
    padding-left: 10px;
    padding-top: 30px;
    height: 0px;
}

.featured + .main-content {
    background: url("/Images/heroAccent.png") no-repeat;
}

header .content-wrapper {
    padding-top: 20px;
    height: 0px;
}

footer {
    background-color: #e2e2e2;
    /*background: #004C6C;
    color: #99D7F6;*/
    font-size: .8em;
    min-height: 399px;
    width: 100%;
    margin-right: 469px;
    /*padding-left: 10px;
    padding-top: 5px;*/
    margin-top: 20px;
    clear: both;


    background: url("/Images_OPAL/OpalWebsiteHeader.png");
    background-repeat: no-repeat; /* stop tiling */
    background-position: center center; /* center it */
    background-size: cover;
}


    footer p {
        display: inline-block;
        margin-left: 10px;
        margin-top: 10px;
    }

/* site title
----------------------------------------------------------*/
#SiteTitle {
    /*color: #c8c8c8;*/
    font-family: Rockwell, Consolas, "Courier New", Courier, monospace;
    font-size: 2.3em;
}

    #SiteTitle a, #SiteTitle a:hover, #SiteTitle a:active {
        background: none;
        /* color: #c8c8c8;*/
        outline: none;
        text-decoration: none;
    }


#NavLinks {
    margin-top: 10px;
    margin-left: 15px;
}

.ThemedBorder {
    border: 1px solid #000;
    border-radius: 10px;

        /*border: 1px solid #0099E9;*/
    }

#LoginFormContainer {
    width: 550px;
    min-height: 200px;
    padding: 25px 0 10px 20px;
}

    #LoginFormContainer tr:last-child td {
        padding: 20px 0 0px 0;
    }

#TermsContainer {
    width: 500px;
    margin: 0 0 0 15px;
}

/* page elements
----------------------------------------------------------*/
/* featured */
.featured {
    background-color: #fff;
}

    .featured .content-wrapper {
        background-color: #7ac0da;
        background-image: -ms-linear-gradient(left, #7ac0da 0%, #a4d4e6 100%);
        background-image: -o-linear-gradient(left, #7ac0da 0%, #a4d4e6 100%);
        background-image: -webkit-gradient(linear, left top, right top, color-stop(0, #7ac0da), color-stop(1, #a4d4e6));
        background-image: -webkit-linear-gradient(left, #7ac0da 0%, #a4d4e6 100%);
        background-image: linear-gradient(left, #7ac0da 0%, #a4d4e6 100%);
        color: #3e5667;
        padding: 20px 40px 30px 40px;
    }

    .featured hgroup.title h1, .featured hgroup.title h2 {
        color: #fff;
    }

    .featured p {
        font-size: 1.1em;
    }

/* page titles */
hgroup.title {
    margin-bottom: 10px;
}

    hgroup.title h1, hgroup.title h2 {
        display: inline;
    }

    hgroup.title h2 {
        font-weight: normal;
        margin-left: 3px;
    }

/* features */
section.feature {
    width: 300px;
    float: left;
    padding: 10px;
}

.ButtonTab {
    margin: 0;
}

.Readings {
    border-style: None;
    /*width: 724px;*/
    border-collapse: collapse;
    height: 333px;
    border-bottom-style: solid;
    border-bottom-color: inherit;
    border-bottom-width: medium;
}

.ReadingsContainer {
    /*width: 778px;*/
    height: 362px;
}

.DateTextBox, .Width100px {
    width: 100px;
}

.DateTextBox {
    font-size: 1em;
}

.ContactsListContainer {
    height: 130px;
    /*width: 760px;*/
    border: 1px solid black;
    overflow: auto;
    margin-top: 5px;
}

.InvoicesContainer {
    min-height: 445px;
}

.StandardTextBox, .StandardTextField, .StandardTextBox100px {
    border: 1px solid #e2e2e2;
    background: #fff;
    color: #333;
    font-size: 1em;
    margin: 5px 0 6px 0;
    padding: 5px;
}

.StandardTextBox {
    width: 300px;
}

.StandardTextBox100px {
    width: 100px;
}

.MainPanel {
    background-color: #EEEEEE;
    -moz-border-radius: 15px;
    border-radius: 15px;
    margin-top: 10px;
}

.ContractLabel {
    display: inline-block;
    font-size: small;
    overflow-y: scroll;
    height: 350px;
    width: 335px;
}

.LabelHeading {
    font-weight: bold;
    white-space: nowrap;
}

#TabButtonPanel {
    clear: both;
    width: 100%;
}

#InvoiceSiteFilter {
    overflow-y: auto;
}

#pnlCons_AdditionalControls {
    width: 235px;
}

#PnlChart {
    /*margin: 0;
    padding: 0;*/
}

    #PnlChart img {
        /*width: 75% !important;*/
        /*width: 50% !important;*/
    }

#pnlCons_AdditionalControls_VisibilityButton {
    margin: 50% 0;
    padding: 0;
    /*float:left;*/
    height: 16px;
    width: 16px;
    /*border: 1px solid blue;*/
}

#pnlCons_AdditionalControls p {
    padding: 5px;
    margin: 0;
}

#pnlConsumptionGraphAdditionalSettings_Button {
    text-decoration: underline;
}

    #pnlConsumptionGraphAdditionalSettings_Button:hover {
        cursor: pointer;
    }

span.BlockLabel {
    display: block;
}

#Imglogomini {
    border-right: 1px solid white;
    border-bottom: 1px solid white;
    margin-top: 10px;
    margin-left: 15px;
}

#MainControlsTable td {
    padding: 0 5px 0 0;
}

    #MainControlsTable td:nth-child(1) {
        width: 100px;
    }

    #MainControlsTable td:nth-child(2) {
        width: 350px;
    }

    #MainControlsTable td:nth-child(3) {
        width: 100px;
    }

    #MainControlsTable td:nth-child(4) {
        width: 350px;
    }

#grdContacts tr td {
    max-width: 500px;
}

    #grdContacts tr td:first-child {
        width: 10px;
    }

.VerticalScroll {
    overflow-y: scroll;
}

#LoggedInBox
{
    float:right;
}