:root {
  --primary: #17272F;
  --primary-hover: #17272F;
  --secondary: #4d4dff;



  
  /*--light: #F1F1FF;*/
  /*--light2: #F1F2FF;*/

/*  --primary: black;
  --primary-hover: grey;
  --secondary: grey;*/
  --light: white;
  --light2: white; 
}

.app-header.bg-light .navbar-brand {
    opacity: 1;
    font-weight: 300!important;
}

.sidebar-pills a:not(.active), .sidebar-pills a:not(.open), .sidebar-pills a:not(:active), .sidebar-pills a:not(:focus), .sidebar-pills a:not(:hover), .sidebar-pills li {
    color: #222528!important;
}

.sidebar .nav-link .nav-icon {
    color: #5c697c;
}

.nav-link.active {
  color: var(--primary)!important;
}

.btn {
    border-radius: 8px;
}

.sidebar.sidebar-pills .nav-link.active, .sidebar.sidebar-pills .nav-link:hover {
    color: var(--primary)!important;
    font-weight: 500;
}

.sidebar.sidebar-pills .nav-link.active, .sidebar.sidebar-pills .book-button .nav-link:hover {
    color: white!important;
    font-weight: 500;
}

.sidebar.sidebar-pills .nav-link.active .nav-icon, .sidebar.sidebar-pills .nav-link:hover .nav-icon {
    color: var(--primary);
}

.btn-primary {
    background: var(--primary);
    color: var(--light);
    border: 1px solid var(--primary);
    padding: 6px 20px;
}

.btn-success {
    background: var(--primary);
    color: var(--light);
    border: 1px solid var(--primary);
}

.btn-primary:active, .success.dropdown-toggle {
    background: var(--primary-hover);
    color: var(--light);
    border: 1px solid var(--primary-hover);
}

.btn-primary:hover, .btn-success:hover {
    background: var(--primary-hover);
    color: var(--light);
    border: 1px solid var(--primary-hover);
}

.btn-success:not(:disabled):not(.disabled):active, .show>.btn-success.dropdown-toggle {
    background-color: var(--primary-hover)!important;
    border-color: var(--primary-hover)!important;
    color: #fff;
}

.btn-outline-primary {
    background: white;
    color: var(--primary)!important;
    border: 1px solid var(--secondary)!important;
}

.btn-outline-primary:hover {
    background: var(--light);
    color: var(--primary)!important;
    border: 1px solid var(--primary)!important;;
}

.btn-link, li a, #crudTable_reset_button {
    color: var(--primary-hover)!important;
}

.page-item.active .page-link {
    background-color: var(--primary)!important;
    border-color: var(--primary)!important;
    color: #fff!important;
}

.dataTables_wrapper .dataTables_length select, .form-control {
    border-radius: 6px!important;
}
.app-footer a, .text-center a {
    color: var(--primary)!important;

}

#crudTable_wrapper {
    margin-top: 20px!important;
}
#crudTable {
    border-radius: 8px!important;
}

.app-header.bg-light {
    background: none!important;
}
.card {
    border-radius: 12px;
}
body, .sidebar, .sidebar-nav, #crudTable {
    background:  var(--light2)!important;
}

.even, thead, tfoot {
        /*background-color: rgba(255,255,255,.20)!important;*/
        background-color: white!important;

}

h1, h2, h3 {
  color: var(--primary);
  /*font-weight: 600;*/
}

h2 {
    font-size: 2.5em;
    margin-bottom: 20px;
}

h2 small {
    font-size: 0.4em;
}

th {
    font-weight: 600!important;
}

.noty_message {
    background: var(--primary)!important;
    color: white!important;
    border-radius: 8px!important;
}

@media (max-width: 1024px) {
    .main .container-fluid {
    padding: 0 0px!important;
}
}

.status-button {
    padding: 15px 20px;
    text-align: center;
    display: block;
    margin:5px 0px;
    border-radius: 6px;
    border: 1px solid grey;
    cursor: pointer;
    font-size: 1.1em;
}

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

.delete-button {
    position: fixed;
    bottom: 20px;
    right: 20px;

    padding: 10px 20px;
    text-align: center;
    display: block;
    margin:5px 0px;
    border-radius: 6px;
    border: 1px solid var(--primary);
    cursor: pointer;   
    background: white;
    color: var(--primary); 

}

.delete-button:hover {
    background: var(--primary);
    color: var(--light);
}

/* The Modal (background) */
.modal {
  display: none; /* Hidden by default */
  position: fixed; /* Stay in place */
  z-index: 1000; /* Sit on top */
  left: 0;
  top: 0;
  width: 100%; /* Full width */
  height: 100%; /* Full height */
  overflow: auto; /* Enable scroll if needed */
  /*background-color: rgb(0,0,0); /* Fallback color */*/
  /*background-color: rgba(0,0,0,0.6); /* Black w/ opacity */*/
}

/* Modal Content/Box */
.modal-content {
  background-color: var(--light);
  padding: 20px;
  border-radius: 0px;
  border: 1px solid #888;
  width: 300px; /* Could be more or less, depending on screen size */
  max-width: 30vw;
  max-width: 90vw;
  float: right;
  height: 100%;
  z-index: 9999;
}

.modal-backdrop {
    width: calc(100vw - 300px);
    /*max-width: 70vw;*/
    /*background-color: red;*/
  background-color: rgba(0,0,0,0.6); /* Black w/ opacity */
  cursor: pointer;

}


/* The Close Button */
.close {
  color: #aaa;
  float: right!important;
  font-size: 28px;
  font-weight: bold;
  display: block;
}

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

#sat-button {
    position: fixed;
    right: 40px;
    top: 80px;
    padding:  10px 15px;
    border-radius: 8px;
    background:  rgba(0,0,0,0.7);
    z-index: 500;
    cursor: pointer;
}

span.label {
    min-width: 200px;
    display: inline-block;
    font-size: 22px;
    font-weight: 300;
}

span.value {
    font-size: 22px;
    font-weight: 600;
}

.box, .fi-question {
    background-color: white;
    display: block;
    width: 500px;
    padding: 30px;
    border-radius: 12px;
    margin: 20px 0px;
}

.fi-answer {
    background: rgba(0,0,0,0.07);
    padding: 20px;
    margin: 5px 0px;
    border-radius: 6px;
    border: 2px solid transparent;
    transition: 0.3s all ease-in;
}

.fi-answer:hover{
    border-color: grey;
    cursor: pointer;

}
.fi-question > .fi-title {
    font-weight: 600;
    font-size: 22px;
}


.fi-answer > .fi-title {
    font-weight: 600;
    font-size: 18px;
}

.la {
    font-size: 20px;
}


.fi-box-info {
    background: rgba(0,100,200,0.15);
    display: inline-block;
    padding: 8px 15px;
    border-radius: 4px;
    color: black;
    font-weight: 500;
    margin:  5px 0px;

}

.fi-admin-link {
    display: block;
}

#fi-toolbar {
    position: fixed;
    z-index: 2000!important;
    top: 0px;
    left: 350px;
    margin:  10px auto;
    z-index: 10;
    display: flex;
     ;
    /*background: white;*/

}

#fi-toolbar > div {
    margin-right: 7px;

}

.fi-button {
    background: white;
    padding: 10px;
    border-radius: 6px;
    cursor: pointer;
    box-shadow: 0px 0px 15px rgba(0,0,0,0.2);
}

#fi-new-visit {
background:  #d42b1e;
color: white;
}

.form-control:focus {
    /*background-color: #fff;*/
    border-color: var(--primary);
    box-shadow: none;
    /*color: #495057;*/
    /*outline: 0;*/
}

/*@media (max-width: 992px) {
.navbar-brand {
    display: none!important;
}
#fi-toolbar {
    left: 80px;
    z-index: 999999;
}
}

@media (max-width: 991.98px) {
.app-header {
 z-index:0!important;
    }
}

@media (max-width: 600px ) {
    .mobile-hidden {
    display: none;
}
}
.dropdown-menu-right {
    background:  #7c69ef17;
    border-radius: 12px;
    border: none;
}

.dropdown-menu-right .dropdown-divider {
    display: none;
}

.dropdown-menu-right .dropdown-item:hover {
    background: none;
}
.dropdown-menu-right a, .dropdown-menu-right i {
    color: black!important;
    font-weight: 500;
}*/


.previous-container {
    background: rgb(240,240,240);
    border-radius: 8px;
    padding: 20px;
  margin: 10px 0px;
}

.previous-title {
    font-size: 22px;
}

td a {
    color: var(--primary);
}




.nav-link {
    margin: 1px 0px;
    transition: 0.25s all;
}
.nav-link.active, .nav-link:hover {
    border-radius: 12px!important;
    background: #7c69ef17!important;
    /*background: none!important;*/
}

/*.elfinder .elfinder-button {
    width: 30px;
    height: 30px;
}
.elfinder .elfinder-button-icon {
    zoom: 1.5;
    -moz-transform: scale(2);
    -moz-transform-origin: top left;
}*/

.location {
    width: 300px;
    max-width: 100%;
    background:  #b2bec266;
    margin: 5px;
    border-radius: 8px;
    display: block;
    text-decoration: none;
    transition: 0.4s all ease-in-out;
}

.location.empty {
    width: 400px;
    max-width: 100vw;
    background:  white;
    margin: 5px;
    border-radius: 8px;
    border: 2px dotted grey;
    display: block;
    text-decoration: none;
    transition: 0.4s all ease-in-out;
}

.location:hover {
    text-decoration: none;
      filter: brightness(0.98);

}

.location:hover img {
      filter: brightness(0.94);

}

.inner {
    padding: 30px;
}



.location img {
    width: 100%;
    object-fit: cover;
    height: 200px;
    border-radius: 8px 8px 0px 0px;
    transition: 0.4s all ease-in-out;
}





.location p {
    color: black;
    font-weight: 18px;
}

.location h3 {
    color: black;
    font-weight: 500;
}



@media (max-width: 1024px) {

.inner {
    padding: 15px;
}

.location img {
    height: 150px;    
}

.location h3 {
    font-size: 5vw;
    font-weight: 700;
}

.location p {
    line-height: 1.2em;
    font-size:  14px;
}

}
.sidebar-pills .book-button a {
    background: #17272F!important;
    color:white!important;
    margin: 10px 0px;
}


.back-button {
    border:1px solid black;
    color: black;
    font-weight: 600;
    padding:  6px 20px 6px 20px;
    margin: 10px 5px;
    border-radius: 8px;
    text-decoration: none!important;
    display: inline-block;
}

.back-button:hover {
    color: black;
    background: #b2bec266;
}

.back-button i {
    font-size: 18px;
}

.other-bookings {
background: rgb(230,230,230)!important;
border: none!important;
color: rgb(50,50,50)!important;
}

.other-bookings div {
color: rgb(50,50,50)!important;
}

.single-booking {
    color: black;
    background: none;
    border: 1px solid lightgrey;
    border-radius: 8px;
    margin: 8px 0px;
    display: flex;
    /*align-self: middle;*/
    align-items: center;


}



.single-booking img {
    width: 120px;
    object-fit: cover;
    height: 120px;
    border-radius: 8px 0px 0px 8px;
    transition: 0.4s all ease-in-out;    

}

.bookings-container {
    max-width: 500px;
}


.col-20 {
width: 20%;
}

.col-60 {
width: 60%;
}

#backdrop {
 position: fixed;
 z-index: 999;
 top: 0;
 left: 0;
 width: 100vw;
 height: 100vh;
 background: rgba(0,0,0,0.7);    
}



#modal-inner {

    width: 400px;
    height: 400px;
    max-width: 80vw;
    max-height: 80vh;
    padding: 20px;
    margin: 50px 20px;
    /*margin: 10% 10%;*/
    border-radius: 8px;
    background: white;


}

@media (min-width: 1024px) [
]

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


.swal-button {
    color:  var(--primary)!important;
    border-color:  var(--primary)!important;
    background: white!important;
}

.swal-footer {
text-align: center;
}

.fc-button {
    background: var(--primary)!important;
}
.fc-header-toolbar{
    display: block!important;
}

.fc-toolbar-title {
    margin-bottom: 20px!important;
font-size: 20px!important;
}


.btn-warning {
    font-weight: 600;
}
.btn-warning:hover {
    color: black;
}

.btn {
    cursor: pointer;
}

.info {
    background: #fff3cc;
    padding: 15px 20px;
    color: black!important;
    margin-bottom: 10px;
}
.close {
    float: right;
    font-size: 16px;
    font-weight: 800!important;
    color: black!important;

}


#start-hour, #end-hour, #start-minute, #end-minute {
    padding: 5px 8px;
    font-size: 20px;
    border-radius: 8px;
    border-color: rgba(0,0,0,0.05);
}

#start-section, #end-section {
    margin-bottom: 10px;
}

#start-section {
    margin-top: 20px;
}
#start-section span, #end-section span, #date-section span {

width: 50px;
font-weight: 600;
display: inline-block;
}



.location-title {
    display: inline-block;
    font-size: 20px;
    font-weight: 600;
    padding-left: 15px;
}

#date-string {
    font-size: 22px;
    margin-top: 15px;
    display: inline-block;
    font-weight: 600;
    margin-bottom: -10px;
}


.delete-booking {
    text-align: center;
    padding:50px;
    transition: 0.5s all;
    cursor: pointer;
}
.delete-booking:hover {
background: rgba(255,0,0,0.1);
}

.swal-button--delete {
    color: white!important;
}

.main-container {
    padding: 15px;
}

form .card, .card-header, .card-footer {
    border-width: 0!important;
}

h1 {
    margin-left: 20px;
}


@media (max-width: 1024px) {
    .col-20 {
        width: 10%;
    }
    .col-20 img {
        width: 70px;
        height: 105px;

    }
    .col-60{
     width:50%;
     padding: 0px 10px;   
    }

    .delete-booking {
        padding: 40px 50px;
    }
}

.locations-container {
    display: flex;
    flex-direction: row;
    flex-wrap: wrap;
}

.locations-container > div {
    max-width: 100%;
}


.book-lunch-btn {
    padding: 10px 20px;
    border: 2px solid white;  
    transition: 0.5s all;  
}

.not-booked {
    background: white;
    border: 2px dotted grey;
}

.booked {
    background: green;
    color: white!important;
    border: 2px solid green;
}

#modal {
    position: fixed;
    left: 50%;
    transform: translateX(-50%);

    top: 10%;
    /*transform: translateY(-20%);*/

    width: 400px;
    height: 400px;
    margin: 0 auto;
    z-index: 1000;
}

.book-lunch-disabled {
    opacity: 0.2;
    background: rgb(230,230,230);
    pointer-events: none;



}
