﻿/*----------------------------------------------------------
The base color for this template is #5c87b2. If you'd like
to use a different color start by replacing all instances of
#5c87b2 with your new color.
----------------------------------------------------------*/
body {
    background-color: #fff;
    font-size: .75em;
    font-family: Verdana, Helvetica, Sans-Serif;
    margin: 0;
    padding: 0;
    color: #696969;
    text-decoration: none;
    text-align: center;
}

a:link {
    color: #034af3;
    text-decoration: underline;
}

a:visited {
    color: #505abc;
}

a:hover {
    color: #1d60ff;
    text-decoration: none;
}

a:active {
    color: #12eb87;
}

.select-link {
    text-align: right !important;
}

p, ul {
    margin-bottom: 20px;
    /*line-height: 1.6em;*/
}

/* HEADINGS   
----------------------------------------------------------*/
h1, h2, h3, h4, h5, h6 {
    font-size: 1.5em;
    color: #000;
    font-family: Arial, Helvetica, sans-serif;
}

h1 {
    font-size: 2em;
    padding-bottom: 0;
    margin-bottom: 0;
}

h2 {
    padding: 0 0 2px 0;
    margin-bottom: 5px;
    text-align: left;
    border-bottom: 2px solid #5C87B2;
}

h3 {
    font-size: 1.2em;
}

h4 {
    font-size: 1.1em;
}

h5, h6 {
    font-size: 1em;
}

.marker {
    color: Red;
}

/* this rule styles <h2> tags that are the 
first child of the left and right table columns */
.rightColumn > h1, .rightColumn > h2, .leftColumn > h1, .leftColumn > h2 {
    margin-top: 0;
}

/* PRIMARY LAYOUT ELEMENTS   
----------------------------------------------------------*/

/* you can specify a greater or lesser percentage for the 
page width. Or, you can specify an exact pixel width. */
#page {
    width: 100%;
    margin: 0px auto;
    min-width: 900px;
}

#header {
    position: relative;
    /*margin-bottom: 0px;
    color: #000;
    padding: 0;*/
    background-color: #66CCFF;
    padding: 0px;
    background: url('./b2b_bg.png') repeat-x top right;
    height: 72px;
    z-index: 5;
}

.logoSa {
    background: url('./logo.png') no-repeat top right;
    position: absolute;
    top: 0px;
    right: 0px;
    z-index: 10;
    width: 535px;
    height: 72px;
}

.leftBgHeader {
    background: url('./banner_left_fix.png') no-repeat top right;
    position: absolute;
    top: 0px;
    left: 159px;
    z-index: 10;
    width: 140px;
    height: 72px;
}


.shadow {
    position: absolute;
    top: 72px;
    left: 0px;
    background: url('./shadow.jpg') repeat-x top left;
    width: 100%;
    height: 14px;
}


#main {
    padding: 10px 30px 0px 30px;
    background-color: #fff;
    margin-bottom: 20px;
    min-height: 400px;
    _height: 1px; /* only IE6 applies CSS properties starting with an underscore */
}

#footer {
    border-top: 2px solid #999;
    margin-top: 10px;
    padding: 10px 0;
    text-align: right;
    line-height: normal;
    font-size: .9em;
    text-align: left;
    /*    background:url('./data3s.gif') no-repeat top right; */
}

.footer {
    text-align: right;
    margin: 10px 30px;
}

/* TAB MENU   
----------------------------------------------------------*/
div#menu-wrap {
    height: 20px;
    position: absolute;
    top: 52px;
    left: 159px;
    z-index: 15;
    background-color: #5C87B2;
}

div#menu {
}

    div#menu ul {
        padding: 0 0 2px;
        /*position: relative;*/
        margin: 0;
        float: left;
        list-style: none;
    }

        div#menu ul li {
            float: left;
            margin: 0px;
            font-weight: bold;
        }

        div#menu ul ul li {
            font-size: 80%;
            font-weight: normal;
            margin: 0px;
            width: 170px;
            background-color: #66CCFF;
            text-align: left;
            border-bottom: 1px solid #fff;
        }

        div#menu ul ul {
            border: none;
        }

    div#menu a {
        display: block;
        margin: 0px;
        padding: 3px 20px;
        text-decoration: none;
        color: #fff;
        white-space: nowrap;
    }

        div#menu a:hover {
            background-color: #5C87B2;
        }

    div#menu li {
        position: relative;
    }

    div#menu ul ul {
        position: absolute;
        left: 0px;
        z-index: 500;
    }

        div#menu ul ul ul {
            position: absolute;
            top: 0;
            left: 100%;
        }

        div#menu ul ul,
        div#menu ul li:hover ul ul,
        div#menu ul ul li:hover ul ul {
            display: none;
        }

            div#menu ul li:hover ul,
            div#menu ul ul li:hover ul,
            div#menu ul ul ul li:hover ul {
                display: block;
            }

    div#menu li {
        behavior: url(/hover.htc); /* Protože IE nedodržuje CSS standarty, aby bylo řešení funkční, použijeme tento *.htc soubor */
    }

/* FORM LAYOUT ELEMENTS   
----------------------------------------------------------*/

fieldset {
    margin: 1em 0;
    padding: 9px;
    border: 1px solid #CCC;
}

    fieldset p {
        margin: 2px 12px 10px 10px;
    }

legend {
    font-size: 1.1em;
    font-weight: 600;
    padding: 2px 4px 8px 4px;
}

input[type="text"] {
    width: 200px;
    border: 1px solid #CCC;
}

input[type="password"] {
    width: 200px;
    border: 1px solid #CCC;
}

input[type="checkbox"] {
    width: 15px !important;
}

*[readonly="readonly"] {
    background-color: rgb(240, 240, 240)
}

input.w60 {
    width: 60px;
}

textarea {
    border: 1px solid #CCC;
}

ol {
    margin-left: 300px;
}

    ol li {
        text-align: left;
    }

img.ui-datepicker-trigger {
    width: 20px;
    height: 20px;
    position: absolute;
    background: no-repeat scroll 0 0 transparent;
}

.buttonArea {
    clear: both;
    margin: 10px;
}

.quickLinks div {
    text-align: left !important;
    padding: 5px;
}

    .quickLinks div span {
        width: 250px;
        float: left;
    }

.deleteSubmitButton {
    border-width: 0px;
    background: url('./icon-delete.png') no-repeat top right;
}

.buttonArea a, button, input[type="submit"], table td a, fieldset a, .paginationRight a, .inputButton {
    color: #5C87B2 !important;
    font-family: Arial, Helvetica, sans-serif;
    font-weight: bold;
    line-height: 18px;
    /*white-space:nowrap;*/
    border: 1px solid #5C87B2 !important;
    background-color: #e8eef4;
    padding: 0px 7px !important;
    margin: 0px 2px !important;
    text-decoration: none !important;
}

table td a {
    display: block;
    margin: 2px !important;
    /* background:url('./icon-detail.png') no-repeat top right; 
        width:30px;
        height:30px;
        display:inline;*/
    background-color: #e8eef4;
}

.detailLink, .deleteLink, .editLink, .branchesLink, .exportTxtLink, .exportCsvLink, .exportXlsLink, .copyLink {
    width: 20px;
    height: 20px;
    float: left;
    margin: 0px !important;
    border: none !important;
}

.copyLink {
    background: url('./icon-copy.png') no-repeat top right;
}

.detailLink {
    background: url('./icon-detail.png') no-repeat top right;
}

.deleteLink {
    background: url('./icon-delete.png') no-repeat top right;
}

.editLink {
    background: url('./icon-edit.png') no-repeat top right;
}

.branchesLink {
    background: url('./icon-branches.png') no-repeat top right;
}

.exportTxtLink {
    background: none;
}

.exportCsvLink {
    background: none;
}

.exportXlsLink {
    background: none;
}

.buttonArea a {
    padding: 2px 7px !important;
}

    .resetPwdLink a, .buttonArea a:hover, button:hover, input[type="submit"], .submitButton:hover, table td a:hover, fieldset a:hover, .paginationRight a:hover {
        background-color: #fff;
    }

table.ui-datepicker-calendar tr td a {
    padding: 1px !important;
    text-align: center !important;
}

.dataTables_filter {
    padding: 3px;
    background-color: #5C87B2;
    text-align: right;
    color: #fff;
}

.productTableHeader {
    float: left;
    height: 94px;
}


.customerTableHeader {
    float: left;
    height: 94px;
}
/* TABLE
----------------------------------------------------------*/

table {
    border: solid 1px #e8eef4;
    border-collapse: collapse;
    margin: 0px auto;
}

    table td {
        padding: 3px;
        border: solid 1px #e8eef4;
        /*white-space:nowrap;*/
        overflow: hidden;
        max-width: 450px;
    }




    table th {
        padding: 6px 5px;
        text-align: left;
        background-color: #5C87B2;
        border: solid 1px #e8eef4;
        color: #fff;
    }

        table th a {
            color: #fff !important;
            white-space: nowrap;
        }

    table tr td input[type="text"] {
        width: 50px;
    }

    table tr:hover {
        background-color: #CCDFFF;
    }

    table tr td.packNotAvailable, table tr td.outOfStock {
        background-color: Red;
        color: Black;
    }

.about {
    position: relative;
    display: table;
}

table.about table tbody, table.about table tr, table.about table tr td {
    border: 0px !important;
}

table.about tr td {
    text-align: left !important;
}

    table.about tr td a {
        border: none !important;
        background-color: #fff !important;
        display: inline;
        padding: 0px !important;
    }

        table.about tr td a:hover {
            text-decoration: underline !important;
        }

.about-top-img {
    position: relative;
    margin: 0px !important;
    padding: 0px !important;
    height: 72px;
    width: 220px;
    background: url("../Content/about.png") no-repeat scroll left top transparent;
}

    .about-top-img div {
        display: inline;
        color: #fff;
        font-size: 20px;
        font-weight: bold;
        position: relative;
        top: 10px;
        padding-left: 10px;
    }

    .about-top-img img {
        position: relative;
        float: right;
        top: 0px;
        right: 5px;
        width: 159px;
        height: 72px;
    }

.label {
    background-color: #EFEFEF;
}
/*.odd {background-color: #CCDFFF;}*/
table.about td.label {
    text-align: right !important;
}

.even {
}

.sorting_1 {
    background-color: #CCDFFF
}

.sorting, .sorting_asc, .sorting_desc {
    text-decoration: underline;
    cursor: pointer;
}

.dataTables_processing {
    background-color: Red;
    width: 100px;
    height: 100px;
}

.dataTables_filter {
    padding-right: 16px;
}

.dataTables_scrollHead {
    background-color: #5C87B2;
}
/* SCROLL TABLE 
--------------------------------------------------

.scrollable 
{
    position: relative;
            height: 400px;
            overflow-y: scroll;
            overflow-x: hidden;
            
    }
    
    #productTable thead tr {
            position:absolute;
            top: 0px;
            display:table!important;
            height:auto!important;
        }
        
 #productTable tbody {
            height:auto!important;
        }
*/
/* GRID
----------------------------------------------------------*/

.grid {
    width: 100%;
}

    .grid th {
        background-color: #5C87B2;
    }

.pagination {
    padding: 20px;
    font-size: 13px;
}

.paginationLeft {
    margin-right: 20px;
}
/* FILTERS
----------------------------------------------------------*/


.form-row {
    padding: 2px;
}

    .form-row label, .form-col label {
        min-width: 80px;
        text-align: right;
        font-weight: bold;
        vertical-align: top;
        padding-right: 2px;
        padding-top: 2px;
        float: left;
    }

    .form-row input {
        width: 100px;
    }

    .form-row select {
        max-width: 400px;
        font-size: 12px;
    }

.applyFilter {
    position: absolute;
    top: 40px;
    right: 160px;
    width: 110px;
}

.form-col {
    position: relative;
    float: left;
    text-align: left;
    font-size: 0.90em;
    min-width: 150px;
    padding-right: 20px;
}

    .form-col span {
        top: 2px;
        position: relative;
    }



#SoldToCompanyName, #BillToCompanyName {
    width: 300px;
}

#ShipTo {
    width: 303px;
}


/* MISC  
----------------------------------------------------------*/
.clear, .cleaner {
    clear: both !important;
}

.red {
    color: Red !important;
}

.error {
    color: Red;
}

.lang {
    margin: 0 auto;
    position: relative;
    border: 0px solid red;
}

    .lang div {
        text-align: center;
        display: inline;
        padding-right: 5px;
    }

    .lang a {
    }

.cell-align-left {
    text-align: left !important
}

.cell-align-right, .content-numeric {
    text-align: right !important
}

.cell-align-middle {
    text-align: center !important
}

.cell-align-left-with-margin {
    text-align: left !important;
    margin-left: 50px;
}

#menu-container {
    margin-top: 40px;
}

div#title {
    display: block;
    float: left;
    text-align: left;
}

/* *******************  LOGIN STYLES *************************** */

#loginScreen {
    background: url('./login.jpg') no-repeat top center;
    width: 559px;
    height: 340px;
    margin: 0px auto;
    position: relative;
    text-align: left;
}

    #loginScreen fieldset {
        border: none;
        padding: 45px 55px;
    }

        #loginScreen fieldset legend {
            display: none;
        }

    #loginScreen label {
        color: #fff;
    }

    #loginScreen input {
        width: 150px;
    }

.loginButton {
    width: 80px !important;
    position: absolute;
    right: 90px;
    top: 48px;
}

#remember {
    width: 390px;
}

    #remember label {
        clear: right;
        display: block;
        float: left;
        padding-left: 140px;
        width: 150px;
    }

    #remember input {
        width: 20px;
        float: left;
    }

.resetPwdLink {
    position: absolute;
    right: 80px;
    top: 150px;
    color: #111988;
    font-weight: bold;
}


#login-bar {
    font-size: 1.1em;
    display: block;
    text-align: right;
    margin: 10px;
    color: White;
    z-index: 20;
    position: absolute;
    top: -8px;
    right: 420px;
}

    #login-bar a:link {
        color: white;
        text-decoration: underline;
    }

    #login-bar a:visited {
        color: white;
        text-decoration: underline;
    }

    #login-bar a:hover {
        color: white;
        text-decoration: none;
    }

/* *******************  LOGIN STYLES *************************** */


/* Styles for validation helpers
-----------------------------------------------------------*/
.field-validation-error {
    color: #ff0000;
}

.field-validation-valid {
    display: none;
}

.input-validation-error {
    border: 1px solid #ff0000;
    background-color: #ffeeee;
}

.validation-summary-errors {
    font-weight: bold;
    color: #ff0000;
}

/* Hlášení systému úplně nahoře v #main (např. kontrola časové zóny pro admina).
   Stín pod horním menu (.shadow) je absolutně pozicovaný přes prvních 14 px
   obsahu, takže první řádek bez vlastního odsazení zakrývá - nadpisy si horní
   margin nesou samy, tohle hlášení ne. */
.systemMessage {
    margin-top: 12px;
    margin-bottom: 12px;
}

.validation-summary-valid {
    display: none;
}

.clearAll {
    clear: both;
}

/* Styles for editor and display helpers
----------------------------------------------------------*/
.display-label,
.display-label-wide,
.editor-label,
.display-field,
.editor-field,
.editor-field-login {
    margin: 4px 0;
}

.editor-label {
    display: block;
    width: 150px;
    float: left;
    font-weight: bold;
    text-align: right;
    padding-right: 5px;
    padding-top: 2px;
}

.editor-field {
    float: left;
    width: 300px;
    text-align: left;
    padding-top: 2px;
}

.editor-field-login {
    float: left;
    width: 200px;
    text-align: left;
    padding-top: 2px;
}

.editor-field-color {
    float: left;
}

.editor-field-color-preview {
    float: left;
    height: 19px;
    width: 19px;
    border: 1px solid;
    float: left;
}

.display-label-wide,
.display-label {
    display: block;
    float: left;
    font-weight: bold;
    text-align: right;
    padding-right: 5px;
}

.display-label {
    width: 140px;
}

.display-label-wide {
    width: 170px;
}

.display-field {
    float: left;
    width: 400px;
    text-align: left;
}

.text-box {
    width: 30em;
}

    .text-box.multi-line {
        height: 6.5em;
    }

.tri-state {
    width: 6em;
}

/* alternate row */

/* Styles for sorting
----------------------------------------------------------*/
.sort_desc {
    background-image: url('./down.png');
    background-position: right;
    background-repeat: no-repeat;
    padding-right: 20px;
}

.sort_asc {
    background-image: url('./up.png');
    background-position: right;
    background-repeat: no-repeat;
    padding-right: 20px;
}
/* Customers mapping table
----------------------------------------------------------*/
div#users-contain {
    width: 550px;
    margin: 0px 0;
}

div#product-contain {
    width: 550px;
    margin: 0px 0;
}

div#users-contain table {
    margin: 1em 0;
    border-collapse: collapse;
    width: 100%;
}

div#product-contain table {
    margin: 1em 0;
    border-collapse: collapse;
    width: 100%;
}

div#users-contain table td, div#users-contain table th {
    border: 1px solid #eee;
    padding: .6em 10px;
    text-align: left;
}

.ui-dialog .ui-state-error {
    padding: .3em;
}

.validateTips {
    border: 1px solid transparent;
    padding: 0.3em;
}

.statusBar {
    padding: 15px;
}

    .statusBar .warning,
    .statusBar .warning a,
    .statusBar .warning a:hover,
    .statusBar .warning a:visited,
    .statusBar .warning a:link {
        color: Red;
    }

div#orderReadyToSend {
    padding-top: 5px;
    color: mediumspringgreen;
    font-weight: 900;
    font-size: 1.1em;
    text-shadow: 0px 0px 6px #228;
}