/*!
 * /**
 *  * MSDropdown - dd.js
 *  * @author: Marghoob Suleman
 *  * @website: https://www.marghoobsuleman.com/
 *  * @version: 4.0.2
 *  * @date: Wed Oct 13 2021 15:19:38 GMT+0530 (India Standard Time)
 *  * msDropdown is free web component: you can redistribute it and/or modify
 *  * it under the terms of the either the MIT License or the Gnu General Public License (GPL) Version 2
 *  * /
 */
.ms-pr {
    position: relative
}

.ms-dd:focus-visible {
    box-shadow: 0 1px 5px #ddd;
    outline: none;
    outline-width: 0
}

.ms-dd {
    background: transparent;
    display: inline-block;
    font-family: Sans-Serif;
    -webkit-user-select: none;
    -moz-user-select: none;
    -ms-user-select: none;
    user-select: none;
    vertical-align: top;
    width: 100%
}

.ms-dd button:focus,
.ms-dd input:focus,
.ms-dd select:focus,
.ms-dd textarea:focus {
    outline: none
}

.ms-dd .ms-value-input {
    border: 0;
    left: 20px;
    position: absolute;
    top: 10px;
    width: 50%;
    padding: 0;
}

.ms-dd .ms-dd-header {
    border: none;
    border-bottom: none;
    border-radius: 2px;
    cursor: pointer;
    min-height: auto !important;
    position: relative;
    width: 100%;
}

.ms-dd .ms-dd-header .option-selected {
    /*color: #000;
    display: block;
    font-weight: 400;
    overflow: hidden;
    padding: 6px 20px 6px 10px;
    pointer-events: none; */
    
    padding: 11px 36px 11px 16px;
    background-color: #fafaff;
    border: 1px solid #bab1b1;
    color: #aaadb6;
    border-radius: 12px;
    -webkit-transition: all 0.3s ease-out;
    -o-transition: all 0.3s ease-out;
    transition: all 0.3s ease-out;
}

.ms-dd .ms-dd-header a {
    display: block
}

.ms-dd .ms-dd-header .ms-list-counter,
.ms-dd .ms-dd-header input[type=checkbox] {
    display: none
}

.ms-dd .ms-dd-header .ms-header-counter {
    color: #0e76a8;
    font-weight: 400
}

.ms-dd .ms-dd-header .ms-filter-box {
    box-sizing: border-box;
    -webkit-box-sizing: border-box;
    -moz-box-sizing: border-box;
   /* padding: 6px 10px; 
    border-bottom: 1px solid #ccc;
    */
}

.ms-dd .ms-dd-header .ms-filter-box input,
.ms-dd .ms-dd-header .ms-filter-box input:focus,
.ms-dd .ms-dd-header .ms-filter-box input:focus-visible {
        padding: 11px 36px 11px 16px;
    background-color: #fafaff;
    border: 1px solid #bab1b1;
    color: #aaadb6;
    border-radius: 12px;
    -webkit-transition: all 0.3s ease-out;
    -o-transition: all 0.3s ease-out;
    transition: all 0.3s ease-out;
}

.ms-dd .ms-dd-header .ms-filter-box input:focus-visible {
   /* outline: 1px solid transparent */
}

.ms-dd .ms-dd-option-image,
.ms-dd .ms-dd-selected-img {
    margin-right: 5px;
    max-width: 64px;
    vertical-align: middle
}

.ms-dd .ms-dd-arrow {
    height: 0;
    margin-top: -3px;
    position: absolute;
    right: 10px;
    top: 50%;
    width: 0
}

.ms-dd .ms-dd-arrow.ms-dd-pointer-down {
    border: 5px solid transparent;
    border-top-color: #988e8f
}

.ms-dd .ms-dd-arrow.ms-dd-pointer-up {
    border: 5px solid transparent;
    border-bottom-color: #988e8f;
    margin-top: -8px
}

.ms-dd .ms-options {
    /*
    background: #fff;
    border: 1px solid #ccc;
    border-top: none;
    box-shadow: 0 1px 5px #ddd;
    display: none;
    list-style: none;
    margin: 0;
    overflow: auto;
    padding: 0;
    position: absolute;
    width: 100%;
    z-index: 9999 */
    
    position: absolute;
    top: 105%;
    right: 0;
    left: 0;
    z-index: 999;
    margin: 0;
    padding: 0;
    list-style: none;
    background-color: #fafaff;
    border-radius: 12px;
    /* border: 1px solid #bab1b1; */
    overflow: auto;
    max-height: 50vh;
    -webkit-box-shadow: 0 2px 6px rgba(0, 0, 0, 0.1);
            box-shadow: 0 2px 6px rgba(0, 0, 0, 0.1);
}

.ms-dd .ms-list-option,
.ms-dd .ms-optgroup ul .ms-list-option {
    align-items: center;
    border-bottom: 1px solid #bab1b1;
    color: #56585c;
    cursor: pointer;
    display: flex;
    justify-content: flex-start;
    overflow: hidden;
    padding: 12px 16px;
    position: relative;
    text-decoration: none;
    text-transform: uppercase
}

.ms-dd .ms-list-option input[type=checkbox],
.ms-dd .ms-optgroup ul .ms-list-option input[type=checkbox] {
    margin-right: 5px;
    vertical-align: middle
}

.ms-dd .ms-list-option:last-child,
.ms-dd .ms-optgroup ul .ms-list-option:last-child {
    border-bottom: none
}

.ms-dd .ms-list-option:hover,
.ms-dd .ms-optgroup ul .ms-list-option:hover {
    background: #fff;
    color: #303873
}

.ms-dd .ms-list-option.option-selected,
.ms-dd .ms-optgroup ul .ms-list-option.option-selected {
    /*
    background: #fff */
}

.ms-dd .ms-list-option.ico-align-right .ms-dd-option-image,
.ms-dd .ms-list-option.ico-align-right .ms-dd-selected-img,
.ms-dd .ms-optgroup ul .ms-list-option.ico-align-right .ms-dd-option-image,
.ms-dd .ms-optgroup ul .ms-list-option.ico-align-right .ms-dd-selected-img {
    order: 2
}

.ms-dd .ms-list-option.disabled,
.ms-dd .ms-list-option:disabled,
.ms-dd .ms-optgroup ul .ms-list-option.disabled,
.ms-dd .ms-optgroup ul .ms-list-option:disabled {
    cursor: default;
    opacity: .4
}

.ms-dd .ms-list-option .ms-dd-desc,
.ms-dd .ms-optgroup ul .ms-list-option .ms-dd-desc {
    color: #aaa;
    display: block;
    font-weight: 400;
    line-height: 1.5em;
    overflow: hidden;
    text-shadow: 0 1px .5px #fff
}

.ms-dd .ms-header-middle-content,
.ms-dd .ms-middle {
    display: flex;
    justify-content: flex-start;
    width: 100%
}

.ms-dd.disabled,
.ms-dd:disabled {
    cursor: default;
    opacity: .4;
    pointer-events: none
}

.ms-dd .ms-optgroup-padding {
    font-weight: 700;
    padding: 12px;
    margin-top: 12px;
}

.ms-dd .ms-optgroup {
    display: block
}

.ms-dd .ms-optgroup:hover {
   /* background: #fff;
    color: #000 */
}

.ms-dd .ms-optgroup ul {
    margin: 0;
    padding: 0
}

.ms-dd .ms-optgroup ul .ms-list-option {
    padding-left: 16px
}

.ms-dd .ms-optgroup ul:last-child {
    border-bottom: 1px solid #bab1b1
}

.ms-dd .ms-dd-option-content {
    width: 100%
}

:focus {
    outline: none
}