html,body {
    height:100%;
}

body {
    background-color: #eee;
}

img {
    max-width: 100%
}

a, a:focus {
    outline: medium none;
}

nav .glyphicon
{
	margin-right: 5px;
}

.custom_fullborder {
    background-color: #fff;
    border-color: #c0c0c0;
    border-radius: 4px 4px 0 0;
    border-width: 1px;
    box-shadow: none;
    margin-left: 0;
    margin-right: 0;
    border-style: solid;
    border-width: 1px;
    box-shadow: 0 3px 6px rgba(0, 0, 0, 0.05) inset;
    padding: 15px 15px;
    position: relative;
}

.custom_comment
{
	padding: 30px;
}

.acctab {
    background-color: #F5F5F5;
    display: block;
    font-size: 1.5em;
    line-height: 2.7777em;
    font-weight: normal;
    margin-bottom: 0px;
    padding: 0 0.5em;
    border: 1px solid #ddd;
}

.panel
{
    margin: 0 0 10px;
    padding: 15px;
    border-bottom: 1px solid #e5e5e5;
    border-left: 1px solid #e5e5e5;
    border-right: 1px solid #e5e5e5;
    background-color: #fafafa;
    border-radius: 0px;
}


.commentaire_header.acctab .acctab_status {
    font-family: "Glyphicons Halflings";
    float: right;
    font-size: 0.8em;
    cursor: pointer;
    width: 50px;
    text-align:center;
}

.commentaire_header.acctab h3 {
    float: left;
    margin-right: 5px;
    cursor: pointer;
}



.input-group-addon {
    background-color: #dce9f9;
    background-image: linear-gradient(to bottom, #ebf3fc, #dce9f9);
}

#predefined_text
{
    padding: 0;
}

#predefined_text li
{
    list-style: outside none none;
    cursor: pointer;
}

#predefined_text div
{
    margin:10px;
    border-radius: 4px 4px 4px 4px;
    -webkit-touch-callout: none;
    -webkit-user-select: none;
    -khtml-user-select: none;
    -moz-user-select: none;
    -ms-user-select: none;
    user-select: none;
}

#predefined_text li:hover div.sms_text
{
    background-color:#d5d5ff;
}

#appbundle_sms_message
{
    height:200px;
    resize:vertical;
}

.sms_text {
    padding:5px;
}


/* Ticket */

.table_ticket_index {
    font-size: 11px;
}

.ticketmessage-wrapper {
    border: 1px solid #c0c0c0;
    border-radius: 10px;
    clear:both;
    margin: 10px 0;
}
.ticketmessage-wrapper .ticketmessage_header {
    padding: 5px;
    border-bottom: 1px solid #c0c0c0;
    border-top-left-radius:10px;
    border-top-right-radius:10px;
    background-color:#1171a3;
    color:#ffffff;
}

.ticketmessage-wrapper .ticketmessage_user {
    display: inline-block;
}
.ticketmessage-wrapper .ticketmessage_datecreated {
    display: inline-block;
    float:right;
}

.ticketmessage-wrapper .ticketmessage_content {
    padding:20px;
}
.ticketmessage-wrapper .ticketmessage_datecreated {
    display: inline-block;
    float:right;
}

.ticketmessage-wrapper .ticketmessage_footer {
    display:none;
}

.ticketmessage-wrapper .ticketmessage_modified {
    float:right;
}

.ticketmessage-wrapper:hover .ticketmessage_footer {
    padding: 5px;
    border-top: 1px solid #c0c0c0;
    display:block;
    border-bottom-left-radius:10px;
    border-bottom-right-radius:10px;
    background-color:#1171a3;
    color:#ffffff;
	min-height: 37px;
}



.ticket-wrapper {
    border: 1px solid #c0c0c0;
    clear:both;
    margin: 10px 0;
}
.ticket-wrapper .ticket_header {
    padding: 5px;
    border-bottom: 1px solid #c0c0c0;
    background-color:#1171a3;
    color:#ffffff;
}

.ticket-wrapper .ticket_content {
    padding:20px;
}

.ticketmessage-wrapper .ticketmessage_attachments {
    padding: 20px;
    border-top: 1px solid #c0c0c0;
}



.priority {
    display:inline-block;
    border-radius:5px;
    color:white;
    padding:5px;
    margin: 1px;
    text-align: center;
}

.priority_undefined
{
    background-color:black;
}
.priority_low
{
    background-color:#3c763d;
}
.priority_medium
{
    background-color:#EAAD00;
}
.priority_urgent
{
    background-color:#B90D0D;
}
.priority_critical
{
    background-color:purple;
}

.ticketstate {
    display:inline-block;
    border-radius:5px;
    color:white;
    padding:5px;
    margin: 1px;
    text-align: center;
}
.ticket_undefined
{
    background-color:black;
}
.ticket_newticket
{
    background-color:#3B87B3;
}
.ticket_opened
{
    background-color:#419441;
}
.ticket_inprogress
{
    background-color:#e68a00;
}
.ticket_waiting
{
    background-color:#941919;
}
.ticket_unsolved
{
    background-color:red;
}
.ticket_resolved
{
    background-color:#259425;
}

.categorie
{
	display:inline-block;
	padding:5px;
	border-radius:5px;
	text-align: center;
    margin: 1px;
}

.company_contract
{
	color:#FFFFFF;
	display:inline-block;
	padding:5px;
	border-radius:5px;
	text-align: center;
    margin: 1px;
}

.company_contract_yes
{
	background-color:#419441;
}

.company_contract_no
{
	background-color:#ee4444;
}

table .company_contract,
table .categorie,
table .ticketstate,
table .priority
{
	width:100%;
}


/* Fin Ticket */

/* Pieces jointes */
.span-input {
    border: 1px solid #ccc;
    border-top-right-radius: 0;
    border-bottom-right-radius: 0;
    display: inline-block;
    text-align: left;
    width: 100%;
}
#files-fields-list > div > div > div {
    border: 1px solid #ccc;
    border-bottom-right-radius: 0;
    border-top-right-radius: 0;
    display: inline-block;
    height: 34px;
    padding: 3px;
    text-align: left;
    width: 100%;
}

.attachment-preview {

    position: relative;
}

.attachment-preview .thumbnail::after {
    bottom: 0;
    box-shadow: 0 0 0 1px rgba(0, 0, 0, 0.1) inset;
    content: "";
    display: block;
    left: 0;
    overflow: hidden;
    position: absolute;
    right: 0;
    top: 0;
}

.attachment-preview .thumbnail {
    bottom: 0;
    left: 0;
    opacity: 1;
    overflow: hidden;
    position: absolute;
    right: 0;
    top: 0;
    transition: opacity 0.1s ease 0s;
}

.attachment-preview .thumbnail .centered {
    height: 100%;
    left: 0;
    position: absolute;
    top: 0;
    transform: translate(50%, 50%);
    width: 100%;
}


.attachment-preview .thumbnail {
    background-color: #fff;
    border: 1px solid #ddd;
    border-radius: 4px;
    display: block;
    line-height: 1.42857;
    margin-top: 2px;
    padding: 4px;
    transition: border 0.2s ease-in-out 0s;
    margin-bottom: 0;
}

.attachment-preview .thumbnail .centered img.icon {
    transform: translate(-50%, -70%);
}

.attachment-preview .thumbnail img {
    position: absolute;
    left: 0;
    top: 0;
}
.attachment-preview.landscape img {
    max-height: 100%;
}
.attachment-preview .icon {
    margin: 0 auto;
    overflow: hidden;
}

.attachment-preview .filename {
    background: rgba(255, 255, 255, 0.8) none repeat scroll 0 0;
    bottom: 0;
    box-shadow: 0 0 0 1px rgba(0, 0, 0, 0.15) inset;
    font-weight: 700;
    left: 0;
    max-height: 100%;
    overflow: hidden;
    position: absolute;
    right: 0;
    text-align: center;
    word-wrap: break-word;
}

.attachment-preview .filename div {
    padding: 5px 10px;
}

.thumbnail_link
{
    display: inline-block;
    height: 140px;
    position: relative;
    width: 100px;
}

/* Fin Pieces jointes */


/* Bootstrap multiselect extents*/

.multiselect-container {
    list-style-type: none;
    margin-top: 33px;
    width:100%;
    min-width: 300px;
}

.btn-container-multiselect
{
    position:relative;
}
.btn-default-legacy {
    background-color: #fff;
    border-color: #ccc;
    color: #333;
    width: 100%;
}
/* fin Bootstrap multiselect extents */

/* Bootstrap extends */


.bs-callout {
    padding: 20px;
    margin: 20px 0;
    border: 1px solid #eee;
    border-left-width: 5px;
    border-radius: 3px;
}
.bs-callout h4 {
    margin-top: 0;
    margin-bottom: 5px;
}
.bs-callout p:last-child {
    margin-bottom: 0;
}
.bs-callout code {
    border-radius: 3px;
}
.bs-callout+.bs-callout {
    margin-top: -5px;
}
.bs-callout-default {
    border-left-color: #777;
}
.bs-callout-default h4 {
    color: #777;
}
.bs-callout-primary {
    border-left-color: #428bca;
}
.bs-callout-primary h4 {
    color: #428bca;
}
.bs-callout-success {
    border-left-color: #5cb85c;
}
.bs-callout-success h4 {
    color: #5cb85c;
}
.bs-callout-danger {
    border-left-color: #d9534f;
}
.bs-callout-danger h4 {
    color: #d9534f;
}
.bs-callout-warning {
    border-left-color: #f0ad4e;
}
.bs-callout-warning h4 {
    color: #f0ad4e;
}
.bs-callout-info {
    border-left-color: #5bc0de;
}
.bs-callout-info h4 {
    color: #5bc0de;
}

.border-left {
    border-left: 1px solid #c0c0c0;
}

#number-fields-list > .input-group {
    margin-bottom: 5px;
    margin-top: 5px;
}
#files-fields-list > .input-group {
    margin-bottom: 5px;
    margin-top: 5px;
}

.navbar-light {
  background-color:#1171a3;
  border-color:#1171a3;
  border-radius: 0;
 }
 .navbar .nav > li > a,
 .navbar .nav > li > a:active,
 .navbar .nav > li > a:focus {
    color:#ffffff;
    border-top:3px solid #1171a3;
    border-bottom:3px solid #1171a3;
  	background-color:#1171a3;


}
.nav > li > a:hover,
.navbar .nav > li > a:focus {
    text-decoration: none;
    background:none;
    border-bottom:3px solid #FFFFFF;


}
.navbar-brand{
	color:white;
}
.navbar-brand:hover, .navbar-brand:focus{
	font-size:x-large;
   color:white;

}
.dropdown-menu{
	border-color:grey;
	padding:0px;

}


.dropdown-menu> li > a:hover ,
.dropdown-menu> li > a:focus{
	color:#ffffff ;
	background-color: #1171a3 !important;
	background-image:none;

}

.dropdown-menu >li>a{
	padding:8px 20px;
}

h1, .h1{
	text-align: center;
}

/* Return on top */
#returnOnTop {
    background: url('../img/return_on_top.png') no-repeat;
    bottom: 5%;
    cursor: pointer;
    display: none;
    filter: alpha(opacity = 50); /* IE < 8 */
    height: 48px;
    opacity: 0.5;
    position: fixed;
    right: 1%;
    width: 48px;
    z-index: 90;
}

#returnOnTop:hover {
    filter: alpha(opacity = 100); /* IE < 8 */
    opacity: 1;
}
/* Fin Return on top */

.nav-tabs > li.active > a, .nav-tabs > li.active > a:hover, .nav-tabs > li.active > a:focus {
	color:#ffffff;
	background-color:#1171a3;

}

.nav.nav-tabs a {
    background-color: #eee;
}

.nav-tabs > li > a:hover, .nav-tabs > li > a:focus {
	background-color:#CCC;
	border-bottom:none;
}

.table_datatable {
	width:100% !important;
	table-layout: auto;
}

div.dataTables_wrapper div.dataTables_info {
	white-space: normal;
}

.table.dataTable thead>tr>th.sorting_asc,
table.dataTable thead>tr>th.sorting_desc,
table.dataTable thead>tr>th.sorting,
table.dataTable thead>tr>td.sorting_asc,
table.dataTable thead>tr>td.sorting_desc,
table.dataTable thead>tr>td.sorting {
	background-color: #1171a3;
	color:#ffffff;
}

table.dataTable > tbody > tr.child ul {
    width:100%;
}
table.dataTable > tbody > tr.child span.dtr-title {
	display:inline-block;
	width:100%;
}

.word-breakable {
	word-wrap:break-word;
}

/* Keypad */
.keypad {
    display: table;
    margin: 10px auto;
    padding: 0;
    width: 100%; /* not actually a static size, % in real use */
}

.keypad .key-row {
    display: table-row;
    width: 100%
}

.keypad .key-row .key-cell {
    display: table-cell;
    padding: 2px;
    width: 25%;
}

.keypad .key-row .key-cell button.key {
    font-size: medium;
    font-weight: bold;
    height: 70px;
    width: 100%;
}

.keypad .key-row .key-cell button.key.tall-key {
}

.keypad .key-row .key-cell button.key.wide-key {
}

.keypad .key-row .key-cell button .key-alt-fn {
    font-size: small;
    font-weight: normal;
}
/* Fin Keypad */

@media (max-width: 768px) {
	table.dataTable.dtr-inline.collapsed>tbody>tr>td:first-child:before, table.dataTable.dtr-inline.collapsed>tbody>tr>th:first-child:before {
		position: relative;
		top: 0px;
	}
	table.dataTable.dtr-inline.collapsed>tbody>tr>td:first-child, table.dataTable.dtr-inline.collapsed>tbody>tr>th:first-child {
		padding: 5px;
	}
	.ticketmessage_datecreated,.ticketmessage_modified {
    	float: none !important;
	}
}
