.header {
    padding: 20px 0 10px;
}

.img-responsive-logo{
    width: 121px;
    height: 97px;
}


.img-responsive {
    max-width: 250px;
    height: auto; /* сохраняет пропорции */
}

.logo-link:link,
.logo-link:hover,
.logo-link:visited {
    text-decoration: none;
}

.logo-link {
    display: block;
    overflow: hidden;
}

.logo-city {
    text-align: left;
    color: #205A9A;
    text-transform: uppercase;
    padding: 5px 0 0;
    font-weight: bold;
}

/* Стили для мессенджеров с красивыми иконками */
.header-messengers {
    display: flex;
    gap: 10px;
    margin-top: 1px;
    justify-content: center;
}

.messenger-btn {
    display: inline-flex;
    align-items: center;
    padding: 8px 15px;
    border-radius: 6px;
    font-size: 14px;
    font-weight: 500;
    text-decoration: none;
    color: white;
    box-shadow: 0 2px 5px rgba(0,0,0,0.1);
}

.messenger-icon {
    margin-right: 8px;
    width: 18px;
    height: 18px;
    fill: white;
}

.telegram-btn {
    background: linear-gradient(135deg, #2AABEE 0%, #229ED9 100%);
}

.whatsapp-btn {
    background: linear-gradient(135deg, #25D366 0%, #128C7E 100%);
}

/* Закрытие иконок */

.trikolor-special-big {
    overflow: hidden;
/*    background: url(../img/trikolor-special.jpg?20180316) top center no-repeat;*/
    height: 454px
}

nav {
  background-color: #0074B9;
}

.nav-justified > li > a {
  color: #fff;
  text-transform: uppercase;
  font-size: 16px;
  font-weight: bold;
  padding: 15px 15px;
  letter-spacing: 1px;
}

.nav > li > a:focus, .nav > li > a:hover {
    /*background-color: #0084d3;
    color: #f5f5f5;*/

    background-color: #0074B9;
    color: #06a2ff;
}

.nav-justified > li > a:before {
    content: "";
    float: left;
    border-radius: 50%;
    background-color: #fff;
    width: 6px;
    height: 6px;
    margin-top: 8px; 
    display: inline-block;
}

.nav-justified > li:first-child > a:before {
    display: none;
}

.header-phone {
    padding: 0 0 10px;
    text-align: center;
}

.header-phone a {
    font-size: 24px;
    color: #ff0625;

}

.header-phone a:hover {
    opacity: 0.8;
    text-decoration: none;
}

.header-work-time {
    margin: 10px 0;
}

.header-official-dealer {
    padding: 10px 0;
}

.header-work-time,
.header-official-dealer {
    font-size: 14px;
    text-align: center;
}

.header-work-time img,
.header-official-dealer img {
    padding: 0 10px 0 0;
}

.order-button {            
    display: inline-block;
    text-transform: uppercase;
    background-color: #f80013;
    padding: 12px 20px;
    letter-spacing: 1px;
    border: 1px solid #f80013;
    font-weight: bold;
}

.order-button,
.order-button:link,
.order-button:hover,
.order-button:visited {
    color: #fff;
    text-decoration: none;
    font-weight: bold;    /* Жирный шрифт */
    font-size: 18px;      /* Размер текста ~18px */
}

.order-button:hover {
    cursor: pointer;
    opacity: 0.8;
}

.more-button {            
    display: inline-block;
    text-transform: uppercase;
    color: #3C3C3C;
    background-color: #fff;
    padding: 12px 20px;
    letter-spacing: 1px;
    border: 1px solid #C3C3C3;
    position: relative;
}

.more-button:hover {
    cursor: pointer;
    opacity: 0.8;
}

.more-button-text {
    padding: 0 10px 0 0;
}

.more-button-icon {
    position: absolute;
    top: 0;
    right: .4em;
    width: 1em;
    height: 100%;
    content: '';
    background: url('data:image/svg+xml;base64,PHN2ZyB4bWxucz0iaHR0cDovL3d3dy53My5vcmcvMjAwMC9zdmciIHdpZHRoPSI4IiBoZWlnaHQ9IjgiPjxwb2x5Z29uIHBvaW50cz0iNy4xOTQsMiAzLjk5Niw1LjE5NSAwLjc5OSwyIDAsMi43OTkgMy45OTYsNi43OTQgNy45OTEsMi43OTkiLz48L3N2Zz4=') no-repeat 0 50%;
    transition: transform .5s linear;
}

.rotated {
    -webkit-transform: scaleY(-1);
    -moz-transform: scaleY(-1);
    -o-transform: scaleY(-1);
    -ms-transform: scaleY(-1);
    transform: scaleY(-1);
}

.order-button,
.more-button,
.price-old,
.price-new {
    font-family: 'Open Sans';
}


.header .order-button {
    margin: 15px 0;
}            

.items-heading {
    color: #0074B9;
    text-transform: uppercase;
    text-align: center;
    padding: 20px 0 10px;
}

.item {
    border: 1px solid #C3C3C3;
    box-shadow: 0 0 10px #C3C3C3;
    margin: 30px 0;
}

.item-img {
    padding: 60px 0 20px 10px;
}

.item-desc {
    padding: 20px;
}

.item-img-gift:before {
    background: url(../img/ustanovka-lenta.png) top left no-repeat;
    position: absolute;
    left: 9px;
    top: -7px;
    width: 183px;
    height: 191px;
    content: "";
}

.item h2,
.item h3,
.item h4 {
    color: #0173BA;
}

h1 {
    font-size: 26px;
    line-height: 36px;
}

.item h2,
h2.items-heading {
    font-size: 24px;
}

.item h3 {
    font-size: 21px;
}

.item h4 {
    padding: 20px 0 0;
}

.price-old {
    color: #3C3C3C;
    font-size: 19px;
    text-decoration: line-through;
    padding: 10px 0 0;
}

.price-new {
    color: #f80013;
    font-size: 24px;
    font-weight: bold;
    padding: 5px 0 0;
}

.item-desc-long {
    padding: 20px 0 0;
}

.item .order-button {
    padding: 12px 50px;
}

.price-old,
.price-new,
.item .order-button,
.item .more-button {
    margin: 20px 0 0;
}

.custom-align {
    text-align: center;
}

.warning {
    margin: 50px 0;
    padding: 20px;
    border: 1px dashed #C3C3C3;
}

.advantages {
    overflow: hidden;
    margin: 60px 0 0;
    padding: 0 0 50px;
    background: url(../img/preim-bg.jpg) top center repeat-y;
}

.advantage img {
    margin: 0 auto;    
}

.advantages h2,
.advantage-text {
    text-align: center;
    color: #fff;
    font-family: 'Open Sans';
}

.advantage-text {
    text-align: center;
    color: #fff;
    font-family: 'Open Sans';
    font-size: 19px;
}

.footer-agreement {
    padding-top: 10px;
    font-size: 12px;
}

.footer {
    overflow: hidden;
    background: url(../img/footer-bg.jpg) top center repeat-y;
}

.footer h2 {
    text-align: center;
    color: #3C3C3C;
    font-family: 'Open Sans';
}

.footer-img {
    background: url(../img/footer-img.png) top left no-repeat;
    background-size: cover;
    min-height: 370px;
    width: 100%;
}

#footer-form {
    text-align: center;
    margin: 0 0 30px;
}

#footer-form input[type="text"] {
    background-color: #fff;
    border-radius: 3px;
    margin: 0 0 15px;
    padding: 7px 10px;
    outline: none;
    border: 1px solid #a1a1a1;

    width: 80%;
    max-width: 220px;
}

#footer-form input[type="submit"] {
    width: 80%;
    max-width: 220px;
}

#popup-form-window {
    padding: 20px 30px;
    background-color: #fff;
}

#popup-form-window .pre-text {
    text-transform: uppercase;
    color: #f80013;
    font-size: 19px;
    font-family: 'Open Sans';
    font-weight: bold;
}

#popup-form input {
    margin: 15px 0 0;
    width: 90%;
}

#popup-form input[type="text"] {
    padding: 5px;
}

#popup-thank-you {
    padding: 10px 10px;
    background-color: #fff;
}

#popup-thank-you .pre-text {
    color: #f80013;
    font-size: 19px;
    font-family: 'Open Sans';
    font-weight: bold;
    padding: 0 0 10px;
}

.channels-list-img {
    display: inline-block;
    margin: 20px 0 0;
    text-transform: uppercase;
    background-color: #d5effe;
    padding: 3px 6px;
}

.action-text {
    font-size: 16px;
    font-weight: bold;
    color: #f80013;
    padding: 10px 0;
}

.gift-text {
    font-size: 16px;
    font-weight: bold;
}


@media (max-width: 767px) {
    .nav-justified > li > a:before {
        display: none;
    }

    .header,
    .header-phone,
    .logo-city {
        text-align: center;
    }

    .logo-link .img-responsive {
        margin: 0 auto;
    }

    .header-phone {
        padding: 15px 0 15px;
    }

    .header-official-dealer {
        padding: 20px 0 0;
    }
}
