body{
    font-size: 14px;
}
body, .footer{
    background-color: #EFF0F0;
    color: #282830;
}
body .modal{
    overflow-x: hidden;
    overflow-y: auto;
}
h1, h2, h3, h4, h5, h6, .h1, .h2, .h3, .h4, .h5, .h6, .navbar-light .navbar-nav .show > .nav-link, .navbar-light .navbar-nav .active > .nav-link, .navbar-light .navbar-nav .nav-link.show, .navbar-light .navbar-nav .nav-link.active{
    color: #282830;
}
.navbar-light .navbar-nav .nav-link {
    color: #8B8C90;
}
.showPersoanaJuridica{
    display: none;
}
.navbar-horizontal .navbar-brand img {
    height: 100px;
}
.bg-gradient-primary{
    background: #783286 !important;
}
a:hover{
    color: #aabe37;
}
.dashboardHeight{
    max-height: 470px;
}
.secondary_product_stock{
    float: left;
    margin-top: 15px;
    text-align: center;
    margin-left: 20px;
}
.top-alert{
    right: 15px;
    top: 14px;
    z-index: 2;
}
.menu-collapse-button{
    display: none;
    cursor:pointer;
}
.close_button{
    display: none;
}
.warning{
    border: solid 1px red !important;
}
.row_finishings{
    display:none;
}
.row_finishings .col-lg-6.col-xl-3{
    margin-bottom: 30px !important;
}
.remove_item, .remove_cutouts, .remove_secondary_products{
    float: right;
    margin-top: 33px;
    cursor: pointer;
}
.remove_payment{
    float: right;
    margin-left: 5px;
}
.remove_secondary_products{
    float: left;
}
.remove_item i, .remove_cutouts i, .remove_secondary_products i{
    font-size: 25px;
}
@media (min-width: 768px) {
    .navbar-vertical.navbar-expand-md .navbar-brand-img {
        max-height: 100px;
    }
    .pt-md-8, .py-md-8 {
        padding-top: 5rem !important;
    }
    .pb-8, .py-8 {
        padding-bottom: 5rem !important;
    }
}
@media (max-width: 768px){
    .menu-collapse-button{
        display: block;
        float: left;
    }
    .filters_collapse{
        display: none;
    }
    .close_button{
        display: block;
        font-size: 25px;
    }
}
.autocomplete{
    background: #fff;
    top: 100%;
    left: 0;
    padding: 10px;
    border-radius: 0 0 5px 5px;
    box-shadow: 0 4px 6px rgba(50, 50, 93, .11), 0 1px 3px rgba(0, 0, 0, .08);
    list-style-type: none;
    z-index: 2;
    max-height: 170px;
    overflow-y: scroll;
}
.autocomplete li{
    cursor: pointer;
    padding: 2px 5px;
    text-overflow: ellipsis;
    white-space: nowrap;
    overflow: hidden;
}
.autocomplete li:hover{
    background: #f6f9fc;
}
.main_overlay{
    display: none;
}
.loader, .main_loader{
    animation: infinit-spin 1.2s linear infinite;
}
.input-loader{
    bottom: 8px;
    right: 8px;
}
@keyframes infinit-spin {
    0% {
        transform: rotate(0deg);
    }
    100% {
        transform: rotate(360deg);
    }
}
.delete-product{
    bottom: 0px;
    right: 5px;
    position: absolute;
    background: #fff;
    padding: 7px 7px 8px;
    border-radius: 0 3px 3px 0;
    cursor: pointer;
}
.delete-product:hover{
    background: #988fc5;
    color: #fff;
}
.delete-file{
    cursor: pointer;
}
.navbar-nav .nav{
    display: none;
}
.navbar-nav .nav-item.active .nav{
    display: block;
}
.overlay{
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0,0,0,0.4);
    z-index: 9999;
    display: none;
}
.overlay .ajax-loader{
    position: fixed;
    top: 50%;
    left: 50%;
    transform: translate(-50%,-50%);
    z-index: 10000;
}
.overlay .ajax-loader span{
    font-size: 30px;
    color: #fff;
}
.finishing_box{
    width: 200px;
    height: 75px;
    border: 2px solid #783286;
    position: relative;
    float: left;
    margin: 30px 115px 45px 0;
}
.finishing_width{
    position: absolute;
    top: -25px;
}
.finishing_depth{
    position: absolute;
    left: 100%;
    transform: rotate(100grad);
}
.pointer{
    cursor:pointer;
}
.product_menu_toggler{
    background: #fff;
    border-radius: 100%;
    color: rgba(0, 0, 0, .5);
    width: 30px;
    padding: 4px 0;
    cursor: pointer;
    text-align: center;
    margin-right: 10px;
    display: none;
}
.product_menu_toggler.active{
    padding: 7px 0 8px;
}
.product_menu_toggler .fa-times, .product_menu_toggler.active .fa-bars{
    display: none;
}
.product_menu_toggler.active .fa-times{
    display: block;
}
.table td, .table th {
    padding-right: 0.75rem;
    padding-left: 0.75rem;
}
.table td{
    padding-top: 0.30rem;
    padding-bottom: 0.30rem;
}
.card-body, .card-footer, .card-header{
    padding: 1rem;
}
.card-footer, .card-header{
    padding-top: 0.5rem;
    padding-bottom: 0.5rem;
    line-height: 1;
}
.two-rows-min{
    display: block; /* Fallback for non-webkit */
    display: -webkit-box;
    max-width: 400px;
    height: 42px; /* Fallback for non-webkit */
    margin: 0 auto;
    font-size: 14px;
    line-height: 21px;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
    text-overflow: ellipsis;
}
.card{
    border-radius: 0;
}
.two-rows-min i{
    font-size: 16px;
}
.two-rows-min i.fa-file-pdf{
    color: red;
}
@media (max-width: 1500px) and (min-width: 768px){
    #sidenav-main{
        left: auto;
        right: 100%;
    }
    .product_menu_toggler{
        display: inline-block;
    }
    .navbar-vertical.navbar-expand-md.fixed-left + .main-content{
        margin-left: 0;
    }
}
.appointmentTableHeader {
    border-bottom: 1px solid #dee2e6;
    position: sticky;
    position: -webkit-sticky;
    top: 0;
    z-index: 1001;
    background: #fff
}

.appointmentRow {
    position: relative
}

.appointmentTable .column {
    padding: 5px;
    border-right: 1px solid #dee2e6;
    width: 170px;
    margin: auto;
    position: relative;
    border-bottom: 1px solid #dee2e6;
    min-height: 30px;
    font-size: 13px
}

.appointmentRow:hover .column, .appointmentRow:hover .column:first-child, .column.breakColumn{
    background: #f1f1f1;
}

.appointmentTable .badcolumn {
    padding: 5px;
    border-right: 1px solid #dee2e6;
    width: 170px;
    margin: auto;
    position: relative;
    min-height: 30px;
    font-size: 13px;
    border-bottom: 1px solid #dee2e6;
    background: #EAEEF2
}

.appointmentTableHeader .column:first-child,
.appointmentRow .column:first-child {
    position: sticky;
    position: -webkit-sticky;
    left: 0;
    z-index: 1000;
    background: #fff;
    width: 100px;
    border-bottom: 1px solid #dee2e6
}

.appointmentTableHeader .column:last-child,
.appointmentRow .column:last-child,
.appointmentRow .badcolumn:last-child {
    border-right: 0
}

.makeAppointment {
    cursor: pointer
}

.appointmentData {
    position: absolute;
    top: 0;
    cursor: pointer;
    left: 0;
    width: 100%;
    background: #2f4c76;
    border-radius: 3px;
    color: #fff;
    z-index: 1;
    border-bottom: 1px solid #dee2e6;
    font-size: 12px;
    padding: 5px;
    overflow: hidden;
}

.appointmentData.preferential {
    background: #4ca955
}

.appointmentData.reservedData {
    background: repeating-linear-gradient(45deg, #A60303, #A60303 5px, #ffffff 5px, #ffffff 10px)
}

.appointmentData a {
    color: #fff
}

.appointmentData.preferential.attended,
.appointmentData.attended {
    background: #fff
}

.appointmentData.attended {
    color: #2f4c76;
    border: 1px solid #2f4c76
}

.appointmentData.preferential.attended {
    color: #4ca955;
    border: 1px solid #4ca955
}

.appointmentData.preferential.canceled,
.appointmentData.canceled {
    background: #ffc107;
    color: #000
}
.nav-tabs.nav-header .nav-link{
    color: #fff;
}
.nav-tabs.nav-header .nav-link.active{
    color: #525f7f;
}
/*Achizitii listare*/
.links-white a{
    color: #fff !important;
}
.col-1-16 {
    max-width: 6.25%;
    flex: 0 0 6.25%;
    position: relative;
    width: 100%;
    min-height: 1px;
    padding-right: 5px;
    padding-left: 5px;
}
.row-5{
    margin-right: -5px;
    margin-left: -5px;
}
.custom-checkbox-just-label{
    padding: 0;
}
.custom-checkbox-just-label .custom-control-label::before,
.custom-checkbox-just-label .custom-control-label::after{
    display: none;
}
.custom-checkbox.custom-checkbox-just-label .custom-control-label{
    padding: 2px;
    border-radius: 2px;
}
.custom-checkbox.custom-checkbox-just-label .custom-control-input:checked ~ .custom-control-label{
    background: #783286;
    color: #ffffff;
}
@media (min-width: 992px) {
    .modal-lg {
        max-width: 1000px;
    }
    .modal-lg.image-modal {
        max-width: 1200px;
    }
}
@media (max-width: 768px){
    .main-content > .container-fluid{
        padding-left: 0;
        padding-right: 0;
    }
}

/* Image Modal */
.thumb-image {
  border-radius: 5px;
  cursor: pointer;
  transition: 0.3s;
}

.thumb-image:hover {opacity: 0.7;}

/* The Modal (background) */
@keyframes custom-opacity {
    from {background-color: rgba(0,0,0,0)}
    to {background-color: rgba(0,0,0,0.9)}
}
.custom-modal {
  display: none; /* Hidden by default */
  position: fixed; /* Stay in place */
  z-index: 9999999; /* Sit on top */
  padding-top: 100px; /* Location of the box */
  left: 0;
  top: 0;
  width: 100%; /* Full width */
  height: 100%; /* Full height */
  overflow: auto; /* Enable scroll if needed */
  animation-name: custom-opacity;
  animation-duration: 0.6s;
  background-color: rgba(0,0,0,0.9)
}

/* Modal Content (Image) */
.custom-modal-content {
  margin: auto;
  display: block;
  width: 80%;
  max-width: 700px;
}

/* Caption of Modal Image (Image Text) - Same Width as the Image */
#custom-caption {
  margin: auto;
  display: block;
  width: 80%;
  max-width: 700px;
  text-align: center;
  color: #ccc;
  padding: 10px 0;
  height: 150px;
}

@keyframes custom-zoom {
  from {transform:scale(0.7)}
  to {transform:scale(1)}
}

/* Add Animation - Zoom in the Modal */
.custom-modal-content, #custom-caption {
  animation-name: custom-zoom;
  animation-duration: 0.6s;
}

/* The Close Button */
.custom-close {
  position: absolute;
  top: 15px;
  right: 35px;
  color: #f1f1f1;
  font-size: 40px;
  font-weight: bold;
  transition: 0.3s;
}

.custom-close:hover,
.custom-close:focus {
  color: #bbb;
  text-decoration: none;
  cursor: pointer;
}

@media only screen and (max-width: 700px){
  .custom-modal-content {
    width: 100%;
  }
}
