<a class="d-none d-xl-block search-link no-transition-link" href="#search">
  <i class="fa fa-search fa-lg"></i>
</a>



<!-- Search Form -->
<div id="search">
	<span class="close">X</span>
	<form role="search" id="searchform" action="<?php echo esc_url( home_url( '/' ) );?>" method="get">
    <span class="screen-reader-text">Search for...</span>
    <input value="" name="s" type="search" placeholder="The search..."/>
    <button type="submit"><i class="fa fa-search fa-lg fa-flip-horizontal"></i></button>
	</form>
</div>

<div class="d-block d-xl-none weather text-center">
  
  <span class="weather-temperature"></span>
  <img class="weather-icon" alt="Weather Icon">
</div>



<style media="screen">

/* Search Style */
#search {
    position: fixed;
    top: 0px;
    left: 0px;
    width: 100%;
    height: 100%;
    background-color: rgba(0, 0, 0, 0.85);
    -webkit-transition: all 0.5s ease-in-out;
       -moz-transition: all 0.5s ease-in-out;
        -ms-transition: all 0.5s ease-in-out;
	       -o-transition: all 0.5s ease-in-out;
            transition: all 0.5s ease-in-out;
    -webkit-transform: translate(0px, -100%) scale(0, 0);
	     -moz-transform: translate(0px, -100%) scale(0, 0);
	      -ms-transform: translate(0px, -100%) scale(0, 0);
         -o-transform: translate(0px, -100%) scale(0, 0);
	          transform: translate(0px, -100%) scale(0, 0);
    opacity: 0;
    display: none;
}

#search.open {
    -webkit-transform: translate(0px, 0px) scale(1, 1);
       -moz-transform: translate(0px, 0px) scale(1, 1);
    	  -ms-transform: translate(0px, 0px) scale(1, 1);
	       -o-transform: translate(0px, 0px) scale(1, 1);
	           transform: translate(0px, 0px) scale(1, 1);
    opacity: 1;
    z-index: 106;
    display: block;
}

#search input[type="search"] {
    position: absolute;
    top: 50%;
    left: 0;
    margin-top: -51px;
    width: 60%;
    margin-left: 20%;
    color: rgb(255, 255, 255);
  	background: transparent;
  	border-top: 1px solid rgba(255, 255, 255, .8);
  	border-bottom: 2px solid rgba(255, 255, 255, .5);
  	border-left: 0px solid transparent;
  	border-right: 0px solid transparent;
    font-size: 40px;
  	font-family: 'Montserrat', sans-serif;
    font-weight: 300;
    text-align: center;
    outline: none;
  	padding: 10px;
}

button[type="submit"] {
    border: none;
    position: absolute;
    top: 50%;
    right: 20%;
    margin-top: -51px;
    width: 60%
    left: auto;
    color: rgb(255, 255, 255);
  	background: transparent;

    font-size: 40px;
  	padding: 10px;
}

#search .close {
    position: fixed;
    top: 15px;
    right: 15px;
	  opacity: 1;
	  font-size: 27px;
  	color: #fff;
}

#search .close:hover{
  color: #FC2121;
  cursor: pointer;
}

</style>
