﻿@charset "UTF-8";

.fontface {
    @import "font-awesome.less";
    @import "font-awesome-social.less";
    // Font Awesome IE7 support
    .lt-ie8 {
        @import "font-awesome-ie7.less";
        @import "font-awesome-more-ie7.less";
    }
}

@import "utils/helpers.less";

@import "com/variables.less";

@import "com/bootstrap_overrides.less";

@import "com/boxes.less";

@import "com/bootstro.less";

// Common styles
// -------------------------
html {
    min-height: 100%;
}

body {
    min-height: 100%;
    font-size: 14px;
    background-size: 100%;
    padding: 13px;
    background: #333;

    &.modal-open {
        overflow: hidden;
    }
}

.row {
    margin-bottom: 8px;
}

body > .row-fluid {
    margin: 10px 0;
}

body > div {
    margin: 10px 0;
}

form > .row-fluid {
    margin: 10px 0;
}

// Image container inside boxes
.image-container {
    background: #fff;
}

// Text split in two columns
.two-columns {
    .column-count(2);
    .column-gap(22px);
    text-align: justify;
}

// Title
.title {
    display: block;
    margin-top: 10px;
    margin-bottom: 20px;
    text-align: left;
    color: @blue;
    font-weight: bold;
    font-size: 1.2em;
    line-height: 1.6em;
}

// Alternative Title (background reversed)
.alt-title {
    display: block;
    margin-top: 10px;
    margin-bottom: 20px;
    text-align: center;
    background: @blue;
    color: @white;
    font-weight: bold;
    line-height: 1.6em;

    .help-link {
        margin-right: 10px;
        cursor: pointer;
    }

    .popover {
        color: #333333;
        font-size: 14px;
        line-height: 1.3em;
        font-weight: normal;

        .popover-title {
            color: inherit;
        }
    }
}

.blue .alt-title {
    background: #fff;
    color: @blue;
}

.blue-text {
    color: @blue;
}

.red-text {
    color: @red;
}

.inset {
    padding: 0 10px;
}

// Vertical spacer
.spacer {
    height: 30px;
    clear: both;
}

.ws-normal {
    white-space: normal;
}

.width100 {
    width: 100%;
}

// Header
// ---------------------------

// background line
#main-header {
    position: relative;

    .container {
        position: relative;
    }
}

#main-title {
    font-size: 45px;
    padding-top: 8px;
    text-align: right;
    padding-right: 20px;
    text-shadow: 1px 1px 1px darken(@blue,20%);
    color: @white;
}

// logo
#logo {
    display: block;
    padding: 12px;
    text-align: center;

    img {
        display: block;
        -webkit-filter: drop-shadow(@globalShadow);
        filter: drop-shadow(@globalShadow);
    }
}

#distrlanguage {
    padding-top: 7px;
    padding-bottom: 8px;
    display: block;
}

.valign-center {
    vertical-align: middle;
}

// main menu
#main-menu {
    padding-top: 48px;
    margin-left: 30px;

    ul {
        list-style: none;
        margin: 0;
        padding: 0;

        li {
            float: left;
            padding: 18px 18px 0 18px;

            a {
                display: block;
                font-size: 16px;
                color: #fff;
                text-transform: uppercase;
                font-weight: bold;
                padding-bottom: 18px;
                background-position: center bottom;
                background-repeat: no-repeat;

                &:hover,
                &.active {
                    background-image: url('../img/bg_menu_active.png');
                    text-decoration: none;
                }

                &.home-link {
                    width: 26px;
                    margin-top: -4px;
                    text-align: center;
                    padding-bottom: 20px;
                }
            }
        }
    }
}

#header-btns a.btn {
    font-size: 18px;
    line-height: 28px;
    padding: 15px 0;
}

#header-btns #btn-network-container .box {
}

#header-btns #btn-login-container .box {
}

// Footer
// ---------------------------
#main-footer {
    border-top: 4px solid @blue;
    padding-top: 10px;
    color: black;
    font-size: 10px;
    line-height: 14px;
    text-shadow: 1px 1px 0 rgba(255,255,255,.1);

    .company-info {
        margin-bottom: 2px;
        margin-top: 2px;
        margin-left: 4px;
    }

    .version-info {
        vertical-align: top;
        text-align: right;
        font-size: 9px;
        margin-top: 2px;
        padding-right: 4px;
    }
}

#footer-logo {
    display: block;
    padding: 15px 10px;
}

// Registration Banner
// ---------------------------
#registration-banner {
    @lightGreen: desaturate(lighten(@green,30%),30%);
    @lightBlue1: desaturate(lighten(@blue,10%),30%);
    @lightBlue2: desaturate(lighten(@blue,60%),30%);
    background: @lightBlue1;

    .left {
        position: relative;
        float: left;
        .horizontalGradient(@green,@lightGreen);
        font-size: 1.6em;
        line-height: 42px;
        padding: 10px;
        margin-right: 50px;

        &:after {
            content: " ";
            pointer-events: none;
            width: 0;
            height: 0;
            position: absolute;
            left: 100%;
            top: 0;
            border: 31px solid transparent;
            border-left: 31px solid @lightGreen;
        }
    }

    .right {
        background: lighten;
        .horizontalGradient(@lightBlue1,@lightBlue2);
        font-size: 1.3em;
        line-height: 42px;
        padding: 10px;

        .btn {
            line-height: 34px;

            .icon-group {
                margin-right: 10px;
            }
        }
    }
}

#btn-registration-single {
    padding: 20px;

    .icon-group {
        margin-right: 10px;
    }
}

// Consulting popup styles
// ---------------------------
@import "spec/consulting.less";

// Login popup styles
// ---------------------------
@import "spec/login.less";

// Home styles
// ---------------------------
@import "spec/home.less";

/* Common */
ul, ol {
    padding: 0;
    margin: 0 0 0 20px;
}

.row > [class*="span"] .spaced + .spaced {
    margin-top: 10px;
}

.form-vertical .control-label {
    float: none;
    display: block;
    text-align: left;
    width: auto;
}

.form-vertical .controls {
    float: none;
    margin-left: 0;
}

.overlay {
    position: fixed;
    top: 0;
    left: 0;
    z-index: 10;
    background: #2897d5;
    opacity: 0.55;
    width: 100%;
    height: 100%;
}
/* Common EOF */

// User menu
// ----------------------------
@import "com/user-menu.less";

.row-fluid + .row-fluid {
    margin-top: 10px;
}

// Sidebar User Info
// ----------------------------
#user-info {
    padding: 15px;
    margin: -10px -10px 30px -10px;
    cursor: pointer;
    display: block;
    color: #fff;

    &:hover {
        background: darken(@blue,5%);
    }

    h2 {
        display: block;
        font-size: 36px;
        margin-bottom: 0;
        margin-top: 6px;
    }

    h4 {
        margin-top: 8px;
        font-size: 22px;
    }

    img {
        background: #fff;
        border: 2px solid #fff;
        margin-right: 5px;
    }
}

#phase-label {
    font-weight: bold;
    font-size: 22px;
    text-shadow: 0 -1px 0 rgba(0, 0, 0, 0.25);
    line-height: 28px;
    background: @green;
    text-align: center;
    padding: 6px;
    border: none;
    .boxShadowNone;
}

#smart-area,
#typewriter {
    @altBlue: darken(@blue,10%);
    margin-top: 60px;
    min-height: 300px;
    position: relative;
    margin-left: 0;
    margin-right: 0;
    padding: 0 15px 60px 15px;
    background: darken(@blue,5%);
    border: 1px solid @altBlue;
    box-shadow: inset 0 0 12px rgba(0,0,0,.2);

    h1 {
        font-size: 1.4em;
        line-height: 1.2em;
        margin: 0;
        font-weight: normal;
    }

    h3 {
        font-size: 1em;
        line-height: 1.2em;
        font-weight: normal;
        margin-top: 20px;
    }

    h3.alt-title {
        font-size: 2em;
        margin-bottom: 0;
        margin-top: 0;
        background: @altBlue;
        color: @white;
        margin-top: 0;
        margin-bottom: 20px;
        margin-left: -15px;
        margin-right: -15px;
        line-height: 1.4em;
    }

    .form-actions {
        position: absolute;
        left: 0;
        bottom: 0;
        background: @altBlue;
        border-top: 0;
        width: 90%;
        padding: 6%;
    }

    .ticket-alert {
        font-size: 0.8em;
        line-height: 1.2em;
        padding-right: 7px;
    }
}

#smart-area {
    display: none;
}

#typewriter span {
    float: left;
}

.caret {
    background: #777;
}

// Freemium index
// ----------------------------
#freemium-graph {
    .graph-container {
        position: relative;
        border-bottom: 1px solid #666;
        border-left: 1px solid #666;
        padding: 15px 60px 8px 8px;
        margin-top: 25px;

        h1 {
            position: absolute;
            top: -25px;
            right: 5px;
        }

        img {
            width: 100%;
        }

        #start-weight-label {
            position: absolute;
            color: @blue;
            font-weight: bold;
            left: 7px;
            top: -10px;
            font-size: 22px;
        }

        #end-weight-label {
            position: absolute;
            bottom: 64px;
            right: 20px;
            color: @blue;
            font-weight: bold;
            font-size: 22px;
        }
    }

    .iw-label,
    .maintenance-label,
    .checkup-label {
        color: @blue;
        display: inline-block;
        margin-top: 5px;
        padding: 0;
        text-align: center;
        width: 33%;
    }

    .maintenance-label {
        width: 42%;
    }

    .checkup-label {
        width: 12%;
    }
}

#freemium-info {
    h3 {
        margin: 0;
        line-height: 1.4em;
        color: @blue;
        font-weight: bold;

        &.green {
            color: @green;
        }
    }

    p.lead {
        margin-top: 30px;
    }
}

#premium {
    .span6 .box {
        .boxShadowNone;
        font-size: 14px;

        .content {
            padding: 15px 25px;
        }
    }

    .span6 .box.green {
    }

    .span6 .btn-block {
        margin-top: 20px;
    }

    .lead {
        font-size: 2em;
        line-height: 1.2em;
    }
}

// Main Labels ("Measures" and "Menus")
// --------------------------------------
.pa-main-label,
a.pa-main-label {
    display: block;
    text-align: center;
    cursor: default;
    font-weight: bold;
    font-size: 2.2em;
    line-height: 1.2em;
    height: 1.2em;
    padding: 16px 0;

    &.selected {
        position: relative;
        margin-bottom: -25px;
        padding-bottom: 25px;

        &:after {
            content: "";
            position: absolute;
            bottom: -5px;
            left: 0;
            width: 100%;
            height: 5px;
            background: #fff;
        }

        &.blue {
            &:after {
                background: @blue;
            }
        }
    }

    &.green {
        color: #fff;

        &:after {
            background: @green;
        }
    }
}

// Graph Labels
// ---------------------------
.pa-graph-label {
    display: block;
    text-align: center;
    cursor: default;
    font-weight: bold;
    font-size: 2.2em;
    line-height: 1.2em;
    height: 1.2em;
    padding: 16px 0;

    &.selected {
        position: relative;
        margin-top: -10px;
        padding-top: 25px;

        &:after {
            content: "";
            position: absolute;
            top: -5px;
            left: 0;
            width: 100%;
            height: 5px;
            background: #fff;
        }

        &.blue {
            &:after {
                background: @blue;
            }
        }
    }
}

a.pa-graph-label {
    cursor: pointer;
}

// Graph Labels
// ---------------------------
a.pa-days-label {
    display: block;
    text-align: center;
    cursor: default;
    font-weight: bold;
    font-size: 1.6em;
    line-height: 1.2em;
    height: 1.2em;
    padding: 16px 0;
    cursor: pointer;
}

// Measures styles (valid both for Ideal Weight and Maintenance)
// ---------------------------------------------------------------
#measures {
    .form-info {
        display: block;
        padding-top: 25px;
        margin-bottom: 20px;
        font-size: 1.4em;
        color: @gray;
        text-align: center;
    }

    #weight-field {
        margin-bottom: 50px;
        padding-top: 5px;

        input, span {
            float: left;
            line-height: 46px;
            height: 46px;
            font-size: 36px;
            font-weight: bold;

            &#weight-int {
                width: 70px;
                text-align: right;
                margin-left: 42px;
            }

            &#weight-decimal {
                width: 22px;
            }
        }

        input {
            padding-bottom: 4px;
            padding-top: 6px;
            padding-left: 8px;
            padding-right: 8px;
            color: @grayDark;
        }

        span {
            font-size: 2.4em;
            padding-top: 7px;
            margin: 0 6px;
            color: @gray;
        }
    }

    .form-horizontal {
        .control-label {
            width: 160px;
        }

        .controls {
            margin-left: 180px;
        }

        &.small {
            .control-label {
                width: 105px;
            }

            .controls {
                margin-left: 125px;

                &.double-line {
                    margin-top: 12px;
                }
            }
        }

        .control-group {
            margin-top: 6px;
        }
    }

    #old-measures-summary {
        padding-bottom: 5px;
        margin: 0;
        padding: 0;

        li {
            display: block;
            float: left;
            padding: 14px 24px;
            background: @grayLighter;
            color: @grayLight;
            margin: 0 6px 0 0;
            font-size: 1.2em;

            &.active {
                background: @green;
                color: @white;
                font-weight: bold;
            }

            &.checked {
                padding-left: 6px;
                padding-right: 10px;

                i {
                    display: inline-block;
                }
            }

            i {
                display: none;
            }
        }
    }

    .tab-content {
        background: #f5f5f5;
        padding: 10px;
        border: 1px solid #eeeeee;
    }
}

// Big selects
// -------------------------
ul.big-select {
    margin: 10px 15px;
    list-style: none;
    padding: 0;

    &.disabled {
        .opacity(0.4);
    }

    > li {
        padding: 20px 10px;
        margin: 12px 0;
        position: relative;
        cursor: pointer;
        background: none;
        color: @white;
        font-size: 1.3em;
        text-align: center;

        &:hover {
            background: lighten(@blue,10%);
        }

        &.selected {
            background: @white;
            color: @blue;
            .boxShadowNone;

            &:before {
                content: "";
                position: absolute;
                display: block;
                right: 0;
                top: 50%;
                margin-top: -12px;
                width: 0;
                height: 0;
                border: solid transparent;
                border-right-color: @blue;
                border-width: 12px;
            }
        }
    }

    &.test-foods {
        > li {
            font-size: 20px;
            line-height: 28px;
        }
    }
}

// Menu selection styles
// -------------------------
#menu-selection {
    .form-info {
        display: block;
        padding-top: 25px;
        padding-bottom: 30px;
        font-size: 1.4em;
        line-height: 1.2em;
        color: lighten(@blue,45%);
        text-align: center;
    }

    h3 {
        text-align: center;
        padding-left: 0;
        color: @white;
        margin-bottom: 20px;
        font-size: 1.8em;

        &.small-padding {
            padding-left: 15px;
        }
    }

    .selected-food {
        display: block;
        margin: 15px;
        margin-top: 0;
        font-size: 1.2em;

        &.disabled {
            opacity: 0.4;
        }
    }

    .food-note {
        margin: 15px;
        height: 80px;
    }

    .food-specifications {
        margin: 15px 5px;
        margin-top: 30px;
        padding: 0;
        color: @grayDark;
        list-style: none;

        label {
            font-size: 0.68em;
            margin-bottom: 2px;
            margin-top: 20px;
        }

        input {
            margin-bottom: 0;
            font-size: 0.8em;
            line-height: 1.2em;
            height: 1.2em;
            margin: 0 5%;
            width: 90%;
        }
    }

    hr {
        border-top: 1px solid @white;
        border-bottom: none;
    }

    .summary {
        textarea {
            margin: 20px;
            font-size: 1.5em;
            line-height: 1.2em;
            padding: 10px;
            max-width: 100%;
            background: lighten(@blue,50%);
            border-color: lighten(@blue,50%);
            height: 100px;

            &:hover {
                border-color: @green;
                box-shadow: inset 0 0 12px @green;
            }

            &:focus {
                border-color: @green;
                box-shadow: inset 0 0 12px @green;
            }
        }
    }

    #btn-sos i {
        font-size: 0.92em;
    }
}

// Summaries
// ---------------------------
#summary {
    .menu {
        padding: 0;

        span {
            display: block;
            position: relative;
            text-align: center;
            width: 80%;
            background: @blue;
            color: @white;
            padding: 20px 0;
            padding-right: 10%;
            padding-left: 20px;
            margin: 5px 0;
            font-size: 1.2em;

            &:before {
                content: "";
                position: absolute;
                display: block;
                right: 0;
                top: 50%;
                margin-top: -12px;
                width: 0;
                height: 0;
                border: solid transparent;
                border-right-color: @white;
                border-width: 12px;
            }

            &.disabled {
                background: desaturate(lighten(@blue,38%),20%);
                color: lighten(@blue,46%);
                text-decoration: line-through;
            }
        }

        h3 {
            color: @blue;
            text-align: center;
            padding-right: 10%;
            width: 80%;
            padding-left: 20px;
            color: @blue;
            margin-bottom: 0;
            font-weight: bold;
            font-size: 1.4em;
        }
    }

    hr {
        border-top: 2px solid @blue;
    }

    .summary-note {
        padding: 8px 5px;
        font-size: 0.7em;
        color: #999;
        line-height: 1.2em;
    }

    .note-info {
        font-size: 0.8em;
        color: @gray;
        padding-right: 5px;
    }
}

// Test Index
// ---------------------------

#test-index a.bf-button {
    display: block;
    text-align: center;
    font-size: 4em;
    color: @blue;
    background: #fff;
    line-height: 1.8em;
    margin: 20px 40px;
    border-color: @white;
    text-align: left;
    padding: 0 50px;

    .small {
        display: block;
        font-size: 0.36em;
        font-weight: normal;
        line-height: 1em;
        margin-top: -20px;
        margin-bottom: 25px;
    }
}

// Test create
// ---------------------------
#test-create {
    #selected-food {
        display: none;
        position: relative;
        background: #fff;
        color: @blue;
        margin: 10px 15px;
        padding: 20px 30px;
        background: @white;
        color: @blue;
        font-size: 20px;
        line-height: 28px;

        &:before {
            content: "";
            position: absolute;
            display: block;
            right: 0;
            top: 50%;
            margin-top: -12px;
            width: 0;
            height: 0;
            border: solid transparent;
            border-right-color: @blue;
            border-width: 12px;
        }
    }

    #selected-food-phase {
        line-height: 28px;
        padding: 20px 0;
        display: none;
    }

    #btn-deselect-food {
        color: @blue;
        font-size: 46px;
        line-height: 46px;
        float: left;
        margin-right: 20px;
        margin-top: -14px;
        margin-bottom: -20px;
        cursor: pointer;
    }

    #day-selection {
        display: none;
    }
}

/* PA */

#chart-info h2 {
    text-align: right;
    color: #2897d5;
    font-weight: normal;
    margin-bottom: 0;
}

#chart-info p {
    font-size: 14px;
    line-height: 17px;
    text-align: right;
    color: #666;
    margin-bottom: 0;
}

#pa-chart .graph-day {
    display: block;
    width: 60px;
    height: 20px;
    line-height: 20px;
    padding-top: 4px;
    text-align: center;
    font-family: 'Titillium Web', sans-serif;
    color: #2897d5;
    font-weight: bold;
    text-decoration: none;
    font-size: 15px;
}

#pa-chart .graph-day .unit {
    font-size: 12px;
}

#pa-chart .graph-day.mt {
    content: "maintenance";
}

#pa-chart .graph-day.iw {
    content: "iw";
}

#pa-chart .graph-day.miss-data {
    text-indent: -9999px;
    background: url('../img/alert.png') bottom center no-repeat;
}
/*
#pa-chart .graph-day.weight-loss{background:url('../img/maintenance_weight_loss.png') left bottom no-repeat;padding-left:24px}
#pa-chart .graph-day.safe{background:url('../img/maintenance_safe.png') left bottom no-repeat;padding-left:24px}
#pa-chart .graph-day.negative{background:url('../img/maintenance_negative.png') left bottom no-repeat;padding-left:24px}*/
#menu-list h1, #measures h1 {
    padding: 15px 40px 25px 40px;
    margin-top: 0;
    text-align: center;
}

#measures h1 {
    color: #2897D5;
}

#menu-list #measures-link, #measures #measures-link, #measures #menu-list-link {
    font-size: 38.5px;
    line-height: 40px;
    padding: 15px 40px;
    font-weight: bold;
    text-align: center;
}

#menu-list #measures-link:hover, #measures #measures-link:hover {
    background: #f5f5f5;
    text-decoration: none;
}

#measures #menu-list-link:hover {
    background: #2384b8;
    text-decoration: none;
}

#menu-list {
    padding-bottom: 15px;
}

#menu-list .list {
    padding-top: 15px;
}

#menu-list .list ul {
    margin: 15px 0;
    padding: 0;
    list-style: none;
}

#menu-list .list ul li {
    font-size: 16px;
    font-weight: bold;
    margin: 8px 0;
}

/* PA EOF */

/* Menu slider */
#iw-menu-slider-wrapper {
    margin-left: -10px;
    margin-right: -10px;
    overflow: hidden;
    position: relative;
}

#menu-list ul#iw-menu-slider {
    width: 9999px;
    position: relative;
}

#menu-list ul#iw-menu-slider > li {
    width: 650px;
    float: left;
    margin: 0 30px;
}

#iw-menu-slider h3 {
    text-align: center;
}

#iw-menu-slider textarea {
    width: 170px;
    margin-left: 15px;
}

#menu-list .btn-next, #menu-list .btn-prev {
    content: "";
    position: absolute;
    display: block;
    top: 50%;
    margin-top: -14px;
    width: 0;
    height: 0;
    border: solid transparent;
    border-width: 14px;
    cursor: pointer;
}

#menu-list .btn-prev {
    left: -5px;
    border-right-color: #fff;
}

#menu-list .btn-prev:hover {
    border-right-color: #eee;
}

#menu-list .btn-next {
    right: 0;
    border-left-color: #fff;
}

#menu-list .btn-next:hover {
    border-left-color: #eee;
}

#iw-menu-slider .form-actions {
    background: none;
    border-top: 1px solid #fff;
}

/* Side info */
#side-info {
    margin-bottom: 15px;
}

#side-info .btn-primary {
    padding-left: 4px;
    padding-right: 4px;
    text-align: center;
}

#side-info h2 {
    font-size: 32px;
    line-height: 38px;
    margin-top: 20px;
}

#side-info h4 {
    font-size: 18px;
    line-height: 20px;
    font-weight: normal;
    margin-top: 15px;
}

/* food selection */
#menu-list .list ul.food-selection {
    margin: 10px 15px;
}

#menu-list .list ul.food-selection.disabled {
    opacity: 0.4;
}

#menu-list .food-selection li {
    padding: 20px 30px;
    margin: 0;
    position: relative;
    cursor: pointer;
}

#menu-list .food-selection li:hover, #menu-list .food-selection.disabled li.selected:hover {
    background: #2384B8;
    color: #fff;
}

#menu-list .food-selection.disabled li.selected {
    color: #fff;
    background: none;
}

#menu-list .food-selection li.selected, #menu-list .food-selection li.selected:hover {
    background: #fff;
    color: #2897D5;
}

.food-selection.disabled li.selected:before {
    display: none;
}

.food-selection li.selected:before {
    content: "";
    position: absolute;
    display: block;
    left: 0;
    top: 50%;
    margin-top: -12px;
    width: 0;
    height: 0;
    border: solid transparent;
    border-left-color: #2897D5;
    border-width: 12px;
}

/* Freemium */
#freemium-index a {
    display: block;
    text-align: center;
    font-size: 42px;
    line-height: 46px;
    font-weight: bold;
    padding: 60px 10px 40px 10px;
    height: 100px;
}

#measures .tab-content {
    overflow: visible;
}

#maintenance-day-tabs {
    border-bottom: 1px solid #ccc;
}

#maintenance-day-tabs.nav-tabs > li {
    margin-bottom: 0;
}

#maintenance-day-tabs.nav-tabs > li > a {
    padding: 10px 30px 10px 0;
    text-align: center;
    color: #fff;
    font-weight: bold;
    font-size: 16px;
    line-height: 24px;
    -webkit-border-radius: 0;
    -moz-border-radius: 0;
    border-radius: 0;
    background-color: #a6ca12;
    width: 185px;
    margin: 0 0 4px 0;
}

#maintenance-day-tabs.nav-tabs > li + li > a {
    margin-left: 19px;
}

#maintenance-day-tabs.nav-tabs > li > a:hover {
    background-color: #819E0E;
}

#maintenance-day-tabs.nav-tabs > li.setted > a {
    background-image: url('../img/check.png');
    background-position: 176px 8px;
    background-repeat: no-repeat;
}

#maintenance-day-tabs.nav-tabs > li.missing > a {
    background-image: url('../img/alert_white.png');
    background-position: 172px 8px;
    background-repeat: no-repeat;
}

#maintenance-day-tabs.nav-tabs > li.active > a, #maintenance-day-tabs.nav-tabs > li.active > a:hover {
    margin-bottom: 0;
    padding-bottom: 14px;
    background-color: #2897D5 !important;
}

#measures dl.dl-horizontal dt, #measures dl.dl-horizontal dd {
    font-size: 32px;
    line-height: 38px;
}

#measures dl.dl-horizontal dt.lead {
    line-height: 47px;
    color: #999;
    font-weight: bold;
    padding-top: 5px;
}

#measures dl.dl-horizontal dd.lead {
    line-height: 52px;
}

#measures dl.dl-horizontal dt {
    font-size: 18px;
    color: #999;
    padding-top: 3px;
    line-height: 35px;
}

#measures dl.dl-horizontal.small dt {
    width: 120px;
}

#measures dl.dl-horizontal.small dd {
    margin-left: 140px;
}

#measures .list ul.food-selection {
    margin: 10px 15px;
}

#measures .list ul.food-selection.disabled {
    opacity: 0.4;
}

#measures .food-selection li {
    padding: 15px 15px 15px 25px;
    margin: 0;
    position: relative;
    cursor: pointer;
    font-size: 18px;
    line-height: 24px;
}

#measures .food-selection li:hover, #measures .food-selection.disabled li.selected:hover {
    background: #eee;
    color: #000;
}

#measures .food-selection.disabled li.selected {
    color: #fff;
    background: #2897D5;
}

#measures .food-selection li.selected, #measures.food-selection li.selected:hover {
    background: #2897D5;
    color: #fff;
}

.food-selection.disabled li.selected:before {
    display: none;
}

#measures .food-selection li.selected:before {
    content: "";
    position: absolute;
    display: block;
    left: 0;
    top: 50%;
    margin-top: -10px;
    width: 0;
    height: 0;
    border: solid transparent;
    border-left-color: #fff;
    border-width: 10px;
}

#maintenance-day-filter a.box {
    font-size: 20px;
    font-weight: bold;
    padding-left: 48px;
    padding-right: 0;
    padding-top: 15px;
    padding-bottom: 15px;
    background-position: 10px center;
    background-repeat: no-repeat;
}

#maintenance-day-filter a.box:hover {
    text-decoration: none;
    background-color: #f5f5f5;
}

#maintenance-day-filter a.positive-day {
    background-image: url('../img/maintenance_safe.png');
    color: #A1CE02;
}

#maintenance-day-filter a.wl-day {
    background-image: url('../img/maintenance_weight_loss.png');
    color: #2897D5;
}

#maintenance-day-filter a.negative-day {
    background-image: url('../img/maintenance_negative.png');
    color: #888888;
}

#test-available-days {
    position: relative;
}

#test-available-days .weight-loss {
    margin-left: 20px;
    padding-left: 15px;
    border-left: 2px solid #fff;
}

#test-available-days.type-2:before {
    content: "";
    position: absolute;
    display: block;
    left: 105px;
    top: -16px;
    margin-top: -16px;
    width: 0;
    height: 0;
    border: solid transparent;
    border-bottom-color: #2897D5;
    border-width: 16px;
}

#test-available-days.type-3 {
    background: #2897D5 !important;
}

#test-available-days.type-3:before {
    content: "";
    position: absolute;
    display: block;
    left: 575px;
    top: -16px;
    margin-top: -16px;
    width: 0;
    height: 0;
    border: solid transparent;
    border-bottom-color: #2897D5;
    border-width: 16px;
}

#test-available-days.type-1:before {
    content: "";
    position: absolute;
    display: block;
    left: 335px;
    top: -16px;
    margin-top: -16px;
    width: 0;
    height: 0;
    border: solid transparent;
    border-bottom-color: #2897D5;
    border-width: 16px;
}

@import "mvc.less";