@import "/osnova/osnova.css";
/* основное */
/* |||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||| */

main {
    margin-bottom: auto;
}

.main_box {
    display: flex;
    flex-direction: column;
    justify-content: center;
    max-width: 940px;
    min-width: 320px;
    margin: 0 auto;
    /* border: 1px solid slategrey; */
}


.logotipimg {
    margin: 0 10px 0 0;
}

.logotiph1 {
    margin: 0px;
    font-size: 1.4rem;
}

.logotip {
    display: flex;
    align-items: center;
    padding: 0 0;
    margin: 0 0;
    width: 230px;
    flex-direction: row;
}

header {
    background: #ffcc00;
    display: flex;
    justify-content: center;
    position: sticky;
    top: 0;
    left: 0;
    right: 0;
    z-index: 1;
}

.header1 {
    width: 940px;
}

.header2 {
    display: flex;
    justify-content: space-between;
    margin: 15px;
    font-family: Helvetica Neue, arial, sans-serif;
}

.site_menu {
    display: flex;
    position: relative;
    margin: 0;
    padding: 0;
}

.site_menu a {
    padding: 0 15px 3px 0;
    text-decoration: none;
    color: #050505;

}

.contacts {
    cursor: default;
}

.limenu_planshet {
    cursor: pointer;
    padding: 0 15px 3px 0;
    position: relative;
}

.mtnu_planshet {
    display: flex;
}

.kontakt {
    cursor: default;
}

.limenu_planshet {
    display: none;
    cursor: pointer;
    padding: 0 15px 3px 0;
}

.site_menu a:hover:not(.kontakt) {
    color: #00cc66;
    text-decoration: underline;
}


nav {
    display: flex;
    align-items: center;
}

.vk {
    width: 16px;
    padding-top: 4px;
}

.vk:hover {
    fill: #00cc66;
}

#menu-hamburger,
[for="menu-hamburger"] {
    display: none;
}

.sidebar {
    background-color: #000000;
    color: rgb(251, 250, 250);
    padding: 30px 0;
}

#sidebar1 {
    margin: 0 auto;
    padding: 0 4%;
    max-width: 940px;
}

.s1 {
    margin: 15px;
    min-height: 100%;
}

.Sortavala_tel {
    padding-top: 15px;
    display: flex;
    flex-direction: column;
}

.button_div {
    text-decoration: none;
    text-align: center;
    padding: 10px;
    background: #868255;
    border-radius: 4px;
    width: 160px;
}

.s1>div>a {
    margin-top: 10px;
    color: #ffffff;
}

.inputPodskazki {
    background-color: #cbc369;
    margin: 10px;
    padding: 5px 5px 5px 10px;
    border-radius: 5px;
}


/* |||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||| */
/* + выподающие города */

.form_poisk_city {
    position: relative;
    margin: 15px;
    padding: 10px 0;
    border-radius: 5px;
    background-color: #f8f0b8;
    display: flex;
    align-items: center;
}

.poiskCityBox__listResult {
    box-shadow: 0 0 10px 0px rgba(30, 30, 30, 0.699);
}


.form_poisk_city:hover {
    background-color: rgb(253, 253, 186);
}

.form_poisk_city_vert {
    width: 100%;
    display: flex;
    flex-direction: column;
    color: currentColor;
    margin: 0 15px;
}

.form_poisk_city_ledel {
    color: rgb(160, 154, 116);
    font-size: 14px;
    font-weight: 600;
    margin-bottom: 1px;
}

.input_poisk_city {
    width: 100%;
    background-color: rgba(250, 235, 215, 0);
    border: 0;
    font-size: 20px;
    font-weight: 500;
    letter-spacing: 1px;
    padding: 0;
    color: rgb(44, 44, 37);
}

.input_poisk_city::placeholder {
    color: rgb(176, 176, 176);
}

.input_poisk_city:focus {
    border: none;
    outline: none;
}


.list_result_li:hover {
    background-color: #868255;
    color: #fffef0;
}

.poisk_city_box {
    position: relative;

}

.list_result {
    list-style: none;
    padding: 0;
    margin: 0;
    max-height: 300px;
    overflow: auto;
}

.list_result_li_v:not(.list_result_li:last-child) {
    border-bottom: 1px solid rgb(228, 228, 228);
}

.list_result_li_v {
    padding: 10px;
    font-size: 18px;
    cursor: pointer;
}

.list_result_li_v_b {
    background-color: #bfbfbf;
    padding: 10px;
    font-size: 18px;
    cursor: pointer;
    color: #fbf7cc;
}

/* ------------------------------------------------------- */
/* иконка - удалить */

.BoxSvg-delete {
    position: absolute;
    right: 10px;
    top: 50%;
    transform: translateY(-50%);
    width: 18px;
    height: 18px;
    cursor: pointer;
    z-index: 7;
    fill: #b9b58956;
    transition: 0.4s;
}

.BoxSvg-delete:hover {
    fill: #b9b589;
}

/* иконка - удалить */
/* ------------------------------------------------------- */

.poiskCityBox__listResult {
    position: absolute;
    width: calc(100% + (15px*2));
    top: 40px;
    left: -15px;
    overflow: hidden;
    z-index: 7;
    padding: 0 0 10px 0;
    background-color: rgb(255, 255, 255);
    border-radius: 5px;
}

/* выподающие города */
/* |||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||| */
/* обьявления */

.kabinet__section1 {
    margin: 0px 15px 30px;
    background-color: #f8f0b8;
    border-radius: 5px;
    padding: 15px 0px 0;
}

.kabinet__section {
    margin: 0 15px;
    background-color: #f8f0b8;
    border-radius: 5px;
    padding: 5px;
}

.kabinet__section_modSpisGor {
    margin-top: 5px;
    padding: 5px 15px;
}

.spisokGor__boxRazver {
    display: flex;
    cursor: pointer;
}

.spisokGor__boxRazver:hover {
    opacity: 0.5;
}

.spisokGor__h1 {
    font-size: 14px;
    color: #28261f;
}

.spisokGor__ul {
    display: flex;
    flex-wrap: wrap-reverse;
    list-style-type:none;
    height: 0;
    overflow: hidden;
}

.spisokGor__ul_h {
    height: auto;
}

.spisokGor__li {
    margin: 5px;
}

.banner {
    display: flex;
    border-radius: 5px;
    background-color: #fbf7cc;
    box-shadow: 0 0 10px 0px rgba(30, 30, 30, 0.146);
    overflow: hidden;
    padding: 15px;
}

.obyavleniya__banner {
    margin-top: 30px;
}

.obyavleniya__zagolovok {
    /* text-align: center; */
    margin: 0 20px;
    padding-bottom: 30px;
    font-weight: 800;
    font-size: 30px;

}

.banner__opisaniyeBox {
    display: flex;
    flex-direction: column;
    width: 100%;
}

.banner__imgBox {
    display: flex;
    justify-content: center;
    flex-shrink: 0;
    max-width: 200px;
    height: 200px;
    border-radius: 5px;
    border: 2px solid #ffffff;
    overflow: hidden;
    padding: 1px;
}

.banner__img {
   height: 100%;

}

.banner__svgFotoIcon {
    stroke: #fffffe;
}

.banner__svgRtrelkaRazvernut {
    fill: #868255;
    width: 15px;
    height: 15px;
    margin: auto 0;
    margin-left: 10px;
}

.banner__svgRtrelkaRazvernut_povorot {
    transform: rotateZ(90deg);
}

.banner__opisaniyeBox {
    margin-left: 15px;
}

.banner__dopOpisaniyeHeder {
    display: flex;
}

.banner__dopOpisaniye {
    cursor: pointer;
}

.banner__dopOpisaniyeText {
    position: relative;
    overflow: hidden;
}

.banner__dopOpisaniye_height_150px {
    height: 120px;

}

.banner__dopOpisaniyePolosa {
    position: absolute;
    bottom: 0;
    left: 0;
    /* background-color: #050505; */
    background-image: linear-gradient(to top, #fbf7cc 5%, #fbf7cc00);
    width: 100%;
    height: 100px;
    pointer-events: none;
}

.banner__vremyaZvonka,
.banner__FIO,
.banner__dopOpisaniye,
.banner__avto {
    margin: 15px 0 0 0;
}

.banner__h4 {
    margin-bottom: 3px;
}

.banner__FIO {
    display: flex;
    justify-content: space-between;
}

.banner__button {
    margin: auto 0;
}

@media screen and (max-width: 708px) {
    .banner__FIO {
        justify-content: none;
        flex-direction: column;
    }

    .banner__button {
        margin-top: 15px;
    }

    /* .obyavleniya__banner {
        transform: scalex(1.02);
    } */
}

@media screen and (max-width: 535px) {
    .banner {
        flex-direction: column;
    }

    .banner__opisaniyeBox {
        margin-top: 15px;
    }

    .banner__imgBox {
        margin: 0 auto;
    }

    .banner__opisaniyeBox {
        margin-left: 0;
    }

    .obyavleniya__zagolovok {
        font-weight: 800;
        font-size: 24px;
    }

}

/* обьявления */
/* |||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||| */
/* полоса аккаунта */

.statusAkkaunt {
    /* запрет на выделения текста */
    user-select: none;
    display: flex;
    align-items: center;
    justify-content: space-between;
    margin: 50px 15px 0;
    background-color: #28261f;
    border-radius: 5px;
    padding: 15px;
}

.statusAkkaunt__boxAvatarLogin {
    display: flex;
    align-items: center;
    cursor: pointer;
}

.statusAkkaunt__regVkhText {
    margin-left: 5px;
    color: #f8f0b8;
}

.statusAkkaunt__svgAvatar {
    width: 40px;
    height: 40px;
    fill: #f8f0b8;
}

.statusAkkaunt__boxNikname {
    position: relative;
    margin-left: 5px auto;
}

.statusAkkaunt__statusText {
    position: absolute;
    color: #95906d;
    width: 100%;
    top: -15px;
    left: 0;
    font-size: 9px;
    text-align: center;

}

.statusAkkaunt_nikname,
.statusAkkaunt__registratsiyaText,
.statusAkkaunt__vkhodText {
    color: #f8f0b8;
}

.statusAkkaunt__registratsiyaText,
.statusAkkaunt__vkhodText {
    text-decoration: none;
}

.statusAkkaunt__registratsiyaText,
.statusAkkaunt__vkhodText {
    font-weight: 600;
}

.statusAkkaunt__registratsiyaText:hover,
.statusAkkaunt__vkhodText:hover {
    cursor: pointer;
    text-shadow: 0 0 15px #f8f0b8;
}

.statusAkkaunt__registratsiyaText:active,
.statusAkkaunt__vkhodText:active {
    font-size: 15.3px;
    text-shadow: 0 0 15px #f8f0b8;
}

.boxNikname__txtInfo {
    color: #ffcc00;
    font-size: 11px;
    text-align: center;
}


@media screen and (max-width: 470px) {
    .statusAkkaunt {
        /* justify-content: center; */
        flex-direction: column;
        padding: 20px 15px;
    }

    .statusAkkaunt__regVkhText {
        margin-top: 15px;
    }
}


/* полоса аккаунта */
/* |||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||| */

@media screen and (max-width: 785px) and (min-width: 667px) {
    .limenu_planshet {
        display: block;
    }

    .mtnu_planshet {
        display: none;
        position: absolute;
        top: 20px;
        right: 0px;
        background-color: #ffcc00;
        padding: 10px 0 10px 10px;

    }

    .limenu {
        padding: 5px;
    }

    .limenu_planshet:hover~.mtnu_planshet {
        display: block;
    }

    .mtnu_planshet:hover {
        display: block;
    }
}

@media screen and (max-width: 666px) {
    .limenu {
        display: block;
    }

    .limenu_planshet {
        display: none;
    }

    [for="menu-hamburger"] {
        display: block;
        display: flex;
        justify-content: center;
        align-items: center;
        font-size: 2em;
        padding: 1px 10px;
        border: #000000 solid 3px;
        border-radius: 5px;
        cursor: pointer;
        width: 45px;
        height: 45px;
    }

    [for="menu-hamburger"]::before {
        content: "≡";
    }

    .site_menu {
        display: none;
        position: absolute;
        top: 0;
        left: 0;
        right: 15vh;
        background-color: #ffcc00;
        height: 100vh;
        font-size: 2em;
        min-width: 240px;
        padding-left: 15px;
    }

    .site_menu>div:not(.mtnu_planshet) {
        padding-top: 20px;
    }

    .mtnu_planshet>div {
        padding-top: 20px;
    }

    .site_menu svg {
        width: 30px;
    }

    .site_menu li {
        display: block;
        padding: 5px;
        margin: 10px;
    }

    .mtnu_planshet {
        display: block;
    }

    .menu :checked~.site_menu {
        display: block;
    }

    .menu :checked~[for="menu-hamburger"]::before {
        content: "X";
    }
}

.display_none {
    display: none;
    /* скрывает но место остаётся */
    visibility: hidden;
    /* для того чтобы убрать место */
    position: absolute;
    /* выключает взаимодействие с элементом, взаимодействие через элемент */
    pointer-events: none;
}