body a {
  color: #800000!important;
}
.activeNav a {
  background-color: #800000!important;
  color: #fff!important;
}
.page-link:hover {
  background-color: #800000!important;
  color: #fff!important;
}
.sidenav {
  height: 100%;
  width: 200px;
  z-index: 1;
  left: 0;
  background-color: #fff;
  overflow-x: hidden;
  top: 80px;
}

/* Style the sidenav links and the dropdown button */
.sidenav label, .dropdown-btn {
  padding: 6px 8px 6px 16px;
  text-decoration: none;
  font-size: 1rem;
  color: #818181;
  display: block;
  border: none;
  background: none;
  width:100%;
  text-align: left;
  cursor: pointer;
  outline: none!important;
}

.sidenav label {
  padding: 6px 8px 6px 26px;
  color: #800000!important;
}

.sidenav button, .add-into-cart, .info {
  color: #800000!important;
  border-color: #800000!important;
}

.add-into-cart:hover, .info:hover {
  background-color: #000;
  color: #fff!important;
}

.addToCartForm {
  padding: 10px 0 0 0;
}

.sidenav input {
  /*margin-top: .8rem!important;*/
  margin-left: 0.01rem!important;
  color: #800000!important;
}

/* On mouse-over */
.sidenav a:hover, .dropdown-btn:hover {
  color: #000;
}

/* Main content */
.main {
  margin-left: 200px; /* Same as the width of the sidenav */
  font-size: 1rem; /* Increased text to enable scrolling */
  padding: 0px 10px;
}

/* Add an active class to the active dropdown button */
.active {
  color: white;
}

/* Dropdown container (hidden by default). Optional: add a lighter background color and some left padding to change the design of the dropdown content */
.dropdown-container {
  display: none;
  background-color: #fff;
  padding-left: 8px;
}

/* Optional: Style the caret down icon */
.fa-caret-down {
  float: right;
  padding-right: 8px;
}
.link {
  text-transform: uppercase;
}
.hr {
  border: none; /* Убираем границу для браузера Firefox */
  color: red; /* Цвет линии для остальных браузеров */
  background-color: red; /* Цвет линии для браузера Firefox и Opera */
  height: 5px!important; /* Толщина линии */
}
#alert {
  display: none;
}
#secondImg {
  float: left;
}
.white {
  border: none;
  color: #fff;
  background-color: #fff;
  height: 3px!important;
}
#formElem2 {
  width: 100px;
  padding: 0;
  margin: 0;
  left: 50%;
  bottom: 21px;
  position: relative;
}
#formElem2 button {
  border: none;
  outline: none!important;
  background: none;
  color: #007bff;
}
#formElem2 button:hover {
  color: #0056B3;
}
.main-page-img {
  min-width: 640px!important;
  height: 400px!important;
}
* {box-sizing:border-box}

/* Slideshow container */
.slideshow-container {
  max-width: 1300px;
  position: relative;
  margin: auto;
}
/* Hide the images by default */
.mySlides {
  display: none;
}

/* Number text (1/3 etc) */
.numbertext {
  color: #f2f2f2;
  font-size: 12px;
  padding: 8px 12px;
  position: absolute;
  top: 0;
}

/* Fading animation */
.fade {
  -webkit-animation-name: fade;
  -webkit-animation-duration: 1.5s;
  animation-name: fade;
  animation-duration: 1.5s;
}

.right-slide {
    position: relative;
    top: 0;
    text-align: right;
    float: left;
    left: 640px;
}

@-webkit-keyframes fade {
  from {opacity: .4}
  to {opacity: 1}
}

@keyframes fade {
  from {opacity: .4}
  to {opacity: 1}
}
#already_in_cart {
  display: none;
}
.uploading-cart {
  padding: 0 1.25rem!important;
}
.img-in-table {
    margin: 10px;
    padding: 0;
    position: relative;
    width:64px;
    height:64px;
    background: #c2c2c2;
    border: 1px solid #000;
    border-radius:3px;
}
.img-in-table img{
    position: absolute;
    left:50%;
    top:50%;
    transform: translate(-50%, -50%);
    max-width:100%;
    max-height: 100%;
}
.img-in-modal:hover {
  opacity: 0.7;
  cursor: pointer;
  transition: 0.3s;
}

/* The Modal (background) */
.modal {
  display: none; /* Hidden by default */
  position: fixed; /* Stay in place */
  z-index: 1; /* 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 */
  background-color: rgb(0,0,0); /* Fallback color */
  background-color: rgba(0,0,0,0.9); /* Black w/ opacity */
}

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

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

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

@keyframes zoom {
  from {transform:scale(0)}
  to {transform:scale(1)}
}

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

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

/* 100% Image Width on Smaller Screens */
@media only screen and (max-width: 700px){
  .modal-content {
    width: 100%;
    border: 0px!important;
  }
}

.list-group-item {
  padding: .50rem 1.25rem!important;
}

#dataTable tr {
  /*color: #800000!important;*/
  text-transform: none;
}

.nav-item a {
  color: #800000!important;
}

.nav-item a:hover {
  color: #000!important;
}

.card-link {
  color: #800000!important;
}
.navButtons #closeButton {
  float: right; /*Задаем обтекание*/
  line-height: 12px;/*Высота строки +  верт. центрирования текста*/
  margin-top: 15px;
  width: 33%; /*Фиксируем ширину блока*/
  margin-right: -40px;
  text-align: center; /*Центрируем текст по горизонтали*/
}
.mycard {
  float: left; margin-right: 10px; margin-bottom: 10px;
}
.myImg {
  width: 286px;
  height: 195px;
  object-fit: cover;
}
@media (min-width: 20em) and (max-width: 47.99em) {
  .slides {
    width: auto!important;
  }
}
.slides {
  background-color: #ffffcc;
}
#gallery li {
    display: inline;
}