textarea:focus,
input:focus,
*:focus,
input#password_new,
input#password2,
select#language {
    outline: none !important;
}

.form-control:focus,
input#password_new,
input#password2,
select#language {
    border: 1px solid #ced4da;
    box-shadow: none;
}

div.actions {
    padding-top: 10px;
}

@font-face {
  font-family: "Eina03Regular";
  src: url("../font/eina-03-regular.woff") format("woff"),
    url("../font/eina-03-regular.woff2") format("woff2"),
    url("../font/eina-03-regular.ttf") format("truetype");
  font-weight: normal;
  font-style: normal;
}

@font-face {
  font-family: "Eina03SemiBold";
  src: url("../font/eina-03-semibold.woff") format("woff"),
    url("../font/eina-03-semibold.woff2") format("woff2"),
    url("../font/eina-03-semibold.ttf") format("truetype");
  font-weight: 600;
  font-style: normal;
}

@font-face {
  font-family: "Eina03Bold";
  src: url("../font/eina-03-bold.woff") format("woff"),
    url("../font/eina-03-bold.woff2") format("woff2"),
    url("../font/eina-03-bold.ttf") format("truetype");
  font-weight: 700;
  font-style: normal;
}

body {
  font-family: "Eina03Regular";
}

.container {
  position: relative;
  width: 100% !important;
}

.login-logo {
  margin-bottom: 50px;
  margin-top: 50px;
}
#login_div,
#restore_div,
#logo_div {
  padding: 10px;
  font-family: "Eina03Regular";
}

#login_div input[name="username"],
#login_div input[name="password"] {
  margin-bottom: 20px;
}

#login_div table,
#restore_div table {
  margin: 0 auto;
}
#login_div td,
#restore_div td {
  text-align: left;
  font-size: 12px;
}
#login_div td.submit {
  text-align: center;
}
#login_div td.input {
  text-align: right;
}
#footer {
  margin-top: 10px;
  bottom: 0;
}

.flash_message {
  margin: 20px;
}

.right {
  float: right;
}
.left {
  float: left;
}

.grey {
  color: #dddddd;
}
.dataTable {
  width: 100%;
}
.dataTables_scroll {
  margin-bottom: 10px;
}

.table_tickets {
  width: 100% !important;
}
.table_tickets tbody tr {
  cursor: pointer;
  border: 0px solid #fcefa1;
}
.table_tickets tbody td {
  line-height: 15px;
  height: 15px;
}

#tickets_frame {
  /* border-width: 5px;
    border-style: solid;
   border-color:#DDDDDD #DDDDDD transparent;
    border-radius: 5px 5px 5px 5px; */
}
#box_tickets_list {
  /*overflow-y: scroll;*/
}
#tickets_list {
  padding: 10px 0px 10px 0px;

  /*display:none; */
  border: 0px solid black;
  /*height: 300px; */
}

#ticket_details {
  /*padding-top:10px; */
  /*display:none; */
  border: 0px solid black;
  /*height: 300px; */
  /*overflow-y: scroll;*/
  /*padding-bottom:10px;*/
  overflow: visible;
  /*margin-bottom:-30px;*/
}

.ticket_articles {
  overflow-y: scroll;
  height: 0px;
}
.comment {
  border-width: 1px;
  border-style: solid;
  border-color: #dddddd;

  border-radius: 5px 5px 5px 5px;
  /* width:400px;*/
  heigh: 200px;
  /*overflow-y:scroll;*/
  margin: 10px 10px 10px 10px;
  padding: 10px 10px 10px 10px;
}

#table_tickets_extended_wrapper .DTTT_container,
#table_tickets_simple_wrapper .DTTT_container {
  float: left;
  margin-left: 5px;
  display: inline;
}

#table_tickets_extended_wrapper .dataTables_paginate,
#table_tickets_simple_wrapper .dataTables_paginate {
  float: left;
  text-align: left;
  margin-bottom: 5px;
}

.dataTables_scrollHeadInner {
  width: 100% !important;
}

.dataTables_search_button {
  display: inline;
}
.dataTables_search_button button {
  margin-left: 4px;
}

.dataTables_info {
  display: inline;
  float: none !important;
}

.dataTables_scrollBody {
  /*border-bottom: 1px solid black;*/
  /*    border-top: 1px solid black;*/
}
.export_space {
  float: right;
  display: none;
  margin-right: 10px;
}

.hr_line {
  width: 100%;
  border-bottom: 5px solid #dddddd;
  padding-bottom: 0px; /*margin-top:10px; margin-bottom:10px*/
}

.comment .hr_line {
  border-bottom: 5px solid #9d9d9d;
  margin-top: 5px;
  margin-bottom: 5px;
}

.agent_comment {
  background-color: #eeeeee;
}

.customer_comment {
  background-color: #ffedc4;
}

.admin_comment {
  background-color: #d3d6ff;
}

#add_comment {
  margin: 10px 10px 10px 10px;
  display: inline-block;
}
#add_comment_field,
#add_note_field {
  margin: 10px 10px 10px 10px;
  display: none;
}

#add_comment_field textarea,
#add_note_field textarea {
  width: 99%;
  margin-bottom: 10px;
}

.add_comment_button {
  margin-right: 10px;
}

.add_attachment {
  display: inline;
}
.tr_hidden {
  display: none;
}

.td_input {
  width: 206px;
}

.attachment_table td {
  padding-left: 0px !important;
}
#add_ticket_wrapper {
  padding-top: 10px;
}

.add_ticket {
  margin: 0 auto;
}

.add_ticket td {
  padding: 5px;
}

.add_ticket label {
  margin-top: 0px;
  margin-bottom: 0px;
}

.td_submit_button {
  text-align: right;
}

.new_ticket_content {
  width: 400px;
  height: 200px;
}
.new_ticket_subject {
  width: 400px;
  /*padding-left: 0px!important;
    padding-right: 0px!important;
    margin-left: 0px!important;
    margin-right: 0px!important;*/
}

.actions-dropdown-menu li {
  list-style-type: none;
}
#add_comment .dropdown-menu {
  overflow: visible;
}

#powered_by {
  /*    float: right;
   margin-right: 10px;
   clear: both;
   position:relative;
   display: inline-block;*/
  position: absolute;
  right: 5px;
  bottom: 5px;
}

.flash-message {
  line-height: 30px;
  color: green;
  display: inline;
}
.error {
  color: red;
}

.th_ticket_number {
  width: 100px;
}

.th_priority {
  width: 100px;
}

.th_status {
  width: 100px;
}

.th_master_slave {
  width: 80px;
}

.th_date_opened {
  width: 180px;
}

.th_owner {
  width: 130px;
}

.th_customer_mail {
  width: 150px;
}

/*.td_ticket_number {
    width: 120px;
}

.td_priority {
    width: 103px;
}

.td_status {
    width: 103px;
}

.td_master_slave {
    width:93px;
}

.td_date_opened {
    width: 152px;
}

.td_owner {
    width:135px;
}

.td_customer_mail {
    width: 150px;
}*/

.warning {
  color: red;
}

.centered {
  text-align: center;
}

#loading {
  /*width:48px;margin:150px auto;height:48px;/*display:none;position:absolute;*/
  position: absolute;
  top: 50%;
  left: 50%;
  width: 250px;
  height: 30px;
  margin-left: -125px;
  margin-top: -15px;
  padding: 14px 0 2px 0;
  border: 1px solid #ddd;
  text-align: center;
  color: #999;
  font-size: 14px;
  background-color: white;
  display: none;
  z-index: 1000;
}

.show_slave {
  display: inline;
  color: blue;
  /* text-decoration: underline;*/
}

td.td_slave_tickets {
  padding-left: 0px !important;
  padding-right: 0px !important;
  padding-top: 0px !important;
  padding-bottom: 0px !important;
}

#table_slave_tickets tr {
  background-color: #ddd;
}
/*#table_slave_tickets td {
  border-right: 1px solid black;

}
.table_tickets td {
    border-right: 1px solid black;
}*/

.select_date {
  width: 100px;
}

#select_calendars {
  display: none;
}

#date_from_cal {
  display: inline;
  width: 150px;
}

#date_to_cal {
  display: inline;
  width: 150px;
}

.th_date_opened_sort {
  display: inline;
}

#show_calendars {
  margin-bottom: 5px;
}

.calendar_window td {
  padding: 5px;
}

div.links {
  float: left;
  height: 30px;
  line-height: 30px;
}

div.links a,
div.logged a {
  color: #777777;
  line-height: 30px;
}

div.links a:hover,
div.logged a:hover {
  text-decoration: none;
  color: #333333;
}

div.logged {
  display: inline-block;
  float: right;
  margin-right: 5px;
}

div.logged > ul {
  list-style: none outside none;
}

div.logged .dropdown-toggle .caret {
  border-top-color: #777777;
}

.logged .pull-right > li > .dropdown-menu:before,
.navbar .nav > li > .dropdown-menu.pull-right:before {
  left: auto;
  right: 12px;
}

.logged .pull-right > li > .dropdown-menu:before {
  border-bottom: 7px solid rgba(0, 0, 0, 0.2);
  border-left: 7px solid rgba(0, 0, 0, 0);
  border-right: 7px solid rgba(0, 0, 0, 0);
  content: "";
  display: inline-block;
  /*left: 9px;*/
  position: absolute;
  top: -7px;
}

.logged .pull-right > li > .dropdown-menu:after,
.navbar .nav > li > .dropdown-menu.pull-right:after {
  left: auto;
  right: 13px;
}

.logged .pull-right > li > .dropdown-menu:after {
  border-bottom: 6px solid #ffffff;
  border-left: 6px solid rgba(0, 0, 0, 0);
  border-right: 6px solid rgba(0, 0, 0, 0);
  content: "";
  display: inline-block;
  /*left: 10px;*/
  position: absolute;
  top: -6px;
}

.logged .pull-right > li > .dropdown-menu,
.navbar .nav > li > .dropdown-menu.pull-right {
  left: auto;
  right: 0;
}

.logged .dropdown-menu li > a {
  clear: both;
  color: #333333;
  display: block;
  font-weight: normal;
  line-height: 20px;
  padding: 3px 20px;
  white-space: nowrap;
}

/* search and clear search icons inside a input box */
.search_wrap {
  display: inline;
}

.search_wrap .icon-search,
.search_wrap .icon-remove {
  /*background-image: url("../img/glyphicons-halflings-grey.png");*/
  margin-left: -20px;
  padding-left: 5px;
  margin-top: 2px;
}

.search_wrap .icon-remove {
  display: none;
}
.search_wrap input {
  padding-right: 20px;
}

.forgot-password {
  float: left;
  line-height: 100%;
}

#restore_div .btn {
  float: right;
}

div.dt-header div.links button.btn {
  margin-left: 5px;
}
div.dt-header div.links button.btn i.icon-home {
  margin-right: -5px;
}

div.submit_section {
  margin-left: 15px;
  border-left: 2px solid #dddddd;
  padding-top: 10px;
  padding-bottom: 10px;
  padding-left: 8px;
}

div.vertical_separator {
  display: inline-block;
  border-left: 5px solid #dddddd;
  width: 100%;
}

div.submit_section button.btn {
  margin-left: 10px;
}

.visible {
  display: inline;
}

.disabled {
  cursor: not-allowed;
}

.inline {
  display: inline-block;
  margin-left: 15px;
  margin-right: 15px;
  text-align: center;
}

.mce-tinymce {
  width: 90%;
  margin: auto;
  margin-top: 15px;
}

.mce-fullscreen {
  margin: 0;
}

#left_menu {
  position: fixed;
  top: 15px;
}

.btn-back,
.btn-regenerate,
.btn-open,
.btn-edit,
.btn-download,
.btn-delete,
.btn-validate,
.btn-publish,
.btn-echeck,
.btn-generate {
  cursor: pointer;
  margin-right: 5px;
}

.btn-eback,
.btn-eopen,
.btn-eregenerate {
  cursor: pointer;
  margin-bottom: 5px;
}

i.mce-i-save:before {
  content: "\f0c7";
  font-family: FontAwesome;
}

i.mce-i-refresh:before {
  content: "\f021";
  font-family: FontAwesome;
}

div[aria-label="Fullscreen"] {
  position: absolute;
  right: 2px;
  top: 4px;
}

.js-loading-bar {
  height: 6px;
  position: fixed;
  width: 100%;
  bottom: 0px;
  left: 0px;
}

.progress {
  height: 6px;
  border-radius: 0px;
  margin-bottom: 0px;
}

.progress-bar {
  width: 100%;
  height: 6px;
}

.dropdown-toggle:focus {
  text-decoration: none;
  color: #333;
}

#logger {
  position: fixed;
  top: 0px;
  width: 100%;
  z-index: 1000;
  left: 0px;
  border-radius: 0;
}

.th_partner {
  width: 100px !important;
}

.th_customer {
  width: 100px !important;
}

.th_type {
  width: 100px !important;
}

.th_month {
  width: 100px !important;
}

.th_status {
  width: 100px !important;
}

.th_modified {
  width: 150px !important;
}

.th_action {
  width: 200px !important;
}

.th_graphs {
  width: 100px !important;
}

.th_notes {
  width: auto !important;
}

.disabled {
  pointer-events: none;
  cursor: default;
}

.infos {
  overflow: auto;
}

#add_comment_field input {
  height: auto;
  width: 400px;
  margin-left: 5px;
}

table.table_cc input {
  width: 206px;
}

table.table_cc td {
  padding-left: 0px;
}

/* SETTINGS */
.settings {
  display: block;
  width: 100%;
}

.settings fieldset {
  border: 1px solid #e5e5e5;
  margin-left: 5px;
  padding: 10px;
  width: 98%;
}

.settings fieldset legend {
  border: none;
  width: auto;
  margin-bottom: 0px;
  padding: 5px;
}

.calendar_input {
  margin-left: 5px;
}

.settings_table td:first-child {
  padding-right: 20px;
}

html #ui-datepicker-div {
  height: auto;
}

.settings_table label {
  display: inline-block;
  margin-right: 10px;
  font-weight: normal;
}

.settings_table input[type="checkbox"] {
  margin-top: 0px;
  margin-right: 3px;
}
/* END SETTINGS */

#unregenerated-changes {
  display: none;
  position: fixed;
  bottom: 0;
  left: 0;
  z-index: 1;
  width: 100%;
  margin: 0;
}

.form-signin {
  width: 100%;
  max-width: 330px;
  padding: 15px;
  margin: auto;
}

/* Son's updates */

#filters {
  padding-bottom: 15px;
  border-bottom: 1px solid #eaf0fb;
}

table.dataTable button.btn {
  font-size: 18px;
  padding: 0 7px;
}

a.btn-link,
a.btn-link:hover {
  color: #30B800;
  font-family: "Eina03Regular";
  text-decoration: none;
}

input.btn-primary {
  font-family: "Eina03SemiBold";
  background-color: #30B800;
  border: none;
}

button#search,
.actions button {
  border: none;
  border-radius: 3px;
  color: white;
  text-shadow: none;
  padding: 10px 50px;
  background: #30B800;
  font-family: "Eina03SemiBold";
  transition: background 0.2s ease-in-out;
}

.actions button[type="button"] {
  background: #6c757d;
}

.actions button:hover {
  color: white;
}

.actions i {
  display: none;
}

button.dropdown-toggle {
  padding: 10px;
}

select {
  height: 40px;
  background: white;
  color: black;
  border-color: #c2c2c2;
  text-align: left;
  overflow: hidden;
}

select[name="language"] {
  width: 100%;
  font-family: "Eina03Regular";
}

/* Mariusz's updates */

.btn-primary {
    color: #fff;
    background-color: #30B800 !important;
    border-color: #30B800;
}

.btn-primary:hover {
    color: #fff;
    background-color: #30B800 !important;
    border-color: #30B800;
    transition: background 0.2s;
}

.btn.btn-lg.btn-primary.btn-block {
    border: none;
    box-shadow: none !important;
}

.btn.btn-lg.btn-primary.btn-block:active {
    -webkit-box-shadow: inset 0 3px 5px rgba(0, 0, 0, 0.125) !important;
    box-shadow: inset 0 3px 5px rgba(0, 0, 0, 0.125) !important;
}

.btn:focus,
.btn:active:focus,
.btn.active:focus,
.btn.focus,
.btn:active.focus,
.btn.active.focus {
    outline: thin dotted;
    outline-offset: -2px;
}

/* Fix styling in an account menu */

form label {
    font-weight: normal;
}

button.save:hover,
button.save:focus,
button.cancel:hover,
button.cancel:focus {
    color: #fff;
}

form .btn:hover.save {
    background-color: #30B800;
}

form .btn:hover.cancel {
    background-color: #5a6268;
}

label[for="language"] {
    display: block;
}

form div.btn-group.bootstrap-select.btn-default {
    width: 100% !important;
}

.action-column {
    min-width: 240px;
}

h3.heading,
h4.heading {
    text-align: left;
    margin-left: 90px;
}

div.mce-tinymce.mce-container.mce-panel {
    margin-left: 90px;
    margin-right: 90px;
}

.mce-fullscreen {
  margin: 0 !important;
}
