* {
  margin: 0;
  padding: 0;
}

html {
  height: 100%;
  scroll-behavior: smooth;
}

body {
  background-color: #f9f9f9;
  box-sizing: border-box;
  color: #000;
  font: 400 16px 'Open Sans', sans-serif;
  min-height: 100%;
  padding-bottom: 62px;
  position: relative;
}

h2 {
  font-size: 2.5em;
  margin-bottom: 0.5em;
}

h3 {
  font-size: 1.5em;
  margin: 1em 0 0.25em;
}

h3 a {
  color: #000;
  text-decoration: none;
}

h3 a:hover { color: #8a181a; }

a { transition: 300ms; }

/* ==========================================================================
   Header
   ========================================================================== */

header {
  background: #404048 url("../images/bg.png") center center repeat-x;
  background-size: auto 100%;
  padding: 20px 20px 100px;
  text-align: center;
}

.section {
  margin: 80px auto;
  max-width: 1600px;
  padding: 0 20px;
}

header + .section-wrapper .section { margin-top: -100px; }

.grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(350px, 1fr));
  gap: 20px;
}

.grid-item {
  background-color: #fff;
  border: 1px solid #d1d1d1;
  box-shadow: 0 0 10px rgba(0,0,0,0.05);
  cursor: pointer;
  padding: 40px;
  transition: 200ms;
  text-align: center;
}

.grid-item:hover {
  border-bottom: 10px solid #8a181a;
  border-radius: 10px;
  box-shadow: 0 0 10px rgba(0,0,0,0.1);
  margin: -10px;
  padding-bottom: 30px;
}

.grid-item p { color: #616161; }

footer {
  padding: 20px;
  position: absolute;
    right: 0;
    bottom: 0;
    left: 0;
  text-align: center;
}

/* ==========================================================================
   Forms
   ========================================================================== */

.fm-header { display: block !important; }

.fm-header-title {
  font-size: 2.5em !important;
  font-weight: 700;
}

.fm-header-description { line-height: 1.5em; }

.fm-header-bg { margin-bottom: 30px; }

.fm_empty_margin { margin-top: 0 !important; }

.fm-form-container.fm-theme1 .fm-form,
input[type="text"],
textarea { font-family: 'Open Sans', sans-serif !important; }

.fm-form-container.fm-theme1 .fm-form .button-submit {
  font: 600 16px 'Open Sans', sans-serif;
  transition: 300ms;
}

.iti { display: block !important; }

.wd-justify-content-center { text-align: center !important; }

.fm-form .wd-flex { display: block !important; }

.fm-form .fm-header-bg { padding: 0 !important; }

.fm-form .wdform-field:not([type="type_hidden"]) { padding: 7px 0 !important; }

@media only screen  
and (max-width : 479px) {

img { max-width: 100%; }

.grid { grid-template-columns: auto; }

}