@import url('reset.css');
@import url('typography.css');

/*	----------------------- */

.skip {
  left: -9999px;
  position: absolute;
}

.container {
  max-width: 950px;
  margin: 0 auto;
  padding: 0 20px;
  width: 100%;
}

@media (min-width: 1000px) {
  .container {
    padding-left: 0;
    padding-right: 0;
  }
}

.box {
  padding: 1.5em 1.5em 1em;
  margin-bottom: 1.5em;
  background: #e5ecf9;
}

.header {
  overflow: hidden;
  position: relative;
}

@media (min-width: 1000px) {
  .header {
    display: flex;
    justify-content: space-between;
  }
}

.tel {
  align-items: center;
  background: url(/img/icon-tel.png) no-repeat left center;
  display: flex;
  font-size: 2em;
  font-weight: bold;
  margin: 0;
}

.tel::before {
  background: url(/img/icon-tel.png) no-repeat center center;
  content: '';
  height: 24px;
  margin-right: 12px;
  width: 24px;
}

.header__tel {
  margin-bottom: 24px;
}

.email {
  font-size: 1.5em;
  font-weight: bold;
  margin: 0 0 0.75em;
  word-wrap: break-word;
}

@media (min-width: 480px) {
  .email {
    background: url(/img/icon-mail.png) no-repeat left center;
    font-size: 2em;
    padding-left: 36px;
  }
}

.nav {
  align-items: stretch;
  background: #f2f2f2;
  display: flex;
  list-style-type: none;
  flex-wrap: wrap;
  font-size: 1.33em;
  margin: 0 -20px 1.5em;
  overflow: hidden;
  padding: 0;
}

@media (min-width: 960px) {
  .nav {
    margin-left: 0;
    margin-right: 0;
  }
}

.nav li {
  border-bottom: 1px solid #e2e2e2;
  border-right: 1px solid #e2e2e2;
  flex-grow: 1;
  width: 50%;
}

@media (min-width: 480px) {
  .nav li {
    width: 33.33333%;
  }
}

@media (min-width: 600px) {
  .nav li {
    width: 20%;
  }
}

.nav a {
  display: block;
  text-decoration: none;
  color: #222;
  height: 100%;
  padding: 8px 12px 14px 20px;
}

.nav a:focus,
.nav a:hover {
  background: #222;
  color: #fff;
}

.nav .last {
  border-right: 0;
}

.nav em {
  font-style: normal;
  font-size: 0.69em;
  color: #999;
  display: block;
}

.nav strong {
  font-weight: normal;
}

.banner img {
  border: 5px solid #eee;
  max-width: 100%;
  width: 100%;
}

.content {
  margin: 0 0 2.5em;
}

@media (min-width: 1000px) {
  .content {
    float: left;
    width: 630px;
  }
}

.privacy h2 {
  float: none;
}

.sidebar {
  margin: 0 0 1.5em;
}

@media (min-width: 1000px) {
  .sidebar {
    float: right;
    width: 280px;
  }
}

.footer {
  background: url(/img/footer-bg.png) no-repeat left top;
  clear: both;
  color: #999;
  font-size: 0.92em;
  margin-left: -10px;
  padding: 1.5em 0 0 10px;
}

.gallery {
  list-style-type: none;
  margin: 0 0 1.5em -17px;
  padding: 0;
  overflow: hidden;
}

.gallery li {
  margin: 0 0 10px 17px;
  float: left;
}

.gallery a img {
  border: 3px solid #eee;
  width: 84px;
}

.gallery a:focus img,
.gallery a:hover img {
  border-color: #ccc;
}

@media (min-width: 1000px) {
  .sidebar .gallery {
    width: 297px;
  }
}

.sidebar .gallery li {
  margin-bottom: 0;
}

.sidebar .gallery a img {
  width: 76px;
}

.ticks {
  list-style-type: none;
  margin: 0 0 1.5em;
  padding: 0;
}

.ticks li {
  background: url(/img/icon-tick.png) no-repeat left 3px;
  padding-left: 22px;
}

.ticks h4 {
  margin-bottom: 0.25em;
}

.button {
  overflow: hidden;
}

.button a {
  background: #222 url(/img/button-overlay.png) repeat-x left top;
  text-decoration: none;
  color: #fff;
  padding: 4px 10px 6px;
  float: left;
  display: block;
}

.button a:focus,
.button a:hover {
  background-color: #000;
}

.box p {
  margin-bottom: 0.5em;
}

.box strong {
  font-size: 1.5em;
}

.logos {
  align-items: center;
  clear: both;
  display: flex;
  margin-left: -8px;
}

.logos img {
  border: 1px solid #ddd;
  margin-left: 8px;
  padding: 8px;
  width: 80px;
}
