<style>
.header-container{padding-top:0;}
.header-container .header-top,.cms-index-index.active #currency-nicer ul li, #language-nicer ul li,.cms-index-index.active #site-nav > li,.cms-index-index.active #header_top li#my-account{position:static;}
.cms-index-index.active{overflow:hidden;}
.cms-index-index.active .header-container .header-middle #search_mini_form .input-group::before{display:none;}
/*.header-container .header-middle #search_mini_form .input-group::before{position:static;}*/
@media only screen and (max-width:991px) {
.cms-index-index.active .header-container .header-middle #search_mini_form,.cms-index-index.active #site-nav > li{display:none;}
}
</style>
<link rel="stylesheet" type="text/css" href="catalog/template/beststoreitems/css/cart.css">

<div class="main container">
    <div class="row" id="cart">
        <div id="checkout_payment">
            <!--left-->
            <!--<div class="col-md-24">
            	<div class="page-title clearfix">
                <h1><?php echo $heading_title; ?></h1>
                <div class="clear"></div>
                <p class="tips"><?php echo $text_payment_secure; ?></p>
            </div>
                <?php if ($error) { ?>
                <div class="warning"><?php echo $error; ?></div> 
                <?php } ?>
                <form action="<?php echo $action; ?>" method="post" enctype="multipart/form-data">
                    <?php if ($methods) { ?>
                    <div class="d"> 
                      <table id="paymentD">
                        <?php 
                        $default='dhpay';
                        foreach ($methods as $method) { ?>
                        <tr>
                          <td class="i" colspan="2">
                            <label for="<?php echo $method['id']; ?>">
                              <input onclick="payjs('<?php echo $method['id']; ?>');" type="radio" name="payment" value="<?php echo $method['id']; ?>" id="<?php echo $method['id']; ?>" <?php if($method['id']== $default) echo 'CHECKED'?>/>
                              <?php echo $method['title']; ?>
                              <div class="payHidd_div" style="display:none;" id="<?php echo $method['id']; ?>_tay"> <?php echo $method['desc']['desc']; ?></div>
                            </label></td>
                        </tr>
                        <?php } ?>
                      </table>
                    </div>
                    <?php } ?>
                  <div class="buttons cart_btn">
                    <a style="vertical-align:inherit;" onclick="window.history.back(-1)" class="btn_button btn_gray"><i class="icon-back"></i>Back</a>
                    <button style="vertical-align:super;" type="submit" class="btn_button btn_orange"/><i class="icon_safety"></i>Proceed to Checkout</button>
                  </div>
                </form>
            </div>-->
            <!--left end-->
            <script type="text/javascript">
            	$(function(){
					$("#checkout-payment-method-load dt label").click(function() {
						$(this).parent("dt").addClass('active');
						$(this).parents('dl').siblings('dl').children().removeClass('active');
					})
	
					$('#showMoneygram').click(function(){
						$('#bg_tip, #moneygram_tip').show()
						$(this).parents().find('body').addClass('active');
					})
					
					$('#showWu').click(function(){
						$('#bg_tip, #wu_tip').show()
						$(this).parents().find('body').addClass('active');
					})
					
					$('.closetip').click(function(){
						$('#bg_tip, #moneygram_tip, #wu_tip').hide()
						$(this).parents().find('body').removeClass('active')
					})
					
					/*$('#introVid1').click(function(){
						$(this).hide()
						$('#videoContainer1').show()
					})
					
					$('#introVid2').click(function(){
						$(this).hide()
						$('#videoContainer2').show()
					})	
					
					$('#introVid3').click(function(){
						$(this).hide()
						$('#videoContainer3').show()
					})
					
					$('#introVid4').click(function(){
						$(this).hide()
						$('#videoContainer4').show()
					})*/
					
					$("#payment_wrapper_ecommercecraft_orderreactor_directpost .ttip").hover(function(){
						$(this).addClass("hover")
						$(this).siblings(".ttip").removeClass("hover"); 
						},function(){
						$(this).removeClass("hover")
					});
				})
				
            </script>
            <!--New-->
            <div class="step a-item col-md-24" id="checkout-step-payment">
            	<div class="page-title clearfix">
                    <h1><?php echo $heading_title; ?></h1>
                    <div class="clear"></div>
                    <p class="tips"><?php echo $text_payment_secure; ?></p>
                </div>
                <form id="co-payment-form" action="<?php echo $action; ?>" method="post">
                    <fieldset>         
                    <?php foreach($methods as $method) { ?>           
                        <dl id="checkout-payment-method-load" class="sp-methods">        
                            <?php if($method['id']=='dhpay') { ?>                    
                            <dt class="clearfix checkbox  has_more_link" id="payment_wrapper_ecommercecraft_orderreactor_directpost">
                                    <label title="" for="p_method_dhpay">
                                        <input type="radio" class="radio" title="Credit Card" name="payment" value="<?php echo $method['id']; ?>" id="p_method_dhpay" >Credit Card</label>
                                	<span><a class="more-det ttip" onclick="javascript:return false;" title="" href="#">Secure Online Payment
                                	<span class="ttip-info" style="">
                                        <strong class="title">SSL SECURE CHECKOUT</strong><br>
                                        100% SAFE SECURE &amp; PRIVATE!<br>
                                            The information you provide will be securely submitted to the credit card processing system and protected by 128-bit encrypted security (the highest level available commercially)            	</span>
                                </a></span>
                              </dt>
                            <?php } ?> 
                            <?php if($method['id']=='moneygram') { ?>
                            <dt class="clearfix checkbox  has_more_link" id="payment_wrapper_ecommercecraft_orderreactor_moneygram">
                              <label title="" for="p_method_moneygram">
                              <input type="radio" class="radio" onclick="" title="MoneyGram" name="payment" value="<?php echo $method['id']; ?>" id="p_method_moneygram" autocomplete="off">MoneyGram</label>
                              <div class="method_discount"></div>
                                <span><a href="javascript:void(0);" class="more-det" id="showMoneygram" title="How to Send Money Online via MoneyGram">More Details</a></span>
                            </dt>
                            <?php } ?> 
                            <?php if($method['id']=='westernunion') { ?>
                            <dt class="clearfix checkbox  has_more_link" id="payment_wrapper_ecommercecraft_orderreactor_wu">
                    			<label title="" for="p_method_westernunion">
                        			<input type="radio" class="radio" title="Western Union" name="payment" value="<?php echo $method['id']; ?>" id="p_method_westernunion" >Western Union</label>
                                <div class="method_discount"></div>
                                <span><a class="more-det" href="javascript:void(0);" id="showWu" title="How to Send Money Online via Western Union">More Details</a></span>
                            </dt>  
                            <?php } ?>
                             <?php if($method['id']=='paypal') { ?>
                            <dt class="clearfix checkbox  has_more_link" id="payment_wrapper_ecommercecraft_orderreactor_paypal">
                              <label title="" for="p_method_paypal">
                              <input type="radio" class="radio" onclick="" title="PayPal" name="payment" value="<?php echo $method['id']; ?>" id="p_method_paypal" autocomplete="off">PayPal</label>
                              <div class="method_discount"></div>
                                <span><a href="javascript:void(0);" class="more-det" id="showPayPal" title="How to Send Money Online via PayPal">More Details</a></span>
                            </dt>
                            <?php } ?> 
                		</dl>
                	 <?php } ?>
                    </fieldset>
                    <div class="buttons cart_btn">
                    <a style="vertical-align:inherit;" onclick="window.history.back(-1)" class="btn_button btn_gray"><i class="icon-back"></i>Back</a>
                    <button style="vertical-align:super;" type="submit" class="btn_button btn_orange"/><i class="icon_safety"></i>Proceed to Checkout</button>
                  </div>
                </form>

				<div id="bg_tip" class="bg_tip"></div> 
                
				<!--Western Union-->
              	<div style="display:none" id="wu_tip">
                	<div id="wu-tip_popupoverlay_container_wrapper">
                    	<div class="popupoverlay-container popupoverlay-fixed-width" id="wu-tip_popupoverlay_container">
                        	<div class="pm-block">
                                <div class="pm-block-header"><a href="javascript:void(0);" class="pm-close closetip top"></a></div>
                                <div class="pm-block-content">
                                    <div id="wu-tip_popupoverlay_container_content">
                                        <h2 class="popup-title">Western Union</h2>
                                        <div class="container benefits_container">
                                            <ul class="payment_benefits">
                                                <li>
                                                    <span class="icon"><i class="icon-dollar"></i></span>
                                                    Payment
                                                    <br>
                                                    is Easy
                                                </li>
                                                <li>
                                                    <span class="icon"><i class="icon-shield"></i></span>
                                                    Payment
                                                    <br>
                                                    is Secure
                                                </li>
                                                <li>
                                                    <span class="icon"><i class="icon-connections"></i></span>
                                                    Fast Order
                                                    <br>
                                                    Processing
                                                </li>
                                                <li>
                                                    <span class="icon"><i class="icon-lifebuoy"></i></span>
                                                    We are here
                                                    <br>
                                                    to help
                                                </li>
                                            </ul>
                                        </div>
                                        <ol class="numbered clearfix">
                                            <li><i class="number">1</i>Select "Western Union" during checkout</li>
                                            <li><i class="number">2</i>Check your email for our Western Union details</li>
                                            <li><i class="number">3</i>Pay online using your credit card or bank account (or pay in person at your local Western Union Kiosk)</li>
                                        </ol>
                                        <h2>There are two ways of making payment by Western Union</h2>
                                        <div class="block-icon">
                                            <span class="circle-icon"><i class="icon-mouse"></i></span>
                                            Online with your credit card or your bank account by visiting: www.westernunion.com.
                                            The process is very simple, hassle free and completely secure. Here is
                                            a video that shows you exactly how it works:
                                        </div>
                                        <div class="video_frame">
                                            <a href="/index.php?controller=knowledge_base&knowledge_id=9" target="_blank"> <img height="242" width="430" src="https://www.beststoreitems.com/media/wysiwyg/PaymentOptions/wu/wu_video_thumb_111.jpg" alt="How to send money Online"> </a>
                                            <div style="display:none" id="videoContainer3">
                                                <iframe height="242" frameborder="0" width="430" wmode="Opaque" src="https://www.youtube.com/embed/hNw5hZbEXo8?autoplay=0&amp;loop=1&amp;rel=0&amp;wmode=transparent" allowfullscreen=""></iframe></div>
                                        </div>
                                        <div class="block-icon">
                                            <span class="circle-icon"><i class="icon-user2"></i></span>
                                            You can visit any Post Office or Bank that has the Western Union logo
                                            and make the payment in person. Here is a video that shows you exactly
                                            how this option works:
                                        </div>

                                        <div class="video_frame">
                                            <a href="/index.php?controller=knowledge_base&knowledge_id=9" target="_blank"> <img height="242" width="430" src="https://www.beststoreitems.com/media/wysiwyg/PaymentOptions/wu/wu_video_thumb_222.jpg" alt="How to send money Online"> </a>
                                            <div style="display:none" id="videoContainer4">
                                                <iframe height="242" frameborder="0" width="430" wmode="Opaque" src="https://www.youtube.com/embed/mx9rRsjHrHg?autoplay=0&amp;loop=1&amp;rel=0&amp;wmode=transparent" allowfullscreen=""></iframe></div>
                                        </div>
                                        <p class="text-center pink_text">
                                            Receive a 20% discount when choosing this payment method.
                                        </p>
                                    </div>
                                </div>
                            </div>
                        </div>
                    </div>
                </div>  
                <!--Western Union end-->
                
                <!--MoneyGram-->
                <div style="display:none" id="moneygram_tip">
                    <div id="moneygram-tip_popupoverlay_container_wrapper">
                        <div class="popupoverlay-container popupoverlay-fixed-width" id="moneygram-tip_popupoverlay_container">
                                <div class="pm-block">
                                    <div class="pm-block-header"><a href="javascript:void(0);" class="pm-close closetip top"></a></div>
                                    <div class="pm-block-content">
                                        <div id="moneygram-tip_popupoverlay_container_content">
                                            <h2 class="popup-title">MoneyGram</h2>
                                            <div class="container benefits_container">
                                                <ul class="payment_benefits">
                                                    <li>
                                                        <span class="icon"><i class="icon-dollar"></i></span>
                                                        Payment<br> is Easy
                                                    </li>
                                                    <li>
                                                        <span class="icon"><i class="icon-shield"></i></span>
                                                        Payment<br> is Secure
                                                    </li>
                                                    <li>
                                                        <span class="icon"><i class="icon-connections"></i></span>
                                                        Fast Order<br> Processing
                                                    </li>
                                                    <li>
                                                        <span class="icon"><i class="icon-lifebuoy"></i></span>
                                                        We are here<br> to help
                                                    </li>
                                                </ul>
                                            </div>
                                            <h2>Steps to Making Yout Payment test</h2>
                                            <p class="subStep"><span class="subStepNr">1</span>Select "MoneyGram" during checkout.</p>
                                            <p class="subStep"><span class="subStepNr">2</span>Check your email for our MoneyGram details.</p>
                                            <p class="subStep"><span class="subStepNr">3</span>Pay online using your credit card or bank account (or pay in person at your local MoneyGram Kiosk)</p>
                                            <hr class="dashed">
                                            <h2>There are two ways of making payment by MoneyGram</h2>
                                            <p class="subStep with-video"><span class="subStepNr">1</span>Online with your credit card or your bank account by visiting: www.moneygram.com. The process is very simple, hassle free and completely secure. Here is a video that shows you exactly how it works:</p>
                                            <div class="video_frame">
                                                <a href="/index.php?controller=knowledge_base&knowledge_id=11" target="_blank"> <img height="280" width="420" src="/media/wysiwyg/PaymentOptions/moneygram/money-gram_video_thumb_111.png" alt="MoneyGram"> </a>
                                                <div style="display:none" id="videoContainer1">
                                                    <iframe height="236" frameborder="0" width="420" wmode="Opaque" src="https://www.youtube.com/embed/KCbbdp7Ci3M?autoplay=0&amp;loop=1&amp;rel=0&amp;wmode=transparent" allowfullscreen=""></iframe>
                                                </div>
                                            </div>
                                            <p class="subStep with-video"><span class="subStepNr">2</span>You can visit any Post Office or Bank that has the MoneyGram logo and make the payment in person. Here is a video that shows you exactly how this option works:</p>
                                            <div class="video_frame">
                                                <a href="/index.php?controller=knowledge_base&knowledge_id=11" target="_blank"> <img height="280" width="420" src="/media/wysiwyg/PaymentOptions/moneygram/money-gram_video_thumb_222.png" alt="MoneyGram"> </a>
                                                <div style="display:none" id="videoContainer2">
                                                <iframe height="236" frameborder="0" width="420" wmode="Opaque" src="https://www.youtube.com/embed/QMn2ZdhZwmI?autoplay=0&amp;loop=1&amp;rel=0&amp;wmode=transparent" allowfullscreen=""></iframe></div>
                                            </div>
                                        </div>
                                 </div>
                             </div>
                         </div>
                         <div class="popup_align" style="display: inline-block; vertical-align: middle; height: 100%;"></div>
                    </div>
                </div>
                <!--MoneyGram end-->
			</div>
            <!--New end-->
            
        </div>
    </div>
</div>