.clearfix::after {
    content: "";
    clear: both;
    display: table;
}

body {
    font-family: 'Didact Gothic';
    font-size: 16px;
}

#food_calc_game_8 {
    width: 100%;
    max-width: 900px;
    margin: auto;
}

#header-image {
    width: 100%;
}

.back {
    background: #fff931;
    padding: 20px;
    cursor: pointer;
    font-size: 24px;
    float: left;
    min-width: 100px;
    text-align: center;
    font-weight: bold;
}

.add-another-food{
    background: #91c8ff;
    padding: 20px;
    cursor: pointer;
    color: #fff;
    font-size: 24px;
    min-width: 100px;
    text-align: center;
    float: left;
    font-weight: bold;
    margin-right: 10px;
}

.next {
    background: #20ba24;
    padding: 20px;
    cursor: pointer;
    color: #fff;
    font-size: 24px;
    min-width: 100px;
    text-align: center;
    float: right;
    font-weight: bold;
}

.next.disabled{
    opacity: 0.5;
    cursor: not-allowed;
}

.btns-box {
    padding: 10px 0;
}

#food-chooser,
#slide-2,
#slide-3,
#slide-4,
#slide-5,
#slide-6,
#slide-7 {
    display: none;
}

#food-chooser > .title,
#slide-1 > .title,
#slide-2 > .title,
#slide-3 > .title,
#slide-4 > .title,
#slide-5 > .title,
#slide-6 > .title,
#slide-7 > .title {
    background: #EEE;
    color: #555;
    font-size: 25px;
    padding: 15px;
    text-align: center;
    text-transform: uppercase;
    font-weight: bold;
    margin: 10px 0;
}

#food-chooser > .title > div,
#slide-1 > .title > div,
#slide-2 > .title > div,
#slide-3 > .title > div,
#slide-4 > .title > div,
#slide-5 > .title > div,
#slide-6 > .title > div,
#slide-7 > .title > div {
    margin: -15px -15px 15px -15px;
    background: rgba(0, 0, 0, 0.05);
    font-size: 30px;
    padding: 10px;
    text-align: left;
}

.category-list {
    background: #eee;
    padding: 0 0 10px 0;
    margin: 0;
}

.recipe-list{
    background: #77dd77;
    padding: 10px 0;
    margin: 0;
    position: relative;
}

.remove{
    display: none;
}

.chosen .remove{
    display: block;
    color: #fff;
    font-weight: bold;
    font-size: 18px;
    float: right;
    position: absolute;
    right: 25px;
}

.category-list li,
.recipe-list li {
    list-style: none;
    padding: 12px;
    font-size: 18px;
    border-left: 8px solid rgba(0, 0, 0, 0.2);
    border-right: 8px solid rgba(0, 0, 0, 0.2);
    text-align: center;
    cursor: pointer;
    color: #555;
    text-transform: lowercase;
    min-height: 24px;
}

.recipe-list li{
    color: rgba(0,0,0,0.4);
}

.chosen{
    color: #555!important;
    font-weight: bold;
}

.category-list li:nth-child(odd),
.recipe-list li:nth-child(odd) {
    background: rgba(0, 0, 0, 0.1);
}

.category-list li:hover,
.recipe-list li:hover {
    background: rgba(0, 0, 0, 0.2);
}

.category-list li i,
.recipe-list li i {
    margin-left: 10px;
    font-size: 23px;
    position: relative;
    top: 1px;
}

.category-list li.active,
.recipe-list li.active {
    background: rgba(0, 0, 0, 0.4);
    color: #fff;
}

.slide-5-tbl{
    width: 100%;
    display: table;
    min-height: 400px;
    background: #91c8ff;
}

.slide-5-tbl-left{
    display: table-cell;
    vertical-align: middle;
    width: 55%;
}

.slide-5-tbl-right{
    display: table-cell;
    vertical-align: middle;
    width: 45%;
}

.slide-5-tbl-left span{
    display: block;
    margin: 25px;
    font-size: 30px;
    color: #fff;
    text-align: center;
}

span.mostly-grams,
span.mostly-calories {
    font-size: 50px;
    text-transform: uppercase;
}


#please_wait{
    background: rgba(255,255,255,0.75);
    position:fixed;
    width: 100%;
    height: 100%;
    top:0;
    left:0;
}

#please_wait div{
    margin-top: 75px;
    font-size: 40px;
    font-weight: bold;
    background: #fff;
    display: block;
    padding: 50px 25px;
    border: 1px solid #000;
    text-align: center;
    margin: 75px auto;
    width: 300px;
}

.text-string-1{
    text-align: center!important;
    background: rgba(0,0,0,0.1);
    font-weight: bold
}

.text-string-2{
    text-align: center!important;
    background: rgba(0,0,0,0.2);
}

.glucose-1,
.starch-1{
    margin: 10px;
    padding: 10px;
    background: rgba(0,0,0,0.1);
}

.glucose-2,
.starch-2{
    margin: 10px;
    padding: 10px;
    background: rgba(0,0,0,0.2);
}

.glucose-3,
.starch-3{
    margin: 10px;
    padding: 10px;
    background: rgba(0,0,0,0.3);
}

.glucose-4,
.starch-4{
    margin: 10px;
    padding: 10px;
    background: rgba(0,0,0,0.4);
}


.glucose-1 span,
.glucose-2 span,
.glucose-3 span,
.glucose-4 span,
.starch-1 span,
.starch-2 span,
.starch-3 span,
.starch-4 span{
    background: #d5001d;
    padding: 10px 20px;
    font-weight: bold;
    text-transform: uppercase;
}

.recipe-name > div span{
    display: block;
}

.slide-1-tabs{
    margin: 0;
    padding: 0;
}

.slide-1-tabs li{
    width: 50%;
    list-style: none;
    margin: 0; 
    color: rgba(0, 0, 0, 0.4); 
    border-bottom: 8px solid rgba(0,0,0,0.15); 
    padding: 15px 0;
    text-align: center;
    text-transform: uppercase; 
    font-size: 20px; 
    float:left;
    font-weight: bold;
    background: #91c8ff;
    cursor: pointer;
}

.slide-1-tabs li.active,
.slide-1-tabs li:hover{
    background: #5da4eb;
    color: rgba(0, 0, 0, 0.5); 
}

.name-box-wrapper{
    background: #eee;
    padding: 32px 25px 50px 25px;
    margin: 0;
    text-align: center;
}

.name-box-wrapper p{
    font-size: 18px;
}

.name-box-wrapper input,
.name-box-wrapper button{
    padding: 20px;
    font-size: 25px;
    min-width: 150px;
    border: 2px solid #d5001d;
    cursor: pointer;
}

.name-box-wrapper button{
    background: #d5001d;
    color: #fff;
    margin-left: -5px;
}

.name-box-wrapper:hover input,
.name-box-wrapper:hover button{
    border: 2px solid #c60001;
}

.name-box-wrapper:hover button{
    background: #c60001;
}

#food-list-amounts,
#food-list-calories{
    display: table;
    width: 100%;
}

.food-amount-row,
.food-calories-row,
.food-calories-header{
    display: table-row;
    background: #eee;
}

.food-calories-header .header{
    display: table-cell;
    border-bottom: 5px solid rgba(0,0,0,0.25);
    padding: 10px 0;
    text-align: center;
    font-size: 20px;
    font-weight: bold;
    vertical-align: middle;
}

.food-amount-row .food-name,
.food-amount-row .food-wt,
.food-calories-row .food-name,
.food-calories-row .food-val{
    display: table-cell;
    padding: 15px;
    font-size: 18px;
    border-bottom: 1px solid rgba(0,0,0,0.1)s;
    vertical-align: middle;
    text-align: center;
    max-width: 200px;
}

.food-calories-row .food-val{
    font-size: 20px;
    font-weight: bold;
}

.food-amount-row .food-name{
    width: 35%;
    font-weight: bold;
}

.food-calories-row .food-name{
    font-weight: bold;
}

.food-amount-row small,
.food-calories-row small{
    display:block;
    font-size: 14px;
    font-weight: normal;
}

.food-amount-row .food-wt > div{
    display: inline-block;
    float: left;
    background: #fff931;
    color: #c60001;
    padding: 15px 10px;
    font-size: 18px;
    text-transform: uppercase;
    font-weight: bold;
    text-align: center;
    cursor: pointer;
    margin: 5px;
    min-width: 100px;
}

.food-amount-row .food-wt div.chosen-amount{
    background: #c60001;
    color: #fff931;
}

.food-amount-row .food-wt > div.multiplier-box{
    width: 100px;
    min-width: 100px;
    background: #20ba24;
    color: #fff;
    font-size: 14px;
    padding: 12px;
    text-align: center;
}

.food-amount-row .food-wt > div.multiplier-box .multiplier{
    background: #fff!important;
    height: 28px!important;
    line-height: 28px!important;
    font-size: 18px!important;
    width: 60px!important;
    text-align: center!important;
    border: none!important;
}

.food-amount-row:last-child > div{
    border: none;
}

.food-calories-row-total .food-name,
.food-calories-row-total .food-val{
    border-top: 5px solid rgba(0,0,0,0.25);
}


.legend {
    background: #fff;
    text-align: center;
    max-width: 300px;
    margin: 40px auto;
}

.legend-title {
    font-weight:bold;
    line-height: 40px;
    font-size: 18px;
    margin-bottom: 10px;
    text-align: center;
    border-bottom: 1px solid #ccc;
}

.legend-content {
    padding: 0 0 20px 0;
}

.legend-content div {
    min-width: 90px;
    display: inline-block;
    text-align: center;
    min-height: 75px;
    margin-bottom: 20px;
    vertical-align: top;
}

.legend-content div span:first-child {
    display: block;
    width: 75%;
    margin: 0 auto 10px auto;
    height: 20px;
    border: 1px solid #555;
}

.legend-content div span:last-child {
    font-size: 18px;
    font-weight: bold;
    line-height: 18px;
    display: block;
    margin-top: 6px;
}

.legend-fat span:first-child,
.food-cal-fat {
    background: #d5001d;
    color: #fff;
}

.legend-protein span:first-child,
.food-cal-protein {
    background: #8e5ea2;
    color: #fff;
}

.legend-carb-sugar span:first-child,
.food-cal-carbs,
.food-cal-carbs-sugar {
    background: #60bf81;
    color: #fff;
}

.legend-carb-glucose span:first-child,
.legend-carbs span:first-child,
.food-cal-carbs-glucose {
    background: #2c9254;
    color: #fff;
}

.legend-carb-starch span:first-child,
.legend-carbs span:first-child,
.food-cal-carbs-starch {
    background: #2c9254;
    color: #fff;
}


.legend-carb-fiber span:first-child,
.food-cal-carbs-fiber {
    background: #4d912b;
    color:#fff;
}

.glucose-1, .glucose-2, .glucose-3, .glucose-4,
.starch-1, .starch-2, .starch-3, .starch-4,
{
    font-size: 30px;
    text-align: center;
    color: #fff;
}

.food-cal-name{
    background: #ddd;
    color: #555;
}

.food-cal-total{
    background: #fff931;
    color: #555;
}

.sub-food-group{
    float: left;
    color: #d7731c;
    font-weight: bold;
    font-size: 15px;
    text-transform: capitalize;
    line-height: 25px;
}

#pre-exercise-snack,
#evening-snack,
#post-exercise-snack, 
#snack-default{
    width: 100%;
    display: none;
    min-height: 400px;
    background: #91c8ff;

    
}

#pre-exercise-snack span,
#evening-snack span,
#post-exercise-snack span{
    text-align: center;
    display: block;
    color: #fff;
    font-size: 50px;
    text-transform: uppercase;
    font-weight: bold;
    max-width: 500px;
    margin: auto;
    padding: 75px 0;
    line-height: 80px;
}

#pre-exercise-snack span b,
#evening-snack span b,
#post-exercise-snack span b{
    color: #fff931;
    background: #c60001;
    display:inline-block;
    padding: 10px;
    margin: 0 0 5px 0;
    line-height: 50px;
    font-size: 50px;
}

#snack-default span:first-child{
    text-align: center;
    display: block;
    color: #fff;
    font-size: 50px;
    text-transform: uppercase;
    font-weight: bold;
    max-width: 500px;
    margin: auto;
    padding: 75px 0 25px 0;
    line-height: 55px;
}

#snack-default span:last-child{
    text-align: center;
    display: block;
    color: #fff;
    text-transform: uppercase;
    font-weight: bold;
    max-width: 500px;
    margin: auto;
    padding: 0 0 75px 0;
    font-size: 30px;
    line-height: 40px;
}

#snack-default span b{
    color: #fff931;
    background: #c60001;
    display:inline-block;
    padding:7px;
    margin: 0 0 5px 0;
    line-height: 30px;
    font-size: 30px;
}


.extra-btns {
    width: 100%;
    max-width: 900px;
    margin: auto;
    font-family: 'Bangers';
    text-align: right;
}

.extra-btns a {
    display: inline-block;
    color: #fff931;
    background: #c60001;
    padding: 15px 20px;
    margin: 0 0 5px 0;
    line-height: 30px;
    font-size: 30px;
    font-weight: normal !important;
    text-decoration: none;
}