div#wrapper {
  width: 90%;
  max-width: 1200px;
  margin: 60px auto 40px;
  border-radius: 17px;
}

div#container {
  grid-template-columns: 240px 1fr;
  height: 740px;
  max-height: calc(100vh - 120px);
}

div#nav {
  display: grid;
  border-radius: 17px 0 0 17px;
  top: 0;
  align-content: start;
}

div#main {
  margin: 40px;
}

div#main.no_scrollbar_needed {
  margin-right: 0;
}

div#main.scrollbar_adapted {
  margin-right: -20px;
}

div#main > :first-child.scrollbar_adapted {
  padding-right: 40px;
}

div#title {
  padding: 40px 0 10px 30px;
}

a.yos_buttons {
  width: calc(100% - 40px);
  height: 52px;
  line-height: 56px;
  padding-left: 38px;
  border-left-width: 2px;
}

div.submenu {
  padding-left: 60px;
  border-left: 2px solid var(--verde);
}

a.submenu_activo::before {
  margin-left: -20px;
  font-size: 32px;
  width: 20px;
}

#menu_tel, #submenu_tel {
  display: none;
}

@keyframes aparece_bg_pic {
  0% {opacity: 0; right: 120px; bottom: -28px;}
  70% {right: 80px; bottom: -12px;}
  100% {opacity: 0.7;}
}

#bg_pic {
  position: absolute;
  width: 366px;
  bottom: -12px;
  opacity: 0.7;
  clip: rect(0px,366px,540px,0px);
  animation: aparece_bg_pic 3s ease-out;
  right: 80px;
}

@media only screen and (max-width: 1200px) {
  #bg_pic {
    display: none;    
  }
  #bg_pic.bg_pic_sec_home {
    display: initial;
  }
}

@keyframes flecha_entra {
  0% {margin: -200px 0 0 300px;}
  50% {margin: -60px 0 0 200px;}
  100% {margin: -10px 0 0 -60px;}
}

#flecha_grande {
  margin: -10px 0 0 -60px;
  transform: scaleX(-1) rotate(-8deg);
  position: fixed;
  width: 260px;
  height: auto;
  animation: flecha_entra 1s ease-out;
}

::-webkit-scrollbar {
  width: 20px;
}

::-webkit-scrollbar-thumb {
  border-radius: 0 21px 21px 0;
  background-color: #4a8a163b;
  border: 5px solid #191e20;
  border-left: none;
}

::-webkit-scrollbar-track {
  background-color: #283235;
  border-radius: 0 17px 17px 0;
}

::-moz-scrollbar {
  width: 20px;
}

::-moz-scrollbar-thumb {
  border-radius: 0 21px 21px 0;
  background-color: #4a8a163b;
  border: 5px solid #191e20;
  border-left: none;
}

::-moz-scrollbar-track {
  background-color: #283235;
  border-radius: 0 17px 17px 0;
}

::-ms-thumb {
  border-radius: 0 21px 21px 0;
  background-color: #4a8a163b;
  border: 5px solid #191e20;
  border-left: none;
}

[onclick] {
  cursor: pointer;
}

footer#site_footer {
  position: absolute;
  bottom: 0;
  left: 0;
  width: 240px;
  background-color: var(--gris_nav);
  border-radius: 0 0 0 17px;
  padding: 20px 0;
}

#footer_contact {
  font-size: 14px;
}
