@import url('https://fonts.googleapis.com/css2?family=Yanone+Kaffeesatz:wght@200;300;400;500;600;700&display=swap');
@import url('../fonts/knicknack/stylesheet.css');

:root {
  /* Colors */
  --color-white: #ffffff;
  --color-black: ##000000;
  --color-text: #b9b7bd;
  --color-red: #ed1c24;
  --color-blue: #0072bc;
  --color-blue-dark: #00378a;
  --color-yellow: #f2d64c;
  --color-btn-grey: #B9B7BD;
}
html, body {
  font-family: "Yanone Kaffeesatz", Sans-serif;
  font-size: 16px;
}
@media (min-width: 768px) {
  html, body {
    font-size: 20px;
  }
}
.font-title {
  font-family: "Knicknack", sans-serif;
}
.text-blue {
  color: #0072bc;
}
.px-4r {
  padding-left: 4rem !important;
  padding-right: 4rem !important;
}
.px-5r {
  padding-left: 5rem !important;
  padding-right: 5rem !important;
}
@media (min-width: 992px) {
  .px-lg-4r {
    padding-left: 4rem !important;
    padding-right: 4rem !important;
  }
  .px-lg-5r {
    padding-left: 5rem !important;
    padding-right: 5rem !important;
  }
}
.m-marker::marker {
  margin-left: 0.5rem;
  margin-right: 0.5rem;
}

/* ************************************* */
/* Navbar */
/* ************************************* */
.navbar {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  padding: 0;
  z-index: 1030;
}
.navbar:before {
  position: absolute;
  top: 0;
  left: 0;
  content: '';
  width: 100%;
  height: 145px;
  background: rgb(255,255,255);
  background: linear-gradient(180deg, rgba(255,255,255,1) 0%, rgba(255,255,255,1) 78%, rgba(237,28,36,1) 78%, rgba(237,28,36,1) 81%, rgba(255,255,255,1) 81%, rgba(255,255,255,1) 83%, rgba(255,255,255,0) 83%);
}
.navbar > .container-fluid {
  justify-content: center;
  position: relative;
  text-align: center;
}
.navbar .navbar-brand {
  padding: 0;
  margin: 0;
}
.navbar .navbar-brand img {
  height: 145px;
}
.navbar .navbar-toggler {
  position: absolute;
  right: 1rem;
  top: 60px;
  transform: translateY(-50%);
  border: none;
  padding: 0.3rem;
  background-color: rgba(0, 0, 0, 0.05);
}
.navbar .navbar-toggler:focus {
  box-shadow: none;
}
.navbar .navbar-toggler.collapsed .navbar-toggler-icon {
  background-image: url("data:image/svg+xml,%3csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 30 30'%3e%3cpath stroke='rgba%280, 55, 138, 1%29' stroke-linecap='round' stroke-miterlimit='10' stroke-width='2' d='M4 7h22M4 15h22M4 23h22'/%3e%3c/svg%3e");
  background-size: 100%;
}
.navbar .navbar-toggler.collapsed:hover .navbar-toggler-icon {
  background-image: url("data:image/svg+xml,%3csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 30 30'%3e%3cpath stroke='rgba%28237, 28, 36, 1%29' stroke-linecap='round' stroke-miterlimit='10' stroke-width='2' d='M4 7h22M4 15h22M4 23h22'/%3e%3c/svg%3e");
}
.navbar .navbar-toggler .navbar-toggler-icon {
  background-image: url("data:image/svg+xml,%3csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 16 16' fill='rgba%280, 55, 138, 1%29'%3e%3cpath d='M.293.293a1 1 0 0 1 1.414 0L8 6.586 14.293.293a1 1 0 1 1 1.414 1.414L9.414 8l6.293 6.293a1 1 0 0 1-1.414 1.414L8 9.414l-6.293 6.293a1 1 0 0 1-1.414-1.414L6.586 8 .293 1.707a1 1 0 0 1 0-1.414z'/%3e%3c/svg%3e");
  background-size: 80%;
}
.navbar .navbar-toggler:hover .navbar-toggler-icon {
  background-image: url("data:image/svg+xml,%3csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 16 16' fill='rgba%28237, 28, 36, 1%29'%3e%3cpath d='M.293.293a1 1 0 0 1 1.414 0L8 6.586 14.293.293a1 1 0 1 1 1.414 1.414L9.414 8l6.293 6.293a1 1 0 0 1-1.414 1.414L8 9.414l-6.293 6.293a1 1 0 0 1-1.414-1.414L6.586 8 .293 1.707a1 1 0 0 1 0-1.414z'/%3e%3c/svg%3e");
}
.navbar .navbar-collapse {
  background-color: var(--color-white);
}
.navbar .navbar-nav {
  align-items: center;
}
.navbar .nav-link {
  color: var(--color-blue);
  font-size: 1.2rem;
  font-weight: 500;
  text-align: left;
  padding: 0.8rem !important;
}
.navbar .dropdown-menu {
  margin: 0;
  padding: 0;
  border: none;
}
.navbar .dropdown-menu li a {
  padding: 0.5rem 1.5rem !important;
  color: var(--color-blue);
  transition: all 0.5s;
}
.navbar .dropdown-menu li a:hover {
  background-color: var(--color-red);
  color: var(--color-white);
}
@media (min-width: 992px) {
  .navbar {
    height: 184px;
  }
  .navbar:before {
    position: absolute;
    top: 0;
    left: 0;
    content: '';
    width: 100%;
    height: 184px;
    background: rgb(255,255,255);
    background: linear-gradient(180deg, rgba(255,255,255,1) 0%, rgba(255,255,255,1) 78%, rgba(237,28,36,1) 78%, rgba(237,28,36,1) 81%, rgba(255,255,255,1) 81%, rgba(255,255,255,1) 83%, rgba(255,255,255,0) 83%);
  }
  .navbar .navbar-brand img {
    height: 184px;
  }
  .navbar .navbar-collapse {
    background-color: transparent;
  }
  .navbar .navbar-nav {
    align-items: center;
  }
  .navbar .nav-link {
    color: var(--color-blue);
    font-size: 1rem;
    padding: 0 1rem !important;
    transform: translateY(-0.8rem);
    transition: all 0.5s;
  }
  .navbar .nav-link:hover {
    color: var(--color-blue-dark);
    transform: translateY(-0.3rem);
  }
}

/* ************************************* */
/* Welcome */
/* ************************************* */
.section-welcome {
  margin-top: calc(145px * 0.83);
}
.section-welcome img {
  width: 100%;
  height: auto;
}
@media (min-width: 992px) {
  .section-welcome {
    margin-top: calc(184px * 0.83);
  }
}

/* ************************************* */
/* Tab */
/* ************************************* */
.section-tab .nav-tabs {
  justify-content: center;
  border: none;
}
.section-tab .nav-tabs .nav-item {
  min-width: 50%;
}
.section-tab .nav-tabs .nav-item .nav-link {
  text-align: center;
  margin: 0.2rem auto;
  padding: 0.2rem 1.5rem;
  background-color: var(--color-btn-grey);
  border-radius: 50px;
  width: 90%;
  font-size: 1.2rem;
  color: var(--color-white);
  white-space: nowrap;
  transition: all 0.5s;
}
.section-tab .nav-tabs .nav-item .nav-link svg {
  width: 0.5rem;
  fill: var(--color-white);
  margin-left: 0.25rem;
}
.section-tab .nav-tabs .nav-item .nav-link.active {
  background-color: var(--color-red);
}
.section-tab .nav-tabs .nav-item .nav-link:hover {
  background-color: var(--color-red);
}
@media (min-width: 992px) {
  .section-tab .nav-tabs .nav-item {
    min-width: 20%;
  }
  .section-tab .nav-tabs .nav-item .nav-link {
    padding: 0.2rem 1rem;
    font-size: 1.2rem;
  }
}

/* ************************************* */
/* Formulario */
/* ************************************* */
.section-form .text-form {
  color: var(--color-text);
  font-size: 1.2rem;
  font-weight: 600;
  line-height: 1;
}
.section-form .form-control {
  border: 1px solid var(--color-red);
  border-radius: 50px;
  color: var(--color-red);
}
.section-form .form-control.textarea {
  border-radius: 25px;
  resize: none;
}
.section-form .form-control:focus {
  outline: none;
  box-shadow: none;
}
.section-form .form-control::placeholder {
  color: var(--color-red);
  opacity: 1;
}
.section-form .form-control:-ms-input-placeholder {
  color: var(--color-red);
}
.section-form .form-control::-ms-input-placeholder {
  color: var(--color-red);
}
.section-form .form-control:focus::placeholder {
  opacity: 0.3;
}
.section-form .form-control:focus:-ms-input-placeholder {
  opacity: 0.3;
}
.section-form .form-control:focus::-ms-input-placeholder {
  opacity: 0.3;
}
.section-form .dropdown button {
  border: 1px solid var(--color-red);
  border-radius: 50px;
  width: 100%;
  text-align: start;
  color: var(--color-red);
}
.section-form .dropdown button:after {
  position: absolute;
  right: 0.5rem;
  top: 50%;
  transform: translateY(-50%);
  border-top: 0.3em solid var(--color-red);
}
.section-form .dropdown .dropdown-menu {
  margin: 0;
  padding: 0;
  border: 1px solid var(--color-red);
  border-radius: 25px;
  color: var(--color-red);
  width: 100%;
  max-height: 40vh;
  overflow-y: auto;
}
.section-form .dropdown .dropdown-menu::-webkit-scrollbar {
  width: 10px;
}
/* Track */
.section-form .dropdown .dropdown-menu::-webkit-scrollbar-track {
  margin-top: 20px;
  margin-bottom: 20px;
  background: var(--color-white);
  border-radius: 20px;
}
/* Handle */
.section-form .dropdown .dropdown-menu::-webkit-scrollbar-thumb {
  background: var(--color-red);
  border-radius: 20px;
}
.section-form .dropdown .dropdown-menu li {
  padding: 0.2rem 1rem;
  cursor: pointer;
  transition: all 0.5s;
}
.section-form .dropdown .dropdown-menu li:first-child {
  border-top-left-radius: 25px;
  border-top-right-radius: 25px;
}
.section-form .dropdown .dropdown-menu li:last-child {
  border-bottom-left-radius: 25px;
  border-bottom-right-radius: 25px;
}
.section-form .dropdown .dropdown-menu li:hover {
  padding: 0.2rem 2rem;
  background-color: var(--color-red);
  color: var(--color-white);
}
.section-form #submit {
  border: 1px solid var(--color-red);
  border-radius: 50px;
  color: var(--color-white);
  background-color: var(--color-red);
  width: 100%;
  transition: all 0.5s;
}
.section-form #submit:hover {
  color: var(--color-red);
  background-color: var(--color-white);
}
.section-form #submit svg {
  width: 0.5rem;
  fill: var(--color-white);
  margin-left: 0.25rem;
  transition: all 0.5s;
}
.section-form #submit:hover svg {
  fill: var(--color-red);
}
@media (min-width: 992px) {
  .section-form .text-form {
    font-size: 1.5rem;
  }
}

/* ************************************* */
/* Footer */
/* ************************************* */
footer .footer1 {
  background-color: var(--color-red);
  height: 7vw;
  max-height: 115px;
}
footer .footer2 {
  background-color: var(--color-blue);
  position: relative;
}
footer .footer2 hr {
  background-color: var(--color-white);
  margin: 0;
  width: 100%;
  height: 1px;
  color: var(--color-white);
  border: none;
  opacity: 1;
  position: absolute;
}
footer .footer2 .hr-t {
  top: 2px;
}
footer .footer2 .hr-b {
  bottom: 2px;
}
footer .footer2 .logocomcom {
  width: 50%;
  transform: scale(2) translateY(-25%);
}
footer .footer2 .logoslat {
  width: 50%;
  padding: 10px 0;
}
footer .footer3 {
  background-color: var(--color-blue-dark);
  color: var(--color-white);
  padding-top: 1.5rem;
  padding-bottom: 1.5rem;
}
footer .footer3 a {
  text-decoration: none;
  margin-right: 0.5rem;
}
footer .footer3 a svg path {
  fill: var(--color-white);
}
footer .footer3 a:hover svg {
  opacity: 0.8;
}
footer .footer3 p {
  line-height: 1;
  margin: 0;
  font-size: 0.8rem;
}
@media (min-width: 768px) {
  footer .footer1 {
    height: 8vw;
  }
  footer .footer2 hr {
    height: 2px;
  }
  footer .footer2 .hr-t {
    top: 5px;
  }
  footer .footer2 .hr-b {
    bottom: 5px;
  }
  footer .footer2 .logoslat {
    padding: 20px 0;
  }
}
@media (min-width: 992px) {
  footer .footer2 .logoslat {
    padding: 25px 0;
  }
}
@media (min-width: 1200px) {
  footer .footer2 .logoslat {
    padding: 30px 0;
  }
}
@media (min-width: 1400px) {
  footer .footer2 .logoslat {
    padding: 35px 0;
  }
}