/*
 * This is the "missing-link" between legacy HTML structure/naming-convention and the new bootstrap
 * structure/naming-convention. This file fixes styles for pages that don't have global.css included.
 */

.blue_headers{
    color: #0099FF;
    text-weight: bold;
    font-size: 12px;
}

#comp_update_mess{
    font-weight: bold;
    color: red;
}

#brands_mess{
    font-weight: bold;
    color: red;
}

.BasicsBox .manage_pages_inpage_title, .manage_pages_inpage_title {
    float: none;
    margin-top: 0px;
}

.manage_pages_search_container, .manage_pages_search_container form, .manage_pages_search_container .Question {
    position: relative;
    float: left;
}
.manage_pages_search_container {
    clear: both;
    margin-top: 20px;
}
.manage_pages_search_container form {
    margin-right: 15px;
}

/* Override original to make room for buttons */
.account_menu {
    clear: left;
}

#user_permissions_table .sf_checkmark:not(.checked):not(.check_for_all_users) {
    background-image: none;
}

#user_permissions_table tr:not(.table_tools_row) span.sf_checkmark {
    background-position: center;
    width: 100%;
    height: 100%;
}

.permissions_error_container {
    position: relative;
    display: none;
    padding: 0px;
    margin: 0px;
    width: 100%;
    text-align: center;
}

/**********************************************
** global.css Necessities.
*********************************************/
section.container {
    font-family: "Helvetica Neue", Helvetica,Arial, sans-serif;
    font-size: 11px;
}

section.container p {
    font-size: 14px;
}

section.container .form-control {
    display: inline-block;
}

.BasicsBox p.tight {
    font-size: 14px;
    font-weight: bold;
    line-height: 160%;
    padding: 1px 2px;
    color: #000;
    margin: 10px 5px 0 0;
}
.BasicsBox div.question_tight {
    margin-top: 0;
    padding-left: 2px;
    padding-top: 0;
}

section.container .manage_pages_header {
    font-size: 25px;
    font-weight: bold;
    width: 100%;
    margin: 0px 0px 5px 0px;
}

.page_section_container {
    float: left;
    clear: both;
    width: 100%;
}

.InpageNavLeftBlock span.Selected {
    font-weight: bold;
}

.stdwidth {
    width: 360px;
}

.shrtwidth {
    width: 145px;
}

.medwidth {
    width: 250px;
}

.Question label {
    float: left;
    margin-bottom: 0;
    margin-top: 0;
    padding-right: 10px;
    text-align: right;
    width: 150px;
}

label.text_input, label.select_box {
    line-height: 34px;
}

.Question {
    margin: 2px 0;
    padding: 3px;
}

.Question .Inline {
    float: left;
    margin: 0 10px 0 0;
}

.general_form_container {
    float: left;
    clear: both;
}

.general_form_container .btn {
    float: right;
}

div.manage_basics_box {
    float: left;
    clear: both;
    margin-top: 20px;
    width: 100%;
}

div.table-responsive {
    float: left;
    clear: both;
    width: 100%;
}

.InpageNavLeftBlock, .InpageNavLeftBlockLast {
    border-right: 1px solid #ccc;
    float: left;
    margin-right: 15px;
    margin-top: 0;
    padding-right: 15px;
    text-align: left;
}

.InpageNavLeftBlockLast, #navigation_pager, .navigation_pager {
    border-right-style: none;
    border-right-width: 0;
    margin-right: 0;
    padding-right: 0;
}

.manage_basics_box #navigation_pager, .manage_basics_box .navigation_pager {
    float: right;
    margin-right: 0;
}

#navigation_pager .table-pagination, .navigation_pager .table-pagination {
    padding: 0px;
    font-size: 14px;
}

.Listview td, .table-responsive table.table td, .table-responsive table.table th,
.table-responsive table.table td {
    border-top: 0px none;
    border-bottom: 1px solid #ddd;
    border-right: none;
    font-family: "Helvetica Neue", arial, helvetica;
    color: #595959;
    font-size: 14px;
    font-weight: normal;
    height: 51px;
    line-height: 1em;
    padding: 8px;
    vertical-align: middle;
}

.Listview tr:nth-child(2n+1) td, .table-responsive table.table tr:nth-child(2n+1) td {
    background-color: #f9f9f9;
}

table.ListviewStyle tr.ListviewTitleStyle td, .table-responsive table.table thead th {
    background-color: #7bc3d7;
    border-bottom: 0 none;
    color: #fff;
    text-align: left;
    vertical-align: middle;
}

.ListviewTitleStyle td a, .table-responsive table.table th a {
    color: inherit;
}

.Listview tr.ListviewTitleStyle td:first-of-type,
.table-responsive table.table thead th:first-of-type {
    border-top-left-radius: 5px;
}

.Listview tr.ListviewTitleStyle td:last-of-type, .table-responsive table.table thead th:last-of-type {
    border-top-right-radius: 5px;
}

.Listview tr td:last-child, .table-responsive table.table tr td:last-child,
.table-responsive table.table tr th:last-child {
    border-right: 0 none;
}

td.center_text {
    text-align: center;
}

label[for="address_book"] {
    float: none;
    width: auto;
}

.HorizontalWhiteNav span.glyphicon {
    font-size: 14px;
    vertical-align: middle;
}
span.grayedout {
    color: #777;
    cursor: default;
}
/* END global.css Necessities */

/**********************************************
** Table actions/tools drop-down rules.
*********************************************/
.table_tools_dd_trigger, .table_tools_dd_trigger_disabled {
    position: relative;
    display: inline-block;
    background-image: url('/app/gfx/arrow_down_gray.png');
    background-position: center;
    background-repeat: no-repeat;
    height: 23px;
    width: 20px;
    cursor: pointer;
}
.table_tools_dd_trigger_disabled, .table_tools_dd_trigger.disabled {
    opacity: 0.5;
    filter: alpha(opacity=50);
}

.table_tools_dd {
    position: absolute;
    background-color: #FFF;
    display: none;
    top: 100%;
    right: -20px;
    margin-top: 1px;
    width: 140px;
    box-shadow: 4px 7px 15px -3px #333;
    border-style: solid;
    border-width: 1px;
    border-color: #CCC;
    border-radius: 5px;
    z-index: 1001;
}

.table_tools_dd_hover {
    position: absolute;
    width: 100%;
    height: 100%;
    top: 0px;
    left: 0px;
    border-radius: 5px 5px 0px 0px;
    display: none;
    z-index: 1002;
}

.table_tools_dd_trigger:hover:before {
    position: absolute;
    display: block;
    width: 400%;
    height: 100%;
    margin-top: 2px;
    margin-left: -200%;
    z-index: 1000;
    content: "";
}
.table_tools_dd_trigger.ttddt_with_text:hover:before {
    width: 100%;
    margin-left: 0px;
}

.table_tools_dd_option {
    cursor: pointer;
    padding: 0px 5px;
    text-align: right;
    line-height: 28px;
    transition: background-color 0.2s;
}
.table_tools_dd_option:hover {
    background-color: #B3D9E6;
    transition: background-color 0.2s;
}

.table_tools_dd_trigger:hover:not(.table_tools_dd_trigger_disabled):not(.disabled) .table_tools_dd {
    display: block;
}

.table_tools_dd_trigger .table_tools_dd_option a {
    color: inherit;
    display: block;
    width: 100%;
    height: 100%;
}
.table_tools_dd_trigger .table_tools_dd_option a:hover {
    text-decoration: none;
}

/* Make room for text if any. */
.ttddt_with_text, .table_tools_dd_trigger.ttddt_with_text {
    height: auto;
    width: auto;
    padding-right: 20px;
    background-position: right center;
}

/* Special case for LB Panel, Gallery, and Manage pages. */
#CollectionMinRightNav .table_tools_dd, #CollectionMinRightNav .table_tools_dd_hover, #CollectionMinRightNav .table_tools_dd a,
.gallery_header_actions_menu.table_tools_dd_trigger .table_tools_dd, .manage_basics_box .table_tools_dd_trigger .table_tools_dd {
    color: #444;
}
#CollectionMinRightNav .table_tools_dd_hover {
    font-weight: bold;
}
/* Special arrow size for smaller text. */
#CollectionMinRightNav .table_tools_dd_trigger {
    background-size: 15px auto;
}

.gallery_header_actions_menu, .gallery_header_actions_menu_disabled,
.manage_basics_box .table_tools_dd_trigger, .manage_basics_box .table_tools_dd_trigger_disabled {
    background-image: url('/app/gfx/arrow_down_blue.png');
    color: #166DAB;
}

.legacy_link {
    color: #7bc3d7;
}
.legacy_link:hover, .legacy_link:focus {
    color: #61a9bd;
    cursor: pointer;
    text-decoration: underline;
}
/* END Table actions/tools drop-down. */


/**********************************************
** Default checkmark styles
*********************************************/
.sf_checkmark {
    display: inline-block;
    vertical-align: middle;
    cursor: default;
    -webkit-touch-callout: none;
    -webkit-user-select: none;
    -khtml-user-select: none;
    -moz-user-select: none;
    -ms-user-select: none;
    user-select: none;
}
/* END Default checkmark styles */


/**********************************************
** Overlay styles
*********************************************/
.loading_overlay, .text_overlay {
    position: absolute;
    left: 0px;
    top: 0px;
    background-color: #FFF;
    width: 100%;
    height: 100%;
    margin: 0px;
    padding: 0px;
    text-align: center;
    font-weight: bold;
    vertical-align: middle;
    opacity: 0.7;
    filter: alpha(opacity=70);
    display: none;
    z-index: 1000;
    cursor: default;
    
    -webkit-touch-callout: none;
    -webkit-user-select: none;
    -khtml-user-select: none;
    -moz-user-select: none;
    -ms-user-select: none;
    user-select: none;
}
.loading_overlay {
    background-image: url('/app/gfx/loading.gif');
    background-repeat: no-repeat;
    background-position: center center;
}

.loading_overlay.modal_overlay, .text_overlay.modal_overlay {
    background-color: #EEE;
}
/* END Overlay styles */