<!-- search template -->
<?php if (get_theme_mod('menu_style','on')=='on') { ?>  
<div class="contain">
<?php } else { ?>
<div class="contain col-center">
<?php } ?>
<form role="search" method="get" id="searchform" action="<?php echo esc_url(home_url( '/' )); ?>" class="searchbox" >
        <input type="search" name="s" id="s" class="searchbox-input" onkeyup="buttonUp();" required>
        <input class="searchbox-submit" type="submit">
        <span class="searchbox-icon"><i class="fa fa-search" aria-hidden="true"></i></span>
 </form>
 </div>