* {
    border-radius: 1px !important;
}

html {
    position: relative;
    min-height: 100%;
    scroll-behavior: smooth;
}

body {
    background-color: #F2F2F2;
    margin-bottom: 80px;
    font-size: 15px;
    letter-spacing: 1px;
    line-height: 2;
    color: #203A45;
    font-family: 'Roboto', 'Ubuntu',  sans-serif;
}

h1, h2, h3, h4, h5 {
    margin: 15px 0;
}

h4, .h4 {
    font-size: 16px;
}

select, input, textarea {
    border: 1px solid #ccc;
    padding: 3px 6px;
    color: #666;
    font-family: inherit;
    letter-spacing: inherit;
    outline: none;
    font-size: 13.5px;
    border-radius: 3px !important;
}

select {
    padding: 6px 8px;
}

input[type=number]::-webkit-inner-spin-button,
input[type=number]::-webkit-outer-spin-button {
    -webkit-appearance: none;
    margin: 0;
}

input[type=number] {
    -moz-appearance: textfield;
}

input[type=number] {
    min-width: 230px;
}

input[type=checkbox] {
    vertical-align: -4px !important;
    margin-right: 4px;
}

select.multiple {
    min-height: 100px;
    min-width: 230px;
}

select:focus, input:focus, textarea:focus {
    border: 1px solid #304d66;
}

input[type=file] {
    border: none;
    padding-left: 0;
}

pre {
    font-size: inherit;
    padding: 0;
    background-color: #fff;
    border: none;
    white-space: pre-line;
    font-family: inherit;
    line-height: inherit;
}

.logo {
    padding: 6px;
    background-color: #333;
    max-height: 100%;
    height: 40px;
    border-radius: 3px !important;
}

.header {
    padding: 5px 0;
    background-color: #dce5ed;
}

.main {
    padding: 15px;
    background-color: #fff;
    margin-bottom: 10px;
    border: 1px solid #eee;
}

.bg {
    background-color: #dce5ed !important;
}

.well {
    background-color: #fafafa;
    border: 1px solid #ddd !important;
}

.text-muted {
    color: #999
}

.navbar {
    position: sticky;
    top: 0;
    z-index: 100;
    font-size: 15px;
    border-radius: 0 !important;
    margin-bottom: 10px;
}

.navbar-inverse {
    border: none;
    background-color: #304d66;
}

.navbar-inverse .navbar-nav > li > a {
    color: #fff;
}

.navbar-inverse .navbar-nav > .active > a {
    color: orange;
    font-weight: bold;
    background-color: #1d384f;
    border-radius: 0 !important;
}

.navbar-brand {
    font-size: inherit;
    font-family: inherit;
    color: #fafafa !important;
}

.list-group-item {
    padding: 8px 12px;
    border: none;
    border-bottom: 1px solid #eee;
    margin-bottom: 1px;
    border-top-right-radius: 10px !important;
    border-bottom-left-radius: 10px !important;
}

.list-group-item a {
    color: #444;
}

.list-group-item.active a {
    color: #fff;
    font-weight: bold;
}

.list-inline {
    background-color: #f0f4f8;
    padding: 6px;
    margin-bottom: 0;
    border-radius: 4px !important;
}

.list-inline a {
    color: #222;
    font-weight: bold;
}

.list-inline .active {
    background-color: transparent !important;
}

.list-inline .active a {
    padding: 5px 10px;
    color: #fff;
    background-color: #337ab7;
    border-top-right-radius: 10px !important;
    border-bottom-left-radius: 10px !important;
}

.list-group-item.current {
    font-weight: bolder;
    color: #337ab7;
}
.progress {
    height: 40px;
}
.progress-bar {
    font-size: 14px;
    font-weight: bold;
    line-height: 40px;
}
.bold {
    font-weight: bold !important;
}

.alert {
    font-size: 13px;
    margin-bottom: 10px;
    border-radius: 4px !important;
}

.sm-only {
    display: none;
}

.p-right {
    float: right !important;
}

.error {
    min-height: 360px;
    text-align: center;
    border: 1px solid #ddd;
}

.error h2 {
    font-size: 5em;
}

.error p {
    font-size: 1.2em;
    font-weight: 300;
}

.filter {
    padding: 5px;
    background-color: #F5F5F5;
}

.filter select {
    border: 1px dotted #ddd;
    padding: 1px 2px;
    font-size: 14px;
    -webkit-appearance: none;
    -moz-appearance: none;
    text-indent: 1px;
    text-overflow: '';
}

.modal-header {
    background-color: #f5f5f5;
}

.m-payment {
    font-size: 13px;
    color: #adff2f;
    background-color: #444;
}

.print-header {
    font-weight: 500;
    line-height: normal !important;
    text-align: center;
    min-height: auto;
    padding-bottom: 5px;
    border-bottom: 3px double #999
}

.print-header h3, .print-header p {
    margin: 6px 0;
}

.date-picker {
    background-color: #F5F5F5;
}

.agreement {
    margin-top: 10px;
    border: 1px solid #ddd;
    border-radius: 4px !important;
}

.agreement-row {
    display: flex;
    margin: 10px 0;
}

.agreement-row {
    border-bottom: 1px dotted #ddd;
}

.agreement-row:first-child, .agreement-row:last-child {
    border-bottom: none;
}

.agreement-row div:first-child {
    font-weight: bold;
    text-align: right;
    margin-right: 15px;
    flex-basis: 20%;
}

.agreement-row div:last-child {
    text-align: justify;
    flex-basis: 70%;
}

.map {
    padding: 4px;
    max-width: 100%;
    border: 1px solid #ddd;
}

.text {
    font-size: 13.5px;
    line-height: inherit;
}

.text-shadow {
    color: transparent;
    text-shadow: 0 0 5px rgba(0, 0, 0, 0.5);
    -webkit-user-select: none;
    -moz-user-select: none;
    -ms-user-select: none;
    user-select: none;
}

.thin {
    font-weight: 300 !important;
}

table {
    width: 100%;
}

th {
    text-align: left;
}

td, th {
    padding: 4px;
}

.table {
    margin-bottom: 10px;
    background-color: #fff;
    border: 2px solid #dce5ed !important;
    /*table-layout:fixed;*/
}

.table thead, .table tfoot {
    background-color: #dce5ed;
}

.table td {
    padding: 6px 8px;
    /*word-wrap:break-word;*/
}

.table-sm td, .table-sm th {
    padding: 2px 4px;
}

.table tr:nth-child(even) {
    background-color: #fafafa;
}

.table-list th {
    width: 30%;
    padding-right: 20px;
    text-align: right;
}

.table-list th, .table-list td {
    padding: 4px;
}

.table-list {
    border: 1px solid #ddd;
}

.table-list th {
    text-align: right;
    width: 40%;
}

.tds {
    border-right: 1px solid #a1b1be !important;
}

._paid {
    font-size: 11px;
    background-color: #edf4f9;
    border: 1px solid #ddd;
}

.table tr:hover, .table tr:hover ._paid {
    background-color: #ddd !important;
}

.i {
    font-style: italic;
}

.b {
    font-weight: bold !important;
}

.box {
    padding: 5px 0;
}

.box:not(:last-child) {
    border-bottom: 1px dotted #ddd
}

.box .status {
    font-size: 11px;
}

.m-btm {
    margin-bottom: 10px;
}

.dl-horizontal dt {
    font-weight: 500;
    margin-bottom: 8px;
}

.icon {
    height: 20px;
    margin-right: 5px;
    vertical-align: middle;
}

.thumbnail {
    padding: 0;
    border-color: #eee;
    background-color: #fafafa;
}

.thumbnail:hover {
    opacity: .8;
    border: 1px dotted #304d66;
}

.thumbnail:hover a {
    text-decoration: none;
}

.img {
    max-width: 100%;
    max-height: 100%;
}

.radius {
    border-radius: 10px !important;
}

.img-placeholder {
    background-color: #ebf4fc;
    min-height: 150px;
    text-align: center !important;
}

.jumbotron {
    margin-bottom: 10px;
    padding-top: 20px;
}

.profile {
    text-align: center;
    padding: 10px;
    margin-bottom: 10px;
    /*background-color: #F5F5F5;*/
}

.profile img {
    height: 180px;
    border-radius: 50% !important;
}

.profile-sm {
    height: 26px;
    border: 1px solid #888;
    border-radius: 50% !important;
}

.status {
    font-size: 10px;
    font-weight: 600;
    padding: 2px 4px;
    background-color: #eee;
    border: 1px solid #ddd;
    border-radius: 4px !important;
}

.paid, .processed, .active, .completed, .monthly, .invoiced {
    color: #fff;
    border: none;
    background-color: #599b5a;
}

.available, .approved, .api, .unread {
    color: #fff;
    border: none;
    background-color: #337ab7;
}

.partial {
    color: #444;
    background-color: #ece2b1;
}

.cancelled, .suspended, .failed, .loss {
    color: #fff;
    border: none;
    background-color: rgba(149, 5, 5, 0.57);
}

.right {
    text-align: right;
}

.center {
    text-align: center;
}

.logs {
    background-color: #F5F5F5;
    color: #444;
    padding: 15px;
}

.log {
    padding: 2px 0;
    font-size: 12px;
    word-wrap: break-word;
}

.log:not(:last-child) {
    border-bottom: 1px solid #ddd;
}

.active-log a {
    font-weight: bolder;
    text-decoration: underline;
}

.nav-tabs {
    border-bottom: none;
}

.nav-tabs > li {
    margin-bottom: -2px;
}

.nav-tabs > li.active {
    background-color: transparent;
}

.nav-tabs > li.active a {
    border: 1px solid #ddd;
    border-bottom-color: #fff;
}

.table {
    font-size: 13.5px !important;
    margin: 10px 0;
    border: 1px solid #ddd;
}

.table .btn {
    font-size: 13px;
    padding: 2px 4px;
}

.table > tbody > tr > td,
.table > tbody > tr > th,
.table > tfoot > tr > td,
.table > tfoot > tr > th,
.table > thead > tr > td,
.table > thead > tr > th {
    padding: 6px;
    vertical-align: middle;
    border: 1px dotted #ddd;
}

.media {
    border-bottom: 1px dotted #ddd;
    padding-bottom: 6px;
    padding-left: 20px
}

.form-group small.text-muted {
    display: block;
    margin-top: 4px !important;
}

.form-horizontal .control-label {
    padding-top: 2px;
}

.form-control {
    background-color: #fafafa;
}

.login-form input {
    width: 160px;
}

.btn {
    border-radius: 4px !important;
}

.btn-group .btn {
    border-radius: 0 !important;
    border: none;
}

.header .btn {
    padding-left: 10px;
    padding-right: 10px;
}

.login-form button, .login-form input {
    border: 1px solid #888;
    border-radius: 20px !important;
}

.login-form button, .login-form input {
    height: 32px;
    padding: 1px 10px;
}

.flex {
    display: flex;
}

.flex-left {
    flex-basis: 22%;
    margin-right: 10px
}

.flex-right {
    flex: 1;
}

.flex-left .main {
    padding: 10px;
}

.left-lg {
    flex-basis: 30%;
}

.left-sticky {
    position: sticky !important;
    top: 60px;
}

.jumbotron .container {
    max-width: 940px;
}

.text-danger a {
    color: inherit;
}

.enquiries-form input, .enquiries-form textarea {
    width: 100%;
    border: 1px solid #ddd;
    padding: 2px 4px;
    background-color: #fafafa;
}

.footer {
    position: absolute;
    bottom: 0;
    width: 100%;
    height: 50px;
    line-height: 50px;
    background-color: #fff;
    border-top: 1px solid #ddd;
}

.footer .container {
    display: flex;
    align-items: stretch;
}

.footer .container span {
    flex: 1;
}

.footer .container span:last-child {
    text-align: right;
}

#ui-datepicker-div {
    z-index: 2000 !important;
}
