@font-face {
    font-family: 'oswald_bold';
    src: url('../fonts/Oswald-Bold.ttf');
    font-weight: normal;
    font-style: normal;
}

@font-face {
    font-family: 'oswald';
    src: url('../fonts/Oswald.ttf');
    font-weight: normal;
    font-style: normal;
}

@font-face {
    font-family: 'arial_narrowregular';
    src: url('../fonts/arial_narrow-webfont.eot');
    src: url('../fonts/arial_narrow-webfont.eot?#iefix') format('embedded-opentype'),
        url('../fonts/arial_narrow-webfont.woff') format('woff'),
        url('../fonts/arial_narrow-webfont.ttf') format('truetype'),
        url('../fonts/arial_narrow-webfont.svg#arial_narrowregular') format('svg');
    font-weight: normal;
    font-style: normal;
}

@font-face {
    font-family: 'mccain_sunshine_pro';
    src: url('../fonts/McCainSunshinePro.otf');
    font-weight: normal;
    font-style: normal;
}

.delivery-location-dropdown {
    margin-bottom: 20px;
    /*width: 450px;*/
}

.delivery_date_modal p{
    font-size: 1.2em !important;
}

.delivery_location_modal {
    font-size: 1.2em !important;
}

.delivery_date_modal span {
    font-size: 1.2em !important;
}

.delivery_location_modal span {
    font-size: 1.2em !important;
}

#delivery_datepicker {
    margin-bottom: 20px;
    width: 300px;
}

.link-black {
    color: black;	
}

.green {
    color: green;
}

.red {
    color: red;
}

.icon-test {
    float: right;
}

.error-form-fields {
    color: red;
    font-weight: normal;
}

.table-overflow {
    overflow: overlay;
    min-height: 300px;
}

.link-disabled {
    color: grey;
}

/**
        This version adds support for IE 10+ and Firefox.
*/
.glyphicon-refresh-animate {
    -animation: spin .7s infinite linear;
    -ms-animation: spin .7s infinite linear;
    -webkit-animation: spinw .7s infinite linear;
    -moz-animation: spinm .7s infinite linear;
}

@keyframes spin {
    from { transform: scale(1) rotate(0deg);}
    to { transform: scale(1) rotate(360deg);}
}

@-webkit-keyframes spinw {
    from { -webkit-transform: rotate(0deg);}
    to { -webkit-transform: rotate(360deg);}
}

@-moz-keyframes spinm {
    from { -moz-transform: rotate(0deg);}
    to { -moz-transform: rotate(360deg);}
}


.glyphicon {
    font-size: 1.1em !important;
}

.row {
    margin-right: 0px;
    margin-left: 0px;
}
.select-box {
    width: 50%;
    /* 	min-width: 300px !important; */
    position: relative;
    float: left;
    padding-right: 5px;
}

.loading-spinner-block {
    display: block;
    overflow-y: scroll;
    position: fixed;
    top: 0;
    bottom: 0;
    left: 0;
    right: 0;
    overflow: auto; 
}

.shadow {
    opacity: 0.7;
    position: absolute;
    top: 0;
    right: 0;
    left: 0;
    display: block;
    background-color: #FFF;
}

.shadow img {
    position: absolute;
    margin: auto;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
}

.scrollable {
    height: 100%;
    overflow: auto;
}

.max-height {
    height: 100%;
}

.no-overflow {
    overflow: hidden;
}

body, html {
    margin: 0;
    padding: 0 !important;
    height: 100%;
    overflow: auto;
}

body {
    background-color: #fff;
    background-size: contain;
    background-position-x: center;
}

.wrapper {
    background: #FFF;
    width: 100%;
    padding-bottom: 1% !important;
    padding-top: 1% !important;
    padding-right: 5px;
    padding-left: 5px;
    margin-right: auto;
    margin-left: auto;
    position: relative; /**needed for footer positioning*/;
    margin: 0 auto;
    min-height: 80% !important;
}

.input-qty {
    width: 60px !important;
    display: inline !important;
}

.input-qty-modal {
    width: 100px !important;
}

.refresh-button {
    padding-left: 2%;
}

.wrapper-home {
    padding-bottom: 0px !important;
    padding-top: 20px !important;
    padding-right: 0px !important;
    padding-left: 0px !important;
}

.navbar{
    color: #333;
    background-color: #ddd;
    border-color: #ddd;
    -webkit-box-shadow: 0 1px 1px rgba(0, 0, 0, .05);
    border-bottom: 1px solid transparent;
    border-top-left-radius: 3px;
    border-top-right-radius: 3px
}
.main-login {
    min-width: 300px;
    min-height: 200px;
    margin: 0;
    position: absolute;               /* 2 */
    top: 50%;                         /* 3 */
    -ms-transform: translate(-50%, -50%); /* IE 9 */
    -webkit-transform: translate(-50%, -50%); /* Chrome, Safari, Opera */
    transform: translate(-50%, -50%);
    left: 50%;
    margin-right: -50%;
    background-color: #fff;
    padding: 20px;
}

.row-panel {
    margin: 15px 15px 15px 15px;
}

.nav-sidebar > .active > a:hover,
.nav-sidebar a:focus {
    color: #fff;
    background-color: #5cb85c !important;
}

.nav-sidebar > .active > a,
.nav-sidebar > .active > a:hover,
.nav-sidebar > .active > a:focus {
    color: #fff;
    background-color: #5cb85c !important;   
}

.nav-sidebar > li > a {
    position: relative;
    display: block;
    padding: 10px 15px;
    color: #000;
    text-decoration: none;    
}

.nav-sidebar {
    margin-top: 30% !important;
    margin-left: 0 !important;
    background-color: #ddd;
}
/** ---------- HEADER -------------*/

.mc-header {


    text-transform: uppercase;
    background-position: 50% 0%;
    margin: 0 auto;
    margin-bottom:30px;
    background-repeat: no-repeat;
    position: relative;
    background-position: center top;
}

.mc-logo-img {
    position: absolute;
    top: -20px;
    width: 350px;
}
.navbar-brand {
    padding: 0;
}
.nav-login {
    min-height: 35px;
}

.menu-main {
    /*margin: 0 0 0 380px !important;*/
}

.navbar-inverse .navbar-nav>li>a {
    color: #FFF;
}

..menu-li-active>a, .menu-li-active>div>a, .menu-li-active>div>a:after {
    color: #000 !important;
    text-shadow: none !important;
}

.navbar-nav > li > a, .navbar-nav > li > div > a {
    font-family: 'Helvetica Neue', Helvetica, Arial, sans-serif;
    font-size: 13px;
    color: #000;
    font-weight: bold;
}

.navbar-right>li>a:hover, .menu-main >li>a:hover {
    background:  #5cb85c !important;
    border-bottom: 3px solid #5cb85c;
    color: #fff !important;
    text-shadow: none !important;
}

.navbar-right>li>a:hover:after, .menu-main >li>a:hover:after {
    color: #000 !important;
}

.dropdown-menu-icon:after {
    color:  #00985F;
    content: '\25be' !important;
    font-size: 20px;
    margin-left: 3px;
    line-height: 0px;
}

.menu-li-active {
    border-bottom: 3px solid #5cb85c;
}

.filter-sku-radio label{
    padding-right: 20px;	
}

/** ----------- FOOTER --------------*/

.btn-green {
    color: #fff !important;
    background-color: #5cb85c !important;
    border-color: #4cae4c !important;
}

.btn-blue {
    color: #fff !important;
    background-color: #337ab7 !important;
    border-color: #337ab7 !important;
}

.mc-footer {
    width: 100%;
    bottom: 0; /* stick to bottom */;
    height: 125px;
    margin: 0 auto;
    /*color: #ddd;*/
    font-size: 11px;
    font-family: arial_narrowregular, 'Arial Unicode MS', Helvetica, Sans-Serif;
    text-align: center;
    padding: 0;	
}
.footer-line {
    padding: 10px 0 5px;
    margin-bottom: 10px;
    border-bottom: 1px solid #a8a891;
    width: 100%;
}
.footericons {
    display: inline-block;
    position: relative;
    text-align: right;
    width: 220px;
}
.foologo {
    display: inline-block;
    position: relative;
    text-align: left;
}
.foologo a img {
    display: block;
}

.sub-menu-mobile {
    display:none;
}

.table-col-small-mobile {
    display: none;
}
.nav-sidebar a,.nav-sidebar a>h5,.nav-sidebar>span, .sub-menu-mobile,.sub-menu-mobile h5,.sub-menu-mobile span{
    font-family: 'Helvetica Neue', Helvetica, Arial, sans-serif;
    /*font-size: 17px;*/
}

.navbar-toggle {
    border-color: #999;
}
.navbar-toggle span{
    background-color: #999;
}

/* Promotion */
.table-promotion tr:hover td {
    text-decoration: underline;
    cursor: pointer;
}

#alert-apply,
#alert-sent,
#alert-noapply,
#alert-register {
    margin-bottom: 0;
}

.discount {
    display: none;
}

.discount p,
.discountBags {
    margin: 10px 0 0 0;
    color: #3c763d;
    font-weight: bold;
}

#next_asociado:hover {
    cursor: pointer;
}

#request-confirm ul.list-group {
    margin: 0;
}

.notification{
    background-color: red;
    width: 20px;
    border-radius: 50%;
    float: right;
    height: 20px;
    line-height: 20px;
    text-align: center;
}
.navbar-nav > li .notification{
    margin-top: 10px;
}  

@media (min-width: 1023px) {

    .main {
        margin-top: 15px;
    }

    .box-nav-sidebar {
        top: 60px;
    }

}



@media screen and (max-width: 1023px) { /* 768px */
    .wrapper {
        top: 40px;
        margin-top: 40px;
        padding-top: 0px;
        position: inherit; 
    }
    .mc-logo-img {
        position: absolute;
        top: 0px;
        /*		width: 100px;*/
    }
    .sub-menu-mobile {
        margin-bottom: 15px;
        display: block;
    }
    .sub-menu-web {
        display: none;
    }
    .sub-header {
        display: none;
    }
    .main {
        width: 100% !important;
        padding-left: 5px !important;
        padding-right: 5px !important;
    }
    .row {
        width: 100%;
        margin-right: 0px;
        margin-left:  0px;	
    }
    .row-panel {
        padding-left: 15px;
        padding-right: 15px;
    }
    .menu-main {
        margin-left: 0% !important;
    }
    .navbar-right>li {
        margin-left: 15px;
    }

    .community-header {
        width: 100% !important;
        margin-top: 45px !important;
    }

    .community-mccain {
        margin: 0 !important;
        line-height: 0px !important;
        width: 80%;
        text-align:center;
    }

    .community-mccain-box {
        display: inline-block;
    }

    .community-title {
        margin: 0 !important;
        width: 80% !important;
        text-align: center !important;
        line-height: 5px !important;
    }

    .community-points {
        margin: 0 !important;
        width: 20%;
        top: 15px;
        position: absolute;
        right: 10px;
    }

    .community-content {
        width: 100% !important;
    }

    .community-top-text {
        font-size: 20px;
    }
}

@media screen and (min-width: 769px) {
    .table-col-small-mobile {
        display: none !important;
    }
    
    .nav-tabs.nav-justified>.active>a,
    .nav-tabs.nav-justified>.active>a:focus,
    .nav-tabs.nav-justified>.active>a:hover {
		background-color:#ddd;
	}

}

@media screen and (min-width: 1023px) {
    .modal-large-responsive {
        width: 70%;
    }

    .navbar-nav>li>a {
        line-height: 40px !important;
    }
}

@media screen and (max-width: 768px) {
    .select-box {
        width: 100%;
        padding-right: 0px;
        margin-bottom: 5px;
    }
    .table-col-small-mobile {
        display: none !important;
    }
    .menu-main {
        margin-left: 0% !important;
    }
    .navbar-right>li {
        margin-left: 15px;
    }
    #delivery_datepicker {
        width: 100%;
    }
    .delivery-location-dropdown {
        width: 100%;
    }
    .nav-tabs.nav-justified>.active>a,
    .nav-tabs.nav-justified>.active>a:focus,
    .nav-tabs.nav-justified>.active>a:hover {
		background-color:#ddd;
	}
}

@media screen and (max-width: 700px) {
    .community-title {
        line-height: 55px !important;
    }

    .community-footer ul li {
        display: inline-block !important;
    }

    .community-footer ul li a{
        margin: 1px 1px !important;	
    }
}

@media screen and (max-width: 767px) {
    .table-order-items th {
        font-size: 0.9em !important;
    }
    .table-col-small-mobile {
        font-size: 0.8em !important;
    }
    .table-order-items tbody {
        font-size: 0.9em !important;
    }
    .table-col-normal {
        display: none !important;
    }
    .table-col-small-mobile {
        display: table-cell !important;
    }
    .refresh-button {
        margin-top: 5px;
    }

    .community-header {
        width: 100% !important;
        margin-top: 45px !important;
    }

    .community-mccain {
        margin: 0 !important;
        line-height: 5px !important;
        width: 100%;
        text-align:center;
        height: 85px;
    }

    .community-mccain-box {
        display: inline-block;
    }

    .community-title {
        margin: 0 !important;
        width: 100% !important;
        text-align: center !important;
        line-height: 55px !important;
    }

    .community-title p {
        font-size: 45px;
    }

    .community-points {
        text-align: center;
        float: left;
        margin: 0 !important;
        width: 100%;
        position: relative;
        right: 0;
        top: 0;
        padding: 15px 0px;
    }

    .points {
        padding-top: 30px !important;
        float: none !important;
        display: inline-block !important;
    } 
    .mc-logo-img {
        width: 250px;
        top: -13px;
    }
}

/* No greater than 1570px, no less than 1024px */
@media (max-width:1400px) and (min-width:1024px) {
    .mc-logo-img { 
        /*        width: 20%;*/
    }
    .modal-large-responsive {
        width: 90%;
    }
    .community-header {
        width: 100% !important;
        margin-top: 45px !important;
    }

    .community-mccain {
        margin: 0 !important;
        line-height: 5px !important;
        width: 80%;
        text-align:center;
    }

    .community-mccain-box {
        display: inline-block;
    }

    .community-title {
        margin: 0 !important;
        width: 80% !important;
        text-align: center !important;
        line-height: 5px !important;
    }

    .community-points {
        margin: 0 !important;
        width: 20%;
        top: 15px;
        position: absolute;
        right: 10px;
    }
}

nav .navbar-brand h1{
    margin-top: 23px;
    font-size: 1.1em;
    line-height: 1.1em;
    padding-left: 10px;
}

.navbar-header{
	padding-right: 37px;
    padding-left: 15px;
    padding-top: 15px;
}