#searchform{
    position: relative;
    height: 55px;
    max-width: 55px;
    width: 100%;
    margin: 0 40px;
    border-radius: 6px;
    background-color: #fff;
    transition: all 0.6s cubic-bezier(0.68, -0.55, 0.265, 1.55);
}
#searchform.open{
    max-width: 276px;
    padding: 0 15px 0 65px;
  }
  form#searchform.open::after {
    content: "";
    height: 1px;
    width: 90%;
    position: absolute;
    background: #2A337F;
  }
  .search-input{
    position: relative;
    outline: none;
    border: none;
    height: 100%;
    width: 100%;
    border-radius: 6px;
    font-size: 16px;
    font-weight: 400;
    color: #333;
    background-color: #fff;
    border: 0 !important;
    outline: 0 !important;
  }
  .search-input:focus{
    outline: 0 !important;
    box-shadow: none !important;
    border: 0 !important;
  }
  .masthead-search-toggle{
    display: flex;
    align-items: center;
    position: absolute;
    height: 100%;
    top: 0;
    left: 0;
    width: 60px;
    border-radius: 6px;
    display: flex;
    justify-content: center;
    background-color: #fdfdfd;
    cursor: pointer;
  }
  .masthead-search-toggle i{
    position: absolute;
    top: 50%;
    font-size: 30px;
    transition: all 0.6s cubic-bezier(0.68, -0.55, 0.265, 1.55);
    color: #2A337F;
    transform: translateY(-50%) rotate(90deg);
  }
  .masthead-search-toggle img{
    height: 30px;
    width: 30px;
  }
  #searchform.open.masthead-search-toggle i{
    transform: translateY(-50%) rotate(0);
  }

  @media (max-width: 467.99px){
    #searchform.open{
        max-width: 224px;
    }
    #searchform{
        margin-right: 0;
    }
  }
  @media (min-width: 468px) and (max-width: 767.99px){

    #searchform{
        margin-right: 0;
    }
  }