
/*
    Ticket: IWC-3 Homepage Changes
    07/11/2023
*/

#fullscreen-video {
    display: flex;
   
    min-height: 650px;
    overflow: hidden;
    position: relative;
    width: 100%;
}

#fullscreen-video .video-caption {
    align-items: center;
    background-color: rgba(0,0,0,0.35);
    display: flex;
   
    justify-content: center;
    width: 100%;
    z-index: 1;
}

#fullscreen-video .video-caption div {
    max-width: 1200px;
    text-align: center;
}

.entryKitsLink{
	color: #FFFFFF;
}

#fullscreen-video h1 {
    color: #FFFFFF;
    font-size: 64px;
    padding: 0 0 0 0;
    margin: 0 0 0 0;
    line-height: 12px;
}

#fullscreen-video p {
    color: #FFFFFF;
    font-size: 32px;
    padding: 0 0 0 0;
    margin: 0 0 40px 0;
    line-height: 45px;
}

#fullscreen-video .video-cta {
    background: #4D9497;
    border-radius: 100px;
    color: #FFF;
    font-size: 24px;
    font-weight: bold;
    padding: 18px 40px;
    margin: 0 0 0 0;
    line-height: 1.55;
    text-decoration: none;
}

#fullscreen-video .video-cta:hover {
    background: #376A6C;
    text-decoration: underline;
}

#fullscreen-video .video-wrapper {
   
    left: 50%;
    overflow: hidden;
    pointer-events: none;
    position: absolute;
    width: 100%;
    
    top: 50%;
    transform: translate(-50%, -50%);
    z-index: 0;
}

@media (min-width: 1920px) {
    .video-wrapper img {
        width: 100%;
    }
}

#fullscreen-video iframe {
    width: 100vw;
    height: 56.25vw;
    min-height: 100vh;
    min-width: 177.77vh;
    position: absolute;
}

#news-block {
 padding-top: 0 !important;
 padding-bottom: 29px !important;
 }

#news-block, #realtime, #testimonials-block {
    display: grid;
    grid-template-columns: 1fr 1fr 1fr;
    grid-column-gap: 32px;
    grid-row-gap: 32px;
    
}

h2.homepage-row-title:first-of-type {
    margin-top: 32px;
}

h2.homepage-row-title {
    box-sizing: border-box;
    display: inline-grid;
    font-size: 32px;
    padding: 0;
    margin: 10px 0 22px 0;
    width: 100%;
}

#testimonials-block {
     margin-bottom: 29px;
}

#realtime {
 
    margin-bottom: 64px;
}

#news-block .story:first-child {
    grid-column: 1/3;
    width: 100%;
}

#realtime .story:first-child, #testimonials-block .story:first-child {
    width: 100%;
}

#testimonials-block .story:first-child p, #testimonials-block .story p {
    font-size: 16px;
}

#news-block .story, #realtime .story {
    margin: 0 0 0 0 !important;
    width: 100%;
}

#testimonials-block .story {
    display: flex;
    height: auto;
    padding-bottom: 36px;
    margin: 0 0 0 0 !important;
    width: 100%;
}

#testimonials-block .story .content {
    position: relative;
    bottom: 0;
}

#testimonials-block .story .job {
    height: auto;
}

#testimonials-block .story img {
 
    position: relative;
    transform: none;
    top: 0 !important;
    left: 0;
    padding: 24px 0 24px 0;
}

#testimonials-block .story p.testimonial {
    height: auto !important;
}

#timeline .timeline-container {
    display: flex;
 
    flex-direction: row;
    justify-content: space-between;
    padding-bottom: 24px;
}

#timeline .timeline-container .timeline-events, #timeline .timeline-container .upcoming-events {
    margin: 0;
    width: 49%;
}

@media(max-width: 1200px) {

    #fullscreen-video .video-caption div {
        padding: 0 32px 0 32px;
    }
    
    #fullscreen-video h1 {
        font-size: 48px;
        line-height: 56px;
    }
    
    #fullscreen-video p {
        font-size: 24px;
        margin: 0 0 48px 0;
    }
    
    #fullscreen-video .video-cta {
        font-size: 18px;
    }
   

}

@media(max-width: 726px) {
    #fullscreen-video h1 {
        font-size: 36px;
        line-height: 44px;
        margin-bottom: 22px;
    }
    
    #fullscreen-video p {
        font-size: 24px;
        line-height: 36px;
        margin: 0 0 72px 0;
    }

    #fullscreen-video .video-cta {
        font-size: 20px;
    }
    
    h2.homepage-row-title {
        padding: 0 24px;
    }

    #news-block, #realtime, #testimonials-block {
        display: grid;
        grid-template-columns: 1fr;
        grid-column-gap: 0;
   
        grid-row-gap: 32px;
   
        padding: 0 24px 0 24px !important;
 
    }

    #news-block {
        margin-bottom: 24px;
    }

    #timeline .timeline-container {
        flex-direction: column;
        justify-content: flex-start;
        column-gap: 24px;
    }
    
    #timeline .timeline-container .timeline-events, #timeline .timeline-container .upcoming-events {
        margin: 0;
        width: 100%;
    }
    
    #timeline .timeline-container .timeline-events {
        margin-bottom: 24px;
    }

}




.jetmenu-wrapper.scrollable   {
    /*max-height: 100vh !important;
    min-height: 100vh !important;
    overflow-y: auto !important;
*/
    height: 400px;
    box-shadow: 0 0 15px #000;
}

.jetmenu-wrapper.scrollable .jetmenu {
    height: 400px;
    overflow-y: scroll;
}

body {
    color: #111111;
    font-family: "aktiv-grotesk", sans-serif;
    font-size: 16px;
}
p {
    color: #333;
}

a {
    color: #4D9497;
}

strong, b {
    font-weight: 700;
}

em, i {
    font-style: italic;
}

#article blockquote {
    border-left: 4px solid #226265;
    font-style: italic;
    line-height: 24px;
    color: #111111;
    padding: 0 0 0 12px;
    margin: 0 0 24px 0;
}

#branding {
    
    float: left;
   
}

#branding img{
	width: 100%;
}

#carousel {
    background: #F5F5F5;
    padding: 36px 0 36px 0;
}

#carousel .glide__slide:before {
    border-radius: 6px;
    content: ' ';
    display: inline-block;
    height: 100%;
    left: 0;
    top: 0;
    position: absolute;
    width: 100%;
    box-sizing:border-box;
    z-index: 0;
    background-color: rgba(0,0,0,0.35);
    background-repeat: no-repeat;
    background-position: 50% 0;
    -ms-background-size: cover;
    -o-background-size: cover;
    -moz-background-size: cover;
    -webkit-background-size: cover;
    background-size: cover;
}

.glide img {
    border-radius: 6px;
    width: 100%;
    float: left;
}

#carousel .glide {
    position: relative;
}
#carousel .glide__slide {
     position: relative;
}

#carousel .glide .content {
    position: absolute;
    bottom: 50%;
    transform: translateY(60%);
    left: 48px;
    
}

#carousel .glide h2 {
    color: rgba(255,255,255,1.0);
    font-size: 44px;
    line-height: 48px;
    max-width: 500px;
    margin: 0 0 24px 0;

}

#carousel .glide p {
    color: rgba(255,255,255,1.0);
    font-size: 18px;
    margin: 0 0 42px 0;
    max-width: 500px;
}

#carousel .glide a.cta {
    background: rgba(255,255,255,1.0);
    color: #226265;
    font-weight: 700;
    padding: 12px 18px;
    border-radius: 6px;
    display: inline-block;
}

#carousel .glide__bullet {
    background: transparent;
    border: 6px solid rgba(255,255,255,1.0);
    width: 29px;
    height: 29px;
}


#carousel .glide__bullets {
    position: absolute;
    z-index: 2;
    bottom: 0;
    right: 24px;
    bottom: 24px;
    display: inline-flex;
    list-style: none;
    transform: inherit;
    left:auto;
}

#carousel .glide__bullets button {
    background: #FFF;
    border: none;
    padding: 9px 14px;
    border-radius: 3px;
    font-size: 18px;
}

#carousel .glide__bullets button:first-of-type {
    margin-right: 10px;
}

#carousel .glide__bullet--active {
    border: 6px solid #4D9497;
     
}

#carousel .glide__bullet:hover, #carousel .glide__bullet:focus {
    border: 6px solid #4D9497;
    background-color: transparent;
}

#carousel .glide__arrows {
    display: none;
}

#sponsors .glide__arrows, #sponsors .glide__bullets {
    display: none;
}

/*
    Homepage search widget styling
*/

#search-box {
    padding: 24px 0 0 0;
}

#search-box ul {
    float: left;
    list-style: none;
    width: 100%;
    display: flex;
}

#search-box ul li {
    background: #FFF;
    border-top-left-radius: 6px;
    border-top-right-radius: 6px;
    box-sizing: border-box;
    float: left;
    font-size: 16px;
    flex-grow: 1;
    margin-right: 12px
}

#search-box ul li:last-child {
    margin-right: 0;
}

#search-box ul li a {
    color: #4D9497;
    float: left;
    font-weight: bold;
    padding: 12px 0;
 
    outline: 0;
    text-align: center;
    width: 100%;
    text-decoration: none;
}

#search-box .ui-state-active {
    background-color: #4D9497;
}

#search-box .ui-state-active a {
    color: #FFF;
}

#search-box .tab {
    box-shadow: 0 4px 4px rgba(0,0,0,0.15);
    background-color: #4D9497;
    background: rgb(77,148,151);
    background: linear-gradient(180deg, rgba(77,148,151,1) 0%, rgba(68,137,140,1) 100%);
    border-bottom-left-radius: 6px;
    
    border-bottom-right-radius: 6px;
 
    float: left;
    width: 100%;
    display: flex;
    max-width: 1199px;
    padding: 18px 18px;
    box-sizing: border-box;
}

#search-box .tab ul {
    float: left;
    width: 100%;
}

#search-box .tab ul li {
    background: transparent;
    float: left;
    flex-grow: 1;
}
#search-box .tab ul li:last-child {
    max-width: 201px;
}

#search-box .tab ul li select, #search-box .tab ul li input[type="text"]{
    background: #FFF;
    box-sizing: border-box;
    border-radius: 6px;
    border: 2px solid rgba(0,0,0,0.15);
    font-family: "aktiv-grotesk", sans-serif;
    font-size: 16px;
    width: 100%;
    padding: 9px 12px;
}

#search-box .tab ul li input[type="text"] {
    flex-grow: 2;
    flex-basis: 80%;
}

#search-box .tab ul li a.button,
#search-box .tab ul li input.button{
    background: rgba(0,0,0,0.55);
    box-sizing: border-box;
    border-radius: 6px;
    border: 2px solid rgba(0,0,0,0.15);
    color: #FFF;
    font-weight: 700;
    padding: 10px 12px 10px 12px;
    width: 100%;
    min-width: 135px;
    font-family: inherit;
    font-size: 16px;
}

#search-box .tab ul li a.button:hover,
#search-box .tab ul li input.button:hover{
    background: rgba(0,0,0,0.85);
    
}

#search-box .tab ul li a.advanced {
    color: #FFF;
    font-weight: normal;
}


/*
    Search results
*/

#search {
    margin-bottom: 96px;
}

#search .head {
    margin-top: 72px;
    margin-bottom: 30px;
}

#search .head .c-3 {
    border-bottom: 4px solid #4d9497;
    padding-bottom: 20px;
    min-height: 60px;
}

#search .head .c-9 {
    border-bottom: 4px solid rgba(0,0,0,0.045);
    padding-bottom: 0px;
    min-height: 60px;
}

#search-results {
    padding: 0 18px;
}

#search h1 {
 font-size: 30px;
 }

#search-results .displaying {
    font-size: 18px;
    color: rgb(0,0,0,0.47);
    margin: 0 0 18px 0;
}

/*
    List of results
*/

.result {
    border: 2px solid rgba(0,0,0,0.045);
    box-sizing: border-box;
    border-radius: 6px;
    padding: 18px;
    margin: 0 0 12px 0;
    float: left;
    width: 100%;
    
    display: flex;
    text-decoration: none;
}

.result:hover {
    border: 2px solid rgba(0,0,0,0.15);
}

.result ul {
    display: flex;
    width: 100%;
    float: left;
}

.result ul li {
    flex-grow: 1;
    float: left;
    list-style: none;
}

.result ul li:first-child {
    min-width: 200px;
    max-width: 200px;
    margin: 0 12px 0 0;
}

.result ul li:first-child img {
    border-radius: 6px;
    width: 100%;
}

.result ul li:last-child {
    max-width: 136px;
    min-width: 136px;
}

.result ul li:last-child img {
    float: right;
}

.result h2 {
    font-size: 18px;
    line-height: 23px;
 
    margin: 0 0 6px 0;
}

.result p {
    font-size: 14px;
    margin: 0 0 3px 0;
}

.result-content.col {
    margin: 0 0 72px 0;
}

.result-content .c-6 {
    position: relative;
}

.result-content .tasting {
    background: #4d9497;
    padding: 18px 18px 24px 18px;
    border-radius: 6px;
    margin: 0 0 36px 0;
    
    display: flex;
}

.result-content .tasting-img {
    align-self: center;
}

.result-content .tasting img {
    float: left;
    margin: 0 18px 0 0;
}

.result-content .tasting h3 {
    font-size: 11px;
    margin: 3px 0 12px 0;
    
    text-transform: uppercase;
    color: rgba(255,255,255,0.74);
    font-weight: normal;
    letter-spacing: 0.045em;
}

.result-content .tasting p {
    color: #FFF;
    font-style: italic;
    font-family: "Times new roman";
    font-size: 18px;
}

.result-content .c-6 img {
    border-radius: 6px;
    max-width: 100%;
}

.result-content img.iwc-points {
    max-width: 50%;
    margin-bottom: 34px;
}

.result-content .information {
    padding: 0 6px;
}

.result-content .information p span {
    float: left;
    font-size: 11px;
    margin-top: 5px;
    text-transform: uppercase;
    color: rgba(0,0,0,0.74);
    width: 120px;
    letter-spacing: 0.045em;
}

.result-content .information p {
    border-bottom: 1px solid rgba(0,0,0,0.25);
    padding: 0 0 12px 0;
    margin-bottom: 15px;
}

.result-content .information p:last-of-type {
    border-bottom: 0;
}

.result-content ul {
    border-bottom: 1px solid rgba(0,0,0,0.25);
    padding: 0 0 12px 0;
    margin-bottom: 15px;
    float: left;
    width: 100%;
    display: flex;
    list-style: none;
}

.result-content ul li:first-child {
    min-width: 120px;
    font-size: 11px;
    margin-top: 5px;
    text-transform: uppercase;
    color: #747474;
    width: 120px;
    letter-spacing: 0.045em;
}

.result-content .bottle img {
    width: 100%;
    float: left;
}

.result-content .medals {
    text-align: center;
}

.result-content .medals p {
    font-size: 11px;
    margin: 21px 0 12px 0;
    text-transform: uppercase;
    color: rgba(0,0,0,0.74);
    letter-spacing: 0.045em;
}

.result-content .medals img {
    margin-bottom: 3px;
}

/*
    Left hand search filter
*/

#filter-search select, #filter-search input[type="text"] {
    box-sizing: border-box;
    border-radius: 6px;
    border: 2px solid rgba(0,0,0,0.15);
    font-family: "aktiv-grotesk", sans-serif;
    font-size: 16px;
    width: 100%;
    padding: 9px 12px;
    margin-bottom: 9px;
}

#filter-search span.checkbox {
    box-sizing: border-box;
    border-radius: 6px;
    border: 2px solid rgba(0,0,0,0.15);
    font-family: "aktiv-grotesk", sans-serif;
    font-size: 16px;
    width: 100%;
    float: left;
    padding: 9px 12px;
    margin-bottom: 9px;
}

#filter-search h3 {
    font-size: 18px;
    color: rgb(0,0,0,0.47);
    margin: 0 0 18px 0;
}

#filter-search ul {
    list-style: none;
    float: left;
    width: 100%;
}

#filter-search ul li {
    float: left;
    width: 100%;
}

#filter-search ul.category {
    margin-bottom: 24px;
}

#filter-search a.button,
#filter-search button.button{
    background: #4d9497;
    box-sizing: border-box;
    border-radius: 6px;
    border: 2px solid rgba(0,0,0,0.045);
    color: #FFF;
    float: left;
    font-weight: 700;
    padding: 10px 12px 10px 12px;
    margin: 24px 0 0 0;
    width: 100%;
    text-align: center;
    text-decoration: none;
    font-size: 16px;
    font-family: inherit;
}

/*
    Search pagination styling
*/

.pagination ul {
    float: left;
    list-style: none;
    padding-top: 12px;
    width: 100%;
    text-align: center;
}

.pagination ul li {
    display: inline;
}

.pagination ul li a {
    display: inline-block;
    padding: 3px 6px;
    text-decoration: none;
}

.pagination ul li:last-child a {
    border: 2px solid;
    border-radius: 3px;
}

/*
    Homepage news block styling
*/

#realtime .story:first-child h2 {
	font-size: 24px;
	margin: 0 0 12px 0;
	line-height: normal;
	max-width: 90%;
}

#realtime .story:first-child {
        background-size: cover;
        background-position: center center;
        background-color: #4D9497;
        border-radius: 6px;
        color: #FFFFFF;
        float: left;
        height: 370px;
        position: relative;
        text-decoration: none;
    }
    
    
    @media (max-width: 768px) {
        #realtime {
            box-sizing: border-box;
            padding: 15px 15px;
        }
    
        
        #realtime .story:first-child, #realtime .story {
            margin: 0 0 25px 0;
            
            width: 100%;
        }
        #realtime .story:nth-child(3n+3) {
            margin-left: 0;
        }
    
        
    }

.more-block {
    font-size: 24px;
	margin: 0 0 18px 0;
}

#news-block {
    padding: 32px 0 24px 0;
}

.story {
    background-size: cover;
    background-position: center center;
    background-color: #4D9497;
    border-radius: 6px;
    color: #FFFFFF;
    float: left;
    height: 370px;
    margin: 0 0 1.6% 1.6%;
    position: relative;
    width: 32.26%;
    text-decoration: none;
}
.story:before {
    border-radius: 6px;
    content: ' ';
    display: block;
    height: 100%;
    left: 0;
    top: 0;
    position: absolute;
    width: 100%;
    z-index: 0;
    
    background-color: rgba(0,0,0,0.35);
    background-repeat: no-repeat;
    background-position: 50% 0;
    -ms-background-size: cover;
    -o-background-size: cover;
    -moz-background-size: cover;
    -webkit-background-size: cover;
    background-size: cover;
}
.story:hover:before {
    background-color: rgba(0,0,0,0.65);
}

.story .content {
    box-sizing: border-box;
    bottom: 42px;
    padding-left: 24px;
    min-height: 160px;
    padding-right: 24px;
    position: absolute;
    width: 100%;
    z-index: 3;
}

.story  a.content {
    color: #FFF;
    text-decoration: none;
}

.story:first-child {
    margin-left: 0;
    background-position: center center !important;
    background-size: cover !important;
    
    width: 66.13%;
}

#timeline .story:first-child {
    margin-left: 0;
    width: 32.26%;
}

.story:first-child .content {
    max-width: 640px;
}

.story:nth-child(3n+3) {
    margin-left: 0;
}

.story:first-child h2 {
    font-size: 33px;
    font-weight: 800;
    line-height: 38px;
    margin: 0 0 15px 0;
}

.story h2, #timeline .story:first-child h2 {
    font-size: 24px;
    margin: 0 0 12px 0;
    line-height: normal;
    max-width: 90%
}

#timeline .story:first-child p {
    font-size: 16px;
    line-height: 24px;
}

.twitter h2, .upcoming-events h2, .timeline-events h2 {
    font-size: 18px;
    padding: 6px 0;
    margin: 0 0 18px 0;
    line-height: normal;
}

#timeline .heading-img {
    float: right;
}

.twitter h2 {
    background-image: url(../img/if_twitter_386736.svg);
    background-repeat: no-repeat;
    background-position: right 50%;
    background-size: 24px;
}

.story h3 {
    font-weight: 400;
    font-size: 12px;
    margin: 0 0 18px 0;
}

.story p {
    color: rgba(255,255,255,0.90);
    line-height: 24px;
}

.story p + p {
    font-weight: 700;
    margin: 24px 0 0 0;
}

.story:first-child p {
    font-size: 18px;
    line-height: 26px;
}


/*
    Homepage Timeline and Blog Meta Styling
*/

#timeline, #blog-meta {
    background: #4D9497;
    padding: 42px 0 22px 0;
}

#blog-meta {
    padding: 42px 0 42px 0;
}

#blog-meta a {
    text-decoration: none;
}

#blog-meta a:hover {
    text-decoration: underline;
}

#blog-meta h2 {
    font-size: 18px;
    padding: 6px 0;
    margin: 0 0 18px 0;
    line-height: normal;
}

#blog-meta ul {
    list-style: none;
}

#blog-meta ul li {
    border-bottom: 1px solid rgba(0,0,0,0.15);
    font-size: 14px;
    list-style: none;
    padding-bottom: 8px;
    margin-bottom: 12px;
}

#blog-meta ul li:last-child {
    border-bottom: 0;
}

#blog-meta .blog-category,#blog-meta .blog-author,#blog-meta .blog-archive {
    height: auto;
    min-height: 327px;
}

#timeline ul {
    border-bottom: 1px solid rgba(0,0,0,0.15);
    font-size: 14px;
    list-style: none;
    padding-bottom: 8px;
    margin-bottom: 12px;
}

#timeline ul:last-of-type {
    border-bottom: none;
}

#timeline ul li:first-child {
    font-size: 12px;
}

#timeline ul li:nth-child(2) {
    font-weight: 700;
    margin-bottom: 1px;
}

#timeline ul li {
    margin-bottom: 3px;
    padding-bottom: 3px;
}

#timeline .twitter, #timeline .upcoming-events, #timeline .timeline-events,
.blog-category, .blog-author, .blog-archive {
    background-color: #FFFFFF;
    box-sizing: border-box;
    padding: 24px;
    border-radius: 6px;
    float: left;
    height: 400px;
    margin: 0 0 1.6% 1.6%;
    position: relative;
    width: 32.26%;
    text-decoration: none;
}

.timeline-events .content, .upcoming-events .content {
    overflow-y: auto;
    max-height: 250px;
    padding-right: 18px;
    margin-bottom: 23px;
}

.twitter .tweet h3 {
    font-size: 12px;
    margin-bottom: 6px;
}

.twitter .tweet:first-of-type {
    border-bottom: 1px solid rgba(0,0,0,0.045);
    margin-bottom: 12px;
}

.twitter .tweet p {
    font-size: 14px;
    line-height: 21px;
    margin-bottom: 4px;
 
}

.twitter .tweet p:last-child {
    font-size: 12px;
    margin-bottom: 12px;
}


/*
    Article styling
*/

#article {
    padding:  0;
}

#article .head, #shop .head, #blog .head {
    background-color: #4d9497;
    background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='250' height='30' viewBox='0 0 1000 120'%3E%3Cg fill='none' stroke='%234c9194' stroke-width='10' %3E%3Cpath d='M-500 75c0 0 125-30 250-30S0 75 0 75s125 30 250 30s250-30 250-30s125-30 250-30s250 30 250 30s125 30 250 30s250-30 250-30'/%3E%3Cpath d='M-500 45c0 0 125-30 250-30S0 45 0 45s125 30 250 30s250-30 250-30s125-30 250-30s250 30 250 30s125 30 250 30s250-30 250-30'/%3E%3Cpath d='M-500 105c0 0 125-30 250-30S0 105 0 105s125 30 250 30s250-30 250-30s125-30 250-30s250 30 250 30s125 30 250 30s250-30 250-30'/%3E%3Cpath d='M-500 15c0 0 125-30 250-30S0 15 0 15s125 30 250 30s250-30 250-30s125-30 250-30s250 30 250 30s125 30 250 30s250-30 250-30'/%3E%3Cpath d='M-500-15c0 0 125-30 250-30S0-15 0-15s125 30 250 30s250-30 250-30s125-30 250-30s250 30 250 30s125 30 250 30s250-30 250-30'/%3E%3Cpath d='M-500 135c0 0 125-30 250-30S0 135 0 135s125 30 250 30s250-30 250-30s125-30 250-30s250 30 250 30s125 30 250 30s250-30 250-30'/%3E%3C/g%3E%3C/svg%3E");
    color: #FFFFFF;
    padding: 26px 0 36px 0;
    margin: 0 0 42px 0;
    text-align: center;
}

#article .head p, #shop .head p, #blog .head p {
    color: rgba(255,255,255,0.90);
    display: inline-block;
    max-width: 640px;
    padding-left: 18px;
    padding-right: 18px;
}

#article .title, #shop .title, #blog .head .title  {
    font-size: 42px;
    letter-spacing: -0.035em;
    margin: 0 0 18px 0;
}

#article .article-intro h1 {
    font-size: 36px;
    margin: 0 0 30px 0;
}

#article .article-intro .c-2 {
    min-height: 1px;
}

@media screen and (min-width: 280px) and (max-width: 768px) {
	.article-gallery-caption {
		padding-top: 15px;
		text-align: center;
	}
	#article .article-content {
		margin-top: 22px;
	}
	.more-block {
    
		margin-left: 24px;
	}
}

#article .article-intro .sub-title {
    font-size: 12px;
    text-transform: uppercase;
    letter-spacing: 1px;
    margin: 0 0 18px 0;
}

#article .article-intro p {
    line-height: 24px;
	max-width: 100%;
}

#article .article-gallery {
    float: left;
    width: 100%;
    margin: 36px 0 0 0;
}

#article .article-gallery img {
    border-radius: 6px;
    width: 100%;
}

#article .article-gallery + .article-gallery-caption {
    padding-top: 15px;
}

#article .article-gallery-caption p {
    font-size: 11px;
    text-align: right;
}

#article .article-content {
    font-size: 16px;
    line-height: 24px;
    margin-top: 42px;
    margin-bottom: 36px;
}

#article .article-content ul.entry-packs {
    float: left;
    width: 100%;
    list-style: none;
    padding: 0 0 0 0;
    margin: 0 0 36px 0;
}
#article .article-content ul.entry-packs img {
    display: inline-block;
    width: auto;
    margin: 0 10px 0 0;
    border-radius: 0;
}

    
html .article-content table {
    max-width: 100%;
    min-width: 100%;
}

#article .article-content img {
    border-radius: 6px;
    max-width: 100%;
    margin: 0 0 36px 0;
    height:auto;
}

#article .article-content h2 {
    font-size: 24px;
    margin: 0 0 18px 0;
}

#article .article-content h3 {
    font-size: 18px;
    margin: 0 0 18px 0;
}

#article .article-content h4,
#article .article-content h5,
#article .article-content h6 {
    font-size: 16px;
    margin: 0 0 18px 0;
}

#article .article-content ul, #article .article-content ol {
    margin: 0 0 24px 36px;
}

#article .article-content ul li {
    margin-bottom: 9px;
}

#article .article-content p {
    font-size: 16px;
    line-height: 24px;
    margin: 0 0 24px 0;
}

#article .meta {
    text-align: center;
}

#article .meta img {
    max-width: 40%;
    border-radius: 50%;
    margin-bottom: 20px;
}

#article .meta ul {
    font-size: 14px;
    list-style: none;
    padding: 0 20%;
    margin: 0;
}

#article .meta ul li:first-child {
    font-weight: 700;
    border-bottom: 1px solid rgba(0,0,0,0.065);
    padding: 12px 0 12px 0;
    margin-bottom: 12px;
}

/*
    Article styling
        - Judges, Contact, Sponsors subsection
*/

.judges, .sponsors, .contacts {
    padding: 0 0 42px 0;
}

.judges .c-12, .sponsors .c-12, .contacts .c-12 {
    background: #F5F5F5;
    border: 2px solid rgba(0,0,0,0.045);
    border-radius: 6px;
    margin: 0 0 24px 0;
    padding: 18px;
}

.judges .c-12:first-child, 
.sponsors .c-12:first-child,
.contacts .c-12:first-child {
    background: transparent;
    border: 0;
    margin-bottom: 0;
    padding-top: 0;
}

.judges .c-3, .sponsors .c-3 {
    padding: 18px 0;
    text-align: center;
}

.judges .c-3 img {
    border-radius: 6px;
    border: 2px solid rgba(0,0,0,0.045);
    width: 80%;
}

.sponsors .c-3 {
    border-right: 2px solid rgba(0,0,0,0.045);
    padding-right: 18px;
}

.sponsors .c-3 img {
    background: #FFF;
    box-sizing: border-box;
    padding: 6px;
    border: 2px solid rgba(0,0,0,0.045);
    width: 80%;
}

.judges .c-9, .sponsors .c-9 {
    border-left: 2px solid rgba(0,0,0,0.045);
    padding-left: 24px;
    padding-bottom: 24px;
    min-height: 260px;
}
.sponsors .c-9 {
 border-left: 0;
 min-height: auto;
 }

.judges h2.heading, .sponsors h2.heading, .contacts h2.heading {
    font-size: 32px;
    letter-spacing: -0.035em;
    margin: 0 0 12px 0;
}

.judges h2.heading + p, .sponsors h2.heading + p, .contacts h2.heading + p {
    margin-bottom: 18px;
}

.judges h3, .sponsors h3 {
    font-size: 24px;
    font-weight: 700;
    margin: 12px 0 12px 0;
}

.contacts h3 {
    font-size: 18px;
    font-weight: 700;
    margin: 12px 0 6px 0;
}

.judges p, .sponsors p, .contacts p {
    font-size: 16px;
    line-height: 24px;
    margin-bottom: 24px;
}

.judges p:last-child, .sponsors p:last-child, .contacts p:last-child {
    margin-bottom: 0;
}

.contacts ul {
    margin: 0 0 0 0;
    list-style: none;
    line-height: 24px;
}

/*
    Shop Styling
*/

#shop-message .highlight {
    border-radius: 6px;
    background: #F5F5F5;
    padding: 18px 18px 8px 18px;
}

#shop-message .highlight p {
    font-size: 16px;
    margin: 0 0 12px 0;
}

#shop-message .notice {
    font-weight: bold;
    border-bottom: 1px solid rgba(0,0,0,0.15);
    padding-bottom: 6px;
}

#you-are-here .currency select {
    box-sizing: border-box;
    border-radius: 6px;
    border: 2px solid rgba(0,0,0,0.15);
    font-family: "aktiv-grotesk", sans-serif;
    font-size: 16px;
    width: 100%;
    padding: 9px 12px;
}

#you-are-here .currency h2 {
    border-bottom: 1px solid rgba(0,0,0,0.15);
    font-size: 14px;
    letter-spacing: 0.045em;
    float: left;
    margin-top: 18px;
    margin-bottom: 12px;
    padding-bottom: 6px;
    text-transform: uppercase;
}

#you-are-here {
    border-bottom: 1px solid rgba(0,0,0,0.15);
    padding-bottom: 12px;
    margin: 24px 0 42px 0;
}

#you-are-here ul {
    float: left;
    list-style: none;
}

#you-are-here ul li {
    border-right: 1px solid rgba(0,0,0,0.15);
    float: left;
    padding: 12px 12px;
}

#you-are-here ul li:last-child {
    border-right: 0;
}

#you-are-here ul li a {
    float: left;
    text-decoration: none;
}

#you-are-here ul li a:hover {
    text-decoration: underline;
}

#shop-items {
    margin-bottom: 54px;
}

#vat {
    margin-top: 24px;
}

#shop-items #vat table {
    margin-bottom: 24px;
}

#vat table .button {
    margin-bottom: 0;
}

#vat .button,
.vat.button{
    background-color: #4d9497;
    border-radius: 6px;
    border: 2px solid rgba(0,0,0,0.25);
    box-sizing: border-box;
    color: #FFF;
    float: left;
    font-family: "aktiv-grotesk", sans-serif;
    font-size: 14px;
    font-weight: 700;
    letter-spacing: 0.025em;
    margin-bottom: 15px;
    padding: 9px 6px;
    text-align: center;
    text-decoration: none;
    width: 100%;
}

#vat .button:hover {
    border: 2px solid rgba(0,0,0,0.45);
 
    text-decoration: underline;
}

#vat table input[type="text"] {
    box-sizing: border-box;
    min-width: 100%;
    max-width: 100%;
}

#shop-items table {
    margin: 0;
    width: 100%;
    max-width: 100%;
    min-width: 100%;
}

#shop-items table td {
    vertical-align: middle;
}

#shop-items table td img {
    min-width: 32px;
}
#shop-items table td input[type="text"] {
    max-width: 40px;
}

#shop-items img {
    float: left;
    border-radius: 6px;
    width: 100%;
}

#shop-items table img {
    max-width: 54px;
}

#shop-items .c-9 {
    border-left: 1px solid rgba(0,0,0,0.15);
    padding-left: 18px;
}

#shop-items .c-3 {
    margin-bottom: 18px;
}

#shop-items .c-3:nth-of-type(4n+5) {
    margin-left: 0;
}

#shop-items .shop-nav {
    padding-left: 12px;
}

#shop-items .shop-nav ul {
    list-style: none;
    margin: 24px 0 0 0;
}

#shop-items .shop-nav ul li {
    border-bottom: 1px solid rgba(0,0,0,0.15);
    margin-bottom: 6px;
    padding-bottom: 6px;
}

#shop-items .shop-nav ul li:last-child {
    border-bottom: 0;
}

#shop-items .shop-nav a {
    text-decoration: none;
}

#shop-items .shop-nav a:hover {
    text-decoration: underline;
}

.continue-shopping {
    box-sizing: border-box;
    border: 2px solid #4d9497;
    border-radius: 6px;
    float: left;
    margin: 24px 0 0 0;
    padding: 9px 12px;
    text-decoration: none;
}

.continue-shopping:hover {
    background: #4d9497;
    color: #FFF;
}

.checkout {
    border: 2px solid #4d9497;
    background: #4d9497;
    border-radius: 6px;
    color: #FFF;
    float: right;
    margin: 24px 0 0 0;
    padding: 9px 12px;
    text-decoration: none;
}

/*
    Sponsor carousel
*/

#sponsors {
    background: #F5F5F5;
    margin-top: 24px;
    padding: 42px 0 42px 0;
}

#timeline + #sponsors {
    margin-top: 0;
}

/*
    Result table styling
*/

#results-tables {
    padding-top: 72px;
}

#results-tables h2 {
    font-size: 24px;
}

html table {
    margin: 24px 0 24px 0;
    border: 1px solid #DCDCDC;
    border-right: none;
    border-bottom: none;
    text-align: left;
    
    width: 100%;
    min-width: 1000px;
    max-width: 1200px;
}

/* table.find-a-stockist */
#wine-detail-stockists table {
    width: 100%;
    min-width: 100%;
    max-width: 100%;
}

table th {
    background: rgba(0,0,0,0.05);
    
    border: 1px solid #DCDCDC;
    border-left: none;
    border-top: none;
    font-size: 12px;
    padding: 6px;
    vertical-align: middle;
    
}

table td {
    border: 1px solid #DCDCDC;
    border-left: none;
    border-top: none;
    padding: 6px 6px;
    font-size: 12px !important;
}

table td a {
    text-decoration: none;
}

table td a:hover {
    text-decoration: underline;
}

/*
    Form Styling
*/

.login, .register {
    padding: 18px 24px;
}

.register {
    background: #F9F9F9;
    border: 2px solid rgba(0,0,0,0.25);
    border-radius: 6px;
}

.login h2, .register h2 {
    font-size: 24px;
    margin: 12px 0 24px 0;
    padding: 0 0 12px 0;
    border-bottom: 1px solid rgba(0,0,0,0.15);
}

.form {
    float: left;
    width: 100%;
}

.form .field {
    float: left;
    display: flex;
    width: 100%;
    padding: 0 0 15px 0;
}

.form .field label {
    float: left;
    font-size: 14px;
    padding: 6px 0 6px 0;
    min-width: 120px;
}

.register .form .field label {
    min-width: 210px;
}

.form .field input[type="text"], .form .field input[type="password"],
.form select{
    border-radius: 6px;
    border: 2px solid rgba(0,0,0,0.25);
    font-size: 14px;
    font-family: "aktiv-grotesk", sans-serif;
    flex-grow: 1;
    padding: 9px 6px;
    width: 100%;
}

.form .field input[type="button"] {
    background-color: #4d9497;
    color: #FFF;
    border-radius: 6px;
    border: 2px solid rgba(0,0,0,0.25);
    font-family: "aktiv-grotesk", sans-serif;
    font-size: 14px;
    font-weight: 700;
    flex-grow: 1;
    padding: 9px 6px;
    letter-spacing: 0.025em;
}

.form .field input[type="button"]:hover {
    border: 2px solid rgba(0,0,0,0.45);
    text-decoration: underline;
}

.form .field.float-buttons {
    box-sizing: border-box;
    padding-left: 120px;
}

.form .field.float-buttons input[type="button"]:first-child {
    min-width: 50%;
    margin-right: 12px;
}

/*
    Footer styling
*/

#footer {
    background: #161616;
    color: #FFF;
    padding: 24px 0 24px 0;
}
#footer ul.social {
    float: left;
    list-style: none;
}
#footer ul.social li {
    float: left;
    margin-right: 18px;
}
#footer ul.links {
    float: right;
    list-style: none;
    padding: 8px 0 0 0;
}
#footer ul.links li {
    float: left;
    margin-left: 18px;
}
#footer ul.links li a {
    color: #FFFFFF;
}



/*
    Added by Filip - Webpuzzle
*/

/* Responsive home page search form fix */
.form_form{
    width: 100%;
}
/* Background images can't be changed from content managment interface, therefore workaround below is needed. Javascript could be the only real solution to this problem */
.story{
    overflow: hidden;
}
.story img{
    position: absolute;
    left: 50%;
    top: 50%;
    transform: translate(-50%, -50%);
    width: 100%;
}
/* Sponsors have different image heights, therefore their height need to be limited for carosel to look good */
#sponsors .glide{
    text-align: center;
}
#sponsors .glide img{
    height: 140px;
    width: auto;
    float: none;
}
/* Tweeter api that IWC uses returns JSON with specific set of elements. I added some styles to compensate for this, but it should be sorted on higher level (api changed), to achieve desired look */
#twitter-div .twitter-feed li{
    font-size: 12px;
    font-weight: normal !important;
}
/* Basket quantity fix */
#shop-items table .quantity{
    text-align: center;
}
#shop-items table .quantity input{
    margin-top: 5px;
}
#shop-items table td a img,
#shop-items table td img{
    width: 32px;
}
/* Shop and basket breadcrumbs */
.productbreadcrumbs_area a{
    text-decoration: none;
    position: relative;
    line-height: 44px;
    margin-left: 8px;
}
.productbreadcrumbs_area.static_area a{
    margin-left: 26px;
}
.productbreadcrumbs_area a::after{
    display: inline-block;
    content: '';
    width: 12px;
    height: 44px;
    background: #fff;
    border-right: 1px solid rgba(0,0,0,0.15);
    position: absolute;
}
#you-are-here ul li:last-child {
    border-right: 1px solid rgba(0,0,0,0.15);
}
.productbreadcrumbs_area a:last-child::after{
    border-right: 0;
}
.productbreadcrumbs_area a:first-child{
    margin-left: 11px;
}

/* Custom select with checkboxes */

form li{
position: relative;
}
#custom-select-w{
    min-width: 86px;
}
		.custom-select {
			/*background: #FFF url(downward-arrow.png) no-repeat center right 10px;
*/
			background: #fff;
			display: inline-block;
			padding: 5px 15px;
			border: 2px solid rgba(0,0,0,0.15);
			font-family: "aktiv-grotesk", sans-serif;
			border-radius: 6px;
			width: calc(100% - 28px);
			cursor:pointer;
			padding: 9px 12px;
			margin-bottom: 9px;
			
		}
		div#custom-select-option-box {
			background: #FFF;
			box-sizing: border-box;
			border: #80b2bb 1px solid;
			border-radius: 2px;
			position:absolute;
			z-index:1;
			display:none;
			width: 100%;
		}
		.custom-select-option {
			width: 100%;
			padding: 5px 15px;
			margin: 1px 0px;
			cursor:pointer;
		}
		.custom-select-option input{
		    pointer-events: none;
		}
		
/* footer mantis 1981 */
        #footer-copyright {
        background: #161616;
        border-top: 1px solid #2b2b2b;
        color: #FFF;
        text-shadow: 0 1px 1px rgba(0,0,0,0.5);
        width: 100%;
        min-height: 100px;
        clear: both;
    }

    #footer-copyright p {
        color: #8099AA;
        line-height: 20px;
        margin: 0;
    }

    #footer-copyright a {
        color: #8099AA;
    }

    #footer-copyright .logo-wrbm {
        border: 0;
        float: left;
        margin-top: 4px;
    }
    #footer-copyright .container{
        padding: 30px;
    }
    #footer-copyright .col-840{
        float: left;
    }
    #footer-copyright .col-120{
        float: right;
    }
    #footer-copyright p{
        display: inline-block;
    }
    #footer{
        padding: 0;
    }
    #footer .c.grp{
        overflow: hidden;
        padding: 20px 30px;
    }
    
    /* address */
    #user-admin{
        max-width: 960px;
        margin: auto;
    }
    .half-address{
        padding: 20px;
        background: #F5F5F5;
        padding-bottom: 6px;
    }
    .half-address:first-child{
        padding-bottom: 60px;
    }
    .half-address h2{
        margin-bottom: 20px;
        border-bottom: 1px solid #ccc;
        padding-bottom: 5px;
    }
    .style2{
        margin: 20px 0;
        font-size: 1.6rem;
    }
    
    /* Start by setting display:none to make this hidden.
   Then we position it in relation to the viewport window
   with position:fixed. Width, height, top and left speak
   speak for themselves. Background we set to 80% white with
   our animation centered, and no-repeating */
.modal {
    display: none;
    position: fixed;
    z-index: 1000;
    top: 0;
    left: 0;
    height: 100%;
    width: 100%;
    background: #ffffff url('/images/pIkfp.gif') no-repeat 50%;
    opacity: 0.80;
    -ms-filter: progid:DXImageTransform.Microsoft.Alpha(Opacity = 80);
    filter: alpha(opacity = 80);
}
    /* When the body has the loading class, we turn
   the scrollbar off with overflow:hidden */

    /* Anytime the body has the loading class, our
       modal element will be visible */
    body.loading .modal {
        display: block;
    }
    .thank-you-new{
        padding: 20px;
        padding-top: 40px;
    }
    .thank-you-new h1{
        font-size: 1.8em;
        margin-bottom: 30px;
        color: #34495e;
    }
    
    /*Shipping your wines */
     #article address {
        border-left: 5px solid #4D9497;
        background: #F5F5F5;
        padding: 13px 15px 15px 15px;
        margin: 10px 0 25px 0;
        margin: 10px auto;
        clear: both;
        display: block;
        line-height: 22px;
        width: 410px;
    }
    .sub-title i{
        color: #4D9497;
        cursor: pointer;
        text-decoration: underline;
    }
    .judges-login{
        padding-top: 100px;
    }
    /* Beverage details medals */
    .search-badges img{
        width: 100%;
    }

.col.table-wrapper{
    position:relative;
    margin-bottom:80px;
}
.buttons-wrapper{
    position:absolute;
    width:100%;
    bottom:-130px;
}
.invoice-wrapper{
    bottom:-50px;
}
#card-element{
    float: left;
    background: #ddedee;
    width: 100%;
    padding: 5px;
    margin-bottom: 5px;
    box-sizing: border-box;
    border-radius: 4px;
    border: 1px solid rgba(0,0,0,0.25);
}

#discovery-tasting {
            display: flex;
            flex-direction: column;
            margin: 0 auto;
            padding-bottom: 40px;
            width: 100%;
            max-width: 770px;
        }

        .dt-head {
            display: flex;
            flex-direction: row;
            align-items: flex-end;
            justify-content: space-between;
            margin: 40px 0 99px 0;
            width: 100%;
        }

        .dt-head h1 {
            font-size: 70px;
            margin: 0 0 -16px 0;
            padding: 0 0 0 0;
            width: 50%;
            letter-spacing: -0.025em;
        }

        .dt-line {
            position: relative;
        }

        .dt-line:after {
            border-bottom: 8px solid #4D9497;
            content: "";
            bottom: -39px;
            left: 0;
            position: absolute;
            width: 80px;
        }

        .dt-content {
            display: flex;
            flex-direction: column;
        }
        
        .dt-subheading {
            font-size: 36px;
            margin: -76px 0 80px 0;
            padding: 0 0 0 0;
        }
        
        .dt-content p {
            font-size: 18px;
            line-height: 36px;
            margin: 0 0 36px 0;
            padding: 0 0 0 0;
        }

        .dt-img-block {
            display: flex;
            flex-direction: row;
            justify-content: space-between;
            padding: 20px 0 40px 0
        }

        .dt-img-block img {
            width: calc(50% - 15px);
        }

        .dt-img-block img:last-of-type {
            margin-top: 130px;
        }

        .dt-button {
    background: #4D9497;
    border-radius: 48px;
    color: #FFFFFF;
    display: inline-block;
    font-size: 18px;
    font-weight: bold;
    margin: 0 0 0 0 !important;
    padding: 10px 20px 13px 20px;
    text-decoration: none;
    line-height: 30px;

}
#discovery-tasting p.event-closed {
    background: #db3a341a;
    border: 2px solid #db3a3454;
    border-radius: 4px;
    color: #DB3A34;
    font-size: 16px;
    font-weight: bold;
    padding: 15px;
    line-height: 24px;
    margin-top: 0;
}
        @media(max-width: 680px) {

            #discovery-tasting {
                box-sizing: border-box;
                padding: 0 20px 40px 20px;
            }

            .dt-head {
                display: flex;
                flex-direction: column;
                align-items: flex-start;
                margin: 40px 0 33px 0;
                width: 100%;
            }

            .dt-head img {
                width: 100%;
                height: auto;
            }
            
            .dt-head h1 {
                font-size: 48px;
                margin: 0 0 78px 0;
                padding: 0 0 0 0;
                width: 100%;
            }

            .dt-subheading {
                margin: 0 0 60px 0;
            }

            .dt-line:after {
                bottom: -31px;
            }
           

            .dt-img-block {
                padding-bottom: 33px;
            }

            .dt-img-block img {
                width: calc(50% - 15px);
                height: auto;
            }

            .dt-img-block img:last-of-type {
                margin-top: 0;
            }
           

        }