main > .container,
main > .container-fluid {
    padding: 15px 15px 20px;
}

.main-footer {
    padding-top: 20px;
    border-top: 1px solid #ddd;
    font-size: .9em;
    background-color: #f5f5f5;
}

.main-footer > .langugage-menu-items-footer {
    padding-right: 15px;
    padding-left: 15px;
}

.main-footer p.float-md-left + p.float-md-left {
    margin-left: 10px;
}

.not-set {
    color: #c55;
    font-style: italic;
}

/* add sorting icons to gridview sort links */
a.asc:after, a.desc:after {
    content: '';
    left: 3px;
    display: inline-block;
    width: 0;
    height: 0;
    border: solid 5px transparent;
    margin: 4px 4px 2px 4px;
    background: transparent;
}

a.asc:after {
    border-bottom: solid 7px #212529;
    border-top-width: 0;
}

a.desc:after {
    border-top: solid 7px #212529;
    border-bottom-width: 0;
}

.grid-view th {
    white-space: nowrap;
}

.hint-block {
    display: block;
    margin-top: 5px;
    color: #999;
}

.error-summary {
    color: #a94442;
    background: #fdf7f7;
    border-left: 3px solid #eed3d7;
    padding: 10px 20px;
    margin: 0 0 15px 0;
}

.help-block-error {
    color: #a94442;
}

.text-strong {
    font-weight: 700;
}

#main-navbar {
    z-index: 999;
}

#main-navbar a.navbar-brand img {
    height: 57px !important;
    object-fit: contain;
}

/* align the logout "link" (button in form) of the navbar */
.navbar-brand .brand-text {

}
.navbar-brand .brand-name {
    opacity: 0.75;
    font-size: 0.9em;
}
.navbar-brand .brand-user {
    opacity: 0.5;
    font-size: 0.75em;
}
.navbar-brand .brand-wrapper {
    opacity: 0.25;
}
.nav li form {
    width: 100%;
}
.nav li form button.logout {
    display:block;
    width: 100%;
    padding: 0.25rem 1.5rem;
    text-align: left;
    color: #262626;
}

.navbar-nav .cart-items .btn {
    display: block;
    width: 100%;
    padding: 3px 20px;
    clear: both;
    text-align: left;
    font-weight: normal;
    line-height: 1.42857143;
    color: #333;
    white-space: nowrap;
}
.navbar-nav .cart-items .btn:hover,
.navbar-nav .cart-items .btn:focus {
    color: #262626;
    text-decoration: none;
    background-color: #f5f5f5;
}
.cart-items.has-items .fas { color: #2ecc71; }

form[id^="cart-add"] {
    float: left;
    margin-top: 0;
    margin-right: 4px;
}

@media(max-width:767px) {
    .nav li form button.logout {
    }
    .navbar .navbar-nav .open.cart-items .btn,
    .navbar .navbar-nav .open.cart-items .btn {
        color: #9d9d9d;
    }
    .navbar .navbar-nav .open.cart-items .btn:hover,
    .navbar .navbar-nav .open.cart-items .btn:focus {
        color: #fff;
        background-color: transparent;
    }
    .navbar .navbar-nav .open.cart-items .btn,
    .navbar .navbar-nav .open.cart-items .btn {
        padding-top: 16px;
        padding-bottom: 16px;
    }
}
@media (min-width: 768px) {
    .navbar .navbar-nav .cart-items .dropdown-toggle::after,
    .navbar .navbar-nav .language-items .dropdown-toggle::after,
    .navbar .navbar-nav .currency-items .dropdown-toggle::after,
    .navbar .navbar-nav .profile-items .dropdown-toggle::after {
        display: none;
    }
    .navbar-nav .dropdown > .dropdown-toggle::after {
        position: static;
        right: auto;
        top: auto;
    }
    .navbar-nav .dropdown-menu .dropdown-menu {
        margin-left: 0;
        margin-right: 0;
        margin-bottom: 0;
    }
    .navbar-nav .dropdown-menu {
        max-height: none;
        overflow-y: visible;
        z-index: 1002;
    }
    .navbar-nav .dropdown.dropleft .dropdown-submenu {
        left: auto !important;
        right: 96% !important;
    }
    .navbar-nav .dropdown.dropleft .dropdown-toggle::before {
        margin-left: -0.75em;
        margin-right: 0.495em; /* 0.255em */
        vertical-align: 0.05em;
    }
}

.nav li form button.logout:focus,
.nav li form button.logout:hover {
    text-decoration: none;
    color: #262626;
    background-color: #f5f5f5;
    outline: none;
}

.language-list .dropdown-menu {
    min-width: 124px;
}
#langugage-menu-items-footer.navbar-nav {
    width: 100%;
}
.language-item {
    padding: 4px 10px;
    text-align: left;
    white-space: nowrap;
}
.language-item a {
    display: block;
}
#langugage-menu-items-footer {margin-top:-15px}
#langugage-menu-items-footer.navbar-nav > li > a {
    padding: 15px 15px;
}

.nav > li.order-icon { display: inline-block; }
#orders-new .fas { color: #e74c3c; }
#orders-not-signed .fas { color: #ffc107; }
#orders-not-paid .fas { color: #6f42c1; }
#orders-paid .fas { color: #007bff; }
#orders-not-completed .fas { color: #3498db; }
#orders-completed .fas { color: #2ecc71; }
#orders-canceled .fas {  }
#new-message label { font-size: 1.2em; font-weight: 600; }
#main-navbar .badge {
    position: absolute;
    margin-top: -3px;
    margin-left: -5px;
    padding: 2px 4px;
    color: white;
}
.badge-purple { background-color: #6f42c1; }
/*
.messages-new .badge {
    position: absolute;
    margin-top: -10px;
    margin-left: -6px;
    padding: 3px 5px;
    font-size: 12px;
    color: #fff;
}
*/

@media (min-width: 768px) {
    .main-footer {
        margin-top: 250px;
        height: 60px;
    }
    .navbar-expand-md .navbar-nav .dropdown-menu {
        left: auto;
        right: 0;
    }
    #langugage-menu-items-footer.navbar-nav {
        width: auto;
    }
}


.breadcrumb {
    padding: 0.45rem 1rem;
}
.breadcrumb > li + li:before {
    padding: 0 5px;
    color: #ccc;
    content: "/\00a0";
}


/* modern radio/checkbox */
.select2-selection__choice {
    white-space: pre-line;
}

.radio-inline.btn { padding-left: 10px; }
.radio-inline.btn-success,
.radio-inline.btn-info { color: #fff; }
.radio-inline.btn-warning,
.radio-inline.btn-danger { color: #3c763d; }
.radio-inline.btn input { margin-right: 4px; margin-top: 2px; }

.checkbox-modern .checkbox input[type="checkbox"] {
    position: relative;
    margin: 10px;
    margin-right: -30px;
    vertical-align: bottom;
}
.checkbox-modern .checkbox .btn { padding-left: 32px; }
.checkbox-modern .checkbox input:checked + .btn {
    color: #fff;
    background-color: #5cb85c;
    border-color: #4cae4c;
}
.checkbox-modern .checkbox-inline {
    margin-top: 0;
    margin-bottom: 5px;
    padding-left: 0;
}





/* help-info */
/* legend */
div.help-info {
    margin-top: 10px;
    margin-bottom: 0.5rem;
    padding: 10px;
    border: 1px solid #ccc;
    border-radius: 4px;
    background-color: #f9f9f9;
}
div.help-info p {
    margin-bottom: 0.5rem;
}


#legend-modal .modal-dialog {
    margin-top: 70px;
}
@media (min-width: 768px) {
    #legend-modal .modal-dialog {
        margin-top: 120px;
    }
}


/* grid */
th.action-column:first-child { width: 120px; min-width: 120px; }
th.action-column:last-child {
    width: 60px;
    width: 1%;
}
.price-offer-index th.action-column:last-child { width: 60px; }
.minimum-width { width: 1%; }
.prewrap { white-space: pre-wrap !important; }
.fixed-id-width { width: 60px; }
.fixed-50-width { width: 50px; word-break: break-all; }
.fixed-60-width { width: 60px; word-break: break-all; }
.fixed-75-width { width: 75px; word-break: break-all; }
.fixed-100-width { width: 100px; word-break: break-all; }
.fixed-120-width { width: 120px; word-break: break-all; }
.fixed-130-width { width: 130px; word-break: break-all; }
.fixed-140-width { width: 140px; word-break: break-all; }
.fixed-150-width { width: 150px; word-break: break-all; }
.fixed-200-width { width: 200px; word-break: break-all; }
.min-w-50 { min-width: 50px; }
.min-w-75 { min-width: 75px; }
.min-w-100 { min-width: 100px; }
.min-w-125 { min-width: 125px; }
.min-w-150 { min-width: 150px; }
.min-w-175 { min-width: 175px; }
.min-w-200 { min-width: 200px; }
.min-w-250 { min-width: 250px; }
.message-author { width: 250px; }
.td-id { width: 70px; }
.table > tbody > tr > td.td-id { padding-right: 10px; text-align: right; }
th.td-date, th.td-date-fix { white-space: pre-wrap; }
td.td-date, td.td-date-fix { word-break: keep-all; white-space: pre-wrap; }
.td-date-fix { width: 124px; min-width: 124px; max-width: 150px; }
.td-date { min-width: 124px; max-width: 150px; }
.td-money-9-2 { width: 120px; white-space: nowrap; }
.table > tbody > tr > td.td-money-9-2 { padding-right: 8px; text-align: right; }
.td-byte { width: 60px; white-space: nowrap; }
.td-ch { vertical-align: bottom; }
td.td-ch { position: relative; }
.filters td .custom-control, td.td-ch .custom-control
    { position: relative; width: 100%; height: 100%; min-height: 2.5rem; padding: 0; text-align: center; }
.filters td .custom-control-label, td.td-ch .custom-control-label
    { display: block; position: absolute; width: 100%; height: 100%; }
.filters td .custom-control-label::before, .filters td .custom-control-label::after,
td.td-ch .custom-control-label::before, td.td-ch .custom-control-label::after
    { top: 0.5rem; left: 0.5rem; width: 1.5rem; height: 1.5rem; }
.table > tbody > tr > td.td-byte { padding-right: 8px; text-align: right; }
.table > thead > tr > th.td-number { padding-right: 10px; text-align: right; }
.table > tbody > tr > td.td-number { padding-right: 10px; text-align: right; }
.table > tfoot > tr > td.td-number { padding-right: 15px; text-align: right; }
.kv-sort-link.asc:after, .kv-sort-link.desc:after {
    display: none !important;
}


table.table-counter tbody { counter-reset: rowNumber; }
table.table-counter tr { counter-increment: rowNumber; }
table.table-counter tr td:first-child::before { content: counter(rowNumber); }

td *[class^="status"] { display: block; text-align: center; }
.status-true { color: #5AAC56; }
.status-false { color: #D46A6A; }
@media (max-width: 767px) {
    .order-sm-fallback a {
        display: inline-block;
        overflow: hidden;
        width: 9px;
        margin-right: 5px;
    }
    .order-sm-fallback a:before {
        content: "#";
    }
}
tr.filters td .select2-container--krajee .select2-selection--single {
    padding-right: 12px;
}
tr.filters td .select2-container--krajee .select2-selection--single .select2-selection__arrow {
    display: none;
}
.grid-view td .btn {
    margin-bottom: 4px;
}
.kv-grid-bs4 .kv-grid-toolbar .btn,
.kv-grid-bs4 .kv-grid-toolbar ~.btn {
    margin-right: 4px;
    margin-bottom: 4px;
}
.kv-grid-bs4 a.asc:after,
.kv-grid-bs4 a.desc:after {
    border: solid 5px transparent;
}

/*Select2 ReadOnly Start*/
select[readonly].select2-hidden-accessible + .select2-container {
    pointer-events: none;
    touch-action: none;
}
select[readonly].select2-hidden-accessible + .select2-container .select2-selection {
    background: #eee;
    box-shadow: none;
}
select[readonly].select2-hidden-accessible + .select2-container .select2-selection__arrow, select[readonly].select2-hidden-accessible + .select2-container .select2-selection__clear {
    display: none;
}
/*Select2 ReadOnly End*/

form[id^="cart-add"] {
    float: left;
    margin-top: 0;
    margin-right: 4px;
}
.inspection-disabled { background-color: #ddd !important; }
.inspection-danger { background-color: #f2dede !important; }
.inspection-warning { background-color: #fcf8e3 !important; }
.inspection-success { background-color: #dff0d8 !important; }


/* form */
.btn-delete { line-height: 1.5; padding-left: 0; padding-right: 0; width: 40px; }
.btn-right { margin-left: 4px; }
.equipment-attributes-group .row:last-child .btn-delete,
.texts-group .row:last-child .btn-delete {
    display: none;
}
.eq-item hr { width: 100%; margin: 10px 0 20px 0; }
fieldset {
    border: 1px groove #ddd !important;
    padding: 0 1.4em 1.4em 1.4em !important;
    margin: 0 0 1.5em 0 !important;
    -webkit-box-shadow:  0px 0px 0px 0px #000;
    box-shadow:  0px 0px 0px 0px #000;
}
legend {
    font-size: 1.2em !important;
    font-weight: bold !important;
    text-align: left !important;
    width: inherit;
    padding: 0 15px;
    border-bottom: none;

}
.form-horizontal .control-label.text-left {
    text-align: left;
}
.form-horizontal .control-label.top-label {
    margin-bottom: 5px;
}
.intl-tel-input { display: block; }


input[id$="vin"] {
    min-width: 190px;
}
.form-control {
    padding: 0.375rem 0.375rem 0.375rem 0.75rem;
}

.was-validated .form-control:valid, .form-control.is-valid {
    padding-right: 0.375rem;
    background-position: right 0.25em center;
}

/* view */


/* media upload */

.template-upload td {
    padding: 4px 8px;
    vertical-align: middle;
}
.template-upload td:first-child p.name {
    max-width: 200px;
}
.images .thumbnail,
.files .thumbnail {
    position: relative;
    left: 0;
    top: 0;
    margin-bottom: 24px;
}
.images .thumbnail .preview,
.files .thumbnail .preview {
    overflow: hidden;
    display: block;
    text-align: center;
}
.images .thumbnail .name-box,
.files .thumbnail .name-box {
    position: absolute;
    left: 0;
    right: 0;
    bottom: 16px;
}
.images .thumbnail .name,
.files .thumbnail .name {
    word-wrap: break-word;
    padding: 2px 8px;
    min-height: 3em;
    background-color: rgba(0,0,0,.5);
}
.images .thumbnail .name,
.images .thumbnail .name a,
.files .thumbnail .name,
.files .thumbnail .name a {
    color: #ffffff;
}
.images .thumbnail .size-box,
.files .thumbnail .size-box {
    position: absolute;
    right: 0;
    top: 0;
}
.images .thumbnail .size,
.files .thumbnail .size {
    padding: 0 4px;
    color: #ffffff;
    background-color: rgba(0,0,0,.5);
}
.images .thumbnail .media-buttons,
.files .thumbnail .media-buttons {
    position: relative;
    top: 15px;
}
@media (min-width: 480px) and (max-width: 1199px) {
    .images .thumbnail .preview,
    .images-images .thumbnail .preview,
    .files .thumbnail .preview,
    .files-files .thumbnail .preview {
        height: 180px;
    }
}
@media (min-width: 1200px) {
    .images .thumbnail .preview,
    .images-images .thumbnail .preview,
    .files .thumbnail .preview,
    .files-files .thumbnail .preview {
        height: 160px;
    }
}

.images-images .thumbnail,
.files-files .thumbnail {
    padding-bottom: 40px;
}
.image-name,
.file-name {
    position: absolute;
    bottom: 24px;
    left: 20px;
    right: 20px;
    min-height: 3em;
    word-wrap: break-word;
    text-align: center;
    color: #fff;
    background-color: rgba(0,0,0,.5);
}
.download-images .image-name a,
.download-files .image-name a {
    color: #fff;
}
div[class$="-view"] p .btn {
    margin-bottom: 10px;
}

.iti.iti--allow-dropdown { display: block;}


#reveal-password {cursor: pointer;}






/* index */
@media (max-width: 767px) {
    .jumbotron {
        padding-top: 5px;
        padding-bottom: 5px;
    }
}
.menu-icon a {
    display: block;
    clear: both;
    margin-bottom: 60px;
    text-decoration: none;
    text-align: center;
    font-size: 1.6em;
    color: #0070bd;
}
.menu-icon a:hover,
.menu-icon a:focus {
    color: #000;
}
.menu-icon a > * {
    display: inline-block;
    width: 100%;
    clear: both;
    margin-bottom: 20px;
}
span.fa-stack-3x {
    height: 1.6em;
    line-height: 1.6em;
    font-size: 1em;
}
span.fa-stack-4x {
    height: 4em;
    line-height: 4em;
}
.fa-2x {font-size: 2em;}
.fa-3x {font-size: 3em;}
.fa-4x {font-size: 4em;}
.fa-stack-4x .icon-stack-1x,
.fa-stack-4x .icon-stack-2x,
.fa-stack-4x .icon-stack-3x,
.fa-stack-4x .icon-stack-4x {
    position: absolute;
    left: 0;
    width: 100%;
    text-align: center;
}
.fa-stack-4x .icon-stack-1x {
    line-height: 2em;
    font-size: 2.5em;
}
.fa-stack-4x .icon-stack-2x {
    left: -1em;
    line-height: 1.9em;
}
.fa-stack-4x .icon-stack-3x {
    left: 1em;
    line-height: 1.9em;
}
.fa-btn {
    width: 1.25em;
    height: 1.5em;
    line-height: 1.5;
}
.fa-btn .fa-stack-1x {
    font-size: 0.875em;
}
.fa-btn .fa-stack-2x {
    font-size: 1.3333333em;
    font-size: 1.142855em;
    line-height: 1.1;
}
.fa-btn .fa-stack-1x.top {
    top: -0.75em;
    bottom: auto;
}
.fa-btn .fa-stack-1x.bottom {
    top: auto;
    bottom: -0.75em;
}
.fa-btn .fa-stack-1x.left {
    left: -1em;
    right: auto;
}
.fa-btn .fa-stack-1x.right {
    left: auto;
    right: -1em;
}
.menu-text {}


.unread-message {
    transition: background-color 2s ease;
}
.unread-message.animate {
    background-color: green !important;
}
.table-row.has-messages td {
    font-weight: 700;
}






/* guidance system */
.guidance {
    margin: 12px 0 24px 0;
    width: 100%;
    clear: both;
}
.guidance + * {
    margin-top: 24px;
    clear: both;
}
.guidance .btn {
    margin-top: 4px;
    margin-bottom: 4px;
    margin-right: 4px;
}
@keyframes pulse {
    0% {
        transform: scale(1);
        opacity: 1;
        outline: none !important;
    }
    33% {
        transform: scale(1);
        opacity: 1;
        outline: 2px solid red !important;
    }
    49% {
        transform: scale(1.05);
        opacity: 0.8;
    }
    66% {
        transform: scale(1);
        opacity: 1;
        outline: none !important;
    }
}
@keyframes pulse_bg {
    0% {
        background-position: 100% 0;
    }
    40% {
        background-position: 100% 0;
    }
    50% {
        background-position: 0% 0;
    }
    50.01% {
        background-position: 100% 0;
    }
    100% {
        background-position: 100% 0;
    }
}
@keyframes ripple_from_center {
    0% {
        transform: scale(0);
        opacity: 1;
    }
    10% {
        opacity: 0.5;
    }
    20% {
        transform: scale(2, 2);
        opacity: 0;
    }
    100% {
        opacity: 0;
    }
}
@keyframes ripple_into_center {
    0% {
        transform: scale(2, 2);
        opacity: 1;
    }
    10% {
        opacity: 0.5;
    }
    20% {
        transform: scale(0);
        opacity: 0;
    }
    100% {
        opacity: 0;
    }
}
.guidance-target {
    position: relative;
    overflow: visible;
    transform: translate3d(0, 0, 0);
    animation: pulse 3s infinite ease-in-out;
    z-index: 9999;
}
.guidance-target-wrapper {
    position: relative;
    display: inline-block; /* or block, depending on your layout */
    overflow: visible;
    transform: translate3d(0, 0, 0);
    z-index: 9990;
}
applet.guidance-target,
audio.guidance-target,
canvas.guidance-target,
embed.guidance-target,
iframe.guidance-target,
img.guidance-target,
input[type="text"].guidance-target,
math.guidance-target,
meter.guidance-target,
object.guidance-target,
picture.guidance-target,
progress.guidance-target,
select.guidance-target,
svg.guidance-target,
textarea.guidance-target,
video.guidance-target {
    /*position: absolute;*/
    /*top: 0;*/
    /*left: 0%;*/
    /*width: 100%;*/
    /*height: 100%;*/
    background: radial-gradient(circle at 0% 50%, white 0%, white 40%, red 50%, white 60%);
    background-size: 300% 100%;
    background-position: 100% 0;
    animation: pulse_bg 6s infinite linear;
}
.guidance-target:not(applet):not(audio):not(canvas):not(embed):not(iframe):not(img):not(input[type="text"]):not(math):not(meter):not(object):not(picture):not(progress):not(select):not(svg):not(textarea):not(video)::before {
    content: "";
    position: absolute;
    top: 0;
    left: 0%;
    width: 100%;
    height: 100%;
    background: radial-gradient(circle at 0% 50%, transparent 0%, transparent 40%, red 50%, transparent 60%);
    background-size: 300% 100%;
    background-position: 100% 0;
    animation: pulse_bg 6s infinite linear;
}

.guidance-target-bg {
    display: block;
    position: absolute !important;
    width: 20vw;
    height: 20vw;
    top: calc(-10vw + 50%);
    left: calc(-10vw + 50%);
    border-radius: 50%;
    pointer-events: none;
    background-image:
            radial-gradient(circle, transparent 50%, #ff0000 50.01%, transparent 51%),
            radial-gradient(circle, transparent 60%, #ff0000 60.01%, transparent 61%),
            radial-gradient(circle, transparent 70%, #ff0000 70.01%, transparent 71%);
    background-repeat: no-repeat;
    background-position: 50%;
    transform: scale(2, 2);
    opacity: 0;
    transition: transform 0.5s, opacity 1s;
    animation: ripple_from_center 6s infinite;
}
.omega-unavailable > td {
    background-color: #eceff1 !important;
    color: #7a7f83;
}

.omega-unavailable a:not(.btn) {
    color: #747b80;
}
