/**
 *	Custom CSS styles for administration interface.
 */

/* Search filter styles  */


waiting{
    display: inline-block;
    float: left;
}

#waitingButton {
    margin-top: 8px;
    margin-left: 8px;
}

.glyphicon-refresh {
    top: 4px;
    -webkit-animation: spin 2s infinite linear;
    -moz-animation: spin 2s infinite linear;
    -o-animation: spin 2s infinite linear;
    animation: spin 2s infinite linear;
}
@-moz-keyframes spin {
    0% {
        -moz-transform: rotate(0deg);
    }
    100% {
        -moz-transform: rotate(359deg);
    }
}
@-webkit-keyframes spin {
    0% {
        -webkit-transform: rotate(0deg);
    }
    100% {
        -webkit-transform: rotate(359deg);
    }
}
@-o-keyframes spin {
    0% {
        -o-transform: rotate(0deg);
    }
    100% {
        -o-transform: rotate(359deg);
    }
}
@keyframes spin {
    0% {
        -webkit-transform: rotate(0deg);
        transform: rotate(0deg);
    }
    100% {
        -webkit-transform: rotate(359deg);
        transform: rotate(359deg);
    }
}

.column-left {
    width: 50%;
    margin-right: 10px;
}

.column-right {
    width: 50%;

}

.column-left-wrapper{
    padding-right: 30px;
}
.column-right-wrapper{
    padding-left: 30px;
}

.filterField {
    display: inline-block;
    margin-right: 20px;
    margin-top: 10px;
}

.filterField label {
    display: block;
    font-weight: bold;
    padding: 0 0 10px;
}

.filterField input.text-input.shorter-input {
    width: 60px !important;
}

.allright_false{
    color: red;
}

.documents .cardPhoto img {
    max-height: 200px;
    max-width: 100%;
}

.documents .document {
    max-height: 300px;
    max-width: 100%;
}

p.description{
    clear: right;
}

#error_url{
    color: red;
    clear: right;
}

input.shortcut-button {
    border: 1px solid #ccc;
    display: block;
    margin: 0 0 20px 0;
    padding: 15px 10px 15px 50px;
    background-color: #fff;
}

.content-box-content select {
    width: 99%;
}

.content-box-content .filterField select {
    width: 100%;
}

.content-box-content .dateInput select {
    width: auto !important;
}

.content-box-content form select[disabled], .content-box-content form input[disabled] {
    cursor: not-allowed;
    background: #eee;
}

.content-box-content .text-input, .content-box-content cke, .content-box-content textarea {
    width: 97.5% !important;
}

.inlineLabel label {
    display: inline;
    font-weight: normal;
}

.inlineLabel label .requiredMark {
    display: none;
}

.recordsPerPageContent {
    width: 125px;
    margin: 0 auto;
}

.content-box-content td iframe {
    width: 100%;
}

#main-content .pagination {
    text-align: center;
    padding: 20px 0 5px 0;
    font-family: Verdana, Arial, Helvetica, sans-serif;
    font-size: 10px;
}

.pagination a {
    margin: 0 5px 0 0;
    padding: 3px 6px;
}

.pagination a.number {
    border: 1px solid #ddd;
}

.pagination a.current:hover {
    text-decoration: underline;
}

.recordsPerPageContent {
    display: inline-block;
}

.recordsPerPageContent select {
    padding: 0;
}

.recordsPerPageContent label {
    display: inline;
}

.requiredMark {
    color: #f00;
}

.content-box-content input.text-input-money {
    width: 94% !important;
}

.dfc-number-input {
    width: 290px;
}

.facebox_overlayBG {
    background-color: black;
    z-index: 99;
    opacity: 0.4 !important;
}

#facebox .footer {
    clear: both;
}

small {
    padding-top: 3px;
    font-size: 0.9em;
    font-style: italic;
}

.expedition-thumbnail.active {
    border: 1px solid #b20c0c;
}

.expedition-thumbnail .content-box-header {
    margin-top: 0;
}

.expedition-thumbnail.active .content-box-header {
    background: rgb(181,0,0); /* Old browsers */
    background: -moz-linear-gradient(-45deg, rgba(181,0,0,1) 0%, rgba(133,0,0,1) 100%); /* FF3.6+ */
    background: -webkit-gradient(linear, left top, right bottom, color-stop(0%,rgba(181,0,0,1)), color-stop(100%,rgba(133,0,0,1))); /* Chrome,Safari4+ */
    background: -webkit-linear-gradient(-45deg, rgba(181,0,0,1) 0%,rgba(133,0,0,1) 100%); /* Chrome10+,Safari5.1+ */
    background: -o-linear-gradient(-45deg, rgba(181,0,0,1) 0%,rgba(133,0,0,1) 100%); /* Opera 11.10+ */
    background: -ms-linear-gradient(-45deg, rgba(181,0,0,1) 0%,rgba(133,0,0,1) 100%); /* IE10+ */
    background: linear-gradient(135deg, rgba(181,0,0,1) 0%,rgba(133,0,0,1) 100%); /* W3C */
    filter: progid:DXImageTransform.Microsoft.gradient( startColorstr='#b50000', endColorstr='#850000',GradientType=1 ); /* IE6-9 fallback on horizontal gradient */
}

.expedition-thumbnail.active .content-box-header h3 {
    color: white;
}

.expedition-thumbnail .content-box-content {
    min-height: 140px;
}

.expedition-thumbnail .content-box-content table tr td:first-child {
    width: 30%;
}

.expedition-thumbnail .expedition-photo {
    width: 120px;
    float: left;

}

.expedition-thumbnail .products span {
    margin-right: 15px;
}

.expedition-thumbnail .products span img {
    vertical-align: middle;
    height: 18px;
}

.expedition-thumbnail .expedition-photo img {
    width: 100%;
    max-height: 200px;
}

.expedition-thumbnail .expedition-details {
    box-sizing: border-box;
    margin-left: 140px;
}

.expedition-thumbnail .expedition-details table {
    margin-bottom: 10px;
}

#orderResolutionInfoModal input {
    width: 95%;
}

#cardOrderFilter_reset, #validityExtensionOrderSearch_reset,#form_reset, #voucherSearch_reset {
    border: none !important;
    background-color: white !important;
    background-image: none !important;
    color: #B50000 !important;
    text-decoration: underline;
}

.voucherCardTypes {
    display: inline-flex;
}

table.dontWrapFirstColumn > tbody > tr > td:first-child{
    white-space: nowrap
}
#infoAboutAllProviders {
    font-style: italic;
}

.importHelp {
    padding-top: 10px;
}
#importBlock {
    padding-bottom: 10px;
}

.helpTooltip {
    cursor: help;
}

.content-box-content .alert-success {
    color: green;
    margin: 10px 0px 0px 3px;
}

#main-content table td.card-icon, #main-content table th.card-icon {
    min-width: 0px;
    width: 5px;
    padding-right: 0px;
}

/*******************************
    Tenancy start
********************************/
#tenantSwitchForm #tenants {
    text-align: center;
}

#tenantSwitchForm .ui-state-active {
    background: #B50000 url("../images/bg-button-red-tall.gif") 50% 50% repeat-x !important;
    color: white;
}
#tenantSwitchForm .ui-state-hover {
    background: #B50000 url("../images/bg-button-red-glass-tall.gif") 50% 50% repeat-x;
    color: white;
}
#tenantSwitchForm .ui-button-text {
    height: 40px;
    line-height: 40px;
    min-width: 35px;
}
/*******************************
    Tenancy end
********************************/


/*******************************
    Abroad delivery start
********************************/
#abroadDeliveryCollection label.country-label {
    padding: 0px;
    font-weight: normal;
    display: inline;
}

#abroadDeliveryAllCountriesLabel {
    display: inline;
    font-weight:normal;
}
/*******************************
    Abroad delivery end
********************************/

.radioBoxRow input {
    float: left;
}

.radioBoxRow label {
    display: block;
    line-height: 20px;
}

.radioBoxRow p:first-child {
    padding-bottom: 0px;
}

#orderingSettingsMessagesCollection p {
    padding: 0px;
}

table#orderingSettingsMessagesCollection td.first-column {
    width: 33%;
}

.orderingSettingsMessageItem {
    margin-bottom: 15px;
}

/*******************************
 Autocomplete
 *******************************/


.ui-autocomplete {
    position: absolute;
    top: 0;
    left: 0;
    cursor: default;
}
.ui-autocomplete-category {
    font-weight: bold;
    padding: .2em .4em;
    margin: .8em 0 .2em;
    line-height: 1.5;
}


.ui-state-hover,
.ui-widget-content .ui-state-hover,
.ui-widget-header .ui-state-hover,
.ui-state-focus,
.ui-widget-content .ui-state-focus,
.ui-widget-header .ui-state-focus {
    border: 1px solid #999999;
    background: #B50000 url("../images/bg-button-red.gif") 50% 50% repeat-x;
    font-weight: normal;
    color: #ffffff;
}
.ui-state-hover a,
.ui-state-hover a:hover,
.ui-state-hover a:link,
.ui-state-hover a:visited {
    color: #ffffff;
    text-decoration: none;
}
.ui-state-active,
.ui-widget-content .ui-state-active,
.ui-widget-header .ui-state-active {
    border: 1px solid #aaaaaa;
    background: #ffffff;
    font-weight: normal;
    color: #212121;
}
.ui-state-active a,
.ui-state-active a:link,
.ui-state-active a:visited {
    color: #212121;
    text-decoration: none;
}
/*
 Login
 */
#login-wrapper #login-content p .button {
    min-width: 90px;
    line-height: 15px;
    box-sizing: content-box;
    height: 16px;
}

#login-wrapper #login-content input.button {
    float: right;
}

.popup button {
    margin-right: 1em;
}

.content-box td {
    overflow-wrap: break-word; max-width: 150px;
}
