body {
  background-color: #1E3832;
  color: #fff;
  font-weight: 100;
}

header {
  text-align: center;
}

.img-header {
  width: 100%;
  height: auto;
  border-radius: 15px;
  margin-bottom: 2rem;
}

.titolo-small {
  text-align: left;
}
@media (min-width: 992px) {
  .titolo-small {
    font-size: 40px;
  }
}

.logo-sansilvestro {
  width: calc(100% - 40px);
  max-width: 728px;
  height: auto;
  margin: 40px 20px 20px 20px;
}
@media (min-width: 768px) and (max-width: 991px) {
  .logo-sansilvestro {
    width: 590px;
  }
}
@media (min-width: 992px) {
  .logo-sansilvestro {
    margin-top: 60px;
  }
}

h1, h2, h6 {
  color: #ED842F;
}

@media (max-width: 991px) {
  h2 {
    font-size: 25px !important;
  }
}

p {
  color: #fff;
}

#main-menu ul {
  display: -webkit-box;
  display: -ms-flexbox;
  display: flex;
  -webkit-box-pack: center;
      -ms-flex-pack: center;
          justify-content: center;
  margin: auto;
  padding: 0;
}
#main-menu ul li {
  list-style: none;
  text-transform: uppercase;
  display: -webkit-box;
  display: -ms-flexbox;
  display: flex;
  font-weight: bold;
}
#main-menu ul a {
  color: #fff;
  padding: 0.5rem;
  text-decoration: none;
}
@media (min-width: 992px) {
  #main-menu ul a {
    padding: 0.875rem;
  }
}

.txt-welcome {
  text-align: center;
  font-size: 1.125rem;
  padding-bottom: 4rem;
}

.wrapper-section {
  padding: 1.5rem 0;
  background-color: #DED6BF;
}
@media (max-width: 767px) {
  .wrapper-section .container {
    max-width: 400px;
    margin: auto;
  }
}
.wrapper-section img {
  width: 100%;
  height: auto;
  border-radius: 10px;
}
.wrapper-section p {
  color: #1e3932;
}
.wrapper-section a {
  padding: 1rem 1.5rem;
}
.wrapper-section .titolo {
  color: #9E4A1D;
  font-size: 25px;
  font-weight: 700;
}
@media (min-width: 768px) {
  .wrapper-section .titolo {
    font-size: 2rem;
  }
}

#wrapper-map-store {
  padding-bottom: 2rem;
}
@media (min-width: 992px) {
  #wrapper-map-store {
    min-height: 720px;
  }
}

.map-store {
  width: 100%;
  height: auto;
  margin-top: 3rem;
}

.legend-map-store {
  margin-top: 3rem;
}
.legend-map-store img {
  width: 100%;
  max-width: 750px;
  height: auto;
  border-radius: 0.875rem;
  margin-bottom: 8px;
}
.legend-map-store .livello {
  font-size: 14px;
  line-height: 17px;
}
.legend-map-store .titolo-box {
  color: #ed842f;
  font-size: 20px;
  font-weight: 700;
  margin-bottom: 10px;
  text-transform: uppercase;
}
.legend-map-store hr {
  background-color: #ccc;
  border: 0;
  height: 1px;
  margin: 10px 0;
}

.card {
  background-color: #DFD6BF;
  border-radius: 0.875rem;
}
.card .card-title {
  color: #9e4a1d;
  font-weight: 700;
}
.card .card-text {
  color: #1e3932;
}
.card .card-body {
  padding-bottom: 2rem;
}
.card img {
  border-radius: 0.875rem;
  margin: 1.25rem;
  margin-bottom: 0;
}
.card .orari {
  color: #9e4a1d;
  margin-top: 2rem;
}

.orari {
  color: #ed842f;
}

.btn {
  background-color: transparent;
  border: 1px solid #1e3932;
  border-radius: 4px;
  padding: 12px 24px;
  color: #1e3932;
  font-weight: 400;
  line-height: 14px;
  font-size: 16px;
}
.btn:hover {
  background-color: #1e3932;
}

p {
  font-size: 14px;
  color: #fff;
}
@media (min-width: 992px) {
  p {
    font-size: 1rem;
  }
}

.decorazione {
  width: 100%;
  height: 120px;
  background-image: url("../../images/flagship/Tile-spirale.png");
  background-repeat: repeat-x;
  background-position: center center;
  background-attachment: scroll;
  background-size: auto;
  margin-top: 5rem;
}

footer {
  background-color: #1F3832;
  color: #fff;
  padding-top: 2.8125rem; /* 20/16 */
  padding-bottom: 1.25em;
  margin: 0;
  text-align: center;
}
footer a {
  color: #fff;
  font-size: 0.875rem;
}
footer a:hover {
  color: #fff;
}
@media (min-width: 992px) {
  footer a {
    font-size: 1rem;
  }
}
footer .logo-footer {
  margin-bottom: 1.25rem;
}
footer h2 {
  margin-bottom: 0;
  line-height: 2.5em; /* 40/16 */
}
footer ul {
  list-style: none;
  padding-left: 0;
}
footer .social h2 {
  margin-top: 0;
}
footer .footer-container {
  margin: 1rem 0 0 0;
}
footer .social-links {
  display: -webkit-box;
  display: -ms-flexbox;
  display: flex;
  -webkit-box-pack: center;
      -ms-flex-pack: center;
          justify-content: center;
}
footer .social-links a {
  font-size: 2.25em;
}
footer .social-links a:hover {
  text-decoration: none;
}
footer .social-links img {
  width: 30px;
  height: 30px;
  margin: 10px;
  display: inline;
  cursor: pointer;
}
footer .content {
  font-size: 0.875em;
}
footer .content li {
  height: 1.875rem;
}
footer .copyright {
  color: #fff;
  margin-top: 3.125rem;
  margin-bottom: 1.875rem;
  font-size: 0.875rem;
}
@media (min-width: 768px) {
  footer .copyright {
    font-size: 1rem;
  }
}

.orari-big {
  color: #ed842f;
}
@media (min-width: 768px) {
  .orari-big {
    font-size: 20px;
  }
}

.form-card {
  margin-top: 5rem;
}
.form-card h2 {
  color: #9e4a1d;
  margin-bottom: 2rem;
}
@media (min-width: 992px) {
  .form-card h2 {
    font-size: 40px;
  }
}
@media (min-width: 992px) {
  .form-card .card-body {
    padding: 30px;
  }
}
.form-card .form-control {
  padding: 0.75rem;
}
.form-card .form-control:not(textarea) {
  height: calc(2em + 0.75rem + 2px);
}
.form-card img {
  margin: 0;
  width: 100%;
  height: 600px;
  -o-object-fit: cover;
     object-fit: cover;
}
.form-card .btn {
  background-color: #9e4a1d;
  color: #fff;
  border-color: #9e4a1d;
  border-radius: 50px;
  text-transform: uppercase;
  font-weight: 100;
  padding: 10px 40px;
  font-size: 0.875rem;
  line-height: 1.9em;
}
.form-card legend {
  color: #222;
  font-size: 1rem;
  font-weight: 500;
}
.form-card .custom-control-input:checked ~ .custom-control-label::before {
  background-color: #fff;
}
.form-card .custom-control-label {
  color: #222;
}
.form-card .custom-control-label a {
  color: #222 !important;
  font-weight: bold;
  text-transform: uppercase;
}

/* Accessibility fix */
.visually-hidden {
  clip: rect(0 0 0 0);
  clip-path: inset(50%);
  height: 1px;
  overflow: hidden;
  position: absolute;
  white-space: nowrap;
  width: 1px;
}
