/*
 * Copyright (c) 2013 MyNetDiary, Inc.
 *
 * This document and the product to which it pertains are distributed under licenses restricting their use, copying, distribution, and decompilation.
 * This document may not be changed without prior written authorization of MyNetDiary and its licensors, if any.
 */


.pageContainer {
    margin: 20px auto;
    width: 1170px;
}

/*@media (max-width: 1300px) {*/
/*    .communityInfoColumn {*/
/*        display: none;*/
/*    }*/
/*    .communityPage {*/
/*        padding-left: 10px !important;*/
/*        padding-right: 10px !important;*/
/*    }*/
/*}*/

.communityPage {
    width: 1300px !important;
}

.commentBubble {
    position: relative;
    border-radius: .4em;
    margin-left: 17px;
    padding: 15px;
    maxWidth: 100%;
}
.outcomeCommentBubble {
    background: #ECFCE5;
}
.outcomeCommentBubble:after {
    content: '';
    position: absolute;
    left: 100%;
    bottom: 15px;
    width: 0;
    height: 0;
    border: 20px solid transparent;
    border-left-color: #ECFCE5;
    border-right: 0;
    border-bottom: 0;
    margin-top: -10px;
    margin-left: -5px;
}
.incomeCommentBubble {
    background: #F2F3F4;
}
.incomeCommentBubble:after {
    content: '';
    position: absolute;
    left: 0;
    bottom: 15px;
    width: 0;
    height: 0;
    border: 20px solid transparent;
    border-right-color: #F2F3F4;
    border-left: 0;
    border-bottom: 0;
    margin-top: -10px;
    margin-left: -15px;
}

.fadedEnd {
    position: relative;
}

.fadedEnd:after {
    content: "";
    position: absolute;
    z-index: 1;
    bottom: 0;
    right: 0px;
    pointer-events: none;
    background-image: linear-gradient(to right, rgba(255,255,255,0), rgba(255,255,255, 1) 60%);
    width: 40px;
    height: 100%;
}

.clearfix::after {
    content: " ";
    display: block;
    height: 0;
    clear: both;
}

/*
 * Copyright (c) 2013 MyNetDiary, Inc.
 *
 * This document and the product to which it pertains are distributed under licenses restricting their use, copying, distribution, and decompilation.
 * This document may not be changed without prior written authorization of MyNetDiary and its licensors, if any.
 */

.comment {
    clear: both;
}
b, strong {
    color: inherit;
}

/*hide autofill icon for Safari*/
input::-webkit-contacts-auto-fill-button {
    visibility: hidden;
    display: none !important;
    pointer-events: none;
    position: absolute;
    right: 0;
}

.promocode_msg {
    font-size: 1.5rem;
    color: darkgray;
    white-space: nowrap;
}

/* hiode number input arrows */
input[type=number]::-webkit-inner-spin-button,
input[type=number]::-webkit-outer-spin-button {
    -webkit-appearance: none;
    margin: 0;
}

@media screen and (-ms-high-contrast: active), (-ms-high-contrast: none) {
    b, strong {
        color: inherit;
    }
}

/*hide bootstrap style*/
h2 {
    color: initial;
}
.nav-tabs-dk.nav-justified > .active > a, .nav-tabs-dk.nav-justified > .active > a:focus, .nav-tabs-dk.nav-justified > .active > a:hover {
    border-color: rgb(240, 240, 240);
}

.nav-tabs-dk>li.active>a, .nav-tabs-dk>li.active>a:focus, .nav-tabs-dk>li.active>a:hover {
    background-color: rgb(240, 240, 240);
    border-bottom-color: rgb(240, 240, 240);
}

body, html {
    line-height: 1.42857143;
    font-family: Roboto, sans-serif;
}

.reactPageBG {
    background: rgb(240, 240, 240) !important;
}
/*end: hide bootstrap style*/


a {
    color: #5baecd
}

.mealFoodEntry {
    transition-property: font-size, background;
    transition-duration: 0.5s, 0.25s;
}

.mealFoodEntry:hover {
    background-color: rgba(0,0,0,0.1);
    cursor: pointer;
}

.tentativeAvatar{
    cursor: pointer;
    width: 30px;
    height: 30px;
    background-color: rgb(239,239,239);
}

.tentativeAvatarSelected {
    cursor: pointer;
    width: 30px;
    height: 30px;
    background-color: white;
    color: black;
}

.tentativeAvatarSelected:hover {
    background-color: rgb(249,249,249);
}

.tentativeAvatar:hover {
    background-color: rgb(225,225,225);
}

.tentativeAvatar:active {
    background-color: rgb(210,210,210);
}

.tentative:hover {
    font-weight: bolder;
}

.mealsNutrTitle:hover {
    font-weight: bolder;
}

.borderedMealsNutr {
    border-left: 1px solid lightgray;
    padding-left: 5px;
}

::-ms-clear {
    width : 0;
    height: 0;
}

.logo_react {
    margin: 12px -3px 9px 0;
    width: 225px;
    height: 56px;
    display: inline-block;
    background-image: url("//s3.amazonaws.com/img.mynetdiary.com/logo_react.png");
    background-size: contain;
}

.logo_react_mobile {
    margin: 12px -3px 9px 0;
    width: 450px;
    height: 112px;
    display: inline-block;
    background: url(//s3.amazonaws.com/img.mynetdiary.com/images/logo-main.svg) 50% 50% no-repeat;
}

.footer_react_bg {
    width: 526px;
    height: 332px;
    display: inline-block;
    background-image: url("//s3.amazonaws.com/img.mynetdiary.com/footer.png");
    background-size: contain;
}

@media (-webkit-min-device-pixel-ratio: 2), (min-resolution: 192dpi), (device-pixel-ratio: 2), (-moz-device-pixel-ratio: 2) {
    .logo_react {
        background-image: url("//s3.amazonaws.com/img.mynetdiary.com/logo_react@2x.png");
    }
    .footer_react_bg {
        background-image: url("//s3.amazonaws.com/img.mynetdiary.com/footer@2x.png");
    }
}

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

.appContainer {
    height:100%;
}
.reactLayoutContainer {
    min-height:100%;
    position:relative;
}

/* because of materialui issue - it's not possible to style html input, workaround applied */

.allignInputTextRight input {
    text-align: right;
}

img.mobile_screenshot {
    text-align: center;
    display: block ;
    margin-left: auto;
    border-radius: 6px;
    margin-right: auto;
    /*tag_screenshot_mobile*/
    width:21em;
}

.help-screenshot-mobile {
    display: block;
    /*tag_screenshot_mobile*/
    max-width: 21em;
    margin: 2em auto;
}

.shadow {
    max-width: 100%;
    border-radius: 6px;
    border: 1px solid #d3d3d3;
    box-shadow: #d3d3d3 1px 3px 7px;
}

/*
 * Copyright (c) 2013 MyNetDiary, Inc.
 *
 * This document and the product to which it pertains are distributed under licenses restricting their use, copying, distribution, and decompilation.
 * This document may not be changed without prior written authorization of MyNetDiary and its licensors, if any.
 */


/*
 Bootstrap styles were used when react have been added to MyNetDiary. This file contains styles which should be used after bootstrap removal to fix look&feel issues.

 */

* {
    -webkit-box-sizing: border-box;
    -moz-box-sizing: border-box;
    box-sizing: border-box;
}

body {
    font-size: 14px;
}
table {
    border-spacing: 0;
}
td {
    padding: 0;
}
/* weekly analysis end*/
