.ms-options-wrap,
.ms-options-wrap * {
    box-sizing: border-box;
}

.ms-options-wrap > button:focus,
.ms-options-wrap > button {
    width: 100%;
	margin: 0 2.3% 0 0;
    text-align: right;
	text-align-last: right;
	padding: .360rem 2rem .360rem 1.5rem;
    font-size: 1rem;
    line-height: 1.5;
    color: #687d8c;
    background-color: #fff;
    background-clip: padding-box;
    border: 1px solid #aebccd;
    border-radius: 15px;
	outline: none;
	font-weight: bold;
	cursor: pointer;
	background: url(../images/dawn.png) no-repeat left 5px center, url(../images/interest.png) no-repeat right 0 center;
	background-size: 24px 16px, 30px;
    direction: rtl;
    white-space: nowrap;
}

.ms-options-wrap > .ms-options {
    position: absolute;
    left: 0;
    width: 100%;
    margin-top: 1px;
    margin-bottom: 20px;
    background: white;
    z-index: 2000;
    border: 1px solid #aaa;
    direction: rtl;
    border-radius: 0;
}

.ms-options-wrap > .ms-options > .ms-search input {
    width: 100%;
    padding: 4px 5px;
    border: none;
    border-bottom: 1px groove;
    outline: none;
    direction: rtl;
}

.ms-options-wrap > .ms-options .ms-selectall {
    display: none;
    font-size: .9em;
    text-transform: lowercase;
    text-decoration: none;
    direction: rtl;
    text-align: right;
}
.ms-options-wrap > .ms-options .ms-selectall:hover {
    text-decoration: underline;
}

.ms-options-wrap > .ms-options > .ms-selectall.global {
    margin: 4px 5px;
}

.ms-options-wrap > .ms-options > ul > li.optgroup {
    padding: 5px;
}
.ms-options-wrap > .ms-options > ul > li.optgroup + li.optgroup {
    border-top: 1px solid #aaa;
}

.ms-options-wrap > .ms-options > ul > li.optgroup .label {
    display: block;
    padding: 5px 0 0 0;
    font-weight: bold;
}

.ms-options-wrap > .ms-options > ul label {
    position: relative;
    display: inline-block;
    width: 100%;
    padding: 8px 10px 4px 4px !important;
    margin: 1px 0;
    cursor: pointer
}

.ms-options-wrap > .ms-options > ul label span{
    position: absolute;
    top: 10px;
    right: 50px;
}

.ms-options-wrap > .ms-options > ul li.selected label,
.ms-options-wrap > .ms-options > ul label:hover {
    background-color: #f9f9f9;
}

.ms-options-wrap > .ms-options > ul input[type="checkbox"] {
    width: 30px;
    height: 30px;
    -webkit-appearance: none;
    -moz-appearance: none;
    -ms-appearance: none;
    -o-appearance: none;
    appearance: none;
	background: url("../images/no-correctGoWin.png") no-repeat right center;
   background-size: 30px 30px;
   display:inline-block;
   padding: 0;
   color: #687d8c;
   margin: 0 auto;
   text-align: right;
	font-weight: bold;
	font-size: 1rem;
    outline: none;
    cursor: pointer;
    border: none;
}

.ms-options-wrap > .ms-options > ul input[type="checkbox"]:checked {
	background: url("../images/correctGoWin.png") no-repeat right center;
}
/*.ms-options-wrap > .ms-options > ul input[type="checkbox"]:checked:after {
	content: '\2714';
	font-size: 18px;
	position: absolute;
	top: 0px;
	left: 6px;
	color: #99a1a7;
}*/
.ms-options ul{list-style:none;margin:0;padding:0;border:0;text-align:right;direction:rtl}
.ms-options ul li{display:block;float:none;direction:rtl;}
.multiSelectrule{
    color: firebrick;
    direction: rtl;
    text-align: right;
    padding: 10px;
    font-size: .8em;
}