/*             heraxos          */

@media screen and (max-width: 479.98px) {

    @font-face {
        font-family: 'belligo';
        src: url('../fonts/Belligo.ttf');
    }

    @font-face {
        font-family: 'artsakh';
        src: url('../fonts/Artsakh.ttf');
    }

    @font-face {
        font-family: 'grqi';
        src: url('../fonts/Grqi.ttf');
    }

    @font-face {
        font-family: 'vernatun';
        src: url('../fonts/Vernatun.ttf');
    }

    .content {
        margin: 0 7px;
    }

    .center_buttom_img{
        position: absolute;
        font-size: 10px;
        bottom: -4%;
        left: 50%;
        transform: translate(-50%, -50%);
        color: #fff;
        padding: 5px 95%;
        border-radius: 5px;
        background-color: #184059;
    }

        /* SCROL BAR */
        .inline{
            margin-top: 6px;
        }

        .inline-item {
            display: inline-block;
            vertical-align: middle;
            overflow: hidden;
            margin: 5px;
            width: 210px;
            height: 320px;
            border-radius: 10px; 
        }
    
        .scrol_bar{
            overflow-x: auto;
            /* scrollbar-width: thin; */
            /* width: auto; */
            padding-bottom: 7px;
            height: auto;
            white-space: nowrap;
        }
    
        .scrol_bar::-webkit-scrollbar {
            width: 20px;
            height: 8px;
        }
          
        .scrol_bar::-webkit-scrollbar-track {
            /* -webkit-box-shadow: 5px 5px 5px -5px rgba(34, 60, 80, 0.2) inset; */
            background-color: #F2F2F2;
            border-radius: 8px;
        }
          
        .scrol_bar::-webkit-scrollbar-thumb {
            border-radius: 8px;
            background: linear-gradient(180deg, #84B9BF, #84B9BF);
        }
    
        .item {
            width: auto;
        }
    
        .inline-container {
            vertical-align: middle;
            overflow-x: scroll; 
        }
    
        .inline-item {
            display: inline-block;
            vertical-align: middle;
            overflow: hidden;
            margin: 5px;
            width: 120px;
            height: 230px;
            border-radius: 10px; 
        }

        .image-container{
            display: flex;
            justify-content: center;
            align-items: center;
        }

        .image-container img{
            width: auto;
            height: 230px;
        }
        /* SCROL BAR END */

    .bg_h {
        position: fixed;
        z-index: 10;
        top: 0;
        height: 58px;
        width: 100%;
        background: #F2F2F2;
    }

    .cat_menu {
        max-height: 330px;
        width: 300px;
        padding: 7px;
        font-size: 18px;
        color: #184059;
        margin: 40px 0 0 25px;
        overflow: hidden;
        vertical-align: middle;
        overflow-y: auto;
        direction: rtl; /* Изменение направления потока */
        text-align: left; /* Вернуть текст на левую сторону */
    }
    
    .cat_menu > * {
        direction: ltr; /* Сохранение направления текста */
    }
    
    .cat_menu::-webkit-scrollbar {
        width: 12px;
        height: 7px;
        direction: ltr; /* Применение направления для скроллбара */
    }
    
    .cat_menu::-webkit-scrollbar-track {
        background-color: #F2F2F2;
        border-radius: 10px;
    }
    
    .cat_menu::-webkit-scrollbar-thumb {
        border-radius: 10px;
        background: linear-gradient(180deg, #84B9BF, #84B9BF);
    }    

    .cat_menu a{
        display: block;
        color: #184059;
        font-weight: 700;
        text-transform: uppercase;
        font-family: sans-serif;
        margin: 15px;
        letter-spacing: 1.5px;
    }

    .cat_menu a:hover {
        color: #84B9BF;
    }

    .houm_post_hr{
        margin-top: 25px;
        padding: 30px 0 15px 0;
        border-top: 2px solid #184059;
    }

    .a_title {
        font-size: 22px;
        color: #184059;
        font-family: vernatun;
        /* font-weight: 900; */
        letter-spacing: 1px;
        padding-top: 30px;
    }

    .a_title:hover {
        color: #84B9BF;
    }

    /* SEARCH ........................................................ */
    .search__form {
        position: absolute;
        width: 80%;
        height: 52px;
        margin-left: auto;
        margin-right: auto;
        left: 0;
        right: 0;
        top: 30%;
        background: #84B9BF;
    }

    .search__form input{
        width: calc(100% - 80px);
        margin: 11px;
        padding-left: 20px;
        height: 40px;
        background: #84B9BF;
        border: 1px solid #84B9BF;
        /* color: #F2F2F2; */
        font-size: 18px;
    }

    .search__form button{
        background: #84B9BF;
        border: 1px solid #84B9BF;
    }

    .search__form i {
        color: #D7D9D8;
        font-size: 18px;
    }
    /* SEARCH END........................................................ */

    .margin_head {
        margin: 30px 15px 15px 15px;
    }

    .title {
        font-size: 22px;
        color: #184059;
        font-family: grqi;
        /* font-weight: 900; */
        letter-spacing: 1px;
        padding-top: 20px;
    }

    .overlay {
        height: 100%;
        width: 0;
        position: fixed;
        z-index: 1;
        top: 58px;
        right: -2px;
        background-color: #D7D9D8;
        border-left: 2px solid #593325;
        overflow-x: hidden;
        transition: 1s;
    }

    .add_event {
        margin: 30px 15px;
        text-align: center;
    }

    .add_event a {
        display: inline-block;
        width: 100%;
        font-size: 18px;
        font-weight: 700;
        padding: 10px 0;
        color: #365949;
        border: 1px solid #593325;
    }

    .add_event a:hover {
        color: #fff;
        background-color: #365949;
    }

    /* post */

    .post_date span{
        font-size: 12px;
    }

    .post_d_amis {
        color: #593325;
        margin: 15px 0;
        font-size: 18px;
        font-weight: 700;
    }

    .post_d_or {
        color: #593325;
        font-size: 60px;
        font-weight: 700;
    }

    .post_img {
        margin: 0 auto;
        width: 95%;
    }

    /* LRAHOS */
    .lrahos{
        text-align: left;
        display: inline-block;
        vertical-align: middle;
        overflow: hidden;
        padding: 0 15px;
        margin-bottom: 30px;
        width: 95%;
        height: 400px;
        /* border-left: 1px solid #84B9BF;  */
        overflow-y: auto;
    }

    .lrahos div{
        padding: 15px 0;
        border-top: 1px solid #84B9BF;
    }

    .lrahos_planshet{
        display: none;
    }

    .lrahos::-webkit-scrollbar {
        width: 12px;
        height: 8px;
    }
      
    .lrahos::-webkit-scrollbar-track {
        /* -webkit-box-shadow: 5px 5px 5px -5px rgba(34, 60, 80, 0.2) inset; */
        background-color: #F2F2F2;
        border-radius: 10px;
    }
      
    .lrahos::-webkit-scrollbar-thumb {
        border-radius: 10px;
        background: linear-gradient(180deg, #84B9BF, #84B9BF);
    }
    /* LRAHOS END */

    .block_non_sm {
        display: none;
    }

    .p_post {
        margin: 20px 10px;
        font-family: sans-serif;
        font-size: 14px;
        line-height: 25px;
        letter-spacing: .5px;
        white-space: pre-wrap;
    }

    .video-container {
        position: relative;
        padding-top: 56.25%; /* Соотношение сторон 16:9 (9 / 16 = 0.5625 * 100 = 56.25) */
        margin: 15px;
    }

    .p_video {
        position: absolute;
        top: 0;
        left: 0;
        width: 100%;
        height: 100%;
        border: none;
    }

    .date_l{
        color:#84B9BF;
        padding: 0 0 5px 10px;
        font-size: 13px;
        font-weight: 700;
    }

    .top_post{
        font-size: 16px;
        text-align: left;
    }

    .top_post_sm{
        font-size: 16px;
        text-align: left;
    }

    .top_img {
        width: 100%;
    }

    .p_h1 {
        font-size: 22px;
        line-height: 30px;
        font-weight: 900;
        padding: 10px 0;
        margin: 10px;
        font-family: sans-serif;
        letter-spacing: .5px;
        color: #184059;
    }

    .post_soc svg {
        width: 14px;
        height: 14px;
        text-align: center;
        border: 1px solid #737373;
        border-radius: 7px;
        fill: #737373;
        /* border-radius: 50%; */
        padding: 5px;
        margin: 5px;
        cursor: pointer;
        transition: background-color 0.3s, fill 0.3s; /* Плавный переход для эффектов */
    }

    .post_soc svg:hover{
        fill: #fff;
        background-color: #737373;
    }

    .center_sm {
        text-align: center;
    }

    .right_sm {
        float: right;
    }

    .col_sm {
        margin: 0 10px;
        float: left;
    }

    .col_1_sm {
        width: calc(8.33% - 30px);
    }

    .col_2_sm {
        width: calc(16.66% - 30px);
    }

    .col_3_sm {
        width: calc(25%);
    }

    .col_4_sm {
        width: calc(33.33% - 20px);
    }

    .col_5_sm {
        width: calc(41.66% - 30px);
    }

    .col_6_sm {
        width: calc(50% - 30px);
    }

    .col_7_sm {
        width: calc(58.33% - 30px);
    }

    .col_8_sm {
        width: calc(66.66% - 30px);
    }

    .col_9_sm {
        width: calc(75%);
    }

    .col_10_sm {
        width: calc(83.33% - 30px);
    }

    .col_11_sm {
        width: calc(91.66% - 30px);
    }

    .col_12_sm {
        width: calc(100% - 30px);
    }

    .col_offset_1 {
        margin-left: calc(8.33% + 15px);
    }

    .col_offset_2 {
        margin-left: calc(16.66% + 15px);
    }

    .col_offset_3 {
        margin-left: calc(25% + 15px);
    }

    .col_offset_4 {
        margin-left: calc(33.33% + 15px);
    }

    .col_offset_5 {
        margin-left: calc(41.66% + 15px);
    }

    .col_offset_6 {
        margin-left: calc(50% + 15px);
    }

    .col_offset_7 {
        margin-left: calc(58.33% + 15px);
    }

    .col_offset_8 {
        margin-left: calc(66.66% + 15px);
    }

    .col_offset_9 {
        margin-left: calc(75% + 15px);
    }

    .col_offset_10 {
        margin-left: calc(83.33% + 15px);
    }

    .col_offset_11 {
        margin-left: calc(91.66% + 15px);
    }

    .col_offset_12 {
        margin-left: calc(100% + 15px);
    }

    /* NAV BAR */
    .padding_nav {
        position: sticky;
        top: 0;
        padding-top: 58px;
        z-index: 4;
    }

    .menu {
        position: fixed;
        z-index: 4;
        height: 58px;
        width: 100%;
        top: 0;
    }

    .search__btn svg{
        position: fixed;
        stroke: #184059;
        stroke-width: 1;
        right: 30px;
        top: 15px;
        fill: #184059;
        /* font-size: 26px; */
        cursor: pointer;
        z-index: 10;
    }

    .home_title {
        position: fixed;
        left: 50%;
        font-family: belligo;
        transform: translate(-50%, 0);
        top: 3px;
        color: #184059;
        font-size: 24px;
        font-weight: 600;
        letter-spacing: 1.5px;
        z-index: 10;
        cursor: pointer;
    }
    /* NAV BAR END */

    /* MENU  */
    #menu__toggle {
        position: absolute;
        top: 0;
        opacity: 0;
    }

    #menu__toggle:checked ~ .menu__btn > span {
        transform: rotate(45deg);
    }

    #menu__toggle:checked ~ .menu__btn > span::before {
        top: 0;
        transform: rotate(0);
    }

    #menu__toggle:checked ~ .menu__btn > span::after {
        top: 0;
        transform: rotate(90deg);
    }

    #menu__toggle:checked ~ .menu__box {
        visibility: visible;
        right: 0;
    }

    .menu__btn {
        position: fixed;
        left: 30px;
        top: 30px;
        width: 28px;
        height: 17px;
        cursor: pointer;
        z-index: 10;
    }

    .menu__btn > span,
    .menu__btn > span::before,
    .menu__btn > span::after {
        display: block;
        position: absolute;
        width: 100%;
        height: 4px;
        background-color: #184059;
        transition-duration: .25s;
    }

    .menu__btn > span::before {
        content: '';
        top: -8px;
    }

    .menu__btn > span::after {
        content: '';
        top: 8px;
    }

    .menu__box {
        display: block;
        position: fixed;
        visibility: visible;
        top: 0;
        right: 100%;
        width: 100%;
        height: 100%;
        padding: 70px 0;
        list-style: none;
        background: #F2F2F2;
        border-right: 2px solid #593325;
        transition-duration: 1s;
    }

    .menu_block {
        height: 100%;
        border-top: 2px solid #184059;
    }

    .menu_block svg{
        width: 32px;
        height: 32px;
        margin-left: 15px;
        fill: #184059;
    }

    .menu_footer {
        margin-top: 50px;
    }

    .cat_post{
        padding: 15px 0;
        border-bottom: 2px solid #184059;
    }

    .cat_post img{
        width: 95%;
    }

    .cat_post a{
       color: #184059;
    }

    .cat_post a:hover{
        color: #84B9BF;
     }

    .cat_post span, i{
        font-size: 12px;
        color: #737373;
     }

     .logo_text{
        display: inline;
        color: #184059;
        margin: 10px 20px 10px 30px;
        font-family: belligo;
        font-size: 122px;
    }

    .footer {
        padding: 15px 0;
        border-top: 2px solid #184059;
    }

    .footer svg{
        width: 22px;
        height: 22px;
        margin-left: 7px;
        fill: #184059;
    }

    .footer span{
        color: #184059;
        font-size: 28px;
        font-family: belligo;
        margin: 0 30px;
    }

    /*.menu__item {*/
    /*    display: block;*/
    /*    padding: 12px 24px;*/
    /*    color: #fff;*/
    /*    font-family: 'Roboto', sans-serif;*/
    /*    font-size: 20px;*/
    /*    font-weight: 600;*/
    /*    text-decoration: none;*/
    /*    transition-duration: .25s;*/
    /*}*/

    /*.menu__item:hover {*/
    /*    color: #dea115;*/
    /*}*/

    /*.menu_img img {*/
    /*    width: 350px;*/
    /*    margin-left: 200px;*/
    /*    border-radius: 7px;*/
    /*}*/
}