@font-face {
    src: url('../fonts/BlissPro.eot');
    src: url('../fonts/BlissPro.eot?') format('embedded-opentype'),
    url('../fonts/BlissPro.woff') format('woff'),
    url('../fonts/BlissPro.ttf') format('opentype');
    font-weight: 200;
    font-style: normal;
	font-size-adjust:0.47;
}
@font-face {
    src: url('../fonts/BlissPro.eot');
    src: url('../fonts/BlissPro.eot?') format('embedded-opentype'),
    url('../fonts/BlissPro.woff') format('woff'),
    url('../fonts/BlissPro.ttf') format('opentype');
    font-weight: 500;
    font-style: normal;
	font-size-adjust:0.47;
}
@font-face {
    src: url('../fonts/BlissPro.eot');
    src: url('../fonts/BlissPro.eot?') format('embedded-opentype'),
    url('../fonts/BlissPro.woff') format('woff'),
    url('../fonts/BlissPro.ttf') format('opentype');
    font-weight: 200;
    font-style: italic;
	font-size-adjust:0.47;
}
@font-face {
    src: url('../fonts/BlissPro.eot');
    src: url('../fonts/BlissPro.eot?') format('embedded-opentype'),
    url('../fonts/BlissPro.woff') format('woff'),
    url('../fonts/BlissPro.ttf') format('opentype');
    font-weight: 500;
    font-style: italic;
	font-size-adjust:0.47;
}
@font-face {
    src: url('../fonts/BlissPro-Bold.eot');
    src: url('../fonts/BlissPro-Bold.eot?') format('embedded-opentype'),
    url('../fonts/BlissPro-Bold.woff') format('woff'),
    url('../fonts/BlissPro-Bold.ttf') format('opentype');
    font-weight: bold;
    font-style: normal;
	font-size-adjust:0.47;
}
@font-face {
    src: url('../fonts/BlissPro-Bold.eot');
    src: url('../fonts/BlissPro-Bold.eot?') format('embedded-opentype'),
    url('../fonts/BlissPro-Bold.woff') format('woff'),
    url('../fonts/BlissPro-Bold.ttf') format('opentype');
    font-weight: 800;
    font-style: normal;
	font-size-adjust: 0.47;
} 

.text-center {
    text-align: center;
}
#calculator-wrapper {
    padding-top:4rem;
    background: #03accc url('../img/drinks-calculator-v2/calculator-wrapper-bg.png') repeat-x bottom;
    color: #fff;
}
.calculator_intro_title {
    max-width: 850px;
    margin: 0 auto;
    text-align: center;
}
.calculator_intro_title h1 {
    font-size: 30px;
    margin-bottom: 45px;
}
.calculator_intro_start {
    max-width: 800px;
    margin: 0 auto;
    text-align: center;
}
.calculator_intro_start p {
    font-family: 'Open Sans', sans-serif;
    font-size: 16px;
    line-height: 1.6;
}
.calculator_intro {
     padding-top: 4rem;
     padding-bottom: 2.5rem;
}
.calculator_intro p,
.calculator-tepms p {
    font-family: 'Open Sans', sans-serif;
    font-size: 16px;
    line-height: 1.6;
}
.calculator-tepms {
    margin-bottom: 1rem;
}
.calculator_heading {
    color: #fff;
    font-weight: bold;
    font-size: 44px;
    background: url('../img/drinks-calculator-v2/calculator_heading.svg') no-repeat bottom center;
    margin-bottom: 1.5rem;
    line-height: 1.4;
    text-transform: uppercase;
}
.calculator_subheading {
    color: #fff;
    font-weight: bold;
    font-size: 36px;
    margin-top: -40px;
}

#calculator-form fieldset {
    margin: 0;
    border: 0 none;
    padding-left: 0;
    padding-right: 0;
}

#select-gender {
    padding-bottom: 4rem;
}

#drinks-location {
    display: none;
    padding-bottom: 4rem;
}
#drinks-selection {
    height: 0px; overflow-y: hidden;
}

fieldset div.legend {
    color: #fff;
    font-weight: bold;
    text-transform: uppercase;
    font-size: 24px;
    margin-bottom: 2rem;
}
fieldset div.legend span {
    color: #cedc00;
}
.radio_item {
    display: none !important;
}
.radio_item:disabled + label {
    opacity: .5;
    cursor: default;
}
.label_item {
    cursor: pointer;
}
.label_item, .results-icon {
    display: inline-block; 
    margin: 0 0 20px;
    width: 140px;
    height: 140px;
    background-color: #fff;
    border-radius: 10px;
    background-repeat: no-repeat;
    background-position: center 25%;
    background-size: 72px 90px;
    position: relative;
}
.label_item:hover {
    border: 1px solid #4cd3ec;
}
.label-text {
    position: absolute;
    bottom: 10px;
    width: 100%;
    text-align: center;
    color: #4cd3ec;
    font-weight: bold;
    text-transform: uppercase;
    font-size: 16px;
}
#select-gender .radio_item:checked + label, #drinks-location .radio_item:checked + label {
     background-color: #4cd3ec;
}
#select-gender .radio_item:checked + label > .label-text, #drinks-location .radio_item:checked + label > .label-text {
    color: #fff;
}
#select-male + label, #results-male {
    background-image: url('../img/drinks-calculator-v2/Male.svg');
}
#select-female + label, #results-female {
    background-image: url('../img/drinks-calculator-v2/Female.svg');
}
#select-pub + label, #results-pub {
    background-image: url('../img/drinks-calculator-v2/Pub.svg');
}
#select-home + label, #results-home {
    background-image: url('../img/drinks-calculator-v2/Home.svg');
}

.slick-slider {
    max-width: 700px;
    margin: 0 auto;
}

.slick-prev, .slick-next {
    font-size: 0;
    line-height: 0;
    position: absolute;
    top: 50%;
    display: block;
    width: 50px;
    height: 50px;
    padding: 0;
    -webkit-transform: translate(0, -50%);
    -ms-transform: translate(0, -50%);
    transform: translate(0, -50%);
    cursor: pointer;
    color: transparent;
    border: none;
    outline: none;
    background-color: #35bdd6;
    background-position: center;
    background-repeat: no-repeat;
    border-radius: 50%;
    z-index: 100;
}
.slick-prev:hover, .slick-prev:focus, .slick-next:hover, .slick-next:focus {
    background-color: #44cee7;
    background-position: center;
    background-repeat: no-repeat;
}
.slick-prev, .slick-prev:hover, .slick-prev:focus {
    left: -10px;
    background-image: url('../img/drinks-calculator-v2/prev-arrow.png');
}
.slick-next, .slick-next:hover, .slick-next:focus {
    right: -10px;
    background-image: url('../img/drinks-calculator-v2/next-arrow.png');
}
.slick-next::before {
    content: "";   
}
.slick-prev::before {
    content: "";
}


.drink-tmpl {
    width: 208px;
    padding: 20px 0;
    text-align: center;
}
.slide-group {
    display: block; 
    margin: 0 auto;
    width: 208px;
    height: 208px;
    background-color: #fff;
    border-radius: 10px;
    background-repeat: no-repeat;
    background-position: center 20%;
    background-size: 70px 90px;
    position: relative;
}
.slide-group label {
    position: absolute;
    bottom: 35px;
    left: 0;
    right: 0;
    font-weight: bold;
    text-transform: uppercase;
    font-size: 16px;
    line-height: 1.3;
    color: #03accc;
    padding: 0 10px;
}
.slide-group label span {
    color: #4a4a4a;
}
.input-counter {
    display: none; 
    position: absolute;
    top: -10px;
    right: 5px;
    background: #878ac4;
    height: 40px;   
    line-height: 35px; 
    width: 40px; 
    text-align: center;
    border: 2px solid #fff;
    border-radius: 50%;
    
}
.slider {
    display: none;
}


/* lager */
#pint_lager_3 {
  background-image: url('../img/drinks-calculator-v2/Lager%203%25.svg');
}
#pint_lager_4 {
  background-image: url('../img/drinks-calculator-v2/Lager%204.5%25.svg');
}
#bottle_beer {
  background-image: url('../img/drinks-calculator-v2/Bottle%20lager.svg');
}
#can_lager {
  background-image: url('../img/drinks-calculator-v2/Can%20lager.svg');
}
/* cider */
#pint_cider {
  background-image: url('../img/drinks-calculator-v2/Cider%204.5%25.svg');
}
#can_cider {
  background-image: url('../img/drinks-calculator-v2/Can%20cider.svg');
}
#bottle_cider {
  background-image: url('../img/drinks-calculator-v2/Bottle%20cider.svg');
}
/* stout */
#pint_stout {
  background-image: url('../img/drinks-calculator-v2/Stout%204.2%25.svg');
}

/* white wine */
#glass_white_wine {
  background-image: url('../img/drinks-calculator-v2/Glasses%20of%20white%20wine.svg');
}
#quarter_bottle_white_wine {
  background-image: url('../img/drinks-calculator-v2/1_4%20bottle%20of%20white%20wine.svg');
}
#half_bottle_white_wine {
  background-image: url('../img/drinks-calculator-v2/1_2%20bottle%20of%20white%20wine.svg');
}
#bottle_white_wine {
  background-image: url('../img/drinks-calculator-v2/1%20bottle%20of%20white%20wine.svg');
}
/* red wine */
#glass_red_wine {
  background-image: url('../img/drinks-calculator-v2/Glasses%20of%20red%20wine.svg');
}
#quarter_bottle_red_wine {
  background-image: url('../img/drinks-calculator-v2/1_4%20bottle%20of%20red%20wine.svg');
}
#half_bottle_red_wine {
  background-image: url('../img/drinks-calculator-v2/1_2%20bottle%20of%20red%20wine.svg');
}
#bottle_red_wine {
  background-image: url('../img/drinks-calculator-v2/1%20bottle%20of%20red%20wine.svg');
}
/* spirits */
#measure_spirits {
  background-image: url('../img/drinks-calculator-v2/Measures%20of%20spirits,%2040%25.svg');
}
#spirit_mixer {
  background-image: url('../img/drinks-calculator-v2/Spirits%20+%20Small%20mixer.svg');
}
#spirit_soft_drink {
  background-image: url('../img/drinks-calculator-v2/Spirits%20+%20Soft%20Drink.svg');
}
#bottle_spirits {
  background-image: url('../img/drinks-calculator-v2/Bottle%20spirits.svg');
}
/* alcopop */
#alcopop {
  background-image: url('../img/drinks-calculator-v2/Alcopop.svg');
}
/* Prosecco */
#glass_prosecco {
  background-image: url('../img/drinks-calculator-v2/Glass%20of%20prosecco.svg');
}


#submit-btn {
    margin: 1.5rem auto;
}
#submit-btn .button {
    display: inline-block;
    width: auto;
    padding: 1.2rem 2rem;
    background: #ef5169;
    color: #fff;
    border: 0;
    border-radius: 10px;
    font-weight: bold;
    text-transform: uppercase;
    font-size: 18px;
}
#results-buttons {
    position: absolute;
    bottom: -50px;
    left: 0;
    right: 0;
    text-align: center;
    width: 100%;
}
#results-buttons .button {
    display: inline-block;
    width: auto;
    padding: 1.2rem 2rem;
    background: #ef5169;
    color: #fff;
    border: 0;
    border-radius: 10px;
    font-weight: bold;
    text-transform: uppercase;
    font-size: 18px;
}

.ui-spinner .ui-icon.ui-icon-triangle-1-n {
    background: url('../img/drinks-calculator-v2/plus.png') no-repeat;
}
.ui-spinner .ui-icon.ui-icon-triangle-1-s {
    background: url('../img/drinks-calculator-v2/minus.png') no-repeat;
}

a.ui-spinner-button.ui-spinner-up.ui-corner-tr:before {
    content: '';
    background: url(../img/drinks-calculator-v2/plus.png) no-repeat;
    width: 20px;
    height: 20px;
    display: inline-block;
}
a.ui-spinner-button.ui-spinner-down.ui-corner-br:before {
    content: '';
    background: url(../img/drinks-calculator-v2/minus.png) no-repeat;
    width: 20px;
    height: 20px;
    display: inline-block;
}

.ui-spinner a.ui-spinner-button {
    background: #929292;
    padding: 7px;
    border: 2px solid #fff;
    border-radius: 50%;
    font-size: 0px;
    cursor: pointer;
}
.ui-spinner a.ui-spinner-button:hover {
    background:#626060;
}
.ui-icon {
    width:20px;
    height: 20px;
    display: inline-block;
}
input.ui-spinner-input {
	font-size:16px
}
.ui-spinner {
    width: 100%;
    height: 60px;
    margin-top: 190px;
    background: transparent;
    border: 0 none;
    overflow: visible;
    display: inline-block;
}
input.ui-spinner-input {
    font-size: 16px;
    width: 20px;
    display: none;
}
.ui-spinner-up {
    top: unset;
    bottom: 0px;
    left: 30%;
    height: 32px;
    width: 32px;
    display: inline-block;
}
.ui-spinner-down {
    top: unset;
    bottom: 0px;
    right: 30%;
    height: 32px;
    width: 32px;
    display: inline-block;
}

/*
    Results page
*/
/* Results page */
#results {
    background: #fff;
    padding: 1rem;
    padding-bottom: 2rem;
    margin-bottom: 2rem;
    border-radius: 10px;
    margin-top: 2rem;
    position: relative;
}
strong.result-under {
    background: #baca26;
    color: #fff;
    display: inline-block;
    padding: 0.3rem 0.7rem;
}
strong.result-over {
    background: #ef5169;
    color: #fff;
    display: inline-block;
    padding: 0.3rem 0.7rem;
}
.calc-link, .calc-link:hover, .calc-link:hover {
    color: #86e7f9;
    text-decoration: none;
    padding-bottom: 1px;
    border-bottom: 1px solid #86e7f9;
}

#drinks-consumed {
    text-align: left;
}
.results-drink {
    display: block; 
    margin: 0 20px;
    width: 100%;
    height: 200px;
    background-repeat: no-repeat;
    background-position: left 20%;
    background-size: 70px 90px;
    position: relative;
}
.results-drink::after {
    content: '';
    display: block;
    position: absolute;
    bottom: 0;
    right: 50%;
    width: 24px;
    height: 24px;
    background: url('../img/drinks-calculator-v2/green-plus-sign.png') no-repeat;
}
.results-drink:last-child::after {
    background: url('../img/drinks-calculator-v2/green-equals.png') no-repeat;
     width: 31px;
}
.results-drink-label {
    position: absolute;
    bottom: 60%;
    left: 120px;
    right: 0;
    font-weight: bold;
    text-transform: uppercase;
    font-size: 16px;
    line-height: 1.3;
    color: #03accc;
}
.results-drink-label span {
    color: #4a4a4a;
}
.results-drink-value {
    color: #878ac4;
    font-size: 20px;
}

#results-totals-container {
    margin: 40px auto;
}
.results-totals {
    display: inline-block;
    width: 100%;
    font-size: 16px;
    color: #03accc;
}
.result-figure {
    color: #878ac4;
    font-size: 25px;
    font-weight: bold;
}
.total-calories-icon, .total-standard-drinks-icon, .total-cost-icon, .total-hours-icon, .total-sugar-icon {
    height: 100px;
    width: 100px;
    background-repeat: no-repeat;
    background-size: 90px 40px;
    margin: 0;
    margin-right: 2rem;
    float: left;
}
.total-calories-icon {
    background-image: url('../img/drinks-calculator-v2/Calories.svg');
}
.total-standard-drinks-icon {
    background-image: url('../img/drinks-calculator-v2/Standard%20drinks.svg');
}
.total-cost-icon {
    background-image: url('../img/drinks-calculator-v2/Wallet.svg');
}
.total-hours-icon {
    background-image: url('../img/drinks-calculator-v2/Time.svg');
}
.total-sugar-icon {
    background-image: url('../img/drinks-calculator-v2/Sugar.svg');
}
.info-icon {
    display: block;
    height: 24px;
    width: 24px;
    background-repeat: no-repeat;
    background-position: center;
    background-size: cover;
    background-image: url('../img/drinks-calculator-v2/info-button.svg');
    margin: 10px auto; 
    cursor: pointer;
}

/* modals */
.reveal-modal {
    background: #F7F7F7;
    border: 1px solid #E7E7E7;
    box-shadow: 0 2px 4px 0 rgba(0,0,0,0.20);
    border-radius: 3px;
    padding: 60px 40px 20px 40px;
}

.button.over, .button.under {margin:0}
	.button.under {
		border: 1px solid #339F00;
		background:#38C000;
	}
	.button.over {
		border: 1px solid #A8000B;
		background:#D0021B;
	}
	.under.alert {
		border: 1px solid #38C000;
    width: 80%;
    max-width: 480px;
    margin: 0 auto;
    color: #38C000;
    padding: 20px 20px 0 20px;
    margin-bottom: 20px;
    background: #fff;		
	}
	.over.alert {
		border: 1px solid #D0021B;
    width: 80%;
    max-width: 480px;
    margin: 0 auto;
    color: #D0021B;
    padding: 20px 20px 0 20px;
    margin-bottom: 20px;
    background: #fff;	
	}

/* Quick Links */
section#quick-links h2 {
    color: #fff;
    font-weight: bold;
    font-size: 36px;
	text-align: center;
	margin:30px 0;
}
section#quick-links .quick-links .button {
    margin: 0;
    font-size: 17px;
    padding: 32px 37px;
    letter-spacing: normal;
    position: relative;
    width: 100%;
    text-align: left;
    height: 88px;
}
.button.background.white {
    background: #f0eee4 none repeat scroll 0 0;
    color: #666;
}
.background.blue {
    background: #00a1bb;
    color: #fff;
}
.button.green {
    color: #fff;
    background: #cede00;
}
.background.pink {
    background: #ef5169;
    color: #fff;
}
.background.purple {
    background: #898ac6;
    color: #fff;
}
section#quick-links {
    /*background: #fff none repeat scroll 0 0;*/
    padding-bottom: 2rem;
}
section#quick-links .quick-links .button {
    margin: 0;
    font-size: 17px;
    padding: 32px 37px;
    letter-spacing: normal;
    position: relative;
    width: 100%;
    text-align: left;
    height: 88px;
}
section#quick-links .quick-links .button::after {
    background-image: url(../images/assets/twofreedays/arrow_right_light.png);
    background-repeat: no-repeat;
    content: " ";
    height: 14px;
    position: absolute;
    right: 24px;
    top: calc(50% - 7px);
    width: 8px;
	
    transition: all 0.25s ease-out;
    -moz-transition: all 0.25s ease-out;
    -webkit-transition: all 0.25s ease-out;
}

section#quick-links .quick-links .button {
	border:0;
}

section#quick-links .quick-links .medium-4.columns .button.white::after {
    background-image: url(../images/assets/twofreedays/arrow_right_dark.png);
}
section#quick-links .quick-links .button:hover::after {
	right:12px;
}

@media only screen and (min-width: 700px) { 
    .calculator_heading {
        font-size: 50px;
    }
    fieldset div.legend {
        font-size: 30px;
    }
    .label_item, .results-icon {
        margin: 0 20px 20px !important;
        width: 250px;
        height: 250px;
        background-position: center 35%;
        background-size: 115px 180px;
    }
    .label-text {
        bottom: 15px;
        font-size: 22px;
    }
    .slick-prev, .slick-prev:hover, .slick-prev:focus {
        left: -70px;
    }
    .slick-next, .slick-next:hover, .slick-next:focus {
        right: -70px;
    }
    #drinks-consumed {
        text-align: center;
    }
    .results-drink {
        display: inline-block; 
        margin: 0 20px;
        width: 208px;
        height: 208px;
        background-repeat: no-repeat;
        background-position: center 20%;
        background-size: 70px 90px;
        position: relative;
    }
    .results-drink::after {
        content: '';
        display: block;
        top: 30%;
        right: 0;
    }
    .results-drink-label {
        bottom: 35px;
        left: 0;
        right: 0;
    }
    .results-totals {
        display: inline-block;
        width: 19%;
        text-align: center;
    }
    .total-calories-icon, .total-standard-drinks-icon, .total-cost-icon, .total-hours-icon, .total-sugar-icon {
        height: 100px;
        width: 100px;
        background-size: 90px 40px;
        background-position: center;
        margin: 0 auto 15px auto; 
        float: none;
    }
    .result-figure {
        display: block;
    }
}
@media (min-width: 1100px) {
    .calculator_heading {
        font-size: 64px;
    }
    fieldset div.legend {
        font-size: 36px;
    }
    .label_item, .results-icon {
        margin: 0 20px 20px!important;
        width: 300px;
        height: 300px;
        background-size: 145px 205px;
    }
    .label-text {
        bottom: 15px;
        font-size: 24px;
    }
    .slick-slider {
        max-width: none;
    }
    .slick-prev, .slick-next {
        width: 80px;
        height: 80px;
    }
    .slick-prev, .slick-prev:hover, .slick-prev:focus {
        left: -90px;
    }
    .slick-next, .slick-next:hover, .slick-next:focus {
        right: -90px;
    }
}

.modal-results-info p{
    font-size: 16px;
}
.modal-results-info .modal-content {
    padding: 2rem 1.5rem 2rem;
    background: #F7F7F7;
    border: 1px solid #E7E7E7;
    box-shadow: 0 2px 4px 0 rgba(0,0,0,0.20);
    border-radius: 3px;
}
.modal-results-info .modal-content .close {
    font-size: 1rem;
}
.modal-results-info .button-info-more {
    cursor: pointer;
    font-weight: normal;
    line-height: normal;
    margin: 0;
    position: relative;
    text-align: center;
    text-decoration: none;
    padding: 15px 20px;
    font-size: 15px;
    background-color: #666666;
    border: 1px solid #525252;
    color: #FFFFFF;
    display: inline;
}

.text-copy {
    font-size: 16px;
}