html, body{
    height: 100%;
    width: 100%;
    overflow-x: hidden;
}

body {
    position: relative;
    margin: 0;
    padding: 0 0 100px 0 !important;
    display: table;
    font-weight: 100;
    font-family: 'Lato', sans-serif;
    background: url('../images/patterns/bg.png');
}

a {
    outline: none !important;
    text-decoration: none !important;
}

* {
    transition: text-shadow 0.3s ease,
        color 0.3s ease,
        transform 0.3s ease,
        border-color 0.5s ease,
        box-shadow 0.5s ease,
        background-color 0.5 ease;
}

footer {
    position: absolute;
    bottom: 0;
    text-align: center;
    width: 100%;
    margin-bottom: 10px;
}

h1, h2, h3, h4 {
    text-shadow: 1px 1px 1px gray;
}

h1.n, h2.n, h3.n {
    margin-top: 10px;
}

table {
    width: 100%;
    box-shadow: 1px 1px 2px black;
}

thead {
    background: -moz-linear-gradient(-45deg,  rgba(30,87,153,0.5) 0%, rgba(41,137,216,0.75) 50%, rgba(32,124,202,0.76) 51%, rgba(125,185,232,1) 100%);
    background: -webkit-linear-gradient(-45deg,  rgba(30,87,153,0.5) 0%,rgba(41,137,216,0.75) 50%,rgba(32,124,202,0.76) 51%,rgba(125,185,232,1) 100%);
    background: linear-gradient(135deg,  rgba(30,87,153,0.5) 0%,rgba(41,137,216,0.75) 50%,rgba(32,124,202,0.76) 51%,rgba(125,185,232,1) 100%);
    filter: progid:DXImageTransform.Microsoft.gradient( startColorstr='#801e5799', endColorstr='#7db9e8',GradientType=1 );
    color: white;
    text-shadow: 1px 1px 2px black;
}

tbody {
    background-image: linear-gradient(to bottom,rgba(255, 255, 255, 0.5) 0, rgba(248, 248, 248, 0.5) 100%);
}

tbody tr:nth-child(even) {
    background: -moz-linear-gradient(top,  rgba(255,255,255,0.5) 0%, rgba(241,241,241,0.75) 50%, rgba(225,225,225,0.76) 51%, rgba(246,246,246,1) 100%);
    background: -webkit-linear-gradient(top,  rgba(255,255,255,0.5) 0%,rgba(241,241,241,0.75) 50%,rgba(225,225,225,0.76) 51%,rgba(246,246,246,1) 100%);
    background: linear-gradient(to bottom,  rgba(255,255,255,0.5) 0%,rgba(241,241,241,0.75) 50%,rgba(225,225,225,0.76) 51%,rgba(246,246,246,1) 100%);
    filter: progid:DXImageTransform.Microsoft.gradient( startColorstr='#80ffffff', endColorstr='#f6f6f6',GradientType=0 );
}

th, td {
    border: 1px solid silver;
    padding: 5px 5px;
    vertical-align: middle !important;
}

textarea {
    height: 75px;
}

input, textarea {
    background: rgba(255, 255, 255, 0.75) !important;
}

.ltr, [name="email"] {
    direction: ltr;
    text-align: left;
    font-family: Helvetica, Arial;
}

.ltr-dir, [name="cellphone"], [name="phone"] {
    direction: ltr;
    text-align: left;
}

.ltr-font {
    font-family: Helvetica, Arial;
}

.content {
    display: inline-block;
}

.title {
    font-size: 60px;
}

.center {
    text-align: center;
    margin-left: auto;
    margin-right: auto;
}

.left {
    text-align: left;
}

.right  {
    text-align: right;
}

.top {
    vertical-align: top !important;
}

.middle {
    vertical-align: middle !important;
}

.bottom {
    vertical-align: bottom !important;
}

.text-top {
    vertical-align: text-top;
}

.text-bottom {
    vertical-align: text-bottom;
}

.full-width {
    width: 100%;
}

.full-height {
    height: 100%;
}

.max-width {
    max-width: 100%;
}

.max-height {
    max-height: 100%;
}

.full {
    width: 100%;
    height: 100%;
}

.half-width {
    width: 50%;
}

.half-height {
    height: 50%;
}

.half {
    width: 50%;
    height: 50%;
}

.inline {
    display: inline;
}

.inline-block {
    display: inline-block;
}

.inline-table {
    display: inline-table;
}

.block {
    display: block;
}

.line-through {
    text-decoration: line-through;
}

.marginless {
    margin: 0;
}

.paddingless {
    padding: 0 !important;
}

.borderless {
    border: none;
}

.underline {
    text-decoration: underline;
}

.nowrap {
    white-space: nowrap;
    text-overflow: ellipsis;
    overflow: hidden;
    max-width: calc(100%);
}

.font-lg {
    font-size: 1.6em;
    line-height: 0.8em;
    padding-top: 1px;
}

.font-md {
    font-size: 1.2em;
    line-height: 0.8em;
    padding-top: 1px;
}

.bold {
    font-weight: bold;
}

.regular {
    font-weight: normal;
}

.relative {
    position: relative;
}

span.subtitle {
    font-size: 0.6em;
    position: absolute;
    top: 100%;
    left: 58%;
    transform: translate(-50%, -50%);
    -webkit-transform: translate(-50%, -20%);
    -moz-transform: translate(-50%, -50%);
}

.hidden-overflow {
    overflow: hidden;
}

.visible-overflow-x {
    overflow-x: auto !important;
}

.table-fixed {
    table-layout: fixed;
}

.sticky {
    position: sticky;
    background: white;
    top: 0;
    box-shadow: 1px 1px 3px black;
}

.rotate45 {
    transform: rotate(45deg);
}

.rotate90 {
    transform: rotate(90deg);
}

.rotate180 {
    transform: rotate(180deg);
}

.text-shadow {
    text-shadow: 1px 1px 3px;
}

.blink {
    animation: blinker 1.5s linear infinite;
}

@keyframes blinker {
    50% { opacity: 0; }
}

.circle {
    border-radius: 50%;
    border: 1px solid;
    padding: 5px;
}

.visible-print {
    display: none;
}

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

.btn-primary,
.btn-success,
.btn-alert,
.btn-info {
    text-shadow: 1px 1px 1px gray;
}

a:hover, .btn:hover {
    text-shadow: 1px 1px 3px;
}

.btn-default:hover {
    text-shadow: 1px 1px 3px white;
}

.fa {
    vertical-align: sub;
}

.ltr-font .fa {
    vertical-align: baseline;
}

.btn .fa {
    vertical-align: middle;
}

.btn-xs .fa {
    vertical-align: top;
}

.logo-container {
    text-align: center;
    width: 100%;
    margin-bottom: 5px;
}

.logo-container img {
    width: 400px;
    max-width: 100%;
}

.logo:hover {
    transform: scale(1.15);
}

.auth-form .panel-body,
.form-container .panel-body {
    padding: 15px 50px;
}

.error {
    color: #a94442;
}

.div-group {
    margin-right: -15px;
    margin-left: -15px;
}

.custom-label {
    min-width: 100px;
    text-align: left;
    display: inline-block;
}

.sortable {
    cursor: grab;
}

.ui-sortable-handle {
    padding: 5px;
}

.ui-sortable-helper {
    cursor: move;
}

.table th i {
    font-size: 1.5em;
}

td.action {
    text-align: center;
}

td.action .btn {
}

td.action form,
td.action > a {
    display: inline-block;
}

.table .btn.has-input {
    padding: 5px 8px;
    margin: 0 2px;
    width: 32px;
}

.table .form-group {
    margin-bottom: 0;
}

.table td {
    vertical-align: middle !important;
}

.chosen-container,
.select2-container {
    width: 100% !important;
}

.has-error .chosen-default,
.has-error .select2-default {
    border-color: #a94442;
}

.user-list .chosen-container,
.user-list .select2-container {
    margin-bottom: 3px;
}

.select2-selection.select2-selection--single {
    outline: 0;
    height: 34px;
    padding-top: 2px;
}

.select2-selection__arrow {
    height: 34px;
    margin-top: 3px;
}

.form-group-xs .select2-selection.select2-selection--single {
    height: 24px;
    font-size: 0.8em;
}

.form-group-xs .select2-selection__rendered {
    line-height: 18px !important;
}

.form-group-xs .select2-selection__arrow {
    height: 22px;
    margin-top: -2px;
}

.w5  { width:  5%; }
.w10 { width: 10%; }
.w15 { width: 15%; }
.w20 { width: 20%; }
.w25 { width: 25%; }
.w30 { width: 30%; }
.w35 { width: 35%; }
.w40 { width: 40%; }
.w45 { width: 45%; }
.w50 { width: 50%; }
.w55 { width: 55%; }
.w60 { width: 60%; }
.w65 { width: 65%; }
.w70 { width: 70%; }
.w75 { width: 75%; }
.w80 { width: 80%; }
.w85 { width: 85%; }
.w90 { width: 90%; }
.w95 { width: 95%; }

.icon16 { width: 16px; height: 16px; }
.icon24 { width: 24px; height: 24px; }
.icon32 { width: 32px; height: 32px; }
.icon36 { width: 36px; height: 36px; }
.icon48 { width: 48px; height: 48px; }
.icon64 { width: 64px; height: 64px; }

.iconw16 { width: 16px; }
.iconw24 { width: 24px; }
.iconw32 { width: 32px; }
.iconw36 { width: 36px; }
.iconw48 { width: 48px; }
.iconw64 { width: 64px; }

.jdatetime {
    direction: ltr;
    text-align: right;
}

.panel-action {
    margin: 0 2px;
}

.red {
    color: #cf1075 !important;
}

.green {
    color: #299a0b !important;
}

.blue {
    color: #258dc8 !important;
}

.yellow {
    color: #FEBF01 !important;
}

.gray {
    color: gray !important;
}

.silver {
    color: silver !important;
}

.black {
    color: #333 !important;
}

.white {
    color: white !important;
}

.white-bg {
    background: white !important;
}

.white-shadow {
    text-shadow: 1px 1px 2px gray;
}

.has-border-bottom {
    border-bottom: 1px solid silver;
    padding-bottom: 3px;
}

.brand-logo {
    width: 36px;
    height: 36px;
}

.image-box {
    box-shadow: 1px 1px 3px black;
    max-width: 100%;
}

.image-box:hover {
    box-shadow: 1px 1px 5px blue;
}

.clear-image {
    position: absolute;
    top: 0;
    right: 0;
    z-index: 10;
}

.image-container {
    display: inline-block;
    position: relative;
}

.car-image {
    width: 256px;
    max-width: 60vw;
    margin-top: 5px;
}

.car-secondary-image {
    width: 80px;
    margin: 10px 3px;
}

.dealer-logo {
    width: 128px;
}

td .dealer-logo {
    width: 36px;
}

.role-select {
    width: 100px;
}

#instalment-row-1, #instalment-row-2 {
    display: none;
}

#map {
    width: 100%;
    height: 50vh;
}

.hidden-row {
    display: none;
}

.box {
    box-shadow: 1px 1px 3px black;
    display: flex;
    padding: 5px;
    margin: 5px 0;
}

.box:hover {
    box-shadow: 1px 1px 5px blue;
}

.box .row {
    width: 100%;
    margin: 0;
}

.preview-box {
    background: white;
    position: relative;
}

.preview-box .header {
    color: #337ab7;
}

.box-image-container {
    height: 160px;
    width: 240px;
    text-align: center;
    max-width: 100%;
    position: relative;
}

.box-image-container a {
    position: relative;
}

.box-image-container img {
    height: 100%;
    width: 100%;
}

.box-image-container .box-header,
.box-image-container .box-footer {
    position: absolute;
    color: white;
    padding-bottom: 3px;
    background: rgba(0, 0, 0, 0.75);
    width: 100%;
}

.box-image-container .box-header {
    top: 0;
}

.box-image-container .box-footer {
    bottom: 0;
}

.box-image-container .country-flag {
    width: 24px;
    height: 24px;
    position: absolute;
    right: 2px;
    top: -70px;
}

.box-image-container .action-container {
    position: absolute;
    left: 0;
    top: 0;
    background: rgba(0, 0, 0, 0.3);
    padding: 0 3px;
}

.box-image-container .action-container a {
    color: #DDD;
    margin: 0 1px;
}

.box-image-container .action-container a:hover {
    color: white;
    text-shadow: 1px 1px 3px black;
}

.box-image-container .not-confirmed-flag {
    position: absolute;
    background: rgba(204, 0, 0, 0.75);
    color: white;
    text-shadow: 1px 1px 1px black;
    box-shadow: -1px 1px 3px black;
    top: -70px;
    right: 3px;
    padding: 0 8px;
}

.preview .btn-success {
    display: none;
}

.preview-icon {
    width: 36px;
    text-align: center;
}

.hidden-group-2 {
    display: none;
}

.search-subtitle {
    margin: -15px 10px 10px;
}

.range-op {
    margin: 3px 0 0 0;
}

.search-list {
    text-align: right;
    margin-right: 10px;
}

.empty-search-field {
    margin: 5px auto;
}

.has-top-br {
    margin-top: 10px;
}

.has-bottom-br {
    margin-bottom: 10px;
}

.loading {
    width: 100%;
    text-align: center;
    font-size: 3em;
    color: #258dc8;
    text-shadow: 1px 1px 5px;
    display: none;
}

.notification-label {
    width: 72px;
    text-align: left;
}

.simple-search-notify {
    margin-left: 4px;
}

.breadcrumb-container {
    border-bottom: 1px solid #DDD;
    margin-bottom: 5px;
}

.car-details-container label {
    text-align: left;
    font-size: 0.8em;
}

.car-details-container .actions {
    margin-top: 10px;
    padding-bottom: 10px;
}

.car-details-container .actions a {
    margin: 0 10px;
}

#car-slider {
    max-width: 100%;
}

.default-car-image {
    width: 100%;
    height: 100%;
}

.country-flag {
    width: 36px;
}

.alert-validator {
    margin-top: 10px;
    margin-bottom: 0;
}


.spam-report-link .subtitle {
    left: 52%;
}

.has-captcha {
    margin-top: 10px;
    margin-bottom: 5px;
}

.has-captcha .form-control {
    width: 50%;
    display: inline;
}

.has-captcha .input-group-addon {
    padding: 0;
}

.captcha-container {
    display: none;
}

.catalog-thumb {
    height: 36px;
    margin-right: 5px;
}

.catalog-container {
    display: inline-grid;
    margin: 20px;
}

.image-uploader {
    padding-top: 10px;
    padding-right: 5px;
}

.remove-image {
    position: absolute;
    top: -5px;
    right: 0;
    z-index: 10;
    line-height: 0;
}

.modal-dialog {
    max-width: 100vw;
}

.catalog-detail {
    margin-top: 10px;
    -webkit-user-select: none;
    -khtml-user-select: none;
    -moz-user-select: none;
    -ms-user-select: none;
    -o-user-select: none;
    user-select: none;
}

table.catalog-table {
    margin-top: 5px;
}

table.catalog-table tr {
    background: #f0f8fc;
}

table.catalog-table tr td:first-child {
    background: #e0e8ec;
}

table.catalog-table.simple tr {
    background: white;
}

table.catalog-table.simple tr td:first-child {
    display: none;
}

.glass-shield {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: 10000;
}

.catalog-delete-link {
    position: absolute;
    top: 5px;
    right: 25px;
    width: 25px;
    height: 25px;
    padding-top: 1px;
    display: none;
    z-index: 1000;
}

.single-btn {
    width: 125px;
}

.collapse-link {
    margin-right: 2px;
}

.collapse-link i {
    font-size: 1.5em;
}

.exchange-icon {
    position: absolute;
    top: 5px;
    left: 0;
    width: 24px;
    height: 24px;
    text-align: center;
}

.exchange-label {
    position: absolute;
    top: 103px;
    left: 14px;
    height: 24px;
    text-align: right;
    width: 80px;
    color: gray;
    font-size: 0.9em;
    transform: rotate(-90deg);
    transform-origin: center left;
    text-shadow: 1px 1px 1px silver;
}

.exchange-container-h {
    margin: 7px 5px;
}

.exchange-row {
    color: white;
    text-shadow: 1px 1px 1px black;
    line-height: 30px;
    position: absolute;
    left: 0;
    bottom: 0;
    width: 100%;
    min-height: 70px;
    transform-origin: bottom center;
    transform: perspective(18em) rotateX(90deg);
    transition: all 0.5s ease;
    text-align: center;
    padding-top: 5px;
    padding-bottom: 5px;
    /* Permalink - use to edit and share this gradient: http://colorzilla.com/gradient-editor/#959595+0,0d0d0d+46,010101+50,0a0a0a+53,4e4e4e+76,383838+87,1b1b1b+100&0.95+0,0.85+100;Black+Gloss+Pipe */
    background: -moz-linear-gradient(-45deg,  rgba(149,149,149,0.95) 0%, rgba(13,13,13,0.9) 46%, rgba(1,1,1,0.9) 50%, rgba(10,10,10,0.9) 53%, rgba(78,78,78,0.88) 76%, rgba(56,56,56,0.87) 87%, rgba(27,27,27,0.85) 100%); /* FF3.6-15 */
    background: -webkit-linear-gradient(-45deg,  rgba(149,149,149,0.95) 0%,rgba(13,13,13,0.9) 46%,rgba(1,1,1,0.9) 50%,rgba(10,10,10,0.9) 53%,rgba(78,78,78,0.88) 76%,rgba(56,56,56,0.87) 87%,rgba(27,27,27,0.85) 100%); /* Chrome10-25,Safari5.1-6 */
    background: linear-gradient(135deg,  rgba(149,149,149,0.95) 0%,rgba(13,13,13,0.9) 46%,rgba(1,1,1,0.9) 50%,rgba(10,10,10,0.9) 53%,rgba(78,78,78,0.88) 76%,rgba(56,56,56,0.87) 87%,rgba(27,27,27,0.85) 100%); /* W3C, IE10+, FF16+, Chrome26+, Opera12+, Safari7+ */
    filter: progid:DXImageTransform.Microsoft.gradient( startColorstr='#f2959595', endColorstr='#d91b1b1b',GradientType=1 ); /* IE6-9 fallback on horizontal gradient */
}

.preview-box:hover .exchange-row {
    transform: rotateX(0deg);
}

.exchange-page .preview-box {
}

.exchange-page .exchange-row {
    transform: rotateX(0deg);
}

.exchange-page .preview-box:hover .exchange-row {
    transform: perspective(18em) rotateX(90deg);
}

.search-checkbox-container > .checkbox {
    margin-top: -2px;
}

.vspacer {
    margin-top: 8px;
}

.fa-phone {
    transform: rotateY(180deg);
}

.marquee-container {
    background: white;
    box-shadow: 1px 1px 3px silver;
    position: relative;
    height: 80px;
    text-align: center;
    margin: 0 -5px 15px -5px;
}

.marquee {
    width: 90vw;
    max-width: 100%;
    min-width: 100%;
    overflow: hidden;
    direction: ltr;
}

.marquee-item {
    width: 300px;
    height: 80px;
    display: inline-block;
    text-align: center;
    color: gray;
}

.marquee-item .diff-percent {
    font-size: 1.5em;
    height: 40px;
    width: 100%;
    border-bottom: 1px solid skyblue;
    font-family: Helvetica, Arial;
    vertical-align: middle;
}

.marquee-item .percent {
    color: silver;
    font-size: 0.8em;
}

.marquee-item .model-title {
    font-size: 0.9em;
    margin-top: 8px;
}

.fade-right,
.fade-left {
    position: absolute;
}

.fade-left {
    left: 0;
}

.fade-right {
    right: 0;
}

.marquee-container .fade-left,
.marquee-container .fade-right {
    width: 15%;
    height: 80px;
}

.popover-close {
    position: absolute !important;
    left: 50%;
    top: -5px;
    transform: translateX(-50%);
    font-size: 0.5em;
    color: silver;
    margin: 0 !important;
}

.form-label {
    margin-right: 5px;
    font-size: 0.8em;
    line-height: 1em;
    margin-bottom: 3px;
}

.profile-picture {
    width: 100px;
    height: 100px;
}

.profile-icon {
    width: 42px;
    height: 42px;
    border-radius: 50%;
    box-shadow: 1px 1px 3px gray;
    float: right;
    margin: -12px 5px;
}

.profile-icon-link {
    display: inline-block !important;
}

.del-container {
    position: absolute;
    top: -10px;
    right: -8px;
}

.del-container .fa-remove {
    color: silver;
    font-size: 1.3em;
}

.del-container .fa-remove:hover {
    color: #cf1075;
}

.sidebar {
    position: absolute;
    width: 200px;
    max-width: calc(100vw - 50px);
    z-index: 100;
    top: 0;
    color: white;
    padding: 10px 15px;
    right: -200px;
    /* Permalink - use to edit and share this gradient: http://colorzilla.com/gradient-editor/#5e5e5e+0,0d0d0d+46,010101+50,0a0a0a+53,4e4e4e+76,1b1b11+81,383838+87,1b1b1b+100&0.9+0,0.9+100 */
    background: -moz-linear-gradient(-45deg,  rgba(94,94,94,0.9) 0%, rgba(13,13,13,0.9) 46%, rgba(1,1,1,0.9) 50%, rgba(10,10,10,0.9) 53%, rgba(78,78,78,0.9) 76%, rgba(27,27,17,0.9) 81%, rgba(56,56,56,0.9) 87%, rgba(27,27,27,0.9) 100%); /* FF3.6-15 */
    background: -webkit-linear-gradient(-45deg,  rgba(94,94,94,0.9) 0%,rgba(13,13,13,0.9) 46%,rgba(1,1,1,0.9) 50%,rgba(10,10,10,0.9) 53%,rgba(78,78,78,0.9) 76%,rgba(27,27,17,0.9) 81%,rgba(56,56,56,0.9) 87%,rgba(27,27,27,0.9) 100%); /* Chrome10-25,Safari5.1-6 */
    background: linear-gradient(135deg,  rgba(94,94,94,0.9) 0%,rgba(13,13,13,0.9) 46%,rgba(1,1,1,0.9) 50%,rgba(10,10,10,0.9) 53%,rgba(78,78,78,0.9) 76%,rgba(27,27,17,0.9) 81%,rgba(56,56,56,0.9) 87%,rgba(27,27,27,0.9) 100%); /* W3C, IE10+, FF16+, Chrome26+, Opera12+, Safari7+ */
    filter: progid:DXImageTransform.Microsoft.gradient( startColorstr='#e65e5e5e', endColorstr='#e61b1b1b',GradientType=1 ); /* IE6-9 fallback on horizontal gradient */
    min-height: 100%;
}

.sidebar a {
    color: white;
}


.sidebar-toggle {
    position: fixed;
    right: -6px;
    top: 50%;
    color: white !important;
    font-size: 1.2em;
    width: 30px;
    border-radius: 50%;
    text-align: center;
    line-height: 30px;
    background: rgba(50, 50, 50, 0.9);
    transform: rotate(-90deg);
}

.sidebar.open .sidebar-toggle {
    transform: rotate(90deg);
}

.sidebar-toggle i {
    vertical-align: baseline;
}

.sum-list {
    margin-top: 10px;
}

.sum-header {
    font-weight: bold;
    padding-bottom: 3px;
    border-bottom: 1px solid silver;
}

.sum-item {
}

.sum-more,
.sum-less {
    display: none;
}
