
body.home h1 {
    margin-top: 100px;
    color: #C00000;
}
@media (max-width: 767.98px) {
    body.home h1 {
        margin-top: 40px;
    }
}

#home-header .row1 {
    justify-content: center;
}
#home-indications .app-title {
    margin: 15px auto 15px auto;
}

.nav-indication-title {
    width: 50%;
    background: #666;
    color: #fff;
    padding: 5px;
    margin-bottom: 5px;
    font-weight: bold;
    text-align: center;
    font-size: 15px;
    border-top-right-radius: 15px;
    /*border-top-left-radius: 15px;*/
}

#header .nav-indication-title {
	display: none;
}


/*** HOME BUTTONS ***/

body .home-tiles > .btn.open .sub-indications-outer,
body .home-tiles > .btn.open .sub-indications {
	display: flex;
}
body .home-tiles .fa-chevron-right,
body .home-tiles > .btn.open .fa-chevron-down {
	display: block;
}
body .home-tiles > .btn.open .fa-chevron-right,
body .home-tiles > .btn:not(.open) .fa-chevron-down {
	display: none;
}

body .home-tiles > div {
	display: inline-block;
	position: relative;
	width: 50%;
	padding: 4px;
	border: 0;
	vertical-align: top;
}
body.mobile .home-tiles {
	display: flex;
	flex-direction: column;
}
body.mobile .home-tiles > div {
	width: 100%;
}
body .home-tiles a {
	width: 100%;
	padding: 0;
	border: 0;
}
body .home-tile {
	display: flex;
	height: 125px;
	align-items: center;
	padding: 0.25rem 1rem 0.25rem 0.5rem;
	border: 0;
}
body .home-icon {
	height: 100%;
	width: 90px;
	flex-shrink: 0;
}


body .home-tile .button-text,
body.home .sub-indications-outer .button-text,
body.home .sub-indications .button-text {
    display: inline-block;
    line-height: 1.2;
    font-weight: 500;
    margin-left: 5px;
    text-align: left;
    padding-right: 5px;
}
body .home-tile .button-text {
    font-size: 1.2em;
}

body.home .sub-indications-outer,
body.home .sub-indications {
	display: none;
	flex-direction: column;
}

body.home .sub-indications-outer > a,
body.home .sub-indications a {
	display: flex;
	align-items: center;
	align-self: center;
	border-radius: 0;
	width: 95% !important; /* override .mobile value in device.css */
	margin-top: 5px;
	padding: 2px;
}
body.home .sub-indications-outer > a {
	margin-bottom: 5px;
}
body.home .sub-indications-outer a {
	display: inline-block;
	text-align: left;
}
body.home .sub-indications-outer .sub-indications a:first-child {
	margin-top: 0;
}

body.home .mycontent .sub-indications-outer > a,
body.home .mycontent .sub-indications a {
	padding: 5px;
}

/* bootstrap small */
@media (max-width: 767.98px) {
	body .home-tiles > div {
		padding: 3px;
	}
	body .home-tile {
		height: 100px;
	}
	body .home-icon {
		/*min-width: 75px;*/
		width: 75px;
	}
	body.home .sub-indications .button-text {
	    font-size: 1em;
	}
}

/* bootstrap extra small */
@media (max-width: 575.98px) {

	body .home-tiles {
		display: flex;
		flex-direction: column;
	}
	body .home-tiles > div {
		width: 100%;
		padding: 3px 0;
	}
	body .home-tile {
		height: 50px;
	}
	body .home-icon {
		/*min-width: 50px;*/
		width: 50px;
	}
	body .home-tile .button-text {
		font-size: 1.1em;
	}
	body.home .sub-indications .button-text {
	    font-size: 0.95em;
	}
}

.home-tile .fa-chevron-right,
.home-tile .fa-chevron-down {
	margin-left: auto;
	font-size: 1.5em;
}



/* FAVORITES_EDIT */

body.mycontent #favorites li a {
	padding: 5px;
}

@media (min-width: 576px) {
	body.mycontent #favorites li div.d-flex b {
		min-width: 55px;
	}
}

body.mycontent #favorites li > span:not(.sort-buttons) i,
body.mycontent #favorites li div.edit-fav i,
body.mycontent #favorites li div.delete-fav i,
body.mycontent #favorites li span.sort-buttons span i {
	color: #888;
	width: 36px;
}

body.mycontent #favorites li > span:not(.sort-buttons):hover i,
body.mycontent #favorites li div.edit-fav:hover i,
body.mycontent #favorites li div.delete-fav:hover i,
body.mycontent #favorites li span.sort-buttons span:hover i {
	color: #000;
}

body.mycontent #favorites li > span,
body.mycontent #favorites li div.edit-fav,
body.mycontent #favorites li div.delete-fav {
	display: flex;
	align-items: center;
	text-align: center;
	background: #fff;
	transition: all 0.2s linear !important;
}

body.mycontent #favorites li div.edit-fav {
	border-right: 1px solid #ccc;
}

body.mycontent #favorites li span.sort-buttons span:last-child {
	/*border-top: 1px solid #ccc;*/
}

body.mycontent #favorites li > span:not(.sort-buttons):hover,
body.mycontent #favorites li div.edit-fav:hover,
body.mycontent #favorites li div.delete-fav:hover,
body.mycontent #favorites li span.sort-buttons span:hover {
	background: #eee;
}
body.mycontent #favorites .sort-buttons {
	flex-direction: column;
}

body.mycontent #favorites li:first-child .sort-buttons > span:first-child,
body.mycontent #favorites li:last-child .sort-buttons > span:last-child {
	display: none;
}

body.mycontent #favorites li:first-child .sort-buttons > span:not(:first-child),
body.mycontent #favorites li:last-child .sort-buttons > span:not(:last-child) {
	height: 100%;
}

body.mycontent #favorites .sort-buttons .fas {
	padding-top: 0;
	padding-bottom: 0;
}

body.mycontent #favorites li span.sort-buttons span {
	display: flex;
	height: 50%;
	align-items: center;
}

body.mycontent #favorites li span .fa-save {
	font-size: 1.5em;
}

body.mycontent #favorites li span .fa-pencil-alt,
body.mycontent #favorites li span .fa-chevron-up,
body.mycontent #favorites li span .fa-chevron-down {
	font-size: 1.3em;
}

body.mycontent #favorites li input {
	width: 100%;
	margin-left: 5px;
	padding: 0 5px;
	border: 0;
	outline: none;
}

body.mycontent #favorites .ng-hide.ng-hide-animate {
	display: none !important;
}

.sub-indications.mycontent {
	max-height: 350px;
	overflow-y: auto;
}