/*
Theme Name: Wine Portal */

:root {
    --color-beige: #FCF7EF;
    --color-grey: #484E47;
    --color-kahki: #B8BAAC;
    --color-salmon: #F7ECE2;
    --color-black: #171F2C;
    --color-black-hover: #232F43;
    --color-red-dark: #C7584E;
    --color-blue: #00ACFC;
    --color-yellow: #FFBF00;
    --color-red: #FF383E;
    --color-green: #36C440;
    --color-grey-darkest: #212529;
    --color-grey-dark: #343A40;
    --color-grey-mid-dark: #495057;
    --color-gery: #6C757D;
    --color-grey-mid: #ADB5BD;
    --color-grey-light: #CED4DA;
    --color-grey-lighter: #DEE2E6;
    --color-grey-lightest: #E9ECEF;
    --color-white: #F8F9FA;
    --color-white-pure: #fff;
    --color-gold: #E5C19F;
	--color-gold:#996e42;
}

a,
a:focus,
a:hover {
    text-decoration: none;
    cursor: pointer;
    color: var(--color-black);
}

a:hover .fa-long-arrow-right {
    margin-left: .5rem;
}

body {
    font-family: 'proxima-nova', sans-serif;
    margin: 0;
    font-weight: 300;
    color: var(--color-black);
    font-size: 16px;
    background-color: var(--color-white);
}

h1,
h2,
h3,
h4,
h5,
h6 {

    font-family: 'ivypresto-display', serif;
    font-weight: 200;
}

.sanserif {
    font-family: 'proxima-nova', sans-serif !important;
}

.strong {
    font-weight: 400 !important;
}

h1 {
    font-size: 2rem;
}

h3 {
    font-size: 2.285714286rem;
}

h3 {
    font-size: 1.571428571rem;
}
.single-jobpostings h1,
.page-template-page-simple h1 {
    font-size: 1.75rem;
}

.text-huge {
    font-family: 'ivypresto-display', serif;
    font-size: 60px;
    font-weight: 300;
    line-height: 40px;
    padding: .5rem;
}

.text-white {
    color: var(--color-white-pure);
}

.text-red {
    color: var(--color-red-dark);
}
.text-gold{
	color:var(--color-gold);
}
header {
    background-color: var(--color-beige);
}

.lead {
    font-size: 1.20rem;
}

.page-template-page-home header {
    background-color: unset;
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
}

.page-template-page-home .overlap {
    margin-top: -32.5vw;
    border-radius: .5rem;
}

.page-template-page-home .overlap img {
    height: 65vw;
    width: 86.6667vw;
    border-radius: .5rem;
}

img {
    max-width: 100%;
    max-height: 100%;
}

#top-menu-nav a {
    color: var(--color-black);
    font-size: 1rem;
}

.navbar-brand {
    height: 42px;
}

.navbar-light .toggler {
    border: none;
    padding: 0.25rem 0.75rem;
    font-size: 1.25rem;
    line-height: 1;
    background-color: transparent;
    border-radius: 0.25rem;
}

#main-nav-mob {
    position: fixed;
    top: 0;
    left: 0;
    min-height: 100vh;
    width: 100vw;
    overflow-x: hidden;
    overflow-y: scroll;
    background-color: var(--color-white);
    z-index: 1;
    display: none;
}

#main-nav-mob li a {
    color: var(--color-black);
    font-size: 1.285714286rem;
    padding-top: 1rem;
    padding-bottom: 1rem;
}

footer {
    background-color: var(--color-grey-lightest);
}

footer ul {
    padding-left: 0;
}

footer li {
    display: inline-block;
    list-style: none;
    text-align: center;
    padding: 0 .5rem;
}


small,
.small {
    font-size: .8571em;
}

.hover-underline a:hover {
    text-decoration: underline
}

.top-section {
    background-color: var(--color-beige);
}

.subhead {
    text-transform: uppercase;
    font-size: 1rem;
    ;
}

.btn {
    border-radius: 2rem;
    padding: .7rem 3rem;
}

.bg-darker {
    background-color: var(--color-grey-lightest);
}

.bg-white {
    background-color: var(--color-white-pure);
}

.bg-black {
    background-color: var(--color-black);
    color: var(--color-white-pure) !important;
}

.btn.bg-black:hover {
    background-color: var(--color-black-hover);
}

.bg-red {
    background-color: var(--color-red-dark);
    color: var(--color-white-pure) !important;
}
.bg-beige {
    background-color: var(--color-beige);
}

.bg-salmon {
    background-color: var(--color-salmon);
}

.bg-white-gradient {
    background: rgb(248, 249, 250);
    background: linear-gradient(0deg, rgba(248, 249, 250, 0) 70%, rgba(255, 255, 255, 0.6585136007528012) 100%);
}

.border-right-grey {

    border-right: solid 2px var(--color-grey-lighter);
}

.rounded {
    border-radius: 0.5rem !important;
}

.business-card-img {
    border-radius: .5rem .5rem 0 0;
    border-right: solid 1px var(--color-grey-lighter);
    border-top: solid 1px var(--color-grey-lighter);
    border-left: solid 1px var(--color-grey-lighter);
    padding: 0;
    background-repeat: no-repeat;
    background-size: cover;
    background-position: center center;
    min-height:calc(.75vw - 30px);
    aspect-ratio:266/199;
}

.business-card-img img {
    border-radius: .5rem .5rem 0 0;  
	width:100%;
	height:auto;
}

.business-card-logo {
    position: absolute;
    width: 160px;
    height: 160px;
    border-radius: 80px;
    display: block;
    top: -80px;
    left: calc(50% - 80px);
    border: solid 1px var(--color-grey-lighter);

}

.business-card-text {
    position: relative;
    border-radius: 0 0 .5rem .5rem;
    background-color: var(--color-white-pure);
    padding-bottom: 3rem;
    border-right: solid 1px var(--color-grey-lighter);
    border-bottom: solid 1px var(--color-grey-lighter);
    border-left: solid 1px var(--color-grey-lighter);
    padding-top: 3rem;
}

.about-cards {
    position: absolute;
    left: 2.5rem;
    bottom: 3rem;
    color: var(--color-white-pure);
}

.partner-logo {
    max-width: 70%;
    margin: 24px;
}

.fullpage {
    min-height: 90vh;
    background-size: cover;
    background-position: center center;
}

.featured-wines-arrow {
    background-color: transparent;
    border: none;
}

.dot {
    display: inline-flex;
    vertical-align: middle;
    margin: 1rem 0 .5rem 0;
    font-size: 1.35rem;
    font-family: 'ivypresto-display', serif;
    text-decoration: underline;
}

.dot span {
    width: 24px;
    height: 24px;
    border-radius: 12px;
    padding: 3px;
    display: inline-block;
    margin: -.2rem .5rem 0;
}

.dot span.red {
    display: none;
    border-bottom: var(--color-red-dark);

}

.dot span.gold {
    display: none;
    border-bottom: var(--color-gold);
}

.dot span:after {
    content: '';
    display: block;
    width: 16px;
    height: 16px;
    border-radius: 8px;
}

.dropdown-toggle {
    position: relative;
    text-align: left;
}

.dropdown-toggle::after {
    position: absolute;
    right: 1rem;
    top: 1rem;
}

.mc4wp-form-fields {
    position: relative;
}

.mc4wp-form-fields .form-submit {
    /*position: absolute;
    top: 0;
    right: 0;
    background-color: var(--color-white-pure);
    border: none;
    padding: 0.7rem;*/
    border: solid 2px #fff;
    padding: .25rem 2rem;
}

#banner {
    min-height: 70vw;
    background-size: cover;
    background-position: center center;
}

#banner-accept-cookies {
    background-color: rgba(0, 0, 0, .9);
    position: fixed;
    bottom: 0;
    left: 0;
    color: #fff;
}

#banner-accept-cookies a {
    color: var(--color-white-pure)
}

.milestonedot {
    top: 0;
    left: -12px;
    font-size: 1em;
    line-height: 0;
    background-color: var(--color-grey-lightest);
    border: solid 4px var(--color-red-dark);
    width: 24px;
    height: 24px;
    border-radius: 12px;
    display: block;
    position: absolute;
}

#landing-content h1 {
    font-size: 2.25rem;
}

.row.row-eq-height {
    display: -webkit-box;
    display: -webkit-flex;
    display: -ms-flexbox;
    display: flex;
  }
@media (min-width:576px) {
    #banner {
        min-height: 50vw;
    }

    .card-deck .card {
        flex: 0 0 calc(50% - 30px);
        margin-bottom: 15px
    }

    .page-template-page-home .overlap {
        margin-top: -100px;
    }

    footer li:first-of-type {
        padding-left: 0;
    }

    footer li:last-of-type {
        padding-right: 0;
    }
}

@media (min-width:768px) {
    .card-deck .card {
        flex: 0 0 calc(33.33% - 30px);
    }

    .fullpage {
        min-height: 90vh;
    }

}

@media (min-width:992px) {
    .milestonedate {
        margin-right: 2rem;
    }

    h1 {
        font-size: 4rem;
    }

    h2 {
        font-size: 2.5rem;
    }

    h3 {
        font-size: 2rem;
    }

    .fullpage {
        min-height: 55.5vw;
    }

    .navbar-brand {
        height: 60px;
    }

    #banner {
        min-height: unset;
    }

    .dot {
        font-size: 1rem;
        color: var(--color-grey-mid);
        font-family: 'proxima-nova', sans-serif;
        text-decoration: none;
    }

    .dot span.red {
        display: inline-flex;
        border: solid 1px var(--color-red-dark);
    }

    .dot span.red:after {
        background-color: var(--color-red-dark);
    }

    .dot span.gold {
        display: inline-flex;
        border: solid 1px var(--color-gold);
    }

    .dot span.gold:after {
        background-color: var(--color-gold);
    }

    .card-deck .card {
        flex: 0 0 calc(25% - 30px);
    }

    .text-huge {
        font-size: 120px;
        line-height: 120px;
    }

    footer ul {
        margin: 0;
    }

    .business-card-img {
        border-radius: .5rem 0 0 .5rem;
        border-left: solid 1px var(--color-grey-lighter);
        border-top: solid 1px var(--color-grey-lighter);
        border-bottom: solid 1px var(--color-grey-lighter);
        border-right: none;
        padding: 0;
    }

    .business-card-img img {
        border-radius: .5rem 0 0 .5rem; 
    	width: 384px;
    	height: 288px;
    	object-fit: cover; 
    }

    .business-card-logo {
        top: 40px;
        left: -80px;
    }

    .business-card-text {
        border-radius: 0 .5rem .5rem 0;
        border-right: solid 1px var(--color-grey-lighter);
        border-bottom: solid 1px var(--color-grey-lighter);
        border-top: solid 1px var(--color-grey-lighter);
        border-left: none;
        padding-left: 110px;
        padding-top: 1rem;
        padding-bottom: 1rem;
        ;
    }

    .partner-logo {
        max-width: 90%;
        margin: 32px;
    }


    .single-jobpostings h1,
    .page-template-page-simple h1 {
        font-size: 2.5rem;
    }

    .page-template-page-home .overlap {
        margin-top: -150px;
        border-radius: .5rem;
        padding: 0;
        text-align: center;
    }

    .page-template-page-home .overlap img {
        height: 300px;
        width: 400px;
    }

    #landing-content h1 {
        font-size: 5rem;
    }
}

@media (min-width: 1200px) {
    .business-card-logo {
        top: 60px;
    }
}

@media (min-width: 1440px) {
    .container {
        max-width: 1200px;
    }
}