@import url('https://fonts.googleapis.com/css2?family=Raleway:wght@700&display=swap');
@import url('https://fonts.googleapis.com/css2?family=Roboto:wght@300;400;700&display=swap');

html, body {
  font-family: 'Roboto', sans-serif;
  font-size: 13px;
  height: 100%;
}

html {
  position: relative;
  min-height: 100%;
}

#wifi4eubanner {
  max-width: 1140px;
}

.color-primari {
  color: #E00047;
}

.content {
  max-height: 40vh;
  background-color: transparent;
}

.alert-secondary {
  background-color: #f7f7f7;
}

h1 {
  font-weight: bold;
  font-family: 'Raleway', sans-serif;
  color: #E00047;
  font-size: 1.4rem;
  text-align: center;
}

h2 {
  color: #444;
  font-weight: light;
  font-size: 1.2rem;
  text-align: center;
}

h3 {
  font-weight: bold;
  font-size: 1rem;
}

.lead {
    font-size: 1.2rem;
    font-weight: 400;
}

a, a:hover {
  color: #E00047;
  text-decoration: none;
}

footer {
  background-color: #F1F1F1;
/*   position: absolute;
  bottom: 0; */
}

#logo-viladecans, #logo-wifi{
  height: 45px;
}

.btn {
  font-size: 1rem;
}

.btn-primari {
  color: #fff;
  background-color: #444444;
  border-color: #373737;
}

.btn-primari:hover, .btn-primari:active {
  color: #fff;
  background-color: #373737;
}

.btn.focus, .btn:focus {
  box-shadow: none;
}

.custom-control-input.is-invalid ~ .custom-control-label, .was-validated .custom-control-input:invalid ~ .custom-control-label {
  color: #a8113c;
}

.custom-control-input.is-invalid ~ .custom-control-label::before, .was-validated .custom-control-input:invalid ~ .custom-control-label::before  {
  border-color: #a8113c;
}

.custom-control-input:checked ~ .custom-control-label::before {
    border-color: #444;
    background-color: #444;
}

.custom-checkbox .custom-control-input:focus~.custom-control-label::before{
    box-shadow: 0 0 0 1px #fff, 0 0 0 0.2rem rgba(68, 68, 68, 0.25); 
}

/* Extra small devices (portrait phones, less than 576px)*/
@media (max-width: 575.98px) { 
  .content {
    max-height: 40vh;
  }
 }

/* Small devices (landscape phones, 576px and up)*/
@media (min-width: 576px) and (max-width: 767.98px) {
    .content {
    max-height: 45vh;
  }
 }

/* Medium devices (tablets, 768px and up) */
@media (min-width: 768px) and (max-width: 991.98px) { 
  .content {
    max-height: 50vh;
  }
 }

/* Large devices (desktops, 992px and up) */
@media (min-width: 992px) and (max-width: 1199.98px) { 
  .content {
    max-height: 25vh;
  }
 }

/* Extra large devices (large desktops, 1200px and up) */
@media (min-width: 1200px) {
  .content {
    max-height: 35vh;
  }
}