@import url('https://fonts.googleapis.com/css2?family=Roboto:wght@400;700&display=swap');

* {
    box-sizing: border-box !important;
    font-family: Roboto, sans-serif;
}

html {
    padding: 0;
    margin: 0;
    font-size: 14px;
}

body {
    background-color: #f2f2f2 !important;
    min-height: 100vh !important;
    padding: 0;
    margin: 0;
}

header {
    background-color: #fff;
    display: flex;
    padding: 20px;
    border-bottom-left-radius: 10px;
    border-bottom-right-radius: 10px;
    box-shadow: 0 0 15px rgba(38, 38, 38, 0.05);
    justify-content: space-between;
    align-items: center;
    margin-bottom: 10px;
}

header .nav {
    justify-content: flex-end;
}

header .logo-container {
    display: flex;
    align-items: center;
    text-decoration: none;
}

header .logo-container h4 {
    color: #0E8C30;
    margin: 0;
}

header .logo {
    width: 50px;
    height: 50px;
    border-radius: 50%;
    background-image: url(../images/logo.svg);
    background-size: contain;
    background-repeat: no-repeat;
    border: 1px solid #0E8C30;
    margin-right: 10px;
}

.nav-pills .nav-link, .dropdown-item {
    color: black;
    display: flex;
    align-items: center;
    background-repeat: no-repeat;
    background-size: contain;
}

.nav-pills .nav-link.active {
    background-color: #0E8C30;
    color: white;
}

.nav-link .icon, .dropdown-item .icon {
    display: block;
    width: 24px;
    height: 24px;
    margin-right: 5px;
    background-size: contain;
    background-repeat: no-repeat;
    background-position: center;
}

.nav-link .icon.icon-categories {
    background-image: url(../images/categories.svg);
}

.nav-link .icon.icon-ads-active {
    background-image: url(../images/posts_white.svg);
}

.nav-link .icon.icon-ads {
    background-image: url(../images/posts_black.svg);
}

.nav-link .icon.icon-favorites {
    background-image: url(../images/favorites_black.svg);
}

.nav-link .icon.icon-favorites-active {
    background-image: url(../images/favorites_white.svg);
}

.nav-link .icon.icon-login {
    background-image: url(../images/login.svg);
}

.nav-link .icon.icon-logout {
    background-image: url(../images/logout.svg);
}

.nav-link .icon.icon-globe {
    background-image: url(../images/globe.svg);
}

.dropdown-item .icon.icon-uz {
    background-image: url(../images/uz.png);
}

.dropdown-item .icon.icon-ru {
    background-image: url(../images/ru.png);
}

.dropdown-item .icon.icon-kp {
    background-image: url(../images/ka.png);
}

main.posts {
    padding: 20px;
    border-radius: 10px;
    box-shadow: 0 0 15px rgba(38, 38, 38, 0.1);
    background-color: #fff;
    min-height: 60vh;
}

nav.categories {
    padding: 20px;
    border-radius: 10px;
    box-shadow: 0 0 15px rgba(38, 38, 38, 0.1);
    background-color: #fff;
    margin-bottom: 10px;
}

nav.categories .sections li {
    display: none;
}

nav.categories .sub-sections li {
    display: none;
}

main .top-bar {
    display: flex;
}

main .top-bar .rq-button {
    margin-left: 20px;
    margin-right: 10px;
}

.search-input {
    height: 40px;
    background: #FFFFFF;
    border: 1px solid #F6F6F6;
    box-sizing: border-box;
    box-shadow: 0 4px 4px rgba(38, 38, 38, 0.1);
    border-radius: 20px;
    position: relative;
    flex: 1;
}

.search-input input {
    display: block;
    outline: none;
    border: none;
    width: 100%;
    border-radius: 20px;
    height: 40px;
    text-align: center;
    padding: 0 50px;
    font-weight: 700;
    position: relative;
}

.search-input input::placeholder {
    color: #D9D9D9;
}

.search-input .icon {
    height: 25px;
    width: 25px;
    position: absolute;
    left: 10px;
    top: 7px;
    background-image: url(../images/search.svg);
}

.search-input input:focus + .icon {
    background-image: url(../images/search_black.svg);
}

.top-bar .filter-icon {
    cursor: pointer;
    margin-right: 5px;
    width: 25px;
    height: 25px;
    background-image: url(../images/filter.svg);
    background-size: contain;
    background-repeat: no-repeat;
}

.top-bar .sort-icon {
    cursor: pointer;
    margin-right: 5px;
    width: 25px;
    height: 25px;
    background-image: url(../images/sort.svg);
    background-size: contain;
    background-repeat: no-repeat;
}

.categories a {
    display: block;
    background-color: #f2f2f2;
    color: black;
    text-decoration: none;
    margin-bottom: 10px;
    padding: 10px;
    border-radius: 10px;
}

.categories a:hover, .categories .nav-item.active a {
    background-color: #fff;
    border: 1px solid #0E8C30;
    color: #0E8C30;
    padding: 9px;
}

.posts {
    margin-top: 20px;
}

/* SIMPLE POST START */

.simple-post {
    background: #FFFFFF;
    box-shadow: 0 0 15px rgba(38, 38, 38, 0.1);
    border-radius: 5px;
    display: block;
    color: black;
    text-decoration: none;
}

.simple-post .image-container {
    height: 200px;
    border-radius: 5px;
    box-shadow: 0 4px 8px rgba(38, 38, 38, 0.1);
    position: relative;
    overflow: hidden;
    display: flex;
}

.simple-post .image-container .slices {
    position: absolute;
    top: 0;
    bottom: 0;
    left: 0;
    right: 0;
    z-index: 19;
    display: flex;
}

.simple-post .image-container .slice {
    flex: 1;
    opacity: 0.99;
    z-index: 19;
}

.simple-post .image-container .back {
    background-size: cover;
    background-repeat: no-repeat;
    background-position: center;
    display: none;
    position: absolute;
    top: 0;
    bottom: 0;
    left: 0;
    right: 0;
}

.simple-post .image-container .back-0 {
    background-image: url(../images/simple-ad-back.jpg);
    z-index: 9;
    display: block;
}

.simple-post .image-container .back-1 {
    background-image: url(../images/simple-ad-back.jpg);
    z-index: 10;
}

.simple-post .image-container .back-2 {
    background-image: url(../images/simple-ad-back2.jpg);
    z-index: 11;
}

.simple-post .image-container .back-3 {
    background-image: url(../images/back3.jpg);
    z-index: 12;
}

.simple-post .image-container .back-4 {
    background-image: url(../images/back4.jpg);
    z-index: 13;
}

.simple-post .image-container .back-5 {
    background-image: url(../images/back4.jpg);
    z-index: 14;
}

.simple-post .image-container .back-6 {
    background-image: url(../images/back4.jpg);
    z-index: 15;
}

.simple-post .image-container .back-7 {
    background-image: url(../images/back4.jpg);
    z-index: 16;
}

.simple-post .image-container .back-8 {
    background-image: url(../images/back4.jpg);
    z-index: 17;
}

.simple-post .image-container .slice-0:hover ~ .back-0 {
    display: block;
}

.simple-post .image-container .slice-1:hover ~ .back-1 {
    display: block;
}

.simple-post .image-container .slice-2:hover ~ .back-2 {
    display: block;
}

.simple-post .image-container .slice-3:hover ~ .back-3 {
    display: block;
}

.simple-post .image-container .slice-4:hover ~ .back-4 {
    display: block;
}

.simple-post .image-container .slice-5:hover ~ .back-5 {
    display: block;
}

.simple-post .image-container .slice-6:hover ~ .back-6 {
    display: block;
}

.simple-post .image-container .slice-7:hover ~ .back-7 {
    display: block;
}

.simple-post .image-container .slice-8:hover ~ .back-8 {
    display: block;
}

.simple-post .image-container .dots {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    align-items: center;
    justify-content: center;
    z-index: 20;
    display: none;
}

.image-container:hover > .dots {
    display: flex;
}

.simple-post .image-container .dot {
    height: 8px;
    width: 8px;
    border-radius: 50%;
    background-color: white;
    margin: 5px;
}

.simple-post .image-container .slice-0:hover ~ .dots .dot-0 {
    background-color: #0E8C30;
}

.simple-post .image-container .slice-1:hover ~ .dots .dot-1 {
    background-color: #0E8C30;
}

.simple-post .image-container .slice-2:hover ~ .dots .dot-2 {
    background-color: #0E8C30;
}

.simple-post .image-container .slice-3:hover ~ .dots .dot-3 {
    background-color: #0E8C30;
}

.simple-post .image-container .slice-4:hover ~ .dots .dot-4 {
    background-color: #0E8C30;
}

.simple-post .image-container .slice-5:hover ~ .dots .dot-5 {
    background-color: #0E8C30;
}

.simple-post .image-container .slice-6:hover ~ .dots .dot-6 {
    background-color: #0E8C30;
}

.simple-post .image-container .slice-7:hover ~ .dots .dot-7 {
    background-color: #0E8C30;
}

.simple-post .image-container .slice-8:hover ~ .dots .dot-8 {
    background-color: #0E8C30;
}

.simple-post .image-container .bottom-container {
    padding: 5px 10px;
    display: flex;
    justify-content: space-between;
    background: rgba(38, 38, 38, 0.7);
    box-shadow: 0 4px 8px rgba(38, 38, 38, 0.1);
    border-radius: 5px;
    color: white;
    position: absolute;
    left: 0;
    right: 0;
    bottom: 0;
    z-index: 20;
}

.simple-post .image-container .status {
    position: absolute;
    top: 20px;
    left: 0;
    padding: 0 10px;
    border-radius: 0 12px 12px 0;
    z-index: 20;
}

.simple-post .image-container .torg {
    position: absolute;
    bottom: 40px;
    right: 0;
    padding: 0 10px;
    border-radius: 12px 0 0 12px;
    z-index: 20;
    background-color: #0E8C30;
    color: white;
}

.simple-post .image-container .status.top {
    background-color: #FFBB33;
    color: #333;
}

.simple-post .image-container .status.premium {
    background-color: #F54A42;
    color: white;
}

.carousel-container {
    cursor: pointer;
    position: relative;
}

.gallery-button {
    position: absolute;
    top: 50px;
    bottom: 50px;
    left: 50px;
    right: 50px;
    z-index: 10;
    display: none;
    justify-content: center;
    align-items: center;
}

.carousel-container:hover .gallery-button {
    display: flex;
}

.looking-glass-container {
    width: 50px;
    height: 50px;
    border-radius: 50%;
    background-color: rgba(38, 38, 38, 0.5);
    display: flex;
    justify-content: center;
    align-items: center;
}

.looking-glass {
    width: 24px;
    height: 24px;
    background-image: url(../images/looking_glass_plus.svg);
    background-size: contain;
    background-repeat: no-repeat;
}

.favorite-button-container {
    cursor: pointer;
    position: absolute;
    top: 4px;
    right: 4px;
    z-index: 20;
    display: flex;
    justify-content: center;
    align-items: center;
    border-radius: 5px;
    width: 35px;
    height: 35px;
    background-color: rgba(0, 0, 0, 0.7);
}

.favorite-button-container .favorite-button {
    width: 24px;
    height: 24px;
    background-image: url(../images/favorite_unchecked.svg);
    background-size: contain;
    background-repeat: no-repeat;
}

.favorite-button-container.checked .favorite-button {
    background-image: url(../images/favorite_checked.svg);
}

.simple-post h6 {
    font-style: normal;
    font-weight: bold;
    padding: 5px 10px;
    height: 35px;
}

.simple-post .price {
    padding: 0 10px;
    padding-bottom: 10px;
    color: #0E8C30;
}

.simple-post .user-name {
    padding: 5px 10px;
    padding-top: 0;
}

/* SIMPLE POST END */

footer {
    margin-top: 20px;
    padding-top: 20px;
    border-top: 2px solid #0E8C30;
    background-color: #262626;
    color: white;
}

footer .logo-container {
    display: flex;
}

footer .logo {
    width: 65px;
    height: 65px;
    margin-right: 20px;
    background-image: url(../images/logo.svg);
    background-size: contain;
    background-repeat: no-repeat;
}

footer .logo-container .title {
    font-weight: bold;
    font-size: 18px;
    line-height: 18px;
    margin-bottom: 5px;
}

footer .logo-container .desc {
    line-height: 15px;
}

footer .location-controller {
    padding-top: 10px;
    padding-left: 25px;
    display: flex;
}

footer .location-controller .icon {
    width: 38px;
    height: 38px;
    background-image: url(../images/location_marker.svg);
    background-size: contain;
    background-repeat: no-repeat;
    margin-right: 20px;
}

footer .location-controller .desc {
    line-height: 15px;
}

footer .phones {
    padding-top: 10px;
    padding-left: 75px;
    line-height: 15px;
}

footer .invest-button {
    display: block;
    padding-top: 10px;
    padding-bottom: 10px;
    margin-top: 10px;
    margin-left: 75px;
    text-align: center;
    width: 150px;
    background-color: #0E8C30;
    color: white;
    border-radius: 15px;
}

footer .h-line {
    height: 1px;
    background-color: #fff;
    margin-top: 40px;
    margin-bottom: 10px;
}

footer .bottom-text {
    text-align: center;
    margin-bottom: 10px;
}

footer .socials-container {
    display: flex;
    flex-direction: column;
    align-items: flex-end;
    width: 100%;
}

footer .social-icons {
    display: flex;
    padding-top: 5px;
}

footer .social-icon {
    width: 40px;
    height: 40px;
    background-color: #333333;
    border-radius: 5px;
    margin-left: 5px;
    background-size: 20px 20px;
    background-position: center;
    background-repeat: no-repeat;
    display: block;
}

footer .social-icon.tg-icon {
    background-image: url(../images/tg-icon.svg);
}

footer .social-icon.ok-icon {
    background-image: url(../images/ok-icon.svg);
}

footer .social-icon.vk-icon {
    background-image: url(../images/vk-icon.svg);
}

footer .social-icon.ig-icon {
    background-image: url(../images/ig-icon.svg);
}

footer .social-icon.fb-icon {
    background-image: url(../images/fb-icon.svg);
}

footer .social-icon.tw-icon {
    background-image: url(../images/tw-icon.svg);
}

footer .social-icon.yt-icon {
    background-image: url(../images/yt-icon.svg);
}

/* POST PAGE */

.white-container {
    background: #FFFFFF;
    box-shadow: 0 0 8px rgba(38, 38, 38, 0.1);
    border-radius: 10px;
    padding: 20px;
}

.post h3 {
    font-weight: bold;
    margin-bottom: 5px;
}

.post .subtitle {
    color: #808080;

}

#phone-number {
    cursor: pointer;
}

.rq-button {
    user-select: none;
    background: #FFFFFF;
    border: 1px solid #F7F7F7;
    box-sizing: border-box;
    box-shadow: 0 4px 8px rgba(14, 140, 48, 0.25);
    border-radius: 20px;
    display: flex;
    justify-content: center;
    align-items: center;
    height: 40px;
    min-width: 160px;
    cursor: pointer;
    padding-left: 20px;
    padding-right: 20px;
    outline: none !important;
    text-decoration: none;
}

.rq-button-green {
    user-select: none;
    background: #0E8C30;
    border: 1px solid #F7F7F7;
    box-sizing: border-box;
    box-shadow: 0 4px 8px rgba(14, 140, 48, 0.25);
    border-radius: 20px;
    display: flex;
    justify-content: center;
    align-items: center;
    height: 40px;
    min-width: 160px;
    cursor: pointer;
    padding-left: 20px;
    padding-right: 20px;
    outline: none !important;
    text-decoration: none;
}

.rq-button .button-text {
    font-weight: bold;
    color: #0E8C30;
    text-decoration: none !important;
}

.rq-button-green .button-text {
    font-weight: bold;
    color: #FFFFFF;
    text-decoration: none !important;
}

.price {
    display: flex;
}

.price-container .subtitle {
    line-height: 10px;
}

.price-container span {
    font-size: 23px;
}

.price-container h3 {
    margin-bottom: 0;
    padding-bottom: 0;
}

.user-container {
    display: flex;
    padding: 20px 0;
}

.user-container .avatar {
    border: 1px solid #F6F6F6;
    box-shadow: 0 4px 4px rgba(38, 38, 38, 0.1);
    width: 50px;
    height: 50px;
    background-image: url(../images/simple-ad-back.jpg);
    background-repeat: no-repeat;
    background-size: cover;
    background-position: center;
    border-radius: 50%;
    margin-right: 10px;
}

.post .characteristics div {
    margin-bottom: 5px;
}

.post .characteristics div:last-child {
    margin-bottom: 0;
}

.owl-carousel {
    border-radius: 5px;
    overflow: hidden;
}

.post .carousel-item {
    background-image: url(../images/simple-ad-back2.jpg);
    height: 350px;
    background-size: cover;
    background-position: center;
    display: block;
    border-radius: 5px;
}

.owl-dots {
    position: absolute;
    bottom: 10px;
    left: 50%;
    transform: translateX(-50%);
}

.owl-dot {
    height: 7px;
    width: 7px;
    margin: 2.5px;
    border-radius: 50%;
    background: #fff !important;
}

.owl-dot.active {
    background: #0E8C30 !important;
}

.owl-next, .owl-prev {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    height: 30px;
    width: 30px;
    background-repeat: no-repeat !important;
    background-position: center !important;
    background-color: rgba(38, 38, 38, 0.5) !important;
    color: transparent !important;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 50%;
}

.owl-next {
    right: 10px;
    background-image: url(../images/next-arrow.svg) !important;
}

.owl-prev {
    left: 10px;
    background-image: url(../images/prev-arrow.svg) !important;
}

.carousel-tile {
    height: 70px;
    background-image: url(../images/simple-ad-back2.jpg);
    background-position: center;
    background-size: cover;
    margin-top: 10px;
    border-radius: 5px;
    cursor: pointer;
}

.carousel-tile.active {
    border: 4px solid #0E8C30;
}

.carousel-tiles {
    padding-right: 7px;
    padding-left: 7px;
}

.carousel-tiles .col-3 {
    padding-left: 5px;
    padding-right: 5px;
}

.description-container h3 {
    margin-top: 10px;
}

.description-container {
    flex: 1;
}

.characteristics {
    flex: 1;
}

#map {
    height: 500px;
    margin-top: 10px;
    border-radius: 5px;
}

.favorite-post {
    background: #FFFFFF;
    box-shadow: 0 0 15px rgba(38, 38, 38, 0.1);
    border-radius: 5px;
    display: flex;
    height: 110px;
    margin-bottom: 10px;
    text-decoration: none;
    color: black;
}

.favorite-post .image {
    height: 110px;
    width: 110px;
    border-radius: 5px;
    background-image: url(../images/simple-ad-back2.jpg);
    background-size: cover;
    background-position: center;
}

.favorite-post .content {
    padding: 10px;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    flex: 1;
    position: relative;
}

.favorite-post .content h6 {
    display: block;
    font-weight: bold;
    font-size: 15px;
    line-height: 15px;
    padding-right: 30px;
}

.favorite-post .price {
    color: #0E8C30;
}

.favorite-post .h-line {
    background-color: #D9D9D9;
    height: 1px;
    width: 100%;
}

.favorite-post .subtitle {
    font-size: 14px;
    color: #808080;
    line-height: 14px;
}

.favorite-post .fav-icon {
    position: absolute;
    top: 10px;
    right: 10px;
    width: 26px;
    height: 26px;
    background-image: url(../images/favorite_unchecked_green.svg);
    background-size: 26px 26px;
}

.favorite-post .fav-icon.checked {
    background-image: url(../images/favorite_checked_green.svg);
}

body.login-window {
    background-image: url(../images/login-background.jpg);
    display: flex;
    justify-content: center;
    align-items: center;
    flex-direction: column;
    background-size: 100% 100%;
    position: relative;
}

.login-window .logo {
    display: block;
    position: absolute;
    top: 15px;
    left: 50%;
    transform: translateX(-50%);
    width: 100px;
    height: 100px;
    background-image: url(../images/logo.svg);
    box-shadow: 0 4px 4px rgba(0, 0, 0, 0.25);
    border-radius: 50%;
    background-size: 100% 100%;
}

.login-window input {
    height: 40px;
    width: 340px;
    display: block;
    background: #FFFFFF;
    border: 1px solid #E6E6E6;
    box-sizing: border-box;
    border-radius: 20px;
    outline: none !important;
    text-align: center;
    padding-left: 10px;
    padding-right: 10px;
}

.login-window input:focus {
    border-color: #0E8C30;
}

.login-window .input-wrapper {
    margin-bottom: 30px;
    position: relative;
}

.login-window label {
    position: absolute;
    top: 0;
    left: 50%;
    transform: translate(-50%, -50%);
    background-color: white;
    display: block;
    color: #BFBFBF;
    font-weight: bold;
}

.login-window input:focus + label {
    color: #0E8C30;
}

.login-window .buttons-wrapper {
    display: flex;
}

.login-window .buttons-wrapper .rq-button {
    width: 150px;
    margin-right: 20px;
}

.login-window .buttons-wrapper .rq-button-green {
    width: 150px;
}

.login-window .restore-button {
    font-weight: bold;
    text-decoration: underline;
    color: #808080;
    margin-top: 20px;
    cursor: pointer;
}

.login-window .lang {
    font-weight: bold;
    color: #BFBFBF;
    margin-top: 20px;
}

.login-window .lang + .rq-button {
    margin-top: 10px;
}

.login-window .bottom-text-container {
    position: absolute;
    bottom: 10px;
    left: 50px;
    right: 50px;
}

.bottom-text-container p {
    text-align: center;
    color: #808080;
}

.bottom-text-container .h-line {
    width: 350px;
    height: 1px;
    background-color: #808080;
    margin: 0 auto;
}

#filter {
    position: fixed;
    top: 20px;
    bottom: 20px;
    width: 350px;
    right: -500px;
    transition: all ease-in-out 0.3s;
    z-index: 30;
    overflow: auto;
}

.pagination {
    display: flex;
    justify-content: center;
}

.pagination .p-btn {
    min-width: 35px;
    padding: 0 5px;
    min-height: 35px;
    max-height: 35px;
    border-radius: 17.5px;
    border: 1px #0E8C30 solid;
    color: #0E8C30;
    margin: 7px;
    cursor: pointer;
    display: flex;
    justify-content: center;
    align-items: center;
    text-decoration: none;
}

.pagination .p-btn:hover, .pagination .p-btn.active {
    background-color: #0E8C30;
    color: white;
    font-weight: bold;
}

.pagination .to-first, .pagination .to-last {
    background-image: url(../images/double-next-arrow-green.svg);
    background-repeat: no-repeat;
    background-position: center center;
}

.pagination .to-first:hover,
.pagination .to-first.active,
.pagination .to-last:hover,
.pagination .to-last.active {
    background-image: url(../images/double-next-arrow.svg);
}

.pagination .to-first {
    transform: scaleX(-1);
}

.pagination .prev, .pagination .next {
    background-image: url(../images/pagination-next-arrow-green.svg);
    background-repeat: no-repeat;
    background-position: center center;
}

.pagination .prev:hover,
.pagination .prev.active,
.pagination .next:hover,
.pagination .next.active {
    background-image: url(../images/pagination-next-arrow.svg);
}

.pagination .prev {
    transform: scaleX(-1);
}

.login-window .error-text {
    text-align: center;
    color: red;
    margin-bottom: 50px;
}

pre {
    font-family: Roboto, sans-serif;
    font-size: 14px;
    white-space: pre-wrap; /* css-3 */
    white-space: -moz-pre-wrap; /* Mozilla, since 1999 */
    white-space: -pre-wrap; /* Opera 4-6 */
    white-space: -o-pre-wrap; /* Opera 7 */
    word-wrap: break-word;
}

.error-window h1 {
    font-weight: bold;
    text-transform: uppercase;
    font-size: 100px;
    margin-bottom: 50px;
    text-align: center;
}

.error-window p {
    text-align: center;
    margin-bottom: 50px;
}

.download-page {
    width: 100vw;
    height: 100vh;
    background-image: url("../images/login-background.jpg");
    display: flex;
    align-items: center;
    justify-content: center;
    position: relative;
    flex-direction: column;
}

.download-page .logo {
    display: block;
    position: absolute;
    top: 15px;
    left: 50%;
    transform: translateX(-50%);
    width: 100px;
    height: 100px;
    background-image: url(../images/logo.svg);
    box-shadow: 0 4px 4px rgba(0, 0, 0, 0.25);
    border-radius: 50%;
    background-size: 100% 100%;
}

.download-page .sources-wrapper {
    display: flex;
}