@font-face {
    font-family: 'nissan-brand';
    font-style: normal;
    font-weight: 400;
    src: url('../fonts/nissanbrand/nissanbrand_regular-webfont.eot');
    src: url('../fonts/nissanbrand/nissanbrand_regular-webfont.eot?#iefix') format('embedded-opentype'),
         url('../fonts/nissanbrand/nissanbrand_regular-webfont.woff2') format('woff2'),
         url('../fonts/nissanbrand/nissanbrand_regular-webfont.woff') format('woff'),
         url('../fonts/nissanbrand/nissanbrand_regular-webfont.ttf') format('truetype');
}
@font-face {
    font-family: 'nissan-brand';
    font-style: bold;
    font-weight: 700;
    src: url('../fonts/nissanbrand/nissanbrand_bold-webfont.eot');
    src: url('../fonts/nissanbrand/nissanbrand_bold-webfont.eot?#iefix') format('embedded-opentype'),
         url('../fonts/nissanbrand/nissanbrand_bold-webfont.woff2') format('woff2'),
         url('../fonts/nissanbrand/nissanbrand_bold-webfont.woff') format('woff'),
         url('../fonts/nissanbrand/nissanbrand_bold-webfont.ttf') format('truetype');
}
* {
  font-family: 'nissan-brand', 'Chakra Petch', sans-serif;
/*  font-family: sans-serif;*/
/*  font-family: 'Sarabun', ;*/
/*  font-family: 'Sarabun', 'Chakra Petch', 'Kanit', sans-serif;*/
}

/* Bank */
.vh80 {height: calc(80vh - 50px)}
.demo_avg_sm {font-size: 4vh !important;}
.demo_avg_big {font-size: 7vh !important;}
.demo_avg_desc {font-size: 1.5vh !important;}
.h-50 {height: 50% !important;}
.text-bold {font-weight: bold !important;} 

.f-sarabun { font-family: 'Sarabun', sans-serif !important; }
.f-prompt { font-family: 'Prompt', sans-serif !important; }

.fs-10 { font-size: 10px; }
.fs-12 { font-size: 12px; }
.fs-14 { font-size: 14px; }
.fs-16 { font-size: 16px; }
.fs-18 { font-size: 18px; }
.fs-20 { font-size: 20px; }
.fs-22 { font-size: 22px; }
.fs-24 { font-size: 24px; }
.fs-26 { font-size: 26px; }
.fs-28 { font-size: 28px; }

.fs-30 { font-size: 30px; }
.fs-32 { font-size: 32px; }
.fs-34 { font-size: 34px; }
.fs-36 { font-size: 36px; }

.fs-40 { font-size: 40px; }
.fs-48 { font-size: 48px; }
.fs-54 { font-size: 54px; }
.fs-60 { font-size: 60px; }

.text-gradient {
  background: #FFFFFF;
  background: linear-gradient(to left, #FFFFFF 0%, #FF0000 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
/*  background-image: linear-gradient(to right, #870000 0%, #190A05  51%, #870000  100%);*/
}

.border-right-style-dotted { border-right-style: dotted !important;}

/* Select 2 */
.select2-results__option[aria-selected=true] {
    background-color: #DDD !important;
    color: #000;
}
.select2-container--default .select2-selection--multiple .select2-selection__choice,
.select2-container--default .select2-selection--single .select2-selection__choice, {
    background-color: #28a745;
    border-color: #3d9970;
}


.select2-results__option.select2-results__option--highlighted{
/*  background-color: #FFCDD2 !important;*/
  background-color: #DDD !important;
}
.select2-results__option.select2-results__option--highlighted:active,
.select2-results__option[aria-selected=true]{
  background-color: #CCC !important;
  /*background-color: #EF5350 !important;
  color: white;*/
}
.select2-selection__placeholder{
  color: white !important;
}
/*
.select2-results__option.select2-results__option--highlighted:active,
.select2-results__option[aria-selected=true]
{
  background-color: #B42225 !important;
  color: white;
}
.select2-selection__arrow,
.select2-selection__placeholder {
  color: white !important;
}
span.selection > span {
  background-color: #B42225;
  color: white;
  border-color: white;
}
*/

/* Bootstrap Multiselect */
.multiselect-item .form-check-label {
  font-weight: 400;
}
.multiselect-group {
  border-top: 1px dash #ccc;
}
.multiselect-group .form-check-label {
  font-weight: 700;
}
#search_form > div > div.col-md-3.col-lg-3.mb-1 > span > div > div > div:nth-child(6) > label > span{
  
}


/* Based */
.card-body .bg-white {
  overflow: auto;
}

@media only screen and (max-width: 1440px) {
  .box_nationwide {
    flex-direction: column !important;
  }

  .box_nationwide .media-body {
    width: 100%;
    text-align: center !important;
  }
}

.overlay {
  opacity: 0.3;
}

.modal-backdrop {
    display: none !important;    
}

.chartsGroups { white-space: nowrap; overflow-x: auto; display:block; }
.chartsGroups div.col-md-4 { display:inline-block; float:none; }

.multiselect-search{
  padding-left: 40px !important;
}

.ck-editor__editable_inline:not(.ck-comment__input *) {
    height: 300px;
    overflow-y: auto;
}


/* Custom Background Color */
.bg-dark-blue { background-color: #000046; }
.bg-grad-pink { background-image: linear-gradient(to right, #DD5E89 0%, #F7BB97  51%, #DD5E89  100%); }
.bg-grad-blue { background-image: linear-gradient(to right, #000046 0%, #1CB5E0  51%, #000046  100%); }
.bg-grad-red  { background-image: linear-gradient(to right, #e52d27 0%, #b31217  51%, #e52d27  100%); }
/*.bg-grad-red  { background: rgb(25,10,5); background: linear-gradient(135deg, rgba(25,10,5,1) 0%, rgba(106,0,0,1) 50%, rgba(135,0,0,1) 100%); }*/

.btn-grad-pink {
  background-image: linear-gradient(to right, #DD5E89 0%, #F7BB97  51%, #DD5E89  100%);
  text-align: center;
  transition: 0.5s;
  background-size: 200% auto;
  color: white;            
  box-shadow: 0 0 20px #eee;
  border-radius: 10px;
}
.btn-grad-pink:hover {
  background-position: right center; /* change the direction of the change here */
  color: #fff;
  text-decoration: none;
}
.btn-grad-blue {
  background-image: linear-gradient(to right, #000046 0%, #1CB5E0  51%, #000046  100%);
  text-align: center;
  transition: 0.5s;
  background-size: 200% auto;
  color: white;
  box-shadow: 0 0 20px #eee;
  border-radius: 10px;
}
.btn-grad-blue:hover {
  background-position: right center; /* change the direction of the change here */
  color: #fff;
  text-decoration: none;
}
.btn-grad-red {
  background-image: linear-gradient(to right, #870000 0%, #190A05  51%, #870000  100%);
  text-align: center;
  transition: 0.5s;
  background-size: 200% auto;
  color: white;            
  box-shadow: 0 0 20px #eee;
  border-radius: 10px;
}
.btn-grad-red:hover {
  background-position: right center; /* change the direction of the change here */
  color: #fff;
  text-decoration: none;
}

/* Progress Bar */
.pp-progress{
  height: 80px;
  margin-bottom: 10px;
  background-color: transparent;
}
.pp-progress .progress-bar{
/*  border-radius: 5px;*/
  position: relative;
  top: 0;
  left: 0;
  line-height: 80px;
  overflow: visible;
  overflow-wrap: break-word;
/*    animation: animate-positive 2s;*/
}
.pp-progress .progress-icon{
  padding: 0px;
  position: absolute;
  top: 12%;
  left: 0;
}
.pp-progress .progress-value{
  color: #fff;
  padding: 0 15px;
  position: absolute;
  top: 0;
  right: 0;
}
.pp-progress .title{
  position: absolute;
  top: 0;
  text-align: left;
  color: #000;

  border: 1px solid #000;
  width: 150px;
  display: block;
  word-wrap: break-word;
  white-space: normal;
}


.circle-progress {
  width: 150px;
  height: 150px;
  background: none;
  position: relative;
}
.circle-progress::after {
  content: "";
  width: 100%;
  height: 100%;
  border-radius: 50%;
  border: 20px solid #eee;
  position: absolute;
  top: 0;
  left: 0;
}
.circle-progress>span {
  width: 50%;
  height: 100%;
  overflow: hidden;
  position: absolute;
  top: 0;
  z-index: 1;
}
.circle-progress .circle-progress-left { left: 0; }
.circle-progress .circle-progress-bar {
  width: 100%;
  height: 100%;
  background: none;
  border-width: 20px;
  border-style: solid;
  position: absolute;
  top: 0;
}
.circle-progress .circle-progress-left .circle-progress-bar {
  left: 100%;
  border-top-right-radius: 80px;
  border-bottom-right-radius: 80px;
  border-left: 0;
  -webkit-transform-origin: center left;
  transform-origin: center left;
}
.circle-progress .circle-progress-right { right: 0; }
.circle-progress .circle-progress-right .circle-progress-bar {
  left: -100%;
  border-top-left-radius: 80px;
  border-bottom-left-radius: 80px;
  border-right: 0;
  -webkit-transform-origin: center right;
  transform-origin: center right;
}
.circle-progress .circle-progress-value {
  position: absolute;
  top: 0;
  left: 0;
}


.progress-bar-vertical {
  width: 30px;
  min-height: 100px;
  display: flex;
  align-items: flex-end;
  margin-right: 10px;
  float: left;
}

.progress-bar-vertical .progress-bar {
  width: 100%;
  height: 0;
  -webkit-transition: height 0.6s ease;
  -o-transition: height 0.6s ease;
  transition: height 0.6s ease;
}


.dot-progress{
    height: 10px;
    background: #000;
    border-radius: 10px;
    box-shadow: none;
    margin-bottom: 40px;
    overflow: visible;
}
.dot-progress .progress-bar{
    background: #fff;
    box-shadow: none;
    border-radius: 0;
    border-top-width: 10px;
    border-style: dotted;
    position: relative;
    -webkit-animation: animate-positive 2s;
    animation: animate-positive 2s;
}
.dot-progress .progress-value{
    font-size: 18px;
    font-weight: 700;
    color: #000;
    position: absolute;
    top: -32px;
    right: -5px;
}


.line-progress{
    height: 3px;
    background: #999;
    border-radius: 0;
    margin-bottom: 30px;
    overflow: visible;
    box-shadow: none;
    position: relative;
}
.line-progress .progress-bar{
    height: 12px;
    position: relative;
    top: -4px;
    box-shadow: none;
    animation: animate-positive 2s;
}
.line-progress .progress-value{
    display: block;
    font-size: 18px;
    font-weight: bold;
    color: #000;
    position: absolute;
    top: -30px;
    right: 5px;
}

.line-progress-lg{
    height: 5px;
    background: #999;
    border-radius: 0;
    margin-bottom: 30px;
    overflow: visible;
    box-shadow: none;
    position: relative;
    margin-top: 15px;
    margin-bottom: 15px;
}
.line-progress-lg .progress-bar{
    height: 25px;
    position: relative;
    top: -10px;
    box-shadow: none;
    animation: animate-positive 2s;
}
.line-progress-lg .progress-value{
    display: block;
    font-size: 18px;
    font-weight: bold;
    color: #000;
    position: absolute;
    top: -30px;
    right: 5px;
}
/*@-webkit-keyframes animate-positive{
    0% { width: 0%; }
}
@keyframes animate-positive{
    0% { width: 0%; }
}*/


/*  */
.map-marker{
  position: relative;
  z-index: 1;
}
.map-marker .background_map{
  position: absolute;
  z-index: 1;
}
.map-marker .marker{
  position: absolute;
  z-index: 3;
/*  background: #FFF;*/
  border: 1px solid #000;
  text-align: center;
  padding: 1px;
  font-size: 9px;
}

.map-marker .mactive{
  border: 2px solid #F00 !important;
}


/* NIQ */
.box-shadow-22 {
  border-radius: 5px;
  background: rgba( 255, 255, 255, 0.1 );
  box-shadow: 0 8px 32px 0 rgba( 31, 38, 135, 0.37 );
  backdrop-filter: blur( 3px );
  -webkit-backdrop-filter: blur( 3px );
  border-radius: 10px;
  border: 1px solid rgba( 255, 255, 255, 0.18 );
}

/* CSS */
.button-38 {
  background-color: #FFFFFF;
  border: 0;
  border-radius: .5rem;
  box-sizing: border-box;
  color: #fff;
  font-family: "Inter var",ui-sans-serif,system-ui,-apple-system,system-ui,"Segoe UI",Roboto,"Helvetica Neue",Arial,"Noto Sans",sans-serif,"Apple Color Emoji","Segoe UI Emoji","Segoe UI Symbol","Noto Color Emoji";
  font-size: .875rem;
  font-weight: 600;
  line-height: 1.25rem;
  padding: .75rem 1rem;
  text-align: left;
  text-decoration: none #D1D5DB solid;
  text-decoration-thickness: auto;
  box-shadow: 0 1px 3px 0 rgba(0, 0, 0, 0.1), 0 1px 2px 0 rgba(0, 0, 0, 0.06);
  cursor: pointer;
  user-select: none;
  -webkit-user-select: none;
  touch-action: manipulation;
}

.button-38:hover {
  background-color: rgb(249,250,251);
}

.button-38:focus {
  outline: 2px solid transparent;
  outline-offset: 2px;
}

.button-38:focus-visible {
  box-shadow: none;
}


a.niq_a{
  display: block;
  background-color: rgba(255,255,255,0.3) !important;
}
a.niq_a:hover,
a.niq_a:active,
a.niq_a_active {
  color: white !important;
/*  background-color: rgb(9, 119, 153, 0.7) !important;*/
  background: linear-gradient(135deg, rgba(25,10,5,1) 0%, rgba(106,0,0,1) 50%, rgba(135,0,0,1) 100%);
}
a.niq_a div{
  display: flex;
  height: 35px;
  font-size: 20px;
/*  justify-content: left;*/
  align-items: center;
}
a.niq_lh58{
  line-height: 58px;
}

.niq_sb {
  width: 100%;
  max-width: 300px;
  border: 1px solid black;
  margin: 10px 0;
  padding: 15px;
  position: relative;
  font-size: 20px;
  background-color: black;
  color: white;
/*  transition: all 0.3s ease-in;*/
/*  box-shadow: 0 2px 10px rgba(0,0,0,0.8);*/
}

.niq_sb:hover,
.niq_sb_active {
  background-color: grey;
  border-color: transparent;
}

.niq_sb--right::after {
  content: "";
  position: absolute;
/*  transition: all 0.3s ease-in;*/
}
.niq_sb--right::after {
  border-top: 31px solid transparent;
  border-bottom: 31px solid transparent;
  border-right: 30px solid transparent;
  border-left: 30px solid black;
  top: -1px;
  right: -61px;
}
.niq_sb_active::after,
.niq_sb--right:hover::after {
  border-left: 30px solid grey;
}

/* Based Elements */
.niq_title{
  font-size: 2.2vh;
  color: #60d8fe;
}
.niq_content{
/*  min-height: 100%;*/
/*  box-shadow: inset 0 0 0 2000px rgba(49, 79, 79, 0.3);*/
/*  box-shadow: inset 0 0 0 2000px rgba(0, 0, 0, 0.3);*/
}


.nav-sidebar .nav-link{
  background-color: #2e2e2e;
}
.nav-sidebar .nav-link:hover,
.nav-sidebar .nav-link.active{
  background-color: #666;
}


@media only screen and (min-width: 431px) {
  .nav-for-mobile{
    display: none;
  }
}