﻿/* CSS Document */

#content {
    margin: 0;
    padding: 20px 0;
    
}

/* added to get the alignment back for the language toggle */
.language-panel {
    margin: 0px !important;
}

/* really dont know what this is for */
.HeaderFooter {
    width: 100%;
    float: left;
    clear: both;
    position: relative;
}


/* ==================== Main Content Digi-Key Master ==================== */
/*#mainContentDigiKey {
    padding-left: 10px;
    padding-right: 10px;
}*/



/* ==================== Main Content ==================== */

/* This is overriden in Print.css because the current main context
   causes IE7 and IE8 to print the footer on the third page of AddPart.aspx for example*/
#mainContent, #topContent {
    /*width: 100%;*/
    height: 100%;
    clear: both;
    position: relative;
    max-width: 1160px;
    margin: 0 auto;
    padding: 0 20px;
}
#mainContent #mainContent {
    padding:0px;
    margin:0px;
}

#mainContent a {
    color:var(--link-blue);
    text-decoration:none;
    font-weight:bold;
}

#mainContent a:hover {
    text-decoration:underline;
}


#mainContent table, #topContent table {
    border-collapse: collapse;
}

    #mainContent .categoryTitle, #topContent .categoryTitle {
        font-size: 18px;
    }

    #mainContent .categoryHeading, #topContent .categoryHeading {
        font-weight: bold;
    }

    #mainContent .approvedVendorList, #topContent .approvedVendorList {
        max-height: 80px;
        max-width: 280px;
    }

    #mainContent .error, #topContent .error {
        color: #FF0000;
    }

    #mainContent .Header, #topContent .Header {
        font-weight: bold;
        font-size: 18px;
    }

/* Special blue gradient table */
#mainContent .beablock, #topContent .beablock {
    border: solid #999 1px;
	margin-bottom: 10px;
    margin-top: 20px;
    max-width: 1100px;

}

#mainContent .beablocktitle, #topContent .beablocktitle {       
    background-color:#E0E0E0; 
	padding:5px; 
    font-weight:bold;
	border-bottom:solid 1px black;   
}

#mainContent .beablock-title, #topContent .beablock-title { 
   font-weight:bold;   
}

#mainContent .beablock table td, #topContent .beablock table td {
    border: solid #999 1px;
    padding:5px;        
}

#mainContent .product-details-alternate-packaging { 
    width:100%; 
}

#mainContent .product-details-alternate-packaging td {
    padding:5px; 
}

#mainContent .product-details-alternate-packaging th {
    background-color:#E0E0E0; 
	color:black; 
	border: solid #999 1px;
    padding:5px;  
} 

#mainContent .product-details-alternate-packaging tr:nth-child(odd) {
    background-color:#eee;
}

#mainContent .product-details-alternate-packaging tr:nth-child(even) {
    background-color:white;
}

#mainContent .product-details-alternate-packaging a img {
    vertical-align: middle;
}

#mainContent .beablock p, #topContent .beablock p {
     padding:5px;
     margin:5px 0;
}
#mainContent .qtynote {
     color: red;
}
   
#mainContent .qtynote:visited {
     color: red;
}

#basicContent {
    width: 1350px;
    float: left;
    clear: both;
}

#basicContentLeft {
    float: left;
    width: 350px;
    clear: left;
}

#basicContentRight {
    float: left;
    width: 1000px;
    clear: right;
}

/* ==================== Tables ==================== */

table.tblborder {
    border: solid 1px #999 !important;
    padding: 1px;
    margin:5px 0px 5px 0px;
}

table.tblborder th,
table.tblborder td {
    padding:8px;
}

th.tblborder {
  border-color:#999;
}

td.tblborder {
  border-color:#ccc;
}


tr.oddrow {
    background: white;
    border: solid 1px #C0C0C0;
}

tr.evenrow {
    background: #F0F0F0;
    border: solid 1px #C0C0C0;
}


.dkdk tr.evenrow {
    background: #666;
    border: solid 1px #C0C0C0;
}

tr.tblhead {
    border: solid 1px #C0C0C0;
    background: #E0E0E0;
    font-weight: bold;
}

.dkdk tr.tblhead {
    background:#333 ;
}

tr.tblhead span {
        font-size:12px !important;
}

tr.tblfoot {
    background: #E0E0E0;
    border: solid 1px #C0C0C0;
}

td.center {
    text-align: center;
}

td.tblhead {
    border: solid 1px #C0C0C0;
    background: #E0E0E0;
}

td.tblheadbackgroundonly {
    background: #E0E0E0;
}

td.bottomPadding {
    padding-bottom: 7px;
}

/* ==================== CHECKOUT PROCESS TITLES ==================== */
/*--Using the !important because the a:hover above alwayws seems to take precendent--*/

.tblCheckoutProcess {
    /*margin-left:10px;*/
}

    .tblCheckoutProcess td {
        padding: 5px 5px 5px 5px;
    }

        .tblCheckoutProcess td.highlighted {
            background-color: #C0C0C0;
        }

a.complete {
    color: Black;
    font-weight: normal !important;
}

a.current, a.current:hover {
    color: Black !important;
    font-weight: bolder !important;
}

a.notVisited, a.notVisited:hover {
    color: #C0C0C0 !important;
    font-weight: normal !important;
}

a.submitted, a.submitted:hover {
    color: #C0C0C0 !important;
}

a.submittedCurrent, a.submittedCurrent:hover {
    color: #C0C0C0 !important;
    font-weight: bold !important;
}


/* ==================== Controls (Buttons, Textboxes, etc) ==================== */

/* This makes a normal button look like a link button */
.linkButton {
    text-decoration: underline; /* Does not work in firefox*/
    background: none;
    border: none;
    color: Blue;
    cursor: pointer;
    width: 100%;
    /*	height: 15px; */
    text-align: left;
    display: table-cell;
}
/* Header for the content area */
.HeaderText {
    font-weight: bold;
    font-size: 16px;
    /*font-family:times new roman, times, serif;*/
}

.MenuItems {
    text-decoration: none;
}

.HyperLink:link {
    color: Black;
}

/* Used for Pre-submit terms and condtions */
div.agreement {
    width: 830px;
    height: 450px;
    border: 2px inset #ccc;
    padding: 6px;
    overflow: auto;
}

table.indent {
    padding-left: 10px;
}

.CartNameErrorMessage {
    color: red;
    padding: 0px 0px 0px 10px;
}

.cartNameTextBoxDisabled[readonly] {
    background: #CCC;
    color: #333;
    border: 1px solid #666;
}

/* Used by the price break panel */
#pnlPriceBreaks {
    padding: 5px;
}

    #pnlPriceBreaks tr:nth-child(2n+1) {
        background: white;
        border: solid 1px black;
    }

    #pnlPriceBreaks tr:nth-child(even) {
        background: #F5F5F5;
        border: solid 1px black;
    }

    #pnlPriceBreaks .tblhead {
        background-color: #d3d3d3 !important;
    }

.dropshadow {
    box-shadow: 10px 10px 5px #888888;
}

.sodisplay .detail:nth-child(even) {
    background: #F0F0F0;
    border: solid 1.5px #C0C0C0;
}

.sodisplay img {
    border:solid 1px #ccc;
}

.sodisplay a.helpLink img {
    border:none;
}

tr[data-rowtype="OuterRow"] {
    border:solid 1px #fff !important;
}

td.border_top_save {
    border-top: 1px solid black;
    padding-top: 10px;
}

td.border_bottom_save {
    border-bottom: 1px solid black;
    padding-bottom: 10px;
}

div.pad10, a.pad10 {
    display: block;
    padding-top: 10px;
    padding-bottom: 10px;
}

div.pad5 {
    padding-top: 5px;
    padding-bottom: 5px;
}

span.consigneeFieldLabel {
    width: 150px;
    display: inline-block;
    vertical-align: top;
}

input.ultConsTextbox, textarea.addInfoTextbox {
    width: 570px;
}

textarea.addInfoTextbox {
    width: 570px;
    height: 100px;
}

table.ExportAddressRbl tbody tr td label span {
    display: inline-block;
}

table.ExportAddressRbl tbody tr td input {
    vertical-align: top;
    margin-top: 0px;
}

input.ExportCanadaButton {
    margin: 10px;
}

span.ExportSidePadding {
    padding-left: 10px;
    padding-right: 10px;
}

div.ExportIntroParagraph {
    width: 850px;
}


/* Path to purchase styles */

.encourage-reg-hint td {
    padding:20px 0px 5px 0px;
}
.not-required-hint td {
    padding:5px 0px 5px 0px;

}

.username-label, .password-label {
    text-align: left;
}

.login-header-label {
    font-weight: bold; 
    font-size: 14px;
    padding-bottom:10px;
}

.forgot-links td{
    padding-top: 10px;
}

.order-credits {
    margin-top: 10px;
}

#trCCinPOwarning td {
    padding-top: 10px;
}
font {
    color:#666;
}

font[color='red'] {
    color:var(--red) !important;
}

div.CartToolsAddPart {
    padding-top:20px;
    padding-left:25px;
    padding-right:25px;
    padding-bottom:25px;
}
div.CartToolsSubmit {
    padding-top:250px;
    padding-left:25px;
    padding-right:25px;
    padding-bottom:25px;
}
table.CartTools {
    border: 1px solid #999;
    width: 250px;
    padding:0px;
    margin:0px;
    border-collapse: collapse;
}
table.CartTools br {
    display: none;
}

table.CartTools .button {
    margin:15px 0px;
}

table.CartTools td {
    padding:0 8px;
}
table.CartTools th.CartToolsHeader {
    background-color: #e6e6e6;
    font-size: 18px; 
    padding:5px;
    color:#555;
    border-bottom:solid 1px #999;
}
table.CartTools td.CartToolsCategory {
    font-size: 16px;
    color: #666;
    font-weight:bold;
    padding-top:10px;
    padding-bottom:5px;
}
table.CartTools td.CartToolsTool {
    color: #666;
    padding:0px 5px 5px 20px;
}
.CartToolsTool a {
    text-decoration: none;
}
.CartToolsTool a:hover {
    text-decoration: underline;
}

table#tblInformation, table#tblQuestions {
    border-collapse: collapse;
}

table#tblInformation tr, table#tblQuestions tr {
    vertical-align: bottom
}

table#tblInformation td:first-child font, table#tblQuestions td:first-child font {
    color:#000 !important;
    font-size:16px;
    padding-right:5px;
}
span[id*="_lblRegisterBenefits"] ul {
    margin:0px;
    padding:5px 15px
}


/* Global style overrides. Most of the styles for these buttons are in http://www.digikey.com/~/media/Designer/Global/CSS/Site.css, but I overrode a few to add images to the buttons */
.button.primary.lock, .button.secondary.chain, .button.secondary.upload {
padding: 5px 10px 5px 30px;
    font-size:13px;
}
.button.primary.lock {
    background: url(//www.digikey.com/~/media/images/global/icons/white-lock.png) no-repeat 5px,url("//www.digikey.com/~/media/images/global/buttons/red-button-background.jpg") repeat 0 0;
}
.button.primary.lock:hover {
    background: url(//www.digikey.com/~/media/images/global/icons/white-lock.png) no-repeat 5px,url("//www.digikey.com/~/media/images/global/buttons/red-button-background-hover.jpg") repeat 0 0;
}

.button.secondary.chain {
    width:auto !important;
    background:url(//www.digikey.com/~/media/images/global/icons/chain-link.png) no-repeat 5px, url("//www.digikey.com/~/media/images/global/buttons/yellow-button-background.jpg") repeat 0 0;
}

.button.secondary.chain:hover {
    background: url(//www.digikey.com/~/media/images/global/icons/chain-link_w.png) no-repeat 5px, url("//www.digikey.com/~/media/images/global/buttons/yellow-button-background-hover.jpg") repeat 0 0;
}

.button.secondary.upload {
    width:auto !important;
    background:url(//www.digikey.com/~/media/images/global/icons/upload.png) no-repeat 5px, url("//www.digikey.com/~/media/images/global/buttons/yellow-button-background.jpg") repeat 0 0;
}

.button.secondary.upload:hover {
    background: url(//www.digikey.com/~/media/images/global/icons/upload_w.png) no-repeat 5px, url("//www.digikey.com/~/media/images/global/buttons/yellow-button-background-hover.jpg") repeat 0 0;
}

a.helpLink img {
    vertical-align:bottom;
    padding-left: 2px;
    padding-right: 2px;
}

.helpPopup {
    /*max-width:800px;*/
}

#loadingDiv.ui-widget-overlay {
    position: absolute;
    background: none !important;
    opacity: 0.55;
}

#spinner, #fakeSpinner {
    height: 100px;
    width: 100px;
    position: fixed;
    top: 250px;
    left: 48%;
}



/*QUOTE STYLE GUIDE UPDATE*/
#upTablePanel {
    position:relative;
}
.quote-list-table {
    /*position:relative;
    margin-bottom:45px;*/
}

    .quote-list-table td[colspan="6"],
    .quote-view-table td[colspan="7"],
    .quote-view-table td[colspan="11"]{
        padding: 0px;
        border-bottom: none;
    }
.quote-view-table {
    /*position:relative;*/
}

    .quote-view-table td:not(.quotes_commentsCell) table {
        position: absolute;
        bottom: -45px;
    }

.quote-list-table td:not(.quotes_commentsCell) table {
    position: absolute;
    bottom: -45px;
}


    .quote-list-table td:not(.quotes_commentsCell) table td,
    .quote-view-table td:not(.quotes_commentsCell) table td {
        border-bottom: none;
    }

        .quote-list-table td:not(.quotes_commentsCell) table td a,
        .quote-view-table td:not(.quotes_commentsCell) table td a {
            color: #222;
            text-decoration: none;
        }

        .quote-list-table td:not(.quotes_commentsCell) table td span,
        .quote-view-table td:not(.quotes_commentsCell) table td span {
            color: white;
            background-color: #c00;
            font-weight: bold;
            border-radius: 25em;
            padding: 5px 9px;
        }

.quote-list-table th a,
.quote-view-table th a {
    text-decoration:none;
    color:#222;
    font-size:11px;
}

div[id*="_advValSum"] {
    padding: 0 0 20px 0;
    margin: 0 auto;
    max-width: 1160px;
}

.quote_crumbs {
    padding: 0 20px;
    margin: 0 auto;
    max-width: 1160px;
}

.quote_crumbs a {
    font-size:12px;
    color:#222;
    text-decoration:none;
}



.uploadFileTable > tbody > tr > td {
    display: block;
    margin: 10px 0;
}


.quotes_privacy-settings-info span > span  {
    text-transform:none !important;
    font-weight:normal;
    display:block;
}
.quote_bulk-add span {
    display:block;
}

.quote_bulk-add textarea {
    height:150px;
    width:100%;
    max-width:600px;
}
.h3.dk-uppercase {
    display:block;
    padding-bottom:5px;
}

hr {
    height: 1px;
    border: none;
    background-color: #ccc;
    margin: 25px 0;
}

.quote_addTable {
    display:table;

}

.quote_addTable div {
    display:table-cell;
    vertical-align:bottom;
    padding-right:15px;
}

.rtl .quote_addTable div {
    padding-right:0px;
    padding-left:15px;
}

.quote_qtyCell {
    white-space: nowrap;
    margin-bottom: 10px;
}

    .quote_qtyCell span {
        display: inline-flex;
        vertical-align: middle;
    }

.quote-view-table th {
    border:none !important;
}

.quote-view-table td {
    border-bottom: none !important;
    border-top: solid 1px #ccc;
}

    .quote-view-table td:not(.quotes_commentsCell) table td {
        border: none !important;
    }

.quote-view-table > tbody > tr:nth-child(4n-3),
.quote-view-table > tbody > tr:nth-child(4n) {
    background-color: #fff !important;
}

.quote-view-table > tbody > tr:nth-child(4n-1),
.quote-view-table > tbody > tr:nth-child(4n-2) {
    background-color: #eee !important;
}

.quotes_commentsCell {
    padding: 0px !important;
    border-top: none !important;
}

    .quotes_commentsCell .quotes_commentsCellContents > span:not(:empty) {
        display: block;
        text-align: center;
        padding: 10px;
        border-top: solid 1px #ccc;
        width: calc(100% - 60px);
        margin: 0 20px;
    }

        .quotes_commentsCell .quotes_commentsCellContents > span:not(:empty) + span {
            border-top:none;
            padding-top:0px;
        }
        .rrco {
            display: flex;
            align-items: center;
        }

span[id*='_lblError']:not(:empty) {
    padding-bottom:10px;
    display:block;
}

.rrco a {
    padding: 0 3px;
}
    .rrco img {
        height: 16px;
    }

.quote-icon {
    display: block;
    padding: 5px 0;
    text-align: center;
}

.quote-icon img {
    height:20px;
}

img[id*='_imgSave'] {
    height:14px;
}


div[id*=Tablex] {
    display: table;
}

    div[id*=Tablex] > div {
        display: table-row;
    }

        div[id*=Tablex] > div > span,
        div[id*=Tablex] > div > div {
            display: table-cell;
            padding:0 10px 10px 0;
        }

        .quote-view-table .dk-input {
            height:24px;
            padding:5px;
        }

.quoteButtons {
    float: right;
    padding: 10px 0;
}

.rtl .quoteButtons {
    float:left;
}

.pppButtons {
    display: table;
    width: 100%;
}

    .pppButtons > div {
        display: table-cell;
        vertical-align: middle;
    }

.quote_pricing div {
    margin-bottom:10px;
    height:25px;
    padding-top:5px;
}

.pnlSubs {
    text-align:center; 
}

.pnlSubs span {

}

.quote_possible-subs table {
    margin:0 auto;
}

    .quote_possible-subs table.tblborder,
    .quote_possible-subs table td {
        border: none !important;
    }

.quote_crumbs span[class*='icon'] {
    color:#c00
}

.ui-dialog-content .dk-checkbox-group {
    margin-bottom:0px;
}

#divUpProgress {
    border-radius: 5px;
    border: none !important;
    left:calc(50% - 150px) !important;
}

span.p {
    display:block;
    margin:12px 0;
}

@media screen and (max-width:768px) {
    .quote_addMoreQty {
        display: none;
    }

    .quote_addTable div {
        display:block;
        margin-bottom:10px;
    }

    .pppButtons {
        display:block;
    }

    .quoteButtons {
        margin-top: 50px;
        width: 100%;
    }

    .pppButtons .quoteButtons {
        margin-top:0px;
    }
}


@media screen and (max-width:500px) {
    .quote_addTable {
        width:100%;
    }
        .quote_addTable div {
            padding-right:0px;
            padding-left:0px;
        }
            .quote_addTable div input,
            .quoteButtons input {
                width: 100% !important;
            }
}