.select-box-container { display: block; /*margin-top: 40px;*/ /*min-width: 200px;*/ } .select-box-header{ font-size: 14pt; white-space: nowrap; word-wrap: break-word; /*position: relative;*/ /*top:10px;*/ } .select-box-header .header{ display: inline-block; color: black; text-overflow: ellipsis; overflow: hidden; word-wrap: break-word; max-width: 220px; } /*.select-box-header i {*/ /*position: relative;*/ /*top: -5px;*/ /*}*/ .select-box-header .fa:hover{ cursor: pointer; } .select-box-bottom { clear: both; } .select-box-results, .select-box-options { display: block; /*clear: both;*/ position: absolute; /*margin-top: -5px;*/ z-index: 99999; opacity: 0.9; } .box-wrapper { display: block; max-height: 200px; overflow-y: scroll; border: 1px solid #868686; background-color: #F2F2F2; } .select-box-results input[type=checkbox] { margin: 0 5px 0 5px; } .select-box-results i { font-weight: normal; font-style: normal; } .select-box-results, .select-box-options li, ul { margin: 0; padding: 0; } .select-box-results li, .select-box-options li { padding: 2px 10px; border-bottom: 1px solid #afb2b6; list-style: none; } .select-box-results label, .select-box-options label, .select-box-results li, .select-box-options li { cursor: pointer; width: 100%; } .select-box-results li:hover, .select-box-options li:hover { background-color: #dcdcdc; border-left: 2px solid red; } .select-box-search { display: block; } input.select-box-search { height: 40px; width: 100%; border: 1px solid #cccccc; outline: none; padding: 5px 40px 5px 20px; background: url("../img/magnifying-glass-308581.svg") no-repeat right; background-size: 40px 40px; background-color: white; /*padding-left: 40px;*/ } .select-box-results .other-part { color: darkgray; /*border: 1px solid #00fa17;*/ display: block; } .select-box-results .other-header { color: #000; font-weight: bold; margin-left: 10px; } .select-box-results .main-part { border-bottom: 1px solid #000000; display: block; } .select-box-options .box-wrapper, .select-box-results { /*padding: 0 10px;*/ min-width: 300px; max-width: 400px; } .button-add { -moz-border-radius: 15px; /* Firefox */ -webkit-border-radius: 15px; /* Safari 4 */ border-radius: 15px; /* IE 9, Safari 5, Chrome */ background-color: red; padding: 0 15px; /*border: none;*/ text-decoration: none; color: white; } .button-add .results { position: absolute; left: 280px; z-index: 999; } .button-add.options { position: absolute; /*FIXME: костыль*/ left: 160px; z-index: 999; /*right: auto;*/ /*@position: absolute;*/ /*top: 40px;*/ } .highlight { color: red; } .editable-container { display: block; float: left; /*max-width: 400px;*/ background-color: #e5e5e5; min-height: 40px; padding: 5px 10px; /*min-width: 40px;*/ position: relative; left: -30px; } .vertical-child{ margin-top: 30px; }