
.navigation.background {
  background-color: rgb(54, 0, 0);
  transition: 0.5s;
}

.navigation.background nav ul li a:hover {
  border: none;
}

#nav-icon {
  display: none;
}

.navigation.background ~ .drop-down {
  transition: 0.3s;
  top: 48.4px;
}

.drop-down {
  background-color: rgba(255,255,255,0.98);
  z-index: 998;
  width: 100%;
  position: fixed;
  display: none;
  box-shadow: 0px 10px 50px -17px black;
  top: 48.4px;
  transition: 0.3s;
  overflow: auto;
}

.drop-down ul {
  margin: 0;
  text-align: center;
  list-style: none;
  padding: 0;
}

.drop-down ul li {
    border-bottom: 1px solid black;
}

.drop-down ul li a {
  padding: 12px;
  text-align: left;
  display: block;
  color: black;
  text-decoration: none;
  width: 100%;
}

.drop-down ul a:hover {
  background-color: #8b8b8b;
}

.drop-down.show {
  display: grid;
}

.navigation.show-white {
  background-color: white!important;
  background-image: none;
  height: 50px;
}

.navigation.show-white .title p a {
  color: black;
}

.navigation.show-white #nav-icon span {
  background: black;
}

#nav-icon {
  opacity: 1;
  width: 30px;
  height: 15px;
  margin-top: 8px;
  -webkit-transform: rotate(0deg);
  -moz-transform: rotate(0deg);
  -o-transform: rotate(0deg);
  transform: rotate(0deg);
  -webkit-transition: .5s ease-in-out;
  -moz-transition: .5s ease-in-out;
  -o-transition: .5s ease-in-out;
  transition: .5s ease-in-out;
  cursor: pointer;
}

#nav-icon span {
  display: block;
  position: absolute;
  height: 1px;
  width: 100%;
  background: white;
  box-shadow: 2px 2px 0px brown;
  opacity: 1;
  left: 0;
  -webkit-transform: rotate(0deg);
  -moz-transform: rotate(0deg);
  -o-transform: rotate(0deg);
  transform: rotate(0deg);
  -webkit-transition: .25s ease-in-out;
  -moz-transition: .25s ease-in-out;
  -o-transition: .25s ease-in-out;
  transition: .25s ease-in-out;
}

/* Sandwich */

#nav-icon span:nth-child(1) {
  top: 0px;
}

#nav-icon span:nth-child(2),#nav-icon span:nth-child(3) {
  top: 7.5px;
}

#nav-icon span:nth-child(4) {
  top: 15px;
}

#nav-icon.open span:nth-child(1) {
  top: 18px;
  width: 0%;
  left: 50%;
}

#nav-icon.open span:nth-child(2) {
  -webkit-transform: rotate(45deg);
  -moz-transform: rotate(45deg);
  -o-transform: rotate(45deg);
  transform: rotate(45deg);
}

#nav-icon.open span:nth-child(3) {
  -webkit-transform: rotate(-45deg);
  -moz-transform: rotate(-45deg);
  -o-transform: rotate(-45deg);
  transform: rotate(-45deg);
}

#nav-icon.open span:nth-child(4) {
  top: 18px;
  width: 0%;
  left: 50%;
}

.show-more {
  display: none;
  transition: 0.4s;
  width: 100px;
}

@media only screen and (max-width: 992px) {

h1 {
    text-shadow: 1px 1px 0px brown;
}

.icons-nav {
    width: auto;
    margin: auto;
}

.icons-nav-wrapper {
    width: 30px;
    display: flex;
    margin-right: 20px;
}

.title {
    margin: auto;
    text-shadow: 2px 2px 0px brown;
}

#search {
    transition: 0.2s;
    width: 0px;
    padding-right: 23px;
    border: 1px solid white;
    border-radius: 20px;
    z-index: 3;
    background:none;
}

#search-container {
    margin-right: 20px;
}

#search:focus {
    background-color: #fcfcf4;
    /* z-index: 1;
    margin: auto;
    margin-right: 35px; */
}

#search-submit {
    border: none;
    width: 35px;
    position: absolute;
    top: 8px;
    right: 20px;
    z-index: 2 !important;
    border-radius: 20px;
    background: none;
}

#search-submit:hover {
    border: 1px solid white;
}

#search.black-search {
    color: black !important;
    border: 1px solid black ;
}

#sub-menu {
  display: none;
  width: 100%;
  max-height: 0;
  overflow: hidden;
  transition: max-height 0.4s ease-out;
  background: #f2f2f2;
}

#sub-menu ul li {
    border-bottom: none;
}

#sub-menu ul li a {
    display: flex;
}

#up {
  display: none;
}

nav {
  display: none;
}

#nav-icon {
  display: block;
  margin-left: 20px;
  margin-right: auto;
  margin-bottom: auto;
  margin-top: auto;
}

.navigation {
  height: 50px;
}

.daily-quote {
  height: 53vh;

}

.dqinner {
  width: 90%;
}

#autor {
    font-size: 17px;
}

#daily_before {
    font-size: 14px !important;
}
/*
#previous {
    width: auto;
    top: 59vh;
    right: 0;
    background-image: linear-gradient(to left, #8e1404, rgba(0,0,0,0));
}

#previous p {
    font-size: 18px;
    padding: 4px;
} */

.copy-dq-wrapper {
    top: 70vh;
    letter-spacing: 1.5px;
}

.cover {
    height: 74vh;
}

/* ------------------------------ RANDOM -------------------------- */

.random-quote {
  width: 90%;
}

.random-quote p, .random-quote p.inactive {
  font-size: 32px;
  box-shadow: none;
  border: 2px solid #fcfcf4;
  background-color: rgb(242, 242, 190);
}

/* ------------------------------ UPLOAD ----------------------- */

.upload {
  max-height: 0;
  overflow: hidden;
  transition: max-height 0.4s ease-out;
}

.upload button {
    margin-top: 15px;
}

.show-more {
  display: block;
  margin: auto;
}

.show-more p {
  text-align: center;
  margin-top: 15px;
  margin-bottom: 0;
  font-weight: bold;
}

.show-more img {
  display: block !important;
  margin: auto;
}

.upload-form {
  display: grid;
  padding: 0;
  padding-top: 15px;
  padding-bottom: 15px;
}

.upload-form div {
  text-align: center;
}

.sector h2 {
  border-radius: 0;
}

.genre-title {
    font-size: 20px;
}

.genre {
    margin-top: 35px;
    box-shadow: 0px 0px 20px -16px black;
}

.no-results div {
    box-shadow: 0px 0px 25px -9px !important;
}

.upload input {
  width: 100%;
}

.upload textarea {
  height: 108px;
}

.upload select {
  width: 100%;
}

/* ------------------------------- CONTACTS ------------------------ */

.contacts {
  display: grid;
}

.left-contacts {
  width: 100% !important;
}

.map {
  margin: auto;
  padding: 20px;
  width: 80% !important;
}

iframe {
  position: relative;
  width: 100%;
}

}
