/* FIXES.CSS */

.u-legacy-design .float-break:before, .u-legacy-design .float-break:after
{
    content: "-";
    height: 0;
    font-size: 0;
    visibility: hidden;
    display: block;
    clear: both;
}

/* ADD-THIS */

.u-legacy-design div#scroller
{
    position: relative;
}


/* MESSAGES */

.u-legacy-design div#noLocalStorage
{
    /* font-weight: bold; */
    color: #000000;
    background-color: #ffffa0;
    padding: 5px 10px;
    border: 5px solid #c0c020;
    text-align: center;
}


/* RECIPE PAGINATOR */

.u-legacy-design div.recipe-paginator
{
    margin-top: 20px;
    text-align: center;
    clear: both;
}

.u-legacy-design div.recipe-paginator span, .u-legacy-design div.recipe-paginator a
{
    font-weight: bold;
}

.u-legacy-design div.recipe-paginator span
{
    margin-right: 30px;
}

.u-legacy-design div.recipe-paginator a
{
    padding: 0 5px;
    display: inline-block;
    border-radius: 3px;
}

.u-legacy-design div.recipe-paginator a:hover
{
    color: #ffffff;
    background-color: #7fa4c9;
}

.u-legacy-design div.recipe-paginator a.selected
{
    color: #ffffff;
    background-color: #004a93;
}

.u-legacy-design h1.h-large span.pretitle
{
    font-size: 0.5em;
    display: block;
}


/* NUTRITION FACT BOX */

.u-legacy-design div.nutrition-box
{
    background-color: #f3f3f3;
    padding: 1.2em;
    margin-top: 10px;
    margin-bottom: 30px;
    border: 1px solid #e5e5e5;
    border-radius: 8px;
    max-width: 280px;
}

.u-legacy-design div.nutrition-box h2
{
    margin-top: -7px;
}

.u-legacy-design div.nutrition-box div.image
{
    margin: 15px 0 3px 0;
}

.u-legacy-design div.nutrition-box p.note, .u-legacy-design div.nutrition-box div.moreinfo
{
    font-size: 0.8em;
}

.u-legacy-design div.nutrition-box p.note
{
    text-align: right;
}

.u-legacy-design div.nutrition-box h3
{
    font-size: 1em;
    margin: -9px 0 0 0;
}

.u-legacy-design div.nutrition-box h3 a
{
    color: #404040;
}

.u-legacy-design div.nutrition-box span.arrow
{
    width: 13px;
    height: 9px;
    background-image: url( '/img/arrow-openclose.png' );
    background-repeat: no-repeat;
    background-position: 0 0;
    margin-top: 0.5em;
    display: block;
    float: right;
}

.u-legacy-design div.nutrition-box div.open span.arrow
{
    background-position: 0 -9px;
}

.u-legacy-design div.nutrition-box div.moreinfo
{
    display: none;
}

.u-legacy-design div.nutrition-box div.open div.moreinfo
{
    display: block;
}

.u-legacy-design div.nutrition-box ul, .u-legacy-design div.nutrition-box li
{
    margin: 0;
    padding: 0;
    list-style-type: none;
}

.u-legacy-design div.nutrition-box ul
{
    margin: 0.5em 0 1em 0;
}

.u-legacy-design div.nutrition-box li
{
/*     line-height: 1.2; */
}

.u-legacy-design div.nutrition-box p.description
{
    margin-bottom: 0;
}

/* RECIPE geitmyra */

.u-legacy-design .recipe .image .extrasticker
{
    position: absolute;
    top: 0;
    left: -160px;
}

.u-legacy-design .recipe .image .priceWrapper + .extrasticker
{
    left: -190px;
}

.u-legacy-design .recipe .image .extrasticker span.image
{
    height: 169px;
    width: 169px;
    background-image: url( '/img/geitmyra-logo.png' );
    display: block;
    background-size: contain;
}

.u-legacy-design .recipe .image .extrasticker span.image span.text
{
    display: none;
}

@media only screen and (max-width: 768px)
{
    .u-legacy-design .recipe .image .extrasticker
    {
        top: 0;
        left: -90px;
    }

    .u-legacy-design .recipe .image .priceWrapper + .extrasticker
    {
        left: -105px;
    }

    .u-legacy-design .recipe .image .extrasticker span.image
    {
        height: 95px;
        width: 95px;
    }
}

/* Complementary recipes on recipes page */
.u-legacy-design div.recipe-complementary
{
    margin: 2em 0 0;
}

.u-legacy-design div.recipe-complementary-header
{
    padding: 1em 1em;
    background-color: #042133;
    border-radius: 8px 8px 0 0;
}

.u-legacy-design div.recipe-complementary-header h2
{
    margin-bottom: 0;
    color: #ffffff;
}

.u-legacy-design div.recipe-complementary-recipes
{
    border-radius: 8px 8px 8px 8px;
    background-color: #FBFBFB;
    box-shadow: 0 0 21px -2px rgba(0,0,0,.25);
    padding: 1em;
}

.u-legacy-design div.recipe-complementary-recipe
{
    display: -webkit-box;
    display: -webkit-flex;
    display: -ms-flexbox;
    display: flex;
    background-color: #fff;
    border: 1px solid #e0e0e0;
    margin-bottom: 1em;
}

.u-legacy-design div.recipe-complementary-recipe:nth-last-child(1)
{
    margin-bottom: 0;
}

.u-legacy-design div.recipe-complementary-recipes-image-stack
{

    -webkit-box-flex: 1;
    -webkit-flex: 1;
    -ms-flex: 1;
    flex: 1 1 50%;
    width: 50%;
    max-width: 50%;
    position: relative;
    margin-right: 0;
}

.u-legacy-design div.recipe-complementary-recipes-image-stack .planlegg-icon {
    top: 50% !important;
    margin-top: -20px;
}

.u-legacy-design div.recipe-complementary-recipe-title
{
    -webkit-box-flex: 1;
    -webkit-flex: 1;
    -ms-flex: 1;
    flex: 1 1 50%;
    width: 50%;
    max-width: 50%;
    -ms-flex-item-align: center;
    -ms-grid-row-align: center;
    -webkit-align-self: center;
    align-self: center;
    padding: 5px 10px 5px 30px;
}

.u-legacy-design div.recipe-complementary-product
{
    background-color: #fff;
    border: 1px solid #e0e0e0;
    padding: 10px;
}

.u-legacy-design div.recipe-complementary-product div.image-stack
{
    padding: 10px 20px 0px 20px;
}

.u-legacy-design div.recipe-complementary-product div.price-label
{
    z-index: 5;
    top: 10px;
}

.u-legacy-design div.recipe-complementary-product div.product-name,
.u-legacy-design div.recipe-complementary-product div.product-brand
{
    text-align: center;
}

.u-legacy-design div.childrenCan
{
    color: #ffffff;
    background-color: #3ea435;
    margin-bottom: 10px;
    padding: 10px;
}

.u-legacy-design div.childrenCan p
{
    margin-bottom: 10px;
}

/* BABY PACKAGE */

.u-legacy-design #page-nav { 
    list-style: none; 
    position: relative; 
}
.u-legacy-design #page-nav li { 
    display: inline; 
    float: left;
}
.u-legacy-design #page-nav li a { 
    color: #000; 
    display: block; 
    float: left; 
    padding: 1em 2em; 
}

.u-legacy-design .page-nav-wrap
{
    border: 1px #e0e0e0;
    border-style: solid none;
}

.u-legacy-design .page-nav-wrap-posholder{
    height: 0;
}
.u-legacy-design .page-nav-wrap-posholder.holder{
    position: relative;
    display: block;
    height: 58px;
    width: 100%;
}
.u-legacy-design .page-nav-wrap.sticky{
    position: fixed;
    top: 80px;
    z-index: 9999;
    background: #fff;
    width: calc(100% - 110px);
    border-top: #ffffff;
}
.u-legacy-design #page-nav { 
    display: block;
    list-style: none; 
    position: relative; 
}

@media only screen and (max-width: 768px)
{
    .u-legacy-design #page-nav, .u-legacy-design .page-nav-wrap
    {
        display: none;
    }
}

@media only screen and (max-width: 1024px)
{
    .u-legacy-design .page-nav-wrap.sticky{
        top: 55px;
        width: 100%;
    }
}

.u-legacy-design #page-nav li { 
    display: inline; 
    float: left;
    border-bottom: 2px solid #fff;
    -webkit-transition: border-bottom 0.5s;
    -moz-transition: border-bottom 0.5s;
    -ms-transition: border-bottom 0.5s;
    -o-transition: border-bottom 0.5s;
    transition: border-bottom 0.5s;
}
.u-legacy-design #page-nav li.current_page_item{
    border-bottom: 2px solid #004a93;
    -webkit-transition: border-bottom 0.5s;
    -moz-transition: border-bottom 0.5s;
    -ms-transition: border-bottom 0.5s;
    -o-transition: border-bottom 0.5s;
    transition: border-bottom 0.5s;
}
.u-legacy-design #page-nav:hover li{
    border-bottom: 2px solid #fff;
    -webkit-transition: border-bottom 0.5s;
    -moz-transition: border-bottom 0.5s;
    -ms-transition: border-bottom 0.5s;
    -o-transition: border-bottom 0.5s;
    transition: border-bottom 0.5s;
}
.u-legacy-design #page-nav:hover li:hover{
    border-bottom: 2px solid #004a93;
    -webkit-transition: border-bottom 0.5s;
    -moz-transition: border-bottom 0.5s;
    -ms-transition: border-bottom 0.5s;
    -o-transition: border-bottom 0.5s;
    transition: border-bottom 0.5s;
}
.u-legacy-design #page-nav li a { 
    color: #000; 
    display: block; 
    float: left; 
    padding: 1em 2em; 
}

.u-legacy-design div#babypackage-banner div.image
{
    padding: 0 1.25em;
}

.u-legacy-design div#babypackage-banner div.image img
{
    margin: 0 auto;
}

.u-legacy-design div.babypackage-section
{
    margin-top: 4em;
    clear: both;
}

.u-legacy-design div.babypackage-section h2
{
    font-size: 1.5em;
    margin-bottom: 1em;
    padding-bottom: 0.6em;
    border-bottom: 1px solid #e0e0e0;
}

.u-legacy-design div#babypackage-intro
{
    margin-top: 2.8em;
}

.u-legacy-design div#babypackage-about div.image img
{
    margin-bottom: 0.5em;
    float: none;
}

.u-legacy-design div#babypackage-about h3
{
    font-size: 1.2em;
    color: #00aeff;
    margin-bottom: 0.2em;
}

.u-legacy-design div#babypackage ul.errors li
{
    color: #e74c3c;
}

.u-legacy-design div#babypackage input[type='text'], .u-legacy-design div#babypackage textarea, .u-legacy-design div#babypackage input[type='date']
{
    margin-bottom: 0.75em;
    -webkit-appearance: none;
    -moz-appearance: none;
}

.u-legacy-design div#babypackage input[type='checkbox']
{
    margin-right: 0.5em;
    vertical-align: baseline;
}

.u-legacy-design div#babypackage div#dinnerplanner-switch div.validation-message
{
    padding-top: 0.5em;
    display: none;
}

.u-legacy-design a.select2-choice {
    border: 1px solid #e0e0e0 !important;
    border-radius: 0 !important;
    /*padding: 0.6em 1em !important;*/
}

.u-legacy-design .select2-arrow {
    border-radius: 0 !important;
}

.u-legacy-design .select2-drop-active {
    border: 1px solid #e0e0e0 !important;
}

.u-legacy-design .select2-container {
    border: 1px solid #e0e0e0;
}

.u-legacy-design div.select2-container.ui-input, .u-legacy-design .select2-container .select2-choice
{
    background-image: none !important;
    transition: 0.25s;
}

.u-legacy-design .select2-container .select2-choice
{
    height: 40px !important;
    line-height: 40px !important;
    padding-left: 1em !important;
}

.u-legacy-design .select2-container-active, .u-legacy-design .select2-choice, .u-legacy-design .select2-drop
{
    box-shadow: none !important;
}

.u-legacy-design .select2-container-active a, .u-legacy-design .select2-drop
{
    border: 1px solid #023EA5 !important;
    border-radius: 0 !important;
}
.u-legacy-design div.select2-result-label div.store-name
{
    font-style: italic;
}
.u-legacy-design div.select2-result-label div.store-address
{
    font-size: 0.8em;
}

.u-legacy-design div#terms-text
{
    font-size: 80%;
    padding-left: 1.7em;
    display: none;
}

.u-legacy-design div#babypackage-receipt h2
{
}

.u-legacy-design div#babypackage-receipt div.collected-data
{
    width: 100%;
    display: table;
}

.u-legacy-design div#babypackage-receipt div.collected-data h2, .u-legacy-design div#babypackage-receipt div.collected-data p
{
    display: table-row;
}

.u-legacy-design div#babypackage-receipt div.collected-data span
{
    display: table-cell;
    padding: 0.5em 0;
    vertical-align: middle;
}

.u-legacy-design div#babypackage-receipt div.collected-data p span
{
    border-top: 1px solid #e0e0e0;
}

.u-legacy-design div#babypackage-receipt div.collected-data span.label
{
    width: 40%;
}

.u-legacy-design div#babypackage-receipt div.collected-data span.value
{
    width: 60%;
    padding-left: 1em;
}


/* BASIC.CSS - EXTRA */

.u-legacy-design input[type='password'].ui-input, .u-legacy-design input[type='password'].ui-input, .u-legacy-design textarea.ui-input, .u-legacy-design input[type='date'].ui-input {
    width: 100%;
    font-size: 1em;
    padding: 0.6em 1em;
    color: #9e9e9e;
    border: 1px solid #e0e0e0;
    outline: none;
    -webkit-transition: all 0.5s ease;
    -moz-transition: all 0.5s ease;
    -ms-transition: all 0.5s ease;
    -o-transition: all 0.5s ease;
    transition: all 0.5s ease;
}

.u-legacy-design input[type='password'].ui-input.active, .u-legacy-design input[type='password'].ui-input:focus, .u-legacy-design input[type='date'].ui-input.active, .u-legacy-design input[type='date'].ui-input:focus, .u-legacy-design textarea.ui-input.active, .u-legacy-design textarea.ui-input:focus  {
    border-color: #023EA5;
    color: #404040;
}

.u-legacy-design input[type='password'].ui-input.alert, .u-legacy-design textarea.ui-input.alert {
    border-color: #e74c3c;
    color: #e74c3c;
}
.u-legacy-design input[type='password'].ui-input.disabled, .u-legacy-design textarea.ui-input.disabled {
    border-color: #b3b3b3;
    color: #404040;
    background: #e0e0e0;
}

.u-legacy-design .sw-br {
    clear: both; }

@media only screen and (min-width: 768px)  { 
    .u-legacy-design .sw-br {
    clear: none; }

    .u-legacy-design .mw-br {
    clear: both; }
}

@media only screen and (min-width: 1024px)  { 
    .u-legacy-design .mw-br {
    clear: none; }

    .u-legacy-design .lw-br {
    clear: both; }
}
