
@media(min-width:780px) and (max-width:1200px){
    .top-products ul.homepage {
        margin-left: -20px;
    }
    .top-products ul.homepage>li.span4{
        width: 47%;
    }
    .top-products ul.homepage>li:first-child{
        margin-left: 22px;
    }

    .top-products ul.homepage>li.span2{
        width: 22%;
    }
    .top-products ul.homepage>li{
        margin-left: 2.2%;
    }
}

@media(min-width: 660px) and (max-width: 979px){
    .product-wrapper .span8{
        width: 100% !important;
    }
    .bigbox{
        display: none !important;
    }
    .categorie-popular-products .thumbnails > li{
        width: 47%;
        margin-left: 18px;
    }
}
@media(min-width:769px ){
    .product-half{
        width: 45%;
        float: left;
        padding-right: 10px;
        padding-left: 10px;
    }
    .e-product-half{
        width: 30%;
        float: left;
        padding-right: 10px;
        padding-left: 10px;
    }
    .product-half.product-details{
        padding-left:30px;
    }
    .e-product-half.product-details{
        padding-left:30px;
        width: 60%;
    }
    h1.prod{
        line-height: 1.2em;
    }
}

/* Desktop */
@media (min-width: 980px) {
    .product-wrapper .span8 {
        width: calc(100% - 300px) !important;
    }

    .categorie-popular-products .thumbnails > li{
        width: 22.365%;
        margin-left: 18px;
    }
    .thumbnail.product-half, .thumbnail.e-product-half{
        min-height: 400px;
        line-height: 400px;
        position: relative;
        max-height: 400px;
    }
    li.rateable .thumbnail.product-half{
        line-height: 340px;
    }

    .adfoot.prodbannerfoot {
        padding-right: 1.5%;
        padding-top: 40%;
    }

    .top-section .thumbnail, .top-section .thumbnail .table-cell{
        height: 235px;
        min-height: 235px;
        line-height: 235px;
    }
    .top-section .thumbnail .table-cell img{
        max-height: 225px;
    }
    .span25{
        width: 172px;
    }
    #LoginModal.modal{
        width: 810px;
        margin-left: -410px;
    }
    #LoginModal .modal-body{
        max-height: 460px;
    }

    .top-products .thumbnail .caption{
        padding: 0;
    }
    .row-fluid .lists{
        width: 100%;
        overflow: hidden;
        margin-left: -20px;
    }
    .lists > li{
        width: 330px;
        float: left;
        margin-left: 20px;
    }
    .header-nav a[data-icon]{
        text-decoration: none;
        color: #595959;
        font-size: 18px;
        line-height: 1;
        position: relative;
        top: 3px;
    }
    .header-nav a[data-icon-02]{
        text-decoration: none;
        color: #595959;
        font-size: 18px;
        line-height: 1;
        position: relative;
        top: 3px;
    }
    .header-nav a[data-icon-02]:hover{
        color: #e9ad55;
    }
    .header-nav a[data-icon]:hover{
        color: #e9ad55;
    }
    .header-nav .form-search .ui-autocomplete{
        width: 268px !important;
    }

    .fr a.button.pull-right.add{
        padding: 8px 3px;
    }
    .fr a.button.add:before{
        font-size: 16px;
        margin-top: 2px;
    }
}
@media (min-width: 1200px) {

    .adfoot.prodbannerfoot {
        padding-right: 10%;
        padding-top: 0;
    }

    .container, .navbar-fixed-top .container{
        width: 1170px;
    }
    .span25{
        width:178px;
    }
    .top-section .thumbnail, .top-section .thumbnail .table-cell{
        height: 294px;
        min-height: 294px;
        line-height: 294px;
    }
    .top-section .thumbnail .table-cell img{
        max-height: 284px;
    }
    .flyer-result .thumbnails, .search-result .thumbnails{
        margin-left: -18px;
    }
    .flyer-result .thumbnails > li, .search-result .thumbnails > li{
        width: 204px;
        margin-left: 18px;
    }
    .search-result .thumbnails > li{
        width: 200px;
        margin-left: 18px;
    }
    .thumbnail div.sponsor a.pull-left img {
        max-width: 110px;
    }
    .flyer-result .thumbnails .ads_prod, .search-result .thumbnails .ads_prod {
        width: 426px;
    }
    .main-recipe-categories{
        margin: 0;
    }
    .main-recipe-categories > li{
        width:270px;
        text-align: center;
        float: left;
        list-style: none;
        margin: 10px 20px 10px 0;
    }
    .main-recipe-categories .thumbnail{
        height: 260px;
    }

    .main-recipe-categories .thumbnail .category-image{
        max-height: 195px;
    }
    .search-result .form-search > .ui-front{
        width: 82%;
    }
    div.login .offset2, .section-signup .offset2{
        margin-left: 25.5319% !important;
    }
    .section-common .offset2{
        margin-left: 21.5319% !important;
    }
    .list_thumbnails .thumbnail .button{
        padding: 8px 12px;
    }
    .top-products .thumbnail .caption{
        padding: 0 4px 4px;
    }
    .lists > li{
        width: 415px;
    }
    .thumbnail p.pull-left{
        font-size: 12px;
        width: 55%;
    }
    .form-add > .ui-front{
        width: 88%;
    }
    .fr .form-add > .ui-front{
        width: 85%;
    }
    .en .form-add > .ui-front{
        width: 85%;
    }
    .form-add button{
        width: 12%;
    }
    .fr .form-add button{
        width: 15%;
    }
    .en .form-add button{
        width: 15%;
    }
    .form-add .ui-autocomplete{
        width: 113% !important;
    }
    .current-sales h3:before{
        position: absolute;
    }
    .sales-alerts h3:before{
        position: absolute;
        margin: -12px 0 0 10px;
    }
    .fr .top-section a{
        padding: 0 25px;
    }
    /*#recipe-layout .social-top{float:right;}*/

    .top-products ul.homepage {
        margin-left: -20px;
    }
    .top-products ul.homepage>li:first-child{
        margin-left: 24px;
    }

    .top-products ul.homepage>li.span4{
        width: 31%;
    }

    .top-products ul.homepage>li.span2{
        width: 14.6%;
    }
    .top-products ul.homepage>li{
        margin-left: 2.0%;
    }
    .fr .nm-body .top-section a, .fr .nm-nav .top-section a {
        padding: 0;
    }

    .squaread{
        width: 333px;
        height: 307px;
        background-color:#ffffff;
        float: left;
        margin-left: 20px;
        text-align: center;
        padding: 0 20px;
        border: 1px gainsboro solid;
    }

    .button-mobile {
        font-size: 16px;
        font-weight: 700;
    }
}

@media (max-width: 767px) {
    .categorie-popular-products .thumbnails .thumbnail .title-product {
        height: 50px;
    }

    /*.categories-front-page .thumbnail{
        text-align: left !important;
    }*/

    .button-mobile {
        width: 100%;
        margin-bottom: 25px;
    }
}

/* Tablet and mobile*/
@media (max-width: 1024px){
    #recipe-layout .row-fluid .span2 {
        /*width: 22.365%;*/
        width: auto;
    }
}
@media (max-width: 979px) {

    .adfoot.prodbannerfoot {
        font-size: 85%;
        padding-right: 3%;
        padding-top: 39%;
    }
    .button, button, input[type="submit"]{
        font-size: 14px;
    }
    .button.recipe{
        font-size: 10px;
    }
    .thumbnail a.button{
        padding: 5px 6px;
    }
    .search-result [class*="span"]{
        width: 100%;
        float: none;
        margin: 0;
    }
    .list_thumbnails .thumbnail .button{
        margin-right: 9px;
    }
    .masthead .header .container{
        text-align: center;
        padding-left: 10px;
        padding-right: 10px;
        position: relative;
    }
    .masthead .header .logo{
        float: none;
        width: 210px;
    }
    .trigger-menu{
        display: block;
        position: absolute;
    }
    .header-nav{
        width: 100%;
        float: none;
        text-align: center;
    }
    .header-nav.inline > li{
        display: block;
        border-top: 1px solid #ccc;
        border-left: none;
        padding: 10px 0;
    }
    .header-nav.inline > li:first-child{
        border-top: none;
        margin: 10px 0 0;
    }
    .header-nav.inline > li > a{
        display: block;
        width: 100%;
        height: 100%;
        text-decoration: none;
        text-align: left;
        position: relative;
    }
    .header-nav li.user, .header-nav li.login{
        display: none;
    }
    .header-nav .form-search{
        margin: 0 0 5px;
        float: none;
        overflow: hidden;
    }
    .masthead .header .hidden-desktop.user{
        position: absolute;
        right: 10px;
        font-size: 16px;
    }
    .masthead .header .hidden-desktop.user a{
        display: inline-block;
        margin-top: 5px;
        text-decoration: none;
    }
    .masthead .header .hidden-desktop.user a[data-icon]{
        font-size: 30px;
        margin-top: 0;
        text-decoration: none;
    }
    .header-nav .form-search .ui-front{
        width: 89%;
    }
    .header-nav .form-search button{
        width: 11%;
    }
    .tooltip.right{
        margin: -1px 0 0 8px;
    }
    .header-nav .form-search .ui-autocomplete{
        position: static;
    }
    #OtherRegionsModal.modal h1{
        font-size: 28px;
    }
    .footer .links{
        width: 100%;
    }
    .footer .social{
        width: 60%;
        text-align: right;
    }
    .price-matching-learn-more header div h1{
        font-size: 26px;
    }
}
@media (min-width: 768px){
    #sale-items .caption{
        padding: 0;
    }
    .stores.list .disabled:after{
        margin-top: -90px;
    }
    .thumbnails.stores.location-list .thumbnail{
        min-height: 1px;
        padding: 10px;
    }

    .fr .nm-body .top-section a, .fr .nm-nav .top-section a{
        padding: 0;
    }

    .categories-front-page .thumbnail {
        min-height: 240px !important;
        height: 240px !important;
    }
}

@media (max-width: 768px){
    .store .stores-listing .retailer{
        max-width: 60%;
    }
}

/* Tablet Portrait Mode */
@media (min-width: 980px) and (max-width: 1279px) {
    .recipe-index .form-search > .ui-front, .featured-index .form-search > .ui-front{
        width:79%;
    }
    .footer .links{
        width: 100%;
    }
    .footer .social{
        width: 55%;
        text-align: right;
    }

    .advantages-block .span3{
        margin-left :30px !important;
    }

    .advantages-block .span8{
        width :66% !important;
    }
}

@media (min-width: 768px) and (max-width: 979px) {
    .top-section a{
        font-size: 20px;
    }
    .top-section a:before{
        width: 70px;
        height: 70px;
        line-height: 70px;
        font-size: 40px;
    }
    .top-section .top-section-icons{
        width: 70px;
        height: 70px;
        line-height: 70px;
        font-size: 40px;
    }
    /*.top-section [class*="span"]{
        width: 100%;
        float: none;
        margin: 0;
    }*/
    .top-section .thumbnail, .top-section .thumbnail .table-cell{
        height: inherit;
        min-height: inherit;
    }
    .input-xxlarge{
        width: 480px;
    }
    .thumbnail a.pull-left img{
        width: 100%;
    }
    .span25{
        width: 166px;
    }
    .flyer-result .thumbnails, .search-result .thumbnails{
        margin-left: -20px;
    }
    .flyer-result .thumbnails > li, .search-result .thumbnails > li{
        width: 166px;
        margin-left: 20px;
    }
    .thumbnail div.sponsor a.pull-left img {
        max-width: 100px;
        width: auto;
    }
    .flyer-result .thumbnails .ads_prod, .search-result .thumbnails .ads_prod {
        width: 352px;
        margin-bottom: 10px;
    }
    .featured-index .thumbnails > li{
        /*margin-left: 20px;*/
    }
    .add-filters{
        width: 50%;
        float: right;
        margin: -44px 0 0;
    }
    .notify{
        margin-bottom: 30px;
    }
    .notify p{
        float: left;
        margin: 0 10px 0 0;
    }
    .onoffswitch{
        float: left;
    }
    .form-search > .ui-front, .search-result .form-search > .ui-front{
        width: 93%;
    }
    .accordion-inner > .childclass4st,.accordion-inner > .childclass34st {
        clear:left;
    }
    .accordion-inner > .childclass3st {
        clear:none;
    }
    .recipe-index .form-search > .ui-front, .featured-index .form-search > .ui-front{
        width:70%;
    }
    .accordion-inner > .checkbox-store, .accordion-inner > .checkbox-sponsor{
        width: 20%;
    }
    div.login [class*="offset"], div.signup [class*="offset"]{
        margin-left: 0 !important;
    }
    .accordion-inner > .checkbox-store > img, .accordion-inner >.checkbox-sponsor > img{
        max-height: 45px;
    }
    #LoginModal.modal{
        width: 720px;
        margin-left: -360px;
    }

    .modal .login{
        width: 48%;
    }
    .modal .signup{
        width: 45%;
        margin-left: 6%;
    }
    .row-fluid .top-products, .row-fluid .featured-list, .row-fluid .recipe-list{
        width: 100%;
        float: none;
        clear: both;
        margin-left: 0;
    }
    .list_thumbnails .thumbnail .caption img, .section-featured-list > div:first-child > p > img, .section-recipe-list > div:first-child > p > img{
        max-width: 109px;
    }
    .row-fluid .homepage >li.ntchild4n2{margin-left: 2.76243%;}
    .row-fluid .homepage >li.ntchild4n2_t{margin-left: 0;}
    .row-fluid .homepage .span2{width: 22.365%;}
    .row-fluid .recipe-recommended-lists{width:40%;*width:40%;}
    .recipe-lists .thumbnail .sponsor-section .sponsor-box{
        max-width: 100px;
    }
    .section-featured-list .thumbnails .table-cell + div > p, .section-recipe-list .thumbnails .table-cell + div > p{
        font-size: 11px;
        /*text-align: right*/
    }
    .section-featured-list .thumbnails .table-cell + div > h3, .section-recipe-list .thumbnails .table-cell + div > h3, .my-sales .thumbnails .clearfix h3{
        font-size: 15px;/*20px*/
        height: 55px;
    }

    #recipe-layout .row-fluid .span2 {
        width: 22.365%;
    }
    .row-fluid .divine-ad{
        width: 47.492%;
    }

    .main-recipe-categories{
        margin: 0;
    }
    .categories-front-page > li {
        width:47% !important;
    }
    .main-recipe-categories > li{
        width:510px;
        text-align: center;
        float: left;
        list-style: none;
        margin: 10px 20px 10px 0;
    }
    .main-recipe-categories .thumbnail{
        height: 240px;
    }

    .main-recipe-categories .thumbnail .category-image{
        max-height: 195px;
    }
    .row-fluid .span4{
        width: 47%;
        margin-bottom: 15px;
    }
    .shoply-feed ul.products-grid > li {
        width: 146px;
    }

    .row-fluid.my-sales .span8, .row-fluid.my-sales-alerts .span8, #my-current-recipes .span7 {
        width:100%;
    }
    .row-fluid.my-sales .span4.side-bar-right, .row-fluid.my-sales-alerts .span4.side-bar-right {
        width:100%;
    }

    .top-products ul.homepage {
        margin-left: -20px;
    }
    .top-products ul.homepage>li:first-child{
        margin-left: 22px;
    }

    .top-products ul.homepage>li.span4{
        width: 47%;
    }

    .top-products ul.homepage>li.span2{
        width: 22%;
    }
    .top-products ul.homepage>li{
        margin-left: 2.7%;
    }
}

/* Mobile Portrait and Landscape mode */
@media (max-width:980px) {
    .shoply-feed ul.products-grid > li {
        width: 146px;
    }
    .footer .footer-links{
        width: 100%;
    }
}
@media (max-width: 767px) {
    .adfoot {
        display:none;
    }
    .categories-front-page .thumbnail {
        height:auto !important;
    }
    .sub-categories-front-page .thumbnail h6 {
        /*font-size:20px;
        font-weight: 700;*/
        margin-top: 10px;
        height: unset;
    }
    .sub-categories-front-page .thumbnail .table-cell {
        height: 100px;
    }
    .sub-categories-front-page .thumbnail .table-cell img {
        vertical-align: unset;
    }
    .sub-categories-front-page li {
        margin-bottom: 10px !important;
    }
    .categories-front-page > li {
        float: none;
        display: block;
        width: 100%;
        margin-left: 0;
    }
    .categories-front-page .thumbnail .table-cell {
        width: 100%;
    }

    .top-products .thumbnails .span4 .adfoot, .flyer-result .thumbnails .ads_prod .adfoot, .search-result .thumbnails .ads_prod .adfoot {
        display: block;
    }

    .footer{
        padding-top: 10px;
        margin-left: -10px;
        margin-right: -10px;
        margin-top: 0;
    }
    .footer .links{
        width: 100%;
        float: none;
    }
    .footer .social{
        width: 100%;
        float: none;
        text-align: center;
    }
    .footer ul.inline > li{
        display: block;
        text-align: left;
        border-top: 1px solid #ccc;
        padding: 5px 10px;
    }
    .footer ul.inline > li a{
        display: block;
        text-decoration: none;
    }
    .footer ul.inline > li:first-child{
        border-top: none;
    }
    .footer ul.inline > li:before, .footer ul.inline > li:first-child:before{
        content: "";
        padding-right: 0;
    }
    .footer ul.inline > li:first-child{
        padding-left: 10px;
    }
    .footer .links p{
        text-align: center;
    }
    .footer #backTop{
        width: 40px;
        height: 40px;
        line-height: 40px;
        overflow: hidden;
        bottom: 70px;
        right: 0;
        -webkit-border-radius: 4px 0 0  4px;
        -moz-border-radius: 4px 0 0  4px;
        border-radius: 4px 0 0  4px;
    }
    .footer #backTop:after{
        display: none;
    }
    .footer #backTop:before{
        font-family: 'icomoon';
        /*speak: none;*/
        font-style: normal;
        font-weight: normal;
        font-variant: normal;
        text-transform: none;
        line-height: 1;
        -webkit-font-smoothing: antialiased;
        content: "\e01b";
        float: left;
        font-size: 20px;
        margin: 10px 0 0 7px;
    }
    .logo{
        width: 50%;
    }
    .info .span9{
        padding-top: 0;
    }
    .info .span9 > h2:first-child{
        margin-top: inherit;
    }
    .additional-info > div[class*="span"]{
        display: block;
        margin-bottom: 10px;
        border: none;
    }
    .row-fluid .location{
        margin-left: 0;
    }
    .stores.list .disabled:after{
        margin-top: -65px;
        line-height: 65px;
    }
    .thumbnail{
        height: auto;
        position: relative;
        width: 100%;
        overflow: hidden;
        min-height: 30px;
        -webkit-box-sizing: border-box;
        -moz-box-sizing: border-box;
        box-sizing: border-box;
    }
    /*li.sw-sale .thumbnail{*/
    /*height: auto;*/
    /*min-height: auto;*/
    /*border-radius: 0;*/
    /*border-bottom: none;*/
    /*border-top: none;*/
    /*}*/
    .sale-list.rateable .thumbnail, #sale-items .thumbnails li.sw-sale.rateable .thumbnail{
        height: auto;
        min-height: auto;
    }
    .my-sales .list_thumbnails .thumbnail, .my-sales-alerts .list_thumbnails .thumbnail{
        overflow: inherit;
    }
    .thumbnail .table-cell{
        /*float: left;*/
        /*width: 35%;*/
        text-align: center;
        height: auto;
        margin-right: 10px;
    }
    .thumbnails .flyer-list{
        width: 29%;
        float: left;
        margin: 0 10px 20px;
    }
    .thumbnail .caption{
        text-align: center;
        float: none;
    }
    .recipe-lists .thumbnail h7 {
        height: 80px;
    }

    .featured-product .table-cell{
        width: 100%;
    }
    .top-section{
        margin-bottom: 0;
    }
    .top-section a{
        font-size: 16px;
    }
    .top-section a:before, .top-section .top-section-icons{
        width: 40px;
        height: 40px;
        line-height: 40px;
        font-size: 20px;
        border-width: 4px;
        margin-bottom: 5px;
    }
    .top-section [class*="span"]{
        width: 50%;
        float: left;
        padding: 0 10px;
        -webkit-box-sizing: border-box;
        -moz-box-sizing: border-box;
        box-sizing: border-box;
    }
    .top-section h2, .top-section p{
        display: none;
    }
    .top-section .thumbnail .table-cell{
        height: auto;
        width: 100%;
        line-height: inherit;
    }
    .top-section .thumbnail .table-cell img{
        max-height: 160px;
    }
    .stores.list .thumbnail{
        min-height: 55px;
        text-align: left;
        line-height: inherit;
    }
    .stores .thumbnail{
        min-height: 65px;
    }
    .stores .thumbnail strong{
        margin: 18px 40px 0 0;
    }
    .stores .thumbnail:after{
        border-top: 8px solid transparent;
        border-bottom: 8px solid transparent;
        border-left: 8px solid #595959;
        content: "";
        display: block;
        float: right;
        height: 0;
        vertical-align: middle;
        width: 0;
        position: absolute;
        right: 10px;
        top: 23px;
    }
    .stores + .button{
        width: 100%;
    }
    .flyer-result .thumbnails, .search-result .thumbnails{
        margin-left: 0;
    }
    .thumbnail div.sponsor a.pull-left img {
        max-width: 120px;
    }
    .flyer-result .thumbnails > li, .search-result .thumbnails > li{
        width: 49%;
        float: none;
        display: inline-block;
        margin-left: 0;
    }

    .flyer-result .thumbnails .ads_prod, .search-result .thumbnails .ads_prod {
        width: 100%;
    }

    .add-filters{
        margin-bottom: 20px;
    }
    .thumbnail .caption h3{
        margin: 12px 0 10px 0;
    }
    .thumbnail .caption .product-name{
        min-height: 100px;max-height: 100px;overflow: hidden
    }
    .thumbnail p.pull-left{
        width: 60%;
        font-size: inherit;
    }
    div.login{
        border-right: none;
    }

    input.input-medium,
    select.input-medium,
    input.input-large,
    select.input-large,
    input.input-xlarge,
    select.input-xlarge,
    input.input-xxlarge,
    select.input-xxlarge,
    input[class*="span"],
    select[class*="span"],
    textarea[class*="span"],
    .uneditable-input,
    div.login input[type="text"],
    div.login input[type="email"],
    div.login input[type="password"],
    .section-signup input[type="text"],
    .section-signup input[type="email"],
    .section-signup input[type="password"],
    .section-signup select,
    .section-common input[type="text"],
    .section-common input[type="email"]{
        width: 90%;
        display: inline-block;
    }
    div.login .button, div.signup .button, .section-signup .button, .section-common .button{
        width: 100%;
    }
    .accordion .button{
        width: 100%;
    }

    .accordion .main-recipe-selected-rest{
        width:auto;
    }

    .map > #list_stores{
        height: auto;
        overflow: auto;
    }
    #map{
        margin-bottom: 30px;
    }
    .thumbnail a.pull-left{
        margin-top: 0;
    }
    .modal .login{
        width: 100%;
        float: none;
        clear: both;
    }
    .modal{
        position: absolute;
    }
    .loc-options > li, .loc-options > .thumbnail, .my-lists-options > li, .my-lists-options > .thumbnail{
        float: none;
        width: 100%;
        min-height: inherit;
        margin: 0 0 30px 0;
    }
    .loc-options > li > span, .my-lists-options > li > span{
        padding: 0;
        text-align: center;
    }
    .loc-options > .thumbnail input[type="text"]{
        width: 100%;
    }
    .loc-options > .thumbnail button{
        width: 100%;
        margin: 10px 0 0;
    }
    .my-lists > .button{
        width: 100%;
    }
    .side-bar-right[class*="span"]{
        float: none;
    }
    .banner-leaderboard {
        padding: 1% 0;
    }
    #recipe-layout .social-top{float:right;}
    #recipe-layout .more-recipes .thumbnail{
        /*width: 47%;*/
        float:left;
        /*margin-left: 2.127659574468085%;*/
    }
    #recipe-layout .more-recipes .span2{
        min-height: 0;
    }
    #recipe-layout.non-kraft .more-recipes .thumbnail{
        min-height: 160px !important;
    }

    .span4.ads-banner-middle{
        margin-bottom: 45px;
        margin-top: -30px;
    }
    .row-fluid.brand-item .brand-detail{
        padding-left: 0px;
    }
    .btn-more-brands{
        width: 180px;
        padding: 30px;
    }
}

/* Mobile Lanscape mode */

@media (min-width: 660px) and (max-width: 767px) {
    #popular-groceries>li {
        float:left;
    }
}

@media only screen and (min-width: 480px) and (max-width: 767px) {

    .notify p{
        width: auto;
        float: left;
        margin: 7px 10px 0 0;
    }
    .onoffswitch{
        float: left;
    }
    .stores .thumbnail > img{
        float: left;
        margin: 0;
    }
    .stores .thumbnail p.address{
        float: left;
        margin: 20px 0 0 10px;
    }
    .form-search > .ui-front, .search-result .form-search > .ui-front{
        width: 90%;
    }
    .list_thumbnails .thumbnail .caption img, .section-featured-list > div:first-child > p > img, .section-recipe-list > div:first-child > p > img{
        max-width: 170px;
    }
    .current-sales h3:before{
        position: absolute;
    }
    .sales-alerts h3:before{
        position: absolute;
        margin: -12px 0 0 10px;
    }

    .form-search-homepage .form-search button{
        width: 7%;
    }
    .form-search-homepage .form-search >.ui-front {
        width: 93%;
    }
    #recipe-layout .recipe-prep h4{font-size: 1.2em;}
    #recipe-layout .recipe-prep{font-size: 1.2em;}


    .advantages-block .span3{
        width:20% !important;
        max-width: 100px !important;
    }

    .advantages-block .span8{
        width :80% !important;
        max-width: 380px !important;
    }

    .advantages-block {
        width:100% !important;
    }

}

@media (max-width: 900px) {
    .shoply-feed .inner .shoply-logo{
        position: relative;
    }
    .footer .footer-links ul.footers-inline.about{
        width:20%;
    }
    .footer .footer-links ul.footers-inline.follow_us{
        width:20%;
    }
    .footer .footer-links ul.footers-inline.mobile{
        width:20%;
    }
}

@media (max-width:1199px) {
    .related-brand, .categorie-popular-products {
        width: 100%;
    }

    .button-mobile {
        font-size: 15px;
        display: inline-block;
        padding: 8px 12px;
        background: #C8285F;
        color: #fff;
        text-decoration: none;
        text-align: center;
        border: none;
        outline: none;
        -webkit-border-radius: 5px;
        -moz-border-radius: 5px;
        border-radius: 5px;
        -webkit-box-sizing: border-box;
        -moz-box-sizing: border-box;
        box-sizing: border-box;
        margin-bottom: 20px;
    }

    .button-mobile:hover {
        color: #fff;
        background-color: #e9ad55;
    }

    .related-brand h3 {
        font-size: 28px;
        font-weight: 700;
    }

    .footer .footer-links ul.footers-inline.about, .footer .footer-links ul.footers-inline.newsletter, .footer .footer-links ul.footers-inline.mobile, .footer .footer-links ul.footers-inline.services {
        width:45%;
    }
    .footer .footer-links ul.footers-inline.mobile{
        clear: both;
    }

}
@media(min-width: 980px) and (max-width: 1199px){
    .squaread{
        width: 320px;
        height: 307px;
        background-color:#FFFFFF;
        float: left;
        margin-left: 20px;
        text-align: center;
        padding: 0 20px;
        border: 1px solid #ddd;
    }

    .container .related-brand .brand-logo {
        margin: 0 18px 0 0 !important;
        width: 22.365%;
        float:left;
        clear: unset;
        height: 128px;
        display: flex;
        justify-content: center;
        align-items: center;
    }

}

@media(min-width: 768px) and (max-width: 980px){
    .squaread{
        width: 310px;
        height: 307px;
        background-color:#FFFFFF;
        float: left;
        margin-left: 20px;
        text-align: center;
        padding: 0 20px;
        border: 1px solid #DDD;
    }
    .container .related-brand .brand-logo {
        margin: 0 18px 0 0 !important;
        width: 47%;
        float:left;
        clear: unset;
        height: 128px;
        display: flex;
        justify-content: center;
        align-items: center;
    }
}
@media(max-width: 767px){
    .squaread{
        display: none;
    }

    .manager-special-icon {
        width:13px;
    }

    .manager-special-icon-prod-details {
        position: absolute;
        top: 0;
        right: 0;
        margin-top: 5px;
        margin-right: 5px;
    }
}

@media(max-width: 727px){
    .banner-leaderboard{
        display: none;
    }
    .scroll-left, .scroll-right{
        display: none;
    }
}

@media (max-width: 640px){
    .video-ad{
        width: 320px;
    }
    .price-matching-learn-more header div h1{
        font-size: 20px;
    }
    .price-matching-learn-more header div h5{
        font-size: 14px;
    }
}

@media(max-width: 600px){
    .footer .footer-links ul.footers-inline.newsletter {
        clear:both;
        width:90%;
    }
    .store-service{
        width: 100%;
    }
}

/* Mobile Portrait mode */
@media (max-width: 479px) {
    .masthead .row-fluid{
        margin-bottom: 0;
    }
    .breadcrumb {
        margin-top:-15px;
    }
    .stores .thumbnail > img{
        display: inline;
        margin: 0;
    }
    .stores .thumbnail p.address{
        margin: 5px 0 0 10px;
    }
    .thumbnails.stores.location-list .thumbnail p.address{
        margin: 18px 0 0 10px;
    }
    .form-search > .ui-front, .search-result .form-search > .ui-front{
        width: 80%;
    }
    .location > li:first-child{
        font-size: 9pt;
    }
    .location > li:last-child{
        padding-left: 0;
        padding-right: 0;
    }
    .list_thumbnails .thumbnail .caption{
        width: 47.9362%;
    }
    .my-lists .list_thumbnails .thumbnail .caption{
        width: auto;
        float: none;
    }
    .my-lists .list_thumbnails .thumbnail .table-cell{
        margin-right: 10px;
    }
    .list_thumbnails .thumbnail .caption img, .section-featured-list > div:first-child > p > img, .section-recipe-list > div:first-child > p > img{
        max-width: 96px;
    }
    .form-add button{
        width: 22%;
    }
    .form-add > .ui-front{
        width: 78%;
    }
    .form-add .ui-autocomplete{
        width: 127.5% !important;
    }
    .masthead .header .logo{
        width: 165px;
    }
    .masthead .header .hidden-desktop.user a{
        margin-top: 2px;
    }
    .trigger-menu{
        margin-top: -3px;
    }
    #OtherRegionsModal.modal h1{
        font-size: 20px;
    }

    .form-search-homepage .form-search button{
        width: 10%;
        padding: 0;
    }
    .form-search-homepage .form-search >.ui-front {
        width: 90%;
    }
    #recipe-layout .social-top{float:left;}
    #recipe-layout h1{font-size: 1.8em;}
    #recipe-layout h2{font-size: 1.5em;}
    #recipe-layout .recipe-prep h4{font-size: 1em;}
    #recipe-layout .recipe-prep{font-size: 1em;}

    .advantages-block .span3{
        width:25% !important;
    }

    .advantages-block .span8{
        width :75% !important;
    }

    .advantages-block {
        width:85% !important;
    }

    .footer .footer-links ul.mobile{
        clear: both;
    }

    .footer .footer-links ul.footers-inline{
        width: 40%;
    }

}
@media (max-width: 480px){

    .shoply-feed .inner form[name="main-search"] input[name="query"]{
        width: 40%;
    }
    .shoply-feed .inner form[name="main-search"] .tagline{
        font-size: 14px;
        line-height: 18px;
    }
    .shoply-feed .inner form[name="main-search"]{
        width: 100%;
    }
    .footer .footer-links ul.mobile{
        clear: both;
    }
    .footer .footer-links ul.footers-inline{
        width: 40%;
    }
    .footer .footer-links ul.footers-inline.about{
        width:40%;
    }
    .footer .footer-links ul.footers-inline.follow_us{
        width:40%;
    }
    .footer .footer-links ul.footers-inline.mobile{
        width:40%;
    }
    .more-recipes .thumbnail{
        min-height:170px !important;
        height:auto !important;
    }
    .more-recipes .thumbnail .caption{
        margin-top: 10px;
    }
    .price-matching-learn-more header div{
        width: 90%;
    }
    .thumbnails .flyer-list{
        width: 42%;
    }
}
@media (max-width: 360px) {
    .shoply-feed ul.products-grid > li{
        width:189px;
        margin-left: 20px;
    }
    #manager-special-desc {
        position: fixed;
        display: none;
        padding: 5px;
        background-color: #FEF9E7;
        border: 1px solid #999;
        width: 250px;
        z-index: 1000;
    }

}
@media (max-width: 320px){
    #recipe-layout.non-kraft .recipe-image img{
        /*max-height:245px;*/
        margin: 0 auto;
        display: block;
        /*max-width: 260px;*/
    }
    .price-matching-learn-more header div{
        padding-top: 70px;
    }
    .price-matching-learn-more header div h1{
        font-size: 16px;
    }
    .price-matching-learn-more header div h5{
        font-size: 13px;
    }
    .flyer-result .thumbnails > li, .search-result .thumbnails > li{
        width: 100%;
        float: none;
        display: block;
        margin-left: 0;
    }
    .recipe-lists .thumbnail h7 {
        height: auto;
    }
    .recipe-lists .thumbnail .sponsor-section {
        margin-right: 32px;
        margin-left: 32px;
    }
}
