/* begin custom michael css */
/*.test { display: none !important; }*/
span.notifi-circle {
	background-color: #f4645f;
    color: white;
    position: absolute;
    right: 10px;
    top: 1px;
    padding: 0 6px 1px 6px;
    border-radius: 50%;
	cursor: pointer;
} 
span.notifi-circle-list {
	background-color: #f4645f;
    color: white;
    margin-left: 5px;
    padding: 0 6px 1px 6px;
    border-radius: 50%;
	cursor: pointer;
} 
span.test {
	
}
div.form-group.utskick {
	margin-bottom: 0 !important;
}
div.negenprocent {
	width: 9%;
	float: left;
}
div.utskicklabel {
	width: 31%;
    background-color: antiquewhite;
    padding: 0;
	float: left;
}
#side-menu hr {
	margin-bottom: 0px;
}
#side-menu i {
	width:20px;
}
#dashbord p {
	margin: 0 0 20px 0;
	padding: 0;
}
span.capitalize {
	text-transform: capitalize;
}
div.dataTables_processing {
	top: 30%;
    height: 180px;
    background: #5cb85c !important;
    padding-top: 75px !important;
    color: white;
    border-radius: 4px;
    font-weight: bold;
}
div.hoger-kolumn .ribbon-pod {
    padding: 18px 20px 0 20px;
    height: 48px;
    color: white;
    text-align: center;
    border-width: 0 30px 30px;
    border-style: solid;
    transform: rotateZ(-45deg);
    border-color: transparent transparent #f28467;
    box-shadow: 0 2px 2px rgba(0,0,0,.12);
    position: absolute;
    margin-left: 125px;
    margin-top: 11px;
}
.long-text {
	display: none;
	position: absolute;
    margin: -20px 2em 0 0;
    background-color: white;
    border: 1px solid #ccc;
    padding: 0.5em;
    font-size: 11px;
}
.btn-primary.restore {
    color: #fff;
    background-color: #bbb;
    border-color: #aaa;
}
.short-text:hover .long-text {
  display: block;
}
.family-list-item {
	float: left;
    width: 45%;
    margin-right: 20px;
}
.form-group p {
	margin: 0 0 20px 0;
	padding: 0;
}
select#answerit {
	padding: 10px;
    border: 1px solid #efefef !important;
    border-radius: 4px;
}

#family-table-search2_filter {
	text-align: left;
    background-color: #fafafa;
    border-radius: 4px;
    padding: 10px 10px 5px 10px;
    margin: 0 0 11px 0;
}
#family-table-search2_filter input {
	width: 320px;
    padding: 6px;
}
#family-table-search2_filter input#searchstatus {
	width: 160px;
    padding: 4px;
}
#family-table-search2_wrapper .dataTables_info,
#family-table-search2_wrapper .dataTables_length {
	width: 30%;
	float: left;	
}
#family-table-search2_wrapper .dataTables_paginate {
	width: 40%;
	float: left;	
}
#family-table-search2_length,
#family-table-search2_wrapper .dataTables_length {
	text-align: center;
}
#family-table_wrapper div.row .col-sm-6:nth-child(1),
#family-table-search_wrapper div.row .col-sm-6:nth-child(1),
#inquiries-table_wrapper div.row .col-sm-6:nth-child(1),
#inquiries-table-search_wrapper div.row .col-sm-6:nth-child(1),
#kommuns-table_wrapper div.row .col-sm-6:nth-child(1),
#ramavtal-table_wrapper div.row .col-sm-6:nth-child(1),
#handledare-table_wrapper div.row .col-sm-6:nth-child(1),
#konsulents-table_wrapper div.row .col-sm-6:nth-child(1) {
	width: 20%;
}
#family-table_wrapper div.row .col-sm-6:nth-child(2),
#family-table-search_wrapper div.row .col-sm-6:nth-child(2),
#inquiries-table_wrapper div.row .col-sm-6:nth-child(2),
#inquiries-table-search_wrapper div.row .col-sm-6:nth-child(2),
#kommuns-table_wrapper div.row .col-sm-6:nth-child(2),
#ramavtal-table_wrapper div.row .col-sm-6:nth-child(2),
#handledare-table_wrapper div.row .col-sm-6:nth-child(2),
#konsulents-table_wrapper div.row .col-sm-6:nth-child(2) {
	width: 80%;
}
#family-table_filter label:nth-child(1),
#family-table-search_filter label:nth-child(1),
#inquiries-table_filter label:nth-child(1),
#inquiries-table-search_filter label:nth-child(1),
#kommuns-table_filter label:nth-child(1),
#ramavtal-table_filter label:nth-child(1),
#handledare-table_filter label:nth-child(1),
#konsulents-table_filter label:nth-child(1) {
	width: 63%;
}
#family-table_filter label:nth-child(1) input,
#family-table-search_filter label:nth-child(1) input,
#inquiries-table_filter label:nth-child(1) input,
#inquiries-table-search_filter label:nth-child(1) input,
#kommuns-table_filter label:nth-child(1) input,
#ramavtal-table_filter label:nth-child(1) input,
#handledare-table_filter label:nth-child(1) input,
#konsulents-table_filter label:nth-child(1) input {
	width: 70%;
}
tr p {
	margin: 0;
	padding: 0;
}
#visa-content {
	margin: 20px 0 5px 25px;
}
.inquiry div.tag-field {
   display: none;
}
div.hoger-kolumn,
div.inquiry-rechts {
	margin-top: -110px;
}
div.inquiry-rechts-fragestallare {
	margin-top: -65px;
}
.closeBTN {
	margin: 5px 0 0 5px;
}
#msg {
	display: none;
}

div.tag-field {
	background: aliceblue;
    border-radius: 4px;
    margin: 20px;
    padding: 5px;
}
div.tag-field .form-group {
	margin-bottom: 0;
}
h3.tag-rubrik {
	margin-top: 5px;
}
div.tag-field .pull-left {
	min-width: 100px;
}
div.fileupload .input-group {
    display: block !important;
}
div.fileupload .input-group input.form-control {
    max-width: 320px;
}
div.bestanden {
	margin: 20px 0;
}
.show div.bestanden {
	margin: 20px 25px;
}
div.bestand {
	margin: 0 0 3px 0;
}
div.bestanden a {
	display: block;
    max-width: 320px;
    min-width: 220px;
	float: left;
}
div#lijst_savedsearch {
  position: absolute;
    width: fit-content;
    border: 1px solid grey;
    padding: 0;
    border-radius: 3px;
    box-shadow: 5px 10px 18px #888888;
    margin: 34px 0 0 80px;
    z-index: 99999999999999;
    background: white;
}
div#lijst_savedsearch ul {
  list-style: none;
    padding: 0;
    margin: 0;
}
	div#lijst_savedsearch li {
	padding: 5px;
	}
div#lijst_savedsearch li.dropdown {
	cursor: pointer;
	}
div#lijst_savedsearch li.dropdown:hover {
	background-color: #efefef;
	}
#searchForm {
	background-color: #efefef;
    padding: 10px 0 1px 30px;
    border-radius: 4px;
}
#searchForm label.huvud {
    width: 200px;
	font-weight: bold;
}
#searchForm label {
	font-weight: normal;
}
#show-filter {
    
}
.breed-4 {
	width: 25%;
	float: left;
}
.options-float {
	float: left;
    padding: 0 10px 0 0;
}
label.huvud {
	float: left;
	margin-right: 1em;
}
div.no-row-margin div.form-group {
    margin-bottom: 0px;
}
.lan {
	width: 119px;
	float: left;
}
.lan label {
	font-weight: normal;
	font-size: 13px;
}
div#form-lan {
	border: 1px solid #CCC;
    width: 83%;
    border-radius: 4px;
    padding: 10px;
}
div#form-lan label {
	margin-right: 10px;
}
div#form-lan input[type="checkbox"] {
	margin-right: 5px;
}
div.bestanden button {
	float: left;
    margin: 0 0 0 10px;
}
div.bestanden a img {
	max-height: 25px;
}
div.images a img {
	max-width: 100px;
}
p.helptext {
	margin: 5px 0;
    font-size: small;
    color: grey;
}
#inquiries-table,
#family-table {
	width: 100% !important;
}
span.invalid-feedback {
	display: inline-block;
	color: #a94442;
    background-color: #f2dede;
    border-color: #ebccd1;
	padding: 5px;
    margin: 5px;
    border: 1px solid transparent;
    border-radius: 4px;
}
p.slogan {
	font-weight: bold;
    font-style: italic;
    margin: -10px 0 20px 0;
}
a.allahem-logo-right {
    padding: 2px;
    display: block;
}
a.allahem-logo-right img {
    max-width: 100%;
}
a.blueLink {
	color: blue;
    text-decoration: underline;
}
img.user_comp_logo {
   max-width: 100%;
    max-height: 100%;
}
div.nav-right-bg {
	background-image: url(/img/favicon_allaHem.png);
    background-repeat: no-repeat;
    background-position: 38px 617px;
    background-size: 150px;
}
div#page-wrapper {
	background-image: url(/img/wallpaper.png);
	background-size: cover;
	display: flex;
}
div#page-wrapper .print-canvas {
	max-width: 1100px;
    background-color: white;
    padding: 0 2em 2em 2em;
    margin: 2em 2em 2em 0;
}
.printBTN {
	float: right;
    margin-top: -15px;
    font-size: 14px;
}
img.footer-logo {
	height: 30px;
	width: auto;
}
table.dataTable thead > tr > th {
    padding-left: 3px;
    padding-right: 3px;
}
div#user-image {
	float: left;
    background-color: white;
    height: 46px;
    padding: 5px;
    border-radius: 3px;
    margin: 3px;
}
.handledare img.media-object, .konsulent img.media-object, .family img.media-object{
	max-width: 320px;
}
img.media-object {
	border: 1px solid #eee;
    border-radius: 7px;
    margin: 3px 26px 3px 3px;
    max-width: 90%;
    padding: 1em;
}
img.edit-logo {
	border: 1px solid #ccc;
    border-radius: 7px;
    margin: 1px;
    max-width: 100%;
    padding: 1px;
	float: right;
}
:disabled {
  display: none !important;
}
.show-disabled :disabled {
  display: initial !important;
	color: #ccc !important;
}
h3.extra {
	margin: 0;
}
.ramavtal-links h3 {
	margin-left: 25px;
}
.ramavtal-links div.radio {
	margin-left: 25px;
}
.ramavtal-links span.kommun {
	margin-right: 1em;
}
p.underrubrik {
	padding: 0;
    margin: 0;
    max-width: 530px;
}
p.underlabel {
	clear: both;
    margin: 0px 0 0 15px;
    color: grey;
}
p.underlabel2 {
	clear: both;
    margin: 0;
	padding: 0;
    color: grey;
}
div.extra-rubrik {
	display: inline-block;
	border: 1px solid #ccc;
    padding: 10px;
    margin-bottom: 20px;
    background-color: #fffffd;
}
div.copyright p {
	text-align: right;
    font-size: 11px;
    margin: 0;
}
div.smalltext {
    font-size: 9px;
    margin: 0 0 2px 0;
}
div.smalltext span.badge {
    font-size: 6px;
    
    padding: 2px 4px;
}
.row-max-width{
	max-width: 1100px;
}
span.mini-rubrik {
	font-weight: bold;
}
#user-info {
    max-height: 51px;
    /* width: 351px; */
    float: right;
    font-size: larger;
    color: white;
}
#user-info p {
	padding: 13px 0 0 0;
    float: left;
}

.btn.visa-all {
	clear: both;
	display: flex;
}
.visa-all:hover {
	cursor: pointer !important;
}
.visa-all span {
	border: 1px solid #ccc;
    padding: 5px 10px;
    border-radius: 4px;
    display: inline-block;
    margin: 0 0 5px 0;
}
.conversation {
	border: 1px solid #eee;
    padding: 5px;
    border-radius: 4px;
	max-height: 100px;
	overflow: hidden;
	-moz-transition: opacity 1s, visibility 1.3s;
    -webkit-transition: opacity 1s, visibility 1.3s;
    -o-transition: opacity 1s, visibility 1.3s;
    transition: opacity 1s, visibility 1.3s;
}
.conversation.expanded{
    max-height:none;
	-moz-transition: opacity 1s, visibility 1.3s;
    -webkit-transition: opacity 1s, visibility 1.3s;
    -o-transition: opacity 1s, visibility 1.3s;
    transition: opacity 1s, visibility 1.3s;
}
.from-dialog-data {
	display: none;
	visibility: hidden;
}
h3.dialog-rubrik, h3.dagbok-rubrik {
	padding: 20px 0 0 25px;
}
form#dialogab {
	padding: 4px;
    margin: 0 0 0 25px;
    line-height: 1.42857143;
    background-color: #fff;
    border: 1px solid #ddd;
    border-radius: 4px;
	font-size: 12px;
}
form#dialogab label {
	font-weight: normal;
}
div.handledare, div.konsulent {
	max-width: 1100px;
}
/* responsive part ipad */
@media only screen and (max-width: 768px) {
	#user-info {
	position: absolute;
    top: 0;
    left: 0;
	}
	ul.navbar-top-links {
	position: absolute;
    top: 0;
    right: 59px;
	}
	ul.navbar-top-links li {
		margin: 0 !important;
	}
	ul.navbar-top-links li a {
		padding: 15px 5px;
	}
	.no-mobile {
		display: none;
	}
	.dataTables_wrapper .col-sm-6 {
		width: 47%;
		float: left;
	}
	#users-table,
	#konsulents-table {
		width: 100% !important;
	}
	/*
	#users-table tr > *:nth-child(2),
	#users-table tr > *:nth-child(5) {
    display: none;
	}
	#konsulents-table tr > *:nth-child(2),
	#konsulents-table tr > *:nth-child(5),
	#konsulents-table tr > *:nth-child(6) {
    display: none;
	}
	#family-table tr > *:nth-child(1),
	#family-table tr > *:nth-child(5),
	#family-table tr > *:nth-child(6) {
    display: none;
	}
	#family-table-search tr > *:nth-child(1),
	#family-table-search tr > *:nth-child(5),
	#family-table-search tr > *:nth-child(6) {
    display: none;
	}
	#inquiries-table tr > *:nth-child(4),
	#inquiries-table tr > *:nth-child(6) {
    display: none;
	}
	#inquiries-table-search tr > *:nth-child(4),
	#inquiries-table-search tr > *:nth-child(6) {
    display: none;
	}
	*/
}
/* responsive part mobile */
@media only screen and (max-width: 414px) {
	#searchForm label.huvud {
   	    width: 100%;
		clear: both;
		font-weight: bold;
	}
	#searchForm label {
		font-weight: normal;
	}
	.printBTN {
	display: none;
	}
	div.dataTables_length {
		display: none;
	}
	img.user_comp_logo {
		max-width: 100%;
	}
	#show-closed {
		display: none;
	}
	.breed-4 {
    width: 60%;
    float: none;
	}
	#family-table_wrapper div.row .col-sm-6:nth-child(2),
	#family-table-search_wrapper div.row .col-sm-6:nth-child(2),
	#inquiries-table_wrapper div.row .col-sm-6:nth-child(2),
	#inquiries-table-search_wrapper div.row .col-sm-6:nth-child(2),
	#kommuns-table_wrapper div.row .col-sm-6:nth-child(2),
	#ramavtal-table_wrapper div.row .col-sm-6:nth-child(2),
	#handledare-table_wrapper div.row .col-sm-6:nth-child(2),
	#konsulents-table_wrapper div.row .col-sm-6:nth-child(2) {
    	width: 100%;
    	float: none !important;
		clear: both;
	}
	div#family-table_filter,
	div#family-table-search_filter,
	div#inquiries-table_filter,
	div#inquiries-table-search_filter,
	div#kommuns-table_filter,
	div#ramavtal-table_filter,
	div#handledare-table_filter,
	div#konsulents-table_filter {
		text-align: right;
	}
	div#family-table_filter input.form-control,
	div#family-table-search_filter input.form-control,
	div#inquiries-table_filter input.form-control,
	div#inquiries-table-search_filter input.form-control,
	div#kommuns-table_filter input.form-control,
	div#ramavtal-table_filter input.form-control,
	div#handledare-table_filter input.form-control,
	div#konsulents-table_filter input.form-control {
		width: 240px;
		height: 30px;
		border-radius: 3px;
		padding: 3px;
		margin: 3px;
	}
	div#family-table_filter label,
	div#family-table-search_filter label,
	div#inquiries-table_filter label,
	div#inquiries-table-search_filter label,
	div#kommuns-table_filter label,
	div#ramavtal-table_filter label,
	div#handledare-table_filter label,
	div#konsulents-table_filter label {
		display: inline;
	}
	#page-wrapper {
		margin: 0;
		padding: 0;
	}
	table.dataTable thead > tr > th {
    padding-left: 3px;
    padding-right: 3px;
    font-size: 11px;
	}
	div#page-wrapper .print-canvas {
		margin: 0;	
		padding: 15px;
		width: 100%;
	}
	.dataTables_wrapper .col-sm-6 {
    width: fit-content;
	}
	.table>tbody>tr>td {
    padding: 7px;
    font-size: 12px;
	}
	.header-user-role {
		display: none;
	}
	#user-image {
		display: none;
	}
	#user-info {
    padding-left: 15px;
	}
	div.inquiry-rechts-fragestallare {
    margin-top: 0px;
	}
	div.hoger-kolumn, div.inquiry-rechts {
    margin-top: 0px;
	}
	div.hoger-kolumn .ribbon-pod {
		margin-left: 3px;
	}
	#kommuns-table,
	#family-table-search,
	#ramavtal-table,
	#inquiries-table-search,
	#handledare-table,
	#activities-table {
		width: 100% !important;
	}
	.nomobile {
		display: none;
	}
	th.familyname, td.familyname {
		width: 80%;
	}
	th.actions, td.actions {
		width: 20%;
	}
	#users-table tr > *:nth-child(1),
	#users-table tr > *:nth-child(2),
	#users-table tr > *:nth-child(4) {
    display: none;
	}
	#konsulents-table tr > *:nth-child(1),
	#konsulents-table tr > *:nth-child(4),
	#konsulents-table tr > *:nth-child(5) {
    display: none;
	}
	#kommuns-table tr > *:nth-child(2),
	#kommuns-table tr > *:nth-child(4),
	#kommuns-table tr > *:nth-child(5) {
    display: none;
	}
	#ramavtal-table tr > *:nth-child(1),
	#ramavtal-table tr > *:nth-child(3),
	#ramavtal-table tr > *:nth-child(4) {
    display: none;
	}
	#handledare-table tr > *:nth-child(2),
	#handledare-table tr > *:nth-child(4) {
    display: none;
	}
	#activities-table tr > *:nth-child(2),
	#activities-table tr > *:nth-child(4) {
    display: none;
	}
	#dialogs-table tr > *:nth-child(3),
	#dialogs-table tr > *:nth-child(4) {
    display: none;
	}
}
@media (min-width: 768px) {
	.sidebar {
		z-index: 1;
		position: absolute;
		width: 250px;
		margin-top: 52px;
	}
	th.actions {
	min-width: 230px !important;
	}
}
/* end custom michael css */
.badge:hover {
    color: #ffffff;
    text-decoration: none;
    cursor: pointer;
}
.badge-error {
    background-color: #b94a48;
}
.badge-error:hover {
    background-color: #953b39;
}
.badge-warning {
    background-color: #f89406;
}
.badge-warning:hover {
    background-color: #c67605;
}
.badge-success {
    background-color: #468847;
}
.badge-success:hover {
    background-color: #356635;
}
.badge-info {
    background-color: #3a87ad;
}
.badge-info:hover {
    background-color: #2d6987;
}
.badge-inverse {
    background-color: #333333;
}
.badge-inverse:hover {
    background-color: #1a1a1a;
}
.badge-danger {
    background-color: #d9534f;
}
.badge-danger:hover {
    background-color: #c9302c;
}

.dropdown-menu {
    /*position:relative;*/
    /*width:100%;*/
    /*top: 0px !important;*/
    /*left: 0px !important;*/
}

.mx-1{
    margin-left: 25px;
    margin-right: 25px;
}
h2.mx-1 {
	max-width: 57%;
}
.mt-20px{
    margin-top: 20px;
}

.speech-bubble-left {
    margin-top: 20px;
    margin-left: 30px;
    margin-right: 80px;
    position: relative;
    background: #205081;
    border-radius: .4em;
    color:#ffffff;
    padding: 15px;
}

.speech-bubble-left:after {
    content: '';
    position: absolute;
    right: 0;
    top: 50%;
    width: 0;
    height: 0;
    border: 16px solid transparent;
    border-left-color: #205081;
    border-right: 0;
    margin-top: -16px;
    margin-right: -16px;
}

.speech-bubble-right {
    margin-top: 20px;
    margin-left: 80px;
    margin-right: 30px;
    position: relative;
    background: #f08966;
    border-radius: .4em;
    color:#ffffff;
    padding: 15px;
}

.speech-bubble-right:after {
    content: '';
    position: absolute;
    left: 0;
    top: 50%;
    width: 0;
    height: 0;
    border: 16px solid transparent;
    border-right-color: #f08966;
    border-left: 0;
    margin-top: -16px;
    margin-left: -16px;
}
.message {
	background: darkgrey;
    color: #eee;
    padding: 10px;
    border-radius: 4px;
    margin: 0 0 10px 0;
}
.message:hover {
	background: #999;
	color: white;
    }
.message h4 {
	margin: 0;
}
.message a {
	color: #eee;
}
.message:hover a {
	color: #fff;
}
/* activities */

#activity-messages .speech-bubble-left {
    margin-top: 20px;
    margin-left: 30px;
    margin-right: 80px;
    position: relative;
    background: #30a8ac;
    border-radius: .4em;
    color:#ffffff;
    padding: 15px;
}
#activity-messages .speech-bubble-left strong {
    font-size: 11px;
}
#activity-messages .speech-bubble-left p {
    position: inherit;
}
#activity-messages .speech-bubble-left:before {
 position: absolute;
    font-family: 'FontAwesome';
    bottom: -5px;
    right: 10px;
    content: "\f133";
    font-size: 70px;
    color: #d0edef;
    float: right;
}
#activity-messages .speech-bubble-left:after {
    content: '';
    position: absolute;
    right: 0;
    top: 50%;
    width: 0;
    height: 0;
    border: 16px solid transparent;
    border-left-color: #30a8ac;
    border-right: 0;
    margin-top: -16px;
    margin-right: -16px;
}

#activity-messages .speech-bubble-right {
    margin-top: 20px;
    margin-left: 80px;
    margin-right: 30px;
    position: relative;
    background: #d0edef;
    border-radius: .4em;
    color:#394042;
    padding: 15px;
}
#activity-messages .speech-bubble-right strong {
    font-size: 11px;
}
#activity-messages .speech-bubble-right p {
    position: inherit;
}
#activity-messages .speech-bubble-right:before {
 position: absolute;
    font-family: 'FontAwesome';
    bottom: -5px;
    right: 10px;
    content: "\f133";
    font-size: 70px;
    color: white;
    float: right;
}
#activity-messages .speech-bubble-right:after {
    content: '';
    position: absolute;
    left: 0;
    top: 50%;
    width: 0;
    height: 0;
    border: 16px solid transparent;
    border-right-color: #d0edef;
    border-left: 0;
    margin-top: -16px;
    margin-left: -16px;
}
#activity-messages .badge {
	/*
	position: absolute;
    right: 1px;
    top: 1px;*/
}
#activity-messages .trash {
	/*
	position: absolute;
    right: 1px;
    top: 21px;*/
}
div.activity-actions {
	width: 80px;
	position: absolute;
	right: 0;
	top: 0;
}
a.activity-edit {
    margin: 1px 0 0 0;
    padding: 0px 2px;
    font-size: 12px;
}
#dialog-messages .badge {
	position: absolute;
    right: 1px;
    top: 1px;
}
#dialog-messages .trash_dialog {
	position: absolute;
    right: 1px;
    top: 21px;
}
#activity .input-group{
    width: 100%;
}

#activity .dropdown{
    width: 100%;
    display: grid;
}
.dataTable tr td:last-child,
.dataTable tr th:last-child {
    width:1%;
    white-space:nowrap;
}
.column-action-buttons{
    width:1%;
    white-space:nowrap;
}
.btn {
    margin-bottom: 4px;
}
.valid-feedback{
    color: #5cb85c;
    display: none;
}
#new-tags span.twitter-typeahead {
	display: initial !important;
}
button#connect-tags {
	display: none;
}
p.etikett {
	padding: 0;
    font-size: 12px;
}
.twitter-typeahead{
    width: 50%;
}
.organisation .twitter-typeahead,
.full-width.twitter-typeahead {
    width: 100%;
}