.SumoSelect p {margin: 0;}
.SumoSelect{width:100%;}

.SelectBox {padding: 5px 8px; cursor: pointer}

.sumoStopScroll{overflow:hidden;}

/* Filtering style */
.SumoSelect .hidden { display:none; }
.SumoSelect .search-txt{display:none;outline:none;}
.SumoSelect .no-match{display:none;padding: 6px;}
.SumoSelect.open .search-txt{display: inline-block;position: absolute;top: 0;left: 0;width: 100%;margin: 0;padding: 5px 8px;border: none;-webkit-box-sizing: border-box;-moz-box-sizing: border-box;box-sizing: border-box;}
.SumoSelect.open>.search>span, .SumoSelect.open>.search>label{visibility:hidden;}

/*this is applied on that hidden select. DO NOT USE display:none; or visiblity:hidden; and Do not override any of these properties. */
.SelectClass,.SumoUnder { position: absolute; top: 0; left: 0; right: 0; height: 100%; width: 100%; border: none; -webkit-box-sizing: border-box; -moz-box-sizing: border-box; box-sizing: border-box; -ms-filter: "progid:DXImageTransform.Microsoft.Alpha(Opacity=0)"; filter: alpha(opacity=0); -moz-opacity: 0; -khtml-opacity: 0; opacity: 0; }
.SelectClass{z-index: 1;}

.SumoSelect > .optWrapper > .options  li.opt label, .SumoSelect > .CaptionCont,.SumoSelect .select-all > label { user-select: none; -o-user-select: none; -moz-user-select: none; -khtml-user-select: none; -webkit-user-select: none; }

.SumoSelect { display: inline-block; position: relative;outline:none;}
.SumoSelect > .CaptionCont { position: relative; border: none; min-height: 14px; background-color: #b2b2b2;margin:0;}
.SumoSelect > .CaptionCont > span { color:white; display: block; text-overflow: ellipsis; white-space: nowrap; overflow: hidden;cursor:default;}
/*placeholder style*/
.SumoSelect > .CaptionCont > span.placeholder { color: white; background-color: #b2b2b2 }

.SumoSelect > .CaptionCont > label { position: absolute; top: 0; right: 0; bottom: 0; width: 30px;}
.SumoSelect > .CaptionCont > label > i { color:white; line-height: 30px; font-size:24px; width: 24px; height: 24px; display: block; position: absolute; top: -3px; right: 8px; margin: auto;background-repeat: no-repeat;opacity: 0.8;}

.SumoSelect > .optWrapper {display:none; z-index: 1000; top: 27px; width: 100%; position: absolute; left: 0; -webkit-box-sizing: border-box; -moz-box-sizing: border-box; box-sizing: border-box; background: #ededed; border: 1px solid #ededed;  overflow: hidden;}
.SumoSelect.open > .optWrapper {top:32px; display:block;}
.SumoSelect.open > .optWrapper.up {top: auto;bottom: 100%;margin-bottom: 5px;}

.SumoSelect > .optWrapper ul {list-style: none; display: block; padding: 0; margin: 0; overflow: auto;}
.SumoSelect > .optWrapper > .options { position:relative;
    /*Set the height of pop up here (only for desktop mode)*/
    max-height: 250px;
    /*height*/ }
.SumoSelect > .optWrapper > .options li.group.disabled > label{opacity:0.5;}
.SumoSelect > .optWrapper > .options li ul li.opt{padding-left: 15px;}
.SumoSelect > .optWrapper.multiple > .options li ul li.opt{padding-left: 15px;}
/*.SumoSelect > .optWrapper.isFloating > .options {max-height: 100%;box-shadow: 0 0 100px #595959;}*/
.SumoSelect > .optWrapper > .options  li.opt { padding: 6px 6px; position: relative;}
.SumoSelect > .optWrapper > .options li.opt:hover { color: #e4200e; }

.SumoSelect > .optWrapper > .options li label { text-overflow: ellipsis; white-space: nowrap; overflow: hidden; display: block;cursor: pointer;}
.SumoSelect > .optWrapper > .options li span { display: none; }
.SumoSelect > .optWrapper > .options li.group > label {cursor: default;padding: 8px 6px;font-weight: bold;}

/*Floating styles*/
/* .SumoSelect > .optWrapper.isFloating { position: fixed; top: 0; left: 0; right: 0; width: 90%; bottom: 0; margin: auto; max-height: 90%; } */

/*disabled state*/
.SumoSelect > .optWrapper > .options li.opt.disabled { background-color: inherit;pointer-events: none;}
.SumoSelect > .optWrapper > .options li.opt.disabled * { -ms-filter: "progid:DXImageTransform.Microsoft.Alpha(Opacity=50)"; /* IE 5-7 */ filter: alpha(opacity=50); /* Netscape */ -moz-opacity: 0.5; /* Safari 1.x */ -khtml-opacity: 0.5; /* Good browsers */ opacity: 0.5; }


/*styling for multiple select*/
.SumoSelect > .optWrapper.multiple > .options li.opt { padding-left: 10px;cursor: pointer;}
.SumoSelect > .optWrapper.multiple > .options li.opt span,
.SumoSelect .select-all > span{position:absolute;display:block;width:30px;top:0;bottom:0;right: 0;}
.SumoSelect > .optWrapper.multiple > .options li.opt span i,
.SumoSelect .select-all > span i{position: absolute;margin: auto;left: 0;right: 0;top: 0;bottom: 0;width: 24px;height: 24px;background-color: #ededed;}
.SumoSelect > .optWrapper > .MultiControls { display: none; background-color: #ededed; }
/* .SumoSelect > .optWrapper.multiple.isFloating > .MultiControls { display: block; margin-top: 5px; position: absolute; bottom: 0; width: 100%; }*/

.SumoSelect > .optWrapper.multiple.okCancelInMulti > .MultiControls { display: block; }

.SumoSelect > .optWrapper.multiple > .MultiControls > p { cursor: pointer; padding: 12px 12px 12px 15px; color: #e4200e;  box-sizing: border-box; text-align: left; }
.SumoSelect > .optWrapper.multiple > .MultiControls > p:hover, .SumoSelect .summary .summaryReset:hover {
    color: #e4200e;
}
/*styling for select on popup mode*/
.SumoSelect > .optWrapper.isFloating > .options li.opt { padding: 12px 6px; }

/*styling for only multiple select on popup mode*/
/*.SumoSelect > .optWrapper.multiple.isFloating > .options li.opt { padding-left: 35px; } */
/*.SumoSelect > .optWrapper.multiple.isFloating { padding-bottom: 43px; }*/

.SumoSelect > .optWrapper.multiple > .options li.opt.selected label {
    color:#e4200e;
}
.SumoSelect > .optWrapper.multiple > .options li.opt.selected span i,
.SumoSelect .select-all.selected > span i,
.SumoSelect .select-all.partial > span i{background-color: #ededed;box-shadow: none;border-color: transparent; }
.SumoSelect > .optWrapper.multiple > .options li.opt span i{ color:  transparent; }
.SumoSelect > .optWrapper.multiple > .options li.opt.selected span i { color:#e4200e; }


/*disabled state*/
.SumoSelect.disabled { opacity: 0.7;cursor: not-allowed;}
.SumoSelect.disabled > .CaptionCont{border-color:#ccc;box-shadow:none;}

/**Select all button**/
.SumoSelect .select-all{position: relative;border-bottom: 1px solid #ddd;background-color: #fff;padding: 8px 0 3px 35px;height: 20px;cursor: pointer;}
.SumoSelect .select-all > label, .SumoSelect .select-all > span i{cursor: pointer;}
.SumoSelect .select-all.partial > span i{background-color:#ccc;}


/*styling for optgroups*/
.SumoSelect > .optWrapper > .options li.optGroup { padding-left: 5px; text-decoration: underline; }

.SumoSelect .summary { background-color:#ededed; padding-left:10px; padding-bottom:15px; color: #e4200e; }
.SumoSelect .summary .summaryItem { padding-top:10px; padding-right:10px; }
.SumoSelect .summary .summarySpan { float:right; cursor:pointer; }
.SumoSelect .summary .summaryReset { color: #e4200e; padding-top: 10px; padding-left: 0; cursor: pointer; }