/* Develop page (Build/Default.aspx)
   Light-theme overrides for the widgets this page adds on top of the
   DooDooBlox develop stylesheet. The reference layout and its colours live in
   DevelopPageDoodooBlox.css; keep this file limited to page-specific pieces. */

/* The develop page is a light page. Keep every page-level wrapper white so
   the site chrome never shows a dark strip around the content. */
html.page-develop,
html.page-develop body,
html.page-develop #Container,
html.page-develop #MasterContainer,
html.page-develop #BodyWrapper,
html.page-develop #RepositionBody,
html.page-develop #Body {
    background: #ffffff !important;
}

/* The develop stylesheet colours every link with the accent colour. The
   account submenu is part of the site chrome and keeps its white links. */
html.page-develop .mySubmenuFixed .subMenu a,
html.page-develop .mySubmenuFixed .subMenu a:link,
html.page-develop .mySubmenuFixed .subMenu a:visited,
html.page-develop .mySubmenuFixed .subMenu a:hover,
html.page-develop .mySubmenuFixed .subMenu a:active {
    color: #ffffff !important;
}

/* ------------------------------------------------------------- notices -- */

.develop-notice {
    margin: 0 0 14px;
    padding: 9px 12px;
    background: #edf7ee;
    border: 1px solid #b9ddbd;
    border-radius: 3px;
    color: #1e4620;
    font-size: 13px;
    line-height: 18px;
}

.develop-notice.error {
    background: #fdecea;
    border-color: #e3b5b0;
    color: #7a1f1a;
}

.develop-notice a {
    margin-left: 10px;
    font-weight: bold;
}

/* -------------------------------------------------------------- search -- */

.develop-search-row {
    display: flex;
    align-items: center;
    gap: 6px;
    margin: 0 0 12px;
}

.develop-search-row .text-box {
    width: 220px;
    height: 24px;
    line-height: 22px;
    padding: 0 5px;
    border: 1px solid #a7a7a7;
    border-radius: 2px;
    background: #fff;
    color: #343434;
    font: 12px Arial, Helvetica, sans-serif;
}

.develop-search-row .btn-medium.btn-primary {
    height: 26px;
    min-width: 70px;
    padding: 1px 12px 2px;
    background-image: none;
    background-color: #007001;
    border: 1px solid #007001;
    border-radius: 2px;
    color: #fff;
    cursor: pointer;
    font: bold 13px/22px Arial, Helvetica, sans-serif;
    text-shadow: 0 -1px #013401;
}

.develop-search-row .btn-medium.btn-primary:hover {
    background-color: #008a02;
    border-color: #008a02;
}

.develop-search-clear {
    color: #666 !important;
    font-size: 12px;
    margin-left: 4px;
    text-decoration: underline;
}

/* --------------------------------------------------------------- pager -- */

.develop-pager {
    display: flex;
    align-items: center;
    gap: 8px;
    margin: 18px 0 4px;
}

.develop-pager .btn-control {
    min-width: 72px;
    height: 24px;
    line-height: 22px;
    padding: 0 10px;
    border: 1px solid #777;
    border-radius: 2px;
    background: #e8e8e8;
    color: #343434;
    font-size: 12px;
}

.develop-pager .btn-control:hover {
    background: #f2f2f2;
    border-color: #888;
    text-decoration: none;
}

.develop-pager-text {
    color: #666;
    font-size: 12px;
    margin: 0 5px;
}

.develop-disabled,
.develop-pager .develop-disabled {
    opacity: 0.45;
    cursor: default;
    pointer-events: none;
}

/* ------------------------------------------------------- library delete -- */

.develop-delete-button {
    display: inline-block;
    min-width: 62px;
    height: 24px;
    line-height: 22px;
    padding: 0 10px;
    border: 1px solid #8a1f1a;
    border-radius: 2px;
    background: #b32b24;
    color: #fff !important;
    font: bold 12px/22px Arial, Helvetica, sans-serif;
    text-align: center;
    text-decoration: none;
    text-shadow: 0 -1px #5d1410;
    cursor: pointer;
}

.develop-delete-button:hover {
    background: #c9362e;
    border-color: #9c241d;
    text-decoration: none;
}

.develop-delete-button[disabled] {
    opacity: 0.55;
    cursor: default;
}

/* --------------------------------------------------------------- empty -- */

.develop-empty {
    margin: 0;
    padding: 34px 22px 36px;
    background: #fafafa;
    border: 1px dashed #c9c9c9;
    border-radius: 3px;
    color: #777;
    font-size: 13px;
    text-align: center;
}

/* ------------------------------------------------------------ sign in -- */

.develop-signin-panel {
    max-width: 560px;
    margin: 40px auto 60px;
    padding: 34px 32px 36px;
    background: #fff;
    border: 1px solid #ccc;
    border-radius: 4px;
    box-shadow: 0 1px 4px rgba(0, 0, 0, 0.08);
    text-align: center;
}

.develop-signin-mark {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 52px;
    height: 52px;
    margin-bottom: 14px;
    background: #0055b3;
    border-radius: 5px;
    color: #fff;
    font-size: 26px;
    font-weight: bold;
    box-shadow: 0 2px 0 #c56c00;
}

.develop-signin-panel h2 {
    margin: 0 0 8px;
    color: #343434;
    font-size: 22px;
}

.develop-signin-panel p {
    max-width: 420px;
    margin: 0 auto 20px;
    color: #666;
    font-size: 13px;
    line-height: 1.5;
}

.develop-signin-actions {
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 8px;
}

/* ------------------------------------------------------- create place -- */

.create-place-panel {
    margin: 0 0 18px;
    padding: 14px 16px 16px;
    background: #f7f7f7;
    border: 1px solid #ccc;
    border-radius: 3px;
}

.create-place-panel .upload-container {
    margin-left: 0;
    padding: 0;
}

.create-place-panel .upload-name-container,
.create-place-panel .upload-description-container,
.create-place-panel .upload-place-container,
.create-place-panel .upload-file-container {
    margin-bottom: 10px;
}

.create-place-panel .upload-name-container span,
.create-place-panel .upload-description-container span,
.create-place-panel .upload-place-container span,
.create-place-panel .upload-file-container span {
    display: inline-block;
    min-width: 110px;
    color: #343434;
    vertical-align: top;
}

.create-place-panel input[type="text"],
.create-place-panel input[type="number"],
.create-place-panel select {
    width: 300px;
    height: 24px;
    padding: 0 4px;
    border: 1px solid #a7a7a7;
    border-radius: 2px;
    background: #fff;
    color: #343434;
    font: 12px Arial, Helvetica, sans-serif;
}

.create-place-panel input.create-place-number {
    width: 70px;
}

.create-place-panel textarea {
    width: 300px;
    min-height: 52px;
    padding: 4px;
    border: 1px solid #a7a7a7;
    border-radius: 2px;
    background: #fff;
    color: #343434;
    font: 12px Arial, Helvetica, sans-serif;
    resize: vertical;
}

.create-place-panel .upload-submit-container {
    margin-top: 13px;
    padding-top: 12px;
    border-top: 1px solid #ddd;
}

.create-place-panel .status-error {
    display: block;
    margin: 0 0 11px;
    color: #a00;
    font-size: 12px;
    line-height: 17px;
}

.develop-cancel-link {
    margin-left: 12px;
    color: #666 !important;
    font-size: 12px;
}

/* --------------------------------------------------------------- devex -- */

.develop-devex {
    padding: 0 0 6px;
    color: #343434;
}

.develop-devex .devex-section-header {
    margin-bottom: 18px;
    width: auto;
}

.develop-devex .columnar-container {
    overflow: hidden;
}

.develop-devex #DevExLeftColumn {
    width: 620px;
    margin-right: 20px;
}

.develop-devex #DevExRightColumn {
    float: right;
    width: 250px;
}

.develop-devex h2.items-header {
    margin: 5px 0 10px;
    color: #343434;
}

.develop-devex h3 {
    margin: 16px 0 6px;
    color: #343434;
    font-size: 15px;
}

.develop-devex p,
.develop-devex li {
    color: #555;
    font-size: 13px;
    line-height: 1.55;
}

.develop-devex ul,
.develop-devex ol {
    margin: 0 0 12px;
    padding-left: 22px;
}

.develop-devex li {
    margin-bottom: 3px;
}

.devex-side-box {
    padding: 15px 16px 16px;
    background: #f7f7f7;
    border: 1px solid #ccc;
    border-radius: 3px;
}

.devex-side-box h3 {
    margin-top: 0;
}

.devex-side-box p {
    margin-bottom: 14px;
}

.devex-note {
    margin-top: 16px;
    padding: 10px 12px;
    background: #fafafa;
    border-left: 3px solid #0055b3;
    color: #777 !important;
    font-size: 12px !important;
    line-height: 1.5 !important;
}

/* -------------------------------------------------------- gear dropdown -- */

.gear-button-wrapper {
    position: relative;
    display: inline-block;
}

.gear-button-wrapper .gear-button {
    cursor: pointer;
}

.build-dropdown-menu {
    position: absolute;
    top: 100%;
    right: 0;
    z-index: 1200;
    display: none;
    width: 136px;
    margin-top: 2px;
    padding: 5px 0;
    background: #efefef;
    border: 1px solid #777;
    text-align: left;
    box-shadow: 1px 2px 4px rgba(0, 0, 0, 0.18);
}

.build-dropdown-menu.open {
    display: block;
}

.build-dropdown-menu a {
    display: block;
    padding: 6px 10px;
    color: #000 !important;
    font: 14px/1.25 Arial, Helvetica, sans-serif;
    text-decoration: none;
    white-space: normal;
    cursor: pointer;
}

.build-dropdown-menu a:hover {
    background: #d9d9d9;
    text-decoration: none;
}

.build-dropdown-menu a.disabled,
.build-dropdown-menu a.disabled:hover {
    background: transparent;
    color: #777 !important;
    cursor: default;
}

.develop-copy-toast {
    position: fixed;
    right: 24px;
    bottom: 24px;
    z-index: 3000;
    padding: 9px 14px;
    background: #343434;
    border-radius: 3px;
    color: #fff;
    font: 13px Arial, Helvetica, sans-serif;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.25);
    opacity: 0;
    pointer-events: none;
    transition: opacity 0.18s ease;
}

.develop-copy-toast.show {
    opacity: 1;
}


