body, div, dl, dt, dd, ul, li, h1, h2, h3, h4, h5, h6, pre, code, form, fieldset, input, textarea, p, blockquote, th, td { margin: 0; padding: 0; } 
ul li { list-style: none; } 
table { border-collapse: collapse; border-spacing: 0; } 
fieldset, img, abbr { border: 0; } 
address, caption, cite, code, dfn, em, strong, th, var { font-style: normal; font-weight: normal; } 
caption, th { text-align: left; } 
h1, h2, h3, h4, h5, h6 { font-size: 100%; font-weight: normal; } sup { vertical-align: text-top; } sub { vertical-align: text-bottom; } 
input, textarea, select { font-family: inherit; font-size: inherit; font-weight: inherit; } legend { color: #000; } 
article, aside, details, figcaption, figure, footer, header, hgroup, menu, nav, section { display: block; } /* Generated by Font Squirrel (http://www.fontsquirrel.com) on March 12, 2015 */ @import url(http://fonts.googleapis.com/css?family=Jura:400,300,500,600&subset=latin,cyrillic,cyrillic-ext,latin-ext,greek); /*@font-face {*/ /*font-family: 'barkentina_1';*/ /*src: url('fonts/Vhd52gBv-webfont.eot');*/ /*src: url('fonts/Vhd52gBv-webfont.eot?#iefix') format('embedded-opentype'),*/ /*url('fonts/Vhd52gBv-webfont.woff2') format('woff2'),*/ /*url('fonts/Vhd52gBv-webfont.woff') format('woff'),*/ /*url('fonts/Vhd52gBv-webfont.ttf') format('truetype');*/ /*}*/ body { font-family: "Ledger", serif; } .book_online_button { position: fixed; display: block; height: 54px; line-height: 46px; font-size: 18px; width: 184px; text-align: center; background-color: #33B249; border: 2px solid #ccc; border-radius: 10px; color: #fff; bottom: 40px; right: 40px; z-index: 10000; transition: 0.3s; } .book_online_button:hover { transform: scale(1.1); } .clear { clear: both; } * { box-sizing: border-box; text-shadow: 1px 2px 7px rgba(255, 255, 255, 0.1); } #wrapper { background: #000; } a { color: #fff; text-decoration: none; outline: none; } h1 { font-size: 30px; margin-bottom: 15px; } h2 { font-size: 24px; } h2 i.fa { font-size: 16px; } h3 { font-size: 18px; } .container { max-width: 1250px; margin: 0 auto; } .container h2, .container h3 { text-align: center; color: #fff; font-size: 24px; padding: 6px; } header { background: #000; } header .container { padding: 10px 5px; text-align: center; position: relative; } header nav { overflow: hidden; display: inline-block; float: left; margin-left: 100px; } header nav li { float: left; } header nav li a { color: #fff; font-size: 20px; text-decoration: none; padding: 5px; transition: all ease-in-out 0.3s; -webkit-transition: all ease-in-out 0.3s; } header nav li a:hover { border-bottom: 1px dashed #ccc; color: #ccc; } header nav li:not(.logo) { padding-top: 50px; margin-left: 80px; } header nav li.logo { margin-left: 100px; } header nav li:nth-child(1) { margin-left: 0; } .social { overflow: hidden; padding: 10px; text-align: center; margin: 0 auto; } .social li { float: left; margin-left: 10px; } .social li a { display: block; border-radius: 50%; width: 28px; height: 28px; transition: all ease-in-out 0.6s; -webkit-transition: all ease-in-out 0.2s; } .social li a:hover { box-shadow: 0 0 15px 2px white; } .social li.fb a { background: url(img/fb.png) no-repeat; } .social li.vk a { background: url(img/vk.png) no-repeat; } .social li.in a { background: url(img/in.png) no-repeat; } header .online { width: 100px; height: 100px; position: absolute; right: 0; bottom: -50px; } header .online a { display: block; cursor: pointer; height: 100%; border: 2px solid #fff; border-radius: 50%; background: rgba(0, 0, 0, 0.7); padding-top: 30px; transition: all ease-in-out 0.6s; -webkit-transition: all ease-in-out 0.6s; } header .online a:hover { color: #000; background: rgba(255, 255, 255, 1); } .office { outline: 1px solid black; width: 100%; } .office img { width: 100%; height: auto; } .info { text-align: center; background: #000; border-bottom: 2px solid #ccc; } .info .container { padding: 40px 150px; color: #fff; font-size: 20px; } .masters { background: #000; } .masters .container { padding-bottom: 14px; } .slider { position: relative; } .slider .viewport { height: 500px; width: 333px; overflow: hidden; position: relative; margin: 0 auto; border-radius: 20px; } .slider .overview { list-style: none; position: absolute; padding: 0; margin: 0; width: 800px; left: 0; top: 0; } .slider .overview li { float: left; width: 333px; height: 500px; position: relative; } .slider .overview li img { width: 335px; height: 500px; filter: grayscale(1); } .slider .overview li .master-name { position: absolute; bottom: 0; left: 0; width: 100%; height: 60px; background: rgba(0, 0, 0, 0.7); text-align: center; line-height: 60px; font-size: 20px; color: #fff; } .slider .next, .slider .prev { position: absolute; z-index: 50; top: 220px; width: 62px; height: 62px; cursor: pointer; opacity: 0.6; border-radius: 50%; transition: all ease-in-out 0.3s; -webkit-transition: all ease-in-out 0.3s; } .slider .next:hover, .slider .prev:hover { opacity: 1; } .slider .prev { background: url(img/left.png); left: 250px; } .slider .next { right: 250px; background: url(img/right.png); } .masters .master-head p, .prices .prices-head p, .portf .portf-head p, .contacts .contacts-head p, .map .map-head p { color: #fff; text-align: center; font-size: 20px; border-bottom: 2px solid #ccc; padding-bottom: 10px; padding-top: 10px; } .masters .master-head p span, .prices .prices-head p span, .portf .portf-head p span, .contacts .contacts-head p span, .map .map-head p span { position: relative; } .masters .master-head p span:before, .prices .prices-head p span:before, .portf .portf-head p span:before, .contacts .contacts-head p span:before, .map .map-head p span:before { position: absolute; top: 5px; left: -20px; content: ""; width: 10px; height: 10px; background: #fff; border-radius: 50%; } .masters .master-head p span:after, .prices .prices-head p span:after, .portf .portf-head p span:after, .contacts .contacts-head p span:after, .map .map-head p span:after { position: absolute; top: 5px; right: -20px; content: ""; width: 10px; height: 10px; background: #fff; border-radius: 50%; } .prices .list { padding: 20px 0; overflow: hidden; display: inline-block; } .prices .list .strig, .prices .list .strig-gol, .prices .list .gol { width: 1080px; height: 100vh; background-size: 100% 100%; float: left; border: 2px solid #ccc; border-radius: 10px; color: #fff; font-size: 20px; } .prices .list .strig div, .prices .list .strig-gol div, .prices .list .gol div { height: 100%; width: 100%; background: rgba(0, 0, 0, 0.8); padding-top: 28px; border-radius: 10px; opacity: 1; transition: all ease-in-out 0.5s; -webkit-transition: all ease-in-out 0.5s; cursor: pointer; } .prices .list .strig div:hover, .prices .list .strig-gol div:hover, .prices .list .gol div:hover { opacity: 1; } .prices .strig { background: url(img/strig.png) no-repeat; } .prices .strig-gol { background: url(img/strig-gol.png) no-repeat; margin: 0 15px; } .prices .gol { background: url(img/gol.png) no-repeat; margin: 0 auto; } .prices { text-align: center; } .prices .container { padding-bottom: 0px; } .prices a { display: inline-block; padding: 20px 70px; border: 3px solid #fff; border-radius: 10px; transition: all ease-in-out 0.6s; -webkit-transition: all ease-in-out 0.6s; font-size: 20px; } .prices a:hover { background: #fff; color: #000; } .portf .portf-head { margin-bottom: 50px; } .portf .container { padding-bottom: 50px; } .contacts .container { overflow: hidden; padding-bottom: 20px; } .contacts .contacts-info { color: #fff; font-size: 16px; } .contacts .contacts-info p { text-align: center; } .contacts .social { margin-right: 20px; } .map .container { margin-bottom: 20px; } .map-frame { width: 100%; } footer { color: #fff; font-size: 20px; text-align: center; overflow: hidden; padding: 20px 0; } footer .container .creat-site { display: inline-block; margin-top: 20px; } footer .creat-site { display: table-row; } footer .site { display: table-cell; vertical-align: middle; font-size: 16px; padding-right: 8px; } footer .creat-site-logo { display: table-cell; vertical-align: middle; } footer .creat-site-logo a { display: table-cell; width: 88px; height: 33px; background: url(img/fidez-sprite.png) no-repeat; padding-top: 10px; transition: all ease-in-out 0.4s; -webkit-transition: all ease-in-out 0.4s; } footer .creat-site-logo a:hover { background-position: 0 -33px; } #lean_overlay { position: fixed; z-index: 100; top: 0px; left: 0px; height: 100%; width: 100%; background: #000; display: none; } #registration-popup { background: #000; border: 3px solid #fff; border-radius: 10px; width: 400px; padding: 30px; display: none; } #registration-popup .popup-header { color: #fff; font-size: 30px; text-align: center; } #registration-popup input { width: 100%; height: 40px; box-sizing: border-box; border: 2px solid #fff; border-radius: 6px; margin-top: 15px; padding-left: 20px; outline: none; color: #fff; font-size: 20px; background: rgba(0, 0, 0, 0); -webkit-transition: all ease-in-out 0.4s; } #registration-popup input:focus { box-shadow: 1px 1px 10px 0px rgba(255, 255, 255, 0.75) inset; } #registration-popup input[type="submit"] { background-color: rgba(0, 0, 0, 0); transition: all ease-in-out 0.4s; -webkit-transition: all ease-in-out 0.4s; } #registration-popup input[type="submit"]:hover { background-color: #fff; color: #000; cursor: pointer; box-shadow: 1px 1px 10px 0px rgba(255, 255, 255, 0.75); } /* SuperBox */ .superbox { border: 3px solid #c0c0c0; border-radius: 6px; width: 100%; margin: 0 auto; text-align: center; } .superbox-list { display: inline-block; } .superbox-img { max-width: 100%; width: 100%; cursor: pointer; transition: all ease-in-out 0.2s; } .superbox-show { text-align: center; position: relative; width: 100%; float: left; padding: 25px; display: none; } .superbox-current-img { max-width: 100%; border: 1px solid #fff; } .superbox-img:hover { opacity: 0.8; } .superbox-float { float: left; } .superbox-close { opacity: 0.7; cursor: pointer; position: absolute; top: 25px; right: 25px; width: 35px; height: 35px; } .superbox-close:hover { opacity: 1; } .gmap { border: none; height: 450px; } @media only screen and (min-width: 320px) { .superbox-list { width: 120px; } .gmap { height: 100px; } } @media only screen and (min-width: 486px) { .superbox-list { width: 25%; } .gmap { height: 200px; } } @media only screen and (min-width: 768px) { .superbox-list { width: 16.66666667%; } .gmap { height: 200px; } } @media only screen and (min-width: 1025px) { .superbox-list { width: 150px; } .gmap { border: none; height: 450px; } } 
@media all and (max-width: 1270px) { .prices .list .strig { float: left; margin-right: 15px; width: 330px; } .prices .list .strig-gol { float: right; width: 330px; } .prices .list .gol { width: 375px; } header .social { float: left; } } 
@media all and (max-width: 1130px) { header .social { float: left; } } 
@media all and (max-width: 1075px)  { 
    /* ----- Изменения для NAV контейнера (вертикальное меню) ----- */
    header .container {
        padding: 10px 0; /* Убираем горизонтальные отступы */
        text-align: center;
    }

    header nav {
        /* Отменяем десктопные float и inline-block */
        float: none;
        display: block; 
        
        /* Сбрасываем старые горизонтальные отступы от других медиазапросов */
        margin-left: 0 !important; /* Переопределяем margin-left: 33% */
        margin-top: 15px; /* Отступ от нового логотипа */
        
        width: 100%; 
        
        /* Используем Flexbox для выравнивания пунктов меню в колонку */
        display: flex; 
        flex-direction: column; 
        align-items: center; 
    }

    /* ----- Изменения для элементов списка LI ----- */
    header nav li {
        /* Отменяем плавание, которое выстроило их горизонтально */
        float: none; 
        display: block; 
        
        /* Сбрасываем все горизонтальные отступы */
        margin-left: 0 !important; 
        padding-top: 0 !important; 
        padding: 5px 0; 
        width: 100%; 
    }

    /* ----- Скрытие десктопного логотипа в NAV ----- */
    header nav li.logo {
        display: none !important; /* Скрываем весь li-элемент, содержащий логотип */
    }

    /* ----- Настройка ссылок A ----- */
    header nav li a {
        display: block; 
        padding: 10px; 
        text-align: center; 
        font-size: 22px; 
        border-bottom: none !important;
    }
    
    /* ----- Отображение и центрирование нового мобильного логотипа ----- */
    .mobile-logo {
        display: block; /* Делаем логотип видимым */
        margin: 20px auto 0; /* Центрируем по горизонтали */
        text-align: center;
        width: 80%; 
        max-width: 300px; 
    }
    
    .mobile-logo img {
        max-width: 100%;
        height: auto;
    }
    
    
    header .container { text-align: center; margin: 0 auto; } header nav { margin-left: 33%; } .prices .list .strig { float: left; margin-right: 15px; width: 65vh; height: 100%; padding: 15px; } .prices .list .strig-gol { float: right; width: 65vh; height: 100%; padding-top: 0; } .prices .list .gol { width: 290px; height: 300px; padding-top: 0; } .prices .list .strig div, .prices .list .strig-gol div, .prices .list .gol div { padding-top: 30px; font-size: 15px; } .strig ul li { display: flex; justify-content: space-between; align-items: center; border-bottom: 1px solid rgba(255,255,255,0.2); padding: 6px 0; font-size: 18px; line-height: 1.4em; color: #fff; } .strig ul li:last-child { border-bottom: none; } .strig .price { font-weight: 600; font-family: monospace; white-space: nowrap; } } 

@media all and (max-width: 900px) { 
    /* ----- Изменения для NAV контейнера (вертикальное меню) ----- */
    header .container {
        padding: 10px 0; /* Убираем горизонтальные отступы */
        text-align: center;
    }

    header nav {
        /* Отменяем десктопные float и inline-block */
        float: none;
        display: block; 
        
        /* Сбрасываем старые горизонтальные отступы от других медиазапросов */
        margin-left: 0 !important; /* Переопределяем margin-left: 33% */
        margin-top: 15px; /* Отступ от нового логотипа */
        
        width: 100%; 
        
        /* Используем Flexbox для выравнивания пунктов меню в колонку */
        display: flex; 
        flex-direction: column; 
        align-items: center; 
    }

    /* ----- Изменения для элементов списка LI ----- */
    header nav li {
        /* Отменяем плавание, которое выстроило их горизонтально */
        float: none; 
        display: block; 
        
        /* Сбрасываем все горизонтальные отступы */
        margin-left: 0 !important; 
        padding-top: 0 !important; 
        padding: 5px 0; 
        width: 100%; 
    }

    /* ----- Настройка ссылок A ----- */
    header nav li a {
        display: block; 
        padding: 10px; 
        text-align: center; 
        font-size: 22px; 
        border-bottom: none !important;
    }
    
    /* ----- Отображение и центрирование нового мобильного логотипа ----- */
    .mobile-logo {
        display: block; /* Делаем логотип видимым */
        margin: 20px auto 0; /* Центрируем по горизонтали */
        text-align: center;
        width: 80%; 
        max-width: 300px; 
    }
    
    .mobile-logo img {
        max-width: 100%;
        height: auto;
    }
    
    
    
    header .container { text-align: center; margin: 0 auto; } header nav { margin-left: 33%; } .prices .list .strig { float: left; margin-right: 15px; width: 65vh; height: 100%; padding: 15px; } .prices .list .strig-gol { float: right; width: 65vh; height: 100%; padding-top: 0; } .prices .list .gol { width: 290px; height: 300px; padding-top: 0; } .prices .list .strig div, .prices .list .strig-gol div, .prices .list .gol div { padding-top: 30px; font-size: 15px; } .strig ul li { display: flex; justify-content: space-between; align-items: center; border-bottom: 1px solid rgba(255,255,255,0.2); padding: 6px 0; font-size: 18px; line-height: 1.4em; color: #fff; } .strig ul li:last-child { border-bottom: none; } .strig .price { font-weight: 600; font-family: monospace; white-space: nowrap; } } 
@media all and (max-width: 760px) { .slider .viewport { height: 300px; width: 225px; } .slider .overview li { width: 225px; height: 300px; } .slider .overview li img { width: 225px; height: 300px; } .slider .next, .slider .prev { top: 100px; } } @media all and (max-width: 670px) { .prices .list .strig { float: none; width: 100%; height: 100%; padding-top: 0; margin-bottom: 0px; } .prices .list .strig-gol { float: none; width: 370px; height: 440px; padding-top: 0; margin: 0; margin-bottom: 15px; } .prices .list .gol { width: 370px; height: 440px; padding-top: 0; } .prices .list .strig div, .prices .list .strig-gol div, .prices .list .gol div { padding-top: 80px; font-size: 20px; } } 
@media all and (max-width: 630px) { header .social { float: left; } #registration-popup { width: 250px; margin-left: 100px; } .info .container { padding: 30px 20px; } } 

/* Десктопные стили (скрываем мобильный логотип по умолчанию) */
.mobile-logo {
    display: none; 
}

@media all and (max-width: 500px) {
    /* ----- 1. Настройка HEADER и NAV контейнера ----- */
    header .container {
        padding: 10px 0; /* Убираем горизонтальные отступы, центрируем */
        text-align: center;
    }

    header nav {
        /* Отменяем десктопные float и inline-block */
        float: none;
        display: block; /* Делаем контейнер блочным, чтобы он занимал всю ширину */
        
        /* Сбрасываем старые горизонтальные отступы */
        margin-left: 0; 
        margin-top: 15px; /* Добавляем небольшой отступ от нового логотипа */
        
        width: 100%; /* Гарантируем полную ширину */
        
        /* Используем Flexbox для выравнивания пунктов меню в колонку */
        display: flex; 
        flex-direction: column; 
        align-items: center; /* Центрируем пункты меню горизонтально */
    }

    /* ----- 2. Настройка элементов списка LI ----- */
    header nav li {
        /* Отменяем плавание, которое выстроило их горизонтально */
        float: none; 
        display: block; /* Делаем каждый пункт блочным, чтобы он занимал свою строку */
        
        /* Сбрасываем все горизонтальные отступы, которые их раздвигали */
        margin-left: 0 !important; /* !important перебивает специфичные десктопные отступы */
        padding-top: 0 !important; /* Сбрасываем padding-top от десктопного li:not(.logo) */
        padding: 5px 0; /* Добавляем равномерный вертикальный отступ */
        width: 100%; /* Каждый пункт занимает всю доступную ширину */
    }

    /* ----- 3. Скрытие десктопного логотипа в NAV ----- */
    header nav li.logo {
        display: none !important; /* Скрываем весь li-элемент, содержащий логотип */
    }

    /* ----- 4. Настройка ссылок A (самих пунктов меню) ----- */
    header nav li a {
        display: block; /* Убеждаемся, что ссылка занимает всю ширину LI */
        padding: 10px; /* Увеличиваем кликабельную область */
        text-align: center; /* Центрируем текст */
        font-size: 22px; /* Немного увеличиваем размер для удобства */
        border-bottom: none !important; /* Убираем подчеркивание от hover, если оно есть */
    }
    
    header nav li a:hover {
        border-bottom: none; /* Убираем подчеркивание при наведении */
        color: #fff; /* Возвращаем цвет, чтобы не было 'hover' эффекта на мобильных */
    }


    /* ----- 5. Отображение и центрирование нового мобильного логотипа ----- */
    .mobile-logo {
        display: block; /* Делаем логотип видимым */
        margin: 20px auto 0; /* Центрируем по горизонтали и добавляем отступ сверху */
        text-align: center; /* Если логотип - это текст или строчные элементы */
        width: 80%; /* Ограничиваем ширину */
        max-width: 300px; /* Максимальная ширина, чтобы не был слишком большим */
    }
    
    .mobile-logo img {
        max-width: 100%; /* Убедимся, что изображение не выходит за пределы контейнера */
        height: auto;
    }

    /* ----- 6. Ваши существующие стили для 500px, которые вы уже добавили ----- */
    .slider .prev { left: 10px; } 
    .slider .next { right: 10px; } 
    .slider .viewport { height: 200px; width: 150px; } 
    .slider .overview li { width: 150px; height: 200px; } 
    .slider .overview li img { width: 150px; height: 200px; } 
    .slider .overview li .master-name { font-size: 16px; height: 40px; line-height: 40px; } 
    .slider .next, .slider .prev { top: 70px; } 
    .contacts .social { float: left; }
}

@media all and (max-width: 440px) { .prices .list .strig { float: none; width: 100%; height: 100%; padding: 15px; margin-bottom: 15px; } .prices .list .strig-gol { float: none; width: 300px; height: 300px; padding-top: 0; margin: 0; margin-bottom: 15px; } .prices .list .gol { width: 300px; height: 300px; padding-top: 0; } .prices .list .strig div, .prices .list .strig-gol div, .prices .list .gol div { padding-top: 10px; font-size: 16px; } .strig ul { list-style: none; padding: 0; margin: 0 auto; max-width: 600px; } .strig ul li { display: flex; justify-content: space-between; align-items: center; border-bottom: 1px solid rgba(255,255,255,0.2); padding: 6px 0; font-size: 18px; line-height: 1.4em; color: #fff; } .strig ul li:last-child { border-bottom: none; } .strig .price { font-weight: 600; font-family: monospace; white-space: nowrap; } }