/* Общие стили */
* {
    margin: 0;
    padding: 0;
    font-size: 100%;
}

body {
    background: #f1ead5;
    text-align: center;
    min-width: 906px;
    font-family: Georgia, "Times New Roman", Times, serif;
    font-size: 1em;
    line-height: 1.25em;
    color: #342b28;
}

/* Заголовки */
h1 {
    font-size: 22px;
    line-height: 1em;
    color: #342b28;
    padding-bottom: 10px;
    padding-top: 10px;
    margin-top: 30px;
    margin-bottom: 50px;
}

h2, h3, h4, 
.widget-title {
    font-size: 150%;
    line-height: 1em;
    color: #0044d3;
    padding-bottom: 2px;
    padding-top: 10px;
    font-family: CuprumBoldItalic;
}

/* Изображения */
img {
    vertical-align: top;
}

a img {
    border: 0;
}

/* Списки */
ul {
    list-style: none;
    text-align: justify;
}

li {
    background: url(images/marker.gif) no-repeat 0 16px;
    padding-left: 8px;
    line-height: 1.916em;
}

li a {
    color: #b9210a;
}

ol {
    list-style-type: decimal;
    text-align: justify;

}

/* Текст */
p {
    padding-top: 15px;
    line-height: 1.6;
    font-size: 1.2em;
    text-align: justify;
    margin-bottom: 1em;
    color: #342b28;
    text-indent: 30px;
}

/* Ссылки */
a {
    color: #b9210a;
    outline: none;
    text-decoration: none;
}

.size-full {
    width: 100%;
    border-spacing: 0px 10px;
}

a:hover {
    text-decoration: none;
}

/* Выравнивание */
.left {
    float: left;
}

.right {
    float: right;
}

.clear {
    clear: both;
}

.alignright {
    text-align: right;
}

/* Паддинги и отступы */
.pad {
    padding-top: 20px;
}

.h-pad {
    padding-bottom: 20px;
}

.col-pad {
    padding-right: 50px;
}

.col-pad1 {
    padding-right: 10px;
}

.col-pad2 {
    padding-right: 33px;
}

.indent {
    padding: 38px 0 58px 0;
}

.padding {
    padding-bottom: 52px;
}

.padding1 {
    padding-bottom: 61px;
}

.padding2 {
    padding-bottom: 64px;
}

.border {
    background: url(images/border-bg.gif) left bottom repeat-x;
    padding-bottom: 24px;
    margin-bottom: 24px;
}

/* Заголовки для контента */
.title {
    color: #000000;
    display: inline-block;
    padding-bottom: 6px;
    margin-top: 50px;
}

.title1 {
    color: #b9210a;
}

/* Ссылки в тексте */
.link1 {
    background: url(images/link1-bg.gif) left 6px no-repeat;
    padding-left: 8px;
    color: #b9210a;
    font-weight: bold;
    margin-top: 12px;
    display: inline-block;
}

.link {
    display: inline-block;
    background: url(images/link-bg.gif) left top repeat-x;
    color: #fff;
    font-size: 1.1666em;
    line-height: 1.24em;
    padding: 4px 10px 7px 10px;
    margin-top: 25px;
    text-transform: uppercase;
    text-decoration: none;
}

.link:hover {
    background: url(images/link-bg-hover.gif) left top repeat-x;
}

.link-marg {
    margin-top: 19px;
}

/* Телефон */
.phone {
    display: inline-block;
    width: 80px;
}

/* Строки */
.row {
    background: url(images/row-bg.gif) left top repeat-x #e4dcc2;
}

.row h2 {
    padding-bottom: 22px;
}

.row .indent {
    padding: 38px 0 44px 0;
}

.row .padding {
    padding-bottom: 67px;
}

.row .padding1 {
    padding-bottom: 52px;
}

.row .padding2 {
    padding-bottom: 61px;
}

/* Галерея */
.gallery img {
    margin: 0 0 7px 0;
}

/* Футер */
#footer {
    color: #7f5c55;
    padding-top: 5px;
}

#footer .main {
    text-align: center;
}

#footer a {
    color: #7f5c55;
}

/* Поиск */
#SearchForm {
    padding: 28px 1px 0 0;
    text-align: right;
}

#SearchForm label {
    height: 30px;
    display: inline-block;
    vertical-align: top;
    margin-right: -2px;
}

#SearchForm .input {
    width: 182px;
    padding: 3px 0 2px 5px;
    font-size: 1em;
    vertical-align: top;
    color: #63534d;
    line-height: 1.24em;
    background: #fff;
    font-family: Arial, Helvetica, sans-serif;
}

/* Подписка */
#frm-subscriptionFrontsimplesubscribe-2 {
    padding: 10px 1px 0 0;
}

#frm-subscriptionFrontsimplesubscribe-2 label {
    height: 30px;
    display: inline-block;
    vertical-align: top;
    margin-right: -2px;
}

#frm-subscriptionFrontsimplesubscribe-2 .input {
    width: 212px;
    padding: 3px 0 2px 5px;
    font-size: 1em;
    vertical-align: top;
    color: #63534d;
    line-height: 1.24em;
    background: #fff;
    font-family: Arial, Helvetica, sans-serif;
}

#frm-subscriptionFrontsimplesubscribe-2 .subscribeButton {
    background: url(images/input-img1.jpg) no-repeat left bottom;
    border: none;
    width: 45px;
    height: 21px;
}

/* Форма контактов */
#cntctfrm_contact_form label {
    height: 30px;
    display: block;
}

#cntctfrm_contact_form .link {
    margin: 22px 20px 0 0;
}

#cntctfrm_contact_form .input {
    width: 235px;
    background: #fff;
    padding: 3px 0 2px 5px;
    font-size: 1em;
    line-height: 1.24em;
}

#cntctfrm_contact_form textarea {
    width: 235px;
    height: 132px;
    background: #fff;
    padding: 0 0 0 5px;
    overflow: auto;
    font-size: 1em;
}

/* Меню */
.menu-mainmenu-container {
    margin-top: 15px;
}

.menu-mainmenu-container ul {
    width: 100%;
    overflow: hidden;
}

.menu-mainmenu-container li {
    float: left;
    background: url(images/menu-li-bg.gif) right 23px no-repeat;
    padding: 0;
    line-height: 1.24em;
    font-size: 1.25em;
    text-transform: uppercase;
    font-family: CuprumBoldItalic;
}

.menu-mainmenu-container li a,
.menu-mainmenu-container li strong {
    display: block;
    padding: 20px 10px 18px 10px;
    text-decoration: none;
    color: #342b28;
    margin-right: 1px;
    cursor: pointer;
    position: relative;
}

.menu-mainmenu-container li a:hover,
.menu-mainmenu-container .current-menu-item strong,
.menu-mainmenu-container .current-menu-item {
    background: url(images/menu-li-active.gif) left top repeat-x;
    color: #fff;
}

.menu-mainmenu-container .current-menu-item a {
    font-family: CuprumItalic;
    color: #fff;
}

.menu-mainmenu-container .current-menu-item a,
.menu-mainmenu-container .current-menu-item:hover a {
    color: #fff;
}

.menu-mainmenu-container .last {
    background: none;
}

.menu-mainmenu-container .last strong,
.menu-mainmenu-container .last a {
    padding: 20px 28px 18px 28px;
}

/* Заголовок */
#header {
    background: url(images/header-bg.jpg) top center no-repeat;
    position: relative;
}

.extra {
    background: url(images/header-tail-left.jpg) left top repeat-x;
}

.extra1 {
    background: url(images/header-tail-right.jpg) right top repeat-x;
    width: 50%;
    position: absolute;
    height: 364px;
    right: 0;
}

#header .main {
    position: relative;
}

.logo {
    position: relative;
    margin: 0 0 0 0;
}

.head-links {
    color: #51302a;
    padding-top: 9px;
    text-align: right;
    height: 15px;
}

.head-links a {
    color: #7f5c55;
}

.head-img {
    float: right;
    margin-top: 65px;
    margin-bottom: 33px;
}

/* Списки */
.list {
    width: 203px;
    float: left;
}

.head-list .list {
    width: auto !important;
}

.list li {
    background: url(images/header-marker.gif) left 7px no-repeat;
    padding-left: 23px;
    height: 26px;
}

.list li a {
    color: #342b28;
    font-weight: normal;
}

.head-list {
    padding: 13px 4px 0 0;
    float: right;
    margin-top: 25px;
    font-size: 0.9rem;
}

/* Изображения с отступами */
.imgindent {
    margin: 0 20px 0 0;
    float: left;
}

.imgindent1 {
    margin: 0 13px 0 0;
    float: left;
}

/* Навигация */
.navigation {
    width: 100%;
    font-size: 14px;
    height: 30px;
    margin-top: 30px;
}

.nav-previous,
.nav-next {
    float: left;
    width: 45%;
    overflow: hidden;
}

.nav-previous {
    text-align: right;
    margin-right: 5%;
}

.nav-next {
    text-align: left;
    margin-left: 5%;
}

.slogan_cont {
    height: 67px;
}

.wp-pagenavi {
    width: 100%;
    font-size: 12px;
}

.wp-pagenavi > span,
.wp-pagenavi > a {
    display: block;
    float: left;
    margin: 0 10px 0 0;
    padding: 5px;
}

.wp-pagenavi > a {
    text-align: left;
    border: 1px solid #ccc;
}

.wp-pagenavi .pages,
.wp-pagenavi .current {
}

.wp-caption-text {
    font-size: 0.6rem;
    font-style: italic;
    
}

.nav-single {
    overflow: hidden;
    padding: 20px 0;
}

.nav-single + .comments-area,
#comment-nav-above {
    margin: 48px 0;
    overflow: hidden;
    margin: 3.428571429rem 0;
}

.nav-single .assistive-text {
    display: none;
}

/* Ошибки формы */
div.form_error {
    font-size: 10px !important;
    line-height: 10px;
}

/* Списки классов */
ul.class_s li {
    display: block;
    margin-bottom: 30px;
}



.phone-container {
    display: flex;
    align-items: center;
    width: 100%;
    margin-bottom: 5px;
}

.phone-number {
    font-size: 1.5rem;
    font-weight: bold;
    color: #333;
    margin-left: auto; /* Переносим вправо */
    margin-right: 20px; /* Дополнительный отступ вправо */
}

.messenger-buttons {
    display: flex;
    gap: 10px;
    align-items: center;
    flex: 0 0 auto;
}

.messenger-buttons img {
    height: 48px;
    width: auto;
    vertical-align: middle;
    max-width: none;
}

/* Адаптивное поведение */
@media (max-width: 768px) {
    .phone-container {
        flex-direction: column;
        align-items: center;
        text-align: center;
        margin-bottom: 20px;
        gap: 15px;
        
    }
    
    .phone-number {
        width: 100%;
        font-size: 110%;
        text-align: center;
        padding-left: 170px;
        order: 1;
    }
    
    .region {
        padding-left: 250px;
    }
    
    .messenger-buttons {
        width: 100%;
        justify-content: center;
        order: 2;
       padding-left: 700px;
        margin-top: -48px;
    }
    .menu-mainmenu-container ul {
    font-size: 70%;
    }
    .head-list {
    
    font-size: 0.7rem;
}
    
}

@media (max-width: 480px) {
    .phone-container {
        margin-bottom: 35px;
        padding: 0 10px;
        
    }
    
    .phone-number {
        font-size: 110%;
        padding-left: 170px;
    }
    
    .region {
        padding-left: 250px;
    }
    
    .messenger-buttons {
        gap: 8px;
        padding-left: 680px;
        margin-top: -48px;

    }
    
    .messenger-buttons img {
        height: 35px;
    }
    .head-list {
    
    font-size: 0.7rem;
}
.menu-mainmenu-container ul {
    font-size: 60%;
    }

}