/** CLIENT **/
.table-clients.table thead > tr {
	background: #fff;
}
.table-clients.table th,
.table-clients.table td {
    padding: .25rem .75rem;
}
.table-clients td:nth-child(2) {
	width: 100px;
}

/* Conteneur principal du plugin client */
.page-sheet-client .client-container {
	display: flex;
    flex: 1;
    min-height: 100%;
    overflow-x: hidden;
}

.module-client.embedded #mainMenu,
.module-client.embedded .footer{
	display: none;
}

.module-client.embedded .container-fluid{
	padding-top: 0px;
}

.module-client.embedded .search-container{
	max-width: 100%;
	flex: 0 0 100%;
}

.client-dynamic-fields .data-type-checkbox-list .dropdown-toggle{
	    white-space: break-spaces;
}

.module-client.embedded body {
    margin-bottom: 0px;
}

.page-sheet-client .client-container[data-id=""] .client-menu-bar li,
.page-sheet-client .client-container[data-id=""] .btn-delete-client{
	display: none;
}

.page-sheet-client .container-fluid{
	padding: 50px 0px 0 0px;
	min-height: 100%;
	height:100%;
}
.page-sheet-client body,html.page-sheet-client{
	height:100%;
	margin-bottom: 0px!important;
	min-height: 100%;
}
.page-sheet-client .footer{
	display: none;
}
.client-summary-panel{
	order:1;
	width: 20%;
	max-width: 305px;
	min-height: 100%;
}
.client-content-panel{
    flex: 1;
    order: 2;
    background: #f7f7f7;
    min-height: 100%;
}

.#client-merge-modal .merge-logs{
	max-width: 300px;
	font-size: 10px;
	overflow: auto;
}

.client-dynamic-fields > .row{
	margin: 5px 0 5px 0;
}


.client-info .condition-block label:nth-child(1){
	display: block;
}
.client-info .field-block{
	display: block;
}
.client-contact-panel{
	min-height: 100%;
    background-color: #ffffff;
    right: 0px;
    width: 20%;
    overflow-y: auto;
    order: 3;
    padding: 0px;
}
.client-contact-panel .dropdown-menu.show {
	font-size: 0.9em;
}
.client-contact-panel .client-contact-toggle{
	position: absolute;
    left: 5px;
    top: 28px;
    color: #cecece;
}
.contact-type-block #civility{
	max-width: 70px;
	cursor: pointer;
	text-align: center;
	   color: #979797;
    background: #eaeaea;
    padding: 0 0 0 6px;
}
.page-sheet-client .client-container[data-id=""] .client-edition{
	display: none;
}
.client-content-panel .client-menu-bar{
	background-color: #ffffff;
	position: relative;
}

.client-content-panel .contact-btn{
	cursor: pointer;
    position: absolute;
    right: 20px;
    top: 17px;
}

.client-content-panel .client-menu-bar > ul{
	list-style-type: none;
	padding: 0;
	margin: 0;
	box-shadow: inset 0 0px 0px 4px #f0f1f6;
}
.client-history{
	padding:20px;
}
.client-history > ul{
	margin:0;
	list-style-type: none;
	padding:0;
}
.client-history > ul > li{
	background-color: #ffffff;
	padding:10px;
	margin-bottom: 5px;
}
.client-form-advanced{
	display: none;
}
.client-history .client-history-date{
	text-align: center;
	width:40px;
}
.client-history .client-history-content{
	width: calc( 100% - 70px);
	vertical-align: top;
	text-align: center;
}
.client-history .client-history-author{
	color:#cecece;
}
.client-history .client-history-date i{
	position: relative;
	font-size: 30px;
	display: block;
}

.client-history-options li{
	display: inline-block;
	margin-left: 10px;
}
.client-history-options li i{
	font-size: 11px;
	cursor: pointer;
}
.client-history-options{
	position: absolute;
	bottom: 10px;
	list-style-type: none;
	padding: 0;
	margin: 0;
	right: 10px;
	color: #cecece;
}

.client-history #historys li{
	position: relative;
}

.client-history .client-history-date i span{
    font-size: 10px;
    top: 13px;
    position: absolute;
    left: 0px;

    text-align: center;
    width: 100%;
    display: block;
    font-weight: bold;
    font-family: Lato;
}
.client-content-panel .client-form{
	margin:50px 40px 40px 40px;
	background-color: #ffffff;
	position: relative;
}
.client-content-panel .client-form.client-form-map{
	margin:40px;
	background-color: #ffffff;
	position: relative;
}
.client-content-panel .client-form .client-map{
	float: left;
	width:50%;
	background-color: #333333;
	background-image:url('../img/default-map.jpg');
	background-size:cover;
	filter: grayscale(1);
	min-height: 425px;
	box-sizing: border-box;
	position:relative;
	text-align:right;
	display: none;
	transition:all 0.2s ease-in-out;
}

.client-content-panel .client-form.client-form-map .client-map{
	display: block;
}

.client-content-panel .client-form .client-map:hover{
	filter: grayscale(0);
}


.client-content-panel .client-form .client-map .gmap_canvas {
	overflow:hidden;
	background:none!important;
	height:100%;
	width:100%;
}


.page-sheet-client .client-container[data-client-type="individual"] .type-firm{
	display: none;
}
.page-sheet-client .client-container[data-client-type="firm"] .type-individual{
	display: none;
}

.client-content-panel .client-form .client-thumbnail{
	position: absolute;
    top: -45px;
    left: calc(50% - 59px);
    width: 110px;
    background-size: cover;
    background-position: center;
    background-color: #333;
    height: 110px;
    z-index: 100;
    color: #ffffff;
    border: 8px solid #ffffff;
    border-radius: 100%;
    cursor: pointer;
}
.client-content-panel .client-form.client-form-map .client-thumbnail{
	top:calc(50% - 59px);
	left:-60px;
}

.client-api .dropdown-item{
	font-size: 10px;
}

.client-image-edit{
	cursor: pointer;
	background-size: cover;
	background-repeat: no-repeat;
	background-position: center;
	position: relative;
}
.client-image-edit:hover .client-image-edit-button{
	background-color: rgba(0,0,0,0.9);
	transform: scale(1.1);
	opacity: 1;
}
.client-image-edit-button{
	color: #fff;
	left: calc(50% - 25px);
	top: calc(50% - 25px);
	background-color: rgba(0,0,0,0.5);
	padding: 15px 0;
	text-align: center;
	transform: scale(0.2);
	border-radius: 100%;
	opacity: 0;
	width: 50px;
	height: 50px;
	transition: all 0.2s ease-in-out;
	position: absolute;
}



.client-content-panel .client-form .client-info .btn,.client-contact-panel .btn{
	border-radius: 0;
	border:0;
	padding:10px;
}
.client-content-panel .client-form .client-info .btn-dark,.client-contact-panel .btn-dark {
	background-color: #5f5f6d;
	transition: background 0.2s ease-in-out;
}
.client-content-panel .client-form .client-info .btn-dark:hover,.client-contact-panel .btn-dark:hover {
	background-color: #414143;

}
.client-content-panel .client-form .client-info .btn-info,.client-contact-panel .btn-info {
	background-color: #67bff1;
	transition: background 0.2s ease-in-out;
}
.client-content-panel .client-form .client-info .btn-info:hover,.client-contact-panel .btn-info:hover {
	background-color: #1fa2ec;
}

.client-content-panel .client-form .client-info{
	float: left;

	padding: 25px;
	width:100%;
	box-sizing: border-box;
}
.client-content-panel .client-form.client-form-map .client-info{
	width: 50%;
	padding: 15px 15px 15px 50px;
	min-height: 425px;
}
.client-content-panel .client-form .client-info label{
	text-transform: uppercase;
	color:#b3b4ca;
	font-size: 12px;
	margin-bottom: 0;
}
.client-content-panel .client-form .client-info .form-control{
	font-weight: bold;
	border:0;
	border-radius: 0;
	border-bottom: 3px solid #dadada;
	color:#565a7c;
	font-size:12px;
}
.client-content-panel .client-form .client-info textarea.form-control{
	background-color: #f3f3f3;
}
.client-content-panel .client-form .client-info .btn-more-fields:hover {
    animation: vshake 0.82s cubic-bezier(.36,.07,.19,.97) both;
}
.client-content-panel .client-form .field-block {
	margin-bottom: 0.5rem;
}
.client-content-panel .client-form .client-info{
	position: relative;
}
.client-content-panel .client-form .client-info .btn-options{
	position: absolute;
	right:5px;
	top:5px;
	color:#cecece;
}
.client-contact-panel .contact-template{
	position: relative;

}
.client-contact-panel .contact-template .btn-options,
.client-contact-panel .address .btn-options
{
	position: absolute;
	right:5px;
	top:5px;
	color:#cecece;
	transition: opacity 0.2s ease-in-out;
	opacity:0;
}
.client-contact-panel .contact-template:hover .btn-options,
.client-contact-panel .address:hover .btn-options
{
	opacity:1;
}


.client-content-panel .client-menu-bar > ul >li{
	border-bottom: 4px solid #f0f1f6;
	color: #565b78;
	font-weight: bold;
	float: left;
	max-width: 200px;
	cursor: pointer;
	text-align: center;
	text-transform: uppercase;
	transition: all 0.2s ease-in-out;
}
.client-content-panel .client-menu-bar > ul >li a{
	color: inherit;
	padding:15px;
	display: block;
}
.client-content-panel .client-menu-bar > ul >li a:hover{
	color: inherit;
	text-decoration: none;
}
.client-content-panel .client-menu-bar > ul:after{
	content :'';
	display: block;
	clear: both;
}
.client-content-panel .client-menu-bar > ul >li:hover{
	border-bottom: 4px solid #64bcfa;
	color:#6cb9ec;
}
.client-content-panel .client-menu-bar > ul >li.active{
	border-bottom: 4px solid #64bcfa;
	color:#6cb9ec;
}
.client-contact-panel h4{
	font-size: 11px;
	font-weight: bold;
	color:#545b7f;
	margin: 15px;
}
.client-contact-panel .btn.btn-info{
	box-sizing: border-box;
	margin: 0 15px;
	margin-bottom: 0;
	width: calc(100% - 30px);
}

.client-contact-panel .internals-list,
.client-contact-panel .contacts-list,
.client-contact-panel .addresses-list {
	list-style-type: none;
	margin:0;
	padding:0;
}
.client-contact-panel .internals-list > li,
.client-contact-panel .contacts-list > li,
.client-contact-panel .addresses-list > li {
	padding: 5px 20px;
	cursor: pointer;
}
.client-contact-panel .internals-list > li:hover,
.client-contact-panel .contacts-list > li:hover,
.client-contact-panel .addresses-list > li:hover {
	background-color: #f8f8f8;
}
.client-contact-panel .internals-list > li .contact-avatar,
.client-contact-panel .contacts-list > li .contact-avatar,
.client-contact-panel .addresses-list > li .address-avatar {
	border: 2px solid #a5ca59;
	border-radius: 100%;
	width:60px;
	height:60px;
	display: inline-block;
	vertical-align: top;
	text-align: center;
}
.client-contact-panel .internals-list > li .contact-avatar img,
.client-contact-panel .contacts-list > li .contact-avatar img {
	width:50px;
	height:50px;
	margin-top: 3px;
}
.client-contact-panel .addresses-list > li .address-avatar i {
	width:50px;
	line-height: 50px;
	font-size: 30px;
	height:50px;
	margin-top: 3px;
}
.client-contact-panel .addresses-list > li .adress-content {
	max-width: 75%;
}
.client-contact-panel .internals-list > li h2,
.client-contact-panel .contacts-list > li h2,
.client-contact-panel .addresses-list > li h2{
	color:#2e3841;
	font-size: 16px;
	margin:0;
	padding-bottom:0;
	font-weight: bold;
}
.client-contact-panel .internals-list > li span,
.client-contact-panel .contacts-list > li span,
.client-contact-panel .addresses-list > li p {
	color:#c5c5c7;
	font-size: 12px;
}
.client-summary-sheet{
	border-bottom: 1px solid #e2e2e2;
	padding-bottom:10px;
	margin-bottom:10px;
}




.client-summary-panel .client-label{
	color:#42454e;
	font-weight: bold;
	font-size: 18px;
}
.client-summary-panel .client-job{
	color:#66b0dc;
	font-size: 14px;
	font-weight: bold;
}
.client-summary-panel .client-city{
	color:#d7d6dc;
	font-size: 14px;
}
.client-summary-panel .client-contact{
	margin:0px 0 10px 0;
	padding:0;
}
.client-summary-panel .client-contact li{
	color:#898fa7;
	list-style-type: none;
	padding:5px 0;
	margin:0;
	font-weight: bold;
	font-size: 12px;
}
.client-summary-panel .client-contact span{
	color:#4c4d59;
}
.client-summary-panel .client-contact i{
	color:#9fa1ad;
}


.client-summary-panel .client-created{
	color:#9fa1ad;
	padding: 5px 0;
	font-size: 12px;
}

.client-summary-panel .client-created span{
	color:#4c4d59;
	font-weight: bold;
}




.client-summary-panel .client-thumbnail{
	width: 100%;
	background-size: cover;
	background-position: center;
	background-repeat: no-repeat;
	background-color: #19a2d6;
	height:200px;
}



.client-summary-sites h3,.client-summary-memberof h3{
	color:#696975;
	font-size: 16px;
	padding:10px 20px;
}
.client-summary-sites > ul,.client-summary-memberof > ul{
	margin: 0;
	padding: 0;
}


.client-summary-sites .site-block,.client-summary-memberof  .site-block{
	color:#696975;
	font-size: 16px;
	list-style-type: none;
	padding:10px 20px;
	transition: all 0.2s ease-in-out;
	cursor: pointer;
	position: relative;
}

.client-summary-sites .site-block:hover,.client-summary-memberof  .site-block:hover{
	background-color: #f1f1f6;
}

.client-summary-sites .site-block a:hover,.client-summary-memberof  .site-block a:hover{
	text-decoration: none;
	color:inherit;
}

.client-summary-sites .btn-relation-delete,.client-summary-memberof  .btn-relation-delete{
	color:#cecece;
	position: absolute;
	right: 15px;
	font-size: 10px;
	opacity: 0;
	transform: rotate(180deg);
	transition: all 0.2s ease-in-out;
	top:calc(50% - 5px);
	cursor: pointer;
}

.client-summary-sites  .site-block:hover .btn-relation-delete,.client-summary-memberof  .site-block:hover .btn-relation-delete{
	opacity: 1;
	transform: rotate(0deg);
}



.client-summary-sites > ul li.active,
.client-summary-sites > ul li.active:hover,
.client-summary-memberof > ul li.active,
.client-summary-memberof > ul li.active:hover,
{
	background-color: #66bef0;
	color:#fffefb;
}

.client-summary-sites .site-block h4,
.client-summary-memberof .site-block h4{
	color:#62656e;
	font-size: 14px;
	font-weight: bold;
}
.client-summary-sites .site-block i,
.client-summary-memberof .site-block i{
	color:#a3afb7;
}
.client-summary-sites .site-block p,
.client-summary-memberof .site-block p{
	color:#babec8;
	padding:0;
	margin:0;
	font-size: 12px;
}

.condition-block label:nth-child(4){
	margin-right: 10px;
}


.client-list-internals{
	height:100%;
	overflow: auto;
}
.client-list-internals ul{
	margin:0;
	padding:0;
}
.client-list-internals li{
	list-style-type: none;
	padding:5px;
}
.client-list-internals ul li small{
	text-transform: uppercase;
	font-weight: bold;
	font-size: 10px;
	color:#a2a2a2;
}
.client-list-internals ul li .avatar-mini{
	margin-right:5px;
    width: 20px;
    height: 20px;
}

.client-logo-mini{
	height: 50px;
	width: 50px;
}

.client-content-page .table,.client-content-page .table tr > th:first-of-type,.client-content-page .table tr > td:first-of-type{
	border:0;
	background:#ffffff;
}
.client-content-page .table thead th,.client-content-page .table tbody td{
	border:0;
}

.client-contact-panel .address{
	position: relative;
}
.client-container .mobile{
		display: none;
}

#client-internet-modal .modal-preloader i{
   font-style: normal;
   margin: 4px 0 0 9px;
   display: block;
}

.client-card {
	min-width: 300px;
	text-align: center;
    padding: 20px;
}

.client-card .logo{
	width: 50px;
}

.client-card .client-card-contacts{
	text-align: left;
}

/* TABLE CHECKBOX */
.btn-checkbox-action{
	opacity:1;
	transition: all 0.2s ease-out;
}
.btn-checkbox-action[data-count="0"]{
	opacity:0;
}

.client-container[data-editable="0"] .editable-only{
	display: none;
}
.client-container[data-editable="1"] .editable-only{
	display: auto;
}

@media only screen and  (max-device-width : 480px) {

	.page-sheet-client .client-container{
		display: block;
	}

	.client-summary-panel{
		width:100%;
		max-width:100%;
	}

	.client-summary-panel .client-thumbnail{
		height: 100px;
	}
	.client-image-edit-button{
		opacity: 1;
		transform: scale(1);
	}
	.client-content-panel .client-menu-bar > ul >li a{
		padding:5px;
		font-size: 14px;
	}
	.client-content-panel .client-menu-bar > ul >li{
		width: 50%;
		min-width: 50%;
	}


	.client-content-panel .client-form .client-map {
	    float: none;
	    width: 100%;
	    min-height: 225px;
	}
	.client-content-panel .client-form.client-form-map{
		margin:0;
	}
	.client-content-panel .client-form.client-form-map .client-info{
		width: 100%;
		padding:5px;
	}

	.client-contact-panel{
		width:100%;
		position: absolute;
		background: #ffffff;
		left: 0;
		top:50px;
		display: none;
	}

	.client-container .client-map{
		height: 200px!important;
	}

	.client-container .mobile{
		display: initial;
	}
}
