/*
*
Search CSS
*/

.search-toggle, .site-search .button, header .site-search .button:not(.text){
    display: inline-block;
    width: 40px;
    height: 30px;
    background: url(search.svg) no-repeat center!important;
    background-size: 22px!important;
    margin: 0;
    border: 0!important;
    min-width: 10px;
    border-radius: 0!important;
    padding: 0!important;
    position: relative;
    z-index: 9999;
    font-size: 0!important;
}
.search-toggle{
  top: -2px;
}
.site-search .search-form .search-button{
  width: 100%!important;
}
.search-toggle:after, .site-search .button:after{
	content: none!important;
}
.search-toggle:hover, .site-search .button:hover, .untoggle-search:hover{
  cursor: pointer;
}
.site-search{
  position: absolute;
  right: 0;
  opacity: 0;
  top: 4px;
  width: 25%;
  transition: all 0.5s ease-in-out;
}
.site-search.show{
  right: 0;
  opacity: 1;
  width: 100%;
}
.site-search label{
  display: none;
}

.site-search .search-field{
  width: calc(100% - 40px);
  background-color: transparent;
  border: 0;
  border-bottom: 1px solid var(--navy_blue);
  border-radius: 0!important;
  color: var(--navy_blue)!important;
  padding: 7px 15px!important;
  font-size: 16px;
}
.site-search .search-field::-webkit-input-placeholder { /* Edge */
  color: #FFF;
}
.site-search .search-field:-ms-input-placeholder { /* Internet Explorer 10-11 */
  color: #FFF;
}
.site-search .search-field::placeholder {
  color: #FFF;
}
header.white .site-search .search-field::-webkit-input-placeholder { /* Edge */
  color: var(--blue);
}
header.white .site-search .search-field:-ms-input-placeholder { /* Internet Explorer 10-11 */
  color: var(--blue);
}
header.white .site-search .search-field::placeholder {
  color: var(--blue);
}
.site-search .button{
	margin-left: 0;
	margin-top: 11px;
}
.site-search fieldset{
	border: 0!important;
	padding: 0!important;
	margin: 0!important;
}
.site-search fieldset:first-child{
  width: calc(100% - 30px);
  float: left;
}
.site-search fieldset:last-child{
  width: 30px;
  float: right;
}
.site-search form{
  width: calc(100% - 40px);
  float: left;
}
.untoggle-search {
  position: absolute;
  background-size: contain;
  /*background: url('close.svg') no-repeat center;*/
  right: 7px;
  top: 5px;
  width: 25px;
  height: 25px;
  float: right;
  z-index: 99999;
  background: #fff;
}
header.blue .untoggle-search{
  background: var(--navy_blue);
}
.untoggle-search:before, .untoggle-search:after{
  content: '';
  background: var(--navy_blue);
  display: block;
  width: 25px;
  height: 3px;
  border-radius: 4px;
  margin: 0;
  position: absolute;
}
.untoggle-search:before{
  bottom: calc(50% - 3px);
  right: 0; 
  -webkit-transform: rotate(-45deg);
  -ms-transform: rotate(-45deg);
  -o-transform: rotate(-45deg);
  transform: rotate(-45deg);
  -webkit-transition: bottom .2s,-webkit-transform .2s .2s;
  -o-transition: bottom .2s,-o-transform .2s .2s;
}
.untoggle-search:after{
  top: 50%;
  right: 0;
  -webkit-transform: rotate(45deg);
  -ms-transform: rotate(45deg);
  -o-transform: rotate(45deg);
  transform: rotate(45deg);
  -webkit-transition: top .2s,-webkit-transform .2s .2s;
  -o-transition: top .2s,-o-transform .2s .2s;
}

@media screen and (max-width: 991px){
  .site-search fieldset:first-child{
    width: calc(100% - 50px);
  }
  .site-search fieldset:last-child{
    width: 50px!important;
  }
  .search-toggle, .site-search .button, header .site-search .button:not(.text){
    background-position: center 11px!important;
  }
  header .site-search .button:not(.text), .site-search input[type="submit"], .site-search .button{
    background-color: var(--light_blue)!important;
    filter: unset;
    border-top-right-radius: 5px!important;
    border-bottom-right-radius: 5px!important;
  }
}
