/*
In Table Central, Role Central, and App Central, there are a number of common nav elements
(in UXV2, this is the bar on the left side with the different actions; this replaces the 
strip of tabs across the top found in V1 mode)

These styles are common sets of styles for that markup, so that all those left-hand menus can look the same.

This file is relevant to TableCentralChromeHeader.html, AppCentralChromeHeader.html, and RoleCentralChromeHeader.html
*/
@import url("FeatureUpgrade.css");
/* In UXV2, we want the nav to go straight up against the side of the page */
#bodyTable {
    min-width: 100%;
}

.SideSpacer, .TopSpacer {
    display: none;
}

#stripe4x {
    display: none;
}

/* no top padding, messes up whitespace alignment */
.TableGridBody .ControlPanel {
    padding-top: 0;
}

/* outermost container for everything in the settings page */
#tabsContainer {
    margin-top: 1em;
    width: 100%;
}

/* table-cell display for multi-column layout */
#tabsContainer > * {
    display: table-cell;
    vertical-align: top;
}

/* right column should expand to fill the rest of the horizontal space */
#tabContentContainer {
    min-width: 400px;
    padding: 0.5em 1.5em 1em 0;
    width: 100%;
}

#tabContentContainer > * {
    margin: 0 !important;
    padding: 0 !important;
}

/* left column should only be as wide as necessary, no wrapping */
#tabsLeftSideMenu {
    padding-left: 1.7em;
    padding-right: 2em;
    white-space: nowrap;
}

/* button at top of left menu that allows navigating between app/table/personal settings areas */
#settingsJumpMenuButton {
    font-size: 1em;
    overflow-x: hidden;
    padding-left: 10px;
    padding-right: 20px;
    position: relative;
    white-space: nowrap;
}

.PageNavBar #settingsJumpMenuButton {
    margin-left: 0;
    margin-right: 0;
    padding: 0 0.4em .3em 0.4em;
}

body.SettingsMode .PageNavBar .Icon20 {
    top: auto;
}

body.SettingsMode .PageNavBar .PageNavBarActions.RightColumn {
    padding-top: 4px;
    vertical-align: middle;
}

.PageNavBar #settingsJumpMenuButton > * {
    display: inline-block;
    font-weight: normal;
    vertical-align: middle;
}

#settingsJumpMenuButton .Text {
    max-width: 220px;
    overflow-x: hidden;
    text-overflow: ellipsis;
}

#settingsJumpMenuButton .Icon.DownArrow {
    background-position: center center;
    background-repeat: no-repeat;
    margin: 0;
    padding: 0;
}

/* "Exit Settings" link beneath settingsJumpMenu needs special positioning */
#pageNavBarExitSettingsAction {
    margin: .3em 0 0 38px !important;
}

/* each "group" of actions is a single <section> */
#tabsLeftSideMenu > section {
    margin-bottom: 2em;
    margin-top: 0.5em;
}

/* the title of the group of actions */
#tabsLeftSideMenu > section > header {
    border-bottom: 1px solid #ccc;
    font-weight: normal;
    margin-bottom: 0.3em;
    padding-bottom: 0.3em;
}

/* within a group are a bunch of links; style their hover state */
#tabsLeftSideMenu > section > .Link {
    border-radius: 3px;
    display: block;
    margin-left: 0.33em;
    position: relative;
}

/* we don't want the <a> tags to be block themselves; we want the tooltips
on these <a> tags to appear right at the end of the <a>, not way to the right */
#tabsLeftSideMenu > section > .Link > a {
    background-position: left top;
    background-repeat: no-repeat;
    color: #505050;
    display: inline-block;
    line-height: 32px;
    padding-left: 30px;
    text-decoration: none;
}

/* icons internally to allow sprite-based icons */
#tabsLeftSideMenu > section > .Link > a > .Icon {
    display: inline-block;
    height: 24px;
    left: 3px;
    margin-top: -12px;
    position: absolute;
    top: 50%;
    width: 24px;
}

#tabsLeftSideMenu > section > .Link > a#personalSettingsNav_emails,
#tabsLeftSideMenu > section > .Link > a#tableSettingsNav_emails {
    line-height: 18px;
}


/* indicates that this link is to the currently-active page */
#tabsLeftSideMenu > section > .Link.Selected {
    background-color: #e2eefc;
}

#tabsLeftSideMenu > section > .Link.Selected > a {
    color: black;
}

/* hover state for links */
#tabsLeftSideMenu > section > .Link.Active > a:hover {
    color: #427CD8;
}


/**********************************************************************************
Shared code for settings home pages (e.g. AppSettingsHome and TableSettingsHome)
**********************************************************************************/

/* settings homepage basic configuration of app/table name/description/etc */
.SettingsTopLevel {
    display: block;
    margin-left: 48px;
    padding: 20px 10px 10px 0;
}

.SettingsTopLevel .Columns {
    display: table;
    width: 100%;
}

.SettingsTopLevel .Columns .Column {
    -moz-box-sizing: border-box;
    -webkit-box-sizing: border-box;
    box-sizing: border-box;
    /* sizing includes right padding */
    display: table-cell;
    padding-right: 15px;
    vertical-align: top;
}

.SettingsTopLevel .Columns .Column.FullWidth {
    padding-right: 24px;
    width: 100%;
}

.SettingsTopLevel .Field {
    border: 1px solid #b9b9b9;
    -moz-border-radius: 4px;
    -webkit-border-radius: 4px;
    border-radius: 4px;
    display: inline-block;
    height: 20px;
    margin-top: 5px;
    padding: 7px 10px;
    -moz-transition: 0.1s linear background-color;
    -webkit-transition: 0.1s linear background-color;
    transition: 0.1s linear background-color;
    width: 180px;
}

.SettingsTopLevel .Changed {
    background-color: #fffddd;
}

.SettingsTopLevel .Invalid {
    background-color: #ffeaea;
}

.SettingsTopLevel .Columns .Column.FullWidth .Field {
    /* be as wide as possible */
    -moz-box-sizing: border-box;
    /* sizing includes padding */
    -webkit-box-sizing: border-box;
    box-sizing: border-box;
    width: 100%;
}

.SettingsTopLevel .Description.Field {
    /* gets automatically resized by $.fn.autosize */
    height: 36px;
    max-height: 8em; /* max height in em to line up with # of lines */
    min-height: 20px; /* height of icon picker */
    resize: none; /*disable user resizing*/
}

#selectedIconSearch,
.selectedIconSearch {
    height: 24px;
    width: 24px;
}

/* container for settings homepage columns */
.SettingsHomeColumns {
    margin-right: 24px;
    min-width: 750px;
    padding-left: 3px;
    /*
    min 250px/column * 3 columns
    applying to container to help prevent columns (inline-block) from wrapping
    */
    padding-top: 20px;
}

/* stylized green "add" icon found in customize homepages */
.SettingsHomeColumns Button .Add.Icon {
    background-image: url("./images/icons/settingsHomeAdd.png");
    background-position: 0 -4px;
    background-repeat: no-repeat;
    border: 0;
    display: inline-block;
    height: 12px;
    left: 2px;
    margin-top: -7px;
    padding: 0 4px 0 0;
    position: absolute;
    top: 50%;
    width: 16px;
}

.SettingsHomeColumns Button:hover .Add.Icon {
    background-position: 0 -24px;
}

.SettingsHomeColumns Button.Disabled {
    background-color: #F5F5F5;
    border: 1px solid #EDF0F3;
    color: #969696;
    cursor: auto;
}

.SettingsHomeColumns Button.Disabled .Add.Icon {
    background-image: url("./images/icons/settingsHomeAdd.png");
    background-position: 0 -65px;
}

.SettingsHomeColumns Button.Disabled .Icon.DownArrow {
    background-image: url("./images/icons/down_arrow-disabled.png");
}

table.SettingsHomeTable {
    width: 100%;
}

table.SettingsHomeTable tr td {
    -moz-box-sizing: border-box;
    -webkit-box-sizing: border-box;
    /* thirds, with a minimum width */
    box-sizing: border-box;
    display: inline-block;
    /* sizing includes right padding */
    padding-left: 45px;
    vertical-align: top;
    width: 33%;
}

.LoginSpinner {
    display: inline-block;
    height: 17px;
    vertical-align: middle;
    width: 17px;
}

.SettingsHomeTable header {
    white-space: nowrap;
}

/* divider between title and items in the column */
.SettingsHomeTable .Divider {
    background-image: url("./images/section_divider_A.png");
    background-repeat: repeat-x;
    height: 13px;
    margin-top: 0.6em;
}

/* container for column items (used to get :first-child right in children) */
.SettingsHomeTable .AppSettingsContainer,
.SettingsHomeTable .TableSettingsContainer {
    margin-top: 2.6em;
    padding: 0 14px;
}

.SettingsHomeTable > tbody > tr:first-child .AppSettingsContainer,
.SettingsHomeTable > tbody > tr:first-child .TableSettingsContainer {
    margin-top: 0;
}

/* Update new FLex layout for setting page */
.SettingFlexContainer {
    display: flex;
    flex-direction: column;
    padding: 10px 0 45px 0;
    width: 100%;
}

.SettingFlexContainer .FlexCol {
    display: flex;
    flex-direction: column;
    padding-left: 45px;
    width: 100%;
}

.SettingFlexContainer .FlexRow {
    align-content: flex-start;
    align-items: stretch;
    display: flex;
    flex-direction: row;
    flex-wrap: nowrap;
    justify-content: space-evenly;
    width: 100%;
}

.SettingFlexContainer .AppSettingsContainer {
    margin-top: 2.5em;
}

.SettingFlexContainer .FlexCol .AppSettingsContainer:first-child,
.SettingFlexContainer .FlexCol .TableSettingsContainer:first-child {
    margin-top: 0;
}


/* Main link to item; should also have class FS-H2 */
.SettingsHomeTable .MainLink {
    display: inline-block;
    font-size: 1.25em;
    font-weight: normal;
    padding: 0.5em 0;
    text-decoration: none;
}

/* A short blurb of text describing the item */
.SettingsHomeTable .TableSettingsContainer .Description,
.SettingsHomeTable .AppSettingsContainer .Description {
    margin: 0;
}

#FileAttachmentPage {
    padding: 1em 1.5em 1em 1.7em;
}

#tabContentContainer .label {
    font-weight: bold;
}

#tabContentContainer .label.boldFamily {
    font-family: 'Gibson-bold', Helvetica, Arial, sans-serif;
}

.EmailAccountManagerTable > tbody > tr > td:first-child > span {
    font-weight: bold;
}

.AccountAdminEmails {
    display: inline-block;
    max-width: 600px;
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
    width: 600px;
}

#tabsLeftSideMenu .Overlay.Locked.Icon {

}

button.TableSettings span.RightArrow,
button.AppSettings span.RightArrow {
    background-image: url("./images/icons/settingsHomeAdd.png");
    background-position: 0 -44px;
    background-repeat: no-repeat;
    display: inline-block;
    height: 12px;
    padding: 0;
    width: 16px;
}

a.LearnMoreLink {
    display: inline-block;
    padding-top: 5px;
}

.QB.Dialog.Lightbox .ui-dialog-titlebar,
.QB.Dialog.Lightbox .ui-dialog-buttonpane {
    display: none;
}

.Lightbox .CloseLightbox {
    background: url(./images/Close_Transit.png);
    cursor: pointer;
    float: right;
    height: 22px;
    width: 22px;
}

.Tiny.DataConnection.Icon {
    background-size: 16px 16px;
}

.Small.DataConnection.Icon {
    background-size: 24px 24px;
}

.Tiny.DataConnection.Icon.Admin-Console {
    background-position-y: -2px !important;
}

.Small.DataConnection.Icon.Admin-Console {
    background-repeat: no-repeat;
}

/* large icons on table settings page */
.Large.TableSettings.Icon.Connection.Bill-com {
    background-image: url("./images/icons/connections/Billdotcom.svg");
    background-position: 0 0;
    background-size: 35px 35px;
}

.Large.TableSettings.Icon.Connection.Box-com {
    background-image: url("./images/icons/connections/box.svg");
    background-position: 0 0;
    background-size: 35px 35px;
}

.Large.TableSettings.Icon.Connection.Public-CSV {
    background-image: url("./images/icons/connections/CSV.svg");
    background-position: 0 0;
    background-size: 35px 35px;
}

.Large.TableSettings.Icon.Connection.Dropbox,
.Large.TableSettings.Icon.Connection.DropBox {
    background-image: url("./images/icons/connections/dropbox.svg");
    background-position: 0 0;
    background-size: 35px 35px;
}

.Large.TableSettings.Icon.Connection.GoogleDrive {
    background-image: url("./images/icons/connections/GoogleDrive.svg");
    background-position: 0 0;
    background-size: 35px 35px;
}

.Large.TableSettings.Icon.Connection.Intacct {
    background-image: url("./images/icons/connections/Intacct.svg");
    background-position: 0 0;
    background-size: 35px 35px;
}

.Large.TableSettings.Icon.Connection.NetSuite {
    background-image: url("./images/icons/connections/NetSuite.svg");
    background-position: 0 0;
    background-size: 35px 35px;
}

.Large.TableSettings.Icon.Connection.QuickBase {
    background-image: url("./images/icons/connections/QuickBase.svg");
    background-position: 0 0;
    background-size: 35px 35px;
}

.Large.TableSettings.Icon.Connection.QuickBooks,
.Large.AppSettings.Icon.Connection.QuickBooks {
    background-image: url("./images/icons/connections/QuickBooks.svg");
    background-position: 0 0;
    background-size: 35px 35px;
}

.Large.TableSettings.Icon.Connection.Salesforce-com {
    background-image: url("./images/icons/connections/Salesforce.svg");
    background-position: 0 0;
    background-size: 35px 35px;
}

.Large.TableSettings.Icon.Connection.Icon.Zuora {
    background-image: url("./images/icons/connections/Zuora.svg");
    background-position: 0 0;
    background-size: 35px 35px;
}

.Large.TableSettings.Icon.Connection.Icon.Zendesk {
    background-image: url("./images/icons/connections/Zendesk.svg");
    background-position: 0 0;
    background-size: 35px 35px;
}

.Large.TableSettings.Icon.Connection.Icon.Sample-Data {
    background-image: url("./images/icons/connections/SampleData.svg");
    background-position: 0 0;
    background-size: 35px 35px;
}

.Large.TableSettings.Icon.Connection.Icon.Gmail {
    background-image: url("./images/icons/connections/Gmail.svg");
    background-position: 0 0;
    background-size: 35px 35px;
}

.Large.TableSettings.Icon.Connection.Icon.Exchange {
    background-image: url("./images/icons/connections/Exchange.svg");
    background-position: 0 0;
    background-size: 35px 35px;
}

.Large.TableSettings.Icon.Connection.Icon.OneDrive {
    background-image: url("./images/icons/connections/OneDrive.svg");
    background-position: 0 0;
    background-size: 35px 35px;
}

.Large.TableSettings.Icon.Connection.Icon.Salesforce-Sandbox {
    background-image: url("./images/icons/connections/Salesforce-Sandbox.svg");
    background-position: 0 0;
    background-size: 35px 35px;
}

.Large.TableSettings.Icon.Connection.SFTP {
    background-image: url("./images/icons/connections/SFTP.svg");
    background-position: 0 0;
    background-size: 35px 35px;
}

.Large.TableSettings.Icon.Connection.Admin-Console {
    background-image: url("./images/icons/connections/Admin-Console.svg");
    background-position: 0 0;
    background-size: 35px 35px;
}
