/* ################ GRID ############### */

/* Grid header */
/* Also doubles as the popup header */
.w2ui-grid .w2ui-grid-header,
.w2ui-popup .w2ui-popup-title {
    word-wrap: break-word;
    white-space: normal;
    padding: 10px;
    height: 40px;
    font-size: 22px;
    font-family: arial;
    color: white;
    font-weight: bold;
    background-color: #7ed2d2;
    background-image: none;
}

.rs_listview_container {
    border: 1px solid silver;
    border-radius: 2px;
    overflow: hidden;
    height: 100%;
    display: flex;
    flex-direction: column;
}

.rs_listview_title {
    word-wrap: break-word;
    white-space: normal;
    padding: 8px;
    font-size: 22px;
    font-family: arial;
    color: white;
    font-weight: bold;
    background-color: #7ed2d2;
    background-image: none;
    min-height: 44px;
    text-align: center;
    box-sizing: border-box;
    width: 100%;
    border-bottom: 1px solid #99bbe8;
    overflow: hidden;
    flex-shrink: 0;
}

.rs_listview_title_icon_container {
    display: flex;
    align-items: center;
}

.rs_listview_title_icon {
    cursor: pointer;
    height: 22px;
    margin-left: 5px;
}

.rs_title_icon_container {
    position: absolute;
    top: 10px;
    right: 10px;
    height: calc(100% - 20px);
}

.rs_title_icon {
    cursor: pointer;
    height: 100%;
}

.rs_title_icon + .rs_title_icon {
    padding-left: 5px;
}

.rs_listview_container table {
    border-spacing: 0;
    border-collapse: collapse;
}

.rs_listview_column_header {
    background-image: linear-gradient(#fff 0, #e7e7e7 100%);
    margin: 0;
    border-right: 1px solid #c5c5c5;
    border-bottom: 1px solid #c5c5c5;
    padding: 7px 5px;
    font-weight: bold;
    font-family: arial;
    font-size: 17px;
    color: #666;
    cursor: pointer;
    position: relative;
    vertical-align: middle;
}

.rs_listview_column_header:after {
    content: "";
    cursor: w-resize;
    height: 100%;
    width: 4px;
    position: absolute;
    right: 0;
    top: 0;
}

.rs_listview_sorting_arrow {
    float: right;
}

.rs_listview_text_container {
    min-height: 18px;
    white-space: nowrap;
    text-overflow: ellipsis;
    overflow: hidden;
}

.rs_listview_content {
    flex-grow: 1;
    display: flex;
    flex-direction: column;
    /* We want to be able to scroll the listview content left and right */
    overflow: auto;
    -webkit-overflow-scrolling: touch;
}

.rs_listview_header {
    flex-shrink: 0;
    position: -webkit-sticky;
    position: sticky;
    top: 0px;
}

.rs_listview_rows {
    flex-grow: 1;
}

/* Style the actual listview footer element */
.rs_listview_footer {
    position: -webkit-sticky;
    position: sticky;
    bottom: -1px;
    flex-shrink: 0;
    height: 25px;
}

.rs_listview_footer_cell {
    box-shadow: 0 -1px 0 #aaa;
    background-image: linear-gradient(#fff 0, #e7e7e7 100%);

}

.rs_listview_table_cell,
.rs_listview_footer_cell {
    padding: 3px 5px;
    border-right: 1px solid #d6d5d7;
    border-bottom: 1px solid transparent;
}

.rs_listview_table_row {
    background-color: #FFFFFF;
}

.rs_listview_table_row.odd {
    background-color: #f3f6fa;
}

.rs_listview_table_row:hover {
    background-color: #d2efef;
}

/* remove the border from the last column*/
.rs_listview_column_header.last {
    border-right: 1px solid #e7e7e7;
}

.rs_listview_table_cell.last {
    border-right: 1px solid #FFFFFF;
}

.rs_listview_table_cell.last.odd {
    border-right: 1px solid #f3f6fa;
}

.rs_listview_table_row.selected,
.rs_listview_table_cell.selected {
    background-color: #7ed2d2;
    color: white;
}

/* Make sure that the selected row colours the right border in the selected colour! */
.rs_listview_table_row.selected .rs_listview_table_cell.last,
.rs_listview_table_cell.selected.last {
    border-right: 1px solid #7ed2d2;
}

/* Make sure that the hover colours the right border with the proper colour! */
.rs_listview_table_row:hover .rs_listview_table_cell.last {
    border-right: 1px solid #d2efef;
}

.rs_listview_checkbox {
    cursor: pointer;
}

.w2ui-grid .w2ui-grid-body table td.w2ui-grid-data > div {
    font-family: arial;
    -webkit-user-select: text;
    -ms-user-select: text;
    user-select: text;
}

/* Column header settings */
.w2ui-head {
    height: 35px;
}

/* Style our column header and column group the same way! */
.w2ui-col-header,
.w2ui-col-group {
    font-weight: bold;
    font-family: arial;
    font-size: 17px;
    color: #666;
}

/* Normal selected column */
.w2ui-grid .w2ui-grid-body .w2ui-grid-records table tr.w2ui-selected {
    background-color: #7ed2d2 !important;
}

/* Checkbox selected column */
.w2ui-grid .w2ui-grid-body .w2ui-grid-records table tr.w2ui-selected,
.w2ui-grid .w2ui-grid-body .w2ui-grid-frecords table tr.w2ui-selected,
.w2ui-grid .w2ui-grid-body .w2ui-grid-records table tr td.w2ui-selected,
.w2ui-grid .w2ui-grid-body .w2ui-grid-frecords table tr td.w2ui-selected {
    background-color: #7ed2d2 !important;
}

/* Hover over row colour */
.w2ui-grid .w2ui-grid-body .w2ui-grid-records table tr.w2ui-odd:hover,
.w2ui-grid .w2ui-grid-body .w2ui-grid-frecords table tr.w2ui-odd:hover,
.w2ui-grid .w2ui-grid-body .w2ui-grid-records table tr.w2ui-odd.w2ui-record-hover,
.w2ui-grid .w2ui-grid-body .w2ui-grid-frecords table tr.w2ui-odd.w2ui-record-hover,
.w2ui-grid .w2ui-grid-body .w2ui-grid-records table tr.w2ui-even:hover,
.w2ui-grid .w2ui-grid-body .w2ui-grid-frecords table tr.w2ui-even:hover,
.w2ui-grid .w2ui-grid-body .w2ui-grid-records table tr.w2ui-even.w2ui-record-hover,
.w2ui-grid .w2ui-grid-body .w2ui-grid-frecords table tr.w2ui-even.w2ui-record-hover {
    background-color: #d2efef;
}

/* This automatically places rows in good spacing order vertically. */
.rockstar_td {
    border-bottom: 10px;
    border-style: solid;
    border-color: white;
}

/* Our standard button style */
button.w2ui-btn {
    font-size: 17px;
    font-weight: bold;
    font-family: arial;
    white-space: nowrap;
    flex-shrink: 0;
    margin-top: 4px;
}

button.w2ui-btn.left {
    margin-left: 0px;
    margin-right: 5px;
}

button.w2ui-btn.right {
    margin-right: 0px;
    margin-left: 5px;
}

/* ################ START ICON / HAMBURGER ############### */

.w2ui-tb-image {
    height: 26px !important
        /* --- Make it so our full logo height is visible --- */
}

.w2ui-toolbar {
    background-color: unset;
    /* --- Remove grey background --- */
}

.w2ui-tb-down {
    display: none;
    /* --- Hide dropdown arrow --- */
}

.menu-text {
    font-size: 17px ! important;
    /* --- Font size of the menu text --- */
    font-weight: bold;
}

/* ########### New Menu ######### */
.rockstar_menu_button {
    width: 22px;
    cursor: pointer;
}

.rockstar_menu_button_bar {
    height: 4px;
    background-color: #7ed2d2;
    border-radius: 5px;
}

.rockstar_menu_button_bar + .rockstar_menu_button_bar {
    margin-top: 4px;
}

div.rockstar_menu_list {
    overflow: auto;
}

div.rockstar_menu_list_container,
div.rockstar_lhs_menu_list_container {
    position: absolute;
    top: 62px;
    background: #FFFFFF;
    border: 3px solid #777;
    z-index: 10;
    padding-top: 4px;
    padding-bottom: 4px;
    border-radius: 4px;
}

div.rockstar_menu_list_container:after,
div.rockstar_menu_list_container:before {
    bottom: 100%;
    right: 30px;
    border: solid transparent;
    content: " ";
    height: 0;
    width: 0;
    position: absolute;
    pointer-events: none;
}

div.rockstar_menu_list_container:after {
    border-color: rgba(255, 255, 255, 0);
    border-bottom-color: #FFFFFF;
    border-width: 10px;
    margin-right: -10px;
}

div.rockstar_menu_list_container:before {
    border-color: rgba(119, 119, 119, 0);
    border-bottom-color: #777;
    border-width: 14px;
    margin-right: -14px;
}

/* now repeat the same thing, except for LHS-positioned menus */
div.rockstar_lhs_menu_list_container:after,
div.rockstar_lhs_menu_list_container:before {
    bottom: 100%;
    left: 30px;
    border: solid transparent;
    content: " ";
    height: 0;
    width: 0;
    position: absolute;
    pointer-events: none;
}

div.rockstar_lhs_menu_list_container:after {
    border-color: rgba(255, 255, 255, 0);
    border-bottom-color: #FFFFFF;
    border-width: 10px;
    margin-left: -10px;
}

div.rockstar_lhs_menu_list_container:before {
    border-color: rgba(119, 119, 119, 0);
    border-bottom-color: #777;
    border-width: 14px;
    margin-left: -14px;
}

div.rockstar_sub_menu_list_container {}

div.rockstar_sub_menu_list_container:after,
div.rockstar_sub_menu_list_container:before {
    top: 6px;
    right: -20px;
}

div.rockstar_sub_menu_list_container.right:after,
div.rockstar_sub_menu_list_container.right:before {
    top: 6px;
    left: -20px;
}

div.rockstar_sub_menu_list_container:after {
    border-color: rgba(255, 255, 255, 0);
    border-left-color: #FFFFFF;
    border-width: 10px;
    margin-top: 4px;
    margin-right: 0;
}

div.rockstar_sub_menu_list_container.right:after {
    border-color: rgba(255, 255, 255, 0);
    border-right-color: #FFFFFF;
    margin-left: 0;
}

div.rockstar_sub_menu_list_container:before {
    border-color: rgba(119, 119, 119, 0);
    border-left-color: #777;
    border-width: 14px;
    margin-right: -8px;
}

div.rockstar_sub_menu_list_container.right:before {
    border-color: rgba(119, 119, 119, 0);
    border-right-color: #777;
    border-width: 14px;
    margin-left: -8px;
}

div.rockstar_menu_item {
    font-size: 17px;
    padding: 10px;
    padding-top: 5px;
    padding-bottom: 5px;
    cursor: pointer;
    font-weight: bold;
}

div.rockstar_menu_item:hover {
    background-color: #e6f0ff;
}

div.rockstar_menu_separator {
    height: 1px;
    margin: 5px;
    border-radius: 4px;
    background-color: silver;
}

/* ######### Custom Layout Styles ######### */
/* Used to ensure all pages look the same!  */

div.workspace_container {
    position: absolute;
    top: 10px;
    left: 10px;
    right: 10px;
    bottom: 10px;
}

/* We want to be able to scroll */
/* We also need to set the touch for momentum scrolling */
div.workspace_container.scrolling,
div.rs_fieldset_content_container.scrolling {
    overflow: auto;
    -webkit-overflow-scrolling: touch;
}

/* If we want our page with a max width that's floated in the middle of the screen */
div.workspace_container.max_width {
    max-width: 1000px;
    margin: auto;
}

div.workspace_container.hidden {
    display: none;
}

div.workspace_container.visible {
    display: block;
}

div.menu_container {
    position: absolute;
    top: 10px;
    left: 10px;
    right: 10px;
    height: 50px;
    display: flex;
    align-items: center;
}

/* If we want our page with a max width that's floated in the middle of the screen */
div.menu_container.max_width {
    max-width: 1000px;
    margin: auto;
}

/* Sometimes people put text in the logo container, so we need a style for it! */
span.logo_container {
    font-size: 2em;
    font-family: arial;
}

span.page_title_container {
    display: inline-block;
    line-height: 41px;
    height: 41px;
    padding-left: 10px;
    flex-grow: 1;
    overflow: hidden;
}

span.menu_button_container {
    display: inline-block;
    width: 22px;
    background-color: white;
}

/* Our header container ( sits between menu and workspace ) */
div.header_container {
    height: 48px;
    padding-left: 10px;
    padding-right: 10px;
    padding-top: 8px;
    padding-bottom: 8px;
    position: absolute;
    top: 72px;
    left: 10px;
    right: 10px;
    box-sizing: border-box;
}

/* If we want our page with a max width that's floated in the middle of the screen */
div.header_container.max_width {
    max-width: 1000px;
    margin: auto;
}

/* If there is a workspace container below a menu container, move the workspace down */
div.menu_container ~ div.workspace_container {
    top: 62px;
}

/* If there is a workspace container below a header container, move the workspace down */
div.header_container ~ div.workspace_container {
    top: 130px;
}

iframe.workspace {
    height: 100%;
    width: 100%;
    border: 0px;
}

html,
body {
    height: 100%;
    width: 100%;
    margin: 0px;
    font: normal 15px arial;
}

body {
    overflow: hidden;
}

body.exported {
    overflow: visible;
}

div.quick_filters {
    position: absolute;
    top: 10px;
    left: 0px;
    right: 0px;
    height: 32px;
}

div.quick_filters.two_rows {
    height: 65px;
}

div.quick_filters div.w2ui-form-box div.w2ui-page {
    padding: 0;
    overflow: hidden;
}

table.popup_table.horizontal {
    border-spacing: 0;
    padding-left: 4px;
}

/* On the second row of the table, add some extra padding! */
table.popup_table.horizontal tr:nth-child(2) td {
    padding-top: 4px;
}

label.field_label,
td.field_label {
    font-weight: bold;
    color: #666 !important;
    white-space: nowrap;
}

/* We don't want to wrap stuff in a veritcal form */
label.field_label.vertical,
td.field_label.vertical {
    white-space: unset;
}

td.field_label {
    padding-right: 10px;
}

.field_label.top {
    vertical-align: top;
}

td + .field_label {
    padding-left: 15px;
}

div.listview {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 42px;
}

/* Move a listview that is below the quick filters down by a line */
div.quick_filters + div.listview {
    top: 51px;
}

div.quick_filters.two_rows + div.listview {
    top: 83px;
}

div.legend {
    font-size: 22px;
    font-family: arial;
    color: white;
    font-weight: bold;
    background-color: #7ed2d2;
    padding: 5px;
    padding-left: 10px;
    padding-right: 10px;
    text-align: center;
    margin-left: 10px;
    border: 1px solid #d5d8d8;
    border-radius: 5px 5px 0 0;
    display: inline-block;
    position: relative;
    top: 1px;
}

div.fieldset {
    border: 1px solid #d5d8d8;
    border-radius: 5px;
}

/* When someone has two fieldsets next to each other */
div.legend + div.fieldset + div.legend {
    margin-top: 10px;
}

/* When someone has two fieldsets next to each other, and they have an edit hyperlink in */
div.legend + span.hyperlink + div.fieldset + div.legend {
    margin-top: 10px;
}

/* When someone has two fieldsets next to each other, and they have an edit hyperlink in, ensure the next hyperlink gets moved down also */
div.legend + span.hyperlink + div.fieldset + div.legend + span.hyperlink {
    margin-top: 10px;
}

/* Ensure that the last fieldset has a margin at the bottom, so our page scrolls nicely */
div.fieldset:last-child {
    margin-bottom: 10px;
}

div.legend + span.hyperlink {
    float: right;
    margin-right: 10px;
    line-height: 39px;
}

div.button_panel {
    position: absolute;
    left: 0;
    right: 0;
    bottom: 0;
    height: 36px;
    display: flex;
    flex-wrap: wrap;
}

div.breadcrumb {
    flex-grow: 1;
    line-height: 32px;
    overflow: hidden;
}

table.popup_table {
    border-spacing: 10px;
}

table.popup_table.vertical {
    width: 100%;
    text-align: center;
}

span.hyperlink {
    cursor: pointer;
    color: blue !important;
    text-decoration: underline;
}

.rs_header {
    font-size: 28px;
    color: #777;
    line-height: 44px;
    font-family: arial;
    font-weight: 300;
    text-align: center;
    margin-top: 45px;
}

/* How our text should look */
/* Ensure we also override the text in the w2ui pop up */
.rs_normal_text,
.w2ui-reset input:not([type=button]):not([type=submit]):not([type=checkbox]):not([type=radio]),
.w2ui-reset select,
.w2ui-reset textarea,
.w2ui-popup .w2ui-alert-msg,
.w2ui-popup .w2ui-confirm-msg {
    font-style: normal;
    -webkit-font-smoothing: antialiased;
    font-size: 17px !important;
    font-weight: 400;
    font-family: arial !important;
    color: #777 !important;
    -ms-text-size-adjust: 100%;
    -webkit-text-size-adjust: 100%;
    text-size-adjust: 100%;
}

/* Override the popup body style */
.w2ui-popup .w2ui-popup-body {
    background-color: white;
}

/* Override the popup button style */
.w2ui-form .w2ui-buttons,
.w2ui-popup .w2ui-popup-buttons {
    background-color: white;
}

/* Remove the border at the bottom of the pop up title */
.w2ui-popup .w2ui-popup-title {
    border-bottom: 0px;
}

/* We don't need the padding left when we don't have any children */
.w2ui-popup .w2ui-popup-title:not(div) {
    padding-left: 10px;
}

/* Try adding some colour to the inputs */
input:not([type=list]).w2ui-input,
textarea:not([type=list]).w2ui-input,
div.w2ui-list {
    background-image: linear-gradient(#fff 0, #e7e7e7 100%);
}

.w2ui-grid .w2ui-grid-body table .w2ui-head {
    background-image: linear-gradient(#fff 0, #e7e7e7 100%);
}

/******** IDE WIDGET STYLES ********/
/* Style the file tree to have a bigger font */
UL.jqueryFileTree A {
    font-size: 17px;
}


/* Increase the size of the autocomplete prompt! */
.ace_editor.ace_autocomplete {
    width: 500px;
}

/********* Login Page Styles *********/
.rs_banner_text {
    font-size: 30px;
    color: #fff;
    line-height: 44px;
    font-family: arial;
    font-weight: 300;
    text-align: center;
}


.rs_banner {
    font-size: 30px;
    color: #fff;
    line-height: 44px;
    font-family: arial;
    font-weight: 300;
    text-align: center;
    min-height: 350px;
    max-height: 500px;
    display: flex;
    justify-content: center;
    /* align horizontal */
    align-items: center;
    /* align vertical */

}


.rs_circle {
    font-size: 28px;
    color: #fff;
    line-height: 44px;
    font-family: arial;
    font-weight: 300;
    text-align: center;
    min-height: 350px;
    max-height: 500px;
    margin-bottom: 15px;

    display: flex;
    justify-content: center;
    /* align horizontal */
    align-items: top;
    /* align vertical */

}

.rs_button_ghost {
    display: inline-block;
    width: 100px;
    padding: 8px;
    color: #fff;
    border: 1px solid #fff;
    border-radius: 10px;
    text-align: center;
    outline: none;
    text-decoration: none;
    font-size: 25px;
    margin-top: 15px;

}

.rs_button_ghost:hover,
.rs_button_ghost:active {
    border: 2px solid #fff;
}

.rs_button_login {
    display: inline-block;
    background-color: white;
    width: 100px;
    padding: 8px;
    color: #000;
    border: 4px solid #00e6ac;
    border-radius: 10px;
    text-align: center;
    outline: none;
    text-decoration: none;
    font-size: 25px;
    margin-top: 15px;

}

.rs_button_login:hover,
.rs_button_login:active {
    border: 2px solid #000;
}

/* Used to style the meter graph */
.rs_graph_meter {
    width: 100%;
    height: 100%;
    border: 1px solid #d1cac2;
    background-color: #fff2cf;
    border-radius: 3px;
}

.rs_graph_meter_bar {
    background-color: #f9a744;
    height: 100%;
}

/* Styles for the rockstar popup */
div.rs_disable_background {
    position: fixed;
    left: 0;
    top: 0;
    padding: 0;
    margin: 0;
    background-color: rgb(0, 0, 0);
    width: 100%;
    height: 100%;
    opacity: 0.4;
    border-top: 0.5px dotted red;
}

div.rs_popup_container {
    min-width: 450px;
    max-width: calc(100% - 20px);
    max-height: calc(100% - 40px);
    position: fixed;
    overflow: hidden;
    border-radius: 6px;
    padding: 0;
    margin: 0;
    border: 1px solid #777;
    background-color: #FFF;
    box-shadow: 0 0 25px #555;
    box-sizing: border-box;
    top: 20px;
    left: 50%;
    display: flex;
    flex-direction: column;
    transform: translate(-50%, 0);
}

div.rs_popup_container.rs_loading {
    min-width: 250px;
    z-index: 2100;
}

div.rs_popup_title {
    padding: 10px;
    height: 26px;
    flex-shrink: 0;
    overflow: hidden;
    white-space: nowrap;
    text-overflow: ellipsis;
    font-size: 22px;
    font-family: arial;
    color: white;
    font-weight: bold;
    background-color: #7ed2d2;
    text-align: center;
    position: relative;
}

div.rs_popup_content {
    padding: 10px;
    display: flex;
    overflow: auto;
    min-height: 75px;
    box-sizing: border-box;
}

div.rs_popup_content_lock {
    position: absolute;
    top: 56px;
    bottom: 0;
    left: 0;
    right: 0;
    opacity: 0.5;
    background-color: white;
}

div.rs_popup_form_container {
    padding: 0px;
}

div.rs_popup_form_container.new {
    display: flex;
    flex-direction: column;
    padding: 10px;
    padding-top: 6px;
    box-sizing: border-box;
}

div.rs_popup_buttons {
    /* We set the min height so that we can always see the buttons! */
    min-height: 57px;
    flex-shrink: 0;
    padding: 10px;
    box-sizing: border-box;
    border-top: 1px solid #d5d8d8;
    overflow: hidden;
    position: relative;
    display: flex;
}

div.rs_popup_center_buttons {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    white-space: nowrap;
}

div.rs_popup_left_buttons {
    float: left;
}

div.rs_popup_right_buttons {
    float: right;
}

/* When we include the editor in a popup, things go a bit crazy with the reset classes! */
.w2ui-form .ql-toolbar {
    border-spacing: initial;
}

/* Style a show html button */
.ql-show_html:after {
    content: "[source]";
}

/* When we set a width, include the border */
.mce-tinymce.mce-container.mce-panel {
    box-sizing: border-box;
}

/* Styles for the widget button */
div.form_widget_button {
    display: inline-block;
    color: #777;
    padding: 0 7px 0 7px;
    line-height: 1.8;
    border-radius: 3px;
    border: 1px solid #cacaca;
    background-image: linear-gradient(#fff 0, #e7e7e7 100%);
    cursor: pointer;
    margin-right: 7px;
}

div.form_widget_button.active {
    color: #000;
    border: 1px solid #000;
}

/* ################ New Page Builder! ################ */
.rs_page_builder_page {
    display: flex;
    flex-direction: column;
    min-height: 100%;
    height: 100%;
}

/* ################ New Quick Filters! ################ */
.rs_page_builder_quick_filters {
    display: flex;
    flex-wrap: wrap;
    margin-top: -4px;
    flex-shrink: 0;
}

.rs_page_builder_quick_filters.vertical {
    flex-direction: column;
    /* We want a 10px gap, but our first filter already has a 4px top margin */
    margin-top: 6px;
}

.rs_page_builder_graph {
    height: 150px;
    flex-shrink: 0;
}

.rs_field_container {
    display: flex;
    align-items: center;
    margin-top: 4px;
    flex-shrink: 0;
    min-height: 30px;
}

.rs_field_container.vertical_with_new_line_after_field_label {
    flex-direction: column;
    align-items: flex-start;
}

/* If we have two fields next to each other that are vertical */
.rs_field_container.vertical_with_new_line_after_field_label + .rs_field_container.vertical_with_new_line_after_field_label {
    margin-top: 14px;
}

.rs_field_label {
    margin-right: 10px;
    font-weight: bold;
    color: #666 !important;
    flex-shrink: 0;
}

.rs_field_label.error {
    color: #ffa8a8 !important;
}

.rs_field {
    margin-right: 20px;
    position: relative;
}

.rs_field.vertical {
    margin-right: 0;
}

.rs_field.vertical_with_new_line_after_field_label {
    margin-top: 8px;
    width: 100%;
}

/* ################ New Listview Container! ################ */
.rs_page_builder_listview {
    flex-grow: 1;
}

.rs_page_builder_quick_filters + .rs_page_builder_listview,
.rs_page_builder_quick_filters + .rs_page_builder_graph,
.rs_page_builder_graph + .rs_page_builder_listview {
    margin-top: 10px;
}

/* ################ New Fieldset! ################ */

.rs_fieldset_container {
    box-sizing: border-box;
    height: 100%;
}

/* If we have two fieldsets next to each other */
.rs_fieldset_container + .rs_fieldset_container {
    margin-top: 30px;
}

.rs_fieldset_container + .rs_fieldset_container.without_legend {
    margin-top: 10px;
}

/* If we have a fieldset below a field with a new line after the label! */
.rs_field_container.vertical_with_new_line_after_field_label + .rs_fieldset_container {
    margin-top: 30px;
}

/* color the legend to look like a tab*/
.rs_fieldset_container .rs_legend {
    font-size: 22px;
    font-family: arial;
    color: white;
    font-weight: bold;
    background-color: #7ed2d2;
    padding: 5px;
    padding-left: 10px;
    padding-right: 10px;
    text-align: center;
    margin-left: 10px;
    border: 1px solid #d5d8d8;
    border-radius: 5px 5px 0 0;
    display: inline-block;
    position: relative;
    top: 1px;
}

/* a drop down arrow */
.rs_tab_arrow {
    width: 0;
    height: 0;
    border-left: 8px solid transparent;
    border-right: 8px solid transparent;
    border-top: 8px solid white;
    margin-left: 8px;
    cursor: pointer;
}

/* put a nice border around the container*/
.rs_fieldset_container .rs_fieldset {
    border: 1px solid #d5d8d8;
    border-radius: 5px;
    padding: 10px;
    box-sizing: border-box;
    height: calc(100% - 38px);
}

/* when workspace scrolling is switched on, ensure fieldset right borders do not touch the scroll bar */
.scrolling .rs_fieldset_container .rs_fieldset {
    margin-right: 10px;
}

/* The content container inside of the fieldset */
.rs_fieldset .rs_fieldset_content_container {
    height: 100%;
    overflow: hidden;
    box-sizing: border-box;
    display: flex;
    flex-direction: column;
}

/* ensure we get a gap at the bottom of our page */
.rs_fieldset_container:last-child {
    margin-bottom: 10px;
}

/* ################ New Button Container! ################ */
.rs_page_builder_button_panel {
    display: flex;
    flex-wrap: wrap;
    margin-top: -4px;
    flex-shrink: 0;
}

/* A button panel below a listview, which has content! */
.rs_page_builder_listview + .rs_page_builder_button_panel:not(:empty) {
    margin-top: 6px;
}

/* A button panel below a listview, which doesn't have content! */
.rs_page_builder_listview + .rs_page_builder_button_panel:empty {
    margin-top: 0;
}

.rs_page_builder_breadcrumb {
    flex-grow: 1;
    line-height: 32px;
    overflow: hidden;
    margin-top: 4px;
}

/* ################ HEATMAP ############### */

.rs_heatmap_container {
    display: flex;
    -webkit-user-select: none;
    -ms-user-select: none;
    user-select: none;
}

.rs_heatmap_label_container {
    margin-right: 10px;
    margin-top: 35px;
}

.rs_heatmap_cell_container {
    display: grid;
    flex-grow: 1;
    width: 100%;
    align-content: start;
    overflow: auto;
    box-sizing: border-box;
    grid-column-gap: 5px;
    grid-row-gap: 5px;
    font-family: arial;
    -webkit-overflow-scrolling: touch;
}

/* Common styles for the label and cell */
.rs_heatmap_cell,
.rs_heatmap_label {
    display: flex;
    flex-direction: column;
    justify-content: center;
}

.rs_heatmap_cell {
    border-radius: 5px;
    padding: 10px;
    box-sizing: border-box;
    overflow: hidden;
    color: white;
    font-weight: bold;
    text-align: center;
}

.rs_heatmap_label {
    text-align: right;
    background-color: #ffffff;
    color: #A0A0A0;
    font-size: 18px;
    margin-bottom: 5px;
}

.rs_heatmap_header {
    height: 30px;
    padding-left: 0;
    padding-bottom: 0;
    padding-right: 0;
    text-align: center;
    background-color: #ffffff;
    color: #A0A0A0;
    font-weight: bold;
    font-size: 18px;
}

.rs_heatmap_hover_over {
    background-color: black;
    color: white;
    opacity: 0.85;
    font-family: arial;
    padding: 10px;
    border-radius: 5px;
    position: absolute;
    display: flex;
    align-items: center;
}

.rs_heatmap_hover_over:after {
    top: 100%;
    left: 50%;
    border: solid transparent;
    content: " ";
    height: 0;
    width: 0;
    position: absolute;
    pointer-events: none;
    border-top-color: rgba(0, 0, 0, 1);
    border-width: 10px;
    margin-left: -10px;
}

/* Remove the spinner in chrome */
input[type=date]::-webkit-inner-spin-button {
    -webkit-appearance: none;
    display: none;
}

.rs_date_input_with_placeholder:before {
    content: attr(placeholder);
    color: #aaa;
    margin-right: 0.5em;
}

.rs_date_input_with_placeholder:valid:before {
    margin-right: 0;
    content: "";
}

.rs_field_validation .w2ui-tag-body.w2ui-tag-top:after {
    left: unset;
    right: 12px;
}

/* ################ Range Selector ############### */
input[type=range].rs_range_selector {
    -webkit-appearance: none;
    width: 100%;
    margin: 7.5px 0;
}

input[type=range].rs_range_selector:focus {
    outline: none;
}

input[type=range].rs_range_selector::-webkit-slider-runnable-track {
    width: 100%;
    height: 5px;
    cursor: pointer;
    background: #5dd4d9;
}

input[type=range].rs_range_selector::-webkit-slider-thumb {
    height: 20px;
    width: 20px;
    border-radius: 20px;
    background: #3db3d0;
    cursor: pointer;
    -webkit-appearance: none;
    margin-top: -7.5px;
    border: 0;
}

input[type=range].rs_range_selector:focus::-webkit-slider-runnable-track {
    background: #72d9de;
}

input[type=range].rs_range_selector::-moz-range-track {
    width: 100%;
    height: 5px;
    cursor: pointer;
    background: #5dd4d9;
}

input[type=range].rs_range_selector::-moz-range-thumb {
    height: 20px;
    width: 20px;
    border-radius: 20px;
    background: #3db3d0;
    cursor: pointer;
    border: 0px;
}

input[type=range].rs_range_selector::-ms-track {
    width: 100%;
    height: 5px;
    cursor: pointer;
    background: transparent;
    border-color: transparent;
    color: transparent;
}

input[type=range].rs_range_selector::-ms-fill-lower {
    background: #48cfd4;
}

input[type=range].rs_range_selector::-ms-fill-upper {
    background: #5dd4d9;
}

input[type=range].rs_range_selector::-ms-thumb {
    border: 0;
    height: 18px;
    width: 18px;
    border-radius: 18px;
    background: #3db3d0;
    cursor: pointer;
    margin-top: 2px;
}

input[type=range].rs_range_selector:focus::-ms-fill-lower {
    background: #5dd4d9;
}

input[type=range].rs_range_selector:focus::-ms-fill-upper {
    background: #72d9de;
}

/* ################ PanelList Widget ############### */
.rs_panellist_container {
    width: 100%;
    position: relative;
    display: flex;
    box-sizing: border-box;
}

.rs_panellist_previous_button,
.rs_panellist_next_button {
    width: 38px;
}

.rs_panellist_next_button:after,
.rs_panellist_previous_button:after {
    display: block;
    content: "";
    position: absolute;
    box-sizing: border-box;
    top: 50%;
    z-index: 2;
    width: 20px;
    margin-top: -20px;
    height: 20px;
    border: 5px solid #c3c3c3;
    transform: rotate(-44deg);
}

/* Make these more specific by including their parent class! */
.rs_panellist_container .rs_panellist_previous_button:after {
    left: 10px;
    border-bottom-color: transparent;
    border-right-color: transparent;
    border-bottom-style: inherit;
    border-right-style: inherit;
}

/* Make these more specific by including their parent class! */
.rs_panellist_container .rs_panellist_next_button:after {
    right: 10px;
    border-top-color: transparent;
    border-left-color: transparent;
    border-top-style: inherit;
    border-left-style: inherit;
}

.rs_panellist_next_button.active:after,
.rs_panellist_previous_button.active:after {
    border-color: #7ed2d2;
    cursor: pointer;
    visibility: visible;
}

.rs_panellist_list {
    height: 249px;
    overflow: hidden;
    white-space: nowrap;
    display: flex;
    width: 100%;
    box-sizing: border-box;
}

.rs_panellist_item_container {
    text-align: left;
    flex-shrink: 0;
    flex-grow: 0;
    box-sizing: border-box;
    height: 249px;
    overflow: hidden;
    white-space: normal;
    margin-left: 0px;
    background-color: white;
    border: 1px solid #d8d8d8;
    width: calc(33.3333% - 6.6666px);
}

.rs_panellist_item_container + .rs_panellist_item_container {
    margin-left: 10px;
}

.rs_panellist_item_header {
    display: grid;
    padding: 10px;
    grid-template-columns: 40px 196px 40px;
}

.rs_panellist_item_header_logo {
    height: 40px;
}

.rs_panellist_item_header_title {
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
    padding: 10px;
    text-align: center;
    font-size: 19px;
    font-weight: bold;
    color: #141E64;
}

.rs_panellist_item_header_add_button {
    border: 1px solid #777;
    font-size: 35px;
    width: 40px;
    height: 40px;
    box-sizing: border-box;
    text-align: center;
    cursor: pointer;
}

.rs_panellist_item_description {
    white-space: nowrap;
    text-overflow: ellipsis;
    overflow: hidden;
    text-align: center;
    padding: 10px;
    color: #141E64;
    box-sizing: border-box;
    height: 40px;
}

.rs_panellist_item_image_container {
    height: 65px;
    text-align: center;
}

.rs_panellist_item_footer {
    background-color: #f8f8f8;
    border-top: #e5e5e5;
    padding: 10px;
    box-sizing: border-box;
    height: 70px;
    display: grid;
    grid-template-columns: 1fr 1fr;
    margin-top: 10px;
}

.rs_panellist_item_footer_item {
    color: #0099C6;
    font-size: 22px;
}

.rs_panellist_item_footer_item.right {
    text-align: right;
}

.rs_panellist_item_footer_item.with_border {
    border: 2px solid;
    justify-self: end;
    padding-left: 4px;
    padding-right: 4px;
}

/* ################ PaymentRequest Widget ############### */
form#rs-payment-form .StripeElement {
    font-style: normal;
    -webkit-font-smoothing: antialiased;
    font-size: 17px !important;
    font-weight: 400;
    font-family: arial !important;
    color: #777 !important;
    border: 1px solid #cacaca;
    border-radius: 3px;
    height: 20px;
    padding: 4px !important;
    background-image: linear-gradient(#fff 0, #e7e7e7 100%);
}

form#rs-payment-form .StripeElement--focus {
    box-shadow: 0 1px 3px 0 #cfd7df;
}

form#rs-payment-form .StripeElement--invalid {
    border-color: #fa755a;
}

form#payment-form .StripeElement--webkit-autofill {}

.rs_payment_request_button {
    cursor: pointer;
    width: 100%;
    background-color: #007aff;
    color: white;
    border: 0;
    padding: 5px 10px;
    font-size: 17px;
    line-height: normal;
}

.rs_payment_request_button:hover {
    background-color: white;
    color: #aeaeb2;
}

/* ################ ImageGrid Widget ############### */
/* Replace the regular file selector with a camera icon */
/* Apply the "rockstar_camera" styling to the div containing the input type = file */
/* Also have a <button> within the <div> to give the camera icon a realistic button look! */
div.rs_image_grid {
    overflow: hidden;
    position: relative;
}

div.rs_image_grid [type=file] {
    cursor: pointer;
    display: block;
    font-size: 999px;
    filter: alpha(opacity=0);
    min-height: 100%;
    width: 50px;
    opacity: 0;
    position: absolute;
    left: 0;
    top: 0;
}

button.rs_image_grid_camera_icon {
    border-radius: 50%;
    background-image: url("/public/rockstar/graphics/camera.png");
    background-repeat: no-repeat;
    background-position: center;
    height: 50px;
    width: 50px;
    background-color: white;
    cursor: pointer;
}

/* ################ AttachmentGrid Widget ############### */
/* Replace the regular file selector with a camera icon */
/* Apply the "rockstar_camera" styling to the div containing the input type = file */
/* Also have a <button> within the <div> to give the camera icon a realistic button look! */
div.rs_attachment_grid {
    overflow: hidden;
    position: relative;
}

div.rs_attachment_grid [type=file] {
    cursor: inherit;
    display: block;
    font-size: 999px;
    filter: alpha(opacity=0);
    min-height: 100%;
    min-width: 100%;
    opacity: 0;
    position: absolute;
    right: 0;
    text-align: right;
    top: 0;
}

button.rs_attachment_grid_icon {
    border-radius: 50%;
    background-image: url("/_infra/graphics/attachment_icon.png");
    background-size: contain;
    background-repeat: no-repeat;
    background-position: center;
    height: 50px;
    width: 50px;
    background-color: white;
}

/* ################ Separator Widget ############### */
div.rs_separator {
    border: 1px solid silver;
    border-radius: 6px;
    margin-top: 10px;
    margin-bottom: 10px;
}

div.rs_public_page_slideshow {
    max-width: 640px;
    margin: auto;
    margin-top: 45px;
    overflow: hidden;
    text-align: center;
    padding: 10px;
    position: relative;
}

div.rs_public_page_slideshow_image_container {
    height: 226px;
    width: 226px;
    margin: auto;
    margin-top: 10px;
    margin-bottom: 10px;
    overflow: hidden;
}

img.rs_public_page_slideshow_image {
    height: 100%;
}

@keyframes rs_public_page_slideshow_image_zoom_in {
    0% {
        transform: scale3d(1, 1, 1);
    }

    100% {
        transform: scale3d(2, 2, 2);
    }
}

img.rs_public_page_slideshow_play_button {
    position: absolute;
    left: 0;
    right: 0;
    width: 15%;
    margin: auto;
    top: 0;
    bottom: 0;
    cursor: pointer;
}

div.rs_public_page_slideshow_container {
    height: 100%;
    width: 100%;
}

@keyframes fade_out {
    0% {
        opacity: 1;
    }

    100% {
        opacity: 0;
    }
}

div.rs_public_page_slideshow_container.fade_out {
    animation-duration: 0.75s;
    animation-name: fade_out;
}

@keyframes fade_in {
    0% {
        opacity: 0;
    }

    100% {
        opacity: 1;
    }
}

div.rs_public_page_slideshow_container.fade_in {
    animation-duration: 0.75s;
    animation-name: fade_in;
}

@keyframes bounce_in {

    from,
    20%,
    40%,
    60%,
    80%,
    to {
        animation-timing-function: cubic-bezier(0.215, 0.61, 0.355, 1);
    }

    0% {
        opacity: 0;
        transform: scale3d(0.3, 0.3, 0.3);
    }

    20% {
        transform: scale3d(1.1, 1.1, 1.1);
    }

    40% {
        transform: scale3d(0.9, 0.9, 0.9);
    }

    60% {
        opacity: 1;
        transform: scale3d(1.03, 1.03, 1.03);
    }

    80% {
        transform: scale3d(0.97, 0.97, 0.97);
    }

    to {
        opacity: 1;
        transform: scale3d(1, 1, 1);
    }
}

div.rs_public_page_slideshow_container.bounce_in {
    animation-duration: 0.75s;
    animation-name: bounce_in;
}

@keyframes bounce_out {
    20% {
        transform: scale3d(0.9, 0.9, 0.9);
    }

    50%,
    55% {
        opacity: 1;
        transform: scale3d(1.1, 1.1, 1.1);
    }

    to {
        opacity: 0;
        transform: scale3d(0.3, 0.3, 0.3);
    }
}

div.rs_public_page_slideshow_container.bounce_out {
    animation-duration: 0.75s;
    animation-name: bounce_out;
}

@keyframes rotate_in {
    from {
        transform-origin: center;
        transform: rotate3d(0, 0, 1, -200deg);
        opacity: 0;
    }

    to {
        transform-origin: center;
        transform: translate3d(0, 0, 0);
        opacity: 1;
    }
}

div.rs_public_page_slideshow_container.rotate_in {
    animation-duration: 0.75s;
    animation-name: rotate_in;
}

@keyframes rotate_out {
    from {
        transform-origin: center;
        opacity: 1;
    }

    to {
        transform-origin: center;
        transform: rotate3d(0, 0, 1, 200deg);
        opacity: 0;
    }
}

div.rs_public_page_slideshow_container.rotate_out {
    animation-duration: 0.75s;
    animation-name: rotate_out;
}

@keyframes roll_in {
    from {
        opacity: 0;
        transform: translate3d(-100%, 0, 0) rotate3d(0, 0, 1, -120deg);
    }

    to {
        opacity: 1;
        transform: translate3d(0, 0, 0);
    }
}

div.rs_public_page_slideshow_container.roll_in {
    animation-duration: 0.75s;
    animation-name: roll_in;
}

@keyframes roll_out {
    from {
        opacity: 1;
    }

    to {
        opacity: 0;
        transform: translate3d(100%, 0, 0) rotate3d(0, 0, 1, 120deg);
    }
}

div.rs_public_page_slideshow_container.roll_out {
    animation-duration: 0.75s;
    animation-name: roll_out;
}

@keyframes zoom_in {
    from {
        opacity: 0;
        transform: scale3d(0.3, 0.3, 0.3);
    }

    50% {
        opacity: 1;
    }
}

div.rs_public_page_slideshow_container.zoom_in {
    animation-duration: 0.75s;
    animation-name: zoom_in;
}

@keyframes zoom_out {
    from {
        opacity: 1;
    }

    50% {
        opacity: 0;
        transform: scale3d(0.3, 0.3, 0.3);
    }

    to {
        opacity: 0;
    }
}

div.rs_public_page_slideshow_container.zoom_out {
    animation-duration: 0.75s;
    animation-name: zoom_out;
}

@keyframes slide_in {
    from {
        transform: translate3d(-100%, 0, 0);
        visibility: visible;
    }

    to {
        transform: translate3d(0, 0, 0);
    }
}

div.rs_public_page_slideshow_container.slide_in {
    animation-duration: 0.75s;
    animation-name: slide_in;
}

@keyframes slide_out {
    from {
        transform: translate3d(0, 0, 0);
    }

    to {
        visibility: hidden;
        transform: translate3d(100%, 0, 0);
    }
}

div.rs_public_page_slideshow_container.slide_out {
    animation-duration: 0.75s;
    animation-name: slide_out;
}

@keyframes flip_in {
    from {
        transform: perspective(400px) rotate3d(1, 0, 0, 90deg);
        animation-timing-function: ease-in;
        opacity: 0;
    }

    40% {
        transform: perspective(400px) rotate3d(1, 0, 0, -20deg);
        animation-timing-function: ease-in;
    }

    60% {
        transform: perspective(400px) rotate3d(1, 0, 0, 10deg);
        opacity: 1;
    }

    80% {
        transform: perspective(400px) rotate3d(1, 0, 0, -5deg);
    }

    to {
        transform: perspective(400px);
    }
}

div.rs_public_page_slideshow_container.flip_in {
    animation-duration: 0.75s;
    -webkit-backface-visibility: visible !important;
    backface-visibility: visible !important;
    animation-name: flip_in;
}

@keyframes flip_out {
    from {
        transform: perspective(400px);
    }

    30% {
        transform: perspective(400px) rotate3d(1, 0, 0, -20deg);
        opacity: 1;
    }

    to {
        transform: perspective(400px) rotate3d(1, 0, 0, 90deg);
        opacity: 0;
    }
}

div.rs_public_page_slideshow_container.flip_out {
    animation-duration: 0.75s;
    animation-name: flip_out;
    -webkit-backface-visibility: visible !important;
    backface-visibility: visible !important;
}

@keyframes lightspeed_in {
    from {
        transform: translate3d(100%, 0, 0) skewX(-30deg);
        opacity: 0;
    }

    60% {
        transform: skewX(20deg);
        opacity: 1;
    }

    80% {
        transform: skewX(-5deg);
    }

    to {
        transform: translate3d(0, 0, 0);
    }
}

div.rs_public_page_slideshow_container.lightspeed_in {
    animation-duration: 0.75s;
    animation-name: lightspeed_in;
    animation-timing-function: ease-out;
}

@keyframes lightspeed_out {
    from {
        opacity: 1;
    }

    to {
        transform: translate3d(100%, 0, 0) skewX(30deg);
        opacity: 0;
    }
}

div.rs_public_page_slideshow_container.lightspeed_out {
    animation-duration: 0.75s;
    animation-name: lightspeed_out;
    animation-timing-function: ease-in;
}

/* ################ Calendar ############### */
.rs_calendar_container {
    display: grid;
    grid-template-columns: 62px repeat(7, minmax(min-content, 135px));
    box-sizing: border-box;
}

.rs_calendar_day_title {
    padding: 10px;
    /* SP wanted this specifically, even though it's 1px less than it should be! */
    padding-left: 9px;
    box-sizing: border-box;
    display: flex;
    align-items: flex-end;
    min-width: 135px;
    position: -webkit-sticky;
    position: sticky;
    top: 0;
    z-index: 3;
    background-color: white;
    width: 100%;
    /* layout goes all wrong when day titles wrap on SP's mobile with large fonts */
    white-space: nowrap;
}

/* Remove the colour from the empty cell */
.rs_calendar_day_title:empty {
    background-color: unset;
}

.rs_calendar_hour_title_container {
    box-sizing: border-box;
    border-right: 1px solid silver;
    /* position: relative; */
    position: -webkit-sticky;
    position: sticky;
    left: 0;
    background-color: white;
    z-index: 3;
}

/* on suresh's phone that uses font-size: largest, time cells are overflowing on the left */
.rs_calendar_hour_title {
    position: absolute;
    top: -9px;
}

.rs_calendar_cell {
    box-sizing: border-box;
    border-right: 1px solid silver;
    border-top: 1px solid silver;
    display: flex;
    padding-right: 10px;
}

.rs_calendar_entry {
    padding: 10px;
    border-top: 10px solid #21427A;
    background-color: #4284f4;
    color: #ffffff;
    box-sizing: border-box;
    z-index: 2;
    border-radius: 5px;
    box-shadow: 3px 3px 3px 1px #ccc;
    flex-grow: 0;
    flex-shrink: 0;
    width: 125px;
    min-height: 35px;
    /* We use relative to allow us to float the corner text over our cell*/
    position: relative;
}

.rs_calendar_entry_corner_text {
    font-size: 14px;
    position: absolute;
    right: 8px;
    top: 10px;
}

.rs_calendar_entry + .rs_calendar_entry {
    margin-left: 5px;
}

.rs_calendar_entry.highlighted {
    box-shadow: 0px 0px 3px 3px #ff7600;
}

/* ################ OrgChart ############### */
.rs_orgchart_container {
    overflow: auto;
    -webkit-overflow-scrolling: touch;
}

.rs_orgchart_entry {
    background-image: linear-gradient(#fff 0, #e7e7e7 100%);
    border: 1px solid #c5c5c5;
    box-shadow: 0 1px 0 #fff;
    font-family: arial;
    font-size: 17px !important;
    color: #666;
    cursor: pointer;
    border-radius: 4px;
    padding: 2px 8px !important;
    vertical-align: top;
}

.rs_orgchart_selected_entry {
    border: 2px solid black;
}

/* ################ Form ############### */
.rs_form_container {
    position: relative;
}

.rs_form_lock {
    position: absolute;
    top: 0;
    bottom: 0;
    left: 0;
    right: 0;
    opacity: 0.5;
    background-color: white;
}

.rs_form_lock_content {
    position: absolute;
    top: 0;
    bottom: 0;
    left: 0;
    right: 0;
    display: flex;
    align-items: center;
    justify-content: center;
    flex-direction: column;
}

.rs_form_lock_text {
    background-color: rgba(0, 0, 0, 0.25);
    padding: 10px;
    font-size: 22px !important;
    border-radius: 5px;
    color: rgba(119, 119, 119, 1) !important;
}

.rs_form_lock_spinner {
    height: 30px;
    opacity: 0.5;
}

.rs_form_lock_text + .rs_form_lock_spinner {
    height: 80px;
}

/* ################ Signature widget ############### */
.rs_signature_container {
    height: calc(100% - 10px);
    width: calc(100% - 10px);
    padding: 4px;
    border: 1px solid #cacaca;
    border-radius: 3px;
    background-image: linear-gradient(#fff 0, #e7e7e7 100%);
    display: flex;
    justify-content: center;
    align-items: center;
}

/* ################ Textarea Popup widget ############### */
.rs_textarea_popup {
    background-color: #f1f1f1;
    border: 1px solid #cacaca;
    border-radius: 3px;
    background-image: linear-gradient(#fff 0, #e7e7e7 100%);
    padding: 4px;
    height: calc(100% - 10px);
    width: calc(100% - 10px);
}

.rs_textarea_popup_entry {
    background-image: linear-gradient(#fff 0, #e7e7e7 100%);
    padding: 4px;
    height: calc(100% - 10px);
    width: calc(100% - 10px);
    display: flex;
    flex-direction: column;
    min-height: 100px;
}

.rs_textarea_popup_entry_buttons {
    display: flex;
    justify-content: flex-end;
    position: absolute;
    top: 4px;
    right: 4px;
}

.rs_textarea_popup_edit_link {
    cursor: pointer;
    color: #777 !important;
    text-decoration: underline;
    position: absolute;
    bottom: 5px;
    right: 5px;
}

.rs_textarea_popup_entry + .rs_textarea_popup_entry {
    background-color: #f1f1f1;
    border-top: 1px solid #cacaca;
}

/* ################ Make safari the same as chrome! ############### */
input:disabled,
textarea:disabled {
    opacity: unset;
}

/* ################ Treeview widget ############### */
.rs_treeview_container {
    padding: 0;
    margin: 0;
    overflow: auto;
}

.rs_treeview_group {
    padding: 0;
    margin: 0;
}

.rs_treeview_item {
    padding: 5px 0 5px 25px;
    list-style: none;
    position: relative;

}

.rs_treeview_item:before {
    font-family: 'octicons' !important;
    position: absolute;
    left: 10px;
}

.rs_treeview_item.chevron_down:before {
    content: "\e907";
}

.rs_treeview_item.chevron_right:before {
    content: "\e908";
}

.rs_treeview_label {
    display: flex;
    cursor: pointer;
}

.rs_treeview_label:before {
    font-family: 'octicons' !important;
    font-size: 17px;
    margin-right: 5px;
    width: 17px;
}

.rs_treeview_label.repo:before {
    content: "\e901";
}

.rs_treeview_label.file-directory:before {
    content: "\e903";
}

.rs_treeview_label.file-text:before {
    content: "\e904";
}

.rs_treeview_label.file-book:before {
    content: "\e906";
}

.rs_treeview_context_menu {
    position: absolute;
    border: 1px solid #c5cad3;
    background-color: #d7dae0;
    padding: 10px;
    padding-bottom: 0;
    z-index: 4;
}

.rs_treeview_context_menu_item {
    padding-bottom: 10px;
    cursor: pointer;
}

.rs_treeview_context_menu_item + .rs_treeview_context_menu_item {
    border-top: 1px solid #c5cad3;
    padding-top: 10px;
}

/* ################ Tabview widget ############### */
.rs_tabview_container {
    display: grid;
    grid-template-rows: 30px auto;
}

.rs_tabview_tabs {
    overflow: hidden;
    display: flex;
}

.rs_tabview_pages {}

.rs_tabview_tab {
    border-right: 1px solid #c5cad3;
    border-bottom: 1px solid #c5cad3;
    color: #5c6370;
    cursor: pointer;
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
    text-align: center;
    padding: 6px;
    max-width: 33%;
    flex-grow: 1;
    position: relative;
}

.rs_tabview_tab.selected {
    background-color: #2c313a;
    color: #dcdfe4;
    border-color: #2c313a;
}

.rs_tabview_tab_close_icon {
    display: inline-block;
    width: 12px;
    height: 12px;
    overflow: hidden;
    position: absolute;
    right: 10px;
    top: 8px;
}

.rs_tabview_tab_close_icon::before,
.rs_tabview_tab_close_icon::after {
    content: '';
    position: absolute;
    height: 2px;
    width: 100%;
    top: 50%;
    left: 0;
    margin-top: -1px;
    background: #5c6370;
}

.rs_tabview_tab_close_icon::before {
    transform: rotate(45deg);
}

.rs_tabview_tab_close_icon::after {
    transform: rotate(-45deg);
}

.rs_tabview_page_container {
    height: 100%;
    width: 100%;
    display: none;
    position: relative;
}

.rs_tabview_page_container.visible {
    display: block;
}

.rs_tabview_page {
    position: absolute;
    top: 0;
    bottom: 0;
    left: 0;
    right: 0;
}

/* ################ Multiple Fieldset widget ############### */
.rs_multiple_fieldset_button_container {
    display: flex;
    justify-content: flex-end;
}

/* ################ Toggle widget ############### */
.rs_toggle_container {
    display: flex;
}

.rs_toggle_item {
    cursor: pointer;
    border: 1px solid silver;
    padding: 4px 10px;
    margin-left: -1px;
    border-color: silver;
    z-index: 1;
    background-image: linear-gradient(#fff 0, #e7e7e7 100%);
}

.rs_toggle_item:first-child {
    border-top-left-radius: 3px;
    border-bottom-left-radius: 3px;
    margin-left: 0;
}

.rs_toggle_item:last-child {
    border-top-right-radius: 3px;
    border-bottom-right-radius: 3px;
}

.rs_toggle_item.selected {
    border-color: #7ed2d2;
    color: #7ed2d2 !important;
    font-weight: bold;
    /*
    Make sure our coloured border always appears above the others!
    We need to do this because we are using a margin-left hack to hide one border underneath the other!
    */
    z-index: 2;
}