:root {
	--main-color: #555555;
	--main-title-color: #00AA00;
	--main-bg-color: #ffffff;

	--section-bg-color: #555555;
	--section-color: #ffffff;

	--menu-color: #ffffff;
	--menu-select-color: #00AA00;
	--menu-dropdown-bg-color: #666666;

	--side-menu-bg-color: #444444;

	--h-color: #333333;
	--a-color: #00AA00;

	--intro-color: #ffffff;

	--div-border-color: #dedede;

	--footer-a-color: #aaaaaa;
	--footer-a-hover-color: #dddddd;

	--input-padding-x: 0.75rem;
	--input-padding-y: 0.75rem;

	--input-ph-color: #777777;

	--cookie-alert-bg-color: #212327;

	--siderbar-border-color: #dedede;
    --sidebar-bg-color: #fafafa;

    --table-border-color: #dee2e6;
}


body, html {
	font-family: Arial, Geneva, sans-serif;
	letter-spacing: 0px;
	font-stretch: ultra-condensed;
	color: var(--main-color);
	font-size: 14px;

	/*background: var(--section-bg-color);*/
}

html {
  position: relative;
  min-height: 100%;
}
body {
  margin-bottom: 46px;
}



h1, h2, h3, h4, h5{
	font-weight: bold;
	color: var(--main-title-color);
}
h2 {
	font-size: 38px;
	color: var(--h-color);
	text-transform: uppercase;
	position: relative;
	margin-top: 10px;
	margin-bottom: 15px;
	padding-bottom: 20px;
}

h3 {
	font-size: 24px;
	color: var(--h-color);
}
h4 {
	font-size: 24px;
	text-transform: uppercase;
	color: var(--h-color);
}
h5 {
	text-transform: uppercase;
	line-height: 35px;
	font-size: 24px;
	border-bottom: 3px solid var(--div-border-color);
}
p {
	font-size: 15px;
}
p.intro {
	margin: 12px 0 0;
	line-height: 24px;
}

a{
	color: var(--a-color);
}

a:hover, a:focus {
	text-decoration: none;
	color: var(--h-color);
}

ul, ol {
	list-style: none;
	padding: 0;
	webkit-padding: 0;
	moz-padding: 0;
	margin-bottom: 0px;
}

.btn:active, .btn.active {
	background-image: none;
	outline: 0;
	-webkit-box-shadow: none;
	box-shadow: none;
}
a:focus, .btn:focus, .btn:active:focus, .btn.active:focus, .btn.focus, .btn:active.focus, .btn.active.focus {
	outline: none;
	outline-offset: none;
}




/* Navigation */

#menu{
	font-size: 17px;
	letter-spacing: 0.5px;

	padding: 2px 12px 2px 12px;
}

#menu.navbar-default {
	background-color: var(--section-bg-color) !important;
}

#menu.navbar-default .navbar-nav > li > a {
	letter-spacing: 0.5px;
	text-transform: uppercase;
	color: var(--menu-color);
	margin: 0 40px 0 40px;
}

#menu.navbar-default .navbar-nav > li > a:hover {
	color: var(--menu-select-color);
}

.navbar-default .navbar-nav > .active > a, .navbar-default .navbar-nav > .active > a:hover, .navbar-default .navbar-nav > .active > a:focus {
	color: var(--menu-select-color) !important;
}

.dropdown-menu{
	background: var(--menu-dropdown-bg-color);
	text-align: center;
	font-size: 15px;
}


.dropdown-menu .dropdown-item{
	letter-spacing: 0.5px;
	color: var(--menu-color);
	text-transform: uppercase;

	margin: 5px auto 5px auto;
}

.dropdown-menu .dropdown-item:hover{
	background: var(--menu-dropdown-bg-color);
	color: var(--menu-select-color);
}


.navbar-dark .navbar-brand img{
	padding: 0px;
}

.navbar-dark .navbar-brand img{
	width: 36px;
	height: 36px;
}




.btn-custom {
	font-weight: bold;
	text-transform: uppercase;
	color: var(--intro-color);
	background-color: rgba(255, 255, 255, 0.25);
	border: 2px solid #ffffff;
	padding: 12px 18px;
	margin: 0;
	font-size: 22px;
	margin-top: 20px;
	transition: all 0.3s;

	box-shadow: 2px 2px 3px rgba(255, 255, 255, 0.3);
}
.btn-custom:hover, .btn-custom:focus, .btn-custom.focus, .btn-custom:active, .btn-custom.active {
	color: var(--menu-color);
	background-color: var(--section-bg-color);
}

.btn-custom-sub{
	margin-left: 50px;
	margin-right: 50px;
	margin-top: 0px;
	padding: 10px 16px;
	font-size: 18px;
}

.btn-custom-dark{
	color: var(--main-color);
	border: 2px solid var(--main-color);

	font-size: 18px;
	padding: 10px 16px;

	box-shadow: 2px 2px 3px rgba(200, 200, 200, 0.3);
}


/* Header Section */
.intro, .intro-sub, .intro-profile{
	display: table;
	width: 100%;
	padding: 0;
	background: url(../img/intro-bg.jpg) center center no-repeat;
	background-color: #e5e5e5;
	-webkit-background-size: cover;
	-moz-background-size: cover;
	background-size: cover;
	-o-background-size: cover;
}
.intro .overlay, .intro-sub .overlay, .intro-profile .overlay{
	background: rgba(0,0,0,0.4);
}

.intro h1 {
	color: var(--intro-color);
	font-size: 6rem;
	margin-top: 0;
	margin-bottom: 4rem;
}

.intro-sub h1{
	color: var(--intro-color);
	font-size: 4rem;
	margin-top: 0;
	margin-bottom: 1rem;

	display: inline-block;
}

.intro-profile h1{
	color: var(--intro-color);
	font-size: 3rem;
	margin-top: 0;
	margin-bottom: 0.5rem;
}

.intro p {
	color: var(--intro-color);
	font-size: 24px;
	margin-top: 0rem;
	margin-bottom: 7rem;
}

.intro-sub p{
	color: var(--intro-color);
	font-size: 20px;

	display: inline-block;
}

.intro-profile p{
	color: var(--intro-color);
	font-size: 20px;
}

.intro .intro-text {
	padding-top: 200px;
	padding-bottom: 50px;
	text-align: center;
}

.intro-sub .intro-text {
	padding-top: 70px;
	padding-bottom: 30px;
	text-align: center;
}

.intro-profile .intro-text {
	padding-top: 60px;
	padding-bottom: 10px;
	text-align: center;
}



.home-desc-div{
	margin-top: 3rem;
	font-size: 24px;
	padding-bottom: 2rem;

	border-bottom: 3px solid var(--div-border-color);
}

/* Features Section */
#features {
	padding: 6rem 0 6rem 0;
}
#features .features-item {
	margin: 0 20px;
}

#features h3 {
	margin-bottom: 0px;
}

#features img {
	margin: 15px auto 15px auto;
}

#features p {
	line-height: 24px;
	margin: 0 0 30px 0;
}



/* Contact Section */
#contact, #login-form{
	padding: 100px 0 100px 0;
}

#contact .form-control, #login-form .form-control {
	display: block;
	width: 100%;
	font-size: 17px;
}

.form-label-group-login{
	position: relative;
}

.form-label-group, .form-label-groupDate{
	position: relative;
	margin-bottom: 1rem;
}

.form-label-group > input,
.form-label-group > label,
.form-label-groupDate > input,
.form-label-groupDate > label {
  padding: var(--input-padding-y) var(--input-padding-x);
}

.form-label-group > label, .form-label-groupDate .datePickerLabel{
	text-align: left;
	position: absolute;
	top: 0;
	left: 0;
	display: block;
	width: 100%;
	margin-bottom: 0; /* Override default `<label>` margin */
	line-height: 1.2;
	color: #495057;
	border: 1px solid transparent;
	border-radius: .25rem;
	transition: all .1s ease-in-out;
	color: var(--input-ph-color);
}

.form-label-group input::-webkit-input-placeholder {
  color: transparent;
}

.form-label-group input:-ms-input-placeholder {
  color: transparent;
}

.form-label-group input::-ms-input-placeholder {
  color: transparent;
}

.form-label-group input::-moz-placeholder {
  color: transparent;
}

.form-label-group input::placeholder {
  color: transparent;
}

.form-label-group input:not(:placeholder-shown){
  padding-top: calc(var(--input-padding-y) + var(--input-padding-y) * (2 / 3));
  padding-bottom: calc(var(--input-padding-y) / 3);
}

.form-label-group input:not(:placeholder-shown) ~ label, .form-label-groupDate .datePickerLabel{
  padding-top: calc(var(--input-padding-y) / 3);
  padding-bottom: calc(var(--input-padding-y) / 3);
  font-size: 11px;
  color: var(--input-ph-color);
}

.form-label-groupDate input{
	padding-top: calc(var(--input-padding-y) + var(--input-padding-y) * (2 / 3));
	padding-bottom: calc(var(--input-padding-y) / 3);

	letter-spacing: 1px;
}

.form-label-groupDate input::placeholder {
  font-size:16px;
}

.form-label-groupDate .datePickerLabel{
	left: 45px;
}

.delete-person, .delete-ingredient{
	float: right;
	cursor: pointer;
	color: var(--main-color);
}

.delete-ingredient{
	float: none;
}

.delete-person:hover, .delete-ingredient:hover{
	color: var(--menu-select-color);
}

.delete-meal-icon{
	color: var(--menu-color);
}

/* Footer Section*/
#footer {
	background: var(--section-bg-color);
	line-height: 40px;

	position: absolute;
	bottom: 0;
	width: 100%;
	height: 46px;
}

#footer p{
	margin-bottom: 0px;
	font-size: 14px;
	color: var(--section-color);
}

#footer .back-to-top{
	font-size: 35px;
	margin: 0px;
}

#footer a, .cookiealert a{
	color: var(--footer-a-color);
}
#footer a:hover, .cookiealert a:hover{
	color: var(--footer-a-hover-color);
}


/*
 * Bootstrap Cookie Alert by Wruczek START
 * https://github.com/Wruczek/Bootstrap-Cookie-Alert
 * Released under MIT license
 */
.cookiealert {
	font-size: 15px;
    position: fixed;
    bottom: 0;
    left: 0;
    width: 100%;
    margin: 0 !important;
    z-index: 99999;
    opacity: 0;
    border-radius: 0;
    transform: translateY(100%);
    transition: all 500ms ease-out;
	color: var(--section-color);
    background: var(--cookie-alert-bg-color);
}

.cookiealert.show {
    opacity: 1;
    transform: translateY(0%);
    transition-delay: 1000ms;
}

.cookiealert .acceptcookies {
    margin-left: 10px;
    vertical-align: baseline;
}

/* Bootstrap Cookie Alert by Wruczek END */





.main{
	padding: 0px;
}

.profile-content{
	padding: 10px 20px 10px 40px;
}




/* SIDEBAR START */

#sidebar {
    overflow: hidden;
    z-index: 3;
    /*position: fixed;*/
}
#sidebar .list-group {
	margin-top:49px;
    min-height: 100vh;
}
#sidebar i {
    margin-right: 6px;
}

#sidebar .card{
    border-radius: 0px;
}

#sidebar .list-group-item {
	font-size: 16px;
    border-radius: 0;
    color: var(--main-color);
    border-left: 0;
    border-color: var(--siderbar-border-color);
    background-color: var(--sidebar-bg-color);
    white-space: nowrap;

    padding-left: 20px;
}

#sidebar .list-group-item.selected-item{
	color: var(--menu-select-color);
}

#sidebar .list-group-item:hover {
	color: var(--menu-select-color);
}

#sidebar .list-group-item .collapsed{
	font-size: 16px;
}

#sidebar .list-group .list-group-item[aria-expanded="true"]::after {
	content: " \f0da";
	font-family: FontAwesome;
	display: inline;
	text-align: right;
	padding-left: 5px;
}

@media (min-width:768px) {
	#sidebar{
	   position: fixed;
	}

	#sidebar{
		width: 16.666667%;
	}

	.main{
		margin-left: 16.666667%;
	}
}


@media (max-width:768px) {
    #sidebar {
        min-width: 35px;
        max-width: 40px;
        overflow-y: auto;
        overflow-x: visible;
        transition: all 0.25s ease;
        transform: translateX(-45px);
        position: fixed;
    }
    
    #sidebar.show {
        transform: translateX(0);
    }

    #sidebar::-webkit-scrollbar{ width: 0px; }
    
    #sidebar, #sidebar .list-group {
        min-width: 35px;
        overflow: visible;
    }
    /* overlay sub levels on small screens */
    #sidebar .list-group .collapse.show, #sidebar .list-group .collapsing {
        position: relative;
        z-index: 1;
        top: 0;
    }
    #sidebar .list-group > .list-group-item {
        text-align: center;
        padding: .75rem .5rem;
    }
    /* hide caret icons of top level when collapsed */
    #sidebar .list-group > .list-group-item[aria-expanded="true"]::after,
    #sidebar .list-group > .list-group-item[aria-expanded="false"]::after {
        display:none;
    }
}

.collapse.show {
	visibility: visible;
}
.collapsing {
	visibility: visible;
	height: 0;
	-webkit-transition-property: height, visibility;
	transition-property: height, visibility;
	-webkit-transition-timing-function: ease-out;
	transition-timing-function: ease-out;
}
.collapsing.width {
	-webkit-transition-property: width, visibility;
	transition-property: width, visibility;
	width: 0;
	height: 100%;
	-webkit-transition-timing-function: ease-out;
	transition-timing-function: ease-out;
}

/* SIDEBAR END */




/*SETTINGS*/

.main-settings{
	padding: 8px 8px 8px 8px;
}

.col-padding{
	height: 100%;
	border: 1px solid var(--siderbar-border-color);
	padding: 10px;
}

.col-main-settings-info{
	/*background: var(--sidebar-bg-color);*/

	background: #eeeeee;
}

.account-info{
	color: var(--main-color);
}

.main-settings .form-control{
	display: block;

	font-size: 17px;
}

.main-settings .legend-label{
	color: var(--main-title-color);
}

.calculation-div{
	font-size: 15px;
}

.profile-not-set{
	font-weight: bold;
	font-size: 17px;
}

.profile-not-set-h5{
	color: var(--main-color);
}

/*BMI CLASSES*/
.bmi-bolder, .bmi-under, .bmi-perfect, .bmi-over, .bmi-obese, .bmi-obese-extreme{
	font-weight: bold;
	font-size: 17px;
}

.bmi-bolder{
	color: var(--main-title-color);
}

.bmi-under, .bmi-perfect, .bmi-over, .bmi-obese, .bmi-obese-extreme{
	padding: 0px 3px 0px 3px;
	letter-spacing: 0.5px;
}

.bmi-under{
	background: #8FC0DA;
}

.bmi-perfect{
	background: #30B32D;
	color: #ffffff;
}

.bmi-over{
	background: #FFDD00;
}

.bmi-obese{
	background: #FFA500;
}

.bmi-obese-extreme{
	background: #F03E3E;
	color: #ffffff;
}


.cal-result-left, .cal-result-right{
	margin: 0px;
	text-align: left;
	display: inline-block;
	width: 55%;
	border: 1px solid var(--siderbar-border-color);
	font-weight: bold;
	padding: 5px;
}

.cal-result-right{
	width: 40%;
}

.cal-result-sub{
	letter-spacing: 0px;
	font-size: 12px;
}

.cal-result-right sub, .cal-result-left sub{
	letter-spacing: 0px;
	font-size: 12px;
}

/* GAUGE */

.preview {

}
.canvas-preview{
	width: 70% !important;
	height: 70% !important;
}
.preview-textfield-main{
	font-weight: bold;
	font-size: 16px;
	margin-bottom:5px;
}

.preview-textfield{
	font-size: 20px;
	display: inline-block;
}

.gauge-container{
	text-align: center;
}

/* SLIDER */

.calories-tics-container, .activity-tics-container{
	width: 90%;
	margin-left: auto;
	margin-right: auto;
	margin-top:0px;
}

.activity-tics-container{
	width: 95%;
	margin-left:5%;
}

.calories-tick, .calories-tick-nums{
	font-weight: bold;
	width: 24%;
	display: inline-block;
	font-size: 10px;
	text-align: center;
}

.activity-tick{
	font-weight: bold;
	width: 16%;
	display: inline-block;
	font-size: 10px;
	text-align: center;
}

.activity-tick:first-child{
	width: 9%;
}
.activity-tick:last-child{
	width: 9%;
}

.calories-tick-nums{
	font-size: 13px;
}

.calories-tics-container-bigger-font .calories-tick-nums{
	letter-spacing: 0.5px;
	font-size: 16px;
}

.calories-tics-container .calories-tick:not(:first-child):before, .activity-tics-container .activity-tick:not(:first-child):before{
    content: "";
    float: left;
    height: 15px;
    border-left: 2px solid var(--main-color);
    margin-top: -5px;
}

.activity-slider, .calories-slider{
	width: 90%;
	margin-left: auto;
	margin-right: auto;
}

.activity-slider .custom-slider-handle, .calories-slider .custom-slider-handle{
	min-width: 35px;
	width:6%;
	height: 26px;
	top: -7px;

	background: #555555;
	background: -moz-linear-gradient(-45deg, #7d7e7d 0%, #555555 100%);
	background: -webkit-linear-gradient(-45deg, #7d7e7d 0%, #555555 100%);
	background: linear-gradient(135deg, #7d7e7d 0%, #555555 100%);
	filter: progid:DXImageTransform.Microsoft.gradient( startColorstr='#7d7e7d', endColorstr='#555555',GradientType=1 );

	border: 2px solid #dddddd;

	-webkit-box-shadow: 2px 2px 3px 0px rgba(136,136,136,0.75);
	-moz-box-shadow: 2px 2px 3px 0px rgba(136,136,136,0.75);
	box-shadow: 2px 2px 3px 0px rgba(136,136,136,0.75);
}

.activity-slider.ui-widget-content{
	background: #ffffff;
	background: -moz-linear-gradient(left, #0066cc 0%, #8FC0DA 16.5%,  #8FC0DA 16.5%, #30B32D 33%, #30B32D 33%, #FFDD00 49.5%, #FFDD00 49.5%, #FFA500 66%, #FFA500 66%, #F03E3E 82.5%, #F03E3E 82.5%, #F03E3E 100%);
	background: -webkit-gradient(linear, left top, right top, color-stop(0%, #0066cc), color-stop(16.5%, #8FC0DA), color-stop(16.5%, #8FC0DA), color-stop(33%, #30B32D), color-stop(33%, #30B32D), color-stop(49.5%, #FFDD00), color-stop(49.5%, #FFDD00), color-stop(66%, #FFA500), color-stop(66%, #FFA500), color-stop(82.5%, #F03E3E), color-stop(82.5%, #F03E3E), color-stop(100%, #F03E3E));
	background: -webkit-linear-gradient(left, #0066cc 0%, #8FC0DA 16.5%,  #8FC0DA 16.5%, #30B32D 33%, #30B32D 33%, #FFDD00 49.5%, #FFDD00 49.5%, #FFA500 66%, #FFA500 66%, #F03E3E 82.5%, #F03E3E 82.5%, #F03E3E 100%);
	background: -o-linear-gradient(left, #0066cc 0%, #8FC0DA 16.5%,  #8FC0DA 16.5%, #30B32D 33%, #30B32D 33%, #FFDD00 49.5%, #FFDD00 49.5%, #FFA500 66%, #FFA500 66%, #F03E3E 82.5%, #F03E3E 82.5%, #F03E3E 100%);
	background: -ms-linear-gradient(left, #0066cc 0%, #8FC0DA 16.5%,  #8FC0DA 16.5%, #30B32D 33%, #30B32D 33%, #FFDD00 49.5%, #FFDD00 49.5%, #FFA500 66%, #FFA500 66%, #F03E3E 82.5%, #F03E3E 82.5%, #F03E3E 100%);
	background: linear-gradient(to right, #0066cc 0%, #8FC0DA 16.5%,  #8FC0DA 16.5%, #30B32D 33%, #30B32D 33%, #FFDD00 49.5%, #FFDD00 49.5%, #FFA500 66%, #FFA500 66%, #F03E3E 82.5%, #F03E3E 82.5%, #F03E3E 100%);
	filter: progid:DXImageTransform.Microsoft.gradient(startColorstr='#ffffff', endColorstr='#888888',GradientType=1);
	height: 14px;
	border: none;

	-webkit-box-shadow: 2px 2px 3px 0px rgba(136,136,136,0.75);
	-moz-box-shadow: 2px 2px 3px 0px rgba(136,136,136,0.75);
	box-shadow: 2px 2px 3px 0px rgba(136,136,136,0.75);
}

.calories-slider.ui-widget-content{
	background: #ffffff;
	background: -moz-linear-gradient(left, #0066cc 0%, #30B32D 25%,  #30B32D 25%, #FFDD00 50%, #FFDD00 50%, #FFA500 75%, #FFA500 75%, #F03E3E 100%);
	background: -webkit-gradient(linear, left top, right top, color-stop(0%, #0066cc), color-stop(25%, #30B32D), color-stop(25%, #30B32D), color-stop(50%, #FFDD00), color-stop(50%, #FFDD00), color-stop(75%, #FFA500), color-stop(75%, #FFA500), color-stop(100%, #F03E3E)); /* Chrome,Safari4+ */
	background: -webkit-linear-gradient(left, #0066cc 0%, #30B32D 25%,  #30B32D 25%, #FFDD00 50%, #FFDD00 50%, #FFA500 75%, #FFA500 75%, #F03E3E 100%);
	background: -o-linear-gradient(left, #0066cc 0%, #30B32D 25%,  #30B32D 25%, #FFDD00 50%, #FFDD00 50%, #FFA500 75%, #FFA500 75%, #F03E3E 100%);
	background: -ms-linear-gradient(left, #0066cc 0%, #30B32D 25%,  #30B32D 25%, #FFDD00 50%, #FFDD00 50%, #FFA500 75%, #FFA500 75%, #F03E3E 100%);
	background: linear-gradient(to right, #0066cc 0%, #30B32D 25%,  #30B32D 25%, #FFDD00 50%, #FFDD00 50%, #FFA500 75%, #FFA500 75%, #F03E3E 100%);
	filter: progid:DXImageTransform.Microsoft.gradient(startColorstr='#ffffff', endColorstr='#888888',GradientType=1);
	height: 14px;
	border: none;

	-webkit-box-shadow: 2px 2px 3px 0px rgba(136,136,136,0.75);
	-moz-box-shadow: 2px 2px 3px 0px rgba(136,136,136,0.75);
	box-shadow: 2px 2px 3px 0px rgba(136,136,136,0.75);
}

.slider-value-text-container{
	width: 100%;
	text-align: center;
	margin-bottom: 10px;
	font-weight: bold;
	font-size: 17px;
}

.slider-value-text{
	margin-left: 10px;
	display: inline-block;
	color: var(--main-title-color);
}

/* INGREDINTS TABLE */

#ingredients-table{
	margin-left: 5px;
	width: 100%;
}

#ingredients-table table {
    width: 100%;
}

#ingredients-table thead, #ingredients-table tbody, #ingredients-table tr, #ingredients-table td, #ingredients-table th {
	display: block;
}



#ingredients-table tbody {
	border: 1px solid #000000;
    min-height: 180px;
    overflow-y: auto;
}

#ingredients-table tbody td, #ingredients-table thead th {
    height: 35px;
    float: left;
}

#ingredients-table tbody td:nth-child(1), #ingredients-table thead th:nth-child(1){
    width: 10%;
}

#ingredients-table tbody td:nth-child(2), #ingredients-table thead th:nth-child(2){
    width: 15%;
}

#ingredients-table tbody td:nth-child(3), #ingredients-table thead th:nth-child(3){
    width: 15%;
}

#ingredients-table tbody td:nth-child(4), #ingredients-table thead th:nth-child(4){
    width: 10%;
}

#ingredients-table tbody td:nth-child(5), #ingredients-table thead th:nth-child(5){
    width: 10%;
}

#ingredients-table tbody td:nth-child(6), #ingredients-table thead th:nth-child(6){
    width: 10%;
}

#ingredients-table tbody td:nth-child(7), #ingredients-table thead th:nth-child(7){
    width: 10%;
}

#ingredients-table tbody td:nth-child(8), #ingredients-table thead th:nth-child(8){
    width: 10%;
}

#ingredients-table tbody td:nth-child(9), #ingredients-table thead th:nth-child(9){
    width: 10%;
}


#ingredients-table table input{
	width: 100%;
}

#ingredients-table table input[type='checkbox']{
	width: auto;
}


#ingredients-table table input.form-control{
	padding: 2px;
	line-height: 1;
	height: 25px;
}

#ingredients-search{
	margin-bottom: 5px;
}

.sort-icon{
	color: var(--main-title-color);
	margin-left: 3px;
}

#ingredients-table table .sortableTh{
	cursor: pointer;
}

#ingredients-table tbody tr:nth-of-type(odd) td{
    background: rgba(0, 0, 0, 0.05);
}


@media
	  only screen 
    and (max-width: 760px), (min-device-width: 768px) 
    and (max-device-width: 1024px)  {

	/* Hide table headers (but not display: none;, for accessibility) */
	#ingredients-table thead tr {
		position: absolute;
		top: -9999px;
		left: -9999px;
	}

	#ingredients-table tr {
	  margin: 0 0 1rem 0;
	}


	#ingredients-table tbody td, #ingredients-table thead th {
	    float: none;
	    padding-left: 46%;
	    position: relative;
	    width: 98% !important;
	}

	#ingredients-table td:before {
		background-color: var(--main-color);
		color: #ffffff;
		position: absolute;
		top: 0;
		left: 0px;
		width: 45%;
		height: 35px;
		white-space: nowrap;
	}

	#ingredients-table td:nth-of-type(1):before {
		content: "#";
	}
	#ingredients-table td:nth-of-type(2):before {
		content: "Name/SI";
	}
	#ingredients-table td:nth-of-type(3):before {
		content: "Name/EN";
	}
	#ingredients-table td:nth-of-type(4):before {
		content: "Calories";
	}
	#ingredients-table td:nth-of-type(5):before {
		content: "Carbs";
	}
	#ingredients-table td:nth-of-type(6):before {
		content: "Proteins";
	}
	#ingredients-table td:nth-of-type(7):before {
		content: "Fat";
	}
	#ingredients-table td:nth-of-type(8):before {
		content: "General";
	}
	#ingredients-table td:nth-of-type(9):before {
		content: "";
	}
}

.table .thead-dark th{
	background-color: var(--main-color);
}

/* DATEPICKER */
#meals-date{
	display: none;
}

#meals-date-main-div{
	border: 1px solid var(--siderbar-border-color);
}

#meals-date-main{
	display: inline-block;
	width: calc(100% - 120px);
}

#meals-date-prev, #meals-date-next, #meals-date-main{
	padding: 5px 10px 5px 10px;
	font-size: 18px;
	cursor: pointer;
}

#meals-date-prev:hover, #meals-date-next:hover, #meals-date-main:hover{
	color: var(--main-title-color);
}

#meals-date-prev, #meals-date-next{
	padding: 5px 20px 5px 20px;
}

#meal-datepicker{
	width: 100%;
	position: relative;
	top: -39px;
	z-index: 10000;
}

.meal-datepicker .ui-datepicker {
	width: 100%;
}


.ui-datepicker.ui-widget-content{
	-moz-background-clip: padding;
	-webkit-background-clip: padding-box;
	background-clip: padding-box;
	background-color: #ede9e3;
	-moz-box-shadow: 0 1px 3px rgba(0,0,0,.4), inset 0 1px 0 rgba(255,255,255,.85);
	-webkit-box-shadow: 0 1px 3px rgba(0,0,0,.4), inset 0 1px 0 rgba(255,255,255,.85);
	box-shadow: 0 1px 3px rgba(0,0,0,.4), inset 0 1px 0 rgba(255,255,255,.85);
	background-image: url(data:image/svg+xml;base64,PD94bWwgdmVyc2lvbj0iMS4wIiA/Pgo8c3ZnIHhtbG5zPSJodHRwOi8vd3d3LnczLm9yZy8yMDAwL3N2ZyIgd2lkdGg9IjEwMCUiIGhlaWdodD0iMTAwJSIgdmlld0JveD0iMCAwIDI4MSAyMjEiIHByZXNlcnZlQXNwZWN0UmF0aW89Im5vbmUiPjxsaW5lYXJHcmFkaWVudCBpZD0iaGF0MCIgZ3JhZGllbnRVbml0cz0ib2JqZWN0Qm91bmRpbmdCb3giIHgxPSI1MCUiIHkxPSIxMDAlIiB4Mj0iNTAlIiB5Mj0iLTEuNDIxMDg1NDcxNTIwMmUtMTQlIj4KPHN0b3Agb2Zmc2V0PSIwJSIgc3RvcC1jb2xvcj0iIzAwMCIgc3RvcC1vcGFjaXR5PSIwLjQ1Ii8+CjxzdG9wIG9mZnNldD0iMTAwJSIgc3RvcC1jb2xvcj0iI2ZmZiIgc3RvcC1vcGFjaXR5PSIwLjQ1Ii8+CiAgIDwvbGluZWFyR3JhZGllbnQ+Cgo8cmVjdCB4PSIwIiB5PSIwIiB3aWR0aD0iMjgxIiBoZWlnaHQ9IjIyMSIgZmlsbD0idXJsKCNoYXQwKSIgLz4KPC9zdmc+);
	background-image: -moz-linear-gradient(top, #f5f3f0 0%, #e5e1d8 100%);
	background-image: -o-linear-gradient(top, #f5f3f0 0%, #e5e1d8 100%);
	background-image: -webkit-linear-gradient(top, #f5f3f0 0%, #e5e1d8 100%);
	background-image: linear-gradient(top, #f5f3f0 0%, #e5e1d8 100%);
}

.ui-datepicker .ui-widget-header {
	background: transparent;
	border: none;
	text-transform: uppercase;
	font-size: .9em;
	box-shadow: 0 1px 0 #ddcda8, 0 2px 0 #fff;
	cursor: pointer;
}


.ui-datepicker th,
.ui-datepicker td {
	box-shadow: 0 1px 0 #ddcda8, 0 2px 0 #fff;
	border-right: 1px solid #cfc8bc;
}

.ui-datepicker th:last-child,
.ui-datepicker td:last-child {
	border-right: none;
}

.ui-datepicker th {
	color: #cfc8bc;
	text-transform: uppercase;
	font-size: .8em;
	font-weight: normal;
}

.ui-datepicker td {
	padding: 0;
}

.ui-datepicker tr:last-child td {
	box-shadow: none;
}

.ui-datepicker .ui-state-default {
	background: transparent;
	border: none;
	color: #ab9f8d;
	font-weight: normal;
}

.ui-datepicker .ui-state-disabled .ui-state-default {
	color: #cfc7bb;
	text-align: center;
}

.ui-datepicker table a {
	padding: .5em .6em; 
	text-align: center;
	text-shadow: 0 1px 0 #fff;
	border: 1px solid transparent;
	border-bottom: none;
}

.ui-datepicker td a.ui-state-hover,
.ui-datepicker td a.ui-state-active {
	border: 1px solid #999e00;
	border-bottom: none;
	color: #fff;
	text-shadow: 0 1px 0 rgba(0,0,0,.21);
	background-color: #bec110;
	-moz-box-shadow: 0 1px 0 #fff, inset 0 1px 0 rgba(255,255,255,.42);
	-webkit-box-shadow: 0 1px 0 #fff, inset 0 1px 0 rgba(255,255,255,.42);
	box-shadow: 0 1px 0 #fff, inset 0 1px 0 rgba(255,255,255,.42);
	background-image: url(data:image/svg+xml;base64,PD94bWwgdmVyc2lvbj0iMS4wIiA/Pgo8c3ZnIHhtbG5zPSJodHRwOi8vd3d3LnczLm9yZy8yMDAwL3N2ZyIgd2lkdGg9IjEwMCUiIGhlaWdodD0iMTAwJSIgdmlld0JveD0iMCAwIDEwMCAxMDAiIHByZXNlcnZlQXNwZWN0UmF0aW89Im5vbmUiPjxsaW5lYXJHcmFkaWVudCBpZD0iaGF0MCIgZ3JhZGllbnRVbml0cz0ib2JqZWN0Qm91bmRpbmdCb3giIHgxPSI1MCUiIHkxPSIxMDAlIiB4Mj0iNTAlIiB5Mj0iLTEuNDIxMDg1NDcxNTIwMmUtMTQlIj4KPHN0b3Agb2Zmc2V0PSIwJSIgc3RvcC1jb2xvcj0iIzAwMCIgc3RvcC1vcGFjaXR5PSIwLjQ1Ii8+CjxzdG9wIG9mZnNldD0iMTAwJSIgc3RvcC1jb2xvcj0iI2ZmZiIgc3RvcC1vcGFjaXR5PSIwLjQ1Ii8+CiAgIDwvbGluZWFyR3JhZGllbnQ+Cgo8cmVjdCB4PSIwIiB5PSIwIiB3aWR0aD0iMTAwIiBoZWlnaHQ9IjEwMCIgZmlsbD0idXJsKCNoYXQwKSIgLz4KPC9zdmc+);
	background-image: -moz-linear-gradient(bottom, rgba(0,0,0,.45) 0%, rgba(255,255,255,.45) 100%);
	background-image: -o-linear-gradient(bottom, rgba(0,0,0,.45) 0%, rgba(255,255,255,.45) 100%);
	background-image: -webkit-linear-gradient(bottom, rgba(0,0,0,.2) 0%, rgba(255,255,255,.2) 100%);
	background-image: linear-gradient(bottom, rgba(0,0,0,.45) 0%, rgba(255,255,255,.45) 100%);
}

.ui-datepicker-prev span,
.ui-datepicker-next span {
  background-image: none !important;
}

.ui-datepicker-prev:before,
.ui-datepicker-next:before {
  font-family: FontAwesome;
  position: absolute;
  top: 0;
  right: 0;
  bottom: 0;
  left: 0;
  display: flex;
  font-weight: normal;
  align-items: center;
  justify-content: center;
  font-size: 16px;
}

.ui-datepicker-prev:before {
  content: "\f0d9";
}

.ui-datepicker-next:before {
  content: "\f0da";
}


/* meals table START */

#meals-table-div{
	margin-left: 5px;
	width: 100%;
}

#meals-table{
    width: 100%;
}

#meals-table th, #meals-table td{
	vertical-align: middle;
}

.table .thead-dark th.border-separate{
	border-right: 1px solid var(--main-title-color);
}

.table-bordered td.border-separate{
	border-right: 1px solid var(--main-title-color);
}

#meals-table th.meal-subtitle{
	font-size: 12px;
	font-weight: normal;
}

.form-meals{
	min-width: 90px;
}

.form-meals-ingredient{
	min-width: 70px;
	max-width: 90px;
}

.ui-menu .ui-menu-item-wrapper{
	text-align: left;
}

.summary-row{
	font-weight: bold;
	color: var(--main-title-color);
	background: var(--table-border-color);
}

.empty-row{
	border: none;
	background: none;
	background-color: transparent;
}

.table tbody + tbody.empty-row{
	border: none;
	background: none;
	background-color: transparent;
}

.table-bordered td.empty-row{
	border: none;
	background: none;
	background-color: transparent;
}

.table-striped tbody tr:nth-of-type(odd).empty-row{
	background: none;
	background-color: transparent !important;
}

.summary-row-proc{
	font-weight: normal;
	color: var(--main-title-color);

	background: var(--sidebar-bg-color);
}

/* meals table END */

/* CHARTJS start */
.chartjs-mainrow-width{
	padding-right: 10px;
	padding-left: 20px;
}

.calendar-mainrow-width{
	padding-right: 2px;
	padding-left: 12px;
}


.chart-opener-div{
	background: var(--main-color);
	color: var(--menu-color);
	cursor: pointer;
}

.chartjs-row{
	/*background: var(--table-border-color);*/
	border: 1px solid var(--div-border-color);
}

.chartjs-canvas{
	-moz-user-select: none;
	-webkit-user-select: none;
	-ms-user-select: none;

	height: 200px !important;
}

.chartjs-overlay{
	position: absolute;

	/*background: rgba(100, 100, 100, 0.3);*/

	top: 25%;
	left: 15%;
	width: 70%;
}

.chartjs-overlay-sub-data{
	text-align: right;
	padding-right: 5px;
	font-weight: bold;
	width: 50%;
}

.chartjs-overlay-title{
	font-size:1.2rem;
	font-weight: bold;
}

.chartjs-overlay-sub{
	text-align: left;
	font-size:0.9rem;
}

/* CHARTJS end */















