/* Layout: Two Column
Theme: Basic Grey

Layout.css contains the layout properties for your order form,
including width, height, margin, padding, position, float,
display and text-align.

NOTE: There are additional classes that are not listed here
because they currently have no attributes. You can locate
these by downloading and using Firebug.
===============================================================*/

@import url(https://fonts.googleapis.com/css?family=Open+Sans:400,700,400italic);
/* The above link needs to be moved to appearance.css */

* {
    margin: 0;
    padding: 0;
}

#wrapper {
    /* Wraps around everything and sets the total width of the order form */
    position: relative;
    width: 960px;
    margin: 0 auto;
}

#header {
    /* The top area that contains your banner or logo */
    width: 960px;
}

#content {
    /* Content wrapper for main column */
    width: 730px;
    float: left;
}

#rightCol {
    /* Content wrapper for right column/HTML area */
    width: 200px;
    float: right;
    margin-top: 20px;
    height: 700px;
    clear: both;
}



/* PRODUCT GRID
===============================================================*/

.productImage {
    /* Image in the product grid */
    margin: 8px 0 10px 0;
    border: 1px solid #eee;
    max-width: 100%;
}

.price {
    /* Price in the right column of the product grid */
    display: block;
}

.productDescription {
    /* Paragraph for short product description in order form */
    margin-bottom: 13px;
}

.optionsDrop {
    /* Dropdown for product options */
    padding: 4px 4px 4px 6px;
    margin-bottom: 13px;
    line-break-after: right;
}

.subscriptionPlan {
    display: block;
}

.qtyField {
    /* Quantity field in product grid */
    padding: 4px 4px 4px 6px;
    width: 30px;
    display: block;
    text-align: right;
    margin: 0 auto;
    margin-bottom: 5px;
}



/* HTML AREAS (Insert custom HTML by going to the HTML area tab)
===============================================================*/

#topCustomHTML {
    /* HTML area below header image. */
    margin: 35px 0 15px 0;
}

#middleCustomHTML {
    /* HTML area below product grid. */
    margin: 35px 0 60px 0;
    clear: both;
}

#bottomCustomHTML {
    /* This is your footer. */
    width: 960px;
    margin: 40px auto 20px auto;
    padding: 15px;
    text-align: center;
    clear: both;
}



/* FORMS
===============================================================*/

input {
    margin: 0 0 7px 0;
}

.paymentLabel {
    /* Labels for payment method table */
    display: block;
}

.choosePlan {
    /* Radio buttons used to choose pay plan or shipping option */
    margin-right: 5px;
}



/* Form fields and labels
---------------------------------------------*/

.checkout, .checkoutDone {
    /* Form fields used in checkout forms */
    padding: 4px 4px 4px 6px;
    margin: 0;
    width: 135px;
}

.checkoutBottom, .checkoutBottomDone {
    /* Provides bottom padding for last form field in a form */
    padding: 4px 4px 4px 6px;
    margin: 0 0 20px 0;
    width: 135px;
}

.checkoutTop, .checkoutTopDone {
    /* Provides top padding for first form field in a form */
    padding: 4px 4px 4px 6px;
    margin: 10px 0 0 0;
    width: 135px;
}

.checkoutLabel {
    /* Checkout form label */
    padding: 0 0 -3px 0;
    margin: 0 0 -3px 0;
}

.checkoutShort {
    /* Smaller form field */
    padding: 4px 4px 4px 6px;
    margin: 0;
    width: 135px;
}

.promoField {
    /* Smaller form field */
    padding: 4px 4px 4px 6px;
    margin: 0 0 0 10px;
    width: 120px;
}


.checkoutShortTop {
    /* Smaller form field */
    padding: 4px 4px 4px 6px;
    margin: 10px 0 0 0;
    width: 135px;
}

.promoLabel {
    padding-top: 3px;
}

.checkoutShortest {
    /* Even smaller form field */
    padding: 5px;
    margin: 0;
    width: 70px;
}

.checkoutShortBottom {
    padding: 4px 4px 4px 6px;
    margin-bottom: 30px;
    width: 135px;
}

.addressTableInfo {
    margin-bottom: 0px;
}

.paymentIcon {
    /* Credit card, pay pal and check icons in payment information table */
    margin: 0 7px -5px 4px;
}


/* Tables
---------------------------------------------*/

.viewCart {
    width: 100%;
    border-collapse: collapse;
    margin: 20px 0 60px 0;
    float: left;
    border-radius: 4px;
}

.viewCart th, .billingTable th, .shippingTable th, .shipMethodTable th, .paymentMethodTable th, .payplanTable th, .orderSummary th {
    padding: 10px 10px 10px 15px;
    text-align: left;
}

.viewCart td, .shipMethodTable td, .paymentMethodTable td, .payplanTable td, .orderSummary td {
    padding: 10px 10px 10px 15px;
    vertical-align: top;
}

.billingTable td, .shippingTable td {
    padding: 8px 0 0 15px;
    vertical-align: top;
}

.billingTable {
    /* Table for entering billing address */
    width: 355px;
    border-collapse: collapse;
    margin: 0 20px 20px 0;
    text-align: left;
    float: left;
    height: 500px;
}

.shippingTable {
    /* Table for entering shipping address */
    width: 355px;
    border-collapse: collapse;
    margin: 0 0 20px 0;
    text-align: left;
    float: right;
    height: 500px;
}

.orderSummary {
    /* Table for order form summary */
    position: relative;
    width: 355px;
    border-collapse: collapse;
    margin-bottom: 20px;
    text-align: left;
    float: right;
    clear: right;
}

.shipMethodTable {
    /* Table for shipping options */
    width: 355px;
    border-collapse: collapse;
    margin-bottom: 20px;
    margin-right: 20px;
    text-align: left;
    float: left;
    clear: left;
}

.payplanTable {
    /* Table for choosing pay plan */
    width: 355px;
    border-collapse: collapse;
    margin-bottom: 20px;
    text-align: left;
    float: left;
}

#shipPaymentContainer {
    width: 355px;
    float: left;
}

.tableOption {
    /* Paragraph for shipping or pay plan option */
    margin: 0 0 11px 0;
}

.payplanSummary { /* Box that shows payment schedule for payment plan */
    background-color: #fff;
    width: 200px;
    margin: -12px 0 15px 0;
}

.paymentDate { /* Date shown in .paypanSummary box */
    width: 100px;
    display: inline-block;
    border-bottom: 1px dashed #ddd;
}

.paymentAmount { /* Payment amount shown in .paypanSummary box */
    width: 65px;
    text-align: right;
    display: inline-block;
    border-bottom: 1px dashed #ddd;
}

.financeDate { /* Finance charge label shown in .paypanSummary box */
    color: #777;
    font-style: italic;
    width: 100px;
    display: inline-block;
}

.financeAmount { /* Finance charge amount shown in .paypanSummary box */
    color: #777;
    font-style: italic;
    width: 65px;
    text-align: right;
    display: inline-block;
}

.promoCode {
    /* Table for promo code field */
    width: 453px;
    border-collapse: collapse;
    margin-left: 15px;
}

.promoCode td {
    height: 30px;
}

.paymentMethodTable {
    /* Table for entering payment method */
    width: 730px;
    border-collapse: collapse;
    margin: 40px 0 20px 0;
    text-align: left;
    float: left;
}

td.pay1 {
    /* First column in .paymentMethodTable */
    width: 150px;
    padding-bottom: 20px;
}

td.pay2 {
    /* First column in .paymentMethodTable */
    width: 162px;
    padding-bottom: 20px;
}

td.pay3 {
    /* First column in .paymentMethodTable */
    width: 158px;
    padding-bottom: 20px;
}

td.pay4 {
    /* First column in .paymentMethodTable */
    padding-bottom: 20px;
}

td.rightAlign {
    text-align: right;
    vertical-align: top;
    padding-top: 10px;
    height: 20px;
    width: 140px;
}

.productCell {
    width: 80%; !important
}

.qtyCell {
    width: 10%; !important
}

.priceCell {
    width: 10%; !important
}

th.rightAlign {
    text-align: right;
}

th.rightAlignTop {
    text-align: right;
    vertical-align: top;
    padding-top: 20px;
    width: 150px;
}

td.rightAlignTop {
    text-align: right;
    padding-top: 20px;
    width: 150px;
    height: 20px;
}

td.rightAlignBottom {
    text-align: right;
    vertical-align: top;
    padding: 10px 10px 20px 0;
    width: 150px;
}

th.leftAlign {
    text-align: left;
    height: 15px;
}

td.leftAlign {
    text-align: left;
}

td.centerAlign, th.centerAlign {
    text-align: center;
}

td .rightCell {
    text-align: right;
}

.checkoutLinks {
    /* Container for 'Checkout' and 'Continue Shopping' buttons */
    width: 350px;
    height: 30px;
    margin: 0 0 40px;
    text-align: right;
    float: right;
    clear: both;
}

.checkoutWithPayPalLink {
    cursor: pointer;
    display: inline-block;
    margin: 10px 0 0 10px;
    padding: 3px 0;
}

.checkoutWithPayPalImg {
    display: block;
    margin: 0 0 -9px;
}

.payPalDescription {
    width: 400px;
}

.switchPaymentSelectionLink {
    padding-bottom: 25px;
    cursor: pointer;
}

.paymentIcon {
    margin: 15px 7px -5px 4px;
}



/* UPSELLS
===============================================================*/

#upsellContainer {
    /* Contains all upsells */
    margin: 0 0 40px 0;
    clear: both;
}

.upsell {
    /* Box that contains single upsell */
    width: 328px;
    float: left;
    margin: 0 20px 20px 0;
    padding: 10px 10px 12px 15px;
}

.upsellImage {
    float: left;
    margin: 6px 15px 0 0;
}

.upsellItem {
    /* Product name */
    font-weight: bold;
    margin-right: 10px;
}

.upsellAdd {
    /* Add to cart button for upsells */
    float: right;
    margin: 7px 7px 0 0;
}

.upsellPrice {
    margin-left: 9px;
}


/* TYPOGRAPHY
===============================================================*/

h1 {
    /* Used for product names */
    margin: 2px 0 2px 0;
}

h2 {
    /* Used for upsell product names */
    margin-right: 10px;
    display: inline;
}

#upsellContainer h2 {
    /* Used for upsell product names */
    margin: 5px 12px 0 0;
    display: inline-block;
}

h3 {
    /* Used for upsell headline */
    margin: 0 0 5px 0;
    padding-bottom: 3px;
}



/* LINKS AND BUTTONS
===============================================================*/

a {
    text-decoration: none;
}

a:hover {
    text-decoration: underline;
}

.codeButton {
    padding: 3px 15px 3px 15px;
    margin: 0 0 0 3px;
    cursor: pointer;
    float: right;
}

.continueButton {
    padding: 3px 15px 3px 15px;
    margin: 10px 0 20px 10px;
    cursor: pointer;
}

.upsellButton {
    margin: 0 0 0 1px;
    padding: 2px 8px 2px 8px;
    cursor: pointer;
}

/* PAYPAL LIGHTBOX
===============================================================*/

.payPalLightboxIcon {
    float: right;
    padding: 20px;
}

.payPalMessage {
    padding: 55px 30px 0;
}

.closePayPalLightbox {
    margin-right: 30px;
    margin-top: 50px;
    float: right;
}

.payPalGo {
    -moz-border-bottom-colors: none;
    -moz-border-left-colors: none;
    -moz-border-right-colors: none;
    -moz-border-top-colors: none;
    background: url("https://www.paypalobjects.com/en_US/i/pui/core/btn_bg_sprite.gif") repeat-x scroll left 17.5% #FFA822;
    border-color: #D5BD98 #935E0D #935E0D #D5BD98;
    border-image: none;
    border-style: solid;
    border-width: 1px;
    cursor: pointer;
    font-size: 14px;
    margin-left: 30px;
    margin-top: 10px;
    padding: 1px;
}

@media only screen and (max-width : 960px) {
    #wrapper {
        width: auto;
        left: 0;
        right: 0;
    }

    #header, #rightCol, .billingTable, .shippingTable, .shipMethodTable, .paymentMethodTable, .orderSummary {
        width: 100%;
    }

    #rightCol {
        height: auto;
    }

    #content {
        width: auto;
        float: none;
    }

    #paymentSelection {
        text-align: center;
    }

    td.pay1, td.pay2, td.pay3, td.pay4 {
        display: block;
        width: 100%;
        text-align: center;
        padding-left: 0;
        padding-right: 0;
    }

    .orderSummary td:last-child{
        text-align: right;
    }

    .viewCart > tbody > tr:not(:first-child):not(:last-child) > td:first-child,
    .viewCart > tbody > tr:not(:first-child):not(:last-child) > td:nth-child(2):not(.priceCell) {
        display: block;
    }

    .viewCart > tbody > tr:first-child > th:nth-child(2),
    .viewCart > tbody > tr:last-child > td:nth-child(3) {
        display: none;
    }

    #companyLogoTopBanner img {
        max-width: 100%;
    }

    td.rightAlign, td.rightAlignTop {
        width: auto;
    }

    .shipMethodTable {
        text-align: center;
    }

    .shippingCheckbox {
        text-align: center;
    }

    #lightbox_c {
        position: fixed !important;
        left: 10px !important;
        right: 10px !important;
        top: 10px !important;
        width: auto !important;
    }

    #lightbox {
        width: auto !important;
    }
}















/* CUSTOM CSS OVERRIDES
===============================================================*/


#pm-header {
  min-height: 120px;
}

#pm-header-left {
  float:left;width:45%;
}
#pm-header-right { 
  float:right;width:45%;text-align:right;padding-top:20px;margin-bottom:5px;margin-right:5px;
}

#progressbar {
  width:960px;max-width:100%;
}


#rightCol { 
    width:250px; 
}

#content { 
    width: 680px; 
}

.errorMessage{
  font-size:22px;font-weight:bold;text-align:center;
}

.orderSummary,.billingTable,.shippingTable,.shipMethodTable { 
    width: 325px; 
}

td.rightAlignTop, td.rightAlign { 
    width: 130px; 
}

.upsell {
  width: 96%;
}  

#rightCol {
  width: 250px;
}
#rightCol {
  height:auto; 
}
.quotebox {
  display: block;
  padding: 4%;
  margin: 10px 0px;
  border: 1px solid #f1edb4;
  background-color: #FCFBE9;
  line-height: 20px;
  text-align:left;
  font-size: 14px;
}
.bqstart {
  font-family: Georgia;
  float: left;
  height: 10px;
  font-size: 500%;
  color: #D41B1D;
  margin-left: -30px;
  margin-top: 10px;
}
.bqend {
  font-family: Georgia;
  float: right;
  height: 15px;
  padding-top: 0px;
  font-size: 500%;
  color: #D41B1D;
  margin-top: 25px;
  margin-right: -30px;
}
 ul {
  padding-left: 20px;
}
.quotebox, ul.smallchecks {
/*  margin-right:2%;*/
  margin-top:10px;
/*  margin-left:-10px;*/
}

  ul.smallchecks {
    padding: 0;
    margin: 0;
  }
  ul.smallchecks li {
    list-style-type: none;
    background-image:url("https://s3.amazonaws.com/psma-website-assets/check.png");
    margin-bottom: 5px;
    background-repeat: no-repeat;
    background-position: 0 -0.1em;
    padding-left: 2.75em;
    margin-left: 5px;
    min-height: 30px;
    text-align:left;
  }


/* viewCart TABLE (Products/Qty/Total) =================== */

td .totalPrice, th.qtyCell, th.priceCell, td .priceBold { 
  color: #000;
}

.viewCart, .shippingTable, .billingTable, .paymentMethodTable, .shipMethodTable, .payplanTable, .orderSummary {
    outline: 1px solid #c3e1e5;
}

.viewCart {
  margin-bottom: 15px !important;
}

.viewCart th, .payPlan th, .summaryCart th, .shippingInfo th, .billingInfo th, .billingTable th, .shippingTable th, .paymentInfo th, .signinTable th, .paymentMethodTable th, .shipMethodTable th, .payplanTable th, .orderSummary th { 
  background: linear-gradient(to bottom, #f6fafc, #c3e1e5);
  border-bottom: 1px solid #c3e1e5; 
  color:#000;
}

.viewCart td, .viewCartShort td, .payPlan td, .summaryCart td, .shippingInfo td, .billingInfo td, .paymentInfo td, .orderSummary td {
 border-top: none;
}
.subtotal {
  background-color: #e9f5f8;
  font-weight: bold;
}
td.subtotal { 
  color:#000;
}

#productInformation {
  padding-bottom: 15px;
}
/* Hide Subscription Plan Description */
.subscriptionPlan {
  display: none;
}


/* orderSummary TABLE ============== */

.orderSummary th { 
  color:#000; 
}


/* UPSELLS ======================== */

#upsellContainer > div> h3 { 
  font-weight:bold;
  text-transform: none;
  margin-bottom: 15px;
}
#upsellContainer {
  margin-bottom:0;
}
.upsell { 
  width:300px;
  position: relative;
  padding-bottom: 55px;
}

/*
.upsell:nth-of-type(3),.upsell:nth-of-type(6) {
width: 300px;
float: right;
margin: 0 0 20px 0px;
padding: 10px 10px 12px 15px;
}

.upsell:nth-of-type(4){
clear:both;
}
*/

td.rightAlignTop, td.rightAlign { 
  width: 130px; 
}


#upsellContainer div:nth-of-type(5) {
  clear:none !important;
}  

.upsell-full-width {
  width: 96%;
}

p.upsellAdd { 
  position:absolute;
  bottom:15px;
  right:5px;
}


/* HIDE PROMO CODE ===================== */

.promoField {
  width: 100px;
}

/* Promo Code Cell - put it back in
.orderSummary tbody tr:nth-of-type(4) td { 
  display:none; 
}
*/


/* PAYMENT METHOD TABLE =========== */

.paymentMethodTable {
  width: 680px;
}
.paymentMethodTable td {
  padding: 10px;
}

/* HALF WIDTH TABLES ================== */

.orderSummary,.billingTable,.shippingTable,.shipMethodTable,.payplanTable { 
  width: 325px; 
}

/* PAYMENT PLAN TABLE.... */
#PAYMENT_PLANS .payplanTable {
  float:right;
}

/* BUTTONS =========================================================== */

.checkoutWithPayPalImg {
  margin: 5px 0 -11px;
  margin-bottom: -22px;
}

#checkoutWithCreditCardLink,#checkoutWithCreditCardLinkPreview {
/*  padding: 2px 10px 2px 10px;*/
  padding: 6px 12px 8px 12px;
}  

.checkoutLinks {
  display: block;
  float: none;
  height: auto;
  margin: 20px auto;
  text-align: center;
  width: 100%;
}
.checkoutLinks {
  clear: both;
}

.continueButton:not(#checkoutWithCreditCardLink):not(#checkoutWithCreditCardLinkPreview):not(.closePayPalLightbox) {
 /* background: #ff770f none repeat scroll 0 0 !important;*/
  font-size: 32px;
  padding: 2% 4%;
}

.continueButton {
  font-size: 24px;
}

div.checkoutLinks > a.continueButton:not(#checkoutWithCreditCardLink):not(#checkoutWithCreditCardLinkPreview) {
  font-size: 32px;
  padding: 2% 4%;
}

.continueButton:not(#checkoutWithCreditCardLink):not(#checkoutWithCreditCardLinkPreview):not(.closePayPalLightbox) {
  margin: 10px 0 0 10px;
}
.upsellButton {
 font-size:18px;  
}
.codeButton, .continueButton,.upsellButton {
  cursor: pointer;
}
.codeButton, .continueButton,.upsellButton {
  background: rgba(255, 221, 0, 0) linear-gradient(to bottom, #ffc955, #e0742c) repeat scroll 0 0;
  border: 1px solid #e6803c;;
  border-radius: 4px;
  box-shadow: 0 1px 2px rgba(0, 0, 0, 0.2);
  color: #fff;
}

.codeButton, .continueButton, .upsellButton {
  display: inline-block;
  font-weight: 700;
  outline: 0 none;
  text-align: center;
  text-decoration: none;
  text-shadow: 0 1px 1px rgba(0, 0, 0, 0.3);
}

.continueButton, .upsellButton {
  text-shadow: none;
}  

.continueButton:hover,.upsellButton:hover,.codeButton:hover,.continueButton:not(#checkoutWithCreditCardLink):hover,.continueButton:not(#checkoutWithCreditCardLinkPreview):hover {
  background: linear-gradient(to bottom, #f7bc3c, #cf6119); 
 /* background: #77c94e !important;
  border: 1px solid #67af43; */
}

/* MEDIA QUERIES ===================================================== */


@media only screen and (max-width: 960px){
  #rightCol,#content,.upsell { 
    max-width: 94.8% !important; 
    padding-left:2%;
  }

  #rightCol,#content,.billingTable, .orderSummary, .upsell, .paymentMethodTable,.shipMethodTable,.shippingTable,.payplanTable { 
      width: 100% !important; 
  }
  #rightCol {
    float:none !important;
  }
  .upsell:nth-of-type(3),.upsell:nth-of-type(6) { 
      float:left !important; 
  }
  td.rightAlignTop, td.rightAlign { 
      width: auto !important; 
  }
  .upsell { 
      margin-left: 5px !important; width: 94% !important; 
  }
  .viewCart td {
    border-top:none;
  }
  .viewCart, .shippingTable, .billingTable, .paymentMethodTable, .shipMethodTable, .payplanTable, .orderSummary {
    outline: none;
  }
  .viewCart tr:not(:first-child) {
    border-top: none;
  } 
  /*
  .quotebox, ul.smallchecks {
    margin-right: 4%;
    margin-left:-20px;
  }
  */

}


@media only screen and (max-width: 460px){
  .productDescription { 
      display:none; 
  }
  .orderSummary,.billingTable,.shippingTable,.shipMethodTable,.payplanTable {
/*    width:100% !important;*/
    margin-right:0;
  }
  .viewCart td {
    padding: 5px 5px 5px 10px;
  }
/*
  .quotebox, ul.smallchecks {
    margin-right: 3%;
    margin-left:-10px;
  }
  */

}

@media only screen and (max-width: 430px){
  #pm-header-left,#pm-header-right { 
    display:block;
    float:none;
    width:100%;
    text-align:center;
  }
  #pm-header-right {
    color: #000;
    margin-bottom:10px;
  }
  h1 {
    font-size: 13px;
  }
  .bqend {
    margin-right: -20px;
  }
  .bqstart {
    margin-left: -20px;
  }
  .upsell {
    margin-left: 2px !important; width: 93% !important; 
  }
  .orderSummary tr:last-child td {
    padding:10px 0px !important;
  }
  .promoField {
    margin-left: 18px;
  }
  .continueButton {
    margin-bottom:0;
  }
  .priceBold {
    font-size: 12px;
  }
}

/* PAYPAL SMARTBUTTONS===============================================================*/.checkoutButtonList { /* Container for the checkout links and PayPal smart payment buttons, if the smart payment buttons are present */ float: right; clear: both; padding-right: 30px;}.checkoutPaypalSmartPaymentButtons { /* Container for the PayPal smart payment buttons */ float: right; clear: both;}.payPalOption td { /* PayPal option in the Payment Information */ width: 220px;}.payPalOption td div { /* Container for the PayPal smart payment buttons in the PayPal option in the Payment Information */ clear: both; float: left;}#payPalButtons { /* PayPal initial order form page when multiple payment option */ background-color: #ffffff; padding: 16px;}#payPalOptionButtons { /* Container for the PayPal smart payment buttons */ float: right; clear: both; width: 220px;}
