body {
	font: 100%/1.2  Arial, Verdana, Helvetica, sans-serif;
	font-size: 15px;
	background: #2F4F2F;
	background-image:url('fallbg1.png');
background-attachment: fixed;
	background-size: 100%;
	margin: 0;
	padding: 10px;
	width: calc(100vw - 20px);
	height: calc(100% - 20px);
	color: #000;
	text-decoration:none;
	overflow-x: hidden;
}
div.diarybg {
    position: relative;
    left: 0px;
    top: 0px;
    background-size: contain;
    background-repeat: no-repeat;
    height: 700px;
    background-image:url("/picuploads/diary/diarypage/Diarybaseoutlineotherr.png");
}
div.recipebookbg {
     position: relative;
    left: 0px;
    top: 0px;
    background-size: contain;
    background-repeat: no-repeat;
    height: 700px;
    background-image:url("/picuploads/diary/recipebook1.png");
}

class#mood {
    position: relative;
    left: 0px;
    top: -22px;
}
class#health {
    position: relative;
    left: 0px;
    top: -22px;
}

.pell-content {
    background-color: white;
    height: 100%;
    width:100%;
}

ul, ol, dl { 
	padding: 0;
	margin: 0;
}
h1, h2, h3, h4, h5, h6 {
	margin-top: 0;	
	padding-right: 15px;
	padding-left: 15px; 
}
a img {
	border: none;
}

a {
	color: #000;
	text-decoration: underline; 
}
a:link {
	color: #000;
	text-decoration: underline; 
}
a:visited {
	color:  #000;
	text-decoration: underline;
}
a:hover, a:active, a:focus {
	text-decoration: none;
}


a.footer:link {
	color:#000000;
	text-decoration:none; 
}
a.footer:visited {
	color: #000000;
	text-decoration: underline;
}
a.footer:hover, a.footer:active, a.footer:focus {
	text-decoration: none;
	color: #000000;
}

a.links:link {
	color:#000000;
	text-decoration: none; 
}
a.links:visited {
	color:#000000;
	text-decoration: none;
}
a.links:hover, a.links:active, a.links:focus {
	color:#000000;
	text-decoration: none;
}

.container {
	width: 92%;
	max-width: 1260px;
	min-width: 940px;
	margin: 0 auto; 
	overflow: hidden; 

}

.sidebar {
	float: left;
	width: 20%;
	max-width: 218px;
	background: #3CB371;
	
	font: 100%/1.2  Eurostile, Arial, Verdana, Helvetica, sans-serif;
	font-size: 20px;
	color: #000000;
	
	display: flex;
	flex-flow: column;
	justify-content: flex-start;
	align-items: center;
	text-align: center;
	padding-bottom: .5em;
}

.sidebar a:link {
    color: #2F4F4F;
    font-size: 1rem;
    text-decoration: none;
}
.sidebar a:visited {
    color: #2F4F4F;
    font-size: 1rem;
    text-decoration: none;
}

.login {
    display: flex;
    flex-flow: column;
    justify-content: center;
    align-items: center;
    text-align: center;
}

.login label {
    display: flex;
    flex-flow: row wrap;
    text-align: left;
    padding: 0 10px;
    margin: 5px auto;
    font-size: 1.1rem;
}

.login input {
    width: 100%;
    color: #333;
    border: 2px solid #E8F0FE;
    background: #fff;
    padding: 10px 5px;
    border-radius: 4px;
}

.login button {
    margin-left: auto;
    margin-right: auto;
    background: #fff;
    color: #333;
    border: none;
    padding: 5px 8px;
    
}

.speechbubble {
	color: #000;
}


.content {
	padding:0;
	width: 80%;
	float: left;
}

.topright {
	padding: 10px 10px;
	margin-bottom: 25px;
	width: 96%;
	
	background:#3CB371;
	border-bottom-left-radius:5px;
	border-bottom-right-radius:5px;
}

.midright {
	padding: 10px 10px;
	width: 100%;
	background:#efefef;
	
	border-top-left-radius:5px;
	border-top-right-radius:5px;
	border-bottom-left-radius:5px;
	border-bottom-right-radius:5px;
	color: #000;
}

.bottomright {
	padding: 10px 10px;
	width: 96%;
	min-height:100px;
	margin-top:25px;
	background:#3CB371;
    border-radius: 5px;
	color:#000000;
	font: 100%/1.2 Eurostile;
	font-size: 20px;
	margin-bottom: 45px;
}

.bottomright a:link{
	color:#000000;
	text-decoration: none;
}
.bottomright a:visited{
	color:#000000;
	text-decoration: none;
}

.content ul, .content ol { 
	padding: 0 15px 15px 40px; 
}

.fltrt { 
	float: right;
	margin-left: 8px;
}
.fltlft { 
	float: left;
	margin-right: 8px;
}
.clearfloat { 
	clear:both;
	height:0;
	font-size: 1px;
	line-height: 0px;
}

#avatarpic {
	background-color:#66CDAA;
	border-top-right-radius:5px;
    border-bottom-right-radius:5px;
    border-top-left-radius:5px;
    border-bottom-left-radius:5px;
    border: 1px solid #000000;
    margin: 10px;
    padding: 10px 0;
    width: 100%;
}

#avatarBox {
	position: relative;
}
#avatar_image {
    width: inherit;
    display: flex;
    object-fit: cover;
    padding: 0;
}
.avatar_info_line {
    justify-content: space-between;
    align-items: center;
    width: calc(60% - 30px); 
    padding: 0 10px;
    margin: 5px auto;
}
#imgcontainer
{
	text-align:center;
	margin-right: 0px;
	height:150px;
	max-width:600px;
	position:relative;
	display: inline-table;
}

.table {
	display: table;   /* Allow the centering to work */
	margin: 0 auto;
	font-size: 15px;
	text-align: center;
	color: #000000;
}

.topright a:link{
	color:#000000;
	text-decoration: none;
}

.topright a:visited{
	color:#000000;
}

#text
{
	z-index:100;
	position:absolute;    
	color:black;
	font: 100%/1.2  Eurostile, Arial, Verdana, Helvetica, sans-serif;
	font-size: 35px;
	left:10px;
	top:28px;
}       

footer {
	border-top-right-radius:5px;
    border-bottom-right-radius:5px;
    border-top-left-radius:5px;
    border-bottom-left-radius:5px;
    padding: 15px;
    display: flex;
    flex-flow: column;
}

footer ul {
	margin-left: -30px;
	width: 110%;
}

footer li { 
	display: inline;
	margin: 10px;
}

footer li a:link{
	color:#000000;
	text-decoration: none;
	font-size:25px;
}

footer li a:visited{
	color:#000000;
	text-decoration: none;
	font-size:25px;
}

header {
    display: flex;
    width: 100%;
    flex-flow: column;
}
header ul {
    display: flex;
    flex-flow: row wrap;
	width: 100%;
	list-style-type: none;
}

header li { 
	display: inline-flex;
	justify-content: center;
	align-items: center;
	margin: 10px;
}

header li:hover {
    opacity: .8;
}

header li img {
    margin: 4px;
}

header li a:link{
	color:#000000;
	text-decoration: none;
	font-size:25px;
}

header li a:visited{
	color:#000000;
	text-decoration: none;
	font-size:25px;
}

nav {
    width: 100%;
    display: flex;
    margin: 10px 0;
    flex-flow: column;
}

hr {
    width: 45px;
    border: 2px solid rgba(255,255,255,.2);
    display: block;
    margin: 25px auto;
}

.accordion {
    background: #3CB371;
    color: #000000;
    cursor: pointer;
    padding: 4px;
    width: 100%;
    border: none;
    text-align: left;
    outline: none;
    font-size: 15px;
    transition: all 0.4s ease-in-out;
    display: flex;
    flex-flow: row wrap;
    justify-content: flex-start;
    align-items: center;
}
.accordion img {
    margin: 4px;
}

.active, .accordion:hover {
  background-color: rgba(255,255,255,.3); 
}

.panel {
  padding: 0;
  background-color: #3CB371;
  max-height: 0;
  overflow: hidden;
  transition: max-height 0.2s ease-out;
}

.panel ul {
    list-style-type: none;
}
.panel ul li {
    margin: 0;
    padding: 0;
}
.panel ul li a {
    display: flex;
    width: 100%;
    height: 100%;
    justify-content: flex-start;
    align-items: center;
    padding: 10px 18px;
}
.panel ul li a img {
    margin: 4px;
}
.panel ul li a:hover {
    background: #8A9690;
}

.notification {
   position:relative;
}
.notification[data-badge]:after {
   content:attr(data-badge);
   position:absolute;
   top:-20px;
   font-size:.7em;
   background:#B5E61D;
   color:black;
   width:25px;height:20px;
   text-align:center;
   line-height:18px;
   border-radius:20%;
   border: 0px solid #000;
   box-shadow:0 0 1px #333;
	z-index: 1;
}

.notification:after, .notification:before {
	top: 0%;
	left: 50%;
	border: solid transparent;
	content: " ";
	height: 0;
	width: 0;
	position: absolute;
	pointer-events: none;
}

.notification:after {
	border-color: rgba(181, 230, 29, 0);
	border-top-color: #B5E61D;
	border-width: 5px;
	margin-left: -10px;
}
.notification:before {
	border-color: rgba(0, 0, 0, 0);
	border-top-color: #B5E61D;
	border-width: 5px;
	margin-left: -6px;
	z-index: 100;
}

/* HELPER CLASSES BY ZACH */
.flex { display: flex; }
.flex-col { flex-flow: column; }
.flex-row { flex-flow: row wrap; }
.align-center { align-items: center; }
.hid { display: none; }

@media only screen and (min-width: 769px) {
  /* Restore sidebar container to default layout */
  #sidebar-container {
    display: block !important;
    position: relative !important;
    left: 0 !important;
    width: auto !important;
    overflow: visible !important;
    box-sizing: border-box;
  }
  /* Restore container layout */
  .container {
    display: block !important;
    width: auto !important;
    margin: 0 auto;
  }
  /* Sidebar: force block layout, float left, fixed width */
  .sidebar {
    display: block !important;
    float: left !important;
    width: 20% !important; /* Adjust this width as needed */
    margin: 0 !important;
    padding: 0 !important;
  }
  /* Main content: force block layout, float left, fill remaining space */
  .content {
    display: block !important;
    float: left !important;
    width: 80% !important; /* Adjust as needed */
    margin-left: 0 !important;
    padding: 0 !important;
  }
}
