:root {
  --font-size-s: 12.8px;
  --font-size: 16px;
  --font-size-m: 20px;
  --font-size-l: 25px;
  --font-size-xl: 31.25px;
}

html {
  box-sizing: border-box;
}

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

body {
  background: url(../images/bg.png) repeat-x #ffffff;
  color: #000000;
  font-family: 'Lucida Grande', 'Lucida Sans Unicode', Tahoma, Arial, san-serif;
  font-size: var(--font-size);
  line-height: 1.5;
}

a:focus {
  outline: 1px dotted;
}

a {
  color: #717171;
  text-decoration: none;
}

a:hover {
  text-decoration: none;
}

a span {
  font-size: 90%;
}

h1 {
  font-size: 25px;
}

h2 {
  font-size: 23px;
}

h3 {
  font-size: 21px;
}

h4 {
  font-size: 19px;
}

h5 {
  font-size: 17px;
}

h6 {
  font-size: 15px;
}

ol {
  list-style: decimal;
}

ul {
  list-style: disc;
}

li {
  margin-left: 20px;
  position: relative;
}

p,
dl,
hr,
h1,
h2,
h3,
h4,
h5,
h6,
ol,
ul,
pre,
table,
address,
fieldset,
img {
  margin-bottom: 16px;
}

#wrapper {
  margin-top: 8px;
}

ul li ul,
ol li ol {
  margin-bottom: 0;
}

ol {
  padding: 0 0 0 4px;
}

a img {
  border: none;
  outline: 0;
}

p + h3,
ul + h3,
ol + h3 {
  margin-top: 32px;
}

/* Custom Grid */

.container_12 {
  margin-left: auto;
  margin-right: auto;
  max-width: 1020px;
  padding-left: 20px;
  padding-right: 20px;
}

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

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

@media (min-width: 960px) {
  .content {
    padding-bottom: 32px;
    padding-right: 48px;
  }
}

.float {
  display: inline;
  float: left;
  position: relative;
}

.grid_1,
.grid_2,
.grid_3,
.grid_4,
.grid_5,
.grid_6,
.grid_7,
.grid_8,
.grid_9,
.grid_10,
.grid_11,
.grid_12 {
  overflow: hidden;
  position: relative;
}

@media screen and (min-width: 960px) {
  .container_12 .grid_3 {
    width: 23%;
  }

  .container_12 .grid_4 {
    width: 33.33333333%;
  }

  .container_12 .grid_5 {
    width: 41.66666667%;
  }

  .container_12 .grid_6 {
    width: 50%;
  }

  .container_12 .grid_7 {
    width: 58.33333333%;
  }

  .container_12 .grid_8 {
    width: 66.66666667%;
  }

  .container_12 .grid_9 {
    width: 75%;
  }

  .container_12 .grid_10 {
    width: 83.33333333%;
  }

  .container_12 .grid_11 {
    width: 91.66666667%;
  }

  .container_12 .grid_12 {
    width: 100%;
  }
}

/* Global Classes */

.hr {
  border: none;
  border-bottom: 1px solid #f0f0f0;
  border-top: 1px solid #d6d6d6;
  clear: both;
  height: 0;
  line-height: 0;
  width: 100%;
  font-size: 0;
  padding: 0;
  margin-bottom: 20px;
}

.pr {
  border: none;
  border-bottom: 1px solid #f0f0f0;
  border-top: 1px solid #d6d6d6;
  clear: both;
  height: 0;
  line-height: 0;
  width: 100%;
  font-size: 0;
  padding: 0;
  margin-bottom: 30px;
}

.dotted {
  border-style: dashed;
  border-left: 0;
  border-right: 0;
}

.right {
  float: right;
}

.left {
  float: left;
}

.image-right {
  display: block;
  margin-bottom: 24px;
  padding: 16px;
  border: 1px solid #ddd;
}

@media (min-width: 768px) {
  .image-right {
    float: right;
    margin: 4px 0 16px 24px;
  }
}

a:focus .img_left,
a:hover .img_left {
  border-color: #999;
}

.img_right {
  float: right;
  margin: 10px 0 10px 20px;
}

.clear {
  clear: both;
  display: block;
  overflow: hidden;
  visibility: hidden;
  width: 0;
  height: 0;
}

.tel-link {
  color: #000;
  cursor: default;
}

.tel-link:hover,
.tel-link:focus {
  color: #000;
  text-decoration: none;
}

.subheading {
  color: #000;
  font-size: var(--font-size-m);
  font-weight: bold;
  margin: 0 0 8px;
}

/* Header */

@media (min-width: 480px) {
  .header {
    padding-bottom: 16px;
  }
}

@media (min-width: 960px) {
  .header {
    align-items: flex-end;
    display: flex;
    flex-direction: row-reverse;
    justify-content: space-between;
  }
}

.logo {
  color: #000000;
  font-size: 24px;
  line-height: 1.25;
  padding-top: 20px;
  text-align: center;
}

@media (min-width: 960px) {
  .logo {
    font-size: 24px;
    margin: 0;
    padding: 0;
  }
}

.logo__link {
  color: #000000;
}

.nav {
  display: flex;
  gap: 12px;
  list-style: none;
  justify-content: center;
  margin: 0 -20px;
  padding: 0;
  text-transform: uppercase;
}

@media (min-width: 375px) {
  .nav {
    gap: 20px;
  }
}

@media (min-width: 600px) {
  .nav {
    gap: 24px;
    margin: 0;
  }
}

.nav__item {
  margin-left: 0;
}

.nav__link {
  font-family: 'Helvetica Neue', Helvetica, Arial, sans-serif;
  display: block;
  padding-top: 24px;
  text-decoration: none;
  color: #000000;
  font-size: 12px;
  font-weight: bold;
}

@media (min-width: 480px) {
  .nav__link {
    font-size: 14px;
    padding-left: 8px;
    padding-right: 8px;
  }
}

@media (min-width: 960px) {
  .nav__link {
    padding-top: 44px;
  }
}

.nav__link:hover,
.nav__link:focus,
.nav__link--current {
  background: url(../images/triangle.svg) no-repeat center top;
}

.nav__meta {
  display: none;
}

@media (min-width: 480px) {
  .nav__meta {
    display: block;
    font-weight: normal;
    font-family: 'Lucida Grande', 'Lucida Sans Unicode', Tahoma, Arial,
      san-serif;
    font-size: 11px;
    color: #999999 !important;
    line-height: 16px;
    text-transform: none;
    text-shadow: none;
  }
}

/* Content */

.banner {
  background-position: center center;
  background-repeat: no-repeat;
  background-size: cover;
  height: 0;
  margin: 24px 0 16px;
  padding-bottom: 50%;
  position: relative;
}

.banner--about {
  background-image: url(../images/galleries/gallery1/img1.jpg);
}

.banner--designs {
  background-image: url(../images/galleries/gallery5/img1.jpg);
}

.banner--contact {
  background-image: url(../images/galleries/gallery4/img2.jpg);
}

@media (min-width: 480px) {
  .banner {
    margin: 24px 0 32px;
    padding-bottom: 20%;
  }
}

.banner__heading {
  background-color: #000;
  border-top-right-radius: 8px;
  bottom: 0;
  color: #fff;
  font-size: var(--font-size-m);
  line-height: 1;
  left: 0;
  margin-bottom: 0;
  padding: 16px;
  position: absolute;
}

@media (min-width: 768px) {
  .banner__heading {
    font-size: var(--font-size-l);
  }
}

.callout {
  color: #494949;
  font-size: var(--font-size);
  font-weight: normal;
  padding: 16px 0 20px;
}

@media (min-width: 768px) {
  .callout {
    font-size: var(--font-size-m);
  }
}

.callout__link {
  color: #000;
  display: inline-block;
  font-weight: bold;
}

.home-columns {
  border-top: 1px solid #ddd;
  display: flex;
  flex-wrap: wrap;
  margin-bottom: 16px;
}

.home-column {
  background-color: #fff;
  display: flex;
  flex-direction: column;
  margin: 0;
  padding: 20px;
  position: relative;
  width: 100%;
}

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

@media screen and (min-width: 768px) {
  .home-column {
    width: 25%;
  }
}

.home-column:hover,
.home-column:focus {
  background: linear-gradient(#f2f2f2, #fff);
}

.home-column__image {
  margin-bottom: 0;
  margin-top: auto;
  width: 100%;
}

.home-column__text {
  font-size: var(--font-size-s);
}

.gallery {
  display: flex;
  flex-wrap: wrap;
  gap: 24px;
  margin-bottom: 48px;
  justify-content: center;
}

.portfolio_item {
  width: 223px;
  position: relative;
}

.portfolio_item img {
  padding: 5px;
  border: 1px solid #aaaaaa;
  width: 211px;
  border-radius: 5px;
  background: #f9f9f9;
  margin-bottom: 0px;
  width: 100%;
}

.portfolio_item span {
  display: none;
}

.portfolio_item:hover img {
  box-shadow: 0px 0px 20px #787878;
  background: #f9f9f9;
}

.portfolio_item:hover span {
  display: inline;
  position: absolute;
  bottom: 12px;
  right: 6px;
  padding: 10px 15px 10px 28px;
  background: #f9f9f9 url(../images/zoom.png) no-repeat 6px center;
  color: #000000;
  z-index: 999;
  border-left: 1px solid #aaaaaa;
  border-top: 1px solid #aaaaaa;
  border-top-left-radius: 5px;
  line-height: 1;
}

.clearfix::after {
  clear: both;
  content: ' ';
  display: block;
  font-size: 0;
  line-height: 0;
  visibility: hidden;
  width: 0;
  height: 0;
}

.alpha {
  margin-left: 0;
}

.omega {
  margin-right: 0;
}

.contact-details {
  font-size: 15px;
  margin-bottom: 25px;
}

.contact-details span {
  display: block;
  padding-left: 28px;
  width: 272px;
}

.contact-details .tel {
  background: url(../images/icon-tel.png) no-repeat left 1px;
  padding-bottom: 5px;
}

.contact-details .email {
  background: url(../images/icon-email.png) no-repeat left center;
  font-size: 13px;
}

blockquote {
  background: url(../images/quote.png) no-repeat left top;
  font-size: 14px;
  font-style: italic;
  padding-left: 40px;
  width: 100%;
}

.slick-wrapper {
  margin: 0 -20px;
  padding: 28px 0 48px;
}

@media screen and (min-width: 600px) {
  .slick-wrapper {
    padding: 44px 0 64px;
  }
}

@media screen and (min-width: 960px) {
  .slick-wrapper {
    padding: 84px 0 104px;
  }
}

.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 {
  transform: scale(1.5);
  transition: transform 0.3s;
  z-index: 2;
}

.slick__image {
  margin-bottom: 0;
  width: 100%;
}

/* Footer */

.footer {
  display: flex;
  flex-direction: column;
  font-size: var(--font-size-s);
  gap: 20px;
  justify-content: center;
  padding: 12px 0 28px;
  text-align: center;
  width: 100%;
}

@media (min-width: 480px) {
  .footer {
    flex-direction: row;
    justify-content: space-between;
  }
}

.footer__link {
  color: #494949;
}

.footer__link-top {
  display: block;
  display: flex;
  justify-content: center;
}

.footer__icon {
  width: 24px;
}
