/* global */

@import "slick-default-theme.css";
@import "choices.css";
* {
  /*font-family: Tahoma;*/
  /* font-family: Verdana, Geneva, Tahoma, sans-serif; */
  font-family: Arial, Verdana, Helvetica, sans-serif;
  font-weight: normal;
  font-size: 10pt;
}

:root {
  --main-bg-color: rgb(235, 235, 235);
  --secondary-bg-color: rgb(226, 226, 226);
  --tertiary-bg-color: rgb(242, 242, 242);
  --base-blue-color: #4285f4;
  --to-display:none;
}

@-webkit-keyframes autofill {
  to {
    color: #666;
    background: transparent;
  }
}

@keyframes autofill {
  to {
    color: #666;
    background: transparent;
  }
}

input:-webkit-autofill {
  -webkit-animation-name: autofill;
  animation-name: autofill;
  -webkit-animation-fill-mode: both;
  animation-fill-mode: both;
}

input:focus::placeholder {
  color: transparent;
  font-size: 0px;
}
input:focus::-webkit-input-placeholder {
  color: transparent;
  font-size: 0px;
}
input:focus:-moz-placeholder {
  color: transparent;
  font-size: 0px;
} 
input:focus::-moz-placeholder {
  color: transparent;
  font-size: 0px;
} 
input:focus:-ms-input-placeholder {
  color: transparent;
  font-size: 0px;
}

/* removing arrows in number inputs for: Chrome, Safari, Edge, Opera */

input::-webkit-outer-spin-button,
input::-webkit-inner-spin-button {
  -webkit-appearance: none;
  margin: 0;
}

/* removing arrows in number inputs for: Firefox */

input[type="number"] {
  -moz-appearance: textfield;
}

/* end of global */

/* css custom elements */

/* text with line */

.strike {
  display: block;
  text-align: center;
  overflow: hidden;
  white-space: nowrap;
  margin-bottom: 0.5rem;
}

.strike > span {
  position: relative;
  display: inline-block;
}

.strike > span:before,
.strike > span:after {
  content: "";
  position: absolute;
  top: 50%;
  width: 9999px;
  height: 1px;
}

.strike > span:before {
  right: 100%;
  margin-right: 15px;
}

.strike > span:after {
  left: 100%;
  margin-left: 15px;
}

/* end */

/* vertical_line */

.vertical_line {
  height: auto;
  display: block;
  text-align: center;
  overflow: hidden;
  white-space: nowrap;
  margin-top: 10px;
  margin-bottom: 20px;
  margin-left: 5px;
}

.vertical_line > span {
  position: relative;
  display: inline-block;
}

/* end */

/* end of css custom elements */

/* ------------------------------------------------------------------------------------------------------------------------------------------------------------ */

/* large scale changes */

#whole_damn_thing {
  margin-top: 0.7%;
}

#select_country {
  margin: 0 auto;
  /* margin-left: 0 auto; */
  /*justify-content: space-evenly;*/
}

#select_country_driverama {
  margin: 0 auto;
  /* margin-left: 0 auto; */
  /*justify-content: space-evenly;*/
}

#myGrid_sales {
  background-color: var(--main-bg-color);
  -webkit-box-shadow: 0 5px 11px 0 rgba(0, 0, 0, 0.18), 0 4px 15px 0 rgba(0, 0, 0, 0.15);
  box-shadow: 0 5px 11px 0 rgba(0, 0, 0, 0.18), 0 4px 15px 0 rgba(0, 0, 0, 0.15);
}

#myGrid_stock {
  background-color: var(--main-bg-color);
  -webkit-box-shadow: 0 5px 11px 0 rgba(0, 0, 0, 0.18), 0 4px 15px 0 rgba(0, 0, 0, 0.15);
  box-shadow: 0 5px 11px 0 rgba(0, 0, 0, 0.18), 0 4px 15px 0 rgba(0, 0, 0, 0.15);
}

#filter_left {
  background-color: var(--main-bg-color);
  -webkit-box-shadow: 0 5px 11px 0 rgba(0, 0, 0, 0.18), 0 4px 15px 0 rgba(0, 0, 0, 0.15);
  box-shadow: 0 5px 11px 0 rgba(0, 0, 0, 0.18), 0 4px 15px 0 rgba(0, 0, 0, 0.15);
  margin: 0 auto;
}

#filter_right {
  background-color: var(--main-bg-color);
  -webkit-box-shadow: 0 5px 11px 0 rgba(0, 0, 0, 0.18), 0 4px 15px 0 rgba(0, 0, 0, 0.15);
  box-shadow: 0 5px 11px 0 rgba(0, 0, 0, 0.18), 0 4px 15px 0 rgba(0, 0, 0, 0.15);
  align-items: flex-end;
}

#row_fltrs_rght {
  margin: 0 auto;
  display: flex;
  justify-content: space-evenly;
}

#graphs {
  background-color: var(--main-bg-color);
}

.md-form.md-outline {
  position: center;
  margin-top: 0.3rem;
  margin-bottom: 0.3rem;
  color: black;
  /* min-height: 30px;
  max-height: 30px; */
}

.choice_position_formatter {
  position: center;
  margin-top: 0.3rem;
  margin-bottom: 0.3rem;
}

.choice_position_center {
margin-top: 2rem;
}

.btn.btn-sm {
  /* padding: .5rem 1.6rem; */
  /* font-size: 1.64rem; */
  /* margin-top: 0.9rem; */
  margin-bottom: 0.9rem;
  /* margin-left: auto;
  margin-right: auto; */
}

.rly_s_h {
  font-size: 0.8rem;
}

.rly_s_h_2 {
  font-size: 0.8rem;
  text-align: center;
  float: center;
  margin-left: -10px;
  /* margin-top: 2px; */
  margin-bottom: 3px;
}

.rly_m_h {
  font: 0.85rem;
}

/* end of large scale changes */

/* ------------------------------------------------------------------------------------------------------------------------------------------------------------ */

/* individual changes per div / div groups */

/* both parts */

/* KPIs (down left + up right )  */
#WP,
#MST,
#ADS,
#metal,
#ist,
#leasing,
#brand,
#mpres,
#rcbp,
#policy,
#stock_cnt_results,
#sales_cnt_results,
#metal_avg,
#invoice_avg,
#leasing_pen_avg,
#semaphore,
#st_30d {
  background-color: var(--secondary-bg-color);
  color: var(--KPI-main-text-color); /* selected in pricing_light/dark.css  */
}

/* Pricing + dates  */
#sp,
#bp,
#km,
#spz,
#date_to,
#date_from,
#kwfrom,
#kwto,
#spto,
#spfrom,
#txtvendor,
#year_to,
#year_from,
#km_to,
#km_from,
#buy_date_from,
#buy_date_to,
#driverama_input,
#driverama_sp_input {
  background-color: var(--tertiary-bg-color);
  color: var(--Prices-dates-text-color); /* selected in pricing_light/dark.css  */
}

/* #WP_upper.md-form.md-outline label.active, #MST_upper.md-form.md-outline label.active, 
#ADS_upper.md-form.md-outline label.active, #metal_upper.md-form.md-outline label.active, 
#ist_upper.md-form.md-outline label.active, #leasing_upper.md-form.md-outline label.active, 
#brand_upper.md-form.md-outline label.active, #mpres_upper.md-form.md-outline label.active, 
#rcbp_upper.md-form.md-outline label.active, #policy_upper.md-form.md-outline label.active, 
#stock_cnt_results_upper.md-form.md-outline label.active, #sales_cnt_results_upper.md-form.md-outline label.active, 
#metal_avg_upper.md-form.md-outline label.active, #invoice_avg_upper.md-form.md-outline label.active, 
#leasing_pen_avg_upper.md-form.md-outline label.active, #st_30d_upper.md-form.md-outline label.active,
#sp.md-form.md-outline label.active {
  background-color: transparent;
  color: black;
} */

.md-form.md-outline label.active {
  /* Auto shifting labels (SP, BP, SPZ, KM, Vendor ...)  */
  background-color: transparent; 
  color: var(--binded-labels-color); 
  transform: translateY(-17px) scale(0.8);
}

.md-form.md-outline label {
  /* placeholder -Auto shifting  (SP, BP, SPZ, KM, Vendor...) */
  color: var(--placeholder-color);
}

/* ------------------------------------------------------------------------------------------------------------------------------------------------------------ */

/* left part */

#radio_sb {
  margin-top: 0.5rem;
}

.row_margin {
  margin-top: 0.6rem;
  margin-bottom: 0.6rem;
}

.row_margin_upper {
  margin-top: 0.6rem;
}

.row_margin_bottom {
  margin-bottom: 0.6rem;
}

#btnCalcWebService,
#ResetForm {
  min-width: 60px;
}

#filter_button, #driverama_button {
  justify-content: center;
  margin-top: 2px;
  margin-bottom: -6px;
}
#sales_button {
  justify-content: center;
  margin-top: -7px;
  margin-bottom: -6px;
}

#additional_model_make_select {
  justify-content: center;
  margin: auto;
}

#mst_label {
  font-size: 12px;
}
/* ------------------------------------------------------------------------------------------------------------------------------------------------------------ */

/* right part */

#third_row_filters {
  margin: 0 auto 5 auto;
  display: flex;
  /* justify-content: space-evenly; */
  justify-content: center;
  /* margin-bottom: 5px; */
}

#strike_filters_kpi {
  margin-top: 6.5px;
}

#strike_stock {
  margin-top: 15px;
}

#strike_sales {
  margin-top: 15px;
}

#myGrid_stock {
  z-index: 0;
  position: relative;
}

#fltr_rgt_clmn1,
#fltr_rgt_clmn2 {
  width: 150px;
}

#fltr_rgt_clmn1_spacer2 {
  margin-bottom: 0.5rem;
}

#fltr_rgt_clmn2_spacer2 {
  margin-bottom: 0.85rem;
}

#fltr_rgt_clmn1_spacer,
#fltr_rgt_clmn2_spacer {
  margin-bottom: 4px;
}

#date_from {
  /*margin-bottom: -.26rem;*/
  min-height: 31px;
  max-height: 32px;
  width: 100px;
}

#date_to {
  /*margin-top: .8rem;*/
  min-height: 31px;
  max-height: 32px;
  width: 100px;
}

/* #KWFrom , #KWTo {
  width: 70px;
} */

/* .int-inputs {
  max-width: 80px !important;
  min-width: 50px !important;
} */
/*
.choices {
 margin-bottom: .5rem;

} */

/* Media screen changes */

/* 
@media only screen and (max-width: 1900px) {

  #fltr_rgt_clmn1, #fltr_rgt_clmn2 {
    width: 110px;
  }
} */

@media only screen and (max-width: 1600px) {
  #date_from {
    /* margin-bottom: -1.326rem; */
    min-height: 32px;
    max-height: 32px;
    min-width: 100px;
  }
  #date_to {
    min-height: 32px;
    max-height: 32px;
    min-width: 100;
  }
  #fltr_rgt_clmn1,
  #fltr_rgt_clmn2 {
    width: 80px;
  }
}

.slick-footerrow-column {
  background: transparent;
  text-align: right;
}

.slick-footerrow-column.ui-state-default {
  min-height: 25px;
  margin: 0;
  padding: 5px;
  /* font-size: 1.05rem; */
  /* background-color: #4285F4; */
  /* text-align: center; */
}

.slick-cell,
.slick-headerrow-column,
.slick-footerrow-column {
  /* text-align: center; */
  border-right: 1px solid #e6e6e6;
  border-bottom: 1px solid #e6e6e6;
}

/* .slick-header-column {
   text-align: center; 
} */

.ui-widget-header {
  border: 1px solid #aaaaaa;
  background: #4285f4 50% 50% repeat-x;
  color: #222222;
  font-weight: bold;
}

.slick_cell_number {
  text-align: right;
  /* font-size: xx-large;
  color: red; */
}

.slick_cell_symbol {
  text-align: center;
}

.Beige {
  background-color: beige;
  opacity: var(--cell-colors-opacity);
}

.Black {
  background-color: black;
  color: white;
  opacity: var(--cell-colors-opacity);
}

.Blue {
  background-color: blue;
  opacity: var(--cell-colors-opacity);
}

.Brown {
  background-color: #deb887;
  opacity: var(--cell-colors-opacity);
}

.Gold {
  background-color: gold;
  opacity: var(--cell-colors-opacity);
}

.Green {
  background-color: #aaffaa;
  opacity: var(--cell-colors-opacity);
}

.Grey {
  background-color: grey;
  opacity: var(--cell-colors-opacity);
}

.Orange {
  background-color: orange;
  opacity: var(--cell-colors-opacity);
}

.Pink {
  background-color: pink;
  opacity: var(--cell-colors-opacity);
}

.Purple {
  background-color: purple;
  opacity: var(--cell-colors-opacity);
}

.Red {
  background-color: red;
  opacity: var(--cell-colors-opacity);
}

.Silver {
  background-color: silver;
  opacity: var(--cell-colors-opacity);
}

.White {
  background-color: whitesmoke;
  opacity: var(--cell-colors-opacity);
}

.Wine {
  background-color: #722f37;
  opacity: var(--cell-colors-opacity);
}

.Yellow {
  background-color: yellow;
  opacity: var(--cell-colors-opacity);
}

.commisional {
  background-color: #facc8d !important;
}

.mototechna-kolb{
  background-color: rgba(245, 155, 238, 0.63) !important;
}

.premium-plus-fresh {
  background-color: #FFD700 !important;
}

.arranged-sale {
  background-color: #ff7b7b !important;
}

.col-10 {
  padding-left: 7.5px;
}

.col-2 {
  padding-right: 7.5px;
}

/* width */
::-webkit-scrollbar {
  width: 5px;
  height: 10px;
}

/* Track */
::-webkit-scrollbar-track {
  background: #888;
}

/* Handle */
::-webkit-scrollbar-thumb {
  background: #888;
}

/* Handle on hover */
::-webkit-scrollbar-thumb:hover {
  background: #555;
}

/* To stretch table screenshot */
.image_fill_div {
  /* height: 70; */
  width: inherit;
  object-fit: cover;
  align-self: center;
  float: center;
}

.chck_margins {
  margin: 0 4.5px 0 4.5px;
}

#driverama_price {
  /* padding-top: 10px;
  padding-bottom:  10px; */
  margin-top: 8px;
}


/* #driverama_input {
  padding-top: 8px;
  padding-bottom: 8px;
  margin-top: -3px;
} */

#form_kpi {
  margin-top: -15px;
  margin-bottom: 0.1px;
}
#row_c_m_s {
  margin-top: -15px;
}

.swal-modal {
  background-color: var(--tertiary-bg-color);
}

.reallyHidden { display: var(--to-display) !important;}


legend {
  font-size: 0.8rem;
  text-align: center;
}

.choices .choices__list .choices__list .choices__item--disabled { text-indent: -9999px; height: 0; width: 0; padding: 0; }


.market-button {
  background-color: #4285f4 !important;
  border-color: #4285f4 !important;
  color: white;
}