* {
  font-family: "El Messiri", sans-serif;
  color: #fff;
  -webkit-box-sizing: border-box;
  box-sizing: border-box;
}
body {
  position: relative;
}
html,
body,
.view,
.service,
.contacts,
footer {
  width: 100%;
}

select option {
  color: #333;
}

.view {
  width: 100%;
  height: 0;
  padding-bottom: 53.125%;
  background: url("../img/bg.jpg") no-repeat center center;
  background-size: contain;
}
.container-fluid {
  width: 100%;
}
.nav > li > a:focus,
.nav > li > a:hover {
  outline: 0;
}
.nav > li > p {
  padding: 0 15px;
}
.row {
  margin-right: 0;
}
.modal-title,
.modal-body p,
.modal-body .part,
.modal-body .h3,
/* admin */
.modal-body .admin {
  color: #333;
}
.modal-body h2 {
  color: #d9534f;
}

.modal-body .row {
  display: flex;
  align-items: flex-end;
}

.modal-body button {
  margin-left: -15px;
}

#modal-discount,
#modal-part,
/* admin */
#admin-modal-main,
#admin-modal-catalog-part,
#admin-modal-catalog-manufacturer,
#admin-modal-catalog-car-line,
.modal-advert,
.modal-jobInvitation {
  position: fixed;
  display: none;
  top: 20px;
  left: 50%;
  -webkit-transform: translateX(-50%);
  -ms-transform: translateX(-50%);
  transform: translateX(-50%);
  z-index: 10;
  max-width: 90%;
  max-height: 90%;
  overflow-y: auto;
}

.modal-body .form-buttons {
  padding: 15px;
  text-align: right;
  margin-left: 15px;
  /* border-top: 1px solid #e5e5e5; */
}

.modal-jobInvitation {
  color: #333;
  font-size: 18px;
}

.modal-jobInvitation h3 {
  color: #333;
  font-weight: bold;
}

.modal-body .text-with-logo {
  font-size: 16px;
  line-height: 1.5;
}

.modal-body .text-with-logo p {
  padding-top: 25px;
  font-size: 20px;
  line-height: 35px;
}

.modal-body .text-with-logo img {
  float: right;
  width: 235px;
  height: auto;
  margin-left: 20px;
  margin-bottom: 0px;
}

.modal-body b {
  color: #333;
}

.modal-body .text-with-logo::after {
  content: "";
  display: block;
  clear: both;
}

#modal-discount {
  z-index: 10;
}
.modal-advert,
.modal-jobInvitation {
  z-index: 9;
}
.modal-advert img,
.modal-jobInvitation img {
  width: 100%;
  margin-bottom: 10px;
}
.modal-advert a,
.modal-jobInvitation a {
  color: #fff;
  text-decoration: none;
}
.modal-discount-close,
.modal-part-close,
.modal-advert-close,
.modal-jobInvitation {
  outline: 0;
}
.through {
  text-decoration: line-through;
  color: #333;
}
.video {
  position: relative;
  padding-bottom: 56.25%;
  padding-top: 25px;
  height: 0;
}
.video iframe {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
}
.hello {
  margin: 100px 0 0 15px;
}
.service {
  background-color: #000;
}

.price {
  background-color: #333;
}

.price .sale {
  color: #d9534f;
}

.price h2 {
  padding: 0 45px;
}

.price .price-col {
  padding: 0 !important;
}

.price .price-table {
  overflow: auto;
  padding: 30px 45px;
}

.price table .subrow td {
  border-top: none;
}

.price table tr td:first-child {
  width: 60px;
}

.price table tr td:nth-child(2) {
  min-width: 200px;
}

.price table thead tr,
.price table tbody tr:nth-child(2n + 2) {
  background-color: rgba(0, 0, 0, 0.2);
}

.price table .highlight td {
  color: #d9534f;
}

.service h3,
.contacts h3,
h4 {
  color: #5cb85c;
}
.service {
  padding: 30px;
}
.service h2,
.contacts h2,
.price h2 {
  font-size: 40px;
  color: #d9534f;
}
.employees h2 {
  text-align: center;
  margin-bottom: 30px;
}
.employees__wrapper {
  display: flex;
  justify-content: center;
  flex-wrap: wrap;
}
.employees__info {
  width: 25%;
  text-align: center;
  padding: 0 20px 20px;
}
.employees__image {
  width: 80%;
  margin: 0 auto;
}
.employees__image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center;
}
.contacts_details {
  margin-top: 10px;
}
.contacts {
  padding: 45px;
  background-color: #222222;
}
.contacts .auto-acceptance {
  font-size: 16px;
}
.contacts .auto-acceptance .warn {
  color: #d9534f;
}
.contacts .auto-acceptance .success {
  color: #5cb85c;
}
.contacts a {
  text-decoration: none;
}
.contacts p {
  margin: 15px 0 0 0;
}
.contacts .svg {
  margin-left: 55px;
  display: flex;
  align-items: center;
}
.contacts .svg svg {
  width: 20px;
  height: 20px;
  fill: #fff;
  transition: transform 0.3s ease-in-out;
}
.contacts .svg a {
  width: 26px;
  height: 26px;
  text-align: center;
  display: inline-block;
  margin: 5px 2px 0;
}
.contacts .svg svg:hover {
  transform: scale(1.25);
}
.contacts .svg .svg-instagram:hover {
  fill: #ffc273;
}
.contacts .svg .svg-email:hover {
  fill: #8fce00;
}
.contacts .svg .svg-telegram:hover {
  fill: #0088cc;
}
.contacts .svg .svg-viber:hover {
  fill: #665cac;
}

.contacts .svg img:hover {
  width: 24px;
  height: 24px;
}
.feedback {
  margin-bottom: 20px;
}
.feedback .row {
  padding-right: 15px;
}
.affix {
  width: 100%;
  z-index: 1;
}
p,
li {
  text-align: justify;
}
footer {
  background-color: #222222;
  text-align: center;
  padding: 20px 0;
}
footer p {
  text-align: center;
  color: #9d9d9d;
}
.image {
  text-align: center;
  margin-bottom: 30px;
}
.small_images {
  text-align: center;
  margin-bottom: 10px;
}
.small_images img {
  width: 180px;
}
.important {
  color: #d9534f;
  margin-bottom: 10px;
  text-align: justify;
}
#wash {
  display: block;
}
#wash img {
  width: 100%;
}
#wash .carousel img {
  cursor: pointer;
}
.modal-content {
  border: 0;
  box-shadow: none;
  -webkit-box-shadow: none;
}
.modalWashCarousel .modal-header {
  border-bottom: none;
}
.modalWashCarousel .modal-header button {
  color: #ffffff;
}
.modalWashCarousel .modal-content {
  background-color: transparent;
}
.modalWashCarousel .modal-footer {
  border-top: none;
}
#autoparts .image img {
  width: 80%;
}
#autoparts .carousel-description {
  margin-top: 10px;
}
#stop img {
  width: 60%;
}
#oil .image img {
  -webkit-transform: scale(1, -1);
  -ms-transform: scale(1, -1);
  transform: scale(1, -1);
  width: 60%;
}
#condition img,
#diagnosis img,
#toe-out img,
#service-station .image img,
#tire-service .image img,
#part-service #wrecker .image img {
  width: 70%;
}
.partners {
  background-color: #222;
  padding: 0 25px;
}
.partners p {
  margin-top: 10px;
}
.send-review-form {
  display: none;
}
.show-review-form {
  margin-top: 25px;
}
.review-list {
  margin: 25px 0 0 0;
  padding: 0 0 0 30px;
}
.review-list .review-item,
.review-list .review-answer {
  padding: 20px 10px;
  border-radius: 5px;
  margin-bottom: 20px;
}
.review-list .review-item {
  background-color: #f7f7f9;
  border: 1px solid #f7f7f9;
}
.review-list .review-answer {
  background-color: #d9edf7;
  border: 1px solid #bce8f1;
  margin: 0 0 50px 0;
}
.review-list .user-name,
.review-list .review-date,
.review-list .review-body {
  color: #333333;
}
.review-list .user-name {
  text-align: left;
  font-weight: bold;
}
.review-list .review-date {
  text-align: right;
  font-weight: bold;
}
.review-list .review-body {
  text-align: justify;
  margin-top: 20px;
}
#back-to-top {
  position: fixed;
  z-index: 999;
  display: none;
  bottom: 70px;
  right: 15px;
  cursor: pointer;
}
#back-to-top i {
  width: 50px;
  height: 50px;
  display: block;
  color: #fff;
  background: #d9534f;
  text-align: center;
  font-size: 16px;
  line-height: 50px;
  border-radius: 5px;
  -webkit-transition: 0.3s all;
  -o-transition: 0.3s all;
  transition: 0.3s all;
}
#back-to-top i:hover {
  background: #333;
}
.navbar-toggle .icon-bar {
  background: #fff;
  -webkit-transition: 0.5s ease;
  -o-transition: 0.5s ease;
  transition: 0.5s ease;
}
.navbar-toggle.collapsed .icon-bar:nth-child(2) {
  -webkit-transform: rotate(0) translateY(0) translateX(0);
  -ms-transform: rotate(0) translateY(0) translateX(0);
  transform: rotate(0) translateY(0) translateX(0);
}
.navbar-toggle.collapsed .icon-bar:nth-child(3) {
  opacity: 1;
}
.navbar-toggle.collapsed .icon-bar:nth-child(4) {
  -webkit-transform: rotate(0) translateY(0) translateX(0);
  -ms-transform: rotate(0) translateY(0) translateX(0);
  transform: rotate(0) translateY(0) translateX(0);
}
.navbar-toggle .icon-bar:nth-child(2) {
  -webkit-transform: rotate(-45deg) translateY(5px) translateX(-5px);
  -ms-transform: rotate(-45deg) translateY(5px) translateX(-5px);
  transform: rotate(-45deg) translateY(5px) translateX(-5px);
}
.navbar-toggle .icon-bar:nth-child(3) {
  opacity: 0;
}
.navbar-toggle .icon-bar:nth-child(4) {
  -webkit-transform: rotate(45deg) translateY(-4px) translateX(-3px);
  -ms-transform: rotate(45deg) translateY(-4px) translateX(-3px);
  transform: rotate(45deg) translateY(-4px) translateX(-3px);
}
.contacts .col-lg-4,
.contacts .col-md-4,
.contacts.col-sm-4,
.contacts .col-xs-12 {
  padding-right: 0;
}
.form-flex {
  display: flex;
  justify-content: space-evenly;
}

.radio_btn:hover {
  cursor: pointer;
}

.form-flex label {
  margin-left: 10px;
}

.service .col-xs-12 {
  overflow-x: auto;
}

.part *,
/* admin */
.admin * {
  color: inherit;
}
.admin .btn {
  color: #fff;
}

.part-image {
  width: 100%;
  height: 100%;
  object-position: center;
  object-fit: contain;
  max-height: 35vw;
}

.part .title,
/* admin */
.admin .title {
  font-weight: bold;
}

.admin .part-info {
  width: 100%;
  height: 100px;
}

.admin .part-inventories {
  display: flex;
  position: relative;
  align-items: center;
  margin-right: 10px;
  height: 40px;
}

.admin .part-inventory {
  display: flex;
  margin-right: 10px;
}

.admin .inventory-shop {
  margin-top: 7px;
  margin-right: 7px;
}

.admin .part-inventories-item {
  margin-right: 10px;
}

.admin .input-inventory {
  width: 80px;
}
.admin .select-part {
  width: 100%;
}

.parts-list tbody tr {
  cursor: pointer;
}

/* admin */
#admin-catalog-inventory-form {
  border-top: 1px solid #e5e5e5;
}

.admin-modal-form .modal-footer {
  border-top: none;
}

.admin-modal-main {
  z-index: 2;
}
.admin-modal-catalog-part {
  z-index: 3;
}
.admin-modal-catalog-manufacturer {
  z-index: 4;
}

/* dropdown input */
.input-dropdown-wrapper input {
  outline: 0;
}

.input-wrapper {
  position: relative;
  display: flex;
  align-items: center;
  justify-content: space-between;
}

/* .input-wrapper .chevron {
  position: absolute;
  right: 5px;
  top: 7px;
} */

.input-wrapper .glyphicon {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
}

.input-wrapper .glyphicon-chevron-down {
  right: 8px;
}

.input-wrapper .glyphicon-remove {
  right: 30px;
  display: none;
}

.glyphicon-remove:hover {
  cursor: pointer;
}

.input-wrapper .active {
  transform: translateY(-50%) rotate(180deg);
}

.input-wrapper .clear {
  /* width: 20px;
  height: 20px; */
  /* background-color: red;
  border-radius: 50%;
  border: 1px solid #ccc; */
}

.dropdown-wrapper {
  width: 96%;
  max-height: 250px;
  display: none;
  position: absolute;
  z-index: 1;

  overflow-y: hidden;
  padding: 8px;
  background-color: #ffffff;
  border-radius: 3px;
  border: 1px solid #ccc;
}

.dropdown-wrapper span {
  display: block;
  border-radius: 3px;
  padding: 0px 6px;
}

.dropdown-wrapper span:hover {
  background-color: #e8e8e8;
  cursor: pointer;
}

.input-dropdown-wrapper {
  padding: 0;
}

.form-control .input-wrapper {
  margin: 6px 12px;
}

.part-line-tags {
  display: flex;
  height: 60px;
}

.part-line-tag {
  position: relative;
  margin-right: 10px;
}

.part-line-tag .remove-line-tag {
  position: absolute;
  top: -5px;
  right: -8px;
}

.part-image-tags {
  display: flex;
}

.part-image-tag {
  position: relative;
  width: 100px;
  height: 100px;
  margin-right: 10px;
}

.part-image-thumbnail {
  width: 100%;
  height: 100%;
}

.part-image-thumbnail-user-page:hover {
  cursor: pointer;
  border: 1px solid #ccc;
}

.part-image-tag .remove-image-tag {
  position: absolute;
  top: -5px;
  right: -8px;
}

.notifications {
  position: fixed;
  bottom: 0px;
  width: 100%;
}

.notifications .notification {
  border: 1px solid #ccc;
  height: 80px;
  text-align: center;
  padding: 30px;
  font-size: 20px;

  opacity: 0;
  visibility: hidden;
  transition:
    opacity 0.5s ease-in-out,
    visibility 0.5s ease-in-out;
}

.notifications .show {
  opacity: 1;
  visibility: visible;
}

.notifications .success {
  background-color: #5cb85c;
}

.notifications .error {
  background-color: #d9534f;
}

/* authorization page */
.authorization-page {
  background-color: #222222;
}

#regForm {
  display: none;
}

@media (max-width: 1023px) {
  .employees__info {
    width: 33.3%;
  }
}
@media (max-width: 950px) {
  .service h2,
  .contacts h2 {
    font-size: 35px;
  }
}
@media (max-width: 767px) {
  .hello {
    margin: 80px 0 0 15px;
  }
  .h1,
  h1 {
    font-size: 28px;
  }
  .service .shop img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: center;
  }
  .employees__wrapper {
    flex-direction: column;
  }
  .employees__info {
    width: 100%;
  }
  .map.col-lg-4,
  .map.col-md-4,
  .map.col-sm-4,
  .map.col-xs-12 {
    padding-left: 0;
  }
  .feedback .row {
    padding-right: 0;
  }
  #modal-discount,
  #modal-part,
  /* admin */
  #admin-modal-main,
  #admin-modal-catalog-part,
  #admin-modal-catalog-manufacturer,
  #admin-modal-catalog-car,
  #admin-modal-catalog-line,
  .modal-advert {
    width: 90%;
  }
}
@media (min-width: 767px) {
  .modalWashCarousel .modal-dialog {
    width: 816px;
  }
}

/* @media (max-width: 610px) {
  .admin,
  .part-inventories {
    flex-direction: column;
    align-items: flex-start;
  }
} */

@media (max-width: 550px) {
  .h1,
  h1 {
    font-size: 22px;
  }
}
