@import url('https://fonts.googleapis.com/css2?family=Roboto:ital,wght@0,100;0,300;0,400;0,500;0,700;0,900;1,100;1,300;1,400;1,500;1,700;1,900&display=swap');

* {
  transition: 0.5s;
  font-family: "Roboto", sans-serif;
}

body {
  overflow-x: hidden;
  background-color: #acacac56;
}

/* SELECT2 */
.select2.select2-container {
  width: 100% !important;
}

.select2.select2-container .select2-selection {
  border: none;
  border-radius: 8px;
  height: 38px;
  outline: none !important;
  transition: all .15s ease-in-out;
}

.select2.select2-container .select2-selection .select2-selection__rendered {
  color: #333;
  line-height: 32px;
  padding-right: 33px;
}

.select2.select2-container .select2-selection .select2-selection__arrow {
  background: linear-gradient(to right, #373b44, #4286f4);
  border-left: 1px solid #ccc;
  border-radius: 0 8px 8px 0;
  height: 37px;
  width: 37px;
}

.select2.select2-container.select2-container--open .select2-selection.select2-selection--single {
  background: #f8f8f8;
}

.select2.select2-container.select2-container--open .select2-selection.select2-selection--single .select2-selection__arrow {
  border-radius: 0 8px 8px 0;
}

.select2.select2-container.select2-container--open .select2-selection.select2-selection--multiple {
  border: 1px solid #34495e;
}

.select2.select2-container .select2-selection--multiple {
  height: auto;
  min-height: 34px;
}

.select2.select2-container .select2-selection--multiple .select2-search--inline .select2-search__field {
  margin-top: 0;
  height: 32px;
}

.select2.select2-container .select2-selection--multiple .select2-selection__rendered {
  display: block;
  padding: 0 4px;
  line-height: 29px;
}

.select2.select2-container .select2-selection--multiple .select2-selection__choice {
  background-color: #f8f8f8;
  border: 1px solid #ccc;
  border-radius: 3px;
  margin: 4px 4px 0 0;
  padding: 0 6px 0 22px;
  height: 24px;
  line-height: 24px;
  font-size: 12px;
  position: relative;
}

.select2.select2-container .select2-selection--multiple .select2-selection__choice .select2-selection__choice__remove {
  position: absolute;
  top: 0;
  left: 0;
  height: 22px;
  width: 22px;
  margin: 0;
  text-align: center;
  color: #e74c3c;
  font-weight: bold;
  font-size: 16px;
}

.select2-container .select2-dropdown {
  background: transparent;
  border: none;
  margin-top: -5px;
}

.select2-container .select2-dropdown .select2-search {
  padding: 0;
}

.select2-container .select2-dropdown .select2-search input {
  outline: none !important;
  border: 1px solid #34495e !important;
  border-bottom: none !important;
  padding: 4px 6px !important;
}

.select2-container .select2-dropdown .select2-results {
  padding: 0;
}

.select2-container .select2-dropdown .select2-results ul {
  background: #fff;
  border: 1px solid #34495e;
}

.select2-container .select2-dropdown .select2-results ul .select2-results__option--highlighted[aria-selected] {
  background: linear-gradient(to right, #373b44, #4286f4) !important;
  transition: 0s !important;
}

.select2-container--default .select2-selection--single .select2-selection__arrow b {
  border-color: #fff transparent transparent transparent !important;
}

.select2-container--default.select2-container--open .select2-selection--single .select2-selection__arrow b {
  border-color: transparent transparent #fff transparent !important;
}

/* END SELECT2 */

.btn-info {
  background-color: rgb(134, 247, 255);
}

.btn-primary {
  background-color: rgb(64, 114, 196);
}

.btn-success {
  background-color: rgb(0, 159, 0) !important;
}

.btn-secondary {
  background-color: rgb(181, 235, 73);
  color: #000;
}

input[type="number"]::-webkit-inner-spin-button,
input[type="number"]::-webkit-outer-spin-button {
  -webkit-appearance: none;
}

.main {
  max-width: 100%;
}


.header {
  display: grid;
  grid-template-columns: repeat(7, 1fr);
  grid-template-rows: repeat(2, 1fr);
  grid-column-gap: 10px;
  grid-row-gap: 10px;
  background: linear-gradient(to right, #373b44, #4286f4);
  color: white;
  padding: 15px;
  position: sticky;
  top: 0;
  z-index: 9999;
}

.div1 {
  grid-area: 1 / 1 / 3 / 2;
}

.div2 {
  grid-area: 1 / 2 / 2 / 5;
}

.div3 {
  grid-area: 2 / 2 / 3 / 5;
}

.div4 {
  grid-area: 1 / 5 / 2 / 6;
}

.div5 {
  grid-area: 2 / 5 / 3 / 6;
}

.div6 {
  grid-area: 1 / 6 / 2 / 7;
}

.div7 {
  grid-area: 2 / 6 / 3 / 7;
}

.div8 {
  grid-area: 1 / 7 / 3 / 8;
}

.header-item {
  height: 40px;
}

.head-img {
  max-width: 13vw;
}

.header-item .logo {
  width: 10vw;
}

nav a {
  color: white !important;
}


.header .profile-btn,
.header .add-ad-btn {
  margin-right: 30px;
  border-radius: 15px;
  display: flex;
  justify-content: center;
  align-items: center;
  text-align: center;
  padding: 3px;
  font-size: 1vw;
  line-height: 15px;
  height: 40px;
  width: 80%;
  box-shadow: 0 3px 5px rgba(219, 219, 219, 0.632);
  cursor: pointer;
  transition: 0.7s;
}

.header .profile-btn:hover,
.header .add-ad-btn:hover {
  box-shadow: none;
  transform: translateY(2px);
}

.header .profile-btn {
  background-color: rgb(181, 235, 73);
  color: black;
}

.header .add-ad-btn {
  background-color: rgb(0, 159, 0);
}

.header-mobile {
  display: none;
}

.div4 span {
  margin-top: 30px !important;
}

.header nav {
  font-size: 1vw;
}


.mobile-banner {
  display: none;
}



.aside .aside-ad {
  width: 15vw;
  position: fixed;
  height: 100vh;
  object-fit: fill;
}

.aside .right-aside {
  right: 0;
}

.aside .left-aside {
  left: 0;
}

.content .filter {
  margin-top: 20px;
  background: linear-gradient(to right, #373b44, #4286f4);
  padding: 10px;
  border-radius: 20px;
}

#hiddenFilter {
    display: none;
}


    .marka-select{
        margin-left: -10px
    }


.checkbox-input {
  clip: rect(0 0 0 0);
  -webkit-clip-path: inset(100%);
  clip-path: inset(100%);
  height: 1px;
  overflow: hidden;
  position: absolute;
  white-space: nowrap;
  width: 1px;
}

.checkbox-input:checked+.checkbox-tile {
  color: #000000 !important;
  background-color: rgb(134, 247, 255);
}

.checkbox-input:checked+.checkbox-tile:before {
  background-color: rgb(134, 247, 255);
}

.checkbox-input:checked+.checkbox-tile .checkbox-icon,
.checkbox-input:checked+.checkbox-tile .checkbox-label {
  color: #000;
}

.checkbox-input:focus+.checkbox-tile {
  border-color: rgb(134, 247, 255);
}


.checkbox-tile {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  min-width: auto;
  padding: 10px 10px;
  height: 5vh;
  border-radius: 0.5rem;
  border: 2px solid #b5bfd9;
  background-color: #fff;
  transition: 0.15s ease;
  cursor: pointer;
  position: relative;
  font-size: 13px;
}

.checkbox-tile:hover {
  border-color: rgb(134, 247, 255);
}

.checkbox-label {
  color: #707070;
  transition: 0.375s ease;
  text-align: center;
}

.filter input::placeholder,
.filter select {
  font-size: 13px;
}

.elan-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(200px, 1fr));
  grid-column-gap: 6px;
  margin-top: 10px;
}



.elanlar a {
  text-decoration: none !important;
}

.elanlar .mob-hidden-btn{
	display: none;
 }

.elanlar .card {
  border: none;
  margin-bottom: 30px;
  width: 14rem;
}

.elanlar .card:hover {
  box-shadow: 2px 3px 7px rgba(128, 128, 128, 0.362);
}

.elanlar .card img {
  object-fit: cover;
  width: 14rem;
  height: 14rem;
}

.elanlar .card p {
  margin-bottom: -4px;
}

.elanlar .card span {
  font-size: 14px;
  color: gray;
}

.elanlar .card .icons {
  position: absolute;
  top: 5px;
  left: 5px;
}

.elanlar .card .icons .icon {
  display: flex;
  justify-content: center;
  align-items: center;
  height: 25px;
  width: 25px;
  border-radius: 50%;
  color: #fff;
}

.elanlar .card .icons .kredit {
  background-color: orange;
}

.elanlar .card .icons .barter {
  background-color: rgb(49, 189, 10);
}

.elanlar .card .status {
  position: absolute;
  top: 50%;
  right: 10px;
  background-color: #fff;
  border-radius: 10px;
  padding: 4px 10px;

}

.elanlar .card .salon {
  background-color: #4286f4;
  color: #fff;
  border-radius: 10px;
  padding: 4px 10px;

}

.elanlar .card .status .premium {
  color: orange;
}

.elanlar .card .status .vip {
  color: rgb(64, 114, 196);
}


#customMarkaInput,
#customModelInput,
#customBanInput,
#customCityInput {
  cursor: pointer;
  width: 100%;
  height: 39px;
  border-radius: 7px;
  border: none;
  padding-left: .75rem;
}

.filter .form-control,
.filter .checkbox-tile {
  height: 39px !important;
  margin-top: 7px;

}

.filter-func #clear {
  background: transparent;
  border: none;
  color: #fff;
}

.filter-func #more_filtr {
  background: none;
  border: none;
  color: #fff;
  border: 1px solid greenyellow;
  padding: 5px 10px;
  border-radius: 10px;
}

.filter #view_cards {
  border: none;
  color: #373b44;
  border: 1px solid greenyellow;
  height: 50px;
  font-size: 18px;
  text-align: center;
  border-radius: 10px;
  font-weight: 700;
}

.filter #view_cards_btn {
  background-color: greenyellow;
  border: none;
  color: #373b44;
  border: 1px solid greenyellow;
  height: 50px;
  font-size: 16px;
  text-align: center;
  border-radius: 10px;
  font-weight: 500;
}

footer {
  background-color: #b5bfd9;
}

footer a {
  color: #fff !important;
  text-decoration: none !important;
}

footer .info {
  background-color: gray;
  color: #fff;
}

footer .car-list {
  padding: 20px;
}

footer ul {
  columns: 7;
  list-style: none;
}

footer ul li {
  font-size: 13px;
}

footer .links {
  padding: 0 0 20px 20px;
  font-size: 13px;
}

footer .copyright {
  background: linear-gradient(to right, #373b44, #4286f4);
  color: #fff;
  padding: 15px;
  text-align: center;
}

footer .copyright p {
  font-size: 13px;
}

.divider {
  padding-bottom: 7px;
  border-bottom: 1px solid gray;
  width: 100%;
  margin-top: 30px;
  color: #fff;
}


#selectedColorPreview {
  position: absolute;
  top: 50%;
  right: 10%;
  transform: translateY(-50%);
  width: 15px;
  height: 15px;
  border-radius: 50%;
  display: inline-block;
  border: 1px solid gray;
}


/* --- AUTO PAGE --*/

swiper-container {
  height: 400px;
}

swiper-slide {
  text-align: center;
  font-size: 18px;
  background: #bdbdbd;
  display: flex;
  justify-content: center;
  align-items: center;
  border-radius: 12px;
}

swiper-slide img {
  display: block;
  height: 100%;
  width: 100%;
  cursor: pointer;

}

swiper-container {
  margin-left: auto;
  margin-right: auto;
}

#autoImages .modal-dialog {
  background-color: blue;
  margin: 0;
  width: 100%;
  height: 100%;
  max-width: none;
}

#autoImages .modal-content {
  height: 100%;
}

#autoImages .modal-header {
  background: linear-gradient(to right, #373b44, #4286f4) !important;
  color: #fff;
}

#autoImages .modal-body {
  overflow: hidden;
  background-color: #000;
}

#autoImages .mySwiper {
  height: 100%;
}

#autoImages .swiper-slide {
  background-image: url('https://images.pexels.com/photos/1526/dark-blur-blurred-gradient.jpg');
  background-size: cover;
  background-repeat: no-repeat;
}

#autoImages .swiper-slide img {
  object-fit: contain;
  width: 100%;
  height: 100%;
}

.auto-info-container {
  background-color: #ffffff;
  border-radius: 10px;
  padding: 15px;
}

.auto-sale .icon {
  display: flex;
  justify-content: center;
  align-items: center;
  height: 25px;
  width: 25px;
  border-radius: 50%;
  color: #fff;
  margin-right: 5px;
}

.auto-sale .kredit {
  background-color: orange;
}

.auto-sale .barter {
  background-color: rgb(49, 189, 10);
}

.auto-contact-btn {
  box-shadow: 0 1px 6px gray;
  transition: 0.5s;
  background: #3db460;
  display: flex;
  width: 100%;
  height: 50px;
  justify-content: center;
  align-items: center;
  color: #fff;
  border-radius: 8px;
  text-decoration: none;
}

.auto-contact-btn:hover {
  transform: scale(0.99);
  box-shadow: none;
}

.auto-salon-btn {
  box-shadow: 0 1px 6px gray;
  transition: 0.5s;
  background: #3d65b4;
  display: flex;
  width: 100%;
  height: 50px;
  justify-content: center;
  align-items: center;
  color: #fff;
  border-radius: 8px;
  text-decoration: none;
  margin: 10px 0 20px 0;
}

.auto-salon-btn:hover {
  transform: scale(0.99);
  box-shadow: none;
}

.add-create-btn {
  display: flex;
  min-width: 100px;
  height: 45px;
  gap: 10px;
  align-items: center;
  justify-content: space-between;
  background-color: #e4e4e4;
  border: 1px solid #c5c5c5;
  padding: 7px;
  font-size: 14px;
  font-weight: 500;
  border-radius: 5px;
}

.add-create-btn small {
  font-size: 10px;
  line-height: 0.5;
}

.add-create-btn i {
  color: rgb(0, 159, 0);
}

.auto-func {
  background-color: #fff;
  border-radius: 22px;
  padding: 8px 15px;
  margin-top: 10px;
}

.auto-info-list ul {
  list-style: none;
}


/* LOGIN - REGISTER */

.main-content {
  width: 80%;
  border-radius: 20px;
  box-shadow: 0 5px 5px rgba(0, 0, 0, .4);
  margin: 5em auto;
  display: flex;
}

.company__info {
  background: linear-gradient(to top, #373b44, #4286f4);
  border-top-left-radius: 20px;
  border-bottom-left-radius: 20px;
  display: flex;
  flex-direction: column;
  justify-content: center;
  color: #fff;
}


@media screen and (max-width: 640px) {
  .main-content {
    width: 90%;
  }

  .company__info {
    display: none;
  }

  .login_form {
    border-top-left-radius: 20px;
    border-bottom-left-radius: 20px;
  }
}

@media screen and (min-width: 642px) and (max-width:800px) {
  .main-content {
    width: 70%;
  }
}

.row>h2 {
  color: #1761d8;
}

.login_form {
  background-color: #fff;
  border-top-right-radius: 20px;
  border-bottom-right-radius: 20px;
  border-top: 1px solid #ccc;
  border-right: 1px solid #ccc;
}

form {
  padding: 0 2em;
}

.form__input {
  width: 100%;
  border: 1px solid rgba(128, 128, 128, 0.2);
  border-radius: 0;
  border-bottom: 3px solid #aaaaaa51;
  padding: 1em .5em .5em;
  padding-left: 2em;
  outline: none;
  transition: all .5s ease;
}

.form__error {
  border: 1px solid rgba(244, 0, 0, 0.8);
  background-color: rgba(244, 0, 0, 0.1);
}

.form__input:focus {
  border-bottom: 3px solid #1761d8;
  box-shadow: 0 0 5px rgba(0, 80, 80, .4);
  border-radius: 4px;
}

.login-form .btn {
  transition: all .5s ease;
  width: 70%;
  border-radius: 30px;
  color: #1761d8;
  font-weight: 600;
  background-color: #fff;
  border: 1px solid #1761d8;
  margin-top: 1.5em;
  margin-bottom: 1em;
}

.login-form .btn-cancel {
  color: red;
  border: 1px solid red;
}

.login-form .btn:hover,
.login-form .btn:focus,
.login-form .btn-cancel:hover {
  background-color: #1761d8;
  color: #fff;
  border: 1px solid #1761d8;
}





/* --------------- USER DASHBOARD ------------------ */




/* --------------- AUTO DEALER ------------------ */
img.dealer-banner {
  border-radius: 20px 20px 0 0;
}

.dealer-info-banner {
  background: linear-gradient(45deg, #373b44, #4286f4);
  padding: 20px;
  width: 100%;
  border-radius: 0 0 20px 20px;
  color: #fff;
}

.dealer-info-banner img {
  max-width: 100%;
}

.dealer-info-banner .dealer-description {
  font-size: 14px;
  line-height: 14px;
}

.dealer-info-banner .adv-count {
  display: flex;
  height: 40px;
  justify-content: center;
  align-items: center;
  border-radius: 10px;
}

.dealer-info-banner .dealer-slogan {
  display: flex;
  height: 40px;
  justify-content: center;
  align-items: center;
  border-radius: 10px;
}



/* ----------------- AUTO DEALERS -------------------- */

.autodealers img {
  width: 100%;
  border: 1px solid rgb(200, 200, 200);
}

.autodealers .dealer-card {
  margin-top: 20px !important;
}

.autodealers .dealer-card:hover {
  box-shadow: 0 0 10px rgb(64, 114, 196);
  transform: scale(1.06);
}




/* -------------- BLOGS ------------------*/
.blogs a {
  text-decoration: none;
}

.blogs .card {
  margin-top: 20px;
}

.blogs .card img {
  height: 18em;
  object-fit: cover;
}

.post h1 {
  margin-bottom: 50px;
}

.post img {
  float: left;
  width: 35%;
  margin: 5px 25px 2px 0;
}

.post p {
  text-align: justify;
}

.post .share a {
  border-radius: 50%;
  background: linear-gradient(to top, #373b44, #4286f4);
  color: #fff;
  display: flex;
  height: 40px;
  width: 40px;
  justify-content: center;
  align-items: center;
  margin-left: 10px;
  border: none;
  text-decoration: none;
}

.post .share button:hover {
  transform: scale(1.2) rotate(360deg);
}


/* ----------- ELAN VER ------------*/
.custom-tooltip {
  display: none;
  position: absolute;
  top: 50%;
  left: 50%;
  padding: 10px;
  background-color: #fff;
  border: 1px solid #ccc;
  border-radius: 5px;
  box-shadow: 0 2px 4px rgba(0, 0, 0, .1);
  z-index: 9999;
  font-size: 13px;
}

.btn:hover+.custom-tooltip {
  display: block;
}

.add-ann input:focus {
  outline: none;
  border: none;
}

.add-ann input[type=checkbox] {
  width: 20px;
  height: 20px;
}

.shine-container {
  position: relative;
  display: flex;
  justify-content: center; /* Üfiqi mərkəzləşdirmək üçün */
  overflow: hidden;
  width: 100%;
}

#add-image-button {
  cursor: pointer;
  display: flex;
  justify-content: center; /* Üfiqi mərkəzləşdirmək üçün */
  width: 50%;
}


.shine-container img {
  display: block;
  width: 50%;
  height: auto;
  animation: scale-effect 2s infinite;
}



@keyframes scale-effect {
  0% {
    transform: scale(1);
  }
  50%{
    transform: scale(1.05);
  }
  100% {
    transform: scale(1);
  }
}






#preview-container {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
}

.preview-image {
  max-width: 100px;
  max-height: 100px;
}


.front-image-input {
  width: 100%;
}

.front-image-input input {
  display: none;
}

.front-image-input label {
  display: block;
  color: #FFF;
  background: linear-gradient(to right, #373b44, #4286f4);
  ;
  padding: 0.3rem 0.6rem;
  font-size: 115%;
  cursor: pointer;
  width: 70%;
}

.front-image-input label i {
  font-size: 125%;
  margin-right: 0.3rem;
}

.front-image-input label:hover i {
  animation: shake 0.35s;
}

.front-image-input img {
  max-width: 175px;
  display: none;
}

.front-image-input span {
  display: none;
  text-align: center;
  cursor: pointer;
}

@keyframes shake {
  0% {
    transform: rotate(0deg);
  }

  25% {
    transform: rotate(10deg);
  }

  50% {
    transform: rotate(0deg);
  }

  75% {
    transform: rotate(-10deg);
  }

  100% {
    transform: rotate(0deg);
  }
}