/* 

    WRBM :: 20/09/18 :: CH
    
*/


@media only screen and (min-width: 768px) and (max-width: 1199px) {
    #news-block, .c-12 {
        padding-left: 18px;
        padding-right: 18px ;
    }
}


@media (max-width: 768px) {

.col {
  margin: 0;
}
    
.c-1, .c-2, .c-3, .c-4, .c-5, .c-6, 
.c-7, .c-8, .c-9, .c-10, .c-11, .c-12,
.story, .story:first-child, #timeline .story:first-child {
    width: 100%;
}
    
        
    #branding {
        display: none;
    }
    
    #carousel {
        box-sizing: border-box;
        padding: 15px 15px 18px 15px;
    }
    
    #carousel .glide h2 {
        font-size: 16px;
        line-height: 24px;
        margin-bottom: 4px;
    }
    
    #carousel .glide p {
        font-size: 12px;
        margin-bottom: 4px;
    }
    
    #carousel .glide a.cta {
        font-size: 12px;
        background: transparent;
        color: #fff;
        font-weight: 700;
        padding: 0 0 0 0;
        border-radius: 6px;
        display: inline-block;
    }
        
    #carousel .glide .content {
        position: absolute;
        bottom: 50%;
        transform: translateY(50%);
        left: 18px;
        max-width: 90%;
    }
    
    #carousel .glide__bullets {
        right: 18px;
    }
    
    #carousel .glide__bullets button {
        width: 19px;
        height: 19px;
        border-width: 4px;
        font-size: 12px;
        background: white;
        border-radius: 3px;
        padding: 0;
        color: #4D9497;
    }
    
    
    #carousel .glide__bullets button:first-of-type {
        margin-right: 5px;
    }
    
/*
    News block styling
*/
    
    #news-block {
        box-sizing: border-box;
        padding: 15px 15px;
    }
    
    #timeline {
        box-sizing: border-box;
        padding: 15px 15px 0 15px;
    }
    
    #timeline .upcoming-events, #timeline .twitter, #timeline .timeline-events {
        width: 100%;
        min-height: auto;
        margin: 0 0 15px 0;
    }
    
    #sponsors {
        box-sizing: border-box;
        padding: 15px 15px 10px 15px;
    }

    .story:first-child {
        background-position: center center !important;
    }
    
    .story {
 margin: 0 0 15px 0;
 }
    
    .story:first-child h2 {
        font-size: 24px;
        line-height: normal;
        margin: 0 0 12px 0;
    }
/*
    Searchbox styling    
*/
    
    #search-box {
 padding-top: 24px;
 }
    
    #search-box ul li {
        margin-right: 5px;
    }
    
    #search-box .tab {
        display: block;
    }
    
    #search-box .tab ul {
        display: block;
    }
    
    #search-box .tab ul li {
        width: 100%;
        margin-bottom: 6px;
    }
    
    #search-box .tab ul li:last-child {
        min-width: 100%;
        max-width: 100%;
    }
    
    #search-box .tab ul li a.button {
        margin-top: 6px;
    }
    
    #search-box .tab ul li a.advanced {
        font-size: 12px;
        padding-bottom: 0;
    }
    
    #search .head {
        margin-top: 36px;
        padding: 0 18px;
    }
    
    #search .head h1 {
 font-size: 24px;
 padding-bottom: 10px;
 }
    
    #search .head .c-3 {
        display: none;
    }
    
    #search .head .c-9 {
        min-height: auto;
    }
    
    #filter-search {
        padding: 0 18px;
    }
    
    #filter-search h3 {
        font-size: 16px;
    }
    
    #filter-search select, #filter-search input[type="text"], #filter-search span.checkbox {
        font-size: 14px;
        padding: 9px 6px;
    }
    
    #filter-search ul.category {
        margin-bottom: 9px;
    }
    
    #filter-search a.button {
        margin-top: 9px;
    }
    
    #filter-search {
 margin-bottom: 24px;
 }
    
    #search-results .displaying {
        font-size: 16px;
    }
    
    

    /*.result ul {
        display: block;
    }

    .result ul li {
        flex-grow: 1;
        float: left;
        list-style: none;
        float: none;
        display: block;
    }

    .result ul li:first-child {
        min-width: 100%;
        max-width: 100%;
        margin: 0 12px 0 0;
    }

    .result ul li:first-child img {
        width: 100%;
    }

    .result ul li:last-child {
        padding-top: 12px;
        max-width: 100%;
        min-width: 100%;
    }
    

    
    .result ul li:last-child img {
        width: 45px;
        height: 45px;
        float: left;
    }
*/
    
    .result {
 padding: 15px 12px;
 }
    
    .result ul {
        flex-flow: row wrap;
    }
        
    .result ul li:first-child {
        overflow: hidden;
        max-width: 20%;
        margin-right: 0;
        min-width: 20%;
        text-align: center;
    }

    .result ul li:first-child img {
        border-radius: 6px;
        float: left;
        margin-left: calc(50% - 100px);
        width: 200px;
    }

    .result ul li {
        flex-grow: 1;
        float: left;
        width: 50%;
        list-style: none;
    }
    
    .result ul li:last-child {
        text-align: right;
        max-width: 20%;
        min-width: 20%;
    }
 
    
    .result h2 {
        font-size: 14px;
        line-height: 19px;
 
        margin: 3px 0 6px 9px;
    }

    .result p {
        font-size: 12px;
        margin: 0 0 3px 9px;
    }
    
    .result ul li:last-child img {
        height:auto;
    }
    
    .result-content {
        padding: 0 18px;
    }
    
    .result-content .medals {
        margin-bottom: 24px;
    }
    
    .result-content .medals img {
        display: inline;
        width: auto;
    }
    
    .result-content .tasting {
        text-align: center;
        display: block;
    }
    
    .result-content .tasting img {
        float: none;
        margin: 0;
        width: 28px;
        height: 28px;
    }

    textarea,
    input.text,
    input[type="text"],
    input[type="button"],
    input[type="submit"],
    .input-checkbox {
        -webkit-appearance: none;
    }

    #results-tables {
        float: left;
        width: 100%;
        overflow-x: scroll;
        box-sizing: border-box;
        padding: 54px 12px;
    }
    
    
.result-content .information .stockist {
    float: left;
    overflow-x: scroll;
    width: 100%;
}

/*
    Article styling    
*/
    
    #article .head, #shop .head {
        padding: 32px 18px;
        margin-bottom: 18px;
        text-align: left;
    }
    
    #article .head p, #shop .head p {
        padding-left: 0;
        padding-right: 0;
    }
    
    #article .head .title, #shop .head .title {
        font-size: 28px;
        margin-bottom: 6px;
    }
    
    
    .article-intro {
        padding: 0 18px;
    }
    
    .article-intro {
        padding: 0 18px;
    }
    
    #article .article-intro h1 {
        font-size: 24px;
        margin: 0 0 21px 0;
    }
    
    .article-content {
        padding: 0 18px;
    }
    
    #article .article-gallery {
        margin-top: 24px;
    }
    
    #article .article-gallery img {
        border-radius: 0;
    }
    
    #article .article-gallery-caption p {
        text-align: left;
        margin-left: 18px;
    }
    
    #article .meta ul {
        font-size: 14px;
        list-style: none;
        margin: 0;
        float: left;
        text-align: left;
        padding: 0;
    }
    

    #article .meta ul li:first-child {
        font-weight: 700;
        border-bottom: none;
        padding: 11px 0 0 0;
        margin-bottom: 4px;
    }
    

    #article .meta img {
        max-width: 60px;
        float: left;
        margin-right: 18px;
        border-radius: 50%;
    }
  
    
/*
    Blog Styling
*/

    #blog-meta {
        padding: 24px 24px 0 24px;
        box-sizing: border-box;
    }

    #blog-meta .c-4 {
        margin-bottom: 24px;
        min-height: auto;
    }
    
/*   
    Shop styling
*/
    
    #shop .head {
        margin-bottom: 0;
    }
    
    #shop-message .highlight {
        border-radius: 0;
        margin: 0;
    }
    
    
    #you-are-here {
        border-bottom: 0;
        background: #F5F5F5;
        padding: 12px;
        margin: 0 0 18px 0;
    }
    
    #you-are-here ul {
        width: 100%;
    }
    
    #you-are-here ul li,
    #you-are-here .productbreadcrumbs_area a{
        border-right: 0;
        border-bottom: 1px solid #DCDCDC;
        font-size: 14px;
        padding: 3px 0 6px 0;
        margin: 0 0 3px 0;
        width: 90%;
        display: inline-block;
        line-height: 17px;
    }
    #you-are-here ul li{
        width: 99%;
    }
    .productbreadcrumbs_area a::after{
        right: -10%;
        border: 0;
        border-bottom: 1px solid #DCDCDC;
        background: #F5F5F5;
        height: 25px;
        width: 10%;
        bottom: -1px;
    }
    /*#you-are-here ul li:last-child,*/
    #you-are-here .productbreadcrumbs_area a:last-child,
    .productbreadcrumbs_area a:last-child:after{
        border-bottom: 0;
    }
    #you-are-here ul li:last-child{
        border-right: 0;
    }
    
    #you-are-here .currency  select {
        font-size: 14px;
    }
    
    #shop-items {
        padding: 0 12px;
        overflow-x: scroll;
    }
    
    #shop-items .c-3 {
        padding: 6px;
        width: 50%;
    }
        
/*
    Login / Register Styling    
*/    
    
.login {
    padding: 0;
}
    
.login h2, .register h2 {
    font-size: 18px;
    margin: 12px 0 12px 0;
    padding: 0 0 12px 0;
    border-bottom: 1px solid rgba(0,0,0,0.15);
}
    
    
.form .field {
    display:block;
    margin-bottom: 0;
    padding-bottom: 6px;
}
    
.form .field label {
    float: left;
    font-size: 14px;
    padding: 6px 0 6px 0;
    min-width: 100%;
}

.register .form .field label {
    min-width: 100%;
}

.form .field input[type="text"], .form .field input[type="password"] {
    box-sizing: border-box;
    width: 100%;
}

.form .field.float-buttons {
    padding: 12px 0 24px 0;
    display: flex;
}

.form .field.float-buttons input[type="button"] {
    box-sizing: border-box;
    margin: 0 0 15px 0;
}
    
.form .register input[type="button"] {
    min-width: 100%;
}
    
/*
    Judges styling
*/    
    
    .judges, .sponsors, .contacts {
        padding: 0 18px;
    }
    
    .judges .c-12:first-child, .sponsors .c-12:first-child {
        margin: 24px 0 6px 0;
        padding: 0;
    }
    
    .judges .c-12, .sponsors .c-12 {
        border-radius: 6px;
        margin: 0 0 12px 0;
        padding: 15px 15px 26px 15px;
    }
    
    .judges .c-9, .sponsors .c-9 {
        border: 0;
        padding: 0;
    }
    
    .judges .c-9 { min-height: auto !important; }
    
    .sponsors .c-9 {
        text-align: center;
    }
    
    .judges .c-3 {
        text-align: left;
        padding-top: 0;
        padding-bottom: 0;
    }
    
    .judges .c-3 img {
        width: 30%;
    }
    
    .sponsors .c-3 {
        padding: 0;
        border: 0;
    }
    
    .sponsors .c-3 img {
        width: 45%;
    }

    .judges h2.heading, .sponsors h2.heading, .contacts h2.heading {
    
        font-size: 24px;
        margin-bottom: 7px;
    }
    
    .judges h3, .sponsors h3, .contacts h3 {
        font-size: 19px;
        font-weight: 700;
        margin: 12px 0 9px 0;
    }
   
    
    .contacts ul {
        font-size: 14px;
    }
    
    .sponsors h3 {
        margin-bottom: 3px;
    }
    
    .judges .c-12 p, .judges .c-9 p {
        font-size: 14px;
        line-height: 21px;
        margin-bottom: 18px;
    }
    
    .sponsors .c-9 p {
        font-size: 14px;
    }
    
    .contacts .c-12 {
        padding: 9px 12px 15px 12px;
    }
    
    #footer .c-12 {
        padding: 0 18px;
    }
    
    #footer .c-6 {
        width: 100%;
    }
    
    #footer ul.social, #footer ul.links {
        float: none;
        display: block;
        text-align: center;
        width: 100%;
    }
    
    #footer ul.social li, #footer ul.links li {
        float: none;
        display: inline-block;
    }
    
    #footer ul.social li:last-child {
        margin-right: 0;
    }
    
    #footer ul.links li:first-child {
        margin-left: 0;
    }
    
    
    #footer ul.social li a, #footer ul.links li a {
        display: inline-block;
        float: left;
    }
    
}