a {
  color: #dc4444;
}

a:hover {
  color: #f00;
}

.mt-20{
  margin-top: 20px;
}
.bold{
  font-weight: bold;
}

.navbar-custom {
  background: -webkit-linear-gradient(left, #dc4444 48%, #222 48%);
  background: -webkit-linear-gradient(45deg, #dc4444 48%, #222 48%);
  background: linear-gradient(45deg, #dc4444 48%, #222 48%);
  margin-bottom: 1.5rem;
}
.navbar-custom .navbar-brand {
  color: #fff;
}
.navbar-custom .navbar-brand:hover, .navbar-default .navbar-brand:focus {
  color: #ddd;
}
.navbar-custom .nav-link{
  color: #dc4444;
}
.navbar-custom .nav-link:hover, .navbar-custom .nav-link:focus, .navbar-custom .nav-link:active{
  color: #ff4343;
}

.row + .row{
  margin-top: 1rem;
}
.card + .card{
  margin-top: 1rem;
}
.form-group {
  margin-bottom: 0.5rem;
}
label {
  margin-bottom: 0.25rem;
}

/*** layout ***/

.list-group-item.active {
  background-color: #dc4444;
  border-color: #dc4444;
}

.footer {
	margin-top: 30px;
}


/*** login ***/

.form-signin {
	max-width: 330px;
	padding: 15px;
	margin: 0 auto;
}

.form-signin .form-signin-heading,
.form-signin .checkbox {
	margin-bottom: 10px;
}

.form-signin .checkbox {
	font-weight: normal;
}

.form-signin .form-control {
	position: relative;
	height: auto;
	-webkit-box-sizing: border-box;
     -moz-box-sizing: border-box;
          box-sizing: border-box;
	padding: 10px;
	font-size: 16px;
}

.form-signin .form-control:focus {
	z-index: 2;
}

.form-signin input[type="text"] {
	margin-bottom: -1px;
	border-bottom-right-radius: 0;
	border-bottom-left-radius: 0;
}

.form-signin input[type="password"] {
	margin-bottom: 10px;
	border-top-left-radius: 0;
	border-top-right-radius: 0;
}

.form-signin h3 {
    color: #274861;
}

/*** customer search ***/
.customers-search{
  margin-bottom: 1.5rem;
}
.customers-search .card-body{
  padding: 0.75rem 1.25rem;
}

/*** customer view ***/
.customer-view .card-body p span{
  font-weight: normal;
}
.customer-view .card-body p{
  font-weight: bold;
  margin-bottom: 0.5rem;
}

.customer-view .card-body h5:not(:first-of-type) {
    margin-top: 0.6rem;
}

.customer-view .buttons-cust div,
.customer-view .buttons-cust form {
	display: inline-block;
	margin-left: 10px;
	margin-right: 10px;
}
.customer-view .buttons-cust{
  padding-bottom: 1rem;
}

.customer-view .card p:last-child,
.customer-view .card table:last-child {
	margin-bottom: 0px;
}

/* .customer-view .card .card-header{
    border-color: black;
} */

.customer-view .card-meeting {
	margin-top: 20px;
}

.customer-view .buttons-classif {
	margin-top: 10px;
	margin-bottom: 10px;
}

.customer-view .tickets .submit {
	margin-bottom: 20px;
}

.customer-view .part-ticket h4 {
	margin-top: 0px;
}

.customer-view .btn-default:hover {
	background-color: #ebebeb;
}


/*** customer view - accordion ***/
#accordion .card-header,
#accordionTwo .card-header{
  cursor: pointer;
}

#accordion a,
#accordionTwo a{
  color: black;
  text-align: center;
  text-decoration: none;
}

#accordion .card .card-title,
#accordionTwo .card .card-title{
  font-weight: 900;
}

#accordion .card-header:hover,
#accordionTwo .card-header:hover {
  background-color: lightgray;
  color: #0000FF;
}

.accordion>.card:last-of-type {
  border-top-left-radius:.25rem !important;
  border-top-right-radius:.25rem !important;
  border-bottom-left-radius:.25rem !important;
  border-bottom-right-radius:.25rem !important;
}

.accordion>.card{
  border-bottom: 1px solid rgba(0,0,0,.125) !important;
  border-bottom-left-radius:.25rem !important;
  border-bottom-right-radius:.25rem !important;
}

#accordionTwo {
  margin-top: 15px;
}

.accordion>.card:first-of-type {
  border-bottom: 1px;
}

.sub-text-card {
  color: red;
}

.pointer-card {
  cursor: pointer;
}

.customer-edit input[type="checkbox"], input[type="radio"] {
  display: inline-block;
  width: 15px;
  height: 15px;
  margin-left: 10px;
  vertical-align: middle;
  margin-top: 0px;
}

.fw-bold {
  font-weight: 600 !important;
}
.fs-large {
  font-size: 1rem;
}

.d-grid-md {
  display: grid;
  grid-template-columns: 1fr 1fr 1fr;
  gap: 0.2rem;
}

/* Badges */

.badge {
  background-color: #f4f4f4;
  min-width: 100px;
  padding: 10px 15px;
  border: none;
  border-radius: 0.325rem;
  margin: auto 0;
  height: 100%;
}

.badge span {
  position: relative;
  display: flex;
  justify-content: center;
  align-items: center;
  font-size: 0.75rem;
  font-weight: 500;
  color: #212529;
}

.badge span::after {
  content: "";
  width: 10px;
  height: 10px;
  margin: auto 0 auto 10px;
  background-color: #ffffff;
  border-radius: 999px;
}

.badge-pending, 
.badge-progress,
.badge-incomplete {
  background-color: rgb(255, 239, 209);
}
.badge-pending span::after, 
.badge-progress span::after,
.badge-incomplete span::after {
  background-color: rgb(255, 165, 0);
}

.badge-success,
.badge-open {
  background-color: rgb(224, 255, 229);
}
.badge-success span::after,
.badge-open span::after {
  background-color: rgb(67, 217, 91);
}

.badge-new,
.badge-open {
  background-color: rgb(224, 234, 255);
}
.badge-new span::after,
.badge-open span::after {
  background-color: rgb(67, 102, 217);
}

.badge-denied,
.badge-closed {
  background-color: rgb(255, 230, 226);
}
.badge-denied span::after,
.badge-closed span::after {
  background-color: rgb(225, 40, 40);
}

/*** form ***/

.form-inline .form-group{
    padding: 10px;
}

form .form-date label,
form .form-group-date label {
	display: block;
}

form .form-date select,
form .form-group-date select {
	display: inline-block;
	width: 63px;
	margin-right: 10px;
	margin-left: 10px;
	padding-left: 5px;
	padding-right: 5px;
}

form .form-date select:nth-child(2),
form .form-group-date select:nth-child(2) {
	width: 63px;
	margin-left: 0px;
}

form .form-date select:nth-child(3),
form .form-group-date select:nth-child(3) {
	width: 110px;
}

form .form-date select:nth-child(4),
form .form-group-date select:nth-child(4) {
	width: 70px;
	margin-right: 30px;
}

form .form-date select:nth-child(5),
form .form-group-date select:nth-child(5) {
	width: 63px;
}

form .form-date select:nth-child(6),
form .form-group-date select:nth-child(6) {
	width: 63px;
	margin-right: 0px;
}


/*** leads ***/

.leads table tbody tr {
	cursor: pointer;
}

.count-meetings-sent input[type="submit"] {
	margin-left: 20px;
}

.leads .count-meetings-sent h3 {
	margin-top: 15px;
}


/*** stats operators ***/

.stats-operators {
	margin-top: 30px;
}

/*** pagination ***/
.page-item > a:hover {
    z-index: 2;
    color: #0056b3;
    text-decoration: none;
    background-color: #e9ecef;
    border-color: #dee2e6;
}
.page-item > a{
  position: relative;
  display: block;
  padding: .5rem .75rem;
  line-height: 1.25;
  color: #007bff;
  background-color: #fff;
  border: 1px solid #dee2e6;
}
.page-item.active > a, .page-item.active > a:hover {
  z-index: 1;
  color: #fff;
  background-color: #007bff;
  border-color: #007bff;
}
 /*** notice ***/
.table-notice.table td, .table-notice.table th {
  padding: .5rem;
}

/* get info page  */
#get-info-table td:first-child {
    font-weight: bold;
}

#modalLogin .modal-dialog{
  max-width: 600px;
}

#countryCode{
  z-index: 2;
  left: 35px;
  width: 40px!important;
  padding: 0!important;
  text-align: center;
  margin:0!important;
  min-width: 0!important;
  border-color:transparent!important;
  border-left-width:3px!important;
  box-shadow:none!important;
}

label.error{
  color:red;
}

.kbis-table td{
  vertical-align: middle;
}

#previewArticle {
  display: flex;
  overflow: hidden;
  margin: auto 0;
  max-height:93px;
}

#previewArticle img {
  margin: auto;
  max-width: 50px;
}

#previewArticle h3 {
  word-wrap: break-word;
  line-height: 18px;
  margin-bottom: 6px;
  font-size: 13px;
  font-weight: bold;
}

#previewArticle p {
  font-size:11px;
}

#previewArticle span {
  font-style: italic;
}

/* RESERVATION */
.input-date-flatpickr {
  background-color: white !important;
}

/*------------------------------------------------------------
  [ AUTO-COMPLETE INPUT ]
  ------------------------------------------------------------*/
  .ac {
    position: relative;
    width: 100%;
}

.ac-popup {
    max-height: 400px;
    background-color: var(--white);
    border-radius: 10px;
    width: 100%;
    min-width: 160px;
    z-index: 1000;
    position: absolute;
    top: 0;
    left: 0;
    overflow: auto;
}

.ac-popup #city-geoloc .list-group-item:first-child,
.ac-popup #restaurant-search .list-group-item:first-child {
    border-bottom-left-radius: 0;
    border-bottom-right-radius: 0;
}

.ac-popup #city-defaults .list-group-item:first-child,
.ac-popup #city-suggestions .list-group-item:first-child,
.ac-popup #restaurant-suggestions .list-group-item:first-child {
    border-top-left-radius: 0;
    border-top-right-radius: 0;
}

.ac-popup hr {
    margin: 0;
}

.ac-popup button {
    width: 100%;
    text-align: left;
    background: none;
    border: none;
    color: inherit;
}

.ac-popup button:hover {
    background-color: var(--primary);
    color: var(--white);
}

#ac-restaurant.ac-popup {
    left: 0;
    top: 48px;
}

@media (max-width: 992px) {
    #ac-restaurant.ac-popup {
        left: -130px;
        top: 58px;
        width: 68vw;
    }
}

@media (max-width: 768px) and (min-width: 601px) {
    #ac-restaurant.ac-popup {
        left: -125px;
        top: 60px;
        width: 62vw;
    }
}

@media (max-width: 600px) {
    #ac-restaurant.ac-popup {
        width: 80vw;
    }
}

@media (max-width: 400px) {
    #ac-restaurant.ac-popup {
        left: -120px;
        width: 86vw;
    }
}