/* Fonts */
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, 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, table, caption, tbody, tfoot, thead, tr, th, td, article, aside, canvas, details, embed, figure, figcaption, footer, header, hgroup, menu, nav, output, ruby, section, summary, time, mark, audio, video {
    border: 0 none;
    margin: 0;
    outline: medium none;
    padding: 0;
    vertical-align: baseline;
    font-family: 'Open Sans';
    color: #FFFFFF;
}

#menu {
    background-repeat: no-repeat;
    background-color: #c3bfb5;
}

#menu {
    display: flex;
    flex-wrap: wrap;
    height: 100vh;
    width: 100vw;
}

.logo {
    width: 100%;
}

.logo img {
    min-width: 240px;
    width: 8%;
}

.top {
    width: 100%;
    display: flex;
    align-items: center;
    justify-content: center;
    flex-wrap: wrap;
    margin: 3vh 0;
    max-height: 15vh;
}

.top p {
    font-size: 1.688rem;
    color: #FFFFFF ;
    margin-top: 15px;
}

.home-selection {
    display: flex;
    align-items: center;
    flex-grow: 1;
    height: 79vh;
    width: 100%;
}

.text-center {
    text-align: center;
}

.home-selection { 
    margin-left: 12vw;
}

.home-selection p {
    font-weight: 300;
    font-size: 2rem;
    margin-bottom: 4vh;
    color: #FFFFFF;
}

.home-selection ul {
    list-style-type: none;
}

.home-selection ul li {
    margin: 6vh 0;
    position: relative;
    height: 40px;
}

.home-selection ul li a {
    font-family: 'Philosopher';
    font-size: 3.188rem;
    color: #FFFFFF;
    text-decoration: none;
    background-repeat: no-repeat;
    background-size: auto 45px;
    background-position: center left;
}

.splash.size-selection .home-selection ul li a {
    padding-left: 50px;
}

.home-selection ul li a:hover, .home-selection ul li.active a {
    color: #8c8477;
}

.home-selection ul li.active:before {
    position: absolute;
    content: "";
    left: -40px;
    width: 18px;
    height: 18px;
    background-image: url(../images/arrow.png?v=5);
    background-repeat: no-repeat;
    background-size: 18px 18px;
    bottom: 10px;
}

.home-selection ul li.full-bottle a {
    background-image: url('../images/full-bottle.png?v=3');
}

.home-selection ul li.full-bottle.active a {
    background-image: url('../images/full-bottle-selected.png?v=3');
}

.home-selection ul li.half-bottle a {
    background-image: url('../images/half-bottle.png?v=3');
}

.home-selection ul li.half-bottle.active a {
    background-image: url('../images/half-bottle-selected.png?v=3');
}

.home-selection ul li.glass a {
    background-image: url('../images/glass.png?v=4');
    background-size: 23px;
}

.home-selection ul li.glass.active a {
    background-image: url('../images/glass-selected.png?v=3');
}

.tap-to-select .home-selection .wrap {
    opacity: 0;
    pointer-events: none;
    margin-top: 30px;
}

.home-selection .wrap {
    display: block !important;
    margin-top: 0;
    opacity: 1;
    -webkit-transition: all 500ms ease;
    -moz-transition: all 500ms ease;
    -ms-transition: all 500ms ease;
    -o-transition: all 500ms ease;
    transition: all 500ms ease;
}

.black-bg {
    background-color: #c3bfb5;
}

#products {
    display: flex;
    flex-wrap: wrap;
    height: 100vh;
    width: 100vw;
    background-repeat: no-repeat;
    background-color: #c3bfb5;
}

#products .scroll {
    overflow-y: auto;
    height: 100%;
}

#products .selections {
    position: absolute;
    top: 140px;
    bottom: 110px;
    left: 0;
    right: 0;
}

#products .type-selected .selections {
    top: 145px;
}

#products .back {
    position: absolute;
    bottom: 35px;
    left: 0;
    right: 0;
    text-align: center;
    font-size: 1.2rem;
    text-decoration: none;
    color: #5b5d64;
}

#products .back span {
    width: 10px;
    height: 12px;
    background-image: url(../images/back.svg?v=3);
    background-repeat: no-repeat;
    display: inline-block;
    background-size: cover;
    margin-right: 10px;
}

.primary-color {
    color: #FFFFFF;
}

.side-nav {
    position: fixed;
    width: 13vw;
    padding: 0 2vw;
    margin-left: 2vw;
    top: 0;
    bottom: 0;
    left: 0;
}

.side-nav:before {
    position: absolute;
    content: "";
    top: 50px;
    bottom: 50px;
    width: 1px;
    right: 0;
    background-color: #FFFFFF;
}

.side-nav .title {
    font-size: 1.525rem;
    color: #FFFFFF;
    padding: 30px 0;
    text-align: center;
    position: relative;
    margin-top: 40px;
}

.side-nav.type-selected .title {
    padding: 0 0 20px;
    margin-top: 35px;
}

.side-nav .title .selected-type {
    display: flex;
    align-items: center;
}

.side-nav .title .white-type:before {
    position: absolute;
    content: "";
    width: 12px;
    height: 12px;
    border-radius: 10px;
    background-color: #5b5d64;
    left: 0;
    top: 50%;
    margin-top: -7px;
}

.side-nav .title .selected-type span {
    width: 12px;
    height: 12px;
    border-radius: 10px;
}

.side-nav .title .selected-type p {
    margin-left: 15px;
}

.side-nav .title.selected > p {
    margin-bottom: 20px;
}

.side-nav .title.selected span {
    padding-left: 25px;
    position: relative;
}

.side-nav .title:before {
    position: absolute;
    content: "";
    left: 10%;
    right: 10%;
    height: 1px;
    background-color: #FFFFFF;
    bottom: 0;
}

.side-nav .type ul li {
    list-style-type: none;
    text-align: center;
}

.side-nav .type ul li a {
    text-transform: uppercase;
    display: block;
    color: #FFFFFF;
    text-decoration: none;
    padding: 50px 0;
}

.side-nav .type ul li span {
    width: 12px;
    height: 12px;
    border-radius: 10px;
    display: inline-block;
    margin-bottom: 10px;
}

.selections .white-type span {
    background-color: #FFFFFF;
}

.selections .sparkling-type span, .selections .champagne-type span {
    background-color: #f2ddb5;
}

.selections .rose-type span, .selections .champagne-rose-type span {
    background-color: #c46e8a;
}

.selections .red-type span {
    background-color: #780f12;
}

.selections .orange-type span {
    background-color: #eeae21;
}

.selections .sweet-type span {
    background-color: #f0e891;
}

.selections .fortified-type span {
    background-color: #a92d07;
}

.selections .magnum-type span, .selections .large-formats-type span {
    background-color: green;
}

#products .selections .filter-item {
    margin: 10px 0 30px;
    text-align: center;
}

#products .selections .filter-item p {
    color: #FFFFFF;
    font-size: 1.1rem;
    letter-spacing: 1px;
}

#products .selections .filter-item select {
    width: 140px;
    max-width: 90%;
    margin: 10px auto 0;
    border: 2px solid #FFFFFF;
    border-radius: 17px;
    padding: 4px 15px 2px;
    background-color: #c3bfb5;
    color: #FFFFFF;
    font-family: 'Open Sans';
    font-size: 1rem;
    letter-spacing: 1px;
    -webkit-appearance: none;
    background-image: url('../images/select.png?v=3');
    background-size: 8px;
    background-repeat: no-repeat;
    background-position: 92% center;
}

#products .selections .filter-item select:focus, #products .selections .filter-item select:hover {
    border: 2px solid #FFFFFF;
}

.header {
    position: fixed;
    top: 0px;
    left: 22vw;
    width: 76vw;
    border-bottom: 1px solid #5b5d64;
    height: 107px;
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding-top: 20px;
}

.selected-filters span {
    color: #5b5d64;
    font-size: 1.125rem;
    margin: 4px 25px 3px;
    position: relative;
}

.selected-filters span:after {
    position: absolute;
    content: "";
    top: 0;
    right: -12px;
    background-image: url("../images/close.svg?v=1");
    background-repeat: no-repeat;
    background-size: 8px 11px;
    width: 8px;
    height: 11px;
}

.filter {
    margin-left: 20vw;
    width: 76vw;
    padding: 0 2vw;
    margin-top: 130px;
    position: fixed;
    top: 0;
    bottom: 0;
    overflow: auto;
}

.filter:after {
    position: fixed;
    content: "";
    background-image: url(../images/shadow.png);
    background-repeat: no-repeat;
    background-size: cover;
    height: 77px;
    bottom: 0;
    left: 20vw;
    right: 0;
    z-index: 999999;
    display: none;
}

.filter .selected {
    border-bottom: 1px solid #5b5d64;
}

.results {
    margin: 0px 15px 50px;
}

.results .product {
    padding: 30px 20px;
    color: #FFFFFF;
    position: relative;
    border-bottom: 1px solid #5b5d64;
    font-weight: normal;
    background-repeat: no-repeat;
    background-size: cover;
}

/*.results .product:nth-child(even) {
    background-image: url("../images/seperator.png");
}*/

.results .product h1 {
    margin-bottom: 45px;
    font-family: 'Philosopher';
    font-weight: normal;
    font-size: 2.6rem;
    letter-spacing: 2px;
    max-width: 85%;
    line-height: 43px;
}

.results .product p {
    font-size: 1rem;
    letter-spacing: 0.8px;
}

.results .product .price {
    color: #5b5d64;
    font-size: 2rem;
    position: absolute;
    top: 25px;
    right: 60px;
}

.search {
    width: 200px;
    padding: 0 14px;
    border: 2px solid #505462;
    border-radius: 9999em;
    background-color: #c3bfb5;
}

.search .input {
    position:relative;
	font-size: 1.5em;
	/* background: linear-gradient(21deg, rgba(105, 109, 122, 1), rgba(46, 50, 66, 1)); */
	padding: 3px;
	display: inline-block;
	border-radius: 9999em;
	border: 2px solid #505462;
}

.search .input span {
    /*transform: scale(0.993, 0.94);
    transition: transform 0.5s, opacity 0.25s;*/
    opacity: 0;
    position: absolute;
    z-index: 0;
    margin: 4px;
    left: 0;
    top: 0;
    right: 0;
    bottom: 0;
    border-radius: inherit;
    pointer-events: none;
}

.search input {
    position: relative;
    display: inherit;
    border-radius: inherit;
    margin: 0;
    border: none;
    outline: none;
    padding: 0 0.325em;
    z-index: 1;
    background-color: #c3bfb5;
    color: #8c8477;
    line-height: 33px;
    -webkit-appearance: none;
    font-family: 'Open Sans';
}

#products.beverages .header {
    left: 2vw;
    width: 96vw;
}

#products.beverages .filter {
    margin-left: 0vw;
    width: 96vw;
}

#products.beverages .results .product h1 {
    margin-bottom: 0;
}

#products.beverages .filter:after {
    left: 0;
}

#products.beverages .back {
    left: 2vw;
    right: unset;
}

#products.beverages .results .product span.type {
    margin-bottom: 5px;
    display: block;
    font-style: italic;
}

#products.beverages .results .product p {
    margin-top: 10px;
}

#burger-menu {
    display: none;
      width: 33px;
    height: 24px;
    margin: 26px 0 0 4vw;
    z-index: 2;
  position: fixed;
  top: 0;
  bottom: 0;
  -webkit-transform: rotate(0deg);
  -moz-transform: rotate(0deg);
  -o-transform: rotate(0deg);
  transform: rotate(0deg);
  -webkit-transition: .35s ease-in-out;
  -moz-transition: .35s ease-in-out;
  -o-transition: .35s ease-in-out;
  transition: .35s ease-in-out;
  cursor: pointer;
}

#burger-menu span {
  display: block;
  position: absolute;
  height: 3px;
  width: 100%;
  background: #FFFFFF;
  border-radius: 9px;
  opacity: 1;
  left: 0;
  -webkit-transform: rotate(0deg);
  -moz-transform: rotate(0deg);
  -o-transform: rotate(0deg);
  transform: rotate(0deg);
  -webkit-transition: .35s ease-in-out;
  -moz-transition: .35s ease-in-out;
  -o-transition: .35s ease-in-out;
  transition: .35s ease-in-out;
}

#burger-menu span:nth-child(1) {
  top: 0px;
}

#burger-menu span:nth-child(2) {
  top: 10px;
}

#burger-menu span:nth-child(3) {
  top: 20px;
}

#burger-menu.open span:nth-child(1) {
  top: 10px;
  -webkit-transform: rotate(135deg);
  -moz-transform: rotate(135deg);
  -o-transform: rotate(135deg);
  transform: rotate(135deg);
}

#burger-menu.open span:nth-child(2) {
  opacity: 0;
  left: -60px;
}

#burger-menu.open span:nth-child(3) {
  top: 10px;
  -webkit-transform: rotate(-135deg);
  -moz-transform: rotate(-135deg);
  -o-transform: rotate(-135deg);
  transform: rotate(-135deg);
}

.side-nav-bg {
    display: none;
    position: fixed;
    top: 0;
    right: 0;
    bottom: 0;
    left: 0;
    background-color: #000000;
    opacity: 0.7;
    z-index: 1;
}

.toggle-fullscreen {
    position: absolute;
    top: 20px;
    right: 20px;
}