@media only screen and (max-width: 500px) {
	.mdl-layout__title {
		max-width:150px;
		white-space: nowrap;
		overflow:hidden;
		text-overflow: ellipsis;
	}
}

/*
 * Hook pour fixer bug quand plus de 5 tabs
 */
@media only screen and (max-width: 1024px) {
	.mdl-layout__tab-bar {
		width: calc(100% - 120px);
		padding: 0 0 0 60px;
	}
}

.mdl-layout__content {
	overflow-x:auto;
	height: calc(100% - 110px);
}

.mdl-layout__drawer .mdl-navigation .mdl-navigation__link i.material-icons {
	margin-right:20px
}

.mdl-layout__drawer .mdl-navigation .mdl-navigation__link-secondary {
	padding-top: 0px;
	padding-bottom:5px;
}

.copyright {
/* 	position:absolute;
	bottom:20px; */
	font-size:10px;
	padding:10px 20px;
}

.page-content {
	height: calc(100% - 10px); 
}

.mdl-dialog {
  border: none;
  box-shadow: 0 9px 46px 8px rgba(0, 0, 0, 0.14), 0 11px 15px -7px rgba(0, 0, 0, 0.12), 0 24px 38px 3px rgba(0, 0, 0, 0.2);
  width: calc(100% - 40px);
  top:8px; 
 }

.mdl-data-table {
	width:100%;
	height:100%;
}
.mdl-data-table-panel th, .mdl-data-table-panel td, .mdl-data-table-panel tbody tr  {
	height:20px;
	line-height: 20px;
}

.mdl-data-table-panel td  {
	padding: 5px 5px;
}

.mdl-layout__title a {
	color:#fff;
	text-decoration:none;
}

.mdl-layout__title a:hover {
	color:#fff;
	text-decoration:underline;
}

.mdl-card__supporting-text-panel {
	position:absolute;
	overflow:auto; 
	height:calc(100% - 30px);
	width:calc(100% - 30px); 
}
	
.logo {
	margin-top:10px;
    width: 140px;
    height: 140px;
    border-radius: 70px;
    box-shadow: 0 2px 2px 0 rgba(0,0,0,.14),0 3px 1px -2px rgba(0,0,0,.2),0 1px 5px 0 rgba(0,0,0,.12);
}

.drawer-separator {
    height: 1px;
    background-color: #dcdcdc;
    margin: 8px 0;
}

.fab-button {
    position: fixed;
    display: block;
    right: 0;
    bottom: 0;
    margin-right: 40px;
    margin-bottom: 40px;
    z-index: 900;
}

.close-button {
	display: block;
	position: absolute;
	height: 48px;
	width: 48px;
	border: 0;
	-webkit-flex-shrink: 0;
	-ms-flex-negative: 0;
	flex-shrink: 0;
	overflow: hidden;
	text-align: center;
	cursor: pointer;
	font-size: 26px;
	line-height: 50px;
	font-family: Helvetica,Arial,sans-serif;
	margin: 10px 12px;
	top: 0;
	left: 0;
	color: rgb(66,66,66);
	z-index: 4;
}

.list-loader {
    position: fixed;
    display: block;
    left: 0;
    bottom: 0;
    margin-left:auto;
    margin-right:auto;
    margin-bottom: 40px;
    z-index: 900;
    width:100%;
    text-align:center;
}

#list-empty {
	margin-top:100px;
	width:100%;
	text-align:center;
}

tr.disable {
   opacity:  0.5;	
}

tr.error {
	color: rgb(255, 0, 0);
	background-color: rgb(255, 238, 238);
}

tr.error:hover {
	color: rgb(255, 0, 0);
	background-color: rgb(255, 204, 204) !important;
}

div.header-search {
	flex-grow: 1;
}

div.header-search form {
	background-color: rgba(255,255,255,0.2);
	margin: 10px;
}

div.header-search input {
	height:32px;
	border: hidden;
	color: #fff;
	font-size:16px;
	background-color: transparent;
	width: calc(100% - 34px);
}

div.header-search i {
	padding: 5px;
	float: left;
}

div.header-search ::-webkit-input-placeholder {
    color: rgba(255,255,255,0.6);
}

div.header-search :-moz-placeholder {
   color: #fff;
   opacity: 0.8;
}

div.header-search ::-moz-placeholder {
   color:    #fff;
   opacity:  0.8;
}

div.header-search :-ms-input-placeholder {
   color: rgba(255,255,255,0.8);
}

.mdl-layout__header .mdl-icon-toggle__label {
	color: rgb(220,87,34);
}

.mdl-layout__header .mdl-icon-toggle.is-checked .mdl-icon-toggle__label {
	color:#fff;
}

.mdl-card__title a {
	text-decoration: none;
	color: rgb(0, 0 ,0);	
}

a[data-type=item] {
	text-decoration: none;
	color: rgba(0, 0 ,0, .54);
}

a[data-type=item]:hover, .mdl-card__title a:hover {
	text-decoration: underline;
}

/* .mdl-selectfield {
	width:auto !important;
} */

/* Spécifiques couleur Deep orange */
/* .mdl-selectfield--floating-label.is-focused .mdl-selectfield__label-deep_orange, 
.mdl-selectfield--floating-label.is-dirty .mdl-selectfield__label-deep_orange {
	color: rgb(255,87,34) !important;
} */
/* .mdl-selectfield__label-deep_orange:after {
    background-color: rgb(255,87,34) !important;
} */

/* Spécifiques couleur Blue Grey */
/* .mdl-selectfield--floating-label.is-focused .mdl-selectfield__label-blue_grey, 
.mdl-selectfield--floating-label.is-dirty .mdl-selectfield__label-blue_grey {
	color: rgb(96,125,139) !important;
} */
/* .mdl-selectfield__label-blue_grey:after {
    background-color: rgb(96,125,139) !important;
} */

/* .mdl-layout__header .mdl-icon-toggle__label .mdl-icon-toggle__label-blue_grey {
	color: rgb(96,125,139) !important;
} */

/* Spécifiques slider images (flexslider) */
.flexslider li {
    opacity: 0.2;
    filter: alpha(opacity=20);
}

.flexslider li.selected {
    opacity: 1.0;
    filter: alpha(opacity=100);
}

/* Spécifique datapicker (color deep orange) */
/* .dtp {
	z-index:1000 !important;
}

.dtp>.dtp-content>.dtp-date-view>header.dtp-header {
	background: rgb(255,87,34) !important;
}

.dtp div.dtp-date, .dtp div.dtp-time {
	background: rgb(255,87,34) !important;	
}

.dtp table.dtp-picker-days tr>td>a.selected {
	background: rgb(255,87,34) !important;	
}

.dtp div.dtp-actual-year {
	color: rgb(255, 255, 255) !important;
}

.dtp .p10>a {
	color: rgb(255, 255, 255) !important;
}

.dtp-btn-ok {
	background: rgb(255,87,34) !important;
	color: rgb(255, 255, 255) !important;
}
.dtp-btn-cancel {
	background: rgb(255, 255, 255) !important;
	color: rgb(255,87,34) !important; */
}
.dtp-buttons button {	
	box-shadow: 0 2px 2px 0 rgba(0,0,0,.14), 0 3px 1px -2px rgba(0,0,0,.2), 0 1px 5px 0 rgba(0,0,0,.12);
    border: none;
    border-radius: 2px;
    position: relative;
    height: 36px;
    margin: 0;
    min-width: 64px;
    padding: 0 16px;
    display: inline-block;
    font-family: "Roboto","Helvetica","Arial",sans-serif;
    font-size: 14px;
    font-weight: 500;
    text-transform: uppercase;
    letter-spacing: 0;
    overflow: hidden;
    will-change: box-shadow;
    transition: box-shadow .2s cubic-bezier(.4,0,1,1),background-color .2s cubic-bezier(.4,0,.2,1),color .2s cubic-bezier(.4,0,.2,1);
    outline: none;
    cursor: pointer;
    text-decoration: none;
    text-align: center;
    line-height: 36px;
    vertical-align: middle;	
}

/* Spécifique calendrier */
.fc .fc-center h2 {
	display: inline;
	padding: 0 10px;
	font-size:16px;
}

	