/*
 *
 * Custom CSS definitions that extend and override Twitter Bootstrap CSS
 *
 */

body {
    padding-top: 60px; /* 60px to make the container go all the way to the bottom of the topbar */
    width: auto;
}


.navbar-fixed-top, .navbar-fixed-bottom {
    position: sticky;
    margin-top: -60px;
    margin-bottom: 10px;
    width: auto;
    min-width: 1260px;
}

.navbar-fixed-top .container, .navbar-fixed-bottom .container, .container {
    width: auto;
    min-width: 1060px;
    margin-left: 30px;
    margin-right: 30px;
}


.navbar-fixed-top .container, .navbar-fixed-bottom .container {
    margin-left: 63px;
    margin-right: 10px;
}

select {
    background-color: white;
}

.navbar-inner, .navbar {
    background-color: white;
    background-image: none;
}

.navbar .nav > li > a:hover {
    background-color: #F3F3F3 !important;
}

.navbar .logo {
    float: left;
    display: block;
    padding: 2px 0 2px 0;
    margin-right: 10px;
    margin-left: -15px;
    margin-top: -4px
}

.navbar-search {
    margin-top: 10px;
}

.navbar .search-query {
    height: 16px;
    width: 60px;
}

ul.nav li.dropdown:hover ul.dropdown-menu {
    display: block;
}

.navbar .smallMenu {
    min-width: 70px;
}

.navbar .dropdown-menu {
    margin-top: -1px;
}

.navbar .nav {
    margin-top: 3px;
}

.navbar .nav .active > a {
    font-weight: bold;
}

.navbar .nav .active > a:hover, .navbar .nav .active .dropdown-toggle > a:hover {
    font-weight: bold ! important;
    background-color: #F3F3F3 ! important;
    color: #317EAC ! important;
}

.navbar .nav > li > a {
    text-shadow: #FFFFFF -1px 0 0;
}


.navbar .nav li.dropdown .dropdown-toggle .caret, .navbar .nav li.dropdown.open .caret {
    border-bottom-color: #333333;
    border-top-color: #333333;
}

.navbar #langSwitcher {
    margin: 3px 0 0 2px;
    width: 36px;
}

.navbar #langSwitcher a:hover {
    text-decoration: none;
    filter: alpha(opacity=100);
    -moz-opacity: 1;
    -khtml-opacity: 1;
    opacity: 1;
}


/* Edit Purchase View(s) * /
/**************************/


.purchaseEdit #mainForm .infoText {
    margin: 10px 20px 0 100px;
    color: #666666;
    font-weight: bold;
}

.purchaseEdit .well {
    padding: 5px 0 0 5px;
    min-height: 260px;
}

.purchaseEdit .form-horizontal .control-group {
    margin-bottom: 8px;
}

.pe-10px {
    padding-right: 10px;
}

.purchaseEdit .form-horizontal .control-group .control-group {
    margin-bottom: 0px;
}

.purchaseEdit .form-horizontal .control-label {
    margin-left: 0px;
    padding-left: 0px;
    min-width: 110px;
    width: 23%;
    text-align: left;
}


.purchaseEdit .form-horizontal .controls {
    margin-left: 80px;
    padding-left: 51px;
}

.purchaseEdit .labelPadding .controls {
    padding-left: 25px;
}

.purchaseEdit .controls strong, .purchaseEdit .controls em {
    line-height: 23px;
}

.purchaseEdit .controls .labelAfter {
    padding-left: 10px;
    vertical-align: bottom;
    height: 13px;
    display: inline-block;
    color: #666666;
}

.purchaseEdit .control-group .textAreaReadOnly {
    margin: 5px 3px 0 0;
    color: #000000;
    line-height: 16px;
    background-color: #f6f6f6;
    font-size: 12px;
    padding: 5px 5px;
    border: 1px solid #ccc;
    border: 1px solid rgba(0, 0, 0, .15);
    -webkit-border-radius: 4px;
    -moz-border-radius: 4px;
    border-radius: 4px;
    white-space: pre-line;
    word-wrap: break-word;
}

.purchaseEdit .form-horizontal .nested .control-label {
    margin-left: 24px;
}

.purchaseEdit .form-horizontal .nested .controls {
    margin-left: 49px;
    padding-left: 0px;
}


.purchaseEdit .save {
    width: 150px;
}


.purchaseEdit .formButtons button {
    margin: -15px 0 0 10px;
}

.purchaseEdit #addAttachmentButton {
    width: 110px;
    height: auto;
}


.purchaseEdit .progress {
    margin: 3px 20px 0 0;
}

.purchaseEdit #newShopForm {
    display: inline;
}

.purchaseEdit #newShopForm .well {
    height: 25px;
    margin-right: -10px;
    min-height: 25px;
    padding: 5px 0 5px 5px;
}

.purchaseEdit #attachmentArea {
    clear: both;
}

.purchaseEdit #currentAttachments {
    margin: 10px 10px 0 10px;
}

.purchaseEdit #currentAttachments table {
    margin: 0;
}

.purchaseEdit #currentAttachments table .typeColumn {
    color: #666666;
}

.purchaseEdit #currentAttachments .setVerify {
    margin-top: -2px;
}


.purchaseEdit #attachmentArea #proposeStatusDialog.fade.in {
    top: 55%;
}

.purchaseEdit #attachmentArea #proposeStatusDialog .btn {
    margin-bottom: 10px;
}

.purchaseEdit #shop {
    min-width: 165px;
    width: 72%;
}

.purchaseEdit #shopBlacklistInfo, .redHighlight {
    color: #FF0000;
    font-weight: bold;
}

.purchaseEdit .twoLineMargin {
    margin-top: 9px;
}


.purchaseEdit .twoLineMargin .input-large {
    width: 87%;
}

/* Status Area */
/***************/

#statusArea .statusButtonList .btn {
    font-weight: normal;
}

#statusArea .statusHistoryTable .input-large {
    width: 90%;
}

#statusArea .statusHistoryTable button {
    margin: 5px 0 0 250px;
}

#statusArea .statusCommentForm {
    margin: 0;
}

#statusArea td.clickable {
    cursor: pointer;
}

#statusArea td.clickable:hover {
    background-color: #DDF1FF;
}

#statusArea .helpHolder {
    margin-left: 5px;
    padding: 3px 5px;
}

#statusAreaProgress {
    position: relative;
    z-index: 2;
    top: -5px;
}


#statusArea #buyerEmail, #statusArea #reminderShipping {
    margin: -10px 0px 0 5px;
}

#statusArea .paymentDate {
    margin-top: 5px;
    font-size: 11px;
}

#sendEmailDialog .modal-body {
    min-height: 200px;
}

#sendEmailDialog .form-horizontal .control-label {
    width: 120px;
    padding-top: 0px;
}

#sendEmailDialog .form-horizontal .control-group {
    margin-bottom: 10px;
}

#sendEmailDialog .form-horizontal .wide {
    width: 400px ! important;
    text-align: left ! important;
}

#sendEmailDialog .form-horizontal .controls {
    margin-left: 140px;
}

#sendEmailDialog select {
    width: 350px;
}

#sendEmailDialog .well {
    margin-bottom: 10px;
}

#sendEmailDialog .modal-footer {
    padding: 7px 15px;
}


#sendEmailDialog #template textarea {
    font-family: monospace;
    width: 500px;
    height: 360px;
    margin-bottom: 10px;
}

#sendEmailDialog #template input {
    width: 500px;
    margin-bottom: 3px;
}

#sendEmailDialog .emailAttachments table {
    margin-bottom: 0;
}


#sendEmailDialog .emailAttachments input[type="checkbox"] {
    margin-top: -2px;
}


/* Login  * /
/**********/

#login {
    width: 1000px;
    margin: 20px auto;
    text-align: center;
}

#login .control-group {
    margin-left: -25px;
}

#login .controls.switchedLabel {
    margin-top: 8px;
}

#login button[type="submit"] {
    width: 218px;
    margin-top: 10px;
}

/* List Purchases  * /
/********************/

.filter .well {
    padding: 8px 0 0 0;
    margin-left: 0px;
}

.filter .well .span4 {
    margin-left: 11px;
}

.filter .form-horizontal .control-group {
    margin-bottom: 6px;
}

.filter .form-horizontal .control-label {
    margin-left: 0px;
    padding-left: 0px;
    width: auto;
}


.filter .form-horizontal .controls {
    margin-left: 80px;
}

.filter .checkbox input[type="checkbox"] {
    margin-top: 0px;
}

#statMessageAlert {
    margin-top: -6px;
    color: #A9813C;
}

#purchaseTable input[type="checkbox"] {
    margin: 0;
}

#purchaseTable td.noclick, #purchaseTable th.noclick {
    text-align: right;
    padding-right: 15px;
}

#purchaseTable .numberColumn {
    float: right;
    margin-right: 20px;
}

/* Dashboard  */
/**************/

#dashboard .row, #dashboard .row-fluid {
    margin-bottom: 28px;
}

#dashboard .table tbody tr:hover td, .table tbody tr:hover th {
    background-color: transparent;
}

#dashboard h3 {
    font-size: 16px;
    padding-bottom: 5px;
}

#dashboard .snippet {
    background-color: #F3F3F3;
}

#dashboard .snippet .expandLink {
    margin-top: -10px;
    padding: 1px 0 5px 5px;
}

#dashboard .snippet .expandLink a {
    font-weight: bold;
    font-size: 13px;
}

/* My Account */
/**************/

.myDataEdit .well {
    margin-right: -10px;
}

.myDataEdit .form-horizontal .control-group {
    margin-bottom: 8px;
}

.myDataEdit .form-horizontal .control-label {
    margin-left: 0px;
    padding-left: 0px;
    width: auto;
}

.myDataEdit .form-horizontal .controls {
    margin-left: 80px;
    padding-left: 30px;
}

.myDataEdit .formButtons button {
    margin: -15px 0 0 10px;
}

.myDataEdit .controls strong {
    line-height: 25px;
}

.myDataEdit .save {
    width: 150px;
}

.myDataEdit .formButtons {
    width: 380px;
}

/*******************************************************/

/* SubMenues for Navigation * /
/*****************************/

.dropdown-menu .sub-menu {
    left: 100%;
    position: absolute;
    top: 0;
    visibility: hidden;
    margin-top: -1px;
}

.dropdown-menu li:hover .sub-menu {
    visibility: visible;
    display: block;
}

.dropdown-menu li {
    position: relative;
}

.navbar .sub-menu:before {
    border-bottom: 7px solid transparent;
    border-left: none;
    border-right: 7px solid rgba(0, 0, 0, 0.2);
    border-top: 7px solid transparent;
    left: -7px;
    top: 10px;
}

.navbar .sub-menu:after {
    border-top: 6px solid transparent;
    border-left: none;
    border-right: 6px solid #fff;
    border-bottom: 6px solid transparent;
    left: 10px;
    top: 11px;
    left: -6px;
}


/* GENERAL STUFF * /
/*****************/


/* Can't be changed in bootstrap's variable.less.  TODO  Could be changed in forms.less later on */
select,
input[type="file"] {
    height: 25px; /* In IE7, the height of the select element cannot be changed by height, only font-size */
    *margin-top: 4px; /* For IE7, add top margin to align select with labels */
    line-height: 25px;
}


.table-hover tbody tr:hover td, .table-hover tbody tr:hover th {
    background-color: #F7B32C;
    cursor: pointer;
}

.pagination .space a {
    color: #999999;
    cursor: default;
}

.pagination {
    margin: 0 0 10px 0;
}

.formInputPlaceholder {
    font-style: italic;
    margin-top: 7px;
}

.tooltip-inner {
    background-color: #FEFEFE;
    color: #555555;
    border: 1px solid #555555;
    max-width: 500px;
}

.tooltip.in {
    opacity: 1;
    filter: alpha(opacity=100)
}

input::-webkit-input-placeholder {
    color: #bbbbbb ! important;
}

input:-moz-placeholder {
    color: #bbbbbb ! important;
}

input:-ms-input-placeholder {
    color: #bbbbbb ! important;
}

.progress-striped .bar {
    background-color: #999999;
}

#sendingStatus .progress-striped .bar {
    background-color: #5eb95e;
}

.opac25 {
    -ms-filter: "progid:DXImageTransform.Microsoft.Alpha(Opacity=25)";
    filter: alpha(opacity=25);
    -moz-opacity: 0.25;
    -khtml-opacity: 0.25;
    opacity: 0.25;
}

.opac50 {
    filter: alpha(opacity=50);
    -moz-opacity: 0.50;
    -khtml-opacity: 0.50;
    opacity: 0.50;
}

.opac75 {
    filter: alpha(opacity=75);
    -moz-opacity: 0.75;
    -khtml-opacity: 0.75;
    opacity: 0.75;
}

.showLinebreaks {
    white-space: pre-line;
    word-wrap: break-word;
}

#errorPageBox {
    margin: 0px auto 10px auto;
    font-size: 16px;
    width: 770px;
    line-height: 18px;
    color: #222222;
}

#footerRow {
    margin: 70px auto 20px auto;
    border-top: 1px solid #F0F0F0;
    color: #999999;
    padding-top: 3px;
    clear: both;
}

#footerRow:after {
    content: "";
    display: table;
    clear: both;
}

#footerRow a {
    color: #999999;
}

.lineHeader {
    display: block;
    width: 100%;
    padding: 0;
    margin-bottom: 10px;
    font-size: 18px;
    line-height: 28px;
    color: #333;
    border: 0;
    border-bottom: 1px solid #e5e5e5
}

.checkBoxInfo {
    padding-left: 5px;
    vertical-align: bottom;
}

.imgPopover {
    font-style: italic;
}

.popover-title {
    display: none;
}

.vertical-align-top, .vertical-align-top *  {
    vertical-align: top;
}

.popover-inner {
    padding: 0px;
}

.popover .arrow {
    display: none;
}

#uploadSuffixInfo {
    margin: 0px 0px 3px 15px;
}

.input-prefix, .form-horizontal .input-prefix {
    width: 14px;
    min-width: auto;
}

.input-prefix-select, .form-horizontal .input-prefix-select {
    width: 25%;
    min-width: auto;
}

.input-suffix, .form-horizontal .input-suffix {
    min-width: 173px;
    width: 77%;
}

.input-suffix-select, .form-horizontal .input-suffix-select {
    width: 58%;
    min-width: auto;
}

input.error {
    border-color: #b94a48;
}

.buyerView .buyerStrong {
    color: red;
}

.checkAlso li {
    margin-top: 5px;
}

.buttonInfo li {
    margin-bottom: 5px;
}

.checkAlso a {
    color: #b94a48;
}

.subHeader {
    margin: 0px 0 15px 10px;
    font-size: 14px;
    color: #317eac;
    font-weight: bold;
}

.linkedPurchases {
    margin-top: 10px;
}

.linkedPurchases ul {
    margin-top: 5px;
}

.text-error {
    color: #b94a48;
}

.smallTextLine {
    font-size: 12px;
    margin-bottom: 3px;
}

.smallTextLine .label {
    font-size: 10px;
}

.form-inline .smallTextLine .checkbox input[type="checkbox"] {
    margin-top: -1px;
    margin-left: 8px;
}

.statTable h4 {
    color: black;
    font-size: 18px;
}

a.attachTypeEditClick {
    color: #333;
    white-space: nowrap;
}

a.attachTypeEditClick.restricted {
    color: #733;
}

a.attachTypeEditClick i {
    display: none;
}

a.attachTypeEditClick:hover i {
    display: inline-block;
}

.noBold {
    font-weight: normal !important;
}

.chatMessages {
    margin-top: 30px;
}

.chatMessages .messageBox {
    font-size: 16px;
    line-height: 22px;
    margin: 10px 0 15px 0;
    background-color: #e8f4ff;
    color: #222;
    padding: 2px 10px 15px 10px;
}

.chatMessages .messageBox.greenBackground {
    background-color: #dbffdc;
}

.chatMessages .messageBox.grayBackground {
    background-color: #DDDDDD;
    color: #777;
}

.chatMessages .messageBox .metaInfo {
    font-size: 10px;
    float: right;
}

.chatMessages .messageBox .metaInfo .readInfo {
    display: inline-block;
    padding-right: 20px;
}

.chatMessages textarea,
.chatMessages button.btn-big {
    font-size: 16px;
    line-height: 22px;
}

#termsAndConditions .start {
    color: #555555;
}

#termsAndConditions h3 {
    padding: 10px 0;
    font-size: 14px;
}


.instructionFileMS {
    display: block;
}

#buyersAdviceEnglish-container .germanLang {
    display: none;
}


#buyersAdviceGerman-container .englishLang {
    display: none;
}

.label-violet, .badge-violet {
    background-color: rgba(110, 36, 180, 0.75);
}

.input-large {
    width: 90%;
}

.filter .input-large {
    width: 88%;
}

.input-large-minus-suffix {
    width: 85%;
}

.form-horizontal select {
    width: 90%;
}

.form-horizontal .input-mini {
    width: 80px;
    min-width: auto;
}

.form-horizontal .input-small {
    width: 90px;
    min-width: auto;
}

.form-horizontal .input-middle {
    width: 70%;
    min-width: auto;
}

.nobreak {
    white-space: nowrap;
}

.buttonTransition {
    animation: fadeIn 8s;
}

@keyframes fadeIn {
    0% {
        opacity: 0;
    }
    100% {
        opacity: 1;
    }
}

.purchaseEdit .form-horizontal .buyerInvoiceInfo .control-group {
    margin-bottom: 0;
}

.infoBox {
    border: firebrick solid 1px;
    padding: 8px;
    margin: 5px 10px 10px 0;
    font-size: 13px;
}

.infoBoxToggle {
    padding-bottom: 8px;
}

@counter-style emoji {
    symbols: "\1f9fe";
    system: cyclic;
    suffix: " ";
}

ul.invoiceList {
    margin: 5px 0px;
    list-style: emoji;
    list-style-position: inside;
}

ul.invoiceList li {
    margin: 10px 0;
    padding: 10px 10px 5px 10px;
    border-radius: 5px;
    background: #efefef;
    width: 90%;
    display:grid;
    grid-template-columns: 2fr 2fr 1fr;
}

ul.invoiceList li span:nth-child(2), ul.invoiceList li span:nth-child(3) {
    margin-top: -3px;
}


ul.invoiceList li label {
    display: inline-block;
    font-style: italic;
    padding-right: 5px;
}

ul.invoiceList input[type=file]::file-selector-button {
    border: 2px solid #6c5ce7;
    padding: .2em .4em;
    border-radius: .2em;
    background-color: #368bd7;
    color: white;
    cursor: pointer;
}

ul.invoiceList input[type=file]::file-selector-button:hover {
    font-weight: bold;
}



ul.fancyList {
    margin: 5px 0px;
}

ul.fancyList li {
    margin: 5px 0;
    padding: 4px 6px;
    border-radius: 5px;
    background: #f1f1f1;
    width: 90%;
    display:grid;
    grid-template-columns: 2fr 2fr;
}

.filterTable {
    width: max-content;
    max-width: max-content;
    border-collapse: collapse;
}

.filterTable tr.newCat:not(.multi) {
    border-bottom: 1px solid #EEEEEE;
}


.filterTable td {
    white-space: nowrap;
}

.filterTable tr.newCat td {
    padding-top: 3px;
    padding-bottom: 1px;
}

.btn-grayBlue {
    background-color: #0f6674;
    background-image: none;
    color: #fff;
    text-shadow: none;
}

.btn-grayBlue:hover {
    background-color: #0F5561FF;
    color: #FFFAE5FF;
}

.dataForm h4 {
    margin-bottom: 15px;
}

.dataForm .well {
    max-width: 800px;
}

.dataForm input {
    max-width: 400px;
}

.dataForm .control-label {
    width: 240px;
}

.dataForm .controls {
    margin-left: 255px;
}

.dataForm .radioLayout input[type="radio"] {
    vertical-align: bottom;
    transform: scale(1.2);
    margin-left: 4px;
    margin-right: 14px;
}

.dataForm .radioLayout.inverse input[type="radio"] {
    margin-right: 4px;
}


.dataForm .radioLayout label {
    display: inline-block;
}

.buyerCostsTable {
    margin-bottom: 0;
}

.buyerCostsTable th {
    font-weight: normal;
    font-style: italic;
}

.flexInput {
    display: flex;
    gap: 5px;
}


.flexInput > select,
.flexInput > input {
    flex-grow: 1;
}




