/* Please see documentation at https://docs.microsoft.com/aspnet/core/client-side/bundling-and-minification
for details on configuring this project to bundle and minify static web assets. */

a.navbar-brand {
  white-space: nowrap;
  word-break: normal;
  display: inline-flex;
}

/* Provide sufficient contrast against white background */
a {
  color: #0366d6;
}

.btn-primary {
  color: #fff;
  background-color: #1b6ec2;
  border-color: #1861ac;
}

.nav-pills .nav-link.active, .nav-pills .show > .nav-link {
  color: #fff;
  background-color: #1b6ec2;
  border-color: #1861ac;
}

/* Sticky footer styles
-------------------------------------------------- */
html {
  font-size: 14px;
}
@media (min-width: 768px) {
  html {
    font-size: 16px;
  }
}

.border-top {
  border-top: 1px solid #e5e5e5;
}
.border-bottom {
  border-bottom: 1px solid #e5e5e5;
}

.box-shadow {
  box-shadow: 0 .25rem .75rem rgba(0, 0, 0, .05);
}

button.accept-policy {
  font-size: 1rem;
  line-height: inherit;
}

/* Sticky footer styles
-------------------------------------------------- */
html {
  position: relative;
  min-height: 100%;
}

body {
  /* Margin bottom by footer height */
  margin-bottom: 60px;
}
.footer {
  position: absolute;
  bottom: 0;
  width: 100%;
  white-space: nowrap;
  line-height: 60px; /* Vertically center the text there */
}

/* https://css-tricks.com/perfect-full-page-background-image/ */
html {
    scroll-behavior: smooth;
    -webkit-background-size: cover;
    -moz-background-size: cover;
    -o-background-size: cover;
    background-size: cover;
}

body {
    padding-top: 0px;
    font-size: 16px;
    background: transparent;
}

h1 {
    font-family: "Open Sans", serif;
    font-weight: 400;
    font-size: 40px;
}

.panel {
    background-color: rgba(255, 255, 255, 0.9);
}

.has-feedback .form-control-feedback {
    top: 30px;
    right: 0;
}

.form-horizontal .has-feedback .form-control-feedback {
    top: 30px;
    right: 15px;
}

.page-content {
    margin-top: 50px;
    margin-bottom: 60px;
    padding-left: 15px;
    padding-right: 15px;
}

#content-title {
    padding-left: 20px;
}

.cursor-pointer {
    cursor: pointer;
}

.masa {
    width: 100% !important;
    height: 80px !important;
}

#side-drawer {
    height: 100vh;
    width: 336px; /*Ideal width for sidebar accdg to https://forums.envato.com/t/standard-sidebar-width/75633*/
    top: 0;
    left: -336px;
    z-index: 1032; /*z-index of standard bootstrap navbar is 1030 + 1 offset due to side-drawer-void*/
    transition: left 0.25s ease;
    margin-bottom: 60px;
}

#side-drawer-void {
    height: 100%;
    width: 100%;
    top: 0;
    z-index: 1031; /*z-index of standard bootstrap navbar is 1030*/
    background: rgba(0,0,0,.6);
}

td.details-control {
    background: url('../images/details_open.png') no-repeat center center;
    cursor: pointer;
}

tr.shown td.details-control {
    background: url('../images/details_close.png') no-repeat center center;
}

div.childWrap {
    display: none;
}

table.dataTable tbody td.no-padding {
    padding: 0;
}

/* DataTables Sıralama (Sort) İkonları Düzeltmesi (FontAwesome 5) */
table.dataTable > thead .sorting:before,
table.dataTable > thead .sorting_asc:before,
table.dataTable > thead .sorting_desc:before,
table.dataTable > thead .sorting_asc_disabled:before,
table.dataTable > thead .sorting_desc_disabled:before {
    font-family: "Font Awesome 5 Free" !important;
    font-weight: 900 !important;
    content: "\f0de" !important; /* fa-sort-up */
    right: 1.1em !important;
    font-size: 0.82rem !important;
    bottom: 0.55em !important;
}

table.dataTable > thead .sorting:after,
table.dataTable > thead .sorting_asc:after,
table.dataTable > thead .sorting_desc:after,
table.dataTable > thead .sorting_asc_disabled:after,
table.dataTable > thead .sorting_desc_disabled:after {
    font-family: "Font Awesome 5 Free" !important;
    font-weight: 900 !important;
    content: "\f0dd" !important; /* fa-sort-down */
    right: 0.5em !important;
    font-size: 0.82rem !important;
    bottom: 0.55em !important;
}

table.dataTable > thead .sorting:before,
table.dataTable > thead .sorting:after {
    opacity: 0.25 !important;
}

table.dataTable > thead .sorting_asc:before {
    opacity: 1 !important;
    color: #0d6efd !important;
}
table.dataTable > thead .sorting_asc:after {
    opacity: 0.15 !important;
}

table.dataTable > thead .sorting_desc:before {
    opacity: 0.15 !important;
}
table.dataTable > thead .sorting_desc:after {
    opacity: 1 !important;
    color: #0d6efd !important;
}


/* Bootstrap Modal Scrollbar Padding Accumulation Fix */
body.modal-open,
body {
    padding-right: 0 !important;
}

.modal-open .fixed-top,
.modal-open .fixed-bottom,
.modal-open .is-fixed,
.modal-open .navbar,
.modal-open .container-fluid {
    padding-right: 0 !important;
}
