/* Start of mini cart sliding panel */
body.overflow-hidden {
    /* prevent 2 vertical scrollbars on ie and firefox when the cart is visible */
    overflow: hidden;
  }

  #cd-cart-trigger {
    right: 0;
  }  
  
  #cd-cart-trigger.cart-button  {
  color: #ffffff;
  text-shadow: 0 -1px 0 rgba(0, 0, 0, 0.25);
  background-color: #00539b;
  border-color: #00539b #00539b #003868;
  }
  
  #cd-cart-trigger.cart-button:hover {
	  border-color: #0061b4 #0061b4 #004582;
	  background-color: #0061b4;
  }
  
  @media only screen and (min-width: 1200px) {
    #cd-cart-trigger {
      /* cart right margin on desktop */
      right: 0;
    }
    #cd-cart-trigger a {
      position: relative;
      width: 100px;
      border-left: none;   
    }
  }

  #cd-cart {
    position: fixed;
    top: 0;
    height: 100%;
    width: 260px;
    /* header height */
    padding: 30px 15px 15px;
    overflow-y: auto;
    -webkit-overflow-scrolling: touch;
    box-shadow: 0 0 20px rgba(0, 0, 0, 0.2);
    z-index: 3;
  }
  @media only screen and (min-width: 768px) {
    /* #main-nav, */ #cd-cart {
      width: 430px;
    }
  }
  @media only screen and (min-width: 1200px) {
    /* #main-nav, */ #cd-cart {
      width: 500px;  /*set the width of the cart panel*/
      /* header height has changed */
      padding: 30px 15px 15px;
    }
  }

  #cd-cart {
    right: -100%;
    background: #FFF;
    -webkit-transition: right 0.3s;
    -moz-transition: right 0.3s;
    transition: right 0.3s;
  }
  #cd-cart.speed-in {
    right: 0;
  }

  #cd-cart > * {
    padding: 0 1em;
  }
  
  #cd-shadow-layer {
    position: fixed;
    min-height: 100%;
    width: 100%;
    top: 0;
    left: 0;
    background: rgba(67, 87, 121, 0.6);
    cursor: pointer;
    z-index: 2;
    display: none;
  }
  #cd-shadow-layer.is-visible {
    display: block;
    -webkit-animation: cd-fade-in 0.3s;
    -moz-animation: cd-fade-in 0.3s;
    animation: cd-fade-in 0.3s;
  }
  
  /* -------------------------------- 
  xkeyframes 
  -------------------------------- */
  @-webkit-keyframes cd-fade-in {
    0% {
      opacity: 0;
    }
    100% {
      opacity: 1;
    }
  }
  @-moz-keyframes cd-fade-in {
    0% {
      opacity: 0;
    }
    100% {
      opacity: 1;
    }
  }
  @keyframes cd-fade-in {
    0% {
      opacity: 0;
    }
    100% {
      opacity: 1;
    }
  }
/* end of mini cart sliding panel */  

/* Miscellaneous mini cart styles */
#cd-cart h3 {
	text-align: center;
    background: aliceblue;
    padding: 20px 0;
    margin-bottom: 0px;
}

div.miniHeader div:nth-child(2) {
	padding-left: 5px;
}

div.miniHeader div {
	font-variant: all-small-caps;
	padding-bottom: 5px;
}

div.miniDel button {
	margin-top: 1px;
}

div.miniQty {
	padding-left: 5px;
}

input.item-qty {
	padding-left: 3px;
    width: 32px;
    border: 1px solid #dfdfdf;
    background-color: ghostwhite;
	font-weight: bold;
}

input.item-qty::-webkit-inner-spin-button, 
input.item-qty::-webkit-outer-spin-button {  
   opacity: 1;
}

#cd-cart div.miniPrice span {
	font-size: 1.7rem;
	float: none !important; 
}

@media only screen and (min-width: 767px) {
#cd-cart div.miniPrice span {
	margin-left: -15px;
}
}

div#miniTotals {
	padding: 20px 0;
    background: #f2f2f2;
}

#cartTotalBadge {
	background: #fff;
    border-right: 20px solid #f2f2f2;	
}

span#lblCount, span#lblCartTotal {
	margin-right: 10px;
}

button#clearCart {
	background: #d6d6d6;
}

span#count-items {
	display: inline-block;
    padding: 1px 3px;
    background: #fff;
    border-radius: 50%;	
}

span#total-cart {
	display: inline-block;
    padding: 1px 5px;
    font-weight: bold;
	font-size: 1.6rem;
}

#miniMsg, #miniNav, #miniOther {
	padding: 20px 0;
}

#lblContinue, #lblTitle, #lblClearCart {
	margin-left: 7px;
}

#lblCheckout {
	margin-right: 7px;
}

a#lnkCheckout, a#lnkCheckout:visited,
a#lnkPortalCheckout, a#lnkPortalCheckout:visited{
	color: #fff;
}

#miniCartCountBadge {
	margin-left: 5px;
    font-size: 10px;
    min-width: 9px;
    border-radius: 9px;
    padding: 3px 6px;	
}

  @media only screen and (max-width: 767px) {
    /*#miniCartCountBadge,*/ #clearCart, #btnCloseMiniCart {
		margin-bottom: 15px;
	} 
	#cartTotalBadge {
		margin-top: 20px;
		border-left: 20px solid #f2f2f2;	
	}
  }

