/* -------------------------------------------------------------------------  */
/*  ------------- Global Styles ------------- */
/* -------------------------------------------------------------------------  */
* {
  padding: 0px;
  margin: 0px;
}

body {
  /* display: grid; */
  font-family: "Open sans", sans-serif;
  height: 100vh;
  width: 100vw;
  -webkit-box-sizing: border-box;
  box-sizing: border-box;
  background-color: white;
  overflow-x: hidden;
}

a {
  text-decoration: none;
  text-transform: none;
  color: white;
  font-weight: 400;
  font-size: 17px;
  font-family: "Ubuntu", sans-serif;
  width: 100%;
  height: 100%;
  text-align: center;
  display: block;
}

p {
  font-size: 20px;
  color: #0a214eeb;
}

li {
  list-style: none;
}

/* -------------------------------------------------------------------------  */
/*  ------------- Header Links Styles ------------- */
/* -------------------------------------------------------------------------  */
#toggle:checked + .header-container .res {
  display: block;
}

.header-res {
  display: none;
}

.header-li {
  height: 100%;
  width: 100%;
  /* position: relative;
  top: 40%; */
}

.header-li a {
  height: 75px;
  line-height: 78px;
}

.header-container {
  display: grid;
  grid-template-rows: 1fr;
  grid-template-columns: 0.3fr repeat(7, 1fr);
  align-items: center;
  justify-items: center;
  box-sizing: border-box;
  background-color: #2873b6;
  width: 100%;
  height: auto;
  -webkit-box-shadow: 0px 0px 5px 0px #425896;
  box-shadow: 0px 0px 5px 0px #425896;
  position: relative;
  z-index: 1;
}

.header-container a {
  transition-duration: 1s;
}

.header-container .res a:hover {
  transition-duration: 0.7s;
  color: #2873b6;
  transition-property: background-color, color;
  transition-timing-function: ease;
  background-color: lightblue;
}

.header-space {
  width: 100%;
  background: white;
  height: 100%;
}

.icon-farcorpe-container {
  height: 100%;
  width: 100%;
  max-height: 75px;
  transform: skew(-12deg, 0deg);
  -webkit-transform: skew(-12deg, 0deg);
  -moz-transform: skew(-12deg, 0deg);
  -ms-transform: skew(-12deg, 0deg);
  transform-origin: 0 35%;
  background: #fff;
  background-size: contain;
  content: "";
  position: static;
  top: 0;
  left: -8;
  z-index: 1;
  border-right: 20px solid white;
}

.icon-farcorpe-container::after {
  background: #bc0622;
  height: 100%;
  width: 7px;
  content: "";
  position: absolute;
  top: 0px;
  right: -27px;
  z-index: 1;
  transform: skew(-12deg, 0deg);
  -webkit-transform: skew(1deg, 0deg);
  -moz-transform: skew(1deg, 0deg);
  -ms-transform: skew(1deg, 0deg);
  transform-origin: 39px 249%;
}

.icon-farcorpe-container a {
  width: 100%;
  height: 100%;
}

.icon-farcorpe-container a img {
  width: 160px;
  transform: skew(12deg, 0deg);
  -webkit-transform: skew(12deg, 0deg);
  -moz-transform: skew(12deg, 0deg);
  -ms-transform: skew(12deg, 0deg);
  transform-origin: 0px 0%;
  position: relative;
  height: 36px;
  top: 15px;
}

label {
  margin: 0 40px 0 0;
  font-size: 1.4em;
  line-height: 70px;
  display: none;
  color: #7289c2;
}

#toggle {
  display: none;
}

.home-link {
  grid-column-start: 3;
  grid-column-end: 4;
}

.about-us-link {
  grid-column-start: 4;
  grid-column-end: 5;
}

.ultrab-link {
  grid-column-start: 5;
  grid-column-end: 6;
}

.medicaments-link {
  grid-column-start: 6;
  grid-column-end: 7;
}

.active-ingredients-link {
  grid-column-start: 7;
  grid-column-end: 8;
}

.contact-link {
  grid-column-start: 8;
  grid-column-end: 9;
}

/* -------------------------------------------------------------------------  */
/* Hero styles */
/* -------------------------------------------------------------------------  */
.hero-container {
  height: auto;
}

.hero {
  display: grid;
  grid-template-columns: 20% 80%;
  height: 100%;
}

.hero .menu ol {
  color: #0a214eeb;
}

.hero .menu a {
  color: #0a214eeb;
  text-align: center;
  background-color: white;
}

.hero h2 {
  padding-top: 50px;
  padding-bottom: 50px;
  grid-area: 1/3/2/4;
  font-size: 35px;
  color: #2873b6;
}

.hero h4,
h5 {
  color: #0a214eeb;
}

.hero-product-container {
  grid-column: 2/3;
  grid-row: 1/5;
  padding-left: 10%;
}

.menu {
  height: 100%;
  grid-column: 1/2;
  grid-row: 1/5;
  display: grid;
  grid-template-columns: 1fr;
  grid-template-rows: repeat(10, 1fr);
  z-index: 0;
}

.menu-responsive {
  display: none;
}

.item-menu {
  height: 100%;
  border: 1px #ccdff1 solid;
  border-right: 0px white solid;
  line-height: 389%;
}

@media screen and (min-width: 1050px) {
  .item-menu ol:hover {
    color: white;
    background-color: #2873b6;
    transition-property: all;
    transition-timing-function: ease;
  }

  .item-menu a:hover {
    color: white;
    background-color: #2873b6;
    border-top: 1px solid #2873b6;
    border-bottom: 1px solid #2873b6;
    transition-property: all;
    transition-timing-function: ease;
  }

  .item-menu a {
    height: 100%;
    border: 1px #ccdff1 solid;
    border-right: 0px white solid;
  }
}

.item-menu a {
  transition-duration: 350ms;
}

.item-menu ol {
  transition-duration: 350ms;
  height: inherit;
  text-align: center;
}

.item-menu-medicaments {
  align-self: center;
}

/* Analgesic medications */
#item-menu-analgesicos {
  position: relative;
}

#item-menu-list-button {
  display: none;
}

@media screen and (min-width: 1050px) {
  #item-menu-analgesicos:hover > #item-submenu-medicaments-analgesicos {
    display: block;
    left: 100%;
    height: 100%;
    width: 100%;
    top: 0%;
    text-align: center;
  }

  #item-submenu-medicaments-analgesicos:hover {
    display: block;
    left: 100%;
    height: 100%;
    width: 100%;
    top: 0%;
    text-align: center;
  }
}

#item-submenu-medicaments-analgesicos {
  display: none;
  position: absolute;
}

/* Anestesic medications */
#item-menu-anestesias {
  position: relative;
  grid-template-columns: 1fr;
  grid-template-rows: auto calc(1fr, 4);
}

@media screen and (min-width: 1050px) {
  #item-menu-anestesias:hover > #item-submenu-medicaments-anestesias {
    display: block;
    top: 0%;
    left: 100%;
    height: 100%;
    width: 100%;
    text-align: center;
  }

  #item-submenu-medicaments-anestesias:hover {
    display: block;
    top: 0%;
    left: 100%;
    height: 100%;
    width: 100%;
    text-align: center;
  }
}

#item-submenu-medicaments-anestesias {
  display: none;
  position: absolute;
}

/* Cardiology medications */
#item-menu-cardiologia {
  position: relative;
  grid-template-columns: 1fr;
  grid-template-rows: auto calc(1fr, 3);
}

@media screen and (min-width: 1050px) {
  #item-menu-cardiologia:hover > #item-submenu-medicaments-cardiologia {
    display: block;
    background-color: lightblue;
    top: 0%;
    left: 100%;
    height: 100%;
    width: 100%;
    htmltext-align: center;
  }

  #item-submenu-medicaments-cardiologia:hover {
    display: block;
    background-color: lightblue;
    top: 0%;
    left: 100%;
    height: 100%;
    width: 100%;
    text-align: center;
  }
}

#item-submenu-medicaments-cardiologia {
  display: none;
  position: absolute;
}

/* Gastroenterology medications */
#item-menu-gastro {
  position: relative;
  grid-template-columns: 1fr;
  grid-template-rows: auto calc(2, 1fr);
}

@media screen and (min-width: 1050px) {
  #item-menu-gastro:hover > #item-submenu-medicaments-gastro {
    display: block;
    left: 100%;
    top: 0%;
    height: 100%;
    width: 100%;
    text-align: center;
  }

  #item-submenu-medicaments-gastro:hover {
    display: block;
    left: 100%;
    top: 0%;
    height: 100%;
    width: 100%;
    text-align: center;
  }
}

#item-submenu-medicaments-gastro {
  display: none;
  position: absolute;
}

/* Gynecology medications */
#item-menu-ginecologia {
  position: relative;
  grid-template-columns: 1fr;
  grid-template-rows: auto calc(3, 1fr);
}

@media screen and (min-width: 1050px) {
  #item-menu-ginecologia:hover > #item-submenu-medicaments-ginecologia {
    display: block;
    left: 100%;
    top: 0%;
    height: 100%;
    width: 100%;
    text-align: center;
  }

  #item-submenu-medicaments-ginecologia:hover {
    display: block;
    left: 100%;
    top: 0%;
    height: 100%;
    width: 100%;
    text-align: center;
  }
}

#item-submenu-medicaments-ginecologia {
  display: none;
  position: absolute;
}

#ultrab {
  line-height: 380%;
}

/* Infectius medications */
#item-menu-infecciosa {
  position: relative;
  grid-template-columns: 1fr;
  grid-template-rows: auto calc(5, 1fr);
}

@media screen and (min-width: 1050px) {
  #item-menu-infecciosa:hover > #item-submenu-medicaments-infecciosa {
    display: block;
    left: 100%;
    top: -200%;
    height: 100%;
    width: 100%;
    text-align: center;
  }

  #item-submenu-medicaments-infecciosa:hover {
    display: block;
    left: 100%;
    top: -200%;
    height: 100%;
    width: 100%;
    text-align: center;
  }
}

#item-submenu-medicaments-infecciosa {
  display: none;
  position: absolute;
}

/* Nephrology medications */
#item-menu-nefrologia {
  position: relative;
  grid-template-columns: 1fr;
  grid-template-rows: auto 1fr;
}

@media screen and (min-width: 1050px) {
  #item-menu-nefrologia:hover > #item-submenu-medicaments-nefrologia {
    display: block;
    position: absolute;
    left: 100%;
    top: 0%;
    height: 100%;
    width: 100%;
    text-align: center;
  }

  #item-submenu-medicaments-nefrologia:hover {
    display: block;
    position: absolute;
    left: 100%;
    top: 0%;
    height: 100%;
    width: 100%;
    text-align: center;
  }
}

#item-submenu-medicaments-nefrologia {
  display: none;
  position: absolute;
}

#item-submenu-medicaments-nefrologia a {
  width: 150%;
}

/* Pneumology medications */
#item-menu-neumologia {
  position: relative;
  grid-template-columns: 1fr;
  grid-template-rows: auto 1fr;
}

@media screen and (min-width: 1050px) {
  #item-menu-neumologia:hover > #item-submenu-medicaments-neumologia {
    display: block;
    position: absolute;
    left: 100%;
    top: 0%;
    height: 100%;
    width: 100%;
    text-align: center;
  }

  #item-submenu-medicaments-neumologia:hover {
    display: block;
    position: absolute;
    left: 100%;
    top: 0%;
    height: 100%;
    width: 100%;
    text-align: center;
  }
}

#item-submenu-medicaments-neumologia {
  display: none;
  position: absolute;
}

/* Nutriology medications */
#item-menu-nutriologia {
  position: relative;
  grid-template-columns: 1fr;
  grid-template-rows: auto 1fr;
}

@media screen and (min-width: 1050px) {
  #item-menu-nutriologia:hover > #item-submenu-medicaments-nutriologia {
    display: block;
    top: 0%;
    left: 100%;
    height: 100%;
    width: 100%;
    text-align: center;
  }

  #item-submenu-medicaments-nutriologia:hover {
    display: block;
    top: 0%;
    left: 100%;
    height: 100%;
    width: 100%;
    text-align: center;
  }
}

#item-submenu-medicaments-nutriologia {
  display: none;
  position: absolute;
}

/* Ophthalmic medications */
#item-menu-oftalmica {
  position: relative;
  grid-template-columns: 1fr;
  grid-template-rows: auto calc(4, 1fr);
}

@media screen and (min-width: 1050px) {
  #item-menu-oftalmica:hover > #item-submenu-medicaments-oftalmica {
    display: block;
    left: 100%;
    top: -300%;
    height: 100%;
    width: 100%;
    text-align: center;
  }

  #item-submenu-medicaments-oftalmica:hover {
    display: block;
    left: 100%;
    top: -300%;
    height: 100%;
    width: 100%;
    text-align: center;
  }
}

#item-submenu-medicaments-oftalmica {
  display: none;
  position: absolute;
}

/* Oncology medications */
#item-menu-oncologica {
  position: relative;
  grid-template-columns: 1fr;
  grid-template-rows: auto 1fr 1fr;
}

@media screen and (min-width: 1050px) {
  #item-menu-oncologica:hover > #item-submenu-medicaments-oncologica {
    display: block;
    left: 100%;
    top: -100%;
    height: 100%;
    width: 100%;
    text-align: center;
  }

  #item-submenu-medicaments-oncologica:hover {
    display: block;
    left: 100%;
    top: -100%;
    height: 100%;
    width: 100%;
    text-align: center;
  }
}

#item-submenu-medicaments-oncologica {
  display: none;
  position: absolute;
}

/* global menu styles */
.visible {
  display: grid !important;
  position: static !important;
  text-align: center;
}

.background-click ol {
  color: #62a4de;
  font-size: 1em;
}

.background-click {
  background-color: #2873b6;
  border-top: 1px solid #2873b6;
  border-bottom: 1px solid #2873b6;
}

.background-click:nth-child(odd) {
  color: white;
}

.submenu-responsive {
  color: white;
  border-top: ;
}

.submenu-responsive a {
  color: white;
}

/* Product styles */

.product-image {
  max-width: 100%;
  max-height: 400px;
}

/* -------------------------------------------------------------------------  */
/* Footer styles */
/* -------------------------------------------------------------------------  */
.footer {
  display: grid;
  position: relative;
  grid-template-columns: 4% 46% 46% 4%;
  grid-template-rows: 1fr repeat(4, auto);
  background-color: #bc0622;
  color: white;
  /* #bd1932; */
  -webkit-box-shadow: 0px 0px 13px -5px #545252;
  box-shadow: 0px 0px 13px -5px #545252;
  z-index: 1;
}

.footer .f-contact-info .f-mail-container .f-mail a {
  font-family: "Open sans", sans-serif;
  text-decoration: underline;
  text-transform: none;
  color: white;
  font-weight: 400;
  font-size: 17px;
  width: 100%;
  height: 100%;
  text-align: initial;
  display: initial;
}

.f-barrier-hero {
  grid-area: 1/1/1/5;
  background-color: none;
  padding: 10px;
}

.f-column-left {
  grid-area: 1/1/5/2;
  padding: 10px;
}

.f-title {
  justify-self: center;
  align-self: center;
  grid-column: 2/4;
  padding-top: 1.5%;
  padding-bottom: 1.5%;
}

.f-title h1 {
  font-weight: 600;
  font-size: larger;
}

.f-contact-info {
  grid-area: 2/2/6/4;
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  padding-bottom: 4%;
}

.f-icon {
  display: flex;
  width: 70px;
  height: 55px;
  align-self: center;
  justify-self: self-end;
}

.f-adress-container {
  grid-column: 1/2;
  display: grid;
  grid-template-columns: 30% 70%;
}

.f-address {
  grid-column: 2/3;
  align-self: center;
  padding-top: 5px;
  padding-bottom: 5px;
  font-style: normal;
  font-size: 1em;
}

.f-tel-container {
  grid-column: 2/3;
  display: grid;
  grid-template-columns: 30% 70%;
}

.f-tel {
  grid-column: 2/2;
  align-self: center;
  padding-top: 1%;
  padding-bottom: 3%;
}

.f-mail-container {
  grid-column: 3/4;
  display: grid;
  grid-template-columns: 30% 70%;
}

.f-mail {
  grid-column: 2/2;
  align-self: center;
  padding-top: 1%;
  padding-bottom: 3%;
}

.f-rights {
  grid-area: 7/1/8/5;
  align-self: center;
  justify-self: center;
  font-size: 1em;
  border-top: 1px solid white;
  width: 100%;
  text-align: center;
}

.f-rights a {
  color: white;
  text-decoration: underline;
  font-size: 1em;
  display: initial;
  font-family: "Open sans", sans-serif;
  font-weight: bold;
}

.f-rights a:hover {
  color: lightblue;
}

.footer-google-map {
  grid-area: 6/1/7/5;
  width: 100%;
  height: 400px;
}

/* -------------------------------------------------------------------------  */
/* Media styles */
/* -------------------------------------------------------------------------  */
/* Responsive iPad */
@media screen and (max-width: 1050px) {
  a {
    height: auto;
  }

  ol {
    font-family: "Open sans", sans-serif;
    font-size: 1.5em;
    color: #2873b6;
    text-align: center;
    padding: 1% 0 1% 0;
    cursor: pointer;
    outline: aliceblue;
    outline: 1px solid aliceblue;
  }

  .res {
    border-bottom: 1px solid lightgray;
  }

  .header-res {
    display: grid;
    grid-template-columns: 0.25fr repeat(3, 1fr);
    grid-template-rows: 1fr;
    border-bottom: 1px solid lightgray;
  }

  .icon-farcorpe-res {
    display: grid;
    width: 100%;
    height: 39px;
    grid-column-start: 2;
    grid-column-end: 3;
    grid-row-start: 1;
    grid-row-end: 2;
    color: #222;
    align-self: center;
    padding-bottom: 13.5px;
    min-width: 160px;
    max-width: 200px;
  }

  .header-container {
    display: grid;
    align-items: center;
    justify-items: center;
    box-sizing: border-box;
    background-color: white;
    height: auto;
    -webkit-box-shadow: 0px 0px 0px 0px #fff;
    box-shadow: 0px 0px 0px 0px #fff;
  }

  .header-container a {
    display: block;
    text-align: center;
    text-decoration: none;
    text-decoration-style: none;
    text-transform: none;
    color: #7289c2;
    font-weight: 400;
    font-size: 25px;
    font-family: "Varela Round", sans-serif;
    width: 100%;
    height: 100%;
    margin: 4px;
  }

  .icon-farcorpe-container {
    display: none;
  }

  .icon-farcorpe-container {
    min-width: 140px;
    max-width: 280px;
  }

  label {
    display: block;
    cursor: pointer;
    grid-area: 1/5/1/5;
  }

  .home-link {
    grid-column-start: 1;
    grid-column-end: 9;
    grid-row-start: 2;
    grid-row-end: 3;
    width: 100%;
    height: 100%;
    display: none;
  }

  .about-us-link {
    grid-column-start: 1;
    grid-column-end: 9;
    grid-row-start: 3;
    grid-row-end: 4;
    width: 100%;
    height: 100%;
    display: none;
  }

  .ultrab-link {
    grid-column-start: 1;
    grid-column-end: 9;
    grid-row-start: 5;
    grid-row-end: 6;
    width: 100%;
    height: 100%;
    display: none;
  }

  .medicaments-link {
    grid-column-start: 1;
    grid-column-end: 9;
    grid-row-start: 6;
    grid-row-end: 7;
    width: 100%;
    height: 100%;
    display: none;
  }

  .active-ingredients-link {
    grid-column-start: 1;
    grid-column-end: 9;
    grid-row-start: 7;
    grid-row-end: 8;
    width: 100%;
    height: 100%;
    display: none;
  }

  .contact-link {
    grid-column-start: 1;
    grid-column-end: 9;
    grid-row-start: 8;
    grid-row-end: 9;
    width: 100%;
    height: 100%;
    display: none;
  }

  /* hero */
  .hero {
    grid-template-columns: 10% 90%;
  }
  .hero-container {
    height: auto;
  }

  .menu {
    grid-column: 1/3;
    grid-template-rows: auto;
  }

  .hero .menu a {
    background-color: initial;
    border-bottom: none;
  }

  .hero .menu li ul a {
    color: white;
  }

  .h-icon {
    width: 50px;
    height: 50px;
    position: relative;
    z-index: 0;
    grid-column: 2/3;
    grid-row: 1/2;
  }

  .item-menu {
    height: auto;
    border: none;
  }

  .item-menu ol {
    line-height: normal;
  }

  .menu-list-hidden > li {
    display: none;
  }

  /* #item-menu-oncologica {
    display: grid;
    grid-template-rows: auto 35% 35%;
    border-bottom: 1px solid #ccdff1;
  }

  #item-submenu-medicaments-oncologica {
    grid-column: 1/3;
    grid-row: 2/3;
    left: initial;
    top: initial;
  } */
  .hero-product-container {
    grid-row: 5/11;
  }

  #item-menu-list-button {
    display: block;
    background-color: #2873b6;
  }

  #item-menu-list-button ol {
    color: white;
  }

  #item-submenu-medicaments-nefrologia a {
    width: 100%;
  }

  /* footer */
  .f-title {
    padding-top: 5%;
    padding-bottom: 5%;
    padding-left: 30%;
    justify-self: initial;
  }

  .f-contact-info {
    grid-template-rows: repeat(3, 1fr);
    grid-column: /;
    grid-row: 2/4;
    padding-bottom: 0%;
  }

  .f-icon {
    grid-row: 1/3;
    grid-column: 1/2;
  }

  .f-adress-container {
    grid-column: 1/4;
    grid-row: 1/2;
  }

  .f-address {
    grid-column: 2/3;
    grid-row: 1/3;
    justify-self: flex-start;
  }

  .f-tel-container {
    grid-column: 1/4;
    grid-row: ;
  }

  .f-tel {
    grid-column: 2/3;
    grid-row: 1/3;
    justify-self: flex-start;
  }

  .f-mail-container {
    grid-column: 1/4;
    grid-row: ;
  }

  .f-mail {
    grid-column: 2/3;
    grid-row: 1/3;
    justify-self: flex-start;
  }
}

@media screen and (max-width: 713px) {
  .f-title {
    padding-top: 40px;
    padding-bottom: 10%;
    padding-left: auto;
    padding-right: auto;
  }

  .f-icon {
    width: 60px;
    height: 45px;
  }
}

@media screen and (max-width: 344px) {
  /* hero */
  .hero {
    grid-template-columns: 10% 90%;
  }

  /* footer */
  .f-title {
    align-self: center;
    text-justify: center;
    padding-bottom: 5%;
  }

  .f-adress-container {
    grid-column: 1/4;
    grid-row: 1/2;
  }

  .f-tel-container {
    grid-column: 1/4;
    grid-row: 2/3;
  }

  .f-mail-container {
    grid-column: 1/4;
    grid-row: 3/4;
  }
}
