﻿@media only screen and (min-width: 0px) and (max-width: 479px) {

   .tblOrderDetails {
      display: flex !important;
      flex-direction: column;
      flex-wrap: nowrap;
   }
      .tblOrderDetails thead {
         display: flex;
         order: 0;
      }

      .tblOrderDetails tbody {
         display: flex;
         flex-direction: column;
         order: 1;
      }

      .tblOrderDetails tfoot {
         display: flex;
         flex-direction: column;
         order: 2;
      }

      .tblOrderDetails thead tr {
         display: flex;
         flex-wrap: nowrap;
         flex-direction: row;
         align-content: center;
         justify-content: flex-start;
         flex: 1;
      }

      .tblOrderDetails tbody tr {
         display: flex;
         flex-wrap: nowrap;
         flex-direction: row;
         align-content: center;
         justify-content: flex-start;
         flex: 1;
      }

      .tblOrderDetails tfoot tr:not(.trOrderSubTotal) {
         display: flex;
         flex-wrap: nowrap;
         flex-direction: row;
         align-content: center;
         justify-content: flex-end;
         flex: 1;
      }

   .tdOrderProduct {
      width: 120px;
   }

   .tdOrderPrice {
      width: 60px;
   }

   .tdOrderQuantity {
      width: 55px;
   }

   .tdOrderTax {
      width: 60px;
   }

   .tdOrderShipping {
      width: 60px;
   }

   .tblOrderDetails .trOrder td,
   .tblOrderDetails .trProductWithProperty td {
      line-height: normal;
      display: flex;
   }

   .ddlOffering {
      width: 120px;
   }

   .thProductProperty {
      width: 80%;
   }

   .trOrderSubTotal, .tdProductQuantity, .tdProductPropertyQuantity {
      display: none;
   }

   .tdOrderTotalBeforeTax {
      width: 35%;
      text-align: right;
   }

   .tdOrderTotalBeforeTaxLabel {
      text-align: right;
   }

   .tdTotalTax {
      width: 35%;
      text-align: right;
   }

   .tdOrderTotal {
      width: 35%;
      text-align: right;
   }

   .tdOrderTotalLabel {
      text-align: right;
      font-weight: bold;
   }

   .tdOfferingQuantity {
      width: 55px;
      text-align: right;
   }

   .txtQuantity {
      width: 54px;
      text-align: right;
   }

   .tdProductQuantity {
      width: auto;
      text-align: right;
   }

   .tdOfferingPrice {
      width: 60px;
      justify-content: flex-end;
   }

   .tdOfferingTax {
      width: 60px;
      justify-content: flex-end;
   }

   .TotalsFloatValue {
      width: auto;
      text-align: right;
      font-size: 11pt;
      font-weight: bold;
      display: inline-block;
   }

   .tdButtonRemoveOffering {
      width: 48px;
   }

   .tdOfferingShipping {
      width: 60px;
      justify-content: flex-end;
   }
}

@media only screen and (min-width: 480px) and (max-width: 767px) {
   .tblOrderDetails {
      display: flex !important;
      flex-direction: column;
      flex-wrap: nowrap;
   }

      .tblOrderDetails thead {
         display: flex;
         order: 0;
      }

      .tblOrderDetails tbody {
         display: flex;
         flex-direction: column;
         order: 1;
      }

      .tblOrderDetails tfoot {
         display: flex;
         flex-direction: column;
         order: 2;
      }

      .tblOrderDetails thead tr {
         display: flex;
         flex-wrap: nowrap;
         flex-direction: row;
         align-content: center;
         justify-content: flex-start;
         flex: 1;
      }

      .tblOrderDetails tbody tr {
         display: flex;
         flex-wrap: nowrap;
         flex-direction: row;
         align-content: center;
         justify-content: flex-start;
         flex: 1;
      }

      .tblOrderDetails tfoot tr:not(.trOrderSubTotal) {
         display: flex;
         flex-wrap: nowrap;
         flex-direction: row;
         align-content: center;
         justify-content: flex-end;
         flex: 1;
      }

   .tdOrderProduct {
      width: 180px;
   }

   .tdOrderPrice {
      width: 60px;
   }

   .tdOrderQuantity {
      width: 55px;
   }

   .tdOrderTax {
      width: 60px;
   }

   .tdOrderShipping {
      width: 60px;
   }

   .tblOrderDetails .trOrder td,
   .tblOrderDetails .trProductWithProperty td {
      line-height: normal;
      display: flex;
   }

   .ddlOffering {
      width: 180px;
   }

   .thProductProperty {
      width: 80%;
   }

   .trOrderSubTotal, .tdProductQuantity, .tdProductPropertyQuantity {
      display: none;
   }

   .tdOrderTotalBeforeTax {
      width: 35%;
      text-align: right;
   }

   .tdOrderTotalBeforeTaxLabel {
      text-align: right;
   }

   .tdTotalTax {
      width: 35%;
      text-align: right;
   }

   .tdOrderTotal {
      width: 35%;
      text-align: right;
   }

   .tdOrderTotalLabel {
      text-align: right;
      font-weight: bold;
   }

   .tdOfferingQuantity {
      width: 57px;
      justify-content: flex-end;
   }

   .txtQuantity {
      width: 57px;
      text-align: right;
   }

   .tdProductQuantity {
      width: auto;
      text-align: right;
   }

   .tdOfferingPrice {
      width: 60px;
      justify-content: flex-end;
   }

   .tdOfferingTax {
      width: 60px;
      justify-content: flex-end;
   }

   .TotalsFloatValue {
      width: auto;
      text-align: right;
      font-size: 11pt;
      font-weight: bold;
      display: inline-block;
   }

   .tdButtonRemoveOffering {
      width: 48px;
   }

   .tdOfferingShipping {
      width: 60px;
      justify-content: flex-end;
   }
}

@media only screen and (min-width: 768px) and (max-width: 991px) {
   .tblOrderDetails {
      display: flex !important;
      flex-direction: column;
      flex-wrap: nowrap;
   }

      .tblOrderDetails thead {
         display: flex;
         order: 0;
      }

      .tblOrderDetails tbody {
         display: flex;
         flex-direction: column;
         order: 1;
      }

      .tblOrderDetails tfoot {
         display: flex;
         flex-direction: column;
         order: 2;
      }

      .tblOrderDetails thead tr {
         display: flex;
         flex-wrap: nowrap;
         flex-direction: row;
         align-content: center;
         justify-content: flex-start;
         flex: 1;
      }

      .tblOrderDetails tbody tr {
         display: flex;
         flex-wrap: nowrap;
         flex-direction: row;
         align-content: center;
         justify-content: flex-start;
         flex: 1;
      }

      .tblOrderDetails tfoot tr:not(.trOrderSubTotal) {
         display: flex;
         flex-wrap: nowrap;
         flex-direction: row;
         align-content: center;
         justify-content: flex-end;
         flex: 1;
      }

   .tdOrderProduct {
      width: 225px;
   }

   .tdOrderPrice {
      width: 60px;
   }

   .tdOrderQuantity {
      width: 55px;
   }

   .tdOrderTax {
      width: 60px;
   }

   .tdOrderShipping {
      width: 60px;
   }

   .tblOrderDetails .trOrder td, 
   .tblOrderDetails .trProductWithProperty td {
      line-height: normal;
      display: flex;
   }

   .ddlOffering {
      width: 225px;
   }

   .thProductProperty {
      width: 80%;
   }

   .trOrderSubTotal, .tdProductQuantity, .tdProductPropertyQuantity {
      display: none;
   }

   .tdOrderTotalBeforeTax {
      width: 35%;
      text-align: right;
   }

   .tdOrderTotalBeforeTaxLabel {
      text-align: right;
   }

   .tdTotalTax {
      width: 35%;
      text-align: right;
   }

   .tdOrderTotal {
      width: 35%;
      text-align: right;
   }

   .tdOrderTotalLabel {
      text-align: right;
      font-weight: bold;
   }

   .txtQuantity {
      width: 57px;
      text-align: right;
   }

   .tdOfferingQuantity {
      width: 57px;
   }

   .tdProductQuantity {
      width: auto;
      text-align: right;
   }

   .tdOfferingPrice {
      width: 60px;
      justify-content: flex-end;
   }

   .tdOfferingTax {
      width: 60px;
      justify-content:flex-end;
   }

   .TotalsFloatValue {
      width: auto;
      text-align: right;
      font-size: 11pt;
      font-weight: bold;
      display: inline-block;
   }

   .tdButtonRemoveOffering {
      width: 48px;
   }

   .tdOfferingShipping {
      width: 60px;
      justify-content: flex-end;
   }
}

@media only screen and (min-width: 992px) {
   .tblOrderDetails {
      display: table !important;
      margin: 0;
      padding: 0;
      border: none;
   }

   .tdOrderProduct {
      min-width: 300px;
   }

   .tdOrderPrice {
      width: 60px;
      text-align: right;
   }

   .tdOrderQuantity {
      width: 55px;
      text-align: right;
   }

   .tdOrderTax {
      width: 60px;
      text-align: right;
   }

   .tdOrderShipping {
      width: 60px;
      text-align: right;
   }

   .tblOrderDetails * td {
      line-height: normal;
   }

   .ddlOffering {
      width: 550px;
   }

   .tdProduct {
      min-width: 300px;
   }

   .thProductProperty {
      width: 200px;
   }

   .trOrderSubTotal, .tdProductQuantity, .tdProductPropertyQuantity {
      display: none;
   }

   .tdOrderTotalBeforeTax {
      width: 60px;
      text-align: right;
   }

   .tdOrderTotalBeforeTaxLabel {
      text-align: right;
   }

   .tdTotalTax {
      width: 60px;
      text-align: right;
   }

   .tdOrderTotal {
      width: 60px;
      text-align: right;
   }

   .tdOrderTotalLabel {
      text-align: right;
      font-weight: bold;
   }

   .tdOfferingQuantity {
      width: 50px;
      text-align: right;
   }

   .txtQuantity {
      width: 50px;
      text-align: right;
   }

   .tdProductQuantity {
      width: auto;
      text-align: right;
   }

   .tdOfferingPrice {
      width: 60px;
      text-align: right;
   }

   .tdOfferingTax {
      width: 60px;
      text-align: right;
   }

   .TotalsFloatValue {
      width: 90px;
      text-align: right;
      font-size: 11pt;
      font-weight: bold;
      display: inline-block;
   }

   .tdButtonRemoveOffering {
      width: 48px;
   }

   .tdOfferingShipping {
      width: 62px;
      text-align: right;
   }
}

/****************************************************************************/

td.PaymentMethod span {
   margin-left: 6px;
   vertical-align: middle;
}

td.PaymentMethod input[type="radio"][id*="NO_SALE"] {
   margin-right: 6px;
   vertical-align: middle;
}

.ui-dialog-title {
   color: Black;
}

   .EnterECheckInfoPlaceholder {
      float: left;
   }

   .EnterCCInfoPlaceholder {
      float: left;
   }

   .CCExpirationMonth {
      width: 75px !important;
   }

   .CCExpirationYear {
      width: 90px !important;
   }

   .CCNumberSegment {
      width: 55px !important;
      display: inline !important;
   }

   .CCNumberSegment6 {
      width: 83px !important;
      display: inline !important;
   }

   .CCNumberSegment5 {
      width: 69px !important;
      display: inline !important;
   }

   .CCNumberSegmentHidden {
      display: none !important;
   }

   .CCInfoPopupTable {
      width: 750px;
   }

   .PropertySuggestList {
      width: 100%;
   }

   .PropertyList {
      width: 100%;
   }

   .PropertyTextbox {
      width: 100%;
   }

   .DCAGiftDate {
      width: 234px;
      height: 28px !important;
      text-align: center;
   }

   span.PDCTOffer.UPDTDataCollectionValidationMessage {
      margin-left: 0px;
   }

   img.OfferImageHover {
      border-width: 5px;
      border-color: Red;
      width: 110%;
      height: 110%;
   }

   .AgentSurveyQuestion .container {
      width: auto;
   }

   .AgentSurveyQuestion .span12 {
      width: auto;
   }

   td.PaymentMethod {
      padding: 10px;
   }

   .PaymentMethodRadioButton {
      margin-top: -2px;
   }

   .spanOfferingDesc {
      font-weight: bold;
   }

.OfferSection {
    background-color: #ecf2f6;
    border-color: #b4c9da;
    border-radius: 10px !important;
    border-style: solid;
    border-width: 1px;
    margin-left: 10px !important;
    margin-right: 10px !important;
    margin-top: 10px !important;
    margin-bottom: 20px !important;
}

.ThirdPaymentDate {
}

.FutureSplitDate {
    width: 200px !important;
}

div.offer {
    background-color: white;
}

div.offer .ui-button {
    padding: 6px 12px;
    border-radius: 24px;
    background-color: rgb(88, 88, 88);
    display: inline-block;
    border-style: none !important;
    margin-left: 12px;
    line-height: 16px;
    color: white !important;
}

    div.offer .ui-button .ui-icon {
        background-image: url(/Content/images/ui-icons_ffffff_256x240.png);
    }

.buttonWrapper {
   padding: 5px 5px 40px 5px;
   display: flex;
   flex-direction: column;
   flex-wrap: wrap;
   align-content: flex-end;
   justify-content: center;
}

   .tblShipping {
      margin: 10px 0 0 0;
      display: inline-table;
      zoom: 1;
      width: 48% !important;
   }

      .tblShipping select {
         width: 310px !important
      }

   .ShippingCountry {
      width: 310px;
   }

   .BillingCountry {
      width: 300px;
   }

   .HiddenLabel {
      display: none;
   }

   .tblShipping * .UPDTDataCollectionLabel {
      width: 90px;
   }

   .tblBillingAddress * .UPDTDataCollectionLabel {
      width: 100px;
   }

   .tblBillingAddress {
      margin: 10px 0 0 0;
      display: inline-table;
      zoom: 1;
      display: inline;
      width: 48% !important;
   }

      .tblBillingAddress select {
         width: 310px !important
      }


   .txtCCNumber {
      width: 200px;
   }

   .TotalsFloatValue {
      width: 90px;
      text-align: right;
      font-size: 11pt;
      font-weight: bold;
      display: inline-block;
   }

   .TotalsFloatValue2 {
      width: 90px;
      text-align: right;
      font-size: 11pt;
      font-weight: bold;
      display: inline-block;
   }


   .TotalsFloatValue3 {
      width: 90px;
      font-size: 11pt;
      font-weight: bold;
      display: inline-block;
   }

.TotalsFloat {
   width: 220px;
   background-color: White;
   box-shadow: 5px 2px 7px lightgrey;
   -webkit-box-shadow: 5px 2px 7px lightgrey;
   -moz-box-shadow: 5px 2px 7px lightgrey;
   padding: 10px 15px;
   height: fit-content;
   border-radius: 6px;
   display: flex;
   flex-direction: row;
   flex-wrap: wrap;
   align-content: center;
   justify-content: flex-end;
   align-items: center;
   margin-bottom: 12px;
}

   .TotalsFloat .TotalOrder {
      margin-bottom: 12px;
   }

   span[id*='btnEditOrderPlaceholder'] {
      margin-top:12px;
   }

   span[id*='btnEditPaymentPlaceholder'] {
      margin-top: 12px;
   }

.TotalsFloatHeader {
   width: 120px;
   font-weight: bold;
   text-align: right;
   font-size: 11pt;
   display: inline-block;
   margin: 1px
}

   .OrderTotal {
      font-weight: normal;
      float: right;
   }

   .ItemShipping {
      display: none;
   }

   .ItemTax {
      display: none;
   }

   span.ItemPrice {
      display: none;
   }

   input.ItemPrice {
      text-align: right;
   }

   .IntroText {
      display: block;
   }

   .PaymentMasterNoteHeader {
      vertical-align: top;
      text-align: left;
   }

   .PaymentMasterNoteMessage {
      color: Red;
      font-size: 20px !important;
   }

   .EditPaymentButton {
      border-style: solid;
      float: none !important;
      display: block;
      background-color: red !important;
      background: red !important;
      color: white !important;
      width: fit-content;
      border-width: 2px !important;
      font-size: 25px !important;
   }

   /*
.PaymentMasterNoteDetails
{
  display:none;
}
*/

   .PaymentResultsTable * {
      font-size: 10pt;
      line-height: normal;
   }

   .PaymentResultsTable {
      width: 80%;
   }

   .PaymentResultsHeader {
      font-weight: bold;
      padding-left: 50px;
   }

   .PaymentResultsHeader {
      vertical-align: top;
      text-align: left;
   }

      .PaymentResultsHeader.Numeric {
         vertical-align: top;
         text-align: right;
      }

   .PaymentResultsNumericValue {
      text-align: right;
      vertical-align: top;
      padding-left: 50px;
   }

   .PaymentResultsStringValue {
      text-align: left;
      vertical-align: top;
      padding-left: 50px;
   }


   .OrderDisplayTable * {
      font-size: 10pt;
      line-height: normal;
   }

   .OrderDisplayTotal {
      font-weight: bold;
   }

   .OrderDisplayProperty {
      display: inline;
      list-style: none;
      padding-left: 0px;
      margin-left: 0px;
   }

      .OrderDisplayProperty > ul, li:not(.myupdate-li-bar) {
         display: block;
         list-style: none;
         padding-left: 0px;
      }

      .OrderDisplayProperty li:first-child:before {
         content: " - ";
      }

      .OrderDisplayProperty li:after {
         /* content: ", "; */
      }

      .OrderDisplayProperty li:last-child:after {
         content: ""
      }

   .OrderDisplayOffering {
      font-weight: bold;
   }

   .OrderDisplayProduct {
      text-indent: 25px;
   }

   .OrderDisplayProductHeader {
      width: 300px;
      font-weight: bold;
   }

   .OrderDisplayHeader {
      font-weight: bold;
   }

   th.OrderDisplayHeader {
      vertical-align: top;
      text-align: center;
      padding-left: 50px;
   }

   td.OrderDisplayHeader {
      vertical-align: top;
      text-align: right;
   }

   .OrderDisplayNumericValue {
      text-align: center;
      vertical-align: top;
      padding-left: 50px;
   }

   .OrderDisplayStringValue {
      text-align: left;
      vertical-align: top;
   }

   .OfferTree {
      vertical-align: top;
   }

   .OfferShortDesc {
      width: 400px;
   }

   .OfferLongDesc {
      width: 400px;
      height: 50px;
      font-family: Tahoma, sans-serif;
      font-weight: normal;
      font-style: normal;
      font-size: 14px;
      line-height: 24px;
   }

   .odd {
      background-color: #ecf6fc;
   }

   .txtOfferingQuantity {
      width: 100%;
   }

   .LayoutSectionName {
      font-weight: bold;
   }

   .ComboList {
      width: 300%;
   }

   .ComboListItem {
      width: 300%;
   }

   .ComboButton {
      margin: -4px 4px 0 0;
   }

   .tblProductWithProperties {
      width: 100%;
      margin: 0 0 0 0px;
   }

   .thAddProductPlaceholder {
      width: 50px;
   }

   .thProductPropertyQuantity {
      width: 55px;
   }

   .thProductPropertyShipping {
      width: 60px;
   }

   .thProductPropertyTax {
      width: 60px;
   }

   .thProductPropertyPrice {
      width: 60px;
   }

   .tdDeleteProductPlaceholder {
      width: 50px;
   }

   .tdProductProperty {
      width: 200px;
   }

      .tdProductProperty.isCombo {
         width: 250px;
      }

   .tdProductPropertyQuantity {
      width: 55px;
      text-align: right;
      vertical-align: top;
   }

   .tdProductPropertyShipping {
      width: 60px;
      text-align: right;
   }

   .tdProductPropertyTax {
      width: 60px;
      text-align: right;
   }

   .tdProductPropertyPrice {
      width: 60px;
      text-align: right;
   }

   .tblProduct {
      width: 100%;
   }

   .tdProductShipping {
      width: 60px;
      text-align: right;
   }

   .tdProductTax {
      width: 60px;
      text-align: right;
   }

   .tdProductPrice {
      width: 60px;
      text-align: right;
   }

   .tblOffering {
      margin: 0;
      padding: 0;
      border: none;
   }

      .tblOffering * td {
         line-height: normal;
      }

   .tdTotalShipping {
      width: 60px;
      text-align: right;
   }

   .tdTotalPrice {
      width: 60px;
      text-align: right;
   }

   .TotalTaxLabel {
      text-align: right;
   }

   .tdOrderSubTotalLabel {
      text-align: right;
   }

   .tblMagazinesChosen {
      width: 100%;
      border: 1px solid !important;
   }

      .tblMagazinesChosen th:first-of-type {
         color: white;
         width: 65%;
         text-align: left;
      }


      .tblMagazinesChosen tbody tr {
         vertical-align: bottom;
      }

      .tblMagazinesChosen thead tr {
         background-color: grey;
      }

   /* CSS */
   .MagazineButton {
      display: inline-block;
      font-size: 1.0em !important;
      font-weight: bold;
      text-transform: uppercase;
      padding: px 15px;
      margin: 5px auto;
      color: #ccc !important;
      background-color: #B1AFAF;
      background: -webkit-linear-gradient(#888, #555);
      background: linear-gradient(#888, #ADAAAA);
      border: 0 none;
      border-radius: 3px;
      box-shadow: 0 1px 0 #666, 0 5px 0 #444, 0 6px 6px rgba(0,0,0,0.6);
      cursor: pointer;
   }

   .CustomMagazineOverlay {
      opacity: .70;
      filter: Alpha(Opacity=70);
      background: black;
   }

   .chosen-container .chosen-results li.group-result {
      display: list-item;
      font-weight: 700;
      cursor: default;
      font-size: larger;
      background-color: yellow;
   }

   .chosen-container .chosen-results li {
      display: none;
      margin: 0;
      padding: 5px 6px;
      list-style: none;
      line-height: 15px;
      word-wrap: break-word;
      -webkit-touch-callout: none;
      font-size: larger;
   }


   .chosen-container-multi .chosen-choices li.search-field input[type=text] {
      margin: 1px 0;
      padding: 0;
      height: 25px;
      outline: 0;
      border: 0 !important;
      background: transparent !important;
      box-shadow: none;
      color: #999;
      font-size: 100%;
      font-family: sans-serif;
      line-height: normal;
      border-radius: 0;
      width: 80% !important;
   }

   .chosen-container-multi .chosen-choices li.search-field {
      margin: 0;
      padding: 0;
      white-space: nowrap;
      width: 80%;
   }

   .orderSeparator > td > hr {
      margin: 0 !important;
      border: 0 !important;
      border-top: 1px solid #eaeaea !important;
      /* border-bottom: 1px solid #fff; */
   }


   .loader {
      background: url(/Images/ajax-loader.gif) no-repeat right;
      width: 100%;
      height: 14px;
      float: right;
   }

   label {
      font-family: Arial;
   }

   .mnuTop {
      width: 96%;
      margin: 0px 0px 15px 0px;
      padding: 9px 2%;
      text-align: left;
      border-bottom: 1px solid #ddd;
   }

   .mnuUL {
      overflow: hidden;
      margin: 0;
      padding: 0;
   }

   .mnuLI {
      display: inline;
      zoom: 1;
      overflow: hidden;
      list-style-type: none;
      margin: 0;
      padding: 0px 15px;
      line-height: 20px;
      FONT-WEIGHT: normal;
      FONT-SIZE: 12px;
      COLOR: #666666;
      FONT-FAMILY: 'Arial', 'Helvetica';
   }

      .mnuLI .mnuLink {
         text-align: center;
         display: inline;
         outline: none;
         cursor: pointer;
         text-decoration: none;
         white-space: nowrap;
         padding-left: 9px;
         color: #08c !Important;
      }

         .mnuLI .mnuLink:hover, .mnuLI .mnuLink:active {
            text-decoration: underline;
            color: #01095C !Important;
         }

      .mnuLI.active .mnuLink {
         text-decoration: underline;
      }
.ui-dialog-buttonset button {
    background-color: #f2f2f2;
    border-radius: 3px 3px 3px 3px;
    border: 1px solid #ddd;
}

.ui-dialog-titlebar button {
    border-radius: 3px 3px 3px 3px;
    border-color: transparent;
}

    .ui-dialog-titlebar button:hover {
        background-color: #585858;
    }
