/**
 * @file    css/_tmpl-header.css
 * @brief   Header stylesheet.
 *
 * @ingroup BLNG_CSS
 */

/**
 * Table of Contents
 *
 * 1.0 - Header
 *   1.1 - Site Header
 *   1.2 - Site Header Media Queries
 */

/*===========================================================================*/
/* 1.0 Header                                                                */
/*===========================================================================*/
/**
 * 1.1 - Site Header
 */
#blng-site-header {
  width: 100%;
  background-color: var(--blng-main-background);
}

#blng-site-header .top {
  margin: 16px 40px;
  width: calc(100% - 80px);
  display: flex;
  flex-direction: row;
  justify-content: space-between;
  align-items: center;
  color: black;
}

#blng-site-header .top .logo {
  max-width: 430px;
  min-width: 360px;
  width: 30.5%;
}

#blng-site-header .top .social-search {
  display: flex;
  flex-direction: column;
  justify-content: space-evenly;
  min-width: 250px;
}

#blng-site-header .top .social-search .search {
  display: block;
  width: 100%;
}

/**
 * 1.2 - Site Header Media Queries
 */
@media screen and (max-width: 1023px) {
  #blng-site-header .top {
    width: calc(100% - 40px);
    margin: 14px 20px 20px;
    flex-direction: column;
  }

  #blng-site-header .top .logo {
    max-width: 360px;
    min-width: initial;
    width: 100%;
  }

  #blng-site-header .top .social-search .search {
    display: none;
  }
}