/* This class is applied to the containing div <div class="navbar"> 
and is used to set the background color and height of the navbar */
.navbar
{
    background: #7758C1; /* #E1D2CB; */ 
    height: 40px; /* set same as height & line-height below */
}

/* This rule centers the navbar items verticaly in the bar with the height and line height properties. 
Spacing between the nav items is controlled by setting right and left padding.  */
.navbar li 
{
    display: inline-block;
    list-style: none;
    height: 40px;       /* should be the same as line-height */
    line-height: 40px;  /* should be the same as height */
    padding: 0 18px;    /* "0" sets top and bottom padding to none */
    position: relative;
}

/* :hover allows you change the background color of the nav items when you mouse over them. 
Play around with the transition value to change the speed of the hover transition. */
.navbar li:hover 
{
    color: white;
    background: #241b3a;  /* #75A0C9; */
    transition: background .2s;
    cursor: pointer;
}

/* This rule is applied to the link <a> tag. 
It lets you turn off the link underline and set the link text color. */
.nav-link 
{
    color: white;
    text-decoration: none;
    font-family: 'Roboto', sans-serif;
    font-size: 20px;
}

.sysmsg
{
    background-color: goldenrod;  
    height: auto;
    padding: 8px;
}

/* --------------------------------------------------------------------------------------------- */  
.login
{
    border: 1px solid #526A9B;
    border-radius: 8px;
    opacity: 0.7;
    background-color: aliceblue;
    box-shadow: azure;
    margin: auto;
    width: 300px;
    height: 200px;
    display: table;
    font-family: 'Roboto';
    box-shadow: 10px 10px 10px rgba(0,0,0,0.2);
}

.login-m
{
    border: 1px solid #526A9B;
    opacity: 0.7;
    border-radius: 12px;
    background-color: aliceblue;
    margin: 20 auto;
    padding-top: 40px;
    padding-bottom: 40px;
    display: table;
    font-family: 'Roboto', sans-serif;
    font-size: 48px;
    box-shadow: 16px 16px 20px rgba(0,0,0,0.2);
}

.login_intro
{
    text-align: justify; 
    font-family: 'Roboto', sans-serif;
    font-size: larger;
    color: #7758c1;
}

.login_intro-m
{
    text-align: justify; 
    font-family: 'Roboto', sans-serif;
    font-size: 36px;
    color: #7758c1;
}

.login_outro
{
    left: 10px; 
    font-family: 'Roboto', sans-serif; 
    font-size: larger;
    color: #606060;
    text-align: justify;
    border: 1px solid #526A9B; 
    border-radius: 16px; 
    padding: 10px; 
    margin-top: 20px;
}

.login_outro-m
{
    left: 10px; 
    font-family: 'Roboto', sans-serif; 
    text-align: justify;
    font-size: 36px;
    border: 1px solid #526A9B; 
    border-radius: 16px; 
    padding: 10px; 
    margin-top: 20px;
}

/* --------------------------------------------------------------------------------------------- */  

/* The Modal (background) */
.modal 
{
    display: none; /* Hidden by default */
    position: fixed; /* Stay in place */
    z-index: 1; /* Sit on top */
    padding-top: 100px; /* Location of the box */
    left: 0;
    top: 0;
    width: 100%; /* Full width */
    height: 100%; /* Full height */
    overflow: auto; /* Enable scroll if needed */
    background-color: rgb(0,0,0);           /* Fallback color */
    background-color: rgba(193, 211, 224, 0.7);      /* Black w/ opacity */
}

/* Modal Content */
.modal-content 
{
    position: relative;
    background-color: #fefefe;
    margin: auto;
    padding: 0;
    border: 1px solid #888;
    width: 80%;
    box-shadow: 0 4px 8px 0 rgba(0,0,0,0.2),0 6px 20px 0 rgba(0,0,0,0.19);
    -webkit-animation-name: animatetop;
    -webkit-animation-duration: 0.4s;
    animation-name: animatetop;
    animation-duration: 0.4s
}

/* Modal Content for editing action */
.modal-content-act
{
    position: relative;
    background-color: #F3E9E0;
    margin: auto;
    padding: 0;
    border: 1px solid #888;
    border-radius: 6px;
    width: 400px;
    height: 320px;
    box-shadow: 0 4px 8px 0 rgba(0,0,0,0.2),0 6px 20px 0 rgba(0,0,0,0.19);
    -webkit-animation-name: animatetop;
    -webkit-animation-duration: 0.4s;
    animation-name: animatetop;
    animation-duration: 0.4s
}

.modal-content-act-m
{
    position: relative;
    background-color: #F3E9E0;
    margin: auto;
    margin-top: -100px;
    padding: 0;
    border: 1px solid #888;
    border-radius: 12px;
    width: 500px;
    height: 420px;
    font-size: 20px;
    box-shadow: 0 4px 8px 0 rgba(0,0,0,0.2),0 6px 20px 0 rgba(0,0,0,0.19);
    -webkit-animation-name: animatetop;
    -webkit-animation-duration: 0.4s;
    animation-name: animatetop;
    animation-duration: 0.4s
}

/* Modal content for main goal */
.modal-content-mgoal
{
    position: relative;
    background-color: #F3E9E0;
    margin: auto;
    padding: 0;
    border: 1px solid #888;
    border-radius: 6px;
    width: 400px;
    height: 160px;
    box-shadow: 0 4px 8px 0 rgba(0,0,0,0.2),0 6px 20px 0 rgba(0,0,0,0.19);
    -webkit-animation-name: animatetop;
    -webkit-animation-duration: 0.4s;
    animation-name: animatetop;
    animation-duration: 0.4s
}

/* Modal Content for view/delete habit */
.modal-content-habit
{
    position: relative;
    background-color: #F3E9E0;
    margin: auto;
    padding: 0;
    border: 1px solid #888;
    border-radius: 6px;
    width: 500px;
    height: 420px;
    box-shadow: 0 4px 8px 0 rgba(0,0,0,0.2),0 6px 20px 0 rgba(0,0,0,0.19);
    -webkit-animation-name: animatetop;
    -webkit-animation-duration: 0.4s;
    animation-name: animatetop;
    animation-duration: 0.4s
}

.modal-content-habit-m
{
    position: relative;
    background-color: #F3E9E0;
    margin: auto;
    margin-top: -100px;
    padding: 0;
    border: 1px solid #888;
    border-radius: 12px;
    width: 510px;
    height: 420px;
    font-size: 20px;
    box-shadow: 0 4px 8px 0 rgba(0,0,0,0.2),0 6px 20px 0 rgba(0,0,0,0.19);
    -webkit-animation-name: animatetop;
    -webkit-animation-duration: 0.4s;
    animation-name: animatetop;
    animation-duration: 0.4s
}

/* Modal Content for adding new habit */
.modal-content-add-habit
{
    position: relative;
    background-color: #F3E9E0;
    margin: auto;
    padding: 0;
    border: 1px solid #888;
    border-radius: 6px;
    width: 300px;
    height: 270px;
    box-shadow: 0 4px 8px 0 rgba(0,0,0,0.2),0 6px 20px 0 rgba(0,0,0,0.19);
    -webkit-animation-name: animatetop;
    -webkit-animation-duration: 0.4s;
    animation-name: animatetop;
    animation-duration: 0.4s
}

.modal-content-add-habit-m
{
    position: relative;
    background-color: #F3E9E0;
    margin: auto;
    margin-top: -100px;
    padding: 0;
    border: 1px solid #888;
    border-radius: 12px;
    width: 500px;
    height: 380px;
    box-shadow: 0 4px 8px 0 rgba(0,0,0,0.2),0 6px 20px 0 rgba(0,0,0,0.19);
    -webkit-animation-name: animatetop;
    -webkit-animation-duration: 0.4s;
    animation-name: animatetop;
    animation-duration: 0.4s
}

/* Modal Content for adding new group */
.modal-content-add-group
{
    position: relative;
    background-color: #F3E9E0;
    margin: auto;
    padding: 0;
    border: 1px solid #888;
    border-radius: 6px;
    width: 300px;
    height: 420px;
    box-shadow: 0 4px 8px 0 rgba(0,0,0,0.2),0 6px 20px 0 rgba(0,0,0,0.19);
    -webkit-animation-name: animatetop;
    -webkit-animation-duration: 0.4s;
    animation-name: animatetop;
    animation-duration: 0.4s
}

/* Modal Content for adding new group - MOBILE */
.modal-content-add-group-m
{
    position: relative;
    background-color: #F3E9E0;
    margin: auto;
    padding: 0;
    border: 1px solid #888;
    border-radius: 16px;
    width: 72%;
    height: 1050px;
    font-size: 40px;
    box-shadow: 0 4px 8px 0 rgba(0,0,0,0.2),0 6px 20px 0 rgba(0,0,0,0.19);
    -webkit-animation-name: animatetop;
    -webkit-animation-duration: 0.4s;
    animation-name: animatetop;
    animation-duration: 0.4s
}

/* Modal Content for approving or rejecting request to join private group */
.modal-content-join-request
{
    position: relative;
    background-color: #FFFFFF;
    margin: auto;
    padding: 10;
    border: 1px solid #888;
    border-radius: 6px;
    width: 400px;
    height: 300px;
    box-shadow: 0 4px 8px 0 rgba(0,0,0,0.2),0 6px 20px 0 rgba(0,0,0,0.19);
    -webkit-animation-name: animatetop;
    -webkit-animation-duration: 0.4s;
    animation-name: animatetop;
    animation-duration: 0.4s
}

.modal-content-join-request-m
{
    position: relative;
    background-color: #FFFFFF;
    margin: auto;
    padding: 10;
    padding-left: 20px;
    border: 1px solid #888;
    border-radius: 16px;
    width: 75%;
    height: 520px;
    font-size: 36px;
    box-shadow: 0 4px 8px 0 rgba(0,0,0,0.2),0 6px 20px 0 rgba(0,0,0,0.19);
    -webkit-animation-name: animatetop;
    -webkit-animation-duration: 0.4s;
    animation-name: animatetop;
    animation-duration: 0.4s
}

/* Modal Content for displaying the feed of person user is following */
.modal-content-show-followed
{
    position: relative;
    background-color: #FFFFFF;
    margin: auto;
    padding: 10;
    border: 1px solid #888;
    border-radius: 6px;
    width: 500px;
    height: 520px;
    box-shadow: 0 4px 8px 0 rgba(0,0,0,0.2),0 6px 20px 0 rgba(0,0,0,0.19);
    -webkit-animation-name: animatetop;
    -webkit-animation-duration: 0.4s;
    animation-name: animatetop;
    animation-duration: 0.4s
}

.modal-content-show-followed-m
{
    position: relative;
    background-color: #FFFFFF;
    margin: auto;
    padding: 10;
    border: 1px solid #888;
    border-radius: 12px;
    width: 80%;
    height: 80%;
    font-size: 36px;
    box-shadow: 0 4px 8px 0 rgba(0,0,0,0.2),0 6px 20px 0 rgba(0,0,0,0.19);
    -webkit-animation-name: animatetop;
    -webkit-animation-duration: 0.4s;
    animation-name: animatetop;
    animation-duration: 0.4s
}

/* The Modal (background) */
.modal-menu 
{
    display: none; /* Hidden by default */
    position: fixed; /* Stay in place */
    z-index: 1; /* Sit on top */
    padding-top: 10px; /* Location of the box */
    left: 0;
    top: 0;
    width: 200px; /* Full width */
    height: 70px; /* Full height */
    overflow: auto; /* Enable scroll if needed */
    background-color: rgb(0,0,0);           /* Fallback color */
    background-color: rgba(193, 211, 224, 0.9);      /* Black w/ opacity */
    font-size: 16px;
    font-family: 'Roboto', sans-serif;
}

.modal-menu-m
{
    display: none; /* Hidden by default */
    position: fixed; /* Stay in place */
    z-index: 1; /* Sit on top */
    padding-top: 10px; /* Location of the box */
    left: 0;
    top: 0;
    width: 440px; /* Full width */
    height: 210px; /* Full height */
    overflow: auto; /* Enable scroll if needed */
    background-color: rgb(0,0,0);           /* Fallback color */
    background-color: rgba(193, 211, 224, 0.9);      /* Black w/ opacity */
    font-size: 48px;
    font-family: 'Roboto', sans-serif;
}

.img-act-ico
{
    position: relative; 
    left: 20px; 
    top: 10px;
}

/* --------------------------------------------------------------------------------------------- */
.header-img 
{
    display: block;
    margin: 0 auto;
}

.header-about 
{
	background-color: rgb(57, 76, 102);
    color: #fff;
	box-shadow: 0px 2px 4px rgba(0,0,0,0.2);
	padding: 20px;
}

.footer-about 
{
	background-color: rgb(57, 76, 102);
	color: #fff;
	/* padding: 10px; */
	text-align: center;
    /* font-size: larger; */
    font-family: 'Roboto', sans-serif;
}

.footer-about-m 
{
	background-color: rgb(57, 76, 102);
	color: #fff;
	padding: 10px;
	text-align: center;
    font-size: 24px; 
    font-family: 'Roboto', sans-serif;
}

.footer-canvas 
{
    position: fixed;
    bottom: 0;
	background-color: rgb(57, 76, 102);
	color: #fff;
    width: 100%;
	padding: 6px;
	text-align: center;
    font-size: 12pt; 
    font-family: 'Roboto', sans-serif;
}

.container-about 
{
	margin: 0 auto;
    width: 96%;
	max-width: 1000px;
	padding: 20px;
	background-color: #fff;
	box-shadow: 0px 2px 4px rgba(0,0,0,0.2);
}

.description-about 
{
	margin-bottom: 20px;
}

.footer-cookies 
{
	background-color: rgb(147, 167, 194);
	color: #fff;
	padding: 10px;
	text-align: center;
    font-size: 14px; 
    font-family: 'Roboto', sans-serif;
}

/* ------------------------------------------------------------------------------------------------
/* The side navigation menu */
.sidenav 
{
    height: 100%;                   /* 100% Full-height */
    width: 0;                       /* 0 width - change this with JavaScript */
    position: fixed;                /* Stay in place */
    z-index: 1;                     /* Stay on top */
    top: 30px;                      /* Stay at the top */
    /* left: 0; */
    right: 0px;
    background-color: #7758c1;    /* #526A9B; */
    overflow-x: hidden;             /* Disable horizontal scroll */
    padding-top: 60px;              /* Place content 60px from the top */
    transition: 0.5s;               /* 0.5 second transition effect to slide in the sidenav */
}

/* Position and style the close button (top right corner) */
.sidenav .closebtn 
{
    position: absolute;
    top: 0;
    right: 25px;
    font-size: 24px;
    margin-left: 40px;
}

/* The navigation menu links */
.sidenav a 
{
    padding: 8px 8px 8px 32px;
    text-decoration: none;
    font-size: 22px;
    font-family: 'Roboto', sans-serif;
    color: white;     /* #8BBFD3; */
    display: block;
    transition: 0.3s;
}
  
/* When you mouse over the navigation links, change their color */
.sidenav a:hover 
{
    color: #EBA054; /* #F3E9E0; */
}

/* Style page content - use this if you want to push the page content to the right when you open the side navigation */

#main 
{
    transition: margin-left .5s;
    padding: 20px;
}


/* On smaller screens, where height is less than 450px, change the style of the sidenav 
   (less padding and a smaller font size) */
@media screen and (max-height: 450px) 
{
    .sidenav {padding-top: 15px;}
    .sidenav a {font-size: 18px;}
}

/* -------------------------------------------------------------- */


/* ------------------------------------ page flex layout --------------------------------------- */
.body
{
    display: flex;
    min-height: 100vh;
    /* max-width: 1000px; */
    flex-direction: column;
    margin-top: 0px;
    margin-bottom: 0px; 
    background-color: rgba(240, 239, 244, 0.8);
    background-blend-mode: lighten;
    background-image: url("/images/curves1.png");
	background-repeat: repeat;
	background-size: auto;
}

.body-canvas
{
    display: flex;
    min-height: 520px;
    /* max-width: 940px; */
    flex-direction: column;
    margin-top: 0px;
    margin-bottom: 0px;
    background-color: rgba(240, 239, 244, 0.9);
    background-blend-mode: lighten;
    background-image: url("/images/curves1.png");
	background-repeat: repeat;
	background-size: auto;
}

.main-flex
{
    flex: 1;
}

.footer
{
    background-color: #F3F3FE;
    height: 20px;
    text-align: left;
}

.footer_msg
{
    opacity: 1;
    transition: opacity 2s;
}

.fade-out 
{
    opacity: 0;
}

.body-canvas-buddy
{
    display: flex;
    flex-direction: column;
    min-height: 440px;
    width: 920px;
    /* max-width: 840px; */
    margin: 0 auto;

    background-color: rgba(240, 239, 244, 0.9);
    /* background-blend-mode: lighten;
    background-image: url("/images/curves1.png");
	background-repeat: repeat;
	background-size: auto; */
}

/* --------------------------------------------------------------------------------------------- */
/*                                          GROUPS                                               */
/* --------------------------------------------------------------------------------------------- */
.container-groups 
{
	margin: 0 auto;
	max-width: 800px;
	padding: 20px;
	background-color: #fff;
	box-shadow: 0px 2px 4px rgba(0,0,0,0.2);
}

.group_chat
{
    position: relative;
    left: 20px;
    top: 0px;
    width: 500px;
    height: 538px;
    font-family: system-ui;
    background-color: #F3F3FE;
    overflow-y: auto;
    scroll-behavior: smooth;
}

.group_chat_m
{
    position: relative;
    /* left: 20px; */
    top: 0px;
    width: 100%;
    height: 815px;
    line-height: 38px;
    /* font-size: 36px !important; */
    background-color: #F3F3FE;
    overflow-y: auto;
    scroll-behavior: smooth;
}

.group_member
{
    position: relative;
    top: 10px;
    width: 200px;
    height: auto;  /* 160px; */
    padding-bottom: 10px;
    /* border: 1px solid #75A0C9; */
    background-color: white;
    /* overflow-y: auto; */
}

.group_member_m
{
    position: relative;
    top: 10px;
    width: 370px;
    height: auto;  /* 160px; */
    padding-bottom: 10px;
    font-size: 32px;
    /* border: 1px solid #75A0C9; */
    background-color: white;
    /* overflow-y: auto; */
}

.group_member_habits
{
    position: relative;
    top: 10px;
    width: 200px;
    height: auto; /* 160px; */
    padding-bottom: 10px;
    /* border: 1px solid #75A0C9; */
    background-color: white;
    /* overflow-y: auto; */
    font-size: small;
}

.group_member_habits_m
{
    position: relative;
    top: 10px;
    width: 220px;
    height: auto; /* 160px; */
    padding: 0px 10px;
    /* border: 1px solid #75A0C9; */
    background-color: white;
    /* overflow-y: auto; */
    font-size: 32px;
}

.group_member_photo
{
    position: relative;
    top: 10px;
    width: 200px;
    height: 160px;
    /* border: 1px solid #75A0C9; */
    background-color: white;
    /* overflow-y: auto; */
    font-size: small;
}

.group_member_photo
{
    position: relative;
    top: 10px;
    width: 200px;
    height: 160px;
    /* border: 1px solid #75A0C9; */
    background-color: white;
    /* overflow-y: auto; */
    font-size: small;
}

.group_member_photo_m
{
    position: relative;
    top: 10px;
    /* width: 200px; */
    /* height: 160px; */
    /* border: 1px solid #75A0C9; */
    background-color: white;
    /* overflow-y: auto; */
    font-size: small;
}

.container_gchat
{
    display: flex;
    /* line-height: 50px; */
    /* font-size: 36px; */
}

.container_gchat-m
{
    display: flex;
    line-height: 50px;
    font-size: 36px;
}

.gchat_name
{
    /* flex: 1; */
    color: darkblue;
}

.gchat_date_time
{
    flex: 1;
    padding-left: 8px;
    color: gray;
}

/* --------------------------------------------------------------------------------------------- */
/*                                          PEOPLE                                               */
/* --------------------------------------------------------------------------------------------- */
.scroller-follow
{
    display: flex;
    overflow-x: auto;
    white-space: nowrap;
    background: #ffffff;
    border: 1px solid #75A0C9;
    border-radius: 6px;
    /* width: 780px; */
    height: 200px;
}

.scroller-follow-m
{
    display: flex;
    overflow-x: auto;
    /* white-space: nowrap; */
    background: #ffffff;
    border: 1px solid #75A0C9;
    border-radius: 12px;
    /* width: 780px; */
    height: 330px;
    font-size: 36px;
}

.item-follow
{
    display: inline-block;
    width: 150px;
    height: 170px;
    flex-shrink: 0;
    margin-right: 10px;
    text-align: center;
    background-color: rgb(222, 222, 240);
    border-radius: 6px;
}

.item-follow-m
{
    display: inline-block;
    width: 250px;
    height: 300px;
    flex-shrink: 0;
    margin-right: 10px;
    text-align: center;
    background-color: rgb(222, 222, 240);
    border-radius: 12px;
}

.person_info
{
    position: relative;
    top: 20px;
    left: 50px;
    width: 200px;
    height: 200px;
    background-color: white;
    /* border: 1px solid #75A0C9; */
}

.person_info_m
{
    position: relative;
    top: 20px;
    /* left: 50px; */
    width: 35%;
    height: 95%; 
    font-size: 36px;
    background-color: white;
    /* border: 1px solid #75A0C9; */
}

.person_habits
{
    position: relative;
    top: 20px;
    left: 70px;
    width: 200px;
    max-width: 200px;
    height: 240px;
    background-color: white;
    font-size: small;
    /* border: 1px solid #75A0C9; */
    /* overflow-y: auto; */
}

.person_habits_m
{
    position: relative;
    top: 20px;
    left: 20px; 
    width: 35%; 
    /* max-width: 240px; */
    height: 260px; 
    background-color: white;
    font-size: 36px;
    /* border: 1px solid #75A0C9; */
    /* overflow-y: auto; */
}

.person_photo
{
    position: relative;
    top: 20px;
    left: 70px;
    /* width: 200px; */
    height: 240px;
    padding-left: 10px;
    background-color: white;
    font-size: small;
    /* border: 1px solid #75A0C9; */
    /* overflow-y: auto; */
}

.container-horiz
{
    display: flex;
    /* justify-content: space-between; */
    border: 1px solid #75A0C9;
    border-radius: 6px;
    /* width: 780px; */
    /* height: 300px; */
    padding: 10px;
    margin-bottom: 15px;
}

.container-horiz-m
{
    display: flex;
    /* justify-content: space-between; */
    border: 1px solid #75A0C9;
    border-radius: 12px;
    /* width: 780px; */
    /* height: 300px; */
    padding: 10px;
    font-size: 38px;
}

.container-vert
{
    display: flex;
    flex-direction: column;
    background: white;
    width: 40%;
    min-width: 250px;
    height: 538px;
    /* border: 1px solid #75A0C9; */
}

.profile_feed_main
{
    background: #ffffff;
    border: 1px solid #75A0C9;
    border-radius: 6px;
    display: none;
    /* padding-bottom: 10px; */
    padding-top: 6px;
    margin: 0 auto;
}

.profile_feed_main-m
{
    background: #ffffff;
    border: 1px solid #75A0C9;
    border-radius: 12px;
    width: 90%;
    display: none;
    /* padding-bottom: 10px; */
    padding-top: 6px;
    margin: 0 auto;
}

.profile_feed
{
    position: relative;
    /* left: 10px; */
    /* top: 10px; */
    width: 500px;
    max-width: 600px;
    height: 500px;
    background-color: #F3F3FE;
    overflow-y: auto;
    scroll-behavior: smooth;
    word-wrap: break-word;
}

.profile_feed-m
{
    position: relative;
    width: auto;
    max-width: unset;
    height: 500px;
    line-height: 50px;
    font-size: 36px;
    background-color: #F3F3FE;
    overflow-y: auto;
    scroll-behavior: smooth;
    word-wrap: break-word;
}

.followed_feed
{
    position: relative;
    left: 10px;
    top: 10px;
    width: 480px;
    height: 405px;
    background-color: #F3F3FE;
    overflow-y: auto;
    scroll-behavior: smooth;
    word-wrap: break-word;
}

.followed_feed_m
{
    position: relative;
    left: 10px;
    top: 10px;
    width: 97%; 
    height: 80%; 
    background-color: #F3F3FE;
    overflow-y: auto;
    scroll-behavior: smooth;
    word-wrap: break-word;
}

.container-people 
{
	margin: 0 auto;
	max-width: 700px;
	padding: 20px;
    border-radius: 6px;
	background-color: #fff;
	box-shadow: 0px 2px 4px rgba(0,0,0,0.2);
}

.container-people-m
{
	margin: 0 auto;
	/* max-width: 800px; */
	padding: 20px;
	background-color: #fff;
	box-shadow: 0px 2px 4px rgba(0,0,0,0.2);
}

.user_messages
{
    position: relative;
    left: 10px;
    top: 2px;
    width: 500px;
    /* max-width: 400px; */
    height: 520px;
    background-color: #F3F3FE;
    overflow-y: auto;
    scroll-behavior: smooth;
    word-wrap: break-word;
}

.user_messages_m
{
    position: relative;
    left: 10px; 
    top: 0px;
    /* width: 500px; */
    /* max-width: 400px; */
    height: 1130px; 
    background-color: #F3F3FE;
    overflow-y: auto;
    scroll-behavior: smooth;
    word-wrap: break-word;
}

/* --------------------------------------------------------------------------------------------- */
/*                                           BUDDY                                               */
/* --------------------------------------------------------------------------------------------- */
.buddy_chat
{
    position: relative;
    left: 20px;
    top: 0px;
    width: 500px;
    height: 400px; 
    background-color: #F3F3FE;
    overflow-y: auto;
    scroll-behavior: smooth;
}

.person_info_bud
{
    position: relative;
    top: 30px;
    left: 40px; 
    width: 200px; 
    /* height: 200px; */
    max-height: 200px;
    background-color: white;
    /* border: 1px solid #75A0C9; */
}

.person_info_bud_v
{
    position: relative;
    top: 40px;
    left: 50px;
    width: 200px;
    max-width: 90%;
    /* height: 200px; */
    background-color: white;
    /* border: 1px solid #75A0C9; */
}

.person_habits_bud
{
    position: relative;
    top: 30px;
    left: 30px; 
    /* width: 200px; */
    max-width: 150px;
    /* height: 270px;  */
    max-height: 250px;
    background-color: white;
    font-size: small;
    /* border: 1px solid #75A0C9; */
    /* overflow-y: auto; */
}

.person_habits_bud_v
{
    position: relative;
    top: 60px;
    left: 50px;
    width: 200px;
    max-width: 90%;
    /* height: 270px;  */
    background-color: white;
    font-size: small;
    /* border: 1px solid #75A0C9; */
    /* overflow-y: auto; */
}

.person_photo_bud
{
    position: relative;
    top: 30px;
    left: 40px; 
    width: 200px; 
    /* height: 270px; */
    max-height: 200px;
    padding-left: 10px;
    background-color: white;
    font-size: small;
    /* border: 1px solid #75A0C9; */
    /* overflow-y: auto; */
}

.person_photo_bud_v
{
    position: relative;
    top: 30px;
    left: 40px; 
    width: 200px; 
    /* height: 270px; */
    max-height: 200px;
    padding-left: 10px;
    background-color: white;
    font-size: small;
    /* border: 1px solid #75A0C9; */
    /* overflow-y: auto; */
}

/* --------------------------------------------------------------------------------------------- */
/*                                           AI                                                  */
/* --------------------------------------------------------------------------------------------- */
.ai_chat
{
    /* position: relative;
    left: 20px;
    top: 0px; 
    width: 500px;     */
    height: 538px;
    font-family: system-ui;
    background-color: #F3F3FE;
    overflow-y: auto;
    scroll-behavior: smooth;
}

.ai_chat_m
{
    position: relative;
    /* left: 20px; */
    top: 0px;
    width: 100%;
    height: 1000px;
    line-height: 38px;
    font-size: 36px !important; 
    background-color: #F3F3FE;
    overflow-y: auto;
    scroll-behavior: smooth;
}

/* -------------------------------------------- buttons -------------------------------------------------- */
.button-reset-pwd
{
    background-color: #526A9B; /* #4CAF50;  Green */
    border: none;
    color: white;
    padding: 4px 12px; 
    border-radius: 4px;
    text-align: center;
    text-decoration: none;
    transition-duration: 0.2s;
    display: inline-block;
    font-size: 14px;
}

.button-reset-pwd-m
{
    background-color: #526A9B; /* #4CAF50;  Green */
    border: none;
    color: white;
    padding: 8px 20px; 
    border-radius: 10px;
    margin: 20px;
    text-align: center;
    text-decoration: none;
    transition-duration: 0.2s;
    display: inline-block;
    font-size: 40px;
}

.button-reset-pwd:hover 
{
    background-color: #8BBFD3;
    color: black; 
}

.button-normal
{
    background-color: #F3E9E0;  
    border: none;
    color: black;
    padding: 4px 12px; 
    border-radius: 4px;
    text-align: center;
    text-decoration: none;
    transition-duration: 0.2s;
    display: inline-block;
    font-size: 14px;
}

.button-normal:hover 
{
    background-color: #E1D2CB;
    color: black; 
}

.button-blue
{
    background-color: #C1D3E0; 
    border: none;
    color: black;
    padding: 4px 12px; 
    border-radius: 4px;
    text-align: center;
    text-decoration: none;
    transition-duration: 0.2s;
    display: inline-block;
    font-size: 14px;
}

.button-blue-m
{
    background-color: #C1D3E0;
    border: none;
    color: black;
    border-radius: 10px;
    padding: 8px 20px;
    margin: 20px;
    text-align: center;
    text-decoration: none;
    transition-duration: 0.2s;
    display: inline-block;
    font-size: 40px;
    box-shadow: 10px 10px 16px rgba(0,0,0,0.2);
}

.button-blue:hover 
{
    background-color: #526A9B;
    color: white; 
}
/* ------------------- */
.button-negative
{
    background-color: #F3E0F3; 
    border: none;
    color: black;
    padding: 4px 12px; 
    border-radius: 4px;
    text-align: center;
    text-decoration: none;
    transition-duration: 0.2s;
    display: inline-block;
    font-size: 14px;
}

.button-negative-m
{
    background-color: #F3E0F3; 
    border: none;
    color: black;
    padding: 8px 20px; 
    margin: 20px;
    border-radius: 10px;
    text-align: center;
    text-decoration: none;
    transition-duration: 0.2s;
    display: inline-block;
    font-size: 40px;
    box-shadow: 10px 10px 16px rgba(0,0,0,0.2);
}

.button-negative:hover 
{
    background-color: #cb7fce;
    color: white; 
}

.custom-file-up
{
    display: inline-block;
    padding: 4px 16px;
    background-color: #75A0C9; 
    color: #FFF;
    border-radius: 4px;
    cursor: pointer;
}

.custom-file-up-m
{
    display: inline-block;
    padding: 12px 20px;
    background-color: #75A0C9; 
    color: #FFF;
    border-radius: 4px;
    cursor: pointer;
    font-size: 40px;
}

.custom-file-up:hover
{
    background-color: #526A9B;
}

.custom-file-up-m:hover
{
    background-color: #526A9B;
}

/* ---------------------------------------- inputs --------------------------------------------- */
.input-gray
{
    border: none;
    border-bottom: 1px solid blue;
    background-color: white;
    padding: 2px 6px;
    border-radius: 2px;
}

.input-gray-m
{
    border: none;
    border-bottom: 2px solid blue;
    background-color: white;
    padding: 8px 16px;
    border-radius: 8px;
    font-size: 48px;
}

.input-gray:hover
{
    border: none;
    border-bottom: 1px solid blue;
    background-color:#E0E0F0;
}

.input-gray:focus
{
    border: none;
    border-bottom: 1px solid blue;
    background-color:#E0E0F0;
    outline: none;
}

/* --------------------------------------------------------------------------------------------- */
/*                                    custom modal alert                                         */
/* --------------------------------------------------------------------------------------------- */
.modal-alert 
{
    display: none;
    position: fixed;
    z-index: 1;
    left: 0;
    top: 0;
    width: 100%;
    height: 100%;
    overflow: auto;
    background-color: rgba(0,0,0,0.4);
}

.modal-content-alert 
{
    background-color: #e0daee;
    margin: 10% auto;
    padding: 20px;
    border: 1px solid #888;
    border-radius: 6px;
    width: 60%;
}

.modal-content-habit-hint
{
    position: absolute;
    left: 60px;
    top: 75px;
    background-color: #cbeede;
    /* margin: 10% auto; */
    padding: 10px;
    border: 1px solid #888;
    border-radius: 6px;
    width: 350px;
    font-family: 'Roboto', sans-serif;
}

.modal-content-habit-hint-m
{
    position: absolute;
    left: 75px;
    top: 90px;
    background-color: #cbeede;
    /* margin: 10% auto; */
    padding: 10px;
    border: 1px solid #888;
    border-radius: 12px;
    width: 500px;
    font-family: 'Roboto', sans-serif;
    font-size: 24px;
}

.modal-content-goal-hint
{
    position: absolute;
    left: 90px;
    top: 32px;
    background-color: #cbeede;
    /* margin: 10% auto; */
    padding: 10px;
    border: 1px solid #888;
    border-radius: 6px;
    width: 300px;
    font-family: 'Roboto', sans-serif;
}

.modal-content-goal-hint-m
{
    position: absolute;
    left: 130px;
    top: 37px;
    background-color: #cbeede;
    /* margin: 10% auto; */
    padding: 10px;
    border: 1px solid #888;
    border-radius: 12px;
    width: 400px;
    font-family: 'Roboto', sans-serif;
    font-size: 24px;
}

.close-alert 
{
    color: #808080;
    float: right;
    font-size: 28px;
    font-weight: bold;
}
  
.close-alert:hover,
.close-alert:focus 
{
    color: black;
    text-decoration: none;
    cursor: pointer;
}


/* --------------------------------------------------------------------------------------------- */
.img-notice:hover
{
    animation: shake 1.0s;
    animation-iteration-count: infinite;
}

@keyframes shake 
{
    0%   { transform: translate(1px, 1px) rotate(0deg); }
    10%  { transform: translate(-1px, -2px) rotate(-1deg); }
    20%  { transform: translate(-2px, 0px) rotate(1deg); }
    30%  { transform: translate(2px, 2px) rotate(0deg); }
    40%  { transform: translate(1px, -1px) rotate(1deg); }
    50%  { transform: translate(-1px, 2px) rotate(-1deg); }
    60%  { transform: translate(-2px, 1px) rotate(0deg); }
    70%  { transform: translate(2px, 1px) rotate(-1deg); }
    80%  { transform: translate(-1px, -1px) rotate(1deg); }
    90%  { transform: translate(1px, 2px) rotate(0deg); }
    100% { transform: translate(1px, -2px) rotate(-1deg); }
}