﻿#menu {
  display: table;
  background-color: #322831;
  height: 8rem;
  /*margin-right: -0.1rem;*/
  width: 100%;
}
#menu .menu-row {
  display: table-row;
}
#menu .menu-row > div {
  display: table-cell;
}
#menu .menu-row div:nth-child(1) {
  width: 8.4rem;
  vertical-align: middle;
  text-align: center;
}
#menu .menu-row div:nth-child(2) {
  width: 14rem;
  padding-top: 1rem;
}
#menu .menu-row div:nth-child(3) {
  width: 39.9rem;
  vertical-align: middle;
  text-align: center;
}
#menu .menu-row div:nth-child(4) {
  width: 9.7rem;
}
#menu .menu-row div:nth-child(5) {
  width: 4rem;
  vertical-align: middle;
  text-align: center;
}
#menu .menu-row div:nth-child(6) {
  width: 21.2rem;
  vertical-align: middle;
}
#menu .menu-row div:nth-child(7) {
  width: 9.8rem;
}
#menu .menu-row div:nth-child(8) {
  width: 7.4rem;
  text-align: center;
  vertical-align: middle;
}
#menu .menu-row img.menu {
  width: 4rem;
  height: 4rem;
  max-width: 40px;
  max-height: 40px;
}
#menu .menu-row img.logo {
  position: absolute;
  width: 11.4rem;
  height: 11.4rem;
  max-height: 9rem;
  max-width: 9rem;
  z-index: 9999;
}
#menu .menu-row div.not-mobile span.logo {
  text-transform: uppercase;
  color: #FFF;
}
#menu .menu-row span.issue {
  padding-left: 1rem;
  padding-right: 1rem;
  color: #FFF;
}
#menu .menu-row div.not-mobile img.magazine {
  box-shadow: #000000 0 0 10px;
  background-color: #000;
  padding: 8px;
  padding-top: 0;
  border: 1px solid #fff;
  border-top: 0;
  width: 100%;
  max-height: 9rem;
  max-width: 8rem;
  height: auto;
  position: absolute;
  z-index: 9999;
  margin-left: 1%;
}
#menu #right-menu img {
  background-image: url('/Content/2015/Menu-Edicoes.png');
  width: 40px;
  height: 40px;
}
#menu #right-menu:hover img,
#menu #right-menu:active img {
  background-image: url('/Content/2015/Menu-Edicoes-Hover.png');
}
#menu .facebook img {
  background-image: url('/Content/2015/Menu-Facebook.png');
  width: 40px;
  height: 40px;
}
#menu .facebook:hover img,
#menu .facebook:active img {
  background-image: url('/Content/2015/Menu-Facebook-Hover.png');
}
#menu .twitter img {
  background-image: url('/Content/2015/Menu-Twitter.png');
  width: 40px;
  height: 40px;
}
#menu .twitter:hover img,
#menu .twitter:active img {
  background-image: url('/Content/2015/Menu-Twitter-Hover.png');
}
#menu .search .image {
  background-image: url('/Content/2015/Menu-Search.png');
  width: 40px;
  height: 40px;
}
#menu .search:hover .image,
#menu .search:active .image,
#menu .search-box.expanded .image {
  background-image: url('/Content/2015/Menu-Search-Hover.png');
}
#menu .search-box {
  position: relative;
}
#menu .search-box form {
  display: inline-block;
}
#menu .search-box input {
  background-color: #fff;
  border-radius: 8px;
  height: 30px;
  border: 0;
  padding: 5px;
  position: absolute;
  display: none;
  width: 0;
  transition: 0.3s;
}
#menu .search-box button {
  width: 0;
  height: 0;
  visibility: hidden;
  position: absolute;
}
#menu .search-box.expanded form {
  position: relative;
  width: 100%;
  height: 40px;
}
#menu .search-box.expanded input {
  display: block;
  left: -100px;
  width: 140px;
}
#menu .search-box.expanded a.search {
  z-index: 1000;
  position: relative;
  right: 0;
}
/* estilos para o campo de busca */
.search-column {
  position: relative;
}
.search.expanded .input-group {
  position: absolute;
  top: 20px;
  right: 0;
}
.search .busca {
  display: none;
}
.search .image {
  vertical-align: middle;
  float: right;
  border: 0;
  outline: none;
}
.search .image:active {
  border: 0;
  outline: none;
}
@media (max-width: 767px) {
  #menu .menu-row div:nth-child(2) {
    width: 14rem;
    padding-top: 2px;
  }
  #menu .menu-row a {
    display: inline-block;
  }
  /* estilos para o campo de busca */
  .search.expanded .input-group {
    position: absolute;
    top: 0;
    right: 0;
  }
  .search.expanded .input-group,
  .search input.busca {
    max-width: 170px;
    z-index: 999999;
  }
}