@media (max-width: 920px) {
    .display-lg {
        display: none;
    }

    .full-sm {
        width: 100% !important;
        max-width: none !important;
        box-sizing: border-box;
    }

    .flex-wrap-sm {
        flex-wrap: wrap !important;
    }
}

@media (min-width: 920px) {
    .page {
        max-width: 1060px;
        min-width: 925px;
        margin: 0 auto;
        overflow: hidden;
    }
}


body {
    margin: 0px;
    font-family: "EB Garamond", serif;
    font-optical-sizing: auto;
    font-weight: 400;
    font-style: normal;
    background-color: #ebd7ba;

    display: flex;
    flex-direction: column;
    min-height: 100vh;
}
a {
    outline: 0;
}
hr {
    border: 0;
    border-top: 1px dotted #6b6b6b;
}
u {
    border-bottom: 1px dotted #6b6b6b;
    text-decoration: none;
    cursor: pointer;
}

.font-great-vibes {
    font-family: 'Great Vibes', cursive;
    font-size: 1.5rem;
}

.border {
    position: relative;
    height: 100%;
    border-top: 1px solid #6b6b6b;
    flex: 1;
}

.border::before {
    content: "";

    position: absolute;
    top: 0px;
    right: 0px;
    bottom: 0px;
    left: 0px;
    width: 100%;
    min-height: calc(100vh - 102px);

    object-fit: cover;
    opacity: 0.4;
    background-image: url("/assets/images/background-01.jpg");
    background-position: center;
    background-size: auto 100%;
    background-attachment: fixed;
    background-repeat: no-repeat;
}

.head {
    background: url("/assets/images/noise-400.png") repeat #fffef5;
    height: auto;
}

.header {
    border-bottom: 1px solid #6b6b6b;
    -moz-box-shadow: 0 0 5px 3px #6b6b6b;
    -webkit-box-shadow: 0 0 5px 3px#6b6b6b;
    box-shadow: 0 0 5px 3px #6b6b6b;
}

.head-center {
    height: 100px;
    text-align: center;
    overflow: clip;
    font-size: 16px;
    font-style: italic;
    color: #6b6b6b;
    align-self: stretch;
    white-space: nowrap;
}

.header-ornament {
    padding-right: 25px;
    padding-left: 25px;
    height: 100%;
}

.mirrored {
    transform: scaleX(-1);
}

.head-center a img {
    object-fit: contain;
    height: 90%;
}

.flags {
    list-style-type: none;
    float: right;
    padding-right: 15px;
    position: absolute;
    top: 0px;
    right: 0px;
}

.flags li {
    padding-top: 2px;
}

.flags a:hover {
    filter: alpha(opacity=70);
    opacity: 0.7;
}

.sidebar {
    position: relative;
    text-align: right;
    white-space: nowrap;
    width: 22%;
    float: left;
}

.sidebar ul {
    padding: 0;
    margin: 0px auto;
    list-style-type: none;
    overflow: hidden;
    width: 100%;
}
.sidebar ul li {
    margin-top: 10px;
}
.sidebar a {
    font-size: 2rem;
    color: #919191;

    font-family: 'Great Vibes', cursive;

    line-height: 1;
    text-decoration: none;
    text-shadow: 0 1px 0 #dfdfdf;
    margin: 10px 15px;
}

.sidebar a:hover,
.sidebar li.selected a {
    color: #6b6b6b;
}

.footer {
    background: url("/assets/images/noise-400.png") repeat #fffef5;
    width: 100%;
    height: auto;

    border-top: 1px solid #6b6b6b;
    -moz-box-shadow: 0 0 5px 3px #6b6b6b;
    -webkit-box-shadow: 0 0 5px 3px#6b6b6b;
    box-shadow: 0 0 5px 3px #6b6b6b;
    position: relative;
}

.footer-center {
    height: 40px;
    text-align: center;
    overflow: clip;
    line-height: 40px;
    font-size: 16px;
    white-space: nowrap;

    color: #6b6b6b;
}

.footer-center a {
    color: #6b6b6b;
}

.body {
    position: relative;
    height: auto;
    padding: 15px 10px;
    float: left;
    width: 75%;
}
.body div {
    background: url("/assets/images/noise-400.png") repeat #fffef5;
    -moz-box-shadow: 0 0 5px 3px #6b6b6b;
    -webkit-box-shadow: 0 0 5px 3px#6b6b6b;
    box-shadow: 0 0 5px 3px #6b6b6b;
    overflow: hidden;
}
.body div h2 {
    font-family: 'Great Vibes', cursive;
    font-size: 2rem;
    font-weight: 400;
    line-height: 1;
    color: #7d7d7d;
    padding: 25px 0 0px 20px;
    margin: 0;
}
.body div h3 {
    font-size: 20px;
    font-weight: 400;
    line-height: 22px;
    text-decoration: none;
    color: #7d7d7d;
    padding: 10px 0 0 20px;
    margin: 0;
}
.body div p {
    color: #6b6b6b;
    line-height: 26px;
    padding: 0 0 0 22px;
    margin: 12px 0 0;
    width: 92%;
    text-align: justify;
}

/* Projects page categories */
.projects-categories .category-link {
    height: 357px;
    width: 323px;
    top: 300px;
    right: 10px;
}
.projects-categories span::before {
    content: "";
    top: 280px !important;
    width: 288px !important;
    border-left: 30px solid transparent !important;
}
.projects-categories img {
    margin: 5px 10px;
}

/* Hardware page categories */
.hardware-categories li {
    width: 160px;
}
.hardware-categories img {
    margin: 5px 5px;
}
.hardware-categories span::before {
    content: "";
    width: 110px;
    top: 222px !important;
}
.hardware-categories .category-link {
    height: 297px;
    width: 120px;
    top: 250px;
    right: 10px;
}
#hardware-category-other a {
    top: 230px;
}

.body div p a {
    color: #6b6b6b;
}
.body div p a:hover {
    color: #484848;
}
.body div div {
    background: 0 0;
    box-shadow: none;
    margin: 0 21px;
}
.body div div ul {
    margin: 0;
    padding: 0;
    list-style: none;
    overflow: hidden;
    display: flex;
    justify-content: center;
    flex-wrap: nowrap;
}
.body div div ul li {
    float: left;
    position: relative;
    margin: 7px auto;
}
.headerList.no-bottomborder {
    border-bottom: 0;
}
.headerList {
    margin: 10px;
    padding: 4px 0 7px;
    list-style: none;
    overflow: hidden;
    border-bottom: 1px dotted #6b6b6b;

    display: flex;
    justify-content: center;
    flex-wrap: nowrap;
}
.headerList li {
    text-align: center;
    flex: 1 1 30%;
}
.headerList li h3 a {
    display: inline-block;
    text-decoration: none;
    color: #7c7c7c;
    text-transform: uppercase;
}
#active,
.headerList li h3 a:hover {
    color: #484848;
}

.category-link {
    font-size: 16px;
    text-transform: uppercase;
    text-decoration: none;
    position: relative;
    text-align: right;
    float: right;

    color: #7c7c7c;
    font-weight: 600;
}

.category-link:hover {
    color: #484848;
}

.categories ul li {
    cursor: pointer;
}

.categories li::before {
    content: "";
    background-color: rgba(239,228,176, 0.4);

    position: absolute;
    top: 0px;
    right: 0px;
    bottom: 0px;
    left: 0px;
    width: 100%;
}

.categories span::before {
    content: "";
    position: absolute;
    left: 0;
    top: 182px;
    margin-left: 15x;
    border-bottom: 75px solid rgba(239,228,176, 0.6);
    border-left: 50px solid transparent;
    border-right: 0px solid transparent;
    height: 0;
}

.categories img {
    position: absolute;
}

.home-categories .category-link {
    height: 257px;
    width: 210px;
    top: 200px;
    right: 5px;
}

.home-categories span::before {
    content: "";
    width: 160px;
}

.home-categories img {
    margin: 15px 6px;
}

.body a img {
    object-fit: contain;
    width: 100%;
}

.fancybox {
    padding: 5px 0 0 5px;
}
.middle {
    margin: 5px 0 0 140px;
}
.info-submenu {
    width: 350px;
    margin: 25px 0 0 22px;
    padding: 0;
    list-style: none;
    border: 1px dotted #6b6b6b;
}
.info-submenu li {
    text-align: left;
    padding: 10px 0 5px 22px;
}
.info-submenu li a {
    font-size: 18px;
    color: #919191;
    font-weight: 400;
    text-decoration: none;
    line-height: 22px;
    text-shadow: 0 1px 0 #dfdfdf;
    cursor: pointer;
}
.info-submenu li a:hover {
    color: #6b6b6b;
}
.hidden-content h3.hidden-head {
    font-size: 22px;
    font-weight: 400;
    line-height: 24px;
    text-decoration: none;
    text-transform: uppercase;
    color: #7d7d7d;
    margin: 25px 20px 10px 0;
    padding: 0 0 5px;
    border-bottom: 1px dotted #6b6b6b;
}
.body div .hidden-content p {
    font-size: 15px;
    line-height: 26px;
    color: gray;
    padding: 0;
    margin: 12px 0 0;
    width: 96%;
    text-align: justify;
}
.hidden-content {
    display: none;
}
.do-list {
    margin: 5px 0 10px 5px;
}
.do-list li {
    font-size: 15px;
    color: #6b6b6b;
    font-weight: 400;
    text-decoration: none;
    line-height: 24px;
    padding: 5px;
}
.info-sub-list {
    margin: 5px 0 10px 5px;
}
.info-sub-list li {
    font-size: 15px;
    color: gray;
    font-weight: 400;
    text-decoration: none;
    line-height: 20px;
    padding: 5px;
}
.list {
    margin: 0 0 0 15px;
}
.list li {
    color: #6b6b6b;
    text-decoration: none;
    line-height: 22px;
}
body div p.product-sentence {
    color: #6b6b6b;
    padding: 5px 0 10px 22px;
}

.contact {
    float: left;
    max-width: 350px;
}

.contact-img {
    width: 100%;
    max-height: 500px;
    object-fit: contain;
}

.capitalize {
    text-transform: capitalize;
}
.strong {
    font-weight: 600;
}

.products ul {
    flex-wrap: wrap !important;
}

.products ul li {
    background-color: rgba(239,228,176, 0.4);
    background: url("/assets/images/gallery-bg-sm.jpg");
    background-size: cover;
    text-align: center;
    font-weight: 600;
}

.products ul li div {
    background-color: rgba(239,228,176, 0.4);
    width: 100%;
    margin: 0;
}

.products ul li .fancybox {
    padding: 0;
}

.finishes ul {
    flex-wrap: wrap !important;
}

.finishes ul li {
    background-size: cover;
    font-weight: 600;
    position: relative;
}

.finishes ul li div {
    background-color: rgba(239,228,176, 1.0);
    width: 100%;
    margin: 0;
    position: absolute;
    bottom: -10px;
    text-align: center;
}

.finishes ul li .fancybox {
    padding: 0;
}

.gallery ul {
    flex-wrap: wrap !important;
}

.gallery ul li {
    background-color: rgba(239,228,176, 0.4);
    text-align: center;
}

.gallery ul li .fancybox {
    padding: 0;
}

/*
 * Loader
 */

/* Absolute Center Spinner */
.loading {
  position: fixed;
  z-index: 999;
  height: 2em;
  width: 2em;
  overflow: show;
  margin: auto;
  top: 0;
  left: 0;
  bottom: 0;
  right: 0;
}

/* Transparent Overlay */
.loading:before {
  content: '';
  display: block;
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
    background: radial-gradient(rgba(20, 20, 20,.8), rgba(0, 0, 0, .8));

  background: -webkit-radial-gradient(rgba(20, 20, 20,.8), rgba(0, 0, 0,.8));
}

/* :not(:required) hides these rules from IE9 and below */
.loading:not(:required) {
  /* hide "loading..." text */
  font: 0/0 a;
  color: transparent;
  text-shadow: none;
  background-color: transparent;
  border: 0;
}

.loading:not(:required):after {
  content: '';
  display: block;
  font-size: 10px;
  width: 1em;
  height: 1em;
  margin-top: -0.5em;
  -webkit-animation: spinner 150ms infinite linear;
  -moz-animation: spinner 150ms infinite linear;
  -ms-animation: spinner 150ms infinite linear;
  -o-animation: spinner 150ms infinite linear;
  animation: spinner 150ms infinite linear;
  border-radius: 0.5em;
  -webkit-box-shadow: rgba(255,255,255, 0.75) 1.5em 0 0 0, rgba(255,255,255, 0.75) 1.1em 1.1em 0 0, rgba(255,255,255, 0.75) 0 1.5em 0 0, rgba(255,255,255, 0.75) -1.1em 1.1em 0 0, rgba(255,255,255, 0.75) -1.5em 0 0 0, rgba(255,255,255, 0.75) -1.1em -1.1em 0 0, rgba(255,255,255, 0.75) 0 -1.5em 0 0, rgba(255,255,255, 0.75) 1.1em -1.1em 0 0;
box-shadow: rgba(255,255,255, 0.75) 1.5em 0 0 0, rgba(255,255,255, 0.75) 1.1em 1.1em 0 0, rgba(255,255,255, 0.75) 0 1.5em 0 0, rgba(255,255,255, 0.75) -1.1em 1.1em 0 0, rgba(255,255,255, 0.75) -1.5em 0 0 0, rgba(255,255,255, 0.75) -1.1em -1.1em 0 0, rgba(255,255,255, 0.75) 0 -1.5em 0 0, rgba(255,255,255, 0.75) 1.1em -1.1em 0 0;
}

/* Animation */

@-webkit-keyframes spinner {
  0% {
    -webkit-transform: rotate(0deg);
    -moz-transform: rotate(0deg);
    -ms-transform: rotate(0deg);
    -o-transform: rotate(0deg);
    transform: rotate(0deg);
  }
  100% {
    -webkit-transform: rotate(360deg);
    -moz-transform: rotate(360deg);
    -ms-transform: rotate(360deg);
    -o-transform: rotate(360deg);
    transform: rotate(360deg);
  }
}
@-moz-keyframes spinner {
  0% {
    -webkit-transform: rotate(0deg);
    -moz-transform: rotate(0deg);
    -ms-transform: rotate(0deg);
    -o-transform: rotate(0deg);
    transform: rotate(0deg);
  }
  100% {
    -webkit-transform: rotate(360deg);
    -moz-transform: rotate(360deg);
    -ms-transform: rotate(360deg);
    -o-transform: rotate(360deg);
    transform: rotate(360deg);
  }
}
@-o-keyframes spinner {
  0% {
    -webkit-transform: rotate(0deg);
    -moz-transform: rotate(0deg);
    -ms-transform: rotate(0deg);
    -o-transform: rotate(0deg);
    transform: rotate(0deg);
  }
  100% {
    -webkit-transform: rotate(360deg);
    -moz-transform: rotate(360deg);
    -ms-transform: rotate(360deg);
    -o-transform: rotate(360deg);
    transform: rotate(360deg);
  }
}
@keyframes spinner {
  0% {
    -webkit-transform: rotate(0deg);
    -moz-transform: rotate(0deg);
    -ms-transform: rotate(0deg);
    -o-transform: rotate(0deg);
    transform: rotate(0deg);
  }
  100% {
    -webkit-transform: rotate(360deg);
    -moz-transform: rotate(360deg);
    -ms-transform: rotate(360deg);
    -o-transform: rotate(360deg);
    transform: rotate(360deg);
  }
}

.fancybox__image {
    background-color: rgba(239,228,176, 0.4);
    background: url("/assets/images/gallery-bg-lg.jpg");
    background-size: cover;
}
.carousel__slide {
    background-color: rgba(239,228,176, 0.4);
    background: url("/assets/images/gallery-bg-sm.jpg");
    background-size: cover;
}
