@charset "utf-8";

/* CSS Document for OLIVIA */
/* Import Chandler42 Fonts */
@import url("https://use.typekit.net/nvo8kjh.css");

/* Splendid 66 Bold */
@font-face {
    font-family: Splendid66B;
    src: url(https://vinu-winelists.s3-us-west-2.amazonaws.com/iframe-content/Splendid66/SplendidB.ttf) format('truetype');
    font-display: auto;
}

/* Splendid 66 Normal */
@font-face {
    font-family: Splendid66N;
    src: url(https://vinu-winelists.s3-us-west-2.amazonaws.com/iframe-content/Splendid66/SplendidN.ttf) format('truetype');
    font-display: auto;
}

/* Archer Semibold Pro */
@font-face {
    font-family: 'ArcherSemibold';
    src: font-url('https://vinu-winelists.s3-us-west-2.amazonaws.com/iframe-content/Archer-Semibold-Pro/Archer-Semibold-Pro.eot');
    src: font-url('https://vinu-winelists.s3-us-west-2.amazonaws.com/iframe-content/Archer-Semibold-Pro/Archer-Semibold-Pro.eot?#iefix') format('embedded-opentype'),
         font-url('https://vinu-winelists.s3-us-west-2.amazonaws.com/iframe-content/Archer-Semibold-Pro/Archer-Semibold-Pro.woff') format('woff'),
         font-url('https://vinu-winelists.s3-us-west-2.amazonaws.com/iframe-content/Archer-Semibold-Pro/Archer-Semibold-Pro.ttf') format('truetype'),
         font-url('https://vinu-winelists.s3-us-west-2.amazonaws.com/iframe-content/Archer-Semibold-Pro/Archer-Semibold-Pro.svg') format('svg');
    font-weight: normal;
    font-style: normal;
}

/* Calibri Light */
@font-face {
	font-family: 'Calibri';
	src: url('https://vinu-winelists.s3-us-west-2.amazonaws.com/iframe-content/Calibri-Light/Calibri-Light.eot');
	src: url('https://vinu-winelists.s3-us-west-2.amazonaws.com/iframe-content/Calibri-Light/Calibri-Light.eot?#iefix') format('embedded-opentype');
	src: url('https://vinu-winelists.s3-us-west-2.amazonaws.com/iframe-content/Calibri-Light/Calibri-Light.woff') format('woff');
	src: url('https://vinu-winelists.s3-us-west-2.amazonaws.com/iframe-content/Calibri-Light/Calibri-Light.ttf') format('truetype');
	font-weight: 300;
	font-style: normal;
}


/*
FONT INFO

Archer Semibold Pro
font-family: "Archer-Semibold", slab-serif;

Chandler42 Light
font-family: "chandler-42-regular", serif;
font-weight: 300;
font-style: normal;
--weight-light: 300;

Chandler42 Regular
font-family: "chandler-42-regular", serif;
font-weight: 400;
font-style: normal;
--weight-regular: 400;

Chandler42 Medium
font-family: "chandler-42-regular", serif;
font-weight: 500;
font-style: normal;
--weight-medium: 500;

Chandler42 Noir
font-family: "chandler-42-regular", serif;
font-weight: 800;
font-style: normal;
--weight-noir: 800;

Splendid 66 Normal
font-family: "Splendid66N", serif;
font-weight: 400;
font-style: normal;

Splendid 66 Bold
font-family: "Splendid66B", serif;
font-weight: 400;
font-style: normal;

*/


/*==============CSS 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,
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 {
    margin: 0;
    padding: 0;
    border: 0;
    font-size: 100%;
    font: inherit;
}


/* HTML5 display-role reset for older browsers */

article,
aside,
details,
figcaption,
figure,
footer,
header,
hgroup,
menu,
nav,
section {
    display: block;
}

body {
    line-height: 1;
}

ol,
ul {
    list-style: none;
}

blockquote,
q {
    quotes: none;
}

blockquote:before,
blockquote:after,
q:before,
q:after {
    content: "";
    content: none;
}

table {
    border-collapse: collapse;
    border-spacing: 0;
}


/*==============GENERAL CSS START==============*/

:root {
    font-size: 16px;
    --black-color: #362f2d;
	--black-color-low-opacity: rgba(54, 47, 45, 0.8);
    --color-OffBlack: #3a3a3a;
    --color-OffWhite: #f1f1f1;
    --color-DarkGold: #b9923c;
    --color-LightGold: #cbad67;
    --font-serif: "chandler-42-regular", serif;
    --font-splendidbold: "Splendid66B", serif;
    --font-splendidnormal: "Splendid66N", serif;
    --font-archersemibold: "Archer-Semibold", slab-serif;
    --font-calibrilight: "Calibri", sans-serif;
    --weight-light: 300;
    --weight-regular: 400;
    --weight-medium: 500;
    --weight-noir: 800;
}

html {
    font-size: 16px;
    /* font-feature-settings: "smcp" 1, "lnum" 1; // small caps
    -webkit-font-feature-settings: "smcp" 1, "lnum" 1; // small caps
    -moz-font-feature-settings: "smcp" 1, "lnum" 1; // small caps
    -ms-font-feature-settings: "smcp" 1, "lnum" 1; // small caps */
    -webkit-font-smoothing: antialiased;
    -webkit-tap-highlight-color: rgba(0, 0, 0, 0);
}

body {
    font-size: 100%;
    background-color: transparent;
    margin: 0;
    font-family: var(--font-splendidbold);
    font-style: normal;
    line-height: 1.75;
}

.container-fluid {
    background: transparent;
}

table {
    background: transparent;
}

#content {}

h1:first-letter,
h1:first-letter,
h3:first-letter,
h4:first-letter,
h5:first-letter,
h6:first-letter {
    text-transform: uppercase;
}

h1,
h2,
h3,
h4,
h5,
h6 {
    color: var(--color-DarkGold);
    font-family: var(--font-splendidbold);
    font-style: normal;
    -webkit-font-smoothing: antialiased;
}

.header.section td h1 {
    background-color: var(--color-DarkGold) !important;
    color: #FFFFFF;
    display: inline-block;
    letter-spacing: 0.05em;
    line-height: 125%;
    margin-bottom: 0.625em;
    padding: 5px 10px;
    text-transform: uppercase;
    text-align: center;
    font-family: var(--font-splendidbold);
    font-size: 2.8em;
    font-style: normal;
    font-weight: var(--weight-regular);
    width: 100%;
}



/* .header.page+table.section .header.section h1 {
    margin-top: 0;
} */

table.section {
    margin-top: 0;
}

table {
    background: transparent;
    /*     border-collapse: collapse; */
}

.page-numbers+table.section {
    margin: 0;
}


/*==============BEGIN SECTIONS=============*/

.rule-info {
    /*     margin-left: 20px; */
}


/* h1 {
    margin: 0;
    font-size: 2rem;
} */


/* SELECT ALL BUT THE FIRST H1 SECTION */

.wine+.section .header h1 {
    margin-top: 3.0rem;
}

.rule-info+.h1 .header.section h1 {
    margin-top: 3.0rem;
}

h2 {
    color: var(--color-DarkGold);
    font-family: var(--font-serif);
    font-size: 1.8rem;
    font-style: normal;
    font-weight: var(--weight-medium);
    letter-spacing: 0.22rem;
    line-height: 2.0rem;
    text-align: center;
    text-transform: uppercase;
}

/* h2::before {
    font-family: var(--font-serif);
    content: '― ';
} */

/* h2::after {
    font-family: var(--font-serif);
    content: ' ―';
} */


/* SELECT ALL H2 SECTIONS THAT FALL IMMEDIATELY AFTER AN H1 SECTION */

.section+.section h2 {
    margin-top: 1.0rem;
}

.h1+ .h2 h2 {
    margin-bottom: 1.0rem;
}

/* SELECT ALL H2 SECTIONS THAT DON'T FALL IMMEDIATELY AFTER AN H1 SECTION */

.rule-info+.h2 h2 {
    margin-top: 3.0rem;
		margin-bottom: 1.0rem;
}

/* SELECT ALL H2 SECTIONS THAT ARE THE ONLY TITLES BETWEEN TWO WINE BLOCKS */
.h4~ .h2 h2 {
    margin-bottom: 1.0rem;
}

h3 {
    color: var(--color-LightGold);
    display: inline-block;
    font-family: var(--font-splendidbold);
    font-size: 2.2rem;
    font-style: normal;
    font-weight: var(--weight-regular);
    letter-spacing: 0.3rem;
    line-height: 1;
    position: relative;
    text-align: left;
    text-transform: uppercase;
}


/* SELECT ALL H3 SECTIONS THAT FALL IMMEDIATELY AFTER AN H1 TITLE */

.h1+ .h3 {
    margin-top: 1.0rem;
}


/* SELECT ALL H3 SECTIONS THAT FALL IMMEDIATELY AFTER A WINE BLOCK */

.rule-info+.h3 h3 {
    margin-top: 1.0rem;
}

/* SELECT ALL H3 SECTIONS THAT FALL IMMEDIATELY AFTER AN H2 TITLE */

.h2+ .h3 h3 {
    margin-top: 0.25rem;
}

h4 {
    color: var(--color-LightGold);
    font-family: var(--font-splendidbold);
    font-size: 1.6rem;
    font-style: normal;
    font-weight: var(--weight-regular);
    letter-spacing: 0.1rem;
    text-transform: uppercase;
}

h4::before {
    font-family: var(--font-serif);
    content: '» ';
}

/* SELECT ALL H4 SECTIONS THAT ARE THE ONLY TITLES BETWEEN TWO WINE BLOCKS */

.h3+ .h4 h4 {
    margin-top: 0.25rem;
}

/* SELECT ALL H4 SECTIONS THAT FALL IMMEDIATELY AFTER A WINE BLOCK */

.rule-info+ .h4 h4 {
    margin-top: 1.0rem;
}



/*==============END SECTIONS=============*/


/*==============BEGIN WINE CELL=============*/

tr {
    border: none;
}


/* SELECT ALL WINES THAT FALL IMMEDIATELY AFTER A SECTION HEADER */

.wine:nth-child(1) {
    margin-top: 0.5rem;
}


/* Each Wine Cell */

.wine {
    border-collapse: collapse;
    margin-bottom: 0.8rem;
    /* Distance between wine cells */
}


/* Bin Number */

table.wine tr td.bin-number {
    color: var(--color-OffBlack);
    font-family: var(--font-serif);
    font-size: 0.85rem;
    padding-left: 10px;
    padding-right: 5px;
    text-align: center;
    vertical-align: top;
    width: 40px;
}

/* .wine td.bin_number h3 {
    color: #bcbcbc;
    font-size: 0.5rem;
    font-weight: 600;
    margin-top: 5px;
    vertical-align: top;
} */


/* Wine Name and Origin Group*/

.title {
    display: table-cell;
    padding-right: 6rem;
    vertical-align: bottom;
}


/* Wine Name */

.wine-name {
    color: var(--color-OffBlack);
    display: table-cell;
    font-family: var(--font-calibrilight);
    font-style: normal;
    font-size: 1.33rem;
    letter-spacing: 0.01rem;
    line-height: 1.0rem;
    max-width: 80%;
    text-align: left;
    text-transform: uppercase;
    vertical-align: bottom;
}


/* Wine Origin */

.origin {
    color: var(--color-DarkGold);
    display: block;
    font-family: var(--font-serif);
    font-style: normal;
    font-size: 0.89rem;
    font-weight: var(--weight-medium);
    letter-spacing: 0.05rem;
    line-height: 1.0rem;
    margin-top: 0.1rem;
    text-align: left;
    text-transform: uppercase;
}

.title+td {}


/* Wine Serving Format and Price*/

.serving-container {
    display: block;
    float: right;
    width: max-content;
}

.serving-price {
    display: inline;
}

.serving-format {
    display: inline;
}

.serving {
    display: inline;
    margin-top: 0;
    padding-left: 0;
    padding-right: 0;
    padding-top: 0;
    text-align: right;
    vertical-align: super;
}


/* Selects the second serving format for wines with two formats*/

.serving+.serving {
    margin-bottom: 2px;
    margin-top: -2px;
    margin-right: 0;
    margin-left: 10px;
}


/* Wine Price */

.price {
    color: var(--color-DarkGold);
    font-family: var(--font-splendidbold);
    font-style: normal;
    font-size: 1.3rem;
    font-weight: var(--weight-regular);
}


/* Wine Serving Format*/

.format {
    color: var(--black-color-low-opacity);
    display: inline;
    font-family: var(--font-splendidbold);
    font-style: normal;
    font-size: 1.0rem;
    font-weight: var(--weight-regular);
    /* letter-spacing: -0.04em; */
    margin-top: 0.2rem;
    text-transform: uppercase;
}

.format::before {}


/* Wine Tasting Note */

tr td.description {
    display: flex;
    width: 90%;
}

.description {
    color: var(--color-OffBlack);
    font-family: var(--font-splendidnormal);
    font-style: normal;
    font-size: 1.25rem;
    font-weight: var(--weight-regular);
    letter-spacing: -0.03rem;
    line-height: 1.08rem;
    padding-top: 0rem;
    text-transform: none;
}


/*==============END WINE CELL=============*/


/*====
  MEDIA QUERIES
====*/

@media screen and (min-width: 768px) and (max-width: 1140px) {
    /*==== TABLET ====*/
    .header.section td h1 {
        font-size: 2.7rem;
    }
    table.wine tr td.bin-number  {
        font-size: 0.95rem;
    }
    .wine+.section .header h1 {
        margin-top: 3.2rem;
    }
    .rule-info+.h1 .header.section h1 {
        margin-top: 3.2rem;
    }
    .h2 + .h3 h3 {
        margin-top: 2.0rem;
    }
    h2 {
        font-size: 1.7rem;
    }
    .rule-info + .h3 h3 {
        margin-top: 2.0rem;
    }
    h3{
        font-size: 2.1rem;
    }
    .wine-name {
        font-size: 1.2995rem;
    }
    .origin {
        font-size: 0.85rem;
    }
    .price {
        font-size: 1.3rem;
    }
    .format {
        font-size: 0.9rem;
        letter-spacing: -0.04rem;
    }
    tr td.description {
        width: 85%;
    }
    .description {
        font-size: 1.18rem;
        line-height: 1.08rem;
    }
}

@media screen and (min-width: 480px) and (max-width: 767px)  {
    /*==== MOBILE LANDSCAPE====*/
    .header.section td h1 {
    }
    .wine+.section .header h1 {
        margin-top: 3.2rem;
    }
    .rule-info+.h1 .header.section h1 {
        margin-top: 3.2rem;
    }
    h2 {
        font-size: 1.6rem;
    }
    .rule-info + .h3 h3 {
        margin-top: 2.0rem;
    }
    h3 {
        font-size: 2rem;
    }
    .h2 + .h3 h3 {
        margin-top: 2.0rem;
    }
    .section+.section h2 {
        margin-bottom: 1.0rem;
    }
    .wine {
        margin-bottom: 1.0rem;
    }
    table.wine tr td.bin-number  {
        font-size: 0.95rem;
        min-width: 30px;
        padding-right: 10px;
    }
    .title {
        padding-right: 3.0rem;
    }
    .wine-name {
        font-size: 1.243rem;
        line-height: 1.2rem;
    }
    .origin {
        font-size: 0.87rem;
    }
    .serving {
        display: block;
    }
    .price {
        font-size: 1.25rem;
    }
    .format {
        font-size: 0.9rem;
        letter-spacing: -0.04rem;
    }
    tr td.description {
        width: 100%;
        display: table-cell;
    }
    .description {
        font-size: 1.2rem;
        line-height: 1.08rem;
    }
}

@media screen and (max-width:479px) {
    /*==== MOBILE PORTRAIT====*/
    .header.section td h1 {
        font-size: 2.5em;
    }
    .wine+.section .header h1 {
        margin-top: 3.2rem;
    }
    .rule-info+.h1 .header.section h1 {
        margin-top: 3.2rem;
    }
    .section+.section h2 {
        margin-bottom: 1.0rem;
    }
    h2 {
        font-size: 1.6rem;
    }
    .h2 + .h3 h3 {
        margin-top: 0.8rem;
    }
    h3 {
        font-size: 1.9rem;
    }
    .wine {
        margin-bottom: 1.0rem;
    }
    table.wine tr td.bin-number  {
        font-size: 0.95rem;
        min-width: 30px;
        padding-right: 10px;
    }
    .title {
        padding-right: 3.0rem;
    }
    .wine-name {
        font-size: 1.1978rem;
        line-height: 1.3rem;
    }
    .origin {
        font-size: 0.82rem;
    }
    .serving {
        display: block;
    }
    .price {
        font-size: 1.2rem;
    }
    .format {
        font-size: 0.85rem;
        letter-spacing: -0.03rem;
    }
    tr td.description {
        display: table-cell;
        font-size: 1.1rem;
        line-height: 1.1rem;
        width: 100%;
    }
}
