html, body {
	height: 100%;
}

p {
	margin: 0px !important; 
}

.goToLink {
	cursor: pointer;
}

.table-header-rotated th.rotate-45 {
	height: 140px;
	width: 80px;
	min-width: 80px;
	max-width: 80px;
	position: relative;
	vertical-align: bottom;
	padding: 0;
	font-size: 12px;
	line-height: 0.8;
}

.table-header-rotated th.rotate-45 > div {
	position: relative;
	top: 0px;
	left: -70px; /* 80 * tan(45) / 2 = 40 where 80 is the height on the cell and 45 is the transform angle*/
	height: 100%;
	-ms-transform: skew(45deg, 0deg);
	-moz-transform: skew(45deg, 0deg);
	-webkit-transform: skew(45deg, 0deg);
	-o-transform: skew(45deg, 0deg);
	transform: skew(45deg, 0deg);
	overflow: hidden;
}

.table-header-rotated th.rotate-45 span {
	-ms-transform: skew(-45deg, 0deg) rotate(45deg);
	-moz-transform: skew(-45deg, 0deg) rotate(45deg);
	-webkit-transform: skew(-45deg, 0deg) rotate(45deg);
	-o-transform: skew(-45deg, 0deg) rotate(45deg);
	transform: skew(-45deg, 0deg) rotate(45deg);
	position: absolute;
	bottom: 80px; /* 40 cos(45) = 28 with an additional 2px margin*/
	left: -3px; /*Because it looked good, but there is probably a mathematical link here as well*/
	display: inline-block;
	width: 100%;
	width: 85px; /* 80 / cos(45) - 40 cos (45) = 85 where 80 is the height of the cell, 40 the width of the cell and 45 the transform angle*/
	text-align: left;
	white-space: nowrap; /*whether to display in one line or not*/
}

.table-striped-column > thead > tr th:nth-of-type(even) div {
	background-color: #eee;
}

.table-striped-column > tbody > tr td:nth-of-type(even) {
	background-color: #eee;
}

.tooltip-inner {
	white-space: pre;
	max-width: none;
}

#menu {
	background-color: #ebebeb;
}

#menu a, #menu a:visited, #menu a:active, #menu a:focus, #menu a:hover {
	color: #7C8995;
	text-decoration: none;
}

#menu button, #menu button:visited, #menu button:active, #menu button:focus, #menu button:hover {
	color: #7C8995;
	text-decoration: none;
}

a, a:visited, a:active, a:focus, a:hover {
	text-decoration: none;
}

.navbar {
	z-index: 1;
}

.content {
	padding: 10px 15px;
	border-bottom-width: 1px;
	border-bottom-style: solid;
	position: fixed;
	width: 100%;
	z-index: 999;
}

.content + div {
	background-color: #fff;
	padding: 10px;
	margin-top: 40px;
	margin-bottom: 20px;
}

.searchType {
	padding: 2px;
	margin: 7px -10px 7px -10px;
	background: #f2f2f2;
}

.headline {
	background: #f2f2f2;
	padding: 5px;
}

.searchType h5 {
	padding-left: 8px;
}

#content {
	background-color: #ebebeb;
	padding-left: 0px;
	padding-top: 5px;
}

#menu .list-group {
	margin: 0;
	background-color: #ffffff;
}

#menu .list-group .list-group-item {
	border-left: 0;
	border-right: 0;
}

#menu .list-group .list-group-item:first-child {
	border-top: 0;
	border-radius: 0;
}

#menu .list-group .list-group-item:last-child {
	border-bottom: 0;
	border-radius: 0;
}

#menu .list-group .list-group-item.active {
	background: #7C8995;
	color: #FFF;
	border-color: #7C8995;
}

#menu .list-group .list-group-item.danger {
	background: #e24e45;
	color: #fff;
	border-color: #e24e45;
}

#menu .list-group .list-group-item.navigation.active {
	background: #E9E9E9;
	color: #7C8995;
	border-color: #E9E9E9;
}

#menu .list-group .list-group-item .icon {
	position: relative;
	top: 3px;
}

.btn-primary,
.btn-primary:focus,
.btn-primary:active,
.btn-primary:active:focus,
.btn-primary:hover,
.btn-primary.disabled,
.btn-primary:disabled,
.btn-primary[disabled]:focus,
.btn-primary[disabled]:hover,
.btn-primary.disabled:hover,
.btn-primary.disabled:focus {
	color: #FFF;
	/*background: #7C8995;
	color: #FFF !important;
	border-color: #7C8995;*/
	outline: none;
}

.btn-secondary,
.btn-secondary:focus,
.btn-secondary:active,
.btn-secondary:active:focus,
.btn-secondary:hover,
.btn-secondary.disabled,
.btn-secondary:disabled,
.btn-secondary[disabled]:focus,
.btn-secondary[disabled]:hover,
.btn-secondary.disabled:hover,
.btn-secondary.disabled:focus {
	background: #ad2d34;
	color: #FFF;
	border-color: #ad2d34;
	outline: none;
}

.btn-tertiary,
.btn-tertiary:focus,
.btn-tertiary:active,
.btn-tertiary:active:focus,
.btn-tertiary:hover,
.btn-tertiary.disabled,
.btn-tertiary:disabled,
.btn-tertiary[disabled]:focus,
.btn-tertiary[disabled]:hover,
.btn-tertiary.disabled:hover,
.btn-tertiary.disabled:focus {
	background: #758187;
	color: #FFF;
	border-color: #758187;
	outline: none;
}

.btn-danger,
.btn-danger:focus,
.btn-danger:active,
.btn-danger:active:focus,
.btn-danger:hover,
.btn-danger.disabled,
.btn-danger:disabled,
.btn-danger[disabled]:focus,
.btn-danger[disabled]:hover,
.btn-danger.disabled:hover,
.btn-danger.disabled:focus {
	background: #f53d3d;
	color: #FFF;
	border-color: #f53d3d;
	outline: none;
}

.btn-light,
.btn-light:focus,
.btn-light:active,
.btn-light:active:focus,
.btn-light:hover,
.btn-light.disabled,
.btn-light:disabled,
.btn-light[disabled]:focus,
.btn-light[disabled]:hover,
.btn-light.disabled:hover,
.btn-light.disabled:focus {
	background: #f4f4f4;
	color: #000;
	border-color: #f4f4f4;
	outline: none;
}

.btn-success,
.btn-success:focus,
.btn-success:active,
.btn-success:active:focus,
.btn-success:hover,
.btn-success.disabled,
.btn-success:disabled,
.btn-success[disabled]:focus,
.btn-success[disabled]:hover,
.btn-success.disabled:hover,
.btn-success.disabled:focus {
	background: #84c14f;
	color: #FFF;
	border-color: #84c14f;
	outline: none;
}

.btn-dark,
.btn-dark:focus,
.btn-dark:active,
.btn-dark:active:focus,
.btn-dark:hover,
.btn-dark.disabled,
.btn-dark:disabled,
.btn-dark[disabled]:focus,
.btn-dark[disabled]:hover,
.btn-dark.disabled:hover,
.btn-dark.disabled:focus {
	background: #222;
	color: #FFF;
	border-color: #222;
	outline: none;
}

.btn-primary *,
.btn-secondary *,
.btn-tertiary *,
.btn-danger *,
.btn-dark *,
.btn-success * {
	color: #FFF;
}

.label-secondary {
	background: #ad2d34;
}

.label-tertiary {
	background: #758187;
}

.text-secondary {
	color: #ad2d34;
}

.text-tertiary {
	color: #758187;
}

.text-light {
	color: #f4f4f4;
}

.alert-info {
	background: rgba(122, 137, 148, 1);
	border-color: #7A8994;
	color: #FFF;
}

.linkGroup {
	margin-top: 30px;
}

.guild .company,
.appointment,
.link {
	margin-right: -10px;
	margin-top: 7px;
	color: #7C8995;
}

div.jqi .lead {
	margin-bottom: 0;
}

.qq-upload-list li {
	font-size: 14px;
}

.comment {
	background: #f5f5f2;
	color: #222;
	padding: 15px 10px;
	margin: 15px 0;
}

.linkgroup .link {
	padding: 7px 10px;
	border-bottom: 1px solid #AAA;
}

.linkgroup .link:last-child {
	border-bottom: 0;
}

.documentGroup {
	position: relative;
	border-radius: 15px;
	color: #FFF;
	margin-top: 15px;
	cursor: pointer;
	text-align: center;
	padding-top: 35px;

}

.documentGroupIcon {
	color: #FFF;
}

.documentGroupBadge {
	color: #FFF;
	background-color: rgba(0, 0, 0, 0.2);
	padding: 3px;
	font-size: 12px;

}

.documentGroup > div {
	position: absolute;
	left: 50%;
	top: 50%;
	transform: translate3d(-50%, -50%, 0);
	font-size: 1.2vw;
	text-align: center;
}

.left-inner-addon {
	position: relative;
}

.left-inner-addon input {
	padding-left: 40px;
}

.left-inner-addon i {
	position: absolute;
	padding: 10px 12px;
	pointer-events: none;
}

#members #documents .document,
#companies .company,
#appointment .user,
#discussions .discussion {
	padding: 15px 0;
	border-bottom: 1px solid #ebebeb;
}

#documents .document:last-child,
#members #companies .company:last-child,
#appointments .appointment:last-child,
#appointment .user:last-child,
#discussions .discussion:last-child {
	border-bottom: 0;
}

#appointments .datepicker,
#appointments .datepicker .datepicker-inline {
	display: inline-block !important;
}

#appointments .datepicker .datepicker-inline .day.today {
	background: transparent;
	border: 0;
	font-weight: bold;
}

#appointments .datepicker .datepicker-inline .day.has-appointment {
	border-radius: 100%;
}

#appointments .datepicker .datepicker-inline .day.has-appointment.appointment0 {
	color: #FFF;
}

#appointments .datepicker .datepicker-inline .day.has-appointment.appointment1 {
	background: #3c763d !important;
	color: #FFF !important;
}

#appointments .datepicker .datepicker-inline .day.has-appointment.appointment2 {
	background: #a94442;
	color: #FFF;
}

#newComment {
	position: fixed;
	bottom: 0;
	left: 33.33333333%;
	width: 66.66666667%;
	min-height: 57px;
	background: #FBFCFD;
	border-top: 1px solid #CCC;
}

#newComment textarea {
	resize: none;
	border: 0;
	background: transparent;
	margin-top: 11px;
	outline: none;
	box-shadow: none;
}

/* SM */
@media (min-width: 768px) {
	#newComment {
		left: 25%;
		width: 75%;
	}
}

/* LG */
@media (min-width: 1200px) {
	#newComment {
		left: 16.66666667%;
		width: 83.33333333%;
	}
}

html, body {
	height: 100%;
}

a:not(.btn), a:visited:not(.btn), a:active:not(.btn), a:focus:not(.btn), a:hover:not(.btn)	 {
	color: #7A8994;
}

.navbar {
	z-index: 1;
}

.btn-primary,
.btn-primary:focus,
.btn-primary:active,
.btn-primary:active:focus,
.btn-primary:hover,
.btn-primary.disabled,
.btn-primary:disabled,
.btn-primary[disabled]:focus,
.btn-primary[disabled]:hover {
	color: #FFF !important;
	outline: none;
}

.btn-primary * {
	color: #FFF;
}

.alert-info {
	background: rgba(122, 137, 148, 1);
	border-color: #7A8994;
	color: #FFF;
}

.guild:not(:first-child),
.documentGroup:not(:first-child),
.linkGroup {
	margin-top: 30px;
}

.guild .company,
.documentGroup .document,
.appointment,
.news,
.admindocument,
.link {
	padding: 5px 0px;
	color: #7A8994;
}

.guild .company:last-child,
.documentGroup .document:last-child {
	margin-bottom: 0;
}

div.jqi .lead {
	margin-bottom: 0;
}

.qq-upload-list li {
	font-size: 14px;
}

.notificationType .panel {
	position: relative;
	color: #CCC;
}

.notificationType .panel .loading {
	position: absolute;
	top: 0;
	bottom: 0;
	left: 0;
	right: 0;
	z-index: 3;
	background: rgba(255, 255, 255, 0.8);
}

.notificationType .panel .loading .icon {
	position: relative;
	top: 30%;
	transform: translateY(-50%);
	font-size: 98px;
	color: #888;
}

.notificationType .panel {
	cursor: pointer;
}

.notificationType .active {
	color: #000;
}

.notificationType .fa-circle {
	/*color: #0F3458;*/
	color: #DDD;
}

.notificationType .active .fa-circle {
	/*color: #8F161D;*/
}

.singleRowItem:hover {
	opacity: 1;
	background: #eee;
}

.navbar-header {
	margin-left: 15px;
}

.logout-navigation {
	margin-top: 15px;
}

.wrapperTable {
	position: relative;
	overflow: auto;
	white-space: nowrap;
}

.sticky-col {
	position: sticky;
	position: -webkit-sticky;
}

.first-col {
	width: 260px;
	min-width: 260px;
	max-width: 260px;
	left: -15px;
}

.second-col1 {
	width: 150px;
	min-width: 150px;
	max-width: 150px;
	left: 260px;
}

.second-col {
	width: 150px;
	min-width: 150px;
	max-width: 150px;
	left: 260px;
}

.shareTableWrapper {
	overflow: auto;
	margin-right: 0px !important;
	margin-left: 0px !important;
}

#shareTable {
	margin-left: -15px;
}

.deinverband-alert {
	margin-top: 100px;
	font-size: 50px;
}

.guildChild {
	margin-left: 37px;
}

.documentChild {
	margin-left: 37px;
}

.guildChildFilter {
	display: none;
}

.footer {
	bottom: 0;
	padding:10px; 
	width: 100%;
	margin-bottom:20px; 
	background-color: #fff; 
	text-align:center; 
	font-size:12px; 
}

.sticky-footer {
	position: fixed;
	bottom: 0;
	width: 100%;
	padding:10px; 
	margin-bottom:20px; 
	background-color: #fff; 
	text-align:center; 
	font-size:12px; 
}
.icon-left{
	margin-right: 5px;
}
.fixed-td{
	white-space: pre-wrap;padding: 2px 8px;overflow:scroll;
}
.receiver {
	position: relative;
	background: #e0e0de;
	border-radius: .4em;
	padding: 12px;
	margin: 18px;
	margin-right: 120px;
	margin-left: 15px;
}

.receiver:after {
	content: '';
	position: absolute;
	left: 0;
	top: 9.6%;
	width: 0;
	height: 0;
	border: 17px solid transparent;
	border-right-color: #e0e0de;
	border-left: 0;
	border-top: 0;
	margin-top: -8.5px;
	margin-left: -12px;
}

.sender {
	position: relative;
	background: #f1f1f1;
	border-radius: .4em;
	padding: 12px;
	margin: 18px;
	margin-right: 15px;
	margin-left: 120px;
}

.sender:after {
	content: '';
	position: absolute;
	right: 0;
	top: 9.6%;
	width: 0;
	height: 0;
	border: 17px solid transparent;
	border-left-color: #f1f1f1;
	border-right: 0;
	border-top: 0;
	margin-top: -8.5px;
	margin-right: -12px;
}

#discussionComments {
	margin-bottom: 50px;
}
.row.headline{
	margin-right: -10px;
}
.row.admindocument {
	margin-right: -10px;
}
.row.news.singleRowItem {
	margin-right: -10px;
}

.no-comments, .private-comments {
	background: #f5f5f2;
	color: #222;
	padding: 15px 10px;
	margin: 15px 0;
}

.tableHeadCompanyAction {
	padding-right: 10px !important;
}

.tableHeadNavigationAction {
	width: 80px !important;
}

.tableNavigationSet, .tableSettingsMailAcc {
	border: 0;
}

.tableSettingsGuilds {
	border: 0 !important;
}

#player {
	margin: 50px auto;
	max-width: 500px;
}

.tableDocumentGroup {
	border: 0 !important;
}

.backContentPage, .backNavPage {
	background-color: #ebebeb !important;
}

@media (max-width: 576px) {

	.jqi {
		margin-left: -200px !important;
	}

	.addDocument {
		margin-top: 15px;
	}

	.fileUpload {
		margin-top: 15px;
	}

	.documentName {
		margin-top: 15px;
	}

	.documentForm {
		margin-top: 15px;
	}

	.docName {
		margin-top: 15px;
	}

	.downloadOption {
		margin-top: 15px;
	}

	.removeDocument {
		margin-top: 15px;
	}
	.searchGroup {
		margin-top: 10px;
	}

	.address-fr-box {
		width: 115mm !important;
	}

	.tableHeadAction {
		width: 0 !important;
	}

	.dateDiscussion {
		margin-top: 15px !important;
	}

	.chevronIconDiscussion {
		float: right;
		font-size: 28px;
		top: 76%;
		margin-top: 20px;
	}

	.newsAdviceStar {
		display: none;
	}

}

@media (min-width: 576px) and (max-width: 768px) {

    .jqi {
        margin-left: -255px !important;
    }

    .addDocument {
        margin-top: 15px;
    }

    .fileUpload {
        margin-top: 15px;
    }

    .documentName {
        margin-top: 15px;
    }

    .documentForm {
        margin-top: 15px;
    }

    .docName {
        margin-top: 15px;
    }

    .downloadOption {
        margin-top: 15px;
    }

    .removeDocument {
        margin-top: 15px;
    }

    .searchGroup {
        margin-top: -5px;
    }

	.address-fr-box {
		width: 120mm !important;
	}

}

@media (min-width: 768px) {

    #navbarButtonList {
        display: none !important;
    }

	.chevronIconDiscussion {
		float: right;
		font-size: 28px;
		top: 76%;
		margin-top: 15px;
	}

	.dateDiscussion {
		margin-top: 15px;
	}

}

@media(max-width:768px){

    body {
        padding-top: 100px !important;
    }

    #menu {
        display:none;
    }

    #content {
        margin-top: 10px;
        padding-left: 8px;
    }

    .logout-button {
        margin: -50px 0 15px 0 ! important;
        display: none;
    }

    .navbar-toggle
	{
        margin-top: 45px !important;
        margin-right: 30px !important;
    }

    #navbarButtonList
	{
        z-index: 999999;
        position: relative;
        margin-top: 45px;
        margin-bottom: -15px;
        max-height: 500px !important;
    }

	#dimmer {
		background:#000;
		opacity:0.5;
		position:fixed;
		top:0;
		left:0;
		width:100%;
		height:100%;
		display: none;
		z-index:99;
	}

    #dangerColor {
        background: #e24e45;
        color: #fff !important;
        border-color: #e24e45;
    }

    .titleMenu {
        padding: 10px;
    }

    .titleButton {
        position: fixed;
        z-index: 1;
        width: 100% !important;
        left: 0;
    }

    .contentPages {
        margin-top: 35px !important;
        padding: 20px 10px 10px 10px !important;
    }

    #newComment {
        position: fixed;
        bottom: 0;
        left: 0%;
        width: 100.5%;
        min-height: 75px;
        background: #FBFCFD;
        border-top: 1px solid #CCC;
    }

    .appointmentRow {
        margin-top:10px !important;
    }

    .container-hat {
        display: none !important;
    }

    .zipAddress {
        margin-top: 10px;
    }

    .locationAddress {
        margin-top: 10px;
    }

	.searchHead {
		margin-top: 5px !important;
	}

	.naviTable {
		margin-top: 20px !important;
	}

	.scrollContent {
		margin-top: 20px;
	}

	.mailSignatureForm {
		margin-top: 10px !important;
	}

	.mailConfigForm {
		margin-top: 10px !important;
	}

	.CodeMirror-gutters, .CodeMirror-vscrollbar,
	.CodeMirror-hscrollbar, .CodeMirror-scrollbar-filler,
	.CodeMirror-gutter-filler {
		z-index: 0 !important;
	}

	.fr-box {
		z-index: 0 !important;
	}

	.chevronIconDiscussion {
		float: right;
		font-size: 28px;
		top: 76%;
		margin-top: 15px;
	}

	.dateDiscussion {
		margin-top: 10px;
	}

	.administratorUser {
		display: none;
	}

	.administratorUserIcon {
		color: #8b002e;
	}

	.rowCompanyUsers {
		padding: 6px 6px 6px 6px !important;
	}

	.singInUserCount {
		display: none;
	}
	
	.imageMedia {
		display: none;
	}

	.tableHeadConfigType, .tableHeadConfigServer,
	.tableHeadConfigName, .tableHeadConfigMail,
	.tableHeadConfigNameServer {
		text-align: center !important;
	}

	.mailActiveSection {
		text-align: center !important;
	}

	.tableSettingsGuilds {
		border: 0 !important;
	}
	
	.tableHeadNewsAdvice, .tableHeadDocumentAdvice,
	.tableHeadAppointmentAdvice {
		display: none;
	}
	
}

@media (min-width: 768px) and (max-width: 992px) {

	.addDocument {
		margin-top: 15px;
	}

	.fileUpload {
		margin-top: 15px;
	}

	.documentName {
		margin-top: 15px;
	}
	.documentForm {
		margin-top: 30px;
	}

	.docName {
		margin-top: 15px;
	}

	.downloadOption {
		margin-top: 15px;
	}

	.removeDocument {
		margin-top: 15px;
	}

	.address-fr-box {
		width: 120mm !important;
	}

}

@media (min-width: 992px) {

	.tableHeadAction {
		padding-right: 25px !important;
	}

	.tableHeadUnionAction {
		padding-right: 40px !important;
	}

	.settingsDeleteMailAccount {
		margin-right: 0 !important;
	}
}

@media (max-width: 992px) {

    .createLink {
        margin-top: 5px;
    }

	.tableHeadPermission {
		width: 0 !important;
	}

	.guildSettingsSet {
		margin-left: 5px !important;
	}

	.guildSettingsDelete {
		margin-left: 5px !important;
	}

	.tableHeadUnionAction {
		padding-right: 20px !important;
	}

	.deleteMailAccount {
		margin-right: 0 !important;
	}

}

@media (min-width: 992px) and (max-width: 1200px) {
	.jqi {
		margin-left: -315px;
	}

	.addDocument {
		margin-top: 15px;
	}

	.fileUpload {
		margin-top: 15px;
	}

	.documentForm {
		margin-top: 30px;
	}

	.docName {
		margin-top: 15px;
	}

	.downloadOption {
		margin-top: 15px;
	}

	.removeDocument {
		margin-top: 15px;
	}

}

@media (min-width: 1200px) {

	.rowTemplateInfo {
		margin-top: 8px !important;
	}

}

@media (max-width: 1200px) {

	.tableHeadUnion, .tableHeadUnionAction {
		width: 0 !important;
	}

	.setTemplateInfoButton {
		margin-top: 10px !important;
	}

}



