.UIDXElement {
    overflow: hidden;
    padding: 5px 0 5px 0;
    position: relative;
    /*z-index: 0;*/
}

.MasterItem {
    width: 100%;
    overflow: hidden;
    /*transition: max-height 0.4s cubic-bezier(0,1,0,1);*/
    transition: max-height 0.4s ease-in-out;
    padding: 0px;
}

.CaptionText {
    border: solid 1px green;
}

.Region {
    /*border: solid 2px pink;*/
    display: block;
    padding: 5px;
}

    .Region div {
        /*display: inline-block;*/
    }

.Nosa-TabItem ul {
    list-style-type: none;
}

/*
.Region::before{
    content: "<Region>";
}

.Region::after{
    content: "</Region>";
}*/

.Item {
    /*border: solid 1px black;*/
    padding: 0px;
    /*width:70%;*/
}

/*.Item::before {
    content: "<Item>";
}

.Item::after {
    content: "</Item>";
}*/

.nosa-caption,
.nosa-accent {
    font-weight: bold;
}

.nosa-element-editing:hover {
    /*border: 1px solid rgb(14, 87, 165);*/
}

.nosa-selected-element {
    border: 2px dashed rgb(14, 87, 165) !important;
}

.nosa-edit-menu {
    /*top: -20px;*/
    background: rgb(14, 87, 165);
    color: #FFF;
    /*position: absolute; */ /*this is driving me crazy*/
    /*z-index: 10;*/
}

.nosa-editing-mode-for-invisible {
    background-color: rgba(213, 213,213, 0.7);
}

.nosa-masteritem-accordion {
    background-color: #c5dae0;
    color: #808080;
    cursor: pointer;
    padding: 18px;
    width: 100%;
    font-weight: bold;
    border: 1px solid #6c8e98;
    margin-bottom: 10px;
}

    .nosa-masteritem-accordion:before {
        content: '\002B';
        margin-left: 5px;
        margin-right: 5px;
    }

    .nosa-masteritem-accordion-active, .nosa-masteritem-accordion:hover {
        background-color: #698f9a;
        color: white;
    }

        .nosa-masteritem-accordion-active:before {
            content: '\2212';
            margin-left: 5px;
            margin-right: 5px;
        }

.nosa-edit-layer {
    background: rgba(105, 143, 154, 0.518);
    width: 100%;
    height: 100%;
    z-index: 100;
    position: absolute;
}

.nosa-checkboxlist-2-columns {
    column-count: 2;
    column-rule: 1px dashed #e1e1e1;
    column-fill: balance;
    /*min-width: 550px;*/
}

.nosa-checkbox-grid {
    /*min-width: 550px;*/
}

.nosa-treeview-root ul {
    list-style-type: none;
    margin-right: 20px;
}

ul.nosa-tree-checkbox li:before {
    height: 1em;
    width: 12px;
    border-bottom: 1px dashed;
    display: inline-block;
    content: "";
    top: -0.1em;
}

ul.nosa-tree-checkbox li {
    border-right: 1px dashed;
}

    ul.nosa-tree-checkbox li:last-child:before {
        border-right: 1px dashed;
    }

    ul.nosa-tree-checkbox li:last-child {
        border-right: none;
        border-left: none;
    }

.nosa-treeview-container {
    vertical-align: top;
}

.nosa-treeview-header {
    margin-bottom:10px;
}

.nosa-treeview-root {
    height: 140px;
    overflow-y: scroll;
    border: 1px solid silver;
}

@media (min-width: 720px){
    div[kind="SimorghServersRegion"] {
        display: inline-block;
        width: 50%;
    }
    div[kind="DatabaseCategoriesRegion"] {
        display: inline-block;
        width: 50%;
    }
    div[kind="SimorghDepartmentsRegion"] {
        display: inline-block;
        width: 50%;
    }
    div[kind^="SearchInputItem"] {
        display: inline-block;
        width: 70%;
    }
    div[kind^="searchEntries"] {
        display: inline-block;
        width: 30%;
    }
    .Item {
        width: 70%;
    }
    div[kind="DigitalResources"] div.nosa-checkbox-grid {
        width: 50%;
    }
}

@media (min-width: 481px) and (max-width: 719px) {
    div[kind="DigitalResources"] div.nosa-checkbox-grid {
        width: 100%;
    }
}

@media (max-width: 480px) {
    .Item {
        width: 100%;
    }
    .nosa-checkboxlist-2-columns {
        column-count: 1;
        column-rule: none;
        column-fill: balance;
    }
    div[kind="DigitalResources"] div.nosa-checkbox-grid {
        width: 100%;
    }

}

.nosa-tree-checkbox .nosa-checkbox {
    display: inline;
}


div[kind="SimorghServersRegion"] .nosa-caption {
    height: 30px;
    margin-bottom: 10px;
}

div[kind="SimorghDepartmentsRegion"] .nosa-caption {
    height: 30px;
    margin-bottom: 10px;
}


*[languagecode="0"] {
    direction:ltr;
}

*[languagecode="0"] div[class^="nosa-col"] {
    float: left;
    text-align: right;
}

div[kind^="SearchInputItem"][languagecode="0"],
div[kind^="searchEntries"][languagecode="0"] {
    float: left;
}


div[kind^="SearchInputItemOperator"][languagecode="0"] {
    float:left;
}

div[kind^="SearchInputItemOperator"][languagecode="1"] {
    float: right;
}

div[kind="BibliographicKindRegion"] {
    border: 3px solid;
    margin-top: 10px;
    border-bottom: 0;
    border-left: 0;
    border-right: 0;
}

div[kind="BibliographicKindRegion"][languagecode="1"] {
    border-image: linear-gradient(to left, gray, rgba(0,0,0,0));
    border-image-slice: 1;
}

div[kind="BibliographicKindRegion"][languagecode="0"] {
    border-image: linear-gradient(to right, gray, rgba(0,0,0,0));
    border-image-slice: 1;
}


div[kind="BibliographicKind"] {
    padding-top: 10px;
}

div[kind="DigitalResources"] div.nosa-checkbox-grid {
    overflow: hidden;
    height: auto;
    border: none;
    padding-left: 5px;
    padding-right: 5px;
}

div[kind="DigitalResources"] div.nosa-checkbox-grid ul {
    column-count: 3;
    column-rule:none;
    border: 1px solid silver;
}

    .nosa-edit-layer-btn-container {
        position: relative;
        top: calc(50% - 17px);
        height: 34px;
    }

.nosa-edit-layer .btn {
    border-radius: 0px;
    margin: 0px 10px 0px 10px;
}

.nosa-btn-edit-layer {
    background-color: rgba(0, 0, 0, 0);
    /*background-repeat: repeat-x;*/
    border-color: rgba(150, 150, 150, 0.8);
    color: rgba(10, 10,10, 0.8);
    /*text-shadow: 0 -1px 0 rgba(0 ,0 ,0 ,0.62);*/
}

    .nosa-btn-edit-layer:hover, .nosa-btn-edit-layer:focus, .nosa-btn-edit-layer:active {
        /*border-color: rgba(150, 150, 150, 0.5);*/
        background-color: rgba(0, 0, 0, 0.3);
        color: rgba(250, 250, 250, 0.5) !important;
        text-shadow: 0 1px 1px rgba(255,255,255,0.59);
    }

.nosa-comment {
    display: block;
    text-align: right;
    clear: both;
}

/*.nosa-module-settings-okay-btn {
    background-color: #2fc975;
    color: #EEE;
}

    .nosa-module-settings-okay-btn:hover,
    .nosa-module-settings-okay-btn:focus,
    .nosa-module-settings-okay-btn.focus {
        background-color: #56f9a4;
        color: #CCC;
    }
*/
.nosa-entries-list {
    min-height: 350px;
    margin: 10px 5px 10px 5px;
    overflow-x: hidden;
    overflow-y: auto;
    border: solid 1px black;
}

.nosa-entries-list-no-entry {
    display: flex;
    align-items: center;
    justify-content: center;
    color: #808080;
}

.nosa-btn.circ-control-dialog-btn.nosa-ui-dialog-button.long-btn {
    width: auto;
    min-width: 100px;
}

.nosa-plain-list {
    list-style-type: none;
    position: relative;
}

    .nosa-plain-list li {
        min-height: 35px;
        vertical-align: middle;
        position: relative;
        background: #f1f7f8;
        transition: 0.3s;
        user-select: none;
        font-size: 18px;
        padding: 12px 8px 12px 8px;
        -webkit-user-select: none;
        -moz-user-select: none;
        -ms-user-select: none;
    }

        .nosa-plain-list li:nth-child(odd) {
            background: #d7e8ee;
        }

        .nosa-plain-list li:hover {
            background: #ccd5d8;
        }

.nosa-list-close-button {
    position: absolute;
    left: 0;
    top: 0;
    padding: 12px 16px 12px 16px;
}

.nosa-list-edit-button {
    position: absolute !important; /*incase of using glyphicons*/
    left: 42px;
    top: 0;
    padding: 20px 14px 17px 14px;
}

    .nosa-list-edit-button:hover {
        background: #f3c220;
        color: black;
    }

.nosa-list-close-button:hover {
    background-color: #f44336;
    color: white;
}

.nosa-error-message {
    color: #D8000C;
    background-color: #FFD2D2;
    margin-bottom: 10px;
    margin-top: 10px;
}

    .nosa-error-message span, .nosa-error-message i {
        padding: 10px;
    }

.nosa-toolbar-container {
    /*background: repeating-linear-gradient(45deg, #606dbc, #606dbc 10px, #465298 10px, #465298 20px);*/
    background: repeating-linear-gradient(45deg, rgba(204, 0, 0, 0.10), rgba(204, 0, 0, 0.10) 10px, rgba(255, 255, 255, 0.10) 10px, rgba(255, 255, 255, 0.10) 20px);
    color: white;
    padding-top: 0.5em;
    padding-bottom: 0.5em;
    margin-bottom: 1em;
    margin-top: 1em;
    width: 100%;
}

.nosa-global-toolbar {
}

.nosa-toolbar-button {
    text-align: center;
    padding: 0 12px;
    margin-right: 12px;
    transition: all 0.3s ease;
    font-size: 2rem;
    color: #FFF;
    background-color: #c00;
    vertical-align: middle;
    border: 2px solid black;
    display: inline-block;
    border-radius: 5px;
}

.nosa-toolbar-button i{
    vertical-align:middle;
}

.nosa-toolbar-button:hover {
    color: #444;
    background-color: #CCC;
}

.nosa-wait-container {
    background-color: rgba(30,30,30,0.8);
    position: absolute;
    width: 100%;
    height: 100%;
    z-index: 100;
}

.nosa-wait {
    display: inline-block;
    position: relative;
    width: 80px;
    height: 80px;
    left:-50%;
    /*top:50%;*/
}

.nosa-wait div{
    box-sizing: border-box;
    display: block;
    position: absolute;
    width: 64px;
    height: 64px;
    margin: 8px;
    border: 8px solid #fff;
    border-radius: 50%;
    animation: nosa-wait 1.2s cubic-bezier(0.5, 0, 0.5, 1) infinite;
    border-color: #fff transparent transparent transparent;
}

.nosa-wait div:nth-child(1) {
    animation-delay: -0.45s;
}

.nosa-wait div:nth-child(2) {
    animation-delay: -0.3s;
}

.nosa-wait div:nth-child(3) {
    animation-delay: -0.15s;
}

@keyframes nosa-wait{
    0%{
        transform: rotate(0deg);
    }
    100%{
        transform: rotate(360deg);
    }
}

.nosa-module-settings {
    margin-top: 5px;
    margin-bottom: 5px;
}

i.nosa-module-icon {
    font-size: 3rem;
    color: white;
    position: relative;
    border-radius: 50%;
    padding: 0.5rem 0.6rem;
    box-shadow: 0 1px 3px rgba(0,0,0,0.12), 0 1px 2px rgba(0,0,0,0.24);
    transition: color 0.2s ease, background-color 0.2s ease, transform 0.3s ease;
    background-color: #8897b9;
}

i.nosa-module-icon:after {
        width: 100%;
        height: 100%;
        border: solid 2px;
        transform: scale(0.8);
        position: absolute;
        top: -2px;
        left: -2px;
        border-radius: 50%;
        transition: all 0.3s ease;
        background-color: #8897b9;
    }

    i.nosa-module-icon:hover {
        color: #8897b9;
        background-color: transparent;
        transform: rotate(90deg);
        cursor: pointer;
        box-shadow: none;
    }

        i.nosa-module-icon:hover:after {
            transform: scale(1);
            box-shadow: 10px 0 20px rgba(0,0,0,0.19), 6px 0 6px rgba(0,0,0,0.23);
        }

.nosa-module-type-settings i {
    font-size: 3rem;
    color: white;
    position: relative;
    border-radius: 50%;
    padding: 0.5rem 0.6rem;
    background-color: #8897b9;
}

.tree-collapse {
    height: 1em;
    width: 12px;
    cursor: pointer;
    font-weight: bold;
    user-select: none;
    display: inline-block;
    color: black;
    margin: 4px 0 0;
    border: solid 1px darkgray;
    border-radius: 2px;
    text-align: center;
    vertical-align: top;
    background: linear-gradient(0deg, #a0a0a0, transparent);
}

.tree-collapsed::before {
    content: '-';
    position: relative;
    top: -4px;
}

.tree-expand::before {
    content: '+';
    position: relative;
    top: -4px;
}
