﻿/* ltr */ 
.select2-container { vertical-align: inherit !important; min-height:29px !important;}

.s2_gltr .select2-container, .s2_gltr.select2-drop, .s2_ltr .select2-input, .s2_ltr .select2-chosen, .s2_gltr .select2-default .select2-chosen, .s2_ltr .select2-search, .s2_ltr .select2-results, .s2_gltr .select2-results li, .s2_ltr .select2-results li.select2-result { direction: ltr; text-align: left; }

.select2-container .select2-choice { border-color: #dee1e3;  color:#555; font-size:14px; padding-right:18px; padding-left:0; background:none #fff; height:27px; line-height:27px; box-shadow:0 1px 1px rgba(0, 0, 0, 0.05) inset;}
.select2-container .select2-choice:hover { border-color: #bec3c7; }
.select2-container.select2-container-active .select2-choice, 
.select2-container .select2-choice:focus, 
.select2-container-multi.select2-container-active .select2-choices,
.select2-drop,
.select2-drop-multi { border-color: #5DADE2 !important; }

.select2-container .select2-choice .select2-chosen { margin-left: 4px; display:inline-block !important;}
.select2-container .select2-choice .select2-arrow { border: none !important; background: none !important; }

.select2-drop,
.select2-drop.select2-drop-above,
.select2-container.select2-container-active .select2-choice,
.select2-container.select2-container-active .select2-choices,
.select2-container.select2-container-multi.select2-container-active .select2-choice{ box-shadow:none ; -webkit-box-shadow:none;}

.select2-container-multi .select2-choices .select2-search-field input.select2-active,
.select2-search input.select2-active,
.select2-more-results.select2-active {background-image :url('/App_Themes/AtpImg/loader_min.gif') !important;}

.select2-drop {z-index: 999999; margin-top:-3px; border-top:none;}
.select2-drop .select2-results .select2-result.select2-highlighted{background:#E1F0FA; color:#555;}
.select2-drop .select2-results .select2-result-selectable{border-bottom:1px dashed #D7DCDE; color:#555;}
.select2-drop .select2-results .select2-result-selectable .allContacts{color:#3598db; font-weight:bold;}
.select2-drop .select2-results .select2-result-unselectable{background:#ECF0F1; color:#555; font-weight:bold; padding:2px 0; margin-top:15px;}
.select2-drop .select2-results .select2-result-unselectable:first-child{margin-top:0;}
.select2-drop .select2-results .select2-no-results, .select2-results .select2-searching, .select2-results .select2-selection-limit{background:#ECF0F1; color:#555;}
.select2-drop .select2-results .select2-result-label { cursor: default;}
.select2-drop .select2-results .select2-disabled{background:#fff; color:#c0c0c0; font-weight:normal; padding:0; margin:0; border-bottom:1px dashed #D7DCDE;}
.select2-drop .select2-results li:last-child{border-bottom:none;}

.select2-container .select2-choice .select2-arrow b{background:url("/App_Themes/AtpImg/select_arr.png") no-repeat right 0;}
.select2-container.select2-container-active .select2-choice .select2-arrow b{background-position:right -29px;}
.select2-container.select2-container-disabled .select2-choice .select2-arrow b{background-position:right -58px;}

.select2-container.select2-container-disabled .select2-choice{color:#aaa;}
.select2-container.select2-container-disabled .select2-choice:hover{ border-color: #dee1e3;}

/* ---- Multi ----  */
.select2-container-multi .select2-choices{border-radius:3px; background:none #fff; font-size:14px; color:#555; border-color: #dee1e3 !important; box-shadow:0 1px 1px rgba(0, 0, 0, 0.05) inset;}
.select2-container-multi .select2-choices:hover{border-color: #bec3c7 !important;}
.select2-container-multi .select2-choices:focus{border-color: #5DADE2 !important;}
.select2-container-multi .select2-choices .select2-search-choice{ font-size:12px;  border:none !important; box-shadow:none !important; border-radius:3px !important; color:#fff !important;  line-height:21px !important;}
.select2-container-multi .select2-choices .select2-search-choice-focus{background-color:#16a085 !important;}
.select2-container-multi .select2-choices .select2-search-choice.s2_selected_group{background:url('/App_Themes/AtpImg/tag_group.png') no-repeat left 50% #1bbc9b !important;}
.select2-container-multi .select2-choices .select2-search-choice.s2_selected_contact{background:url('/App_Themes/AtpImg/tag_contact.png') no-repeat left 50% #1bbc9b !important;}
.select2-container-multi .select2-choices .select2-search-choice { margin: 4px 0 4px 5px; padding:0 20px 0 22px;}
.select2-container-multi .select2-search-choice-close {right:3px; left: auto; }
.select2-container-multi .select2-choices .select2-search-choice .select2-search-choice-close{background-image:url('/App_Themes/AtpImg/select2.png'); opacity:0.7; filter:alpha(opacity=70);}
.select2-container-multi .select2-choices .select2-search-choice .select2-search-choice-close:hover{opacity:1; filter:alpha(opacity=100);}

/* --- search ---*/
.select2-drop .select2-search .select2-input{border:1px solid #DEE1E3; border-radius:4px; background:url('/App_Themes/AtpImg/select_search.png') no-repeat right 0 !important;  }

/* rtl */

.s2_grtl .select2-container, .s2_grtl.select2-drop, .s2_rtl .select2-input, .s2_rtl .select2-chosen, .s2_grtl .select2-default .select2-chosen, .s2_rtl .select2-search, .s2_rtl .select2-results, .s2_grtl .select2-results li, .s2_rtl .select2-results li.select2-result { direction: rtl; text-align: right; }
.s2_grtl .select2-choice .select2-arrow { right: inherit; left: 0px; }
.s2_grtl .select2-choice .select2-chosen { margin-right: 4px;}
.s2_grtl .select2-choice{padding-left:18px; padding-right:0;}

.s2_rtl .select2-results { margin: 4px 0 4px 4px; padding: 0 4px 0 0; font-family: arial;}
.s2_grtl .select2-choices li { float: right; }
.s2_rtl .select2-choices .select2-search-choice.s2_selected_group{background:url('/App_Themes/AtpImg/tag_group.png') no-repeat right 50% #1bbc9b !important;}
.s2_rtl .select2-choices .select2-search-choice.s2_selected_contact{background:url('/App_Themes/AtpImg/tag_contact.png') no-repeat right 50% #1bbc9b !important;}
.s2_rtl .select2-choices .select2-search-choice { margin: 4px 5px 4px 0; padding:0 22px 0 20px;}

.s2_rtl .select2-results ul.select2-result-sub > li .select2-result-label { padding-left: inherit; padding-right: 20px; }
.s2_rtl .select2-search input { padding: 4px 5px 4px 20px; background-position: -37px -22px; }
.s2_rtl .select2-search input.select2-active { background-position: left center; }

.s2_rtl .select2-search-choice-close { left:3px; right: auto; }

.s2_rtl .select2-choices .select2-search-field input.select2-active,
.s2_rtl .select2-search input.select2-active,
.s2_rtl .select2-more-results.select2-active { background-position: left center !important; }

.s2_grtl.select2-container .select2-choice .select2-arrow b{background:url("/App_Themes/AtpImg/select_arr.png") no-repeat 0 0;}
.s2_grtl.select2-container.select2-container-active .select2-choice .select2-arrow b{background-position:0 -29px;}
.s2_grtl.select2-container.select2-container-disabled .select2-choice .select2-arrow b{background-position:0 -58px;}

.s2_grtl.select2-drop .select2-search .select2-input{background-position:left 0 !important;}