html,
body
{
  height: 88vh;
}
/*
.fixed main {
  padding-top: 8rem;
}*/

@media (max-width: 740px) {
  html,
  body
  {
    height: 1000px;
  }
}

@media (min-width: 800px) and (max-width: 850px) {
  html,
  body
  {
    height: 650px;
  }
}
@media (min-width: 800px) and (max-width: 850px) {
  .navbar:not(.top-nav-collapse) {
    background: #1C2331!important;
  }
}
@media only screen and (max-width:768px) {
  .navbar {
    background-color: #4caf50 !important
  }
}

.mt-11 {
  margin-top: 8rem
}

header {
  /*  position: fixed;
    top: 0;
    left: 0;
      background-image: url(../img/header_bg.png);
    background-position: left;
    width: 100%;
    height: 98px;*/
  z-index: 5;
  /*  background-repeat: no-repeat;*/

}
header .logo {

  padding-top: 15px;
  padding-left: 15px;

}
header nav {

  position: absolute;
  top: 30px;
  left: 230px;

}
header nav ul {

  list-style: none;
  display: inline-block;

}
header nav ul li {

  display: inline-block;

}
header nav ul li a {

  display: block;
  text-decoration: none;
  font-weight: 700;
  color: #fff;
  text-transform: uppercase;
  font-size: 13px;
  padding-left: 10px;
  padding-right: 10px;
  position: relative;

}

header .search_icon {

  position: absolute;
  top: 10px;
  right: 190px;

}
header .contacts {

  position: absolute;
  top: 5px;
  right: 10px;
  color: #fff;
  font-size: 1.4em;
  width: 165px;
  text-align: right;

}
header .contacts i {

  float: left;
  margin-right: 5px;
  font-size: 1.5em;

}
header .contacts span {

  font-size: 11px;
  display: block;
  line-height: 10px;
  padding-top: 4px;
  letter-spacing: 0px;

}
.btn-info, .info-color {
  background-color: #56a800 !important;
  color: #fff !important;

}

a, a.disabled:hover, a:disabled:hover {
  color: #56a800;
}
a:hover {

  color: #99ca66;
  text-decoration: underline;

}

.md-form input[type="date"]:focus:not([readonly]),
.md-form input[type="datetime-local"]:focus:not([readonly]),
.md-form input[type="email"]:focus:not([readonly]),
.md-form input[type="number"]:focus:not([readonly]),
.md-form input[type="password"]:focus:not([readonly]), 
.md-form input[type="search-md"]:focus:not([readonly]), 
.md-form input[type="search"]:focus:not([readonly]), 
.md-form input[type="tel"]:focus:not([readonly]), 
.md-form input[type="text"]:focus:not([readonly]), 
.md-form input[type="time"]:focus:not([readonly]), 
.md-form input[type="url"]:focus:not([readonly]), 
.md-form textarea.md-textarea:focus:not([readonly]) {
  -webkit-box-shadow: 0 1px 0 0 #56a800;
  box-shadow: 0 1px 0 0 #56a800;
  border-bottom: 1px solid #56a800;
}
.md-form label {
  position: absolute;
  top: .45rem;
  left: .25rem;
  -webkit-transition: .2s ease-out;
  -o-transition: .2s ease-out;
  transition: .2s ease-out;
  cursor: text;
  color: #dc1f26;
}
.md-form label span {
  display:none;
}
.md-form label.static {
  top:0px;
  left:0px;
  position:relative;
  transform:translateY(0px) scale(1) !important;
}
.md-form label.active {
  transform:translateY(-25px) scale(1);
}
.md-form label.active span {
  display:inline-block;
}
.md-form input[type=text]:focus:not([readonly]) + label,
.md-form input[type=password]:focus:not([readonly]) + label,
.md-form input[type=email]:focus:not([readonly]) + label,
.md-form input[type=url]:focus:not([readonly]) + label,
.md-form input[type=time]:focus:not([readonly]) + label,
.md-form input[type=date]:focus:not([readonly]) + label,
.md-form input[type=datetime-local]:focus:not([readonly]) + label,
.md-form input[type=tel]:focus:not([readonly]) + label,
.md-form input[type=number]:focus:not([readonly]) + label,
.md-form input[type=search-md]:focus:not([readonly]) + label,
.md-form input[type=search]:focus:not([readonly]) + label,
.md-form textarea.md-textarea:focus:not([readonly]) + label {
  color: #56a800; }
.primary-textarea.md-form label.active {
  color: #99ca66;
}

.md-form textarea[type=text]:focus:not([readonly]) + label {
  color: #99ca66 }
.md-form textarea[type=text]:focus:not([readonly]) {
  box-shadow: 0 1px 0 0 #56a800;
  border-bottom: 1px solid #56a800; }

footer.page-footer .footer-copyright {

  overflow: hidden;
  background-color: rgba(86,168,0,.9);
  color: rgba(255,255,255,.9);

}

.table td, .table th {

  padding: .25rem;
  padding-top: 0.25rem;
  padding-bottom: 0.25rem;
  vertical-align: top;
  border-top: 1px solid #dee2e6;
}
table.table td, table.table th {
  padding-top: 0.8rem;
  padding-bottom: 0.3rem;
}
table.table td > .row, table.table th > .row {
  margin-left:-0.25rem;
  margin-right:-0.25rem;
}
.container-actions a {
  margin:0 2px !important;
}
p.text-muted {
  font-size: .8rem;
  margin-bottom: .1rem;
}
.c-spinner {

  width: 100%;

}
.c-spinner input {

  float: left;
  width: 40px;
  padding: 6px;
  border-radius: 0;
  border-color: #d0d7de;

}
.form-control {
  font-family: 'Helvetica Neue', Helvetica, Arial, sans-serif;
  box-shadow: none;
  outline: none;
  font-weight: 300;
  background: white;
  border-color: #d0d7de;
  border-radius: 0px;
}
.form-control:hover a::after,
.form-control:focus a::after {
  content:"\f1c5";
  top:3px;
  right:3px;
  width:24px;
  height:24px;
  padding:2px;
  position:absolute;
  line-height:20px;
  color:#FF0000;
  font-size:18px;
  font-family:FontAwesome;
  text-align:center;
  vertical-align:middle;
  border:1px solid #BBBBBB;
  background-color:#FFFFFF;
}
.c-input-group-btn-vertical .btn:first-child {
  border-top-right-radius: 0;
}
.c-input-group-btn-vertical {

  position: relative;
  white-space: nowrap;
  width: 1%;
  vertical-align: middle;
  display: inline-block;

}
.btn-default {
  color: #99a5b9;
  background: #ffffff;
  background-color: rgb(255, 255, 255);
  border-color: #e1e6ee;
}
.navbar .dropdown-menu.mega-menu {
  width: 100%;
  border: none;
  -webkit-border-radius: 0;
  border-radius: 0;
}


@media only screen and (max-width: 768px) {

  /* Force table to not be like tables anymore */
  table,
  thead,
  tbody,
  th,
  td,
  tr {
    display: block;
    text-align: center;
  }
  table.table td {
    padding-top: 1.5rem;
    padding-bottom: .4rem;

  }
  img {}
  /* Hide table headers (but not display: none;, for accessibility) */
  thead tr {
    position: absolute;
    top: -9999px;
    left: -9999px;
  }

  img {
    display: block;
    margin: 0 auto;
  }
  td {
    /* Behave  like a "row" */
    border: none;
    position: relative;
    padding-left: 50%;

  }

  td:before {
    /* Now like a table header */
    position: absolute;
    /* Top/left values mimic padding */
    top: 6px;
    left: 6px;
    white-space: nowrap;
  }

  td:nth-of-type(1):before {
    content: "Разфасовкa";
    font-weight: 400;
    left: 50%;
    transform: translate(-50%);
  }
  td:nth-of-type(2):before {
    content: "Брой в кашон";
    font-weight: 400;
    left: 50%;
    transform: translate(-50%);
  }
  td:nth-of-type(3) {
    content: "Ед. брой";
    position: absolute;
    border: none !important;
  }
  td:nth-of-type(4):before {
    content: "Цена";
    left: 50%;
    transform: translate(-50%);
    font-weight: 400;
  }
  td:nth-of-type(5):before {
    content: "Количество";
    left: 50%;
    transform: translate(-50%);
    font-weight: 400;
  }
  td:nth-of-type(5) {
    display: flex;
    justify-content: center;
    align-items: center;
    flex-direction: column;
    padding-top: 1.9rem !important;
  }
  td:nth-of-type(6):before {
    content: "Количество";
    left: 50%;
    transform: translate(-50%);
    font-weight: 400;
  }
  td:nth-of-type(7):before {
    content: "Премахни";
    left: 50%;
    transform: translate(-50%);
    font-weight: 400;
  }
  .btn-group {
    margin-left: 0 !important;
  }
  tr:nth-child(4) td:nth-of-type(4):before,
  tr:nth-child(4) td:nth-of-type(1):before,
  tr:nth-child(4) td:nth-of-type(2):before {
    content: '';
  }
  tr:nth-child(4) td:nth-of-type(1) {
    position: absolute;
    border: none !important;
  }
  tr:nth-child(4) td:nth-of-type(3) {
    position: relative;
    display: flex;
    justify-content: center;
  }
  tr:nth-child(4) td:nth-of-type(4) {
    border-top: none !important;
    display: flex;
    justify-content: center;
    border-bottom : 1px solid #dee2e6;
  }

}
.added-item-bg {
  background-color: #ffd7d4;
}
.sticky-top {
  position: -webkit-sticky;
  position: sticky;
  top: 115px;
  z-index: 990;
}

.switch label {

  cursor: pointer;

}
label {

  display: inline-block;
  margin-bottom: .5rem;

}
.switch label input[type="checkbox"] {

  opacity: 0;
  width: 0;
  height: 0;

}
[type="checkbox"]:checked, [type="checkbox"]:not(:checked) {

  position: absolute;
  opacity: 0;
  pointer-events: none;

}
input[type="checkbox"], input[type="radio"] {

  box-sizing: border-box;
  padding: 0;

}
button, input {

  overflow: visible;

}
button, input, optgroup, select, textarea {

  margin: 0;
  font-family: inherit;
  font-size: inherit;
  line-height: inherit;

}
.switch label input[type="checkbox"]:checked + .lever {
  background-color: #dccfe2;
}
.switch label .lever {

  content: "";
  display: inline-block;
  position: relative;
  background-color: #818181;
  -webkit-border-radius: .9375rem;
  border-radius: .9375rem;
  margin-right: .625rem;
  vertical-align: middle;
  margin: 0 1rem;
  width: 2.5rem;
  height: .9375rem;
  -webkit-transition: background .3s ease;
  -o-transition: background .3s ease;
  transition: background .3s ease;
}
.switch label input[type="checkbox"]:checked + .lever::after {
  background-color: #f20c0c;
  left: 1.5rem;
}
.switch label .lever::after {
  content: "";
  position: absolute;
  display: inline-block;
  background-color: #f1f1f1;
  -webkit-border-radius: 1.3125rem;
  border-radius: 1.3125rem;
  left: -.3125rem;
  top: -.1875rem;
  -webkit-box-shadow: 0 .0625rem .1875rem .0625rem rgba(0,0,0,.4);
  box-shadow: 0 .0625rem .1875rem .0625rem rgba(0,0,0,.4);
  width: 1.3125rem;
  height: 1.3125rem;
  -webkit-transition: left .3s ease,background .3s ease,-webkit-box-shadow 1s ease;
  transition: left .3s ease,background .3s ease,-webkit-box-shadow 1s ease;
  -o-transition: left .3s ease,background .3s ease,box-shadow 1s ease;
  transition: left .3s ease,background .3s ease,box-shadow 1s ease;
  transition: left .3s ease,background .3s ease,box-shadow 1s ease,-webkit-box-shadow 1s ease;

}

.sticky-top.mts-8 {
  top: 3.7rem;
}
.dropdown-item.active, .dropdown-item:active {
  color: #fff;
  text-decoration: none;
  background-color: #FFD86F;
}
.dropdown-menu {
  min-width: 4rem;
}
.btn {
  margin: .1rem;
}
.user-card {
  margin-top: 100px;
}
.cascading-admin-card .admin-up {
  margin-left: 4%;
  margin-right: 4%;
  margin-top: -20px;
}
.cascading-admin-card .admin-up .fa {
  padding: 1.7rem;
  padding-top: 1.7rem;
  padding-bottom: 1.7rem;
  font-size: 2rem;
  color: #fff;
  text-align: left;
  margin-right: 1rem;
  -webkit-border-radius: 3px;
  border-radius: 3px;
}
.cascading-admin-card .admin-up .data {
  float: right;
  margin-top: 2rem;
  text-align: right;
}
.profile-card {
  margin-top: 100px;
}
.profile-card .avatar {
  max-width: 150px;
  max-height: 150px;
  margin: -70px auto 0;
  margin-bottom: 0px;
  -webkit-border-radius: 50%;
  border-radius: 50%;
  overflow: hidden;
}
.z-depth-1-half {
  box-shadow: 0 5px 11px 0 rgba(0,0,0,.18),0 4px 15px 0 rgba(0,0,0,.15);
}


.view {
  position: relative;
  cursor: default;
}
.container-list-orders .view { overflow:visible; }
.card.card-cascade.narrower {

  margin-top: 1.25rem;

}
.card.card-cascade.narrower .view.view-cascade {

  margin-left: 4%;
  margin-right: 4%;
  margin-top: -1.25rem;

}
.card.card-cascade .view.view-cascade.gradient-card-header {

  padding: 1.6rem 1rem;
  padding-top: 1.6rem;
  padding-bottom: 1.6rem;
  text-align: center;

}
#toast-container > div, .card.card-cascade .view.view-cascade.gradient-card-header, .clockpicker-display .clockpicker-display-column #click-am.text-primary, .clockpicker-display .clockpicker-display-column #click-pm.text-primary, .clockpicker-display .clockpicker-display-column .clockpicker-span-hours.text-primary, .clockpicker-display .clockpicker-display-column .clockpicker-span-minutes.text-primary, .darktheme .picker__box .picker__calendar-container .clockpicker-plate .clockpicker-tick, .darktheme .picker__box .picker__date-display .clockpicker-display, .darktheme .picker__box .picker__date-display .clockpicker-display .clockpicker-span-am-pm, .darktheme .picker__box .picker__footer button, .dropdown .dropdown-menu .dropdown-item:active, .dropdown .dropdown-menu .dropdown-item:hover, .dropleft .dropdown-menu .dropdown-item:active, .dropleft .dropdown-menu .dropdown-item:hover, .dropright .dropdown-menu .dropdown-item:active, .dropright .dropdown-menu .dropdown-item:hover, .dropup .dropdown-menu .dropdown-item:active, .dropup .dropdown-menu .dropdown-item:hover, .picker--focused .picker__list-item--selected, .picker--time .picker__button--clear:focus, .picker--time .picker__button--clear:focus::before, .picker--time .picker__button--clear:hover, .picker--time .picker__button--clear:hover::before, .picker__box .picker__header .picker__date-display, .picker__box .picker__table .picker--focused, .picker__box .picker__table .picker__day--outfocus, .picker__box .picker__table .picker__day--selected, .picker__box .picker__table .picker__day--selected:hover, .picker__date-display, .picker__date-display .clockpicker-display .clockpicker-display-column #click-am.text-primary, .picker__date-display .clockpicker-display .clockpicker-display-column #click-pm.text-primary, .picker__date-display .clockpicker-display .clockpicker-display-column .clockpicker-span-hours.text-primary, .picker__date-display .clockpicker-display .clockpicker-display-column .clockpicker-span-minutes.text-primary, .picker__list-item--selected, .picker__list-item--selected:hover, .side-nav, .side-nav .search-form .form-control, .toast-close-button, .toast-message a, .toast-message label, .white-text {

  color: #fff !important;

}
.card.card-cascade .view.gradient-card-header {

  padding: 1rem;

}
.card.card-cascade .view.view-cascade {

  -webkit-box-shadow: 0 5px 11px 0 rgba(0,0,0,.18),0 4px 15px 0 rgba(0,0,0,.15);
  box-shadow: 0 5px 11px 0 rgba(0,0,0,.18),0 4px 15px 0 rgba(0,0,0,.15);
  -webkit-border-radius: .25rem;
  border-radius: .25rem;

}
.card.card-cascade .view {

  -webkit-box-shadow: 0 8px 17px 0 rgba(0,0,0,.2),0 6px 20px 0 rgba(0,0,0,.19);
  box-shadow: 0 8px 17px 0 rgba(0,0,0,.12),0 6px 20px 0 rgba(0,0,0,.12);

}

.table a.no-margin { margin:0 !important; }
.table .list-item a { margin:0 !important; padding:0 .25rem !important; }
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 { top:0.4em; right:0.5em !important; content:"\f0d8" !important; font-family:FontAwesome; }
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 { top:1.0em; right:0.5em !important; content:"\f0d7" !important; font-family:FontAwesome; }

.peach-gradient {
  background: -webkit-linear-gradient(50deg, #FC6262, #FFD86F) !important;
  background: -o-linear-gradient(50deg, #FC6262, #FFD86F) !important;
  background: linear-gradient(40deg, #FC6262, #FFD86F) !important; }

navbarCat-01 li.nav-item {
  padding-right: .5rem
}
footer.page-footer {
    margin-top: 2rem;
}

.link-no-deco:hover,
.link-no-deco:focus,
.link-no-deco:active,
.link-no-deco:visited { text-decoration:none !important; }
