/* Site layouts:  */
/* Page elements: https://csslayout.io/ */
html, body
{
    font-family: Arial, Helvetica, sans-serif;
    font-size: 14px;
    padding: 0px;
    margin: 0px;
    width: 100%;
    height: 100%;
    color: #4f4f4f;
    background: url(background.png);
}

body
{
    overflow-y: scroll;
}

h1
{
    font-size: 24px;
    padding: 0px 0px 0px 10px;
    margin: 0px 0px 5px 0px;
    background-color: #f5f5f5;
}

h2, h3, h4
{
    font-size: 16px;
    padding: 0px;
    margin: 10px 0px 5px 10px;
}

input[type=text],
input[type=text]:focus,
input[type=text]:disabled
{
    margin: 3px 3px 3px 0px;
    color: #1f1f1f;
    border: #6f6f6f 1px solid;
    background-color: #f6f6f6;
    border-radius: 3px;
    padding: 3px 5px 3px 5px;
    line-height: 12pt;
    box-sizing: border-box;
    -webkit-transition: 0.5s;
    transition: 0.5s;
    outline: none;
}

input[type=text]:focus
{
    border: #f5821f 1px solid;
}

input[type=text]:disabled
{
    border: #bfbfbf 1px solid;
    background-color: #eaeaea;
    color: #8f8f8f;
}

a,
a:visited
{
    color: #187588;
    text-decoration: none;
}

a:hover,
a:active
{
    color: #f5821f;
}

a:hover
{
    cursor: pointer;
}

a.disabled,
a.disabled:visited,
a.disabled:hover,
a.disabled:active
{
    color: #8f8f8f;
    cursor: auto;
}

p
{
    padding: 0px;
    margin: 0px 0px 10px 0px;
    text-indent: 10px;
    line-height: 16px;
}

p.quote
{
    text-indent: 0px;
    max-width: 400px;
    margin-left: 10px;
    padding-left: 10px;
    color: #202020;
    color: #848484;
    border-left: #c4c4c4 3px solid;
}

p.quote-footer
{
    margin-top: -5px;
    margin-left: 13px;
    font-style: italic;
}

p.hidden
{
    display: none;
}

p.inline
{
    display: inline;
}

span.red
{
    font-weight: bold;
    color: red;
}

input#contractId
{
    width: 70px;
}

div.contract
{
    margin: 10px;
}

div.layout
{
    max-width: 700px;
    min-height: 100%;
    padding: 0px;
    margin: 0 auto;
    display: flex;
    flex-direction: column;
}

div.border-top
{
    height: 3px;
    background-color: #39bdd7;
    border-bottom-left-radius: 3px;
    border-bottom-right-radius: 3px;
}

div.header
{
    margin-bottom: 5px;
}

div.header-warning
{
    margin: 5px;
    padding: 10px;
    font-size: 12pt;
    color: black;
    background-color: #e0e0e0;
}

div.header-logo,
div.header-content
{
    margin: 10px 15px 5px 10px;
    float: left;
}

div.header-logo
{
    width: 140px;
    height: 160px;
    margin-right: 10px;
}

div.header-logo img
{
    border: none;
    width: 140px;
    height: 160px;
}

div.link-header,
div.link-header-special
{
    margin-bottom: 5px;
}

div.header-content div.section
{
    font-weight: bold;
    margin-bottom: 5px;
}

div.header-content div.section-inline
{
    font-weight: bold;
    margin-top: 25px;
    margin-bottom: 5px;
}

div.header-content div.contact
{
    margin-top: 5px;
    background-color: #fafafa;
    padding: 3px 5px 3px 5px;
}

div.header-content div.orange,
div.header-content div.black,
div.header-content div.blue,
div.header-content div.red
{
    color: white;
    font-weight: bold;
}

div.header-content div.orange
{
    background-color: #ef7533;
}

div.header-content div.black
{
    background-color: #081111;
}

div.header-content div.blue
{
    background-color: #00b3cc;
}

div.header-content div.red
{
    background-color: #ff0000;
}

div.header-text
{
    margin: 5px 5px 0px 5px;
}

div.body
{
    margin: 5px;
    flex-grow: 1;
}

div.footer
{
    font-weight: bold;
    color: white;
    text-align: center;
    padding: 3px;
    background-color: #39bdd7;
    border-top-left-radius: 3px;
    border-top-right-radius: 3px;
}

div.under-construction
{
    text-transform: uppercase;
    font-size: 14pt;
    font-weight: bold;
    color: red;
}

span#contractMessage.regular
{
    color: #4f4f4f;
}

span#contractMessage.green
{
    color: green;
}

span#contractMessage.red
{
    color: red;
}

div.grid
{
    display: table;
    border-spacing: 2px;
    border-collapse: separate;
}

div.grid div.row-header
{
    display: table-row;
}

div.grid div.row-header div.cell
{
    text-align: center;
    display: table-cell;
    padding: 4px;
    color: #fdfdfd;
    background-color: #afafaf;
}

div.grid div.row-header div.tariff-name
{
    min-width: 270px;
}

div.grid div.row-header div.tariff-price
{
    min-width: 110px;
}

div.grid div.row
{
    display: table-row;
    background-color: #e8e8e8;
    cursor: pointer;
}

div.grid div.row div.cell
{
    display: table-cell;
    padding: 4px;
    text-overflow: ellipsis;
    overflow: hidden;
    white-space: nowrap;
}

div#paymentDetails
{
    font-size: 12px;
}

div#paymentDetails div.row div.cell input
{
    font-size: 12px;
    width: 215px;
}

input#paymentDetailsExample
{
    font-size: 12px;
    width: 370px;
}

span.new {
    color: red;
}
