/* ==========================================================================
   Local Drinks
   ========================================================================== */

*,
*:after,
*:before {
    -webkit-box-sizing: border-box;
       -moz-box-sizing: border-box;
            box-sizing: border-box;
}

html {
    overflow-y: scroll;
}

html,
button,
input,
select,
textarea {
    color: #525248;
}

body {
    font-family: "Lato", sans-serif;
    font-size: 18px;
    line-height: 1.4;
    background: url(../img/bg.jpg) repeat center top;
}

::-moz-selection {
    background: #b3d4fc;
    text-shadow: none;
}

::selection {
    background: #b3d4fc;
    text-shadow: none;
}

h1, h2, h3, h4, h5, h6 {
    margin: 0 0 10px 0;
    line-height: 1.2;
    font-weight: bold;
}

h1, h3 {
    font-family: "Rosario", sans-serif;
}

h1 {
    font-size: 52px;
}

h2 {
    font-size: 40px;
    color: #ee2e24;
}

h3 {
    font-weight: normal;
    font-size: 36px;
}

h5 {
    font-size: 18px;
    text-transform: uppercase;
}

p {
    margin: 0 0 10px 0;
}

ul {
    margin: 0 0 10px 0;
}

hr {
    display: block;
    height: 1px;
    border: 0;
    border-top: 1px solid #ccc;
    margin: 1em 0;
    padding: 0;
}

img {
    vertical-align: middle;
}

fieldset {
    border: 0;
    margin: 0;
    padding: 0;
}

textarea {
    resize: vertical;
}

.chromeframe {
    margin: 0.2em 0;
    background: #ccc;
    color: #000;
    padding: 0.2em 0;
}


/* Layout
--------------------------------------- */

.layout {
    max-width: 920px;
    margin: 0 auto;
    position: relative;
}
.layout-primary {
    float: right;
    width: 67%;
    padding-right: 80px;
}
.layout-secondary {
    float: left;
    width: 31%;
}
.layout-aside {
    position: absolute;
    top: 0;
    right: 0;
}


/* Panel
--------------------------------------- */

.panel {
    padding: 15px;
    margin-bottom: 15px;
    background-color: #fff;
    border: 4px solid #ddddd7;
    border-radius: 15px;
}


/* Dropdown Menu
--------------------------------------- */

.dropdown-toggle {
    position: relative;
    display: block;
    min-width: 52px;
    padding: 5px 20px 5px 0;
    color: #525248;
    font-size: 16px;
    font-weight: bold;
    text-transform: uppercase;
    text-decoration: none;
}

.dropdown-toggle span {
    position: relative;
    z-index: 10;
    background-color: #fff;
}
.dropdown-toggle:before {
    content: "";
    width: 0;
    height: 0;
    position: absolute;
    right: 80px;
    top: 50%;
    margin-top: -5px;
    border-style: solid;
    border-width: 10px 6px 0 6px;
    border-color: #525248 transparent;
}

.dropdown-menu {
    left: -15px;
    right: auto;
    width: 190px;
    margin: -5px 0 0 0;
    border-top-left-radius: 0;
    border-bottom-left-radius: 0;
    box-shadow: none;
    background: #f8f6ec;
    border: none;
    color: inherit;
}
.dropdown-menu li a {
    padding: 2px 90px 2px 15px;
    color: #31312c;
    font-size: 14px;
    text-decoration: none;
}
.dropdown-menu li a:hover {
    color: #ee2e24;
    background: none;
}


/* Radio Input
--------------------------------------- */

.borderradius .radio-input {
    opacity: 0;
    visibility: hidden;
    position: absolute;
}

.borderradius .radio-input + label:after {
    padding-left: 20px;
    margin-top: -6px;
    display: block;
    line-height: 1.4;
    content: attr(data-content);
    text-indent: 0;
    white-space: nowrap;
    font-size: 16px;
    font-weight: bold;
}

.borderradius .radio-input + label {
    display: block;
    float: left;
    clear: left;
    width: 12px;
    height: 12px;
    margin: 8px 0;
    cursor: pointer;
    vertical-align: middle;
    text-indent: -9999px;
    white-space: nowrap;
    font-size: 0;
    line-height: 0;

    border: 1px solid #ccc;
    background-color: #fff;
    background-repeat: no-repeat;

    -webkit-border-radius: 50%;
            border-radius: 50%;
}

.borderradius .radio-input:checked + label {
    background-color: #ee2e24;
}
.borderradius .radio-input:disabled + label {
    text-decoration: line-through;
    opacity: 0.5;
    cursor: not-allowed;
}

/* IE */
.no-borderradius .radio label {
    cursor: pointer;
    display: inline-block;
    line-height: 28px;
    height: 28px;
    font-size: 16px;
    font-weight: bold;
}


/* Social
--------------------------------------- */

.social-button {
    min-height: 66px;
    margin-bottom: 15px;
    text-align: center;
}


/* Heading Icons
--------------------------------------- */

.sec-icon {
    position: relative;
}

.sec-icon:before {
	content: '';
	display: block;
	position: absolute;
	background-repeat: no-repeat;
	background-position: center;
}

.heading-icon-star:before {
    width: 51px;
    height: 49px;
    left: -88px;
    top: -14px;
    background-image: url(../img/icon-star.png);
}

.aus-sec:before {
    width: 44px;
    height: 145px;
    left: -64px;
    top: -64px;
    background-image: url(../img/AustraliaWine-Bottle.png);
}

.aus-sec-coc:before {
	width: 55px;
    height: 124px;
    left: -84px;
    top: 0px;
    background-image: url(../img/AustraliaCocktail-Shaker.png);
}


/* Header
--------------------------------------- */

.header {
    padding: 30px 0 30px 0;
    margin-bottom: 30px;
    background-color: #fff;
    border-bottom: 10px solid #ddddd7;
}

.page-logo,
.page-logo img {
    display: inline-block;
}
.page-logo {
    padding-bottom: 30px;
}

.page-title {
    line-height: 1;
}
.page-description {
    margin-bottom: 0;
    color: #707063;
    font-weight: bold;
}


/* Content
--------------------------------------- */

.content {
    margin-bottom: 15px;
}


/* Primary
--------------------------------------- */

.panel-country-name {
    padding: 12px 15px;
    min-height: 68px;
}
.panel-country-name h3 {
    line-height: 1;
    margin: 0;
    text-align: center;
}

.panel-drink {
    padding-left: 120px;
    min-height: 547px;
}
.panel-drink-name {
    position: relative;
    padding: 20px 0 15px 0;
    border-bottom: 4px solid #ffeebc;
}
.panel-drink-image {
    position: absolute;
    bottom: 0;
    left: -120px;
    width: 120px;
    text-align: center;
}
.panel-drink-image img {
    display: inline-block;
}

/* IE */
.lt-ie9 .panel-country-name {
    min-height: 0;
}


/* Secondary
--------------------------------------- */

.panel-country {
    min-height: 238px;
}
.panel-country-heading {
    margin-bottom: 0;
}
.panel-country-dropdown {
    margin-bottom: 10px;
}
.panel-country-image {
    display: block;
    margin: 0 auto;
    max-width: 100%;
}

.panel-type {
    min-height: 125px;
}

.panel-type-notice {
    color: #ee2e24;
    font-style: italic;
}
.panel-type-notice p:last-child {
    margin-bottom: 0;
}

.panel-preference {
    min-height: 258px;
}


/* ==========================================================================
   Media Queries
   ========================================================================== */

@media only screen and (max-width: 940px) {
    .layout {
        margin-left: 10px;
        margin-right: 10px;
    }
}

@media only screen and (max-width: 800px) {
    .layout-primary {
        padding-right: 0;
    }
    .layout-aside {
        padding-top: 15px;
        clear: both;
        position: relative;
        text-align: center;
    }
    .social-button {
        display: inline-block;
        margin-right: 20px;
    }
}

@media only screen and (max-width: 640px) {
    .layout-secondary,
    .layout-primary {
        width: auto;
        float: none;
    }
}




/* ==========================================================================
   Helper classes
   ========================================================================== */

.ir {
    background-color: transparent;
    border: 0;
    overflow: hidden;
    *text-indent: -9999px;
}

.ir:before {
    content: "";
    display: block;
    width: 0;
    height: 150%;
}

.hidden {
    display: none !important;
    visibility: hidden;
}

.visuallyhidden {
    border: 0;
    clip: rect(0 0 0 0);
    height: 1px;
    margin: -1px;
    overflow: hidden;
    padding: 0;
    position: absolute;
    width: 1px;
}

.visuallyhidden.focusable:active,
.visuallyhidden.focusable:focus {
    clip: auto;
    height: auto;
    margin: 0;
    overflow: visible;
    position: static;
    width: auto;
}

.invisible {
    visibility: hidden;
}

.clearfix:before,
.clearfix:after {
    content: " ";
    display: table;
}

.clearfix:after {
    clear: both;
}

.clearfix {
    *zoom: 1;
}
