/***Базовые стили***/
.ui-widget-overlay {
    background: #0c7d46;
}

/***Шапка***/
#superfish-main {
    display: flex;
    justify-content: space-around;
}
#block-vesta-theme-kontakty .field--name-body {
    display: flex;
    flex-direction: row;
}
#block-vesta-theme-kontakty .field--name-body a {
    color:  #0c7d46;
    font-size: 16px;
    display: flex;
    align-items: center;
}
a.phone {
    margin-right: 50px;
}
a.phone::before {
    content: url(../image/phone.svg);
    margin-right: 5px;
    height: 18px;
}
a.mail::before {
    content: url(../image/mail.svg);
    margin-right: 5px;
    height: 18px;
}

/***Баннер***/
#block-vesta-theme-views-block-slayder-block-1 .content {
    position: absolute;
    top: 50px;
    left: 0;
    right: 0;
}
#block-vesta-theme-views-block-slayder-block-1 .field--name-body {
    background-color: #0faa1d94;
    padding: 15px;
    color: #fff;
    border-radius: 15px; 
    font-style: italic;
    font-weight: 600; 
    box-shadow: 0 0 10px 4px #fff; 
    margin-top: 25px;
}
.field--name-node-title h1 {
    font-size: 45px;
    font-weight: bold;
    text-transform: uppercase;
    text-align: center;
    color: #fff;
    margin-bottom: 0;
}
/***Блок "Преимущества" на главной***/
#block-block-benefits-on-main-page .block-title {
    color: #0c7d46;
    position: relative;
    margin-bottom: 20px;
}
#block-block-benefits-on-main-page .block-title::before {
    content: "";
    display: block;
    position: absolute;
    top: 0;
    bottom: 0;
    right: calc(100% + 5px);
    background-color: #0c7d46;
    width: 5px;
}
#block-block-benefits-on-main-page .view-content {
    display: flex;
    flex-direction: column;
    row-gap: 20px;
}
#block-block-benefits-on-main-page .views-row {
    display: flex;
    column-gap: 15px;
    align-items: center;
}
#block-block-benefits-on-main-page .views-row::before {
    content: url(../image/benefit.svg);
    height: 40px;
}
#block-block-benefits-on-main-page .field--name-body  {
    font-size: 20px;
    line-height: normal;
    font-weight: 600;
    font-style: italic;
}



/***Подвал***/
.privacy-content {
    display: flex;
    align-items: center;
    column-gap: 20px;
}
.privacy-content, a.privacy, a.privacy:hover, .vesta a, .vesta a:hover {
    color: #ffffff;
}
.vesta {
    text-align: right;
}

/***Таблица***/
tbody, td {
    border: 1px solid;
}
td {
    padding: 10px;
}

div#block-vesta-theme-logo-3 a {
    color: #fff;
    font-size: 20px;
    font-weight: bold;
    line-height: 25px;
}

div#block-vesta-theme-logo a {
    font-size: 20px;
    font-weight: bold;
    line-height: 25px;
}

.view-obekty .view-content {
    display: flex;
    flex-wrap: wrap;
}

.view-obekty .views-row:nth-child(3n-1),.view-obekty .views-row:nth-child(3n+1) {
    margin-right: 2%;
}

.view-obekty .views-row {
    width: 32%;
    margin-bottom: 2%;
}

.view-obekty .views-row .field--name-node-title {
    margin-top: 20px;
    font-size: 16px;
    line-height: 20px;
}

.view-obekty .views-row .field--name-node-title a {
    color: #000;
    text-decoration: underline;
}

img {
    max-width: 100%;
    height: auto;
}

.node--type-obekt.node--view-mode-full .field--name-field-izobrazhenie {
    display: flex;
    flex-wrap: wrap;
    margin-top: 30px;
}

.node--type-obekt.node--view-mode-full .field--name-field-izobrazhenie > div {
    width: 32%;
    margin-bottom: 2%;
}
.node--type-obekt.node--view-mode-full .field--name-field-izobrazhenie > div:nth-child(3n-1),
.node--type-obekt.node--view-mode-full .field--name-field-izobrazhenie > div:nth-child(3n+1) {
    margin-right: 2%;
}
.node--type-slide img {
    height: 575px;
    width: auto;
    max-width: initial;
}
.webform-button--submit.btn-primary {
    background-color: #0c7d46;
    border-color: #0c7d46;
}

@media(max-width: 1200px) {
    
}

@media(max-width: 991px) {
    .view-obekty .views-row:nth-child(3n-1), 
    .view-obekty .views-row:nth-child(3n+1),
    .node--type-obekt.node--view-mode-full .field--name-field-izobrazhenie > div:nth-child(3n-1),
    .node--type-obekt.node--view-mode-full .field--name-field-izobrazhenie > div:nth-child(3n+1) {
        margin-right: initial;
    }
    
    .view-obekty .views-row:nth-child(odd),
    .node--type-obekt.node--view-mode-full .field--name-field-izobrazhenie > div:nth-child(odd) {
        margin-right: 2%;
    }
    
    .view-obekty .views-row,
    .node--type-obekt.node--view-mode-full .field--name-field-izobrazhenie > div{
        width: 49%;
    }
}

@media(max-width: 768px) {
   .view-obekty .views-row:nth-child(odd), 
   .node--type-obekt.node--view-mode-full .field--name-field-izobrazhenie > div:nth-child(odd) {
        margin-right: initial;
    }
    
    .view-obekty .views-row,
    .node--type-obekt.node--view-mode-full .field--name-field-izobrazhenie > div{
        width: 100%;
        margin: 0 0 20px 0;
    } 
    .view-obekty .view-content,
    .node--type-obekt.node--view-mode-full .field--name-field-izobrazhenie{
        justify-content: center;
        text-align: center;
    }
}

@media(max-width: 575px) {
    
}