/* ============================================================
   Layout: center the content area and prevent float escape into footer
   master.css sets .col-960 { float:left; width:940px } which causes
   the content to overlap the footer. Override here as canopy.css
   loads last.
   ============================================================ */

.canopy-content-wrapper {
    overflow: hidden; /* establish BFC to contain child floats */
    width: 100%;
    padding: 2rem 1rem;
    box-sizing: border-box;
}

.canopy-content-wrapper > .col-960 {
    float: none !important;
    width: auto !important;
    max-width: 960px;
    margin-left: auto !important;
    margin-right: auto !important;
    display: block !important;
}

/* ============================================================
   Font restoration: style.css sets bare element selectors
   (body, h1-h4, p, label, input etc.) with Spectral / Instrument Sans
   which override master.css's Georgia / Arial inside the canopy content.
   Restore master.css fonts here so the canopy area is self-consistent.
   ============================================================ */

.canopy-content-wrapper,
.canopy-content-wrapper p,
.canopy-content-wrapper li,
.canopy-content-wrapper label,
.canopy-content-wrapper td,
.canopy-content-wrapper th,
.canopy-content-wrapper input,
.canopy-content-wrapper select,
.canopy-content-wrapper textarea,
.canopy-content-wrapper a {
    font-family: Arial, Helvetica, sans-serif;
    font-size: 12px;
    color: #464646;
}

.canopy-content-wrapper h1,
.canopy-content-wrapper h2,
.canopy-content-wrapper h3,
.canopy-content-wrapper h4,
.canopy-content-wrapper h5,
.canopy-content-wrapper h6 {
    font-family: Georgia, serif;
    font-size: revert;
    font-weight: revert;
    line-height: revert;
    color: #464646;
}

/* Register / Log in buttons: restore master.css teal a.button style */
.canopy-content-wrapper a.button {
    display: inline-block;
    float: none;
    background-color: #4D9497;
    border: 0;
    border-radius: 3px;
    box-shadow: 0 8px 6px -7px rgba(0, 0, 0, 0.25);
    color: #FFF !important;
    font-family: Arial, Helvetica, sans-serif;
    font-size: 12px;
    padding: 10px 20px;
    text-shadow: 0 1px 1px rgba(0,0,0,0.5);
    text-decoration: none !important;
}

/* Login form card */
.canopy-content-wrapper #login-form {
    background: #FFF;
    box-shadow: 0 0 8px #999;
    padding: 20px;
    border-radius: 3px;
    margin: 20px 0 15px 0;
}

/* Field labels */
.canopy-content-wrapper #login-panel .field label {
    float: left;
    font-family: Arial, Helvetica, sans-serif;
    font-size: 12px;
    font-weight: bold;
    color: #464646;
    padding-top: 10px;
    width: 80px;
}

/* Text/password inputs: teal left-border accent */
.canopy-content-wrapper #login-panel .field input[type="text"],
.canopy-content-wrapper #login-panel .field input[type="password"] {
    background: #F4F4F4;
    border: 0;
    border-left: 5px solid #4D9497;
    border-radius: 0;
    box-shadow: none;
    padding: 10px;
    width: 290px;
    font-family: Arial, Helvetica, sans-serif;
    font-size: 12px;
    color: #464646;
}

/* Language flag row */
.canopy-content-wrapper #login-panel .field p.choose-lang {
    border: 0;
    border-left: 5px solid #4D9497;
    float: left;
    padding: 5px 10px;
    width: 290px;
    margin: 0;
}

/* Log in button */
.canopy-content-wrapper #login-panel .submission input[type="button"] {
    background-color: #4D9497;
    border: 0;
    border-radius: 3px;
    box-shadow: 0 8px 6px -7px rgba(0, 0, 0, 0.25);
    color: #FFF;
    float: left;
    font-family: Arial, Helvetica, sans-serif;
    font-size: 12px;
    padding: 10px 20px;
    text-shadow: 0 1px 1px rgba(0,0,0,0.5);
    cursor: pointer;
}

/* Forgotten Password link — float right, same row as Log in button */
.canopy-content-wrapper #login-panel .submission {
    overflow: hidden;
    width: 100%;
}

.canopy-content-wrapper #login-panel .submission p {
    float: right;
    padding-top: 11px;
    margin: 0;
}

.canopy-content-wrapper #login-panel .submission p a {
    color: #4D9497;
    font-size: 12px;
}

/* ============================================================ */

#company_logo_img {
    max-width: 250px;
    max-height: 160px;
    cursor: pointer;
}

#main_submit:disabled {
    background: #88cdd0 !important;
    cursor: default !important;
}

.disabled {
    background: #88cdd0 !important;
    cursor: default !important;
}

#deactivate:disabled {
    background: #88cdd0 !important;
    cursor: default !important;
}

#deactivate-orders:disabled {
    background: #88cdd0 !important;
    cursor: default !important;
}

#select_acc_header {
    border-top: 1px solid #bfbfbf;
    margin-top: 70px;
    padding-top: 10px;
}

#forgotten_acc {
    line-height: 18px;
}

#div_ctp_calculation {
    width: 360px;
    font-weight: bold;
    margin-left: 230px;
}

#div_ctp_calculation span {
    width: 50%;
    font-weight: normal;
    display: inline-block;
    padding: 3px 1%;
    float: none;
}

#div_ctp_calculation span:nth-child(even) {
    width: 68%;
}

#div_ctp_calculation span:nth-child(odd) {
    width: 28%;
    font-weight:
}

#div_ctp_calculation p {
    margin-bottom: 0;
    background: #c8d6e5;
    padding: 3px 1%;
    font-weight: normal;
}

#div_ctp_calculation span:nth-child(4n+4),
#div_ctp_calculation span:nth-child(4n+5) {
    background: #c8d6e5;
}

.sub-header {
    width: 70%;
    padding-left: 80px;
}

.sub-header h2 {
    font-size: 15px;
    /* font-weight: 200 !important; */
}

.txt-bold {
    font-weight: bold !important;
}