.nice_mjg_search{
  width: 100%;
  display:block;
  font-family: var( --e-global-typography-primary-font-family ), Sans-serif!important;
}

.nice_mjg_search::-ms-expand {
  display: none;
}
.nice_mjg_search form{
  padding:0;
  margin:0;
  display: flex;
  flex-wrap: nowrap;
}

.nice_mjg_search fieldset{
  margin:0;
  padding:0;
  border:none;
  display: flex;
  flex-grow: 1;
  flex-shrink: 0;
  flex-basis: 260px;
  box-shadow: 0px 0px 17px rgba(0,0,0,0.2);
  border-radius: 40px;  
  width: 100%;
  background: white;
}
.nice_mjg_search fieldset:hover{
  box-shadow: 0px 0px 14px rgba(0,0,0,0.3);
}

.nice_mjg_search input{
  border:none!important;
  height: 48px!important;
  padding: 10px 20px 10px 40px!important; 
  width: 100%!important;
  font-size: 18px!important;
  font-family: var( --e-global-typography-primary-font-family ), Sans-serif!important;
}

.nice_mjg_search input.search_term{
  border-radius: 40px 0px 0px 40px!important;
  -moz-border-radius: 40px 0px 0px 40px!important;
  -webkit-border-radius: 40px 0px 0px 40px!important;
  border: none!important;
  outline: none!important;
  background-color: white!important;
}
.nice_mjg_search input.search_term:hover,
.nice_mjg_search input.search_term:focus,
.nice_mjg_search input.search_term:focus-visible{
  border:none;
  outline: none;
}
.nice_mjg_search input.search_term::-webkit-input-placeholder {
  font-family: var( --e-global-typography-primary-font-family ), Sans-serif!important;
}

.nice_mjg_search input.search_term:-ms-input-placeholder {
  font-family: var( --e-global-typography-primary-font-family ), Sans-serif!important;
}

.nice_mjg_search input.search_term:-moz-placeholder {
  font-family: var( --e-global-typography-primary-font-family ), Sans-serif!important;
}

.nice_mjg_search input.search_term::-moz-placeholder {
  font-family: var( --e-global-typography-primary-font-family ), Sans-serif!important;
}
.nice_mjg_search input.search_term::placeholder {
  font-family: var( --e-global-typography-primary-font-family ), Sans-serif!important;
}

.nice_mjg_search  .separator{
  flex-shrink: 0;
  border-right: solid 1px #CDCDCD;
  margin: 10px 0;
  height: 28px;
}

.nice_mjg_search button.search_submit{
  padding: 10px 15px 10px 10px; 
  margin:5px;
  flex-shrink: 0;
  width: 150px;
  /*height: 100%;*/
  color:white;
  font-size: 18px;
  border-radius: 40px 40px 40px 40px;
  -moz-border-radius: 40px 40px 40px 40px;
  -webkit-border-radius: 40px 40px 40px 40px;
  border: 0px solid #000000;
  background-color: #09193B;
  cursor: pointer;
  font-family: var( --e-global-typography-primary-font-family ), Sans-serif!important;
}
.nice_mjg_search button.search_submit:hover, .nice_mjg_search button.search_submit:active{
  border: 0px solid #09193B!important;
  background-color: #E0CA4B!important;
  color: #09193B!important;
}
.nice_mjg_search button.search_submit:focus{
  outline: none;
}
.nice_mjg_search button.search_submit::-ms-expand {
  display: none;
}

 .nice_mjg_search .select {
   cursor: pointer;
   display: inline-block;
   position: relative;
   font-size: 16px;
   color: #fff;
   flex-shrink: 0;
   width: 250px;
   font-family: var( --e-global-typography-primary-font-family ), Sans-serif!important;
}
 .nice_mjg_search select {
     display: none;
}


 .nice_mjg_search .custom-select {
     font-size: 18px;
     background-color: #fff;
     color: #9E9E9E;
     display:block;
     padding: 12px 15px 1px 33px;
     -moz-transition: all 0.2s ease-in;
     -o-transition: all 0.2s ease-in;
     -webkit-transition: all 0.2s ease-in;
     transition: all 0.2s ease-in;
     flex-shrink: 0;
     text-overflow: ellipsis;
     width: 250px;
     white-space: nowrap;
     overflow: hidden;
     font-family: var( --e-global-typography-primary-font-family ), Sans-serif!important;
}
 .nice_mjg_search .custom-select:before {
     content: "";
     width: 0;
     height: 0;
     border: 7px solid transparent;
     border-color:#9E9E9E transparent transparent transparent;
     position: absolute;
     top: 21px;
     left: 10px;
     transform: rotateZ(0deg);
     transition: all 0.5s;
     transform-origin: 50% 25%;
}
/*.custom-select:hover {
     background-color: #b83729;
}
*/
 .nice_mjg_search .custom-select:active, .custom-select.active {
     background-color: #fff;
     color: #9E9E9E;
   
}
 .nice_mjg_search .custom-select:active:before, .nice_mjg_search .custom-select.active:before {
     transform: rotateZ(180deg);
     transition: all 0.5s;
     transform-origin: 50% 25%;
}
 .nice_mjg_search .custom-select:focus{
    outline: 2px;
}


 .nice_mjg_search .select-options {
     max-height: 200px;
     overflow-y: auto;
     display: none;
     position: absolute;
     top: 100%;
     right: 0;
     left: 0;
     z-index: 999;
     margin: 0;
     padding: 0;
     list-style: none;
     font-size: 18px;
     background-color: #FFFFFF;
     border-radius: 0px 0px 5px 5px;
     box-shadow: 0px 0px 17px rgba(0,0,0,0.2);
     font-family: var( --e-global-typography-primary-font-family ), Sans-serif!important;
}

 .nice_mjg_search .select-options li {
     color: #424242;
     margin: 0;
     padding: 12px 0;
     font-family: var( --e-global-typography-primary-font-family ), Sans-serif!important;
     -moz-transition: all 0.15s ease-in;
     -o-transition: all 0.15s ease-in;
     -webkit-transition: all 0.15s ease-in;
     transition: all 0.15s ease-in;
     padding-left: 15px;
}
 .nice_mjg_search .select-options li:hover {
     color: #424242;
     background: #CCC;
}
 .nice_mjg_search .select-options li[rel="hide"] {
     display: none;
}
 ::-webkit-scrollbar {
     width: 10px;
     background-color: #F5F5F5;
     border-radius: 0 0 5px 0;
}
 ::-webkit-scrollbar-thumb {
     border-radius: 10px;
     background-color:#9E9E9E;
}

@media (max-width: 1024px){
     .nice_mjg_search .custom-select {
         display:none;
     }
     .nice_mjg_search .select {
         display:none;
     }
}