/* GLOBAL*/
html {
  background-color: #FFFFFF !important;
}
.no-padding {
  padding: 0 !important;
}
.text-hidden {
  text-indent: -999999999px;
  display: none;
}
input,select {
  border-color: #0D3186 !important;
}
textarea {
  border-color: #0D3186 !important;
}
.form-check-label {
  border-color: #0D3186 !important;
}
.form-select {
  border-color: #0D3186 !important;
}
label {
  color: #0D3186 !important;
}
footer {
  background-color: #0D3186 !important;
  color: #FFFFFF !important;
}

/* FONTS */
a, p, li, button {
  font-family: 'Lato', sans-serif;
}
h1 {
  font-size: 32pt;
  font-weight: 400;
  text-align: center;
  font-family: 'Montserrat', sans-serif;
}
h2 {
  font-size: 24pt;
  font-weight: 300;
  font-family: 'Montserrat', sans-serif;
}
h3 {
  font-size: 16pt;
  font-weight: 300;
  font-family: 'Montserrat', sans-serif;
}
/* BUTTONS*/
.primary-btn {
  background-color: #E40289;
  color: #FFFFFF;
  border: 0px solid;
}
.primary-btn:hover {
  background-color: #E40289;
  color: #FFFFFF;
  border: 0px solid;
  box-shadow: 0px 0px 5px #333333;
  transition: .3s;
}
.secondary-btn {
  background-color: #76D1F4;
  color: #231E4A;
  border: 0px solid;
}
.secondary-btn:hover {
  background-color: #76D1F4;
  color: #231E4A;
  border: 0px solid;
  box-shadow: 0px 0px 5px #CCCCCC;
  transition: .3s;
}
.tertiary-btn {
  background-color: #0D3186;
  color: #FFFFFF;
  border: 0px solid;
}
.tertiary-btn:hover {
  background-color: #0D3186;
  color: #FFF;
  border: 0px solid;
  box-shadow: 0px 0px 5px #CCCCCC;
  transition: .3s;
}
.btn-outline-primary {
  color: #FFFFFF !important;
  border: 1px solid #FFFFFF !important;
}
.btn-outline-primary:hover {
  border: 1px solid #FFFFFF !important;
  background-color: transparent;
  color: #FFFFFF;
}
/* LINKS */
.section1-container p.advice-link {
  color:#E40289 !important;
  font-size: 14px;
  position: absolute;
  bottom: -140px;
  right: 0;
  left: 0;
}

@media screen and (min-width: 1023px) and (max-width: 1439px) {
  .logo2{
    float: right !important;
    display: block !important;
    margin-right: 0px !important;
    position: relative !important;
    left: 40rem !important;
    width: 150px !important;
  }
}

@media screen and (min-width: 1440px) {
  .logo2{
    float: right !important;
    display: block !important;
    margin-right: 0px !important;
    position: relative !important;
    left: 50rem;
    width: 150px !important;
  }
}

@media screen and (min-width:374px) and (max-width: 766px ){
  .logo2{
    float: right !important;
    display: block !important;
    margin-right: 0px !important;
    position: relative;
    left: 4rem !important;
    width: 150px !important;
  }

}

@media screen and (min-width: 767px) and (max-width: 1022px){
  .logo2{
    float: right !important;
    display: block !important;
    margin-right: 0px !important;
    position: relative !important;
    left: 25rem;
    width: 150px !important;
  }
}






/* HEADER */
.header {
  background-color: #0D3186!important;
}
div.header div.container {
  padding: 0 15px !important;
}
.bg-light {
  background-color: #0D3186!important;
}
.nav-link {
  color: #FFFFFF !important;
  font-weight: normal !important;
  font-size: 12px;
}
.suscribed-label {
  padding: 0 !important;
}
.nav-link.active {
  color: #72ACFF !important;
  font-weight: bold !important;
}
.nav-link.active:hover {
  color: #72ACFF !important;
  font-weight: bold !important;
  text-decoration: underline;
  transition: .3s;
}
.nav-link:hover {
  color: #FFFFFF !important;
  font-weight: normal !important;
  text-decoration: underline;
  transition: .3s;
}
li.nav-item a.btn-outline-primary {
  font-size: 12px;
}
.ayuntamiento-mobile a, .ayuntamiento-mobile p, .ayuntamiento-mobile label {
  color: #FFFFFF !important;
  text-decoration: none;
  font-size: 12px;
}

/* BODY */
.body {
  margin-top: 73px;
}


/* QUERYS */
@media (min-width: 992px) {
  .navbar-expand-lg .navbar-nav {
    position: absolute;
    right: 0;
  }
  div.header div.container {
    padding: 0 !important;
  }
  section {
    height: calc(100vh) !important;
  }
  .section3-container {
    height: 600px;
    width: calc(40vw) !important;
    color: #FFFFFF !important;
    background-color: #0D3186;
    margin: 100px auto;
    padding: 20px;
    box-shadow: 0px 0px 5px #333333;
  }
  .section3-container img {
    height: auto;
    max-height: 180px !important;
  }
  .section2-left-container img {
    height: auto;
    max-height: 260px !important;
    margin: 0 auto 20px auto !important;
  }
  .section2-left-container {
    margin: 120px auto !important;
  }
  .section2-left-container img {
    height: auto;
    max-height: 180px !important;
    margin: 0 auto 20px auto !important;
  }
  .section2-right-container {
    margin: 120px auto !important;
  }
  .carousel-item {
    background-color: #EBEDED;
    box-shadow: 0px 0px 5px #333333;
    height: 500px;
  }
  .item-img {
    max-height: 300px !important;
    overflow: hidden;
  }
  .section4-left-container img {
    height: auto;
    max-height: 260px !important;
    margin: 0 auto 20px auto !important;
  }
  .section4-left-container {
    margin: 120px auto !important;
  }
  .section4-left-container img {
    height: auto;
    max-height: 180px !important;
    margin: 0 auto 20px auto !important;
  }
  .section4-right-container {
    margin: 120px auto !important;
  }
  div.suscribe-section form {
    margin-top: 58px !important;
  }
}


/* SECTION */
section {
  height: auto;
  padding-bottom: 16px;
}
.section1 {
  background-color: #FFFFFF;
  height: calc(100vh) !important;
}
.section1-container img {
  height: auto;
  max-height: 340px;
  margin: 0 auto 20px auto;
  width: 100%;
}
.section h2 {
  color: #0D3186;
  font-weight: bold;
}
.section1 h2 {
  color: #0D3186;
  font-weight: bold;
}
.section2 {
  background-color: #0D3186;
  color: #FFFFFF;
}
.section2-left-container {
  margin: 20px auto;
}
.section2-left-container img {
  height: auto;
  max-height: 140px;
  margin: 0 auto 20px auto;
}
.section2-right-container {
  margin: 20px auto;
}
.section2-right-container label {
  color: #FFFFFF !important;
}
.section3 {
  background-color: #FFFFFF;
}
.section3 h2 {
  color: #0D3186;
  font-weight: bold;
  text-indent: -999999999px;
}
.section3-container {
  height: 600px;
  width: calc(80vw);
  color: #FFFFFF !important;
  background-color: #0D3186;
  margin: 100px auto;
  padding: 20px;
  box-shadow: 0px 0px 5px #333333;
}
.section3-container img {
  height: auto;
  max-height: 136px;
}
.section4 {
  background-color: #0D3186;
  color: #FFFFFF;
}
.section4-left-container {
  margin: 20px auto;
}
.section4-left-container img {
  height: auto;
  max-height: 140px;
  margin: 0 auto 20px auto;
}
.section4-right-container {
  margin: 20px auto;
}
.section5 h2 {
  color: #0D3186;
  font-weight: bold;
  text-indent: -999999999px;
}
.section6 {
  border-top: 1px solid #0D3186;
  padding: 80px 0px;
}
.section6 h2 {
  color: #0D3186;
  font-weight: bold;
}

/* CAROUSEL */
.carousel-item {
  background-color: #EBEDED;
  box-shadow: 0px 0px 5px #333333;
  height: 400px;
}
.item-img {
  max-height: 200px !important;
  overflow: hidden;
}
.item-img img {
  width: 100%;
  background-size: contain;
  margin-top: -30px;
  max-height: fit-content !important;
}
.carousel-caption {
  margin: 0;
  padding: 8px;
  position: inherit;
  right: inherit;
  bottom: inherit;
  left: inherit;
}
.carousel-caption h5 {
  color: #0D3186;
  text-align: left;
}
.carousel-caption p {
  color: #000000;
  text-align: left;
}
.carousel-indicators {
  bottom: -48px !important;
}
.carousel-indicators li {
  width: 6px !important;
  height: 6px !important;
  border-radius: 50%;
  background-color: #76D1F4 !important;
}

/* FOOTER */
.footer {
  padding: 16px;
}
.footer ul {
  margin: 0;
  padding: 0;
}
.brand-footer {
  height: 60px;
}
.footer li {
  list-style: none;
}
.footer ul li span {
  margin-right: 4px;
}
.links-footer-social{
  margin-top: 10px;
}
.footer ul li span svg {
  transform: translateY(-2px);
}
.links-footer-desktop ul {
  display: inline-block;
}
.footer a, .footer p, .footer label {
  color: #FFFFFF !important;
  text-decoration: none;
  font-size: 12px;
}
div.suscribe-section form {
  margin-top: 20px;
}
div.suscribe-section form label {
  text-transform: uppercase;
}
.suscribe-section input {
  max-width: 190px !important;
  border: 1px solid #E40289 !important;
  color: #E40289 !important;
}
.suscribe-section button {
  max-width: 200px !important;
  border: 1px solid #E40289 !important;
  background-color: #E40289 !important;
  color: #FFFFFF !important;
  border-radius: 0px .25rem .25rem 0px !important;
}
.ayuntamiento-img {
  width: 80px;
  float: left;
  margin-right: 4px;
}
.ayuntamiento-img img {
  max-width: 80px !important;
  width: auto;
}

/* HEADER LANDINGS */
.header-landing a {
  color: #FFFFFF !important;
}

/* BODY LANDINGS */
.section1-container h1 {
  font-size: 32pt;
  font-weight: 600;
  text-align: center;
  font-family: 'Montserrat', sans-serif;
  color: #0D3186 !important;
}
.section1-container p {
  color: #0D3186 !important;
}
.img-mael-landing {
  max-width: 200px;
  width: auto;
}
.landing-container h1 {
  font-size: 18pt;
  font-weight: 600;
  text-align: center;
  font-family: 'Montserrat', sans-serif;
}
.landing-container h2 {
  font-size: 14pt;
  font-weight: 600;
  text-align: left;
  font-family: 'Montserrat', sans-serif;
}
.jumbotron {
  margin: 0 auto;
  padding: 0;
  background-color: #FFFFFF !important;
}
.jumbotron img {
  max-width: 1280px;
  margin: 0 auto;
}

/* LOGIN */
.card {
  max-width: 500px;
  width: auto;
  min-height: 600px;
  height: auto;
  padding: 20px 20px 40px 20px;
  text-align: left;
  margin: 20px auto;
}
/* NAVBAR */
nav.navbar div.container-fluid {
  margin: 0 16px;
}
.navbar-brand {
  float: left;
  display: inline-block;
  margin-right: 0px !important;
}
.navbar-light .navbar-toggler {
  border-color: #FFFFFF;
  background-color: #FFFFFF;
}
.menu-footer-container {
  min-height: 500px;
}
.logo-menu-footer {
  margin: 40px 0 20px 0;
}
.links-menu-footer {
  list-style: none !important;
  padding: 0 !important;
  margin: 0 !important;
}
.links-menu-footer li {
  list-style: none;
  display: inline-block;
  margin-right: 16px;
}
.links-menu-footer a {
  height: 30px;
  width: 24px;
  color: white;
  float: left;
}
.links-menu-footer svg {
  height: 30px;
  width: 24px;
}
.header-section {
  padding: 8px 0;
}

@media (max-width: 768px) {
  .navbar {
    padding: 0 !important;
  }
  .navbar-nav {
    min-height: 300px;
    background-color: transparent;
    padding: 20px 16px 0 16px;
  }
  .navbar-nav a {
    color: #FFFFFF !important;
    font-weight: normal !important;
  }
  .navbar-nav a:hover {
    color: #FFFFFF !important;
    font-weight: normal !important;
  }
  .navbar-nav a.active {
    color: #FFFFFF !important;
    font-weight: normal !important;
  }
  .navbar-nav a.active:hover {
    color: #FFFFFF !important;
    font-weight: normal !important;
  }
}

@media (min-width: 992px) {
  .img-mael-landing {
    max-width: 350px;
    width: auto;
  }
  .landing-container h1 {
    font-size: 32pt;
    font-weight: 600;
    text-align: center;
    font-family: 'Montserrat', sans-serif;
  }
  .landing-container h2 {
    font-size: 18pt;
    font-weight: 600;
    text-align: left;
    font-family: 'Montserrat', sans-serif;
  }
}
