
* {
    padding: 0;
    margin: 0;
    font-family: 'Open Sans', sans-serif;
}

/* =Menu
-------------------------------------------------------------- */

#main_menu {
    clear: both;
    width: 100%;
    text-align: center;
    font-size: 11pt;
    height: auto;
    overflow: hidden;
    background: #D2E3FB;
    border: 1px solid #bce2ff;
    border-bottom: none;
    border-radius: 4px 4px 0 0;
    -moz-border-radius: 4px 4px 0 0;
    -webkit-border-radius: 4px 4px 0 0;
    display: flex;
    align-items: center;
    position: relative;
    justify-content: center;
    gap: 40px;
}
.social-item-header a {
    padding: 0 !important;
}
.social-menu-new {
    display: flex;
    gap: 10px;
}
#main_menu ul {
    clear: both;
    margin: 0;
    padding: 0px;
}

#main_menu ul li {
    display: inline-block;
    list-style: none;
}

#main_menu a {
    color: #3b7ba3;
    padding: 19px;
    text-decoration: none;
    display: block;
}

#main_menu .sub-menu {
    display: none;
    position: absolute;
    margin: 0;
    padding: 10px !important;
    border-radius: 0 0 0 0;
    -moz-border-radius: 0 0 0 0;
    -webkit-border-radius: 0 0 0 0;
    z-index: 999999;
}

#main_menu ul li:hover .sub-menu {
    display: block;
    clear: both;
    position: absolute;
    background: #bbc9de;
}

#main_menu .sub-menu li {
    clear: both;
    float: left;
}

#main_menu .sub-menu li a {
    display: block;
    padding: 10px 0 10px 0;
}

#main_menu a:hover {
    text-decoration: underline;
}

#radio-vera-player {
    width: 206px;
    position: relative;
    bottom: 77px;
    right: 0;
}

.radio-vera {
    float: right;
    position: absolute;
    right: 0;
}

.title-side-radio {
    float: left;
    margin: -63px 0px 0px -106px;
    font-size: 18px;
}

.rejim-sl {
    -webkit-transform: rotate(-90deg);
/ / Chrome, Safari -moz-transform: rotate(- 90 deg);
/ / Firefox -o-transform: rotate(- 90 deg);
/ / Opera -ms-transform: rotate(- 90 deg);
/ / IE transform: rotate(- 90 deg);
/ / �������� ��� ��������� font-size: 20 px;
    top: 50%;
    left: -8%;
    bottom: 50%;
    position: fixed;
    font-size: 20px;
    background: black;
}

.rejim-sl a {
    background: black;
    padding: 6px;
    color: #fff;
}

.rejim-sl a:hover {
    color: #D2E3FB;
    text-decoration: none;
}

.partners img {
    max-width: 380px;
}

.partners {
    width: 100%;
    height: auto;
    overflow: hidden;
    text-align: center;
    padding-top: 69px;
    padding-bottom: 20px;
}

.partners ul {
    padding: 0;
    margin: 0;
}

.partners ul li {
    display: inline-block;
    margin-left: 20px;
    padding: 10px;
}

.sst {
    color: darkgrey;
}

.fa-facebook {
    color: #2847bb;
}

.fa-twitter {
    color: #1b95e0;
}

.fa-vk {
    color: #1a7ed6;
}

.fa-instagram {
    color: #0d2e79;
}

.sub-news-container {
    background: #fff !important;
}

.sub-new-container {
    padding-left: 0px !important;
    background-color: #fbfbfb !important;
}

.newsslider-pager {
    display: none;
}

header {
    width: 100%;
    height: 100%;
    overflow: hidden;
    text-align: center;
    background: rgba(42, 122, 233, 0.21);
}

.logo {
    text-align: center;
}

.name-site {
    font-size: 36px;
}

.name-site a {
    text-decoration: none;
    color: #3b7ba3;
    font-family: CyrilicOld;
}

.desc-site {
    font-family: CyrilicOld;
    color: #707070;
}

main {
    width: 100%;
    height: 100%;
    overflow: hidden;
}

.slider {
    width: 100%;
    height: auto;
    overflow: hidden;
}

.mwrap {
    width: 80%;
    height: 100%;
    overflow: hidden;
    margin: 0 auto;
    padding-bottom: 60px;
}

.wrap-main-ct {
    width: 100%;
    height: 100%;
    overflow: hidden;
    background: rgba(42, 122, 233, 0.21);
}

.title-ct {
    padding: 20px 0;
}

.title-ct-single {
    padding: 20px 0px 8px 0px;
}

.title-ct a {
    text-decoration: none;
    color: #3b7ba3;
    font-family: CyrilicOld;
}

.title-post-big a, .title-post-big {
    color: #000;
}

.date-post-big {
    color: #7A7A7A;
    font-size: 12px;
}

.open-all {
    float: right;
    font-family: Arial !important;
    font-size: 12px;
    margin: -25px 11px 0px 0px;
}

.post-bg {
    width: 239px;
    height: auto;
    overflow: hidden;
    float: left;
    margin: 0 7px;
}

.post-bg:first-child {
    margin: 0 0px;
}

.img-post {
    width: 239px;
    max-height: 239px;
    text-align: center;
}

.img-post img {
    background-position: center;
    width: 239px;
    max-height: 140px;
}

.l-b-xram {
    float: left;
}

.two-colluns-bg {
    width: 80%;
    height: auto;
    margin: 0 auto;
}


.right-collun {
    float: right;
    width: 23%;
    height: 100%;
}

.news-container {
    width: 100%;
    height: auto;
    overflow: hidden;
}

.news-container-v {
    margin-top: 40px;
}

.news-img {
    width: 45% !important;
}

.news-img img {
    width: 146px;
    height: auto;
}

.post-container {
    float: left;
    width: 280px;
    margin: 0 7px;
    background-color: #d2e3fa;
    padding: 10px;
    min-height: 350px;
    border-radius: 8px;
}

.img-post-c {
    width: 280px;
    max-height: 280px;
    text-align: center;
}

.img-post-c img {
    background-position: center;
    width: 280px;
    max-height: 190px;
}

.title-p-c a {
    color: #000;
}

.block-r {
    width: 295px;
    height: auto;
    float: left;
}

.block-r li {
    margin-top: 10px;
    list-style-type: none;
    font-size: 14px;
}

.block-r li:first-child {
    margin-top: 0;
    color: #326d92;
}

.block-r li a {
    color: #000;
}

.rejim-s {
    margin-top: 40px;
    overflow: hidden;
    text-align: center;
}

.rejim-s a {
    background: #ebf3ff;
    color: #3b7ba3;
    text-decoration: none;
    padding: 14px 20px 14px 20px;
    display: block;
}

.block-sidebar {
    padding: 10px;
    background: rgba(42, 122, 233, 0.21);
    border-radius: 6px;

}

.title-side {
    text-align: center;
    font-size: 20px;
    color: #3b7ba3;
}

.content-side {
    padding-top: 36px;
}

.content-single {
    line-height: 28px;
    font-size: 16px;
}
.content-single p {
    padding: 6px 0;
}
.xram-page-post {
    width: 100%;
    height: auto;
    overflow: hidden;
}

.img-xram-page img {
    width: 380px;
    height: auto;
}

.l-r-xram {
    float: left;
    width: 414px;
    height: auto;
    padding-left: 18px;
}

.title-xram-page {
    font-size: 20px;
}

.title-xram-page a {
    color: #000;
}

footer {
    width: 100%;
    height: auto;
    overflow: hidden;
}

.line-footer {
    width: 100%;
    height: 12px;
    background-image: url("../img/module_bg.jpg");
    margin-top: 40px;
}

.footer-wrap {
    width: 80%;
    height: auto;
    margin: 0 auto;
}

.text-c {
    padding-top: 20px;
    padding-bottom: 20px;
    font-size: 14px;
    color: darkgrey;
    line-height: 24px;
    float: left;
}

.social {
    float: right;
    font-size: 33px;
    margin: 20px 4px 0px 0px;
}

.social img {
    width: 32px;
}

.social-up {
    float: right;
    margin-left: 17px;
}

.social-header {
    text-align: center;
}

.social-header ul {
    padding: 0;
    margin: 0;
}

.social-header ul li {
    display: inline-block;
    margin-left: 20px;
}

.social-header ul li img {
    width: 29px;
}

.soc-up img {
    width: 32px;
}

.news-title h4 {
    font-size: 14px;
}

.ico-kalendar {
    text-align: center;
}

.img-post-single {
    width: 96%;
}

.img-post-single img {
    width: 96%;
    height: auto;
}

.img-sobor {
    float: left;
    padding: 10px;
    border: 1px solid #657ba3;
}

.info-top-post {
    float: left;
    width: 70%;
    margin-left: 25px;
    font-size: 15px;
    background: #d2e3fb;
    padding: 10px;
}

.wrap-s {
    width: 80%;
    height: auto;
    margin: 0 auto;
    padding: 30px 0;
}

.head-img {
    height: 350px;
    width: 100%;
    background: url('http://goragospodnya.ru/wp-content/themes/goragospodnya/img/img-head.png');
    background-repeat: no-repeat;
    background-position-y: -2px !important;
    background-position: left;
}

.wrap-head-img {
    width: 80%;
    height: auto;
    overflow: hidden;
    margin: 0 auto;
}

.block-right {
    float: left;
    margin: 10px 0px 0px 0px;
}

.desc-4 {
    font-size: 15px;
    color: #d8d8d8;
    margin-top: 13px;
}

.logo-4 {
    background: #d2e3fb;
}

.search {
    margin-top: 13px;
}

.search-g {
    width: 70%;
    border: none;
    padding: 4px;
}

.search-b {
    border: none;
    padding: 4px;
    background: #d2e3fb;
    width: 29%;
}

.tagcloud {
    font-size: 12px;
    color: #989898;
}

.two-blocks-link {
    width: 100%;
    overflow: hidden;
}

.block-tbl {
    width: 48%;
    height: auto;
    margin-top: 40px;
    margin-left: 4%;
    float: left;
}

.block-tbl:first-child {
    margin-left: 0;
}

.soc-up {
    float: right;
    font-size: 20px;
    font-family: serif;
}

.sidebar-block-body a {
    padding: 2px;
    border: 1px solid #3b8bc1;
    margin-top: 6px;
    display: inline-block;
}

.social-liner {
    width: 100%;
    height: auto;
    overflow: hidden;
    background: #d2e3fb;
}

.wrap-center {
    width: 900px;
    height: auto;
    overflow: hidden;
    margin: 0 auto;
}

.social-bf {
    padding-left: 39px;
    overflow: hidden;
    float: left;
}

.wapp-social-liner {
    width: 80%;
    height: auto;
    margin: 0 auto;
    overflow: hidden;
}

.name-i {
    float: left;
    padding: 23px 3px 23px 0px;
}

.name-s {
    float: left;
    margin: 34px 12px 0px 13px;
}

.p-m, .v-m {
    float: left;
    width: 100%;
    height: auto;
    overflow: hidden;
}

.fix-media {
    height: auto;
}

.breadcrumbs {
    width: 90%;
    height: auto;
    margin: 0 auto;
    font-size: 14px;
    color: #5a5a5a;
    background: white;
    padding: 4px;
}

.breadcrumbs a {
    color: #bfbfbf;
    text-decoration: none;
}

.tagcloud a {
    border: 1px solid #5083bb;
    padding: 4px;
    margin-top: 4px;
    display: inline-block;
}

.open-all-news-slider {
    width: 80%;
    height: auto;
    margin: 0 auto;
    padding-bottom: 20px;
    overflow: hidden;
}

.open-all-news-slider a {
    float: right;
    color: #3b7ba3;
}

@media screen and (max-width: 1500px) {
    .post-bg {
        width: 213px;
    }

    .img-post {
        width: 213px;
    }

    .img-post img {
        width: 213px;
    }

    .block-r {
        width: 264px;
    }

    .post-container {
        width: 251px;
    }

    .img-post-c {
        width: 251px;
        max-width: 251px;
    }

    .img-post-c img {
        width: 251px;
    }

    .info-top-post {
        width: 65%;
    }
}

/*@media screen and (max-width: 1920px)  {*/
/*.post-bg{width: 290px ;}*/
/*.post-container { width: 341px ;}*/
/*.title-p-c a { color: #000;  font-size: 17px;}*/
/*.title-p-c {width: 305px;}*/
/*.block-r {width: 355px;}*/
/*.open-all {margin: 19px 70px 0px 4px;}*/
/*.menu-head ul li a {  padding: 10px 22px 20px 22px;  font-size: 16px;}*/
/*}*/

@media screen and (max-width: 1366px) {
    .post-bg {
        width: 200px
    }

    .wrap-head-img {
        width: 94%;
    }

    .post-container {
        width: 237px
    }

    .img-post-c {
        width: 231px;
        max-width: 231px;
    }

    .img-post-c img {
        width: 231px;
    }

    .title-p-c {
        width: 230px;
    }

    .title-p-c a {
        font-size: 14px;
    }

    .block-r {
        width: 251px;
    }

    .news-img img {
        width: 150px;
        height: 100px;
    }

    .news-title h4 {
        font-size: 14px;
    }

    .block-right {
        margin: 1px 0px 0px 0px;
    }

    .text-c {
        padding-bottom: 55px;
    }

    .info-top-post {
        width: 65%;
    }

    .rejim-sl {
        -webkit-transform: rotate(-90deg);
    / / Chrome, Safari -moz-transform: rotate(- 90 deg);
    / / Firefox -o-transform: rotate(- 90 deg);
    / / Opera -ms-transform: rotate(- 90 deg);
    / / IE transform: rotate(- 90 deg);
    / / �������� ��� ��������� font-size: 20 px;
        top: 50%;
        left: -11%;
        bottom: 50%;
        position: fixed;
        font-size: 20px;
        background: black;
    }

    .radio-vera {
        float: right;
        position: absolute;
        right: -151px;
    }

    #main_menu ul li {
        display: inline-block;
        list-style: none;
        padding: 0 10px;
        font-size: 13px;
    }

    #main_menu {
        clear: both;
        width: 87%;
        text-align: center;
        font-size: 6pt;
        position: relative;
        height: 65px;
        padding: 21px 0px 14px 0;
        overflow: hidden;
        background: #D2E3FB;
        /* border: 1px solid #bce2ff; */
        border-bottom: none;
        border-radius: 4px 4px 0 0;
        -moz-border-radius: 4px 4px 0 0;
        -webkit-border-radius: 4px 4px 0 0;

    }

    .l-r-xram {
        width: 370px;
    }
}

.korpus > div, .korpus > input {
    display: none;
}

.korpus label {
    padding: 5px;
    border: 1px solid #a3b9d6;
    line-height: 28px;
    cursor: pointer;
    position: relative;
    bottom: 1px;
    background: #d2e3fa;
}

.korpus input[type="radio"]:checked + label {
    border-bottom: 2px solid #fff;
}

.korpus > input:nth-of-type(1):checked ~ div:nth-of-type(1),
.korpus > input:nth-of-type(2):checked ~ div:nth-of-type(2),
.korpus > input:nth-of-type(3):checked ~ div:nth-of-type(3) {
    display: block;
    padding: 5px;
    border: 1px solid #a3b9d6;
}

.korpus p {
    display: none;
}

.rss-z a {
    font-size: 20px;
    display: block;
    padding-top: 10px;
    padding-bottom: 3px;
}

#raz { /* корпус */
    position: relative;
    height: 250px;
    border-top: 30px solid #fff;
}

#raz > div { /* вкладка */
    position: absolute;
    z-index: 1;
    height: 100%;
    width: 100%;
    visibility: collapse;
    transition: 0s 9999999s;
    box-sizing: border-box;
    background: #fff;
    padding: 5px;
}

#raz > div:before { /* рамка вкладки */
    content: "";
    position: absolute;
    z-index: -1;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    border: #808080 solid 1px;
    border-top: none;
}

#raz > div:hover, #raz > div:nth-of-type(1) {
    visibility: visible;
    transition: 0s;
}

#raz:hover > div:not(:hover) {
    visibility: hidden;
    transition: 0s;
}

#raz > div > span { /* кнопка */
    position: absolute;
    top: -30px;
    line-height: 30px;
    height: 30px;
    width: 25%; /* 4 вкладки, а значит 100/4 */
    text-align: center;
    box-sizing: border-box;
    border: 1px solid rgb(128, 128, 128);
    border-left-color: rgba(0, 0, 0, 0);
    visibility: visible;
    transition: 0s 9999999s;
    cursor: pointer;
}

#raz > div:nth-of-type(1) > span {
    left: 0;
    border-left-color: rgb(128, 128, 128);
}

#raz > div:nth-of-type(2) > span {
    left: 25%;
}

#raz > div:nth-of-type(3) > span {
    left: 50%;
}

#raz > div:nth-of-type(4) > span {
    left: 75%;
}

#raz > div:hover > span, #raz > div:nth-of-type(1) > span {
    border-bottom-color: rgba(0, 0, 0, 0);
    transition: 0s;
}

#raz:hover > div:not(:hover) > span {
    border-bottom-color: rgba(128, 128, 128, .99);
    transition: 0s;
}

#raz > div:not(:nth-of-type(1)):not(:hover):after { /* появляется нижняя граница у первой кнопки */
    content: "";
    left: 0;
    position: absolute;
    top: -1px;
    width: 25%;
    border-top: 1px solid rgb(128, 128, 128);
}

.mobile-rss {
    display: none;
}

#responsive-menu-button {
    display: none !important;
}


/* mobile */
@media screen and (max-width: 768px) {
    .radio-vera {
        display: none;
    }

    .grid-template-news-list {
        flex-direction: column;
    }
    .img-news-list {
        display: none;
    }
    .title-news-add-list h2 {
    font-size: 15px;
    line-height: 19px;
}
.desc-add-news-list {
    font-size: 12px;
    margin-top: 10px;
}
    .right-block-news-list-telo {
    padding: 10px !important;
}
    .rejim-sl {
        display: none;
    }

    #main_menu {
        width: 100%;
        height: auto;
        padding: 0px 0px 23px 0;
    }

    #main_menu {
        display: none;
    }

    .wrap-s {
        width: 100%;
        height: auto;
        margin: 0 auto;
        padding: 0;
    }

    .title-ct h3 {
        font-size: 14px;
    }

    .open-all {
        font-size: 10px;
    }

    button#responsive-menu-button {

        background: #0000 !important;
    }

    #responsive-menu-button {
        display: inherit !important;
    }

    .responsive-menu-inner, .responsive-menu-inner::before, .responsive-menu-inner::after {

        background-color: #274165 !important;

    }

    .l-r-xram {
        width: 100%;
        padding-left: 0;
    }

    .pc-rss {
        display: none;
    }

    .mobile-rss {
        display: inherit;
    }

    .search-g {
        width: 60%;
    }

    #main_menu ul li {
        display: block;
        list-style: none;
        padding: 0px 0px;
        font-size: 20px;
        margin-top: 20px;
    }

    .block-right {
        width: 100%;
    }

    .wrap-head-img {
        width: 100%;
        text-align: center;
    }

    .post-bg {
        width: 100%;
        margin-bottom: 20px;
    }

    .img-post img {
        width: 100%;
    }

    .left-collun {
        float: left;
        width: 100%;
        height: 100%;
    }

    .right-collun {
        float: right;
        width: 100%;
        height: 100%;
    }

    .rss-z a {
        font-size: 13px;
    }

    .youtube-player {
        width: 100%;
    }

    .head-img {
        height: 370px;
        width: 100%;
        background: #517cdc;
        background-position-y: -2px !important;
        background-position: center;
    }

    .partners, .photo-side, .tag-side {
        display: none;
    }

    .wrap-center {
        width: 100%;
        height: auto;
        overflow: hidden;
        margin: 0 auto;
    }

    .social-bf {
        padding-left: 0;
        overflow: hidden;
        float: none;
        width: 60%;
        margin: 0 auto;
    }

    .content-single img {
        width: 100%;
        height: auto;
    }

}

.flex-block-much {
    display: grid;
    grid-template-columns: 1fr 1fr;
    align-items: center;
    justify-content: center;
    gap: 40px;
}

.block-much {
    width: 458px;
    border-bottom: 2px solid #000;
    padding-bottom: 20px;
}

.title-block-much a {
    color: #000;
    font-size: 17px;
    font-weight: 700;
    text-decoration: none;;
}

.title-block-much {
    width: 90%;
    text-align: center;
    margin: 0 auto;
}


body {
    margin: 0;
    font-family: Arial, sans-serif;
}

.slider-container {
    position: relative;
    width: 100%;
    height: 300px;
    overflow: hidden;
}

.slider-container img {
    width: 100%;
    height: 100%; /* Занимает всю высоту контейнера */
    display: none;
    object-fit: cover; /* Изображение заполняет контейнер, сохраняя пропорции */
    cursor: pointer;
}

.slider-container img.active {
    display: block;
}

.slider-nav {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    width: 100%;
    display: flex;
    justify-content: space-between;
    pointer-events: none;
}

.slider-nav button {
    background-color: rgba(0, 0, 0, 0.5);
    color: white;
    border: none;
    padding: 10px;
    cursor: pointer;
    pointer-events: auto;
}

.slider-nav button:hover {
    background-color: rgba(0, 0, 0, 0.8);
}

/* Modal styles */
.modal {
    display: none;
    position: fixed;
    z-index: 1000;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(0, 0, 0, 0.9);
    justify-content: center;
    align-items: center;
}

.modal img {
    max-width: 90%;
    max-height: 90%;
    cursor: pointer;
}

.modal-close {
    position: absolute;
    top: 20px;
    right: 30px;
    color: white;
    font-size: 40px;
    font-weight: bold;
    cursor: pointer;
}

.modal-close:hover {
    color: red;
}
.right-block-news-list-telo {
    padding: 10px 0;
}

.grid-template-news-list {
    display: flex;
        justify-content: space-between;
    gap: 20px;
}
.wp-pagenavi {
    padding: 20px 0;
}
.img-news-list {
    height: 200px;
}
.news-list-telo {
    display: flex;
    gap: 20px;
    align-items: flex-start;
    background-color: #d2e3fb;
    border-radius: 6px;
}

.img-news-list img {
    width: 300px;
    border-radius: 6px;
    height: 200px;
}

.news-list-telo {
    display: flex;
    gap: 20px;
    align-items: flex-start;
}

.date-news-list-add {
    font-size: 13px;
    padding-bottom: 7px;
}

.title-news-add-list h2 {
    font-size: 20px;
    line-height: 24px;
}

.desc-add-news-list {
    font-size: 15px;
    margin-top: 10px;
}

.right-grid-news-list {
    display: flex;
    flex-direction: column;
    gap: 16px;
}

.link-no-link {
    color: #000;
    text-decoration: none;
}

.left-grid-news-list .category-list {
    padding: 10px;
    background-color: #d2e3fb;
    min-width: 200px;
    border-radius: 6px;
}

.category-list a {
    color: #000;
    text-decoration: none;
    padding: 7px 0;
    display: block;
}

.sidebar-right {
    width: 350px;
    border-radius: 6px;
}

.post-tags {
font-size: 12px;
}