body{
font-size: 16px;
line-height: 135%;
font-family: Verdana, Arial, sans-serif; 
}

form, input, selec, textarea{
font-family: Arial;
font-size: 18px;
}

p{
  text-align: justify;
}

li p{
  margin-top: 13px;
}

img {
  max-width: 100%;
}

textarea {width: 75%}

.navbar-custom {
  background-color:  #046691;
}
.nav-link{color: #fff;}

.rund{
  border-radius: 1rem;
}

.card-title{
font-size: 125%;
}

.card-img-h250-cover
{
  height: 250px;
  width: 100%;
  object-fit: cover;
}

.card-poloska150-img {
height: 150px;
object-fit: cover; 
width: 100%;
}

.carousel-item img {
width: 100%;
aspect-ratio: 16 / 9; /* Например, 16:9 */
object-fit: cover;
}

.o-image img {
  width: 200px;
  height: 100px;
  margin: 20px;
  border: 1px solid #dcdcdc;
  object-fit: cover;
}

.test li{
background: #eeeeee;
transition: background .3s;
padding: 13px 20px;
padding-right: 20px;
border-radius: 4px;
margin: 0 0 10px;
cursor: pointer;
line-height: 25px;
font-size: 16px;
position: relative;
z-index: 2;
}

.box {
  border-radius: 3px;
  background: #fff;
  width:250px;
  box-shadow: 0 1px 1px rgba(0,0,0,0.1);
}

.bg-purple {
  background-color: #605ca8 !important;
  color: #fff;
}

.category_title
{
font-size: 21px;
background-color:#0dcaf0;
padding: 7px;
color: #fff;
}

.onlyformobile{display:none;}


.uploader {
  min-height: 200px;
  overflow-x: hidden;
  text-align: center;
  padding: 10px;
  position: relative;
}

.btn-browse-files {
  border-color: #cfd3d9;
  margin-top: 10px;
  display: block;
}


.uploader input {display:none;}

.image-container {
  height: 150px;
  overflow: hidden;
  text-align: center;
  border-radius: 2px;
  position: relative;
}


.image-container img {
  margin: 0 auto;
  margin-left: auto;
  position: relative;
  width: auto;
  min-width: 100%;
  max-width: none;
  height: 100%;
 
}

.fffokfv{
   margin-left: 50%;
  transform: translateX(-50%);
  object-fit: cover;
}

.img-preview {
    position: relative;
    width: 120px;
    height: 120px;
    object-fit: cover;
    border-radius: 5px;
    border: 1px solid #ddd;
}
.delete-btn {
    position: absolute;
    top: 0;
    right: 0;
    background-color: rgba(255, 0, 0, 0.7);
    color: white;
    border: none;
    cursor: pointer;
    border-radius:10%;
}
.delete-btn:hover {
    background-color: rgba(255, 0, 0, 1);
}


.btn-delete-selected-file-image {
  position: absolute;
  top: 0;
  padding: 0;
  right: 0;
  border-radius: 2px;
  width: 22px;
  height: 22px;
  line-height: 20px;
  text-align: center;
    color: #fff;
  background-color: #dd4b39;
  border-color: #dd4b39;
  z-index: 100;
  text-decoration: none;
  cursor: pointer;
}


.btn-sort-image{
  position: absolute;
  bottom: 0;
  left: 0;
  right: 0;
  border-radius: 2px;
  width: 22px;
  height: 22px;
  line-height: 20px;
  font-weight: 300;
  text-align: center;
  color: #fff;
  background-color: #198754;
  border-color:#198754;
  z-index: 100;
  cursor: pointer;
}

#map {
    height: 300px;
    width: 100%;
}



#about_video {
    position: fixed;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    width: 80%;
    max-width: 800px;
    height: 450px;
    background: black;
    display: none;
    justify-content: center;
    align-items: center;
    z-index: 1000;
    padding: 10px;
    border-radius: 10px;
}

#about_video iframe {
    width: 100%;
    height: 100%;
}

.play_video{
  position: relative;
  cursor:pointer;
}

.play_video img {
    width: 100%;
    height: auto;
    display: block;
    border-radius: 8px;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.2);
}

.play-icon {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    width: 60px;
    height: 60px;
    background: rgba(0, 0, 0, 0.7);
    border-radius: 50%;
    display: flex;
    justify-content: center;
    align-items: center;
}

.play-icon::after {
    content: "▶";
    font-size: 50px;
    color: white;
    font-weight: bold;
    margin-left: 5px;
}

#close_video {
    position: absolute;
    top: 10px;
    right: 10px;
    width: 30px;
    height: 30px;
    background: rgba(0, 0, 0, 0.7);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    z-index: 1100;
}

#close_video::after {
    content: "×";
    font-size: 20px;
    font-weight: bold;
    color: white;
}

.pagination {
    display: flex;
    justify-content: center;
    padding: 20px;
    gap: 10px;
}

.pagination li {
    list-style: none;
}

.pagination li a {
    display: block;
    padding: 8px 12px;
    font-size: 20px;
    color: #007bff;
    background-color: #fff;
    border: 1px solid #007bff;
    border-radius: 6px;
    transition: all 0.3s ease;
    text-decoration: none;
}

.pagination li a:hover {
    background-color: #007bff;
    color: #fff;
}

.pagination .active a {
    background-color: #007bff;
    color: #fff;
    border-color: #007bff;
}

.scale {
    display: inline-block;
    overflow: hidden;
}
.scale img {
    transition: 0.7s;
    display: block;
}
.scale img:hover {
    transform: scale(1.2);
}

.sold-label, .ribbon {
  position: absolute;
  top: 150px;
  left: 40px;
  background: rgba(100, 100, 100, 0.5); /* мягкий серый с прозрачностью */
  color: #f0f0f0; /* светло-серый текст */
  padding: 18px;
  font-size:36px;
  font-weight: 500;
  text-transform: uppercase;
  transform: rotate(-25deg);
  border-radius: 10px;
  backdrop-filter: blur(1px);
  z-index: 10;
  pointer-events: none;
}

.ribbon {
  background: rgba(220, 0, 0, 0.3);
  left: -10px;
  top: 70px;
  font-size:16px;
}

.floating-menu {
  position: fixed;
  top: 60px;
  right: 0;
  z-index: 1000;
  display: flex;
  align-items: center;
  transition: transform 0.3s ease;
  transform: translateX(40%); /* наполовину за экраном */
}

.floating-menu.visible {
  transform: translateX(40%);
}

.floating-menu.hovered {
  transform: translateX(0);
}

.circle {
  width: 48px;
  height: 48px;
  background-color: #007bff;
  color: white;
  font-size: 24px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  box-shadow: 0 4px 6px rgba(0,0,0,0.1);
}

.fmenu {
  background-color: white;
  border: 1px solid #ccc;
  border-radius: 6px;
  margin-right: 10px;
  padding: 8px;
  display: flex;
  flex-direction: column;
  gap: 6px;
  display: none;
}

.fmenu a {
  text-decoration: none;
  color: #333;
  padding: 4px 8px;
  border-radius: 4px;
}

.fmenu a:hover {
  background-color: #f0f0f0;
}

.hidden {
  display: none;
}


@media (max-width: 1200px)
{
.onlyformobile{display:inline-block;}
.onlyfordesctop{display: none;}
textarea {width: 100%}
h1{font-size: 22px;}
h2{font-size: 20px;}
}


@media (max-width: 767.98px)
{
.mob {padding:25px !important;}
.article  {font-size: 18px;line-height:28px;}
#map {height: 200px;}
}