/* ********************************************************************************************
    Reset
*********************************************************************************************** */

html,
body {
    -webkit-font-smoothing: antialiased;
    scroll-behavior: smooth;
    height: 100%;
}

body {
    font-family: "Poppins", sans-serif;
    font-size: 15px;
}

img {
    max-width: 100%;
}

.text-underline {
    text-decoration: underline;
}

.font-size-13 {
    font-size: 13px !important;
}

.font-size-14 {
    font-size: 14px !important;
}

.font-size-18 {
    font-size: 18px !important;
}

.font-weight-600 {
    font-weight: 600 !important;
}

.text-default {
    color: #5b6b82 !important;
}

.text-danger {
    color: #d9534f !important;
}

a {
    color: #212529;
}

a:hover {
    text-decoration: none !important;
}

.m-b-30 {
    margin-bottom: 30px;
}

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

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

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

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

.w-80p {
    width: 80px;
}

.w-100p {
    width: 100px;
}

.w-150p {
    width: 150px;
}

.pointer {
    cursor: pointer;
}

/* ********************************************************************************************
    Button
*********************************************************************************************** */
.btn {
    font-size: 15px;
    padding: 0.4rem 0.75rem;
}

.btn-group-lg > .btn,
.btn-lg {
    font-size: 1rem;
}

/* ********************************************************************************************
    Navbar
*********************************************************************************************** */
.navbar .navbar-toggler-icon:before {
    content: "\f1ce";
    font-family: "Material-Design-Iconic-Font";
    font-size: 2rem;
    color: #000;
}

.navbar-toggler:focus,
.navbar-toggler:hover {
    outline: none;
}

.new-car-sold {
    padding: 0.4rem 0.7rem !important;
    border-radius: 4px !important;
    font-size: 13px !important;
    background-color: #009900;
    color: #fff !important;
}

.nav-link.active
{
    border-bottom: 3px solid #007bff;
}

/* ********************************************************************************************
    Dropdown Menu
*********************************************************************************************** */
.dropdown-menu {
    min-width: 180px;
}

.dropdown-item {
    font-size: 15px;
    font-weight: 500;
    padding: 0.75rem 1.5rem;
    border-bottom: 1px solid #e9ecef;
}

/* ********************************************************************************************
    Form Control
*********************************************************************************************** */
.form-control {
    font-size: 15px;
}

/* ********************************************************************************************
    Pages
*********************************************************************************************** */
.login-container {
    position: relative;
    min-height: 100vh;
}

.login-box {
    width: 100%;
    max-width: 400px;
    margin: 0 auto;
    background-color: #fdfdfd;
    border: 1px solid #ececec;
}

.login-box .card-header,
.login-box .card-body,
.login-box .card-footer {
    padding: 1.25rem 2rem;
}

.section-padding {
    padding: 100px 0px 40px;
}

.card {
    height: 100%;
}

.card-header,
.card-footer {
    background-color: #ffffff;
}

.table {
    font-size: 14px;
}

thead tr th:first-child,
tbody tr td:first-child {
    width: 15em;
    min-width: 15em;
    max-width: 15em;
    word-break: break-all;
    position: sticky;
    left: 0;
    z-index: 2;
    background-color: #ffffff;
}

.table td:first-child,
.table th:first-child {
    white-space: pre-wrap;
}

.table-bordered thead td,
.table-bordered thead th {
    border-width: 1px;
}

.table-responsive .table-bordered th,
.table-responsive .table-bordered td {
    padding: 0.5rem 0.5rem;
}

.small-table.table td,
.small-table.table.table th {
    padding: 0.75rem 0.75rem;
}

.full-ht-card {
    height: calc(100vh - 275px);
}

.sidebar-card {
    height: calc(100vh - 150px);
}

.list-group-item {
    border: none;
    border-radius: 0px !important;
    border-bottom: 1px solid rgba(0, 0, 0, 0.125);
    border-left: 3px solid transparent;
}

.list-group-item:hover {
    border-left: 3px solid #007bff;
}

.list-group-item.active {
    background-color: #fff;
    border-color: inherit;
    color: inherit;
    border-left: 3px solid #007bff;
}

.list-group-item + .list-group-item.active {
    margin-top: 0;
    border-top-width: 0;
}

.table-scroll {
    height: auto;
    overflow: auto;
}

.table td,
.table th {
    white-space: nowrap;
}

.react-datepicker-wrapper {
    width: 100%;
}

.collapse-panel:not(.show) {
    height: 159px !important;
    overflow: hidden;
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
}

.card-footer .fa {
    transition: 0.1s transform ease-in;
}

.card-footer .collapsed .fa {
    transform: rotate(180deg);
}

.modal-content {
    z-index: 9999;
}

button.close:focus {
    outline: none !important;
}

.react-datepicker-popper {
    z-index: 3 !important;
}

.form-control.is-invalid,
.was-validated .form-control:invalid {
    padding-right: 0.75rem;
    background: none;
    background-color: #ffd4d4;
}

table td.thick-border,
table th.thick-border {
    border-right: 3px solid #dee2e6;
}

/*Loader*/
.loader-container {
    position: fixed;
    z-index: 2000;
    top: 0;
    left: 0;
    bottom: 0;
    right: 0;
    background-color: rgba(255, 255, 255, 0.6);
}

.loader-logo {
    position: absolute;
    top: 50%;
    left: 0;
    right: 0;
    margin: 0 auto;
    z-index: 5;
    -webkit-transform: translateY(-50%);
    -moz-transform: translateY(-50%);
    -ms-transform: translateY(-50%);
    -o-transform: translateY(-50%);
    transform: translateY(-50%);
}

/*Loader sk-chase*/
.sk-chase {
    width: 55px;
    height: 55px;
    position: relative;
    margin: 0 auto;
    animation: sk-chase 2.5s infinite linear both;
}

.sk-chase-dot {
    width: 100%;
    height: 100%;
    position: absolute;
    left: 0;
    top: 0;
    animation: sk-chase-dot 2s infinite ease-in-out both;
}

.sk-chase-dot:before {
    content: "";
    display: block;
    width: 25%;
    height: 25%;
    background-color: #212121;
    border-radius: 100%;
    animation: sk-chase-dot-before 2s infinite ease-in-out both;
}

.sk-chase-dot:nth-child(1) {
    animation-delay: -1.1s;
}

.sk-chase-dot:nth-child(2) {
    animation-delay: -1s;
}

.sk-chase-dot:nth-child(3) {
    animation-delay: -0.9s;
}

.sk-chase-dot:nth-child(4) {
    animation-delay: -0.8s;
}

.sk-chase-dot:nth-child(5) {
    animation-delay: -0.7s;
}

.sk-chase-dot:nth-child(6) {
    animation-delay: -0.6s;
}

.sk-chase-dot:nth-child(1):before {
    animation-delay: -1.1s;
}

.sk-chase-dot:nth-child(2):before {
    animation-delay: -1s;
}

.sk-chase-dot:nth-child(3):before {
    animation-delay: -0.9s;
}

.sk-chase-dot:nth-child(4):before {
    animation-delay: -0.8s;
}

.sk-chase-dot:nth-child(5):before {
    animation-delay: -0.7s;
}

.sk-chase-dot:nth-child(6):before {
    animation-delay: -0.6s;
}

@keyframes sk-chase {
    100% {
        transform: rotate(360deg);
    }
}

@keyframes sk-chase-dot {
    80%,
    100% {
        transform: rotate(360deg);
    }
}

@keyframes sk-chase-dot-before {
    50% {
        transform: scale(0.4);
    }
    100%,
    0% {
        transform: scale(1);
    }
}

/* ********************************************************************************************
    Animation
*********************************************************************************************** */

a,
.btn {
    -webkit-transition: color 0.3s ease-in-out, background 0.3s ease-in-out,
    opacity 0.3s ease-in-out, border 0.3s ease-in-out,
    font-weight 0.3s ease-in-out;
    transition: color 0.3s ease-in-out, background 0.3s ease-in-out,
    opacity 0.3s ease-in-out, border 0.3s ease-in-out,
    font-weight 0.3s ease-in-out;
}

/* Chrome, Safari, Edge, Opera */
input::-webkit-outer-spin-button,
input::-webkit-inner-spin-button {
    -webkit-appearance: none;
    margin: 0;
}

/* Firefox */
input[type="number"] {
    -moz-appearance: textfield;
}

/* ********************************************************************************************
    Table Cell Background
*********************************************************************************************** */
.bg-green {
    background-color: #8ae234 !important;
}

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

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

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

th.rotate {
    /* Something you can count on */
    height: 120px;
    white-space: nowrap;
}

th.rotate > div {
    transform: /* Magic Numbers  translate(25px, 51px)
    /* 45 is really 360 - 45 */ rotate(270deg);
    width: 18px;
}

.is_active {
    color: #000;
}

.is_inactive {
    color: #ccccc5;
}


tr.clickable td {
  cursor: pointer;
}

tr.clickable td.id span.edit i {
  visibility: hidden;
  margin-right: 10px;
}

tr.clickable:hover td,
tr.clickable:hover td:first-child {
  background-color: #eeeeee;
}

tr.clickable:hover td.id span.edit i {
  visibility: visible;
}


.row > label.col-form-label .goalActions {
  float: right;
  text-align: right;
  visibility: hidden;
}

.row > label.col-form-label .goalActions i:hover {
  cursor: pointer;
}

.row:hover > label.col-form-label .goalActions {
  visibility: visible;
}

/* ********************************************************************************************
    Print Functionnality
*********************************************************************************************** */

@media print {
    #section-to-print .to-not-print {
      visibility: hidden;
    }
    
    #section-to-print { 
      display: inline-block; 
      width: auto;
      height: auto;
      overflow: visible;
      zoom: 59%;
    }
}
@page { 
    size: landscape;  /* default is 210mm 297mm (A4) */
    margin: 0;
}