:root {
    --primary-color: #f2f1e3;
    --primary-color-light: #F5F4E9;

    --accent-color-red: #BC3136;
    --accent-color-grey: #989797;
}

html {
    min-height:100vh;
}

body {
    font-size: 16px;
    font-family: 'Montserrat', sans-serif;
    color: black;
    font-weight: 400;
    min-height:100vh;
}

h1, a {
    color: black;
}
p a {
    text-decoration: underline;
}

h1 {
    font-size: 32px;
    margin-bottom: 0;
}

body.login-page {
    margin: 0;
    padding: 0;
    background-color: var(--primary-color);
    height: 100vh;
}

#login .container #login-row #login-column #login-box {
    margin-top: 40px;
    max-width: 600px;
    background-color: var(--primary-color-light);
}

#login .container #login-row #login-column #login-box #login-form {
    padding: 20px;
}

#login .login-logo {
    margin-left: auto;
    margin-right: auto;
    padding-top: 30px;
    display: block;
}

#login-box {
    padding: 20px;
}

#login-box h1 {
    margin-bottom: 20px;
}

#login-box table {
    width: 100%
}

.settings {
    margin-top: 30px;
}
.settings h1 {
    margin-bottom: 20px;
}
.settings section.split > section {
    margin-right:20px;
}
.form-simple {
    display:flex;
    flex-direction: column;
    flex-grow:0;
    align-items: flex-start;
}
.form-simple > * {
    margin-bottom:10px;
}

.form-control {
    border: 2px solid #95b7c4;
    color: black;
    padding: 10px 16px;
    border-radius: 0;
    background-color: #EAEAEA;
}

.modal-content {
    border-radius: 0;
}

#billing_base {
    height: 100vh;
    width:100%;
    padding: 0;
    margin: 0;
    display:flex;
    justify-content: center;
    align-items: center;
    background-color: #eaeaea;
}
#billing_base > div {
    background-color: white;
    /*border: 2px solid black;*/
    padding: 20px 16px;
}
#billing_base h1 {
    margin-bottom:20px;
}
#billing_base .split {
    width:100%;
}
#billing_base .split div .fieldWrapper {
    margin-top:10px;
    margin-right:10px;
}


.btn-custom {
    border: 2px solid black;
    color: black;
    padding: 10px 16px;
    border-radius: 0;
    background-color: transparent;
    text-transform: uppercase;
}

.btn-custom:hover {
    color: white;
    background-color: black;
    cursor: pointer;
    border-color: black;
}

.btn-custom:active, .btn-custom:focus {
    background-color: black !important;
    border-color: black !important;
    color: white !important;
}

.btn-upgrade {
    color: white;
    background-color: black;
    border-color: black;
}

.btn-upgrade:hover {
    color: black;
    background-color: transparent;
    cursor: pointer;
}

button.close {
    outline: none;
}

.btn-login:hover {
    cursor: pointer;
    color: white;
    background-color: black;
}

.btn-login:active {
    background-color: black;
    color:white;
}

.btn-login:focus {
    outline: none;
    color:white;
}

.btn-login {
    background-color: transparent;
}

.sidebar {
    min-height: 100vh;
    background-color: var(--primary-color);
    color: black;
    width: 250px;
    text-transform: uppercase;
}

.sidebar .nav-link {
    color: grey;
}

.sidebar .nav-link.active {
    color: black;
}

.sidebar-header {
    padding: 20px;
    text-align: center;
}

.wrapper .row {
    flex-wrap: nowrap;
}

main {
    width: 100%;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
}

main > section {
    margin-top: 0;
    margin-bottom: auto;
}

footer {
    display: flex;
    justify-content: space-between;
    padding-left: 10px;
    padding-right: 10px;
}

.split {
    display:flex;
    align-items: flex-start;
}

.float-right-menu {
    display: flex;
    align-items: center;
    color: black;
}

.float-right-menu > * {
    padding: 10px;
}

.navbar-top {
    height: 102px;
    background-color: #eaeaea !important;
    padding-left: 50px;
}

.navbar-top .container-fluid {
    justify-content: flex-end;
}

.block-content {
    padding: 50px;
    padding-top: 0px;
    margin-top: 20px;
}

.entry-header {
    padding: 30px 50px;
}
.entry-header h1 {
    font-size: 48px;
    font-weight: 400;
}

.language-selector .dropdown-toggle,
.dropdown-user .dropdown-toggle {
    border: 2px solid black;
    color: black;
    padding: 10px 16px;
}

.language-selector .dropdown-toggle {
    text-transform: uppercase;
}

.language-selector .dropdown-menu,
.dropdown-user .dropdown-menu {
    min-width: 10px;
    background-color: #fff;
    border-radius: 0px;
    padding: 0;
    border: none;
    border: 2px solid #ccc;
    margin-left: 10px;
}

.username {
    margin-left: 6px;
}

.dropdown-item {
    padding-top: 10px;
    padding-bottom: 10px;
}

.dropdown-user .dropdown-menu .dropdown-item:not(:first-child) {
    border-top: 2px solid #ccc;
}

.dropdown-item:active {
    background-color: #ccc;
}

.cases-table {
    width: 100%;
}

.cases-table .title-header {
    width: 300px;
}

.cases-table .date-header {
    width: 100px;
}

.cases-table .icon-header {
    width: 20px;
    text-align: center;
}

.cases-table .icon-data {
    text-align: center;
}

.cases-table-dashboard td {

}

.cases-table-dashboard .table-name {
    width: 400px;
}

.cases-table-dashboard .table-date {
    width: 400px;
}

.cases-table-dashboard .table-buttons {
    width: 40px;
}

.new-case-progress {
    display: flex;
    flex-direction: row;
    margin-top: 20px;
}

.new-case-progress > div {
    width: 23%;
    margin-right: 2%;
}

.new-case-progress > div > p {
    color: lightgrey;
    border-top: 2px solid lightgrey;
}

.new-case-progress > div.current > p {
    color: black;
    border-top: 2px solid black;
}

.newcase-page {
    max-width: 1200px;
}

.custom-input {
    border: 0;
    border-bottom: 2px solid black;
    padding: 5px 4px;
}

.custom-input.custom-input-wide {
    width: 100%;
}

.custom-input::placeholder {
    color: #dddddd;
}

.form-title {
    text-transform: uppercase;
    color: black;
    font-size: 16px;
    font-weight: 400;
    margin-top:16px;
}

.subtext {
    font-size: 13px;
    padding-top: 16px;
}

.newcase-page h2 {
    font-size: 48px;
    font-weight: 400;
    color: black;
    margin-top: 8px;
    margin-bottom: 40px;
}

.newcase-page h3 {
    color: black;
    margin-top:2rem;
}

.newcase-page p {
    color: black;
}

.noUi-pips {
    color: black;
}

.form-custom-select {
    height: auto !important;
    background-color: white;
}

.form-custom-select:focus {
    border-color: black;
    box-shadow: none;
}

.noUi-connects {
    background-color: white;
}

.noUi-connect {
    background-color: var(--accent-color-grey);
}

.noUi-target, .noUi-connects {
    border-radius: 0;
}

.form-claim textarea,
input[type=text],
input[type=email],
input[type=password],
input[type=number],
input[type=date],
.custom-textarea {
    border: 0;
    background-color: transparent;
    border-bottom: 2px solid black;
    padding: 0;
    resize: none;
    color: black;
}

.form-claim textarea:focus,
input[type=text]:focus,
input[type=email]:focus,
input[type=password]:focus,
input[type=number]:focus,
input[type=date]:focus,
.custom-textarea:focus {
    box-shadow: none;
    border-color: inherit;
    outline: none;
}

input[type=date], input[type=number] {
    margin-top: 20px;
    margin-bottom: 20px;
}

.form-claim textarea, textarea.custom-textarea {
    border: 2px solid black;
    margin-bottom: 16px;
    margin-top: 16px;
    padding: 12px;
}

select.form-control {
    color: black;
    border-color: black;
    margin-bottom: 12px;
}

.form-claim .range-slider-input {
    margin-top: 44px;
    margin-bottom: 16px;
}

.form-claim h4 {
    margin-top: 24px;
}

.form-claim > div:not(.form-check) {
    margin-top: 40px;
}

.form-claim .currency, .time_and_cost_page .currency {
    width: 700px;
}

.form-claim input[type=number] {
    max-width: 100px;
    text-align: right;
}

.select-years {
    margin-right: 30px;
}

.disclaimer {
    max-width: 800px;
    padding: 30px;
    padding-right: 10px;
    position: relative;
    color: black;
    background-color: var(--primary-color-light);
    margin-top: 10px;
    margin-bottom: 20px;
}

.hide {
    display: none !important;
}

.hide-disclaimer {
    position: absolute;
    right: 10px;
    top: 10px;
}

.disclaimer p {
    margin-bottom: 0;
}
.disclaimer a {
    color: black;
    text-decoration: underline;
}

.result_page h4, .result_page h3 {
    color: #333;
}
.result_page h4 {
    margin-top:40px;
}
.result_page h3 {
    margin-top:60px;
}
.result_page p {
    margin-top:16px;
    margin-bottom:16px;
}
.result_page table {
    margin-top:24px;
    margin-bottom:24px;
}

.sub-header {
    margin-top: 20px;
    margin-bottom: 0;
}

.entry-header {
    padding-bottom: 29px;
}

.table-centered {
    text-align: center;
}

th.rotate {
    height: 200px;
    white-space: nowrap;
}

.claim_result th {
    max-width: 100px;
}

table.grey td.green {
    border-right: 2px solid #78b52d;
}

table.grey td.red {
    border-right: 2px solid #b52d33;
}

.progress {
    height: 30px;
    border-radius: 0px;
    background-color: #F1F1F1;
}

.progress .progress-bar {
    background-color: grey;
}
.progress + p {
    margin-top:20px;
}
.progress-bar {
    text-transform: uppercase;
}


table.highlight {
    overflow: hidden;
}

table.highlight tr:hover {
    background-color: #d0dadd !important;
}
table.highlight tr:hover .lightgrey {
    color: black;
}

table.highlight td,
table.highlight th {
    position: relative;
}

table.highlight td:hover::after,
table.highlight th:hover::after {
    content: "";
    position: absolute;
    background-color: #d0dadd !important;
    left: 0;
    top: -5000px;
    height: 10000px;
    width: 100%;
    z-index: -1;
}

hr {
    margin-top: 36px;
    margin-bottom: 36px;
}

.submit-buttons {
    margin-top: 30px;
}

.card {
    margin-bottom: 20px;
    border: 0;
    border-top: 2px solid #FF4136;
    border-bottom: 2px solid #FF4136;
    border-radius: 0;
}

.card .card-body ul {
    margin-bottom: 0;
}

.sharedby_form text {
    max-width: 800px;
}

.sharedby_form textarea {
    height: 400px;
}

.btn-share {
    background-color: white;
    color: black;
    border-color: black;
    padding: 12px 32px;
}

.btn-share:hover {
    background-color: black;
    color: white;
}

.signup input {
    width: 80%;
}

.signup input[type=checkbox] {
    width: auto;
}
.time_and_cost_page h3 {
    margin-top:24px;
    margin-bottom:12px;
}
.time_and_cost_page input, .time_and_cost_page select {
    margin-bottom:40px;
}
.time_and_cost_page .select-years {
    max-width:300px;
}
a[data-toggle="tooltip"] {
    color: black;
}
.lightgrey {
    color: #D0DADD;
}
.claim_result_div {
    margin-top:40px;
}
.claim_result_div h3:first-child {
    margin-bottom:20px;
    margin-top:20px;
}

.info-box-popup {
    margin-left:8px;
}
.info-box-popup i {
    margin-top:0;
    font-size:16px;
}

.number-span {
    margin-right:20px;
}

.loading:after {
  overflow: hidden;
  display: inline-block;
  vertical-align: bottom;
  -webkit-animation: ellipsis steps(4,end) 900ms infinite;
  animation: ellipsis steps(4,end) 900ms infinite;
  content: "\2026"; /* ascii code for the ellipsis character */
  width: 0px;
}

.company-user-table td {
    padding:5px;
}

.password_forgot {
    display:block;
    text-decoration: underline;
    padding-top: 10px;
    padding-bottom: 10px;
}

#login-box tr td {
    margin-bottom:.5rem;
}
#login-box label {
    vertical-align: bottom;
    margin-bottom:0;
    margin-top:.5rem;
}

.message-box p {
    margin-top:2rem;
    margin-bottom: 2rem;
}
.message-box div {
    display:flex;
    justify-content: center;
}

.settings-company .split {
    justify-content: space-between;
}

.settings-billing .split {
    justify-content: space-between;
}
.settings-billing .split div {
    flex:1;
}
.settings-billing form .split {
    width:100%;
}
.settings-billing form .split .fieldWrapper {
    margin-top:10px;
}
.pro-table table {
    font-weight: bold;
    border: 1px solid var(--primary-color-light);
}
.pro-table td, .pro-table tr {
    padding:10px;
}

#file-upload-div {
    width:100%;
}
#file-upload-div textarea {
    width:100%;
}
.file-upload td:first-child {
    max-width:240px;
}
.file-upload td > * {
    margin: 0;
    margin-bottom:10px;
}
.file-upload .td-description {
    width:500px;
}
.file-upload .td-description textarea {
    height:160px;
}
.file-upload .td-name {
    max-width: 200px;
    word-break: break-all;
}
.fu-filename, .fu-date {
    width:100%;
    height:28px;
}
.btn-maxwidth {
    max-width:300px;
    word-break: break-word;
    white-space: normal;
    text-transform: none;
}

.table-schedules .description p {
    margin-top: 0;
}


p.error {
    color: var(--accent-color-red);
}

@keyframes ellipsis {
  to {
    width: 30px;
  }
}

@-webkit-keyframes ellipsis {
  to {
    width: 30px;
  }
}


@media print {
    .sidebar, .navbar-top {
        display: none;
    }
}

table.claim_result th {
    word-break: break-word;
}

.autocomplete {
  position: relative;
  display: inline-block;
}
input {
  border: 1px solid transparent;
  padding: 10px;
  font-size: 16px;
}
.autocomplete-items {
  position: absolute;
  border: 1px solid #d4d4d4;
  border-bottom: none;
  border-top: none;
  z-index: 99;
  top: 100%;
  left: 0;
  right: 0;
}
.autocomplete-items div {
  padding: 10px;
  cursor: pointer;
  background-color: #fff;
  border-bottom: 1px solid #d4d4d4;
}
.autocomplete-items div:hover {
  background-color: #e9e9e9;
}
.autocomplete-active {
  background-color: DodgerBlue !important;
  color: #ffffff;
}