.CategoriesModal ul {
    list-style-type:none;
}
a:link, a:visited {
    font-weight: bold;
    text-decoration: none;
    outline: none;
    color: #3792b3;
}
.CategoriesModal h3 {
    width:20%;
    margin:10px auto;
}
.CategoriesModal .CategoryAdd {
    max-width:90%;
    clear:left;
    height:400px;
    overflow:scroll;
}
.CategoriesModal .List {
    height:500px;
}
.CategoriesModal .SetName {
    float:left;
    width:40%;
}
.CategoriesModal .Mod {
    margin: 0 0 1.5em 0;
    padding: 15px;
    background: #fff;
    max-width:95%;
}
.CategoriesModal .Expand {
    padding:5px;
    float: left;
    width: 25%;
    background-color: darkgrey;
    border-color: darkgrey;
}
.CategoriesModal .Collapse {
    padding:5px;
    float: left;
    width: 25%;
    background-color: darkgrey;
    border-color: darkgrey;
}
.CategoriesModal .Expand img {
    max-width:80%;
}
.CategoriesModal .Collapse img {
    max-width:80%;
}
.CategoriesModal ul.SingleSelectTreeContainer {
    padding-left:0;
}
.CategoriesModal ul.SingleSelectTreeContainer li a {
    display: block;
    padding: 7px;
    border-bottom: 1px solid #f3f2e8;
    overflow: hidden;

}
.CategoriesModal ul.SingleSelectTreeContainer li.last a {
    width: 100%;
    border: none;
}
.CategoriesModal ul.SingleSelectTreeContainer li em{
    float: left;
    width:5%;
    margin: 0 5px 0 0;
    font-size: 1em;
    font-style: normal;
    font-weight: normal;
    color: #9c836e;
}
.CategoriesModal .group:after {
    content: ".";
    display: block;
    height: 0;
    clear: both;
    visibility: hidden;
}
.CategoriesModal .ChooseP {
    background-color:rgb(51, 153, 255);
    color:#fff;
}
.CategoriesModal .ChooseDeeperLink {
    background-color:blueviolet;
}
.CategoriesModal .DeeperUl {
    display:none;
}
.CategoriesModal .DeeperUl li {
    background-color:#fff ;
}
.CategoriesModal .KeyWordsFilter {
    float:left;
    width:80%;
}
.CategoriesModal .Word {
    width:45%;
}
.CategoriesModal .ParentDiv {
    margin-bottom:25px;
}
.CategoriesModal .CloseList, .CategoriesList .OpenList {
    float:left;
    width:45%;
    background-color: beige;
    padding:3px;
    border: 1px solid beige;
    cursor:pointer;
    border-radius: 2px;
}
.CategoriesModal .AddRow {
    margin-bottom:20px;
    margin-right: 0;
    margin-left:0;
}
.CategoriesModal .FilterRow {
    margin-right: 0;
    margin-left:0;
}
.CategoriesModal .KeywordsHead {
    margin-left:50px;
}
.CategoriesModal .SaveCancelRow {
    margin-right: 0;
    margin-left:0;
}
.CategoriesModal .modal-dialog {
    width:960px;
    height:780px;
}
.CategoriesModal .Check {
    position: absolute;
    top:7px;
    right:7px;
}
.CategoriesModal {
    background-color: #ggg;
}
.CategoriesModal .BottomRow {
    margin-top:15px;
    margin-bottom:15px;
}
.CategoriesModal .Save {
    padding-right:0;
}
.CategoriesModal .CancelDiv{
    padding-left:0;
}
.CategoriesModal .CreateCtg {
    float:right;
    width:70%;
}
.CategoriesModal .Cancel {
    margin-left:15px;
}