/* theme styles */
body {
	background-color: #fcfcfc;
}

form {
	margin-bottom: 0;
}

.help-block {
	font-size: 11px;
	color: #666;
}

dt {
	font-weight: normal;
}

ul {
	list-style: none;
	padding: 5px 20px;
	padding-right: 0;
}

.cp{
	cursor: pointer;
}

.container_large{
	margin-right: auto;
	margin-left: auto;
	/*max-width: 1600px;*/
	padding-left: 50px;
	padding-right: 50px;
}

.caret {
	border-top: 4px solid #bbb;
}

.box {
	border-radius: 3px;
	-moz-border-radius: 3px;
	-webkit-border-radius: 3px;
	-o-border-radius: 3px;
	-ms-border-radius: 3px;
	-khtml-border-radius: 3px;
	border: 1px solid #d5d5d5;
	box-shadow: 0 1px 0 rgba(0,0,0,0.11);
	margin-bottom: 3.0%;
	background: #fff;
}

.box:before, .box:after {
	content: "";
	display: table;
}

.box:after {
	clear: both;
}

.box .header {
	border-radius: 3px;
	-moz-border-radius: 3px;
	-webkit-border-radius: 3px;
	-o-border-radius: 3px;
	-ms-border-radius: 3px;
	-khtml-border-radius: 3px;
	position: relative;
	background: url(../img/nav_bg.png) repeat;
	box-shadow: inset 0 1px 0 #fff, 0 1px 2px rgba(0,0,0,0.02);
}

.box .header h4 {
	position: relative;
	padding: 9px 0;
	padding-top: 8px;
	padding-left: 10px;
	border-bottom: 1px solid #c2c2c2;
	margin: 0;
	font-size: 13px;
	color: #444;
	line-height: 20px;
}

.box .content {
	padding: 0;
	margin: 0;
}

.content.pad {
	padding: 20px;
}

.box .content:before, .box .content:after {
	content: "";
	display: table;
}

.box .content:after {
	clear: both;
}

#cat-holder {
	width: 400px;
	position: relative;
	top: -32px;
}

#calendar,#calendar-ordonnance h2 {
	font-size: 16px;
	font-weight: bold;
}

.fc-toolbar {
    margin-bottom: 0em!important;
    position: relative;
    top: -44px;
    padding: 10px;
    text-align: center;
}

.fc-toolbar .fc-center {
    display: inline-block;
    position: relative;
    top: 50px;
}

/******** Header ********/
.navbar-inner {
	background: url(../img/nav_bg.png) repeat-x;
	border-bottom: 1px solid #dadada;
}
	.navbar-fixed-top {
    	margin-bottom: 0;
	}

	.navbar-fixed-top, .navbar-fixed-bottom {
   		position: absolute;
	}

	#header a {
		text-decoration: none;
	}

	#header h1 {
		/*background: url(../img/logo_in.png) no-repeat;*/
		width: 250px;
		height: 26px;
		/*text-indent: -9999px;*/
		margin-left: 42px;
	}

	#logo {
		float: left;
	}

	#info {
		float: right;
		padding-top: 7px;
	}

	ul#userBox  {
		margin: 0;
		padding: 0;
		margin-right: 37px;
	}

	ul#userBox li {
		position: relative;
		float: left;
		cursor: pointer;
		padding: 5px;
		color: #fff;
		margin-left: 15px;
	}

	ul#userBox li a {
		display: inline-block;
		font-size: 12px;
		text-decoration: none;
		color: #aaa;
	}

	ul#userBox li a img {
		margin-right: 5px;
		position: relative;
		top: 2px;
	}

	ul#userBox li span.notify {
		position: relative;
		top: -1px;
		text-align: center;
		background: url(../img/number.png) repeat-x;
		display: inline-block;
		padding: 0 5px;
		color: #fff;
		margin-left: 5px;
		-moz-border-radius: 2px;
		-webkit-border-radius: 2px;
		-o-border-radius: 2px;
		-ms-border-radius: 2px;
		-khtml-border-radius: 2px;
		border-radius: 2px;
		font-size: 11px;
		line-height: 15px;
	}

	ul#userBox .dropdown-menu {
		border: 1px solid #d5d5d5;
	}

	.dropdown-menu, .box-control {
		position: relative;
		z-index: 1000;
	}

	.dropdown-menu {
		position: absolute;
	}

	ul#userBox li ul.dropdown-menu {
		width: 160px;
		position: absolute;
		right: 0;
		margin: 0 auto;
		background: #fff;
		overflow: hidden;
		padding: 0;
	}

	ul#userBox li > ul.dropdown-menu {
		top: auto;
		left: auto;
		font-size: 11px;
		padding: 0;
		margin: 0;
		padding-top: 5px;
		padding-bottom: 5px;
	}

	ul#userBox li ul.dropdown-menu li {
		border: none;
		padding: 0;
		margin: 0;
	}

	ul#userBox li ul.dropdown-menu li a {
		color: #456180;
		border: none;
		width: 160px;
		display: block;
		padding: 5px 10px;
	}

	ul#userBox li ul.dropdown-menu li a img {
		position: relative;
		top: -2px;
	}

	ul#userBox li ul.dropdown-menu li a:hover {
		background: url(../img/button.png);
		text-decoration: none;
		color: #fff;
	}

	ul#userBox li ul.dropdown-menu li a:hover .icon-acc {
		background: url(../img/icons/set-1/cog_hover.png) no-repeat;
	}

	ul#userBox li ul.dropdown-menu li a:hover .icon-off {
		background: url(../img/icons/set-1/logoff_hover.png) no-repeat;
	}

	ul#userBox li ul.dropdown-menu li.divider {
		width: 160px;
		margin: 7px 0;
	}

/******** Login ********/
#login_logo {
	background: url(../img/logo_in.png) no-repeat;
	width: 100px;
	height: 26px;
	margin: 0 auto;
	padding: 10px 0 5px 0;
	text-align: center;

}

.form-signin {
	max-width: 300px;
	padding: 19px 29px 29px;
	margin: 0 auto 20px;
	background-color: #fff;
	border: 1px solid #e5e5e5;
	-webkit-border-radius: 5px;
	   -moz-border-radius: 5px;
			border-radius: 5px;
	-webkit-box-shadow: 0 1px 2px rgba(0,0,0,.05);
	   -moz-box-shadow: 0 1px 2px rgba(0,0,0,.05);
			box-shadow: 0 1px 2px rgba(0,0,0,.05);
}

      .form-signin .form-signin-heading,
      .form-signin .checkbox {
        margin-bottom: 10px;
      }

      .form-signin input[type="text"],
      .form-signin input[type="password"] {
      	height: auto;
      	margin-bottom: 15px;
      }

/******** Main ********/
#main {
	padding-top: 80px;
}

#main-content {
	float: left;
	width: 100%;
}

[class^="icon-"] { margin-right: 2px; position: relative; top: -2px; }


/* jquery.calendar styles */
#details-body-content {
	white-space: pre-wrap;
}

#event-type-selected {
	display: none;
}

.modal-backdrop.in {
    opacity: 0.6;
}

.modal-content {
	box-shadow: none;
	overflow: hidden;
}

.modal-footer, .modal-header {
	background: #efefef;
}

.mr-10 {
	margin-right: 10px;
}

.map-embed {
	width: 100%;
	height: 300px;
}

.loadingDiv {
	background: url(../img/ajaxloader.gif);
	margin: 0 auto;
	width: 16px;
	height: 16px;
	display: none;
}

.modal {
    overflow-y: auto;
}

/* will make modal-body scroll on mobile if you have too many fields*/
.modal-body {
   height: 60%;
}

label {
	display: block;
}

.radio-checkbox {
	padding-right: 5px;
}

.radio-checkbox input {
	margin-right: 5px;
}

.modal-body, .modal-body-import {
	max-height: 615px;
    padding: 15px;
    overflow-y: auto;
    -webkit-overflow-scrolling: touch;
 }

 /* modal body screen sizes */
 @media (max-width: 640px)
 {
	.modal-body {
		max-height: 180px;
	}

 }

@media (min-width: 900px) {

	.fc-center h2{
		line-height: 1px!important;
	}
}

 @media (max-width: 600px)
 {
	.modal-body {
		max-height: 400px;
	}

	.fc-toolbar{
		padding:8px !important;
	}
	.fc-button-group{
		margin-bottom: 5px;
	}

	 .fc-toolbar .fc-center {
		 padding: 8px !important;
	 }

	ol.breadcrumb{

		display: none;
	}
 }

 @media (max-width: 480px)
 {
	.modal-body {
		max-height: 310px;
	}
 }

 @media (max-width: 360px)
 {
	.modal-body {
		max-height: 400px;
	}
 }

 @media (max-width: 320px)
 {
	.modal-body {
		max-height: 280px;
	}
 }

.navbar-default {
	background-color: #3f3543;
	border-color: #4c4351;
}
.navbar-default .navbar-brand {
	color: #eff4f6;
}
.navbar-default .navbar-brand:hover,
.navbar-default .navbar-brand:focus {
	color: #dddddd;
}
.navbar-default .navbar-text {
	color: #eff4f6;
}
.navbar-default .navbar-nav > li > a {
	color: #eff4f6;
}
.navbar-default .navbar-nav > li > a:hover,
.navbar-default .navbar-nav > li > a:focus {
	color: #dddddd;
}
.navbar-default .navbar-nav > .active > a,
.navbar-default .navbar-nav > .active > a:hover,
.navbar-default .navbar-nav > .active > a:focus {
	color: #dddddd;
	background-color: #4c4351;
}
.navbar-default .navbar-nav > .open > a,
.navbar-default .navbar-nav > .open > a:hover,
.navbar-default .navbar-nav > .open > a:focus {
	color: #dddddd;
	background-color: #4c4351;
}
.navbar-default .navbar-toggle {
	border-color: #4c4351;
}
.navbar-default .navbar-toggle:hover,
.navbar-default .navbar-toggle:focus {
	background-color: #4c4351;
}
.navbar-default .navbar-toggle .icon-bar {
	background-color: #eff4f6;
}
.navbar-default .navbar-collapse,
.navbar-default .navbar-form {
	border-color: #eff4f6;
}
.navbar-default .navbar-link {
	color: #eff4f6;
}
.navbar-default .navbar-link:hover {
	color: #dddddd;
}

@media (max-width: 767px) {
	.navbar-default .navbar-nav .open .dropdown-menu > li > a {
		color: #eff4f6;
	}
	.navbar-default .navbar-nav .open .dropdown-menu > li > a:hover,
	.navbar-default .navbar-nav .open .dropdown-menu > li > a:focus {
		color: #dddddd;
	}
	.navbar-default .navbar-nav .open .dropdown-menu > .active > a,
	.navbar-default .navbar-nav .open .dropdown-menu > .active > a:hover,
	.navbar-default .navbar-nav .open .dropdown-menu > .active > a:focus {
		color: #dddddd;
		background-color: #4c4351;
	}
}

.highlighted {
	background-color: #ccdfff;
	color:#819CBA;
 }

.dataTables_wrapper .dataTables_filter {
	float: left !important;
	text-align: left !important;
}

li > a.active {
	color: #cae864 !important;
}

.search-preview li:hover{
	background-color: aliceblue;
}

.availabilities-slot {
	position: relative;
	border-radius: 4px;
	width: 100%;
	text-align: center;
	margin: 10px 0;
	height: 34px;
	line-height: 34px;
	font-size: 14px;
	font-weight: 700;
	cursor: pointer;
	-webkit-user-select: none;
	-moz-user-select: none;
	-ms-user-select: none;
	user-select: none;
	-webkit-transition: background-color 200ms, color 200ms;
	transition: background-color 200ms, color 200ms;
	background-color: #cae864;
}

.availabilities-slot:hover {
	background-color: #819CBA;
}

.availabilities-slot.active {
	background-color: #819CBA;
}

.cal-arrow-left {
	position : absolute;
	font-size: 28px;
	top: 5px;
	left: -20px;
}
.cal-arrow-right{
	position: absolute;
	font-size: 28px;
	top: 5px;
	right: -20px;
}

.cal-arrow {
	display: inline;
	height: auto;
	width: 14px;
	cursor: pointer;
	-webkit-transition: color 200ms, opacity 200ms;
	transition: color 200ms, opacity 200ms;
}

.availabilities-target a {
	text-decoration: none;
	color:#47474C;
}

ol.breadcrumbs li {

	font-size: 18px;
}


.rdv-bookmark:after{
	position: absolute;
	top: -7px;
	right: 0;
	content: url(data:image/svg+xml;base64,PHN2ZyB4bWxucz0iaHR0cDovL3d3dy53My5vcmcvMjAwMC9zdmciIHdpZHRoPSIyNCIgaGVpZ2h0PSIyNCIgdmlld0JveD0iMCAwIDI0IDI0Ij48cGF0aCBkPSJNMTkgMjRsLTctNi03IDZ2LTI0aDE0djI0eiIvPjwvc3ZnPg==);
	/*border-right: 5px solid grey !important;*/

}

.rdv-sms:before{
	position: absolute;
	bottom: -2px;
	right: 0;
	content:'SMS';
	color: #1a1919;
	font-weight: 600;
	font-size: 10px;
}

.rdv-abs .fc-content:before{
	position: absolute;
	top: 0;
	right: 0;
	content:'ABS';
	color: #FFF;
	font-weight: 600;
	font-size: 11px;
	background-color: rgb(217 0 52);
	padding: 4px;
	border-radius: 2px;
}

.rdv-abs-tag{
	color: #FFF;
	font-weight: 600;
	font-size: 11px;
	background-color: rgb(217 0 52);
	padding: 4px;
	border-radius: 2px;
}

.rdv-type:after{
	content: '';
	position: absolute;
	bottom: -2px;
	left: 0;
	color: #11118b;
	font-weight: 600;
	font-size: 10px;
	padding: 1px;
}
.rdv-type-D:after{
	content: "DN";
}
.rdv-type-T:after{
	 content: "T";
 }
.rdv-type-T-D:after{
	content: "T/DN";
}
.rdv-type-TE:after{
	content: "TE";
}
.rdv-type-T-D-TE:after{
	content: "T/DN/TE";
}
.rdv-type-D-TE:after{
	content: "DN/TE";
}
.rdv-type-T-TE:after{
	content: "T/TE";
}


.rdv-availabilities-head{
	font-weight: 600;
	background-color:#e2e2e2 ;
	padding: 5px;
}

.flex {
	display: flex;
}
.flex-column{
	flex-direction: column;
}

.align_item_center {
	align-items: center;
}
.align_self_center {
	align-self: center;
}

.fs_l {
	font-size: large;
}

.mb_1e {
	margin-bottom: 1em;
}
.mb_2e {
	margin-bottom: 2em;
}
.mb_3e {
	margin-bottom: 3em;
}
.pt-50{
	padding-top: 50px;
}
.fsz16{
	font-size: 16px;
}

.custom-ck{
	width: auto !important;
	height: auto!important;
	appearance: auto !important;
	margin: 0 2px !important;
}

.custom-label{
	margin-bottom: 0;
}

.rdv-list-item{
	padding: 5px;
}

.highlight{
	background-color: #99ae5185;
}


.appointment-status-label {
	margin-bottom: 8px;
	font-size: 13px;
	color: #555;
}

.appointment-status-current {
	display: flex;
	align-items: center;
	min-height: 38px;
	padding: 8px 10px;
	margin-bottom: 10px;
	border-radius: 4px;
	font-size: 13px;
}

.appointment-status-current .glyphicon {
	margin-right: 8px;
	font-size: 16px;
}

/* RDV prévu */
.appointment-status-planned {
	color: #3c763d;
	background: #dff0d8;
	border: 1px solid #d6e9c6;
}

.appointment-status-absent {
	color: #a94442;
	background: #f2dede;
	border: 1px solid #ebccd1;
}

/* Bouton absence */
.appointment-absence-btn {
	width: 100%;
	text-align: center;
}

.appointment-absence-btn .glyphicon {
	margin-right: 7px;
}

.nav-tabs > li.waiting-tab > a {
	color: #c75c5c;
	background-color: #fdf0f0;
}

.nav-tabs > li.waiting-tab > a:hover {
	color: #b94a48;
	background-color: #f9e2e2;
}

.nav-tabs > li.waiting-tab.active > a,
.nav-tabs > li.waiting-tab.active > a:hover,
.nav-tabs > li.waiting-tab.active > a:focus {
	color: #c75c5c;
	background-color: #fff;
	font-weight: 600;
}

/* ================================
   Liste d'attente - formulaire
   ================================ */

/*#addPatientWaiting .waiting-physio-select {*/
/*	width: 100%;*/
/*	position: relative;*/
/*}*/

/*#addPatientWaiting .waiting-physio-select > .btn {*/
/*	width: 100%;*/
/*	height: 34px;*/
/*	padding: 6px 12px;*/
/*	text-align: left;*/
/*	background: #fff;*/
/*	border: 1px solid #ccc;*/
/*	border-radius: 4px;*/
/*	color: #555;*/
/*}*/

/*#addPatientWaiting .waiting-physio-select > .btn:hover,*/
/*#addPatientWaiting .waiting-physio-select > .btn:focus {*/
/*	background: #fff;*/
/*	border-color: #66afe9;*/
/*	outline: none;*/
/*}*/

/*#addPatientWaiting .waiting-physio-select .caret {*/
/*	position: absolute;*/
/*	right: 12px;*/
/*	top: 15px;*/
/*}*/

/*#addPatientWaiting .waiting-physio-select .dropdown-menu {*/
/*	width: 100%;*/
/*	min-width: 100%;*/
/*	padding: 5px 0;*/
/*	margin-top: 2px;*/
/*}*/

/*#addPatientWaiting .waiting-physio-select .dropdown-menu label {*/
/*	display: block;*/
/*	margin: 0;*/
/*	padding: 6px 12px;*/
/*	font-weight: normal;*/
/*	cursor: pointer;*/
/*}*/

/*#addPatientWaiting .waiting-physio-select .dropdown-menu label:hover {*/
/*	background: #f5f5f5;*/
/*}*/

/*!* On cible uniquement les checkbox de ce composant *!*/
/*#addPatientWaiting .waiting-physio-select input[type="checkbox"] {*/
/*	margin: 0 7px 0 0;*/
/*	vertical-align: middle;*/
/*	position: relative;*/
/*	top: -1px;*/
/*}*/


#addPatientWaiting .waiting-physio-select {
	width: 100%;
	position: relative;
}

/* Surcharge les anciens CSS globaux */
#addPatientWaiting .waiting-physio-select > .btn {
	width: 100% !important;
	height: 34px !important;
	padding: 6px 12px !important;
	text-align: left;
	background: #fff !important;
	border: 1px solid #ccc !important;
	border-radius: 4px !important;
	color: #555 !important;

	/* Empêche les anciens styles input/select de modifier le bouton */
	-webkit-appearance: none !important;
	appearance: none !important;
	box-sizing: border-box;
}

#addPatientWaiting .waiting-physio-select > .btn:hover,
#addPatientWaiting .waiting-physio-select > .btn:focus {
	width: 100% !important;
	height: 34px !important;
	padding: 6px 12px !important;
	background: #fff !important;
	border-color: #66afe9 !important;
	outline: none;
}

/* Chevron */
#addPatientWaiting .waiting-physio-select .caret {
	position: absolute;
	right: 12px;
	top: 15px;
}

/* Dropdown */
#addPatientWaiting .waiting-physio-select .dropdown-menu {
	width: 100% !important;
	min-width: 100% !important;
	padding: 5px 0 !important;
	margin-top: 2px;
	box-sizing: border-box;
}

/* Labels */
#addPatientWaiting .waiting-physio-select .dropdown-menu label {
	display: block;
	width: auto !important;
	margin: 0 !important;
	padding: 6px 12px !important;
	font-weight: normal;
	cursor: pointer;
	background: transparent;
	border: 0;
}

#addPatientWaiting .waiting-physio-select .dropdown-menu label:hover {
	background: #f5f5f5;
}

/* Checkbox uniquement */
#addPatientWaiting .waiting-physio-select input[type="checkbox"] {
	width: auto !important;
	height: auto !important;

	margin: 0 7px 0 0 !important;
	padding: 0 !important;

	vertical-align: middle;
	position: relative;
	top: -1px;

	/* Empêche le vieux CSS input[type] de modifier la checkbox */
	-webkit-appearance: checkbox !important;
	appearance: checkbox !important;

	background: initial !important;
	border: initial !important;
	border-radius: initial !important;
}

/* Évite que les anciens CSS input/select touchent les éléments du dropdown */
#addPatientWaiting .waiting-physio-select .dropdown-menu input:not([type="checkbox"]),
#addPatientWaiting .waiting-physio-select .dropdown-menu select,
#addPatientWaiting .waiting-physio-select .dropdown-menu textarea {
	width: auto;
}
#addPatientWaiting .waiting-physio-select .dropdown-menu {
	width: 100% !important;
	min-width: 100% !important;
	max-height: 250px;
	overflow-y: auto;
	overflow-x: hidden;

	padding: 5px 0 !important;
	margin-top: 2px;
}
#addPatientWaiting .waiting-physio-select .dropdown-menu li {
	width: 100%;
}

#addPatientWaiting .waiting-physio-select .dropdown-menu label {
	display: block;
	width: 100% !important;
	box-sizing: border-box;
	margin: 0 !important;
	padding: 6px 12px !important;
}
#addPatientWaiting .modal-content {
	min-width: 500px;
}

.patient-search {
	position: relative;
	max-width: 600px;
}

.patient-search-icon {
	position: absolute;
	left: 12px;
	top: 10px;
	color: #999;
	z-index: 2;
	font-size: 14px;
}

.patient-search input {
	padding-left: 34px;
	height: 38px;
	border: 1px solid #ddd;
	border-radius: 5px;
	box-shadow: none;
	transition: border-color 0.2s, box-shadow 0.2s;
}

.patient-search input:focus {
	border-color: #66afe9;
	box-shadow: 0 0 4px rgba(102, 175, 233, 0.3);
}

/*Liste patient en attente*/

.waiting-patients {
	position: relative;
	width: 25%;
	margin-left: auto;
}
.waiting-patients-toggle {
	display: block;
	width: 100%;
	padding: 8px 10px;
	border: 1px solid #ddd;
	background: #fff;
	color: #555;
	text-align: left;
	border-radius: 4px;
	text-decoration: none;
	cursor: pointer;
}
.waiting-patients-toggle:hover,
.waiting-patients-toggle:focus {
	background: #f8f8f8;
	color: #555;
	text-decoration: none;
}
.waiting-patients-list {
	display: none;
	position: absolute;
	left: 0;
	right: 0;
	z-index: 1050;

	margin-top: 0;
	border: 1px solid #ddd;
	border-radius: 4px;
	background: #fff;
	box-shadow: 0 3px 8px rgba(0, 0, 0, 0.15);
}

.waiting-patients:hover .waiting-patients-list {
	display: block;
}

.waiting-patients-toggle:hover {
	background: #f8f8f8;
}

.waiting-patients-toggle .glyphicon {
	margin-right: 7px;
	color: #888;
}

.waiting-patients-count {
	display: inline-block;
	min-width: 20px;
	height: 20px;
	line-height: 20px;
	margin-left: 5px;
	padding: 0 6px;
	border-radius: 10px;
	background: #f0ad4e;
	color: #fff;
	font-size: 11px;
	text-align: center;
}

.waiting-patients-toggle .caret {
	float: right;
	margin-top: 7px;
}

.waiting-patient {
	display: block;
	padding: 8px 12px;
	border-bottom: 1px solid #eee;
	color: #444;
	text-decoration: none;
	cursor: pointer;
}

.waiting-patient:last-child {
	border-bottom: none;
}
.waiting-patient:hover {
	background: #f5f5f5;
	color: #444;
	text-decoration: none;
}

.waiting-patient:hover {
	background: #f5f5f5;
}

.waiting-patient-header {
	display: flex;
	align-items: baseline;
	justify-content: space-between;
}

.waiting-patient-name {
	font-weight: 600;
	color: #444;
}

.waiting-patient-date {
	color: #999;
	font-size: 11px;
	font-weight: normal;
	margin-left: 10px;
	white-space: nowrap;
}

.waiting-patient-note {
	margin-top: 2px;
	color: #777;
	font-size: 12px;
}
.waiting-patients-toggle .caret-up {
	transform: rotate(180deg);
}

#calendar-container {
	height: calc(100vh - 180px);
	overflow: hidden;
}