/* Snippet Library styles */

.orb_cloud_lib_wrapper {
    /*margin: 1em 0;*/
}

.orb_cloud_lib_wrapper span.label {
    font-weight: bold;
    color: #3c7504; /* #336600 */
    margin-bottom: 5px;
    margin-top: 10px;
    display: inline-block;
}

.orb_cloud_lib_wrapper span.descr {
    font-size: 14px;
    margin-bottom: 5px;
    display: inline-block;
}

.orb_ctc_ext_cloud_lib_search .selector {
    width: 70%;
}

.orb_cloud_lib_wrapper .half_text {
    width: 50%;
}

/* jQuery UI tweaks / overrides */
.orb_cloud_lib_wrapper .ui-autocomplete-loading {
    background: url('images/loader.gif') no-repeat right center
}

.orb_cloud_lib_wrapper .ui-widget-header {
    border: 0;
    background: inherit;
}

.orb_cloud_lib_wrapper .ui-tabs .ui-tabs-nav {
    padding: 2px;
}

.orb_cloud_lib_wrapper .tabcontent {
    padding: 5px !important;
    margin: 0 5px !important;
}

.orb_cloud_lib_wrapper .ui-widget-content {
    padding: 0;
}
/* /jQuery UI tweaks / overrides */

.orb_cloud_lib_wrapper .text_75p {
    width: 75%;
}

.orb_cloud_lib_wrapper .app_hide {
    display: none;
}

.orb_cloud_lib_wrapper h3 {
    margin: 0.5em 0;
}

.orb_cloud_lib_wrapper .nav-tab-wrapper {
    margin: 0px !important;
    padding: 0px !important;
}

/*.ui-dialog.edit_snippet, .ui-dialog.view_snippet {
    min-height: 300px !important;
    background: white;
    border: 1px solid #ccc;
    padding: 10px;
    min-width: 400px !important;
}*/

.orb_cloud_lib_wrapper .app_hide {
    display: none;
}

.orb_cloud_lib_wrapper .manage_snippets {
    /*border: 1px solid #ccc;*/
    /*margin: 10px 0;*/
    /*padding: 3px 5px;*/
}


.orb_cloud_lib_wrapper .delete_snippet_title {
    font-size: 14px;
    font-weight: bold;
    font-style: italic;
}

.orb_cloud_lib_wrapper .edit_title, .orb_cloud_lib_wrapper .view_title {
    width: 100%;
    margin-bottom: 10px;
    border-radius: 5px;
    min-width: 330px !important;
}

.orb_cloud_lib_wrapper .edit_content, .orb_cloud_lib_wrapper .view_content {
    width: 100%;
    min-height: 300px;
    border-radius: 5px;
    min-width: 330px !important;
}

.orb_cloud_lib_wrapper #edit_snippet h3, .orb_cloud_lib_wrapper #view_snippet h3{
    margin-top: 0px;
}

.orb_cloud_lib_wrapper .manage_snippets h3 {
    /*font-weight: bolder;
    color: red;
    text-decoration: underline;*/
    padding-left: 10px;
}

.orb_cloud_lib_wrapper .button.snippet_edit_view_btn, 
.orb_cloud_lib_wrapper .button.snippet_view_btn, 
.orb_cloud_lib_wrapper .button.snippet_edit_btn, 
.orb_cloud_lib_wrapper .button.snippet_delete_btn {
    color: white;
}

.orb_cloud_lib_wrapper .button.snippet_view_btn {
    background-image: linear-gradient(#1e8cbe, #0074a2);
}

.orb_cloud_lib_wrapper .button.snippet_edit_btn, .orb_cloud_lib_wrapper .button.snippet_edit_view_btn {
    /*background-image: linear-gradient(#3c7504, #336600);*/
    background-image: linear-gradient(#4f8916, #244900);
}

.orb_cloud_lib_wrapper .button.snippet_delete_btn {
    background-image: linear-gradient(#e50202, #750303);
}

.orb_cloud_lib_wrapper .manage_snippets_table_wrapper {
    overflow: auto;
    font-size: 14px;
    max-height: 350px;
}

.orb_cloud_lib_wrapper .manage_snippets_table_wrapper table tr td {
    /*border-bottom: 1px solid #d8d8d8;*/
    padding: 0;
    margin-bottom: 5px;
    font-size: 14px;
}

.orb_cloud_lib_wrapper .manage_snippets_table_wrapper table tr td.td_title {
    font-size: 14px;
}

.orb_cloud_lib_wrapper .hover_row:hover {
    background: #ffff99;
}

.orb_cloud_lib_wrapper .manage_snippets_table_wrapper table tr .cmd_row {
    width: 45%;
    text-align: right;
    vertical-align: middle;
}

/*https://css-tricks.com/snippets/css/truncate-string-with-ellipsis/*/
.orb_cloud_lib_wrapper .truncate {
  width: 250px;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

.orb_cloud_lib_wrapper .alt_row {
    background: #eee;
}
