/* General */

* {
  padding: 0;
  border: 0;
  outline: 0;
  margin: 0;
}

ul {
list-style-type: none;
}

/* Header */

button.button {
height: 35px;
display: inline-block;
background-color: #2CABE3;
font-weight: 700;
text-transform: uppercase;
color: #fff;
padding: 0 15px 0 15px;
-webkit-border-radius: 6px;
-moz-border-radius:    6px;
border-radius:         6px;
margin: 0 0 25px 0;
}

button.button:hover,
button.button:active {
background-color: #027FB7;
}

/* Datatable */

.dataTables_wrapper {
position: relative;
padding: 50px 0 50px 0;
}

.dataTables_length {
width: auto;
height: 30px;
position: absolute;
top: 0;
left: 0;
padding: 0 110px 0 0;
}

.dataTables_length label {
line-height: 30px;
margin: 0;
}

.dataTables_length select {
width: 100px;
height: 30px;
position: absolute;
top: 0;
right: 0;
background-color: #fff;
color: #666;
padding: 0 50px 0 10px;
border: 1px solid #ccc;
-webkit-border-radius: 6px;
-moz-border-radius:    6px;
border-radius:         6px;
margin: 0;
}

.dataTables_length:after {
width: 30px;
height: 30px;
position: absolute;
top: 0;
right: 0;
background-color: #999;
font-family: "Font Awesome 5 Pro";
font-weight: 900;
font-size: 1.2rem;
line-height: 30px;
text-align: center;
color: #fff;
content: '\f107';
pointer-events: none;
-webkit-border-top-right-radius:    6px;
-webkit-border-bottom-right-radius: 6px;
-moz-border-radius-topright:        6px;
-moz-border-radius-bottomright:     6px;
border-top-right-radius:            6px;
border-bottom-right-radius:         6px;
}

.dataTables_length select::-ms-expand {
display: none;
}

.dataTables_filter {
position: absolute;
top: 0;
right: 0;
}

.dataTables_filter label {
line-height: 30px;
}

.dataTables_filter input {
width: 200px;
height: 30px;
display: inline-block;
background-color: #fff;
line-height: 30px;
color: #666;
padding: 0 0 0 10px;
border: 1px solid #ccc;
-webkit-border-radius: 6px;
-moz-border-radius:    6px;
border-radius:         6px;
margin: 0 0 0 10px;
}

.dataTables_filter input:focus {
background-color: #ffd;
}

.dataTables_paginate {
position: absolute;
bottom: 0;
left: 0;
}

.dataTables_paginate a {
width: 30px;
height: 30px;
float: left;
background-color: #027FB7;
font-weight: normal;
line-height: 29px;
text-align: center;
color: #fff;
-webkit-border-radius: 6px;
-moz-border-radius:    6px;
border-radius:         6px;
margin: 0 10px 0 0;
}

.dataTables_paginate a.current,
.dataTables_paginate a:hover,
.dataTables_paginate a:active,
.dataTables_paginate a:focus {
background-color: #2cabe3;
}

.dataTables_paginate a.previous,
.dataTables_paginate a.next {
font-family: "Font Awesome 5 Pro";
font-weight: 900;
font-size: 1.4rem;
line-height: 30px;
}

.dataTables_paginate a.previous:before {
content: '\f104';
}

.dataTables_paginate a.next:before {
content: '\f105';
}

.dataTables_info {
position: absolute;
bottom: 0;
right: 0;
line-height: 30px;
}

table.datatable {
width: 100% !important;
line-height: 1.4rem;
}

table.datatable th,
table.datatable td {
background-color: #fff;
padding: 5px 10px 5px 10px;
border: 1px solid #ccc;
}

table.datatable thead th {
background-color: #313131 !important;
font-weight: 500;
text-transform: uppercase;
white-space: nowrap;
color: #fff;
padding-top: 7px;
padding-bottom: 8px;
}

table.datatable thead th.sorting,
table.datatable thead th.sorting_desc,
table.datatable thead th.sorting_asc {
cursor: pointer;
}

table.datatable thead th.sorting:active,
table.datatable thead th.sorting_desc:active,
table.datatable thead th.sorting_asc:active {
background-color: #333;
}

table.dataTable thead .sorting_asc::after, table.dataTable thead .sorting::after, table.dataTable thead .sorting_desc::after {
display: none;
}

th.functions.sorting_disabled {
width: 70px;
}

table.datatable tbody tr:nth-child(even) td {
background-color: #eee;
}

table.datatable tbody tr:hover th,
table.datatable tbody tr:hover td {
background-color: #ffd;
}

table.datatable tbody tr:hover td.dataTables_empty {
background-color: #fff;
}

table.datatable tbody td.company_name {
width: 100%;
}

table.datatable tbody td.status {
width: 100px;
}

table.datatable tbody td.integer {
text-align: right;
white-space: nowrap;
}

table.datatable tbody td.nowrap {
white-space: nowrap;
}

table.datatable tbody td.functions .function_buttons {
width: 70px;
height: 30px;
margin: 0 auto 0 auto;
margin-bottom: 5px;
}

table.datatable tbody td.functions .function_buttons li {
float: left;
padding: 0 10px 0 0;
}

table.datatable tbody td.functions .function_buttons li.function_delete {
padding: 0;
}

table.datatable tbody td.functions .function_buttons a {
width: 30px;
height: 30px;
display: inline-block;
background-color: #717171;
font-family: "Font Awesome 5 Pro";
font-weight: 900;
line-height: 29px;
text-align: center;
color: #fff;
-webkit-border-radius: 6px;
-moz-border-radius:    6px;
border-radius:         6px;
}

table.datatable tbody td.functions .function_buttons .function_edit a:before {
content: "\f14b";
}

table.datatable tbody td.functions .function_buttons .function_delete a:before {
content: "\f2ed";
}

table.datatable tbody td.functions .function_buttons a:hover,
table.datatable tbody td.functions .function_buttons a:active,
table.datatable tbody td.functions .function_buttons a:focus {
background-color: #333;
}

table.datatable tbody td.functions .function_buttons span {
display: none;
}

/* Message / noscript */

#message_container,
#noscript_container {
position: fixed;
bottom: 0px;
left: 0;
width: 100%;
background-color: #333;
text-align: center;
color: #fff;
padding-top: 10px;
z-index: 2000;
}

#message_container {
display: none;
}

#message,
#noscript {
width: 100%;
line-height: 20px;
padding: 10px 5px 10px 6px;
margin: 0 auto 0 auto;
}

#message  p,
#noscript p {
display: inline-block;
position: relative;
padding: 0 0 0 28px;
}

#message  p:before,
#noscript p:before {
width: 20px;
height: 20px;
position: absolute;
top: 0;
left: 0;
background-color: #2cabe3;
font-family: "Font Awesome 5 Pro";
font-weight: 900;
font-size: 12px;
line-height: 20px;
text-align: center;
color: #fff;
-webkit-border-radius: 20px;
-moz-border-radius:    20px;
border-radius:         20px;
}

#message.success  p:before,
#noscript.success p:before {
content: '\f00c';
}

#message.error  p:before,
#noscript.error p:before {
content: '\f00d';
}

/* Loading message */

#loading_container {
width: 100%;
height: 100%;
display: none;
position: fixed;
top: 0;
left: 0;
background-color: #333;
background-color: rgba(0, 0, 0, 0.85);
text-align: center;
}

#loading_container2 {
width: 100%;
height: 100%;
display: table;
}

#loading_container3 {
display: table-cell;
vertical-align: middle;
}

#loading_container4 {
width: 350px;
height: 250px;
position: relative;
background-color: #fff;
font-size: 1.4rem;
line-height: 1.4rem;
color: #666;
padding: 165px 0 0 0;
-webkit-box-sizing: border-box;
-moz-box-sizing:     border-box;
box-sizing:          border-box;
-webkit-border-radius: 6px;
-moz-border-radius:    6px;
border-radius:         6px;
margin: 0 auto 0 auto;
}

#loading_container4:before {
width: 100%;
position: absolute;
top: 80px;
left: 0;
font-family: "Font Awesome 5 Pro";
font-weight: 900;
font-size: 4rem;
line-height: 4rem;
text-align: center;
color: #2cabe3;
content: '\f013';
-webkit-animation: spin 2s infinite linear;
animation:         spin 2s infinite linear;
}

@-webkit-keyframes spin {
0% {
-webkit-transform: rotate(0deg);
transform:         rotate(0deg);
}
100% {
-webkit-transform: rotate(359deg);
transform:         rotate(359deg);
}
}

@keyframes spin {
0% {
-webkit-transform: rotate(0deg);
transform:         rotate(0deg);
}
100% {
-webkit-transform: rotate(359deg);
transform:         rotate(359deg);
}
}