/** Custom CSS for the RER Italia Vanilla theme **/

body {
    margin:0;
    padding:0;
}
h1, h2, h3, h4, h5, h6 {
    font-family: 'Titillium Web', sans-serif;
}
h1, .h1 {
  font-size: calc(1.375rem + 1.5vw);
}
@media(min-width: 576px) {
  h1,
  .h1 {
    font-size:2.5rem;
  }
}

.it-header-navbar-wrapper .row {
    background-color: var(--bs-primary);
}
.it-header-navbar-wrapper button {
    color: #fff;
}
.it-header-navbar-wrapper nav a {
    color: #fff !important;
}
.it-header-navbar-wrapper nav a:hover {
    color: #fff;
    text-decoration: underline;
}

.it-hero-wrapper .img-wrapper img {
    filter: brightness(25%);
}
.custom-navbar-toggler svg {
    fill: var(--bs-body-color);
}
.script-container {
    height: 0;
}
.navbar-brand {
    min-height: auto !important;
}
.form-change-lang .index-item a {
    color: var(--bs-link-color) !important;
}
.mb-10 {
    margin-bottom: 9rem;
}

/** Twenty Questions **/
.checkbox-item input[type="checkbox"]:checked + label::after, .checkbox-item input[type="radio"]:checked + label::after {
	font-family: "FontAwesome";
	content: "\f00c";
	padding: 2px;
	background-color: transparent;
}
.checkbox-item label::after {
	background-color: none;
	font-size: 12px;
	line-height: 12px;
}
.form-check [type="radio"]:checked + label::after {
	transform: none;
    background-color: var(--bs-primary);
}
.btn-check:checked + .btn {
    border: 2px solid var(--bs-secondary);
}
.btn-check + .btn:hover {
    color: var(--bs-light);
    background-color: var(--bs-secondary);
    border-color: var(--bs-secondary);
}

.group-description, .question-container {
    border-radius: 0;
}
@media(min-width: 576px) {
    .group-description, .question-container {
        border-radius: .5rem;
    }
}
.question-container:focus-visible, .question-container:focus-within {
    outline: 3px solid var(--bs-secondary);
    outline-offset: 2px;
}
.answer-item:focus-visible:focus-visible {
    outline: 3px solid var(--bs-primary);
    outline-offset: 2px;
}