.modal-backdrop.modal-backdrop-xgiftwrap {
  position: fixed;
  z-index: 99998;
}
.input-checkbox {
  background: #fff;
  width: 18px;
  height: 18px;
  box-shadow: 0 0 0 0 #ab0000 inset;
  transition: all 0.2s ease-in-out;
  -webkit-appearance: none;
  -webkit-font-smoothing: inherit;
  position: relative;
  cursor: pointer;
  vertical-align: -4px;
  outline: 0;
  border: 1px solid;
  border-radius: 4px;
  border-color: #cccccc;
}
.input-checkbox:checked {
  border: none;
  box-shadow: 0 0 0 10px #6e7a93 inset;
}
.input-checkbox:checked:after {
  -webkit-transform: scale(1);
  transform: scale(1);
  opacity: 1;
  -ms-filter: "progid:DXImageTransform.Microsoft.Alpha(Opacity=100)";
  filter: alpha(opacity=100);
}
.input-checkbox:after {
  content: "\f00c";
  display: inline-block;
  font: normal normal normal 18px/1 FontAwesome;
  text-rendering: auto;
  -webkit-font-smoothing: antialiased;
  position: absolute;
  right: 2px;
  font-size: 14px;
  top: 2px;
  color: #fff;
}
.input-checkbox:hover {
  border-color: #cccccc;
}
.info-giftwrap-optional input[type=checkbox]:focus,.giftwrapcheckbox input[type=checkbox]:focus{
	outline: none !important;
}
.btn.btn-xgiftwrap,.btn.btn-xgiftwrap:hover,.btn.btn-xgiftwrap:focus{
	background: #5d81c9 !important;
	color: #fff !important;
	border: 1px solid #5d81c9 !important;
	width: 100% !important;
	padding: 10px 12px !important;
	border-radius: 4px !important; 
	text-transform: capitalize !important;
}
.width100{
	width: 100%;
}
.checkbox.giftwrapcheckbox {
  margin: 0 !important;
  padding: 0;
}
.checkbox.giftwrapcheckbox label {
  min-height: initial;
  padding-left: 0 !important;
  font-size: inherit;
  display: block;
}
.checkbox.giftwrapcheckbox label input[type=checkbox].input-checkbox {
  top: -2px;
  margin-right: 3px;
  position: relative;  
  margin-left: 0;
}
.checkbox.giftwrapcheckbox label input[type=checkbox].input-checkbox:CHECKED {
	box-shadow: 0 0 0 10px #5d81c9 inset;
}
.checkbox.giftwrapcheckbox label .input-checkbox {
  width: 15px !important;
  height: 15px !important;
}
.checkbox.giftwrapcheckbox label .input-checkbox::after {
  right: 2px;
  font-size: 11px;
  top: 2px;
}
.xgiftwrapcartelement .checkbox.giftwrapcheckbox label {
  padding: 10px !important;
  background: #f6f8fc;
  border: 1px dashed #d0daef;
  color: #5d81c9;
  margin-top: 10px;
  border-radius: 4px;
  width: 100%;
  display: block;
}
.fa.xp-mess {
  font-size: 60px;
  text-decoration: underline;
  color: #5d81c9;
}
.xgiftwrapicon {
  font-size: 40px;
  text-color: green;
  vertical-align: middle;
}
.xgiftwrapmessages ul {
  -webkit-padding-start: 15px;
}
.xgiftwrapmessages li {
  margin-bottom: 5px;
  font-size: 13px;
  line-height: 21px;
}
.xgiftwrapwell {
  	min-height: 200px;
	position: relative;
	background: #f6f8fc;
	color: #5d81c9;
	border: 2px dashed #d0daef;
	margin-bottom: 10px;
}
#mymessage {
  white-space: pre;
  white-space: pre-line;
}
.sendername {
  bottom: 10px;
  right: 15px;
  position: absolute;
}
.giftwrapsection{
	display: table;
	table-layout: fixed;
	width: 100%;
}
.giftwrapsubsection{
	display: table-cell;
	padding: 15px;
	vertical-align: top;
}
#modal-xgiftwrap .modal-body {
	padding: 0;
}
@media (min-width: 768px) {
  #modal-xgiftwrap .modal-dialog, #modal-xgiftwrap .modal-content {
    min-width: 700px;
  }
  .fa.xp-mess {
  	font-size: 40px;
  }
}
@media (min-width: 992px) {
	.fa.xp-mess {
  		font-size: 60px;
  	}
}
@media (max-width: 768px) {
	.giftwrapsection{
		display: block;
		width: 100%;
	}
	.giftwrapsubsection{
		display: block;
	}
  #modal-xgiftwrap .modal-dialog {
    margin: 0;
  }
  #modal-xgiftwrap .modal-content {
    width: 100%;
  }
  #modal-xgiftwrap .modal-body {
    padding-bottom: 0;
  }
  #modal-xgiftwrap .xgiftwrapborder {
    border-left: 0;
    border-top: 2px dashed #ddd;
    padding-top: 15px;
    padding-bottom: 15px;
  }
}
.giftwrapinfo+.popover{
	min-width: 260px;	
	cursor: default;
	left: 0 !important;
}
.giftwrapinfo+.popover .arrow{
	left: 35% !important;
}
.giftwrapinfo+.popover .popover-title{
	background-color: #f6f8fc;
	border-bottom: 1px dashed #5d81c9;
	color: #5d81c9;
}
.giftwrapinfo+.popover .popover-content{
	color: #777;
	font-size: 12px;
}
.text-xgiftwrap-label{
	padding: 4px !important;
	background: #f6f8fc;
	border: 1px dashed #d0daef;
	color: #5d81c9;	
	border-radius: 4px;
}
#xcart .panel-body{
	padding: 5px 0 0;
}
.xgblur{
	opacity: .5;
	pointer-events: none;
	background: #f1f3f7;
}
.info-back-checkout.info-giftwrap-optional{
	padding: 6px 10px;
	box-shadow: 0 0 2px #6e7a93;
	color: #6e7a93;
	background: #f1f3f7;
	border-color: #6e7a93;
	border-radius: 4px;
	margin: 20px auto 0;
}
.info-back-checkout.info-giftwrap-optional label{
	font-weight: 600;
	font-size: 13px;
}
html[dir="rtl"] .xgiftwrapborder {
  border-right: 2px dashed #ddd;
  border-left: 0;
}
html[dir="rtl"] .checkbox.giftwrapcheckbox label input[type=checkbox].input-checkbox {
    top: 2px;
    margin-right: -19px;
}

html[dir="rtl"]  .checkbox.is_checkbox.giftwrapcheckbox .text-left.width50{
	padding-right: 20px;
}
html[dir="rtl"] .checkbox.giftwrapcheckbox label .text-left.width50 input[type=checkbox].input-checkbox {
    top: 9px;
    margin-right: -19px;
}
.giftwrap-paper-block{
	display: block;
}
.giftwrap-paper{
	display: table;
    width: 100%;
    table-layout: fixed;
    cursor: pointer;
    box-shadow: 0 1px 2px 0 rgba(0, 0, 0, 0.05);
}
.paper-thumb{
	background: #fcfcfc;
    border: 1px solid #ddd;
    border-radius: 4px;
    padding: 2px;
    text-align: center;
    display: table-cell;
    width: 60px;
    /*border-right: 0;*/
    border-top-right-radius: 0;
    border-bottom-right-radius: 0;
}
.paper-thumb img{
	width: 100%;
}
.paper-caption{	
	border: 1px solid #ddd;
    border-left: 0;
    border-top-right-radius: 4px;
    border-bottom-right-radius: 4px;
    display: table-cell;
    vertical-align: top;
    background: #fff;
}
.paper-caption .paper-title, .paper-caption .paper-cost{
	display: block;
    font-size: 12px;
    line-height: 13px;
}
.paper-caption .paper-title{
	width: 100%;
    padding: 10px 15px 0;
    position: relative;
}
.paper-caption .paper-cost{
	padding: 6px 15px;
}
.paper-caption .fa-check-circle-o, .paper-caption .fa-circle-o{
	color: #5d81c9;
    font-size: 16px;
    position: absolute;
    right: 6px;
    top: 10px;
}
.paper-caption .fa-check-circle-o{
	display:none;
}	
.xpaperradio:checked+.giftwrap-paper .paper-caption .fa-circle-o{
	display:none;
}
.xpaperradio:checked+.giftwrap-paper .paper-caption .fa-check-circle-o{
	display: inline;
}
.xpaperradio:checked+.giftwrap-paper .paper-caption,.xpaperradio:checked+.giftwrap-paper .paper-thumb{
	border-color: #5d81c9;
	color: #5d81c9;
}
.alert-xgiftwrap{
	position: relative;
}
@media (min-width: 992px) {
  #modal-xgiftwrap .modal-dialog.xgiftfullmodal, #modal-xgiftwrap .modal-dialog.xgiftfullmodal .modal-content {
    	min-width: 900px;
  }
}
@media (min-width: 1200px) {
	#modal-xgiftwrap .modal-dialog.xgiftfullmodal, #modal-xgiftwrap .modal-dialog.xgiftfullmodal .modal-content {
    	min-width: 1100px;
  }
}
.giftwrapsubsectionform+.giftwrapsubsectionpaper{
	padding-top: 0; 
}
@media (min-width: 768px) {
	.giftwrapsubsectionform+.giftwrapsubsectionpaper{
		border-left: 2px dashed #ddd; 
		background: #f5f7fb;
		padding-top: 15px; 
	}
}
.giftwrapsubsectionform+.xgiftwrapborder {
  border-left: 2px dashed #ddd;
  background: #fafafa;
}
.giftwrapsubsectionpaper+.xgiftwrapborder {
  border-left: 2px dashed #ddd;
}
html[dir="rtl"] .paper-thumb {
	border-top-right-radius: 4px;
    border-bottom-right-radius: 4px;
    border-top-left-radius: 0;
    border-bottom-left-radius: 0;
}
html[dir="rtl"] .paper-caption{
    border-left: 1px solid #ddd;
    border-right: 0;
    border-top-left-radius: 4px;
    border-bottom-left-radius: 4px;
    border-top-right-radius: 0;
    border-bottom-right-radius: 0;
}
html[dir="rtl"] .paper-caption .fa-check-circle-o,html[dir="rtl"] .paper-caption .fa-circle-o {
	right: inherit;
	left: 10px;
}
@media (min-width: 768px){
	html[dir="rtl"] .giftwrapsubsectionform+.giftwrapsubsectionpaper {
		border-right: 2px dashed #ddd;
		border-left: 0;
	}
}
.well.xgiftwrapwell{
	display: block;
	width: 100%;
}
#modal-xgiftwrap h3.modal-title,#modal-xgiftwrap h4.modal-title{
	font-size: 21px;	
	text-transform: capitalize !important;	
}
#modal-xgiftwrap h4.modal-title{
	font-size: 16px;
}