/* menu icons */
.workplanning .icon:before{
    background-image: url('/img/menu/inactive/workplanning.png');
}
.workplanning.active .icon:before{
	background-image: url('/img/menu/active/workplanning.png');
}
.dashboard .icon:before{
    background-image: url('/img/menu/inactive/dashboard.png');
}
.dashboard.active .icon:before{
	background-image: url('/img/menu/active/dashboard.png');
}
.organization .icon:before{
    background-image: url('/img/menu/inactive/organization.png');
}
.organization.active .icon:before{
	background-image: url('/img/menu/active/organization.png');
}
.contacts .icon:before{
    background-image: url('/img/menu/inactive/contacts.png');
}
.contacts.active .icon:before{
	background-image: url('/img/menu/active/contacts.png');
}
.leagues .icon:before{
    background-image: url('/img/menu/inactive/leagues.png');
}
.leagues.active .icon:before{
	background-image: url('/img/menu/active/leagues.png');
}
.communication .icon:before{
    background-image: url('/img/menu/inactive/communication.png');
}
.communication.active .icon:before{
	background-image: url('/img/menu/active/communication.png');
}

/* org profile top left in navigation */
/*.org-profile{
	text-align: center;
	padding: 2vh 2vw;
}
.org-picture{
	margin: auto;
	border-radius: 50%;	
}
@media (max-width:768px){
	#org-selector, #org-name{
		line-height: 32px;
	}
	.org-picture{
		width: 32px;
		height: 32px;
	}
}
@media (min-width:769px){
	#org-selector, #org-name, #org-picture-container{
		display: block;
	}
	.org-picture{
		margin-bottom: 1vh;
		width: 6vw;
		height: 6vw;
	}
}
.org-profile > span, .org-profile a{	
	color: #fff;
	text-decoration: none;
	font-size: 1.2vmin;
	white-space: nowrap;	
}
@media (max-width:480px){
	.org-profile > span, .org-profile a{
		font-size: 1.2vmax;
	}
}
.org-profile > ul{
	padding: 0;
	margin: 0;
	list-style: none;
}*/

/* user profile page */

.profile-picture-large{
	width: 200px; 
	height: 250px;
	background-repeat: no-repeat; 
	background-position: center; 
	background-size: cover;
	background: url('/img/placeholder.png');
}

.profile-picture-small{
	width: 100px; 
	height: 125px;
	margin-right: 1vh;
	background-repeat: no-repeat; 
	background-position: center; 
	background-size: cover;
	background: url('/img/placeholder-small.png');
}

/* group profile page */

.group-picture-large, .roster-picture-large{
	background: url('/img/placeholder-huge.png');
    background-repeat: no-repeat;
    background-position: center top;
	background-size: cover;
	height: 70vh;
}

/* organization logo */

.organization-logo-large{
	width: 200px; 
	height: 200px;
	margin: auto;
    border-radius: 50%;
	background-repeat: no-repeat; 
	background-position: center; 
	background-size: cover;
	background: url('/img/orgs/generic.jpg');
}

/* organogram */

.organogram{
	position: relative;
}
.organogram figure{
	padding: 4vh;
}

.organogram ul, ul.organogram{
	padding: 0;
	margin: 0;
	list-style: none;		
}

.organogram ul a , ul.organogram a{
	display: block;
	text-align: center;
	/*border: 4px solid #333;*/
	background-color: #4f5e68;
	padding: 2vh 2vw;
	margin: 1vh 1vw;	
	color: #fff;
	font-weight: bold;
	font-size: 1.4vmin;
	border-radius: 8px;
}
.organogram ul.departments li:not(:only-child) a{
	margin: 1vh 1vw;
}
.organogram ul.departments li:only-child a{
	margin: 1vh 1vw;
}

.organogram .management > li > a {
	min-width: 30vw;
	margin: 0 auto 0 auto;
}

.organogram .administration{
	width: 50%;
	text-align: right;
	border: 0;
	border-right: 4px solid #333;
	min-height: 4vh;
}

.organogram .administration > li > a{
	display: inline-block;
	min-width: 10vw;
	position: relative;	
}
.organogram .administration > li > a:after{
	content:"";
	display: block;
	position: absolute;
	border-bottom: 4px solid #333;
	width: 1.2vW;
	top: 50%;
	right: -1.2vw;
}

.organogram .departments{
	display: flex;
	flex-direction: row; 
	flex-wrap: nowrap;
	position: relative;
}


.organogram .department{
	flex-grow: 1;
	flex-shrink: 1;
	position: relative;
}

.organogram .department:not(:first-child):not(:last-child):before{
	content: "";
	display: block;
	position: absolute;
	border-top: 4px solid #333;
	height: 1vh;
	margin: 0 auto;
	width: 100%;
}

.organogram .department:first-child:not(:only-child):before{
	content: "";
	display: block;
	position: absolute;
	border-top: 4px solid #333;
	height: 1vh;
	margin: 0 auto;
	width: 50%;
	left: 50%;
}

.organogram .department:last-child:not(:only-child):before{
	content: "";
	display: block;
	position: absolute;
	border-top: 4px solid #333;
	height: 1vh;
	margin: 0 auto;
	width: 50%;
}

.organogram .department:after {
    content:"";
    position: absolute;
	top: 0;
	height: 1vh;
    /*bottom: 0;*/
    left: 50%;
    border-left: 4px solid #333;
    transform: translate(-100%);
}

/* workplanning */

a.action.show-on-hover{
	visibility: hidden;
}
.responsive-table-cell:hover .show-on-hover{
	visibility: visible;
}


.table-indicator{
	font-size: 1.4vmin;
	color: #DDD;
	font-weight: bold;
	text-align: right;
}
@media (max-width:480px){
	.table-indicator{
		font-size: 1.4vmax;
	}
}
.table-indicator.not-fully-allocated{
	color: #FF0000;
}

/* showaftersearch */
.showaftersearch{
	display: none;
}

/* tags */
/*ul.tags, ul.tags ul, ul.tags li, ul.tags .list-actions, ul.tags .action{
	padding: 0px;
}

li.tag{
	display: inline-block;
	background-color: #DDD;
	border-radius: 8px;
}
.tag-name{
	float:left;
	padding: 1vh 1vw;
}
.tag list-item-actions{	
	float:left;
	padding: 1vh 1vw;
	border-left: solid 1px #EEE;
}

tag-contact, tag-contact select[multiple]{
	width: 100%;
}
.tags .inline-form{
	border-bottom: solid 1px #EEE;
	margin-bottom: 2vh;
}*/

.search-results{
	border: solid 1px #EEE;
	background-color: #fff;
	position: absolute;
	min-width: 200px;
	z-index: 1000;
}
.search-results li{
	padding: 2vh 1vw 2vh 1vw;
	margin: 0;
	list-style: none;
	border-top: 1px solid #ddd;
	display: block;	
	cursor: pointer;
}