<?php



	



	/* mobile attribute */



	$wah_custom_logo_position_mob = wah_get_param( 'wah_custom_logo_position_mob' );



	$wne_hide_on_mobile = wah_get_param( 'wne_hide_on_mobile' );



	$nagish_logo_pos_mob =  wah_get_param( 'nagish_logo_pos_mob');



	$nagish_hopxl_mob = wah_get_param( 'nagish_hopxl_mob' );



	$nagish_hopos_mob = wah_get_param( 'nagish_hopos_mob' );



	$nagish_vepxl_mob = wah_get_param( 'nagish_vepxl_mob' );



	$nagish_vepos_mob = wah_get_param( 'nagish_vepos_mob' );



	$shape_type_mob = wah_get_param( 'shape_type_mob' );



	$button_image = wah_get_param( 'button_image' );



	



	/* custom icon image url & color */



	



	



	if($wah_custom_logo_position_mob == 1){



		if($nagish_logo_pos_mob == "topleft"){



			



			?>



				<style>



				@media only screen and (max-width:767px){



					button.aicon_link{



						left:0px !important;



						right:auto !important;



						top:0px !important;



					}



				}



				</style>



			<?php



			



		}elseif($nagish_logo_pos_mob == "topcenter"){



			



			?>



				<style>



				@media only screen and (max-width:767px){



					button.aicon_link{



						left:0px !important;



						right:0px !important;



						top:0px !important;



						margin:auto !important;



					}



				}



				</style>



			<?php



			



		}elseif($nagish_logo_pos_mob == "topright"){



		



			?>



				<style>



				@media only screen and (max-width:767px){



					button.aicon_link{



						left:auto !important;



						right:0px !important;



						top:0px !important;



						



					}



				}



				</style>



			<?php



			



		}elseif($nagish_logo_pos_mob == "leftcenter"){



			



			?>



				<style>



				@media only screen and (max-width:767px){



					button.aicon_link{



						left:0px !important;



						right:auto !important;



						margin:auto !important;



						top:0px !important;



						bottom:0px !important;



						



					}



				}



				</style>



			<?php



			



		}elseif($nagish_logo_pos_mob == "rightcenter"){



			



			?>



				<style>



				@media only screen and (max-width:767px){



					button.aicon_link{



						left:auto !important;



						right:0px !important;



						margin:auto !important;



						top:0px !important;



						bottom:0px !important;



						



					}



				}



				</style>



			<?php



			



		}elseif($nagish_logo_pos_mob == "bottomleft"){



			



			?>



				<style>



				@media only screen and (max-width:767px){



					button.aicon_link{



						left:0px !important;



						right:auto !important;



						margin:auto !important;



						top:auto !important;



						bottom:0px !important;



						



					}



				}



				</style>



			<?php



			



		}elseif($nagish_logo_pos_mob == "bottomcenter"){



			



			?>



				<style>



					@media only screen and (max-width:767px){



						button.aicon_link{



							left:0px !important;



							right:0px !important;



							margin:auto !important;



							top:auto !important;



							bottom:0px !important;



							



						}



					}



				</style>



			<?php



			



		}elseif($nagish_logo_pos_mob == "bottomright"){



			



			?>



				<style>



					@media only screen and (max-width:767px){



						button.aicon_link{



							left:auto !important;



							right:0px !important;



							margin:auto !important;



							top:auto !important;



							bottom:0px !important;



							



						}



					}



				</style>



			<?php



			



		}else{



			



			



		}



		



		



		if($nagish_hopos_mob == "left" && $nagish_logo_pos_mob != "topcenter" && $nagish_logo_pos_mob != "bottomcenter"){



			



			?>



			<style>



				@media only screen and (max-width:767px){



					button.aicon_link{



						



						margin-left:<?php echo $nagish_hopxl_mob; ?>px!important;



					}



				}



				</style>



			<?php



			



		}elseif($nagish_hopos_mob == "right" && $nagish_logo_pos_mob != "topcenter" && $nagish_logo_pos_mob != "bottomcenter"){



			



			?>



			<style>	



				@media only screen and (max-width:767px){



					button.aicon_link{



						



						margin-right:<?php echo $nagish_hopxl_mob; ?>px!important;



					}



				}



				</style>



			<?php



		}else{



			



		}



		if($nagish_vepos_mob == "top" && $nagish_logo_pos_mob != "leftcenter" && $nagish_logo_pos_mob != "rightcenter"){



			?>



			<style>



				@media only screen and (max-width:767px){



					button.aicon_link{



						



						margin-top:<?php echo $nagish_vepxl_mob; ?>px!important;



					}



				}



				</style>



			<?php



			



		}elseif($nagish_vepos_mob == "bottom" && $nagish_logo_pos_mob != "leftcenter" && $nagish_logo_pos_mob != "rightcenter"){



			?>



			<style>



				@media only screen and (max-width:767px){



					button.aicon_link{



						



						margin-bottom:<?php echo $nagish_vepxl_mob; ?>px!important;



					}



				}



				</style>



			<?php



			



		}else{



			



		}



	}



	



	



	if($wne_hide_on_mobile == 1){



		



		?>



		<style>



			@media only screen and (max-width:767px){



				



				.aicon_link{display:none !important}



			}



		</style>



		<?php



	}



	



	if(!empty($shape_type_mob)){



		if($shape_type_mob=="sqaure" && $button_image != "custom_icon"){



			?>



			<style>



				@media only screen and (max-width:767px){



					button.aicon_link{



						



						border-radius:0px !important



					}



					}



				</style>



			<?php



		}



		if($shape_type_mob=="sqaure_corner" && $button_image != "custom_icon"){



			?>



			<style>



				@media only screen and (max-width:767px){



					button.aicon_link{



						



						border-radius:10px !important



					}



					}



				</style>



			<?php



		}



		



		if($shape_type_mob=="cricle" && $button_image != "custom_icon"){



			?>



			<style>



				@media only screen and (max-width:767px){



					button.aicon_link{



						



						border-radius:100%!important



					}



					}



				</style>



			<?php



		}



		if($shape_type_mob=="half_left" && $button_image != "custom_icon"){



			?>



			<style>



				@media only screen and (max-width:767px){



					button.aicon_link{



					



						border-radius:80px 0px 0px 80px!important



					}



					}



				</style>



			<?php



		}



		if($shape_type_mob=="half_right" && $button_image != "custom_icon"){



			?>



			<style>



				@media only screen and (max-width:767px){



					button.aicon_link{



						



						border-radius:0px 80px 80px 0px!important



					}



					}



				</style>



			<?php



		}



	}