@import url('https://fonts.googleapis.com/css?family=Josefin+Sans:regular,bold&display=swap');
@import url('https://fonts.googleapis.com/css?family=Droid+Sans:regular,bold&display=swap');
@import url('https://fonts.googleapis.com/css?family=Goudy+Bookletter+1911&display=swap');

/*------------------------------------------------*/
/*-----------------[RESET]------------------------*/
/*------------------------------------------------*/
html,
body,
div,
span,
applet,
object,
iframe,
h1,
h2,
h3,
h4,
h5,
h6,
p,
blockquote,
pre,
a,
abbr,
acronym,
address,
big,
cite,
code,
del,
dfn,
em,
font,
img,
ins,
kbd,
q,
s,
samp,
small,
strike,
strong,
sub,
sup,
tt,
var,
b,
u,
i,
center,
dl,
dt,
dd,
ol,
ul,
li,
fieldset,
form,
label,
legend {
  margin: 0;
  padding: 0;
  border: 0;
  outline: 0;
  font-size: 100%;
  vertical-align: baseline;
  background: transparent;
}

html {
  box-sizing: border-box;
}

*,
*::before,
*::after {
  box-sizing: inherit;
}

body {
  color: #525e66;
  font-family: 'Droid Sans', arial, serif;
  font-size: 14px;
  line-height: 1.5;
}

ol,
ul {
  list-style: none;
}

/* remember to define focus styles! */
:focus {
  outline: 0;
}

/*------------------------------------------------*/
/*-----------------[BASIC STYLES]-----------------*/
/*------------------------------------------------*/

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

a {
  color: #007ea8;
  text-decoration: none;
  text-underline-position: under;
}

a:hover,
a:focus {
  text-decoration: underline;
}

h1,
h2,
h3,
h4,
h5,
h6 {
  font-family: 'Goudy Bookletter 1911', Georgia, serif;
  font-weight: normal;
}

.main-content h1,
.main-content h2,
.subheading {
  font-family: 'Josefin Sans', arial, serif;
  font-size: 20px;
  margin-bottom: 12px;
}

strong {
  font-weight: bold;
}

.float {
  margin-bottom: 24px;
}

@media screen and (min-width: 600px) {
  .float {
    max-width: 50%;
  }
}

.float img {
  display: block;
}

@media screen and (min-width: 600px) {
  .float--left {
    float: left;
    margin-right: 24px;
  }
}

@media screen and (min-width: 600px) {
  .float--right {
    float: right;
    margin-left: 24px;
  }
}

.tick-list__item {
  background: url('/img/tick.png') no-repeat 0 6px;
  padding-left: 24px;
}

.contact {
  font-family: 'Josefin Sans', arial, serif;
  font-size: 20px;
}

.testimonial {
  background: url('/img/quote.png') no-repeat 18px 24px;
  border: 1px solid #d8dcdf;
  border-radius: 12px;
  margin: 24px auto;
  max-width: 480px;
  position: relative;
  padding: 20px 24px 20px 48px;
}

/*------------------------------------------------*/
/*---------------[MAIN LAYOUT INFO]---------------*/
/*------------------------------------------------*/

.container {
  margin: 0 auto;
  overflow: hidden;
  padding-left: 20px;
  padding-right: 20px;
  position: relative;
  max-width: 960px;
}

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

.header {
  border-bottom: 1px solid #e1e5e7;
  padding-bottom: 20px;
  padding-top: 20px;
}

@media screen and (min-width: 960px) {
  .header {
    padding-bottom: 24px;
    padding-top: 72px;
  }
}

@media screen and (min-width: 768px) {
  .header__container {
    align-items: center;
    display: flex;
    justify-content: space-between;
  }
}

.logo {
  display: flex;
  justify-content: center;
  margin-bottom: 20px;
  width: 100%;
}

@media screen and (min-width: 768px) {
  .logo {
    display: block;
    margin-bottom: 0;
    width: 40%;
  }
}

@media screen and (min-width: 960px) {
  .logo {
    width: auto;
  }
}

.logo__image {
  display: block;
  max-width: 365px;
  width: 100%;
}

.nav {
  margin-bottom: 20px;
  width: 100%;
}

@media screen and (min-width: 768px) {
  .nav {
    margin-bottom: 0;
    width: auto;
  }
}

.nav__list {
  align-items: center;
  display: flex;
  flex-wrap: wrap;
  width: 100%;
}

@media screen and (min-width: 600px) {
  .nav__list {
    flex-wrap: nowrap;
  }
}

.nav__item {
  flex-grow: 1;
  padding: 1px;
  width: 50%;
}

@media screen and (min-width: 375px) {
  .nav__item {
    text-align: center;
    width: 33%;
  }
}

@media screen and (min-width: 768px) {
  .nav__item {
    width: auto;
  }
}

.nav__link {
  background-color: #eaedef;
  font-size: 12px;
  color: #525e66;
  display: block;
  padding: 8px;
  text-decoration: none;
}

@media screen and (min-width: 768px) {
  .nav__link {
    background-color: transparent;
    padding-left: 4px;
    padding-right: 4px;
  }
}

@media screen and (min-width: 960px) {
  .nav__link {
    padding-left: 8px;
    padding-right: 8px;
  }
}

.header__tel {
  font-family: 'Josefin Sans', arial, serif;
  font-size: 32px;
  line-height: 1;
  text-align: center;
}

@media screen and (min-width: 768px) {
  .header__tel {
    font-size: 24px;
    text-align: right;
  }
}

@media screen and (min-width: 960px) {
  .header__tel {
    font-size: 32px;
  }
}

.banner {
  padding: 40px 0;
  text-align: center;
}

@media screen and (min-width: 960px) {
  .banner {
    padding: 48px 0;
  }
}

.banner--home {
  padding: 48px 0 72px;
}

@media screen and (min-width: 960px) {
  .banner--home {
    padding: 72px 0 104px;
  }
}

.banner__tel {
  display: inline-block;
  font-weight: normal;
}

.banner__heading {
  color: #1d2124;
  font-size: 32px;
  line-height: 1;
}

@media screen and (min-width: 960px) {
  .banner__heading {
    font-size: 38px;
    line-height: 1.15;
  }
}

.banner__text {
  font-family: 'Josefin Sans', arial, serif;
  font-size: 24px;
  line-height: 1.15;
  margin-left: auto;
  margin-right: auto;
  margin-top: 12px;
  max-width: 640px;
}

@media screen and (min-width: 960px) {
  .banner__text {
    font-size: 30px;
  }
}

.content {
  border-top: 1px solid #eaedef;
}

@media screen and (min-width: 960px) {
  .content {
    display: flex;
  }
}

.content p,
.content ul,
.content ol {
  margin-bottom: 24px;
}

.main-content {
  padding-bottom: 24px;
  padding-top: 24px;
}

@media screen and (min-width: 960px) {
  .main-content {
    padding-right: 48px;
    border-right: 1px solid #eaedef;
    width: 70%;
  }

  .main-content--full-width {
    border-right: 0;
    padding-right: 0;
    width: 100%;
  }
}

.sidebar {
  border-top: 1px solid #eaedef;
  padding: 24px 0;
}

@media screen and (min-width: 960px) {
  .sidebar {
    border-top: 0;
    padding-left: 48px;
    width: 30%;
  }
}

.sidebar__heading {
  font-family: 'Josefin Sans', arial, serif;
  font-size: 20px;
  margin-bottom: 12px;
}

.blurbs {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  margin-bottom: 36px;
}

.blurb {
  margin-bottom: 28px;
  max-width: 320px;
  padding-left: 12px;
  padding-right: 12px;
  width: 100%;
}

@media screen and (min-width: 960px) {
  .blurb {
    margin-bottom: 0;
    max-width: inherit;
    width: 33%;
  }
}

.blurb__heading {
  border-bottom: 1px solid #e1e5e7;
  padding-bottom: 12px;
  text-align: center;
}

.blurb__text {
  line-height: 21px;
  margin-bottom: 12px;
}

.blurb__text {
  font-size: 12px;
  line-height: 24px;
  padding-left: 0;
}

.gallery {
  align-items: center;
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
}

.gallery__item {
  display: block;
  padding: 0.75rem;
  position: relative;
  width: 100%;
}

@media screen and (min-width: 480px) {
  .gallery__item {
    width: 50%;
  }
}

@media screen and (min-width: 768px) {
  .gallery__item {
    width: 33.33333%;
  }
}

@media screen and (min-width: 960px) {
  .gallery__item {
    width: 25%;
  }
}

.gallery__item--single {
  padding: 0;
  width: 100%;
}

.gallery--mini .gallery__item {
  padding: 0.25rem;
  width: 33.33333%;
}

.gallery__link {
  border: 1px solid #e1e5e7;
  display: block;
  padding: 8px;
  transition: border-color 0.3s;
}

.gallery__link:hover,
.gallery__link:focus {
  border-color: #007ea8;
}

.gallery__image {
  display: block;
  width: 100%;
}

.cta {
  border-top: 1px solid #e1e5e7;
}

.cta__text {
  font-family: 'Josefin Sans', arial, serif;
  font-size: 24px;
  padding-bottom: 32px;
  padding-top: 32px;
  text-align: center;
}

.cta__link {
  display: block;
}

.footer {
  background: url('/img/footer-bg.png');
  border-top: 1px solid #e1e5e7;
  box-shadow: inset 0 8px 8px 0 rgba(0, 0, 0, 0.05);
  font-size: 12px;
  padding-bottom: 32px;
  padding-top: 32px;
  text-align: center;
}

@media screen and (min-width: 768px) {
  .footer__container {
    align-items: center;
    display: flex;
    justify-content: space-between;
  }
}

.footer-nav {
  margin-bottom: 16px;
}

@media screen and (min-width: 768px) {
  .footer-nav {
    margin-bottom: 0;
  }
}

.footer-nav__item {
  display: inline-block;
  padding-left: 4px;
  padding-right: 4px;
}

@media screen and (min-width: 768px) {
  .legal {
    align-items: center;
    display: flex;
    justify-content: space-between;
  }
}

.copyright {
  padding-left: 4px;
  padding-right: 4px;
}

.slick-wrapper {
  margin: 0 -20px 64px;
  width: calc(100% + 40px);
}

@media screen and (min-width: 960px) {
  .slick-wrapper {
    margin-bottom: 88px;
  }
}

.slick-list {
  overflow: visible;
}

.slick__item {
  position: relative;
}

.slick-active:not(.slick-current) {
  cursor: pointer;
  position: relative;
}

.slick-active:not(.slick-current):hover::after {
  background-color: rgba(255, 255, 255, 0.25);
  content: '';
  height: 100%;
  left: 0;
  position: absolute;
  top: 0;
  width: 100%;
}

.slick-current.slick-center {
  box-shadow: 0 0 12px 0 rgba(0, 0, 0, 0.5);
  transform: scale(1.25);
  transition: transform 0.3s;
  z-index: 2;
}

.slick__image {
  width: 100%;
}
