/* 1. Стили для самых обших и основных тэгов */ body, html { margin: 0; padding: 0; font-family: Tahoma, Arial, Sans-serif; } a {color: #073242;} a:hover {color: #6fa6c2;} .inactive_link {color: #c0c0c0} /* Цвет для временно неработающих ссылок */ h1 { margin: 0 0 0.5em 0; font-size: 20pt; font-weight: normal; color: #484848; } h1.italic, h2.italic { font-style: italic; } h2 { margin: 0 0 15px 0; padding: 0; font-size: 18pt; color: #422e38; font-weight: normal; } h3 { margin: 0 0 0.5em 0; padding: 0; font-size: 14pt; font-weight: normal; } img {border: 0} table { font-size: 12px; } /* 2. Контейнер, самый главный див, содержащий всю страницу и белая подложка. */ #container { height: 100%; margin: 0; padding: 0; min-width: 960px; width: expression((document.documentElement.clientWidth || document.body.clientWidth) < 960 ? '960px' : (document.documentElement.clientWidth || document.body.clientWidth) > 1600 ? '1600px' : '100%' ); min-height: 800px; font-size: 12px; line-height: 1.3; background-color: #484848; background-position: left top; background-repeat: repeat-x; } #white_layer { display: block; float: left; width: 100%; margin: 0; padding: 0; background: url('Decoration/$file/hat_bg.png') top left repeat-x white; } /* 3. Шапка */ #hat { float: left; width: 100%; margin: 0; padding: 0; background-position: left top; background-repeat: repeat-x; } #hat_upper { float: left; width: 100%; } #logo { float: right; position: relative; margin: 15px 2.08% 0 0; } #logo img {position: absolute; top: 0; right: 0;} #language { float: left; position: relative; right: 58px; top: 35px; margin: 0; } #language a {color: #6b0000;} #language a:hover {color: yellow;} /* 4. Основное меню */ /* 4.1.1. Стили для главной страницы и всяких общих случаев */ #menu { float: left; clear: left; width: 79%; display: inline-block; margin: 22px 0 0 1.04%; padding: 0; height: 50px; font-size: 14px; } #menu ul { float: left; width: 100%; margin: 0; padding: 0; list-style-type: none; } #menu ul li { display: inline-block; position: relative; float: left; height: 30px; line-height: 30px; margin: 0; padding: 0 0.9em; text-align: center; } #menu ul li p {display: inline; padding: 0;} #menu ul li#mainmenu_element1 {} #menu ul li#mainmenu_element2 {} #menu ul li#mainmenu_element3 {} #menu ul li#mainmenu_element4 {} #menu ul li#mainmenu_element5 {margin: 0;} /* 4.1.2. Стили для выпадающих списков. */ #menu ul li ul { /* Весь выпадающий список для выбранного элемента меню. */ position: absolute; display: none; top: 30px; left: 0; width: 100%; _width: auto; min-width: 180px; width: expression(this.offsetWidth < '180' ? '180' : 'this.offsetWidth'); margin: 0; padding: 1.5em 1em 1em 1em; list-style-type: none; font-size: 12px; background-color: #636363; background-position: bottom left; background-repeat: repeat-x; } #menu ul li:hover, #menu ul li.over {background-color: #636363;} #menu ul li:hover a, #menu ul li.over a {color: white;} #menu ul li:hover a:hover, #menu ul li.over a:hover {color: #bad4e1;} #menu ul li:hover ul, #menu ul li.over ul { display: inline-block;} #menu ul li:hover ul li, #menu ul li.over ul li {background-color: transparent;} #menu ul li ul li { /* Элемент выпадающего списка для выбранного элемента меню. */ float: left; clear: left; width: 95%; height: 20px; padding: 0; margin: 0 0 1em 0; line-height: 1.4; text-align: left; color: #c1c1c1; } /* 4.2. Стили для списка услуг */ #services_menu { float: left; clear: left; display: inline-block; width: 98%; height: 66px; margin: 20px 1.04% 0 1.04%; overflow: hidden; text-align: center; } #services_menu table { width: 100%; height: 66px; font-size: 16px; } #services_menu table td { text-align: center; background-repeat: no-repeat; } #services_menu table td.link { padding: 0; border-left: 1px solid #272727; background-repeat: repeat-x; } #services_menu table td#service_hosting { border-right: 1px solid #272727; } #services_bg_leftcorner { width: 26px; background: url('Decoration/$file/services_bg_left.png') top right no-repeat !important; } #services_bg_rightcorner { width: 26px; background: url('Decoration/$file/services_bg_right.png') top left no-repeat !important; } #services_menu table td a { display: inline-block; width: 100%; height: 66px; margin: 0; padding: 1.4em 0 0 0; color: white; font-family: Arial Narrow; text-decoration: none; } #services_menu_shadow { float: left; width: 95.84%; height: 34px; margin: 0 2.08% 0 2.08%; } #services_menu_shadow #shadow_leftside, #services_menu_shadow #shadow_rightside { float: left; width: 14px; height: 34px; } #services_menu_shadow #shadow_center { float: left; width: 97%; height: 34px; } /* 4.3. Стили для внутренних страниц */ /* Обычные версии */ .site_section_selected { color: white; } .site_subsection_selected a {color: white;} .subelement_selected { color: white; display: inline; } .servicepage_selected { height: 66px; padding: 1.4em 0 0 0; font-family: Arial Narrow; color: white; } /* Новогодние версии .blue_bg { background-position: left top; background-repeat: repeat-x; color: #ffffff; } .blue_bg_thin { background-position: left bottom; background-repeat: repeat-x; color: #ffffff; } */ /* 5. Приветствие (Блоки с инфой — три веселых гууусяяя) */ #greeting { float: left; width: 100%; margin: 0; padding: 0; min-height: 250px; height: expression(this.offsetHeight < '250' ? '250' : 'this.offsetHeight'); } #first_block { float: left; width: 31.25%; margin: 0 0 20px 1.04%; } #greeting_text { float: left; width: 100%; margin: 0; text-align: left bottom; } #second_block { float: left; width: 31.25%; margin: 0 2.08%; padding: 0; } #third_block { float: left; width: 31.25%; _width: 31%; margin: 0 1.04% 0 0; padding: 0; } #clients_list { float: left; width: 100%; padding: 0; margin: 0; } .clients_list_entry { float: left; width: 100%; margin: 0 0 3px 0; padding: 0; } .client_name { width: 100%; height: 55px; margin: 0; padding: 0 0 0 0; text-decoration: none; font-size: 12px; } .client_name img { float: left; width: 55px; vertical-align: middle; margin-right: 10px; } /* 5.1. Новости */ #infoblock { float: left; width: 100%; margin: 0; padding: 0; text-align: left; color: black; } #infoblock_projects_header { margin: 0 0 0 25px; font-size: 22px; text-align: left; } #infoblock_container { margin: 20px 0 0 0; } .info_entry { float: left; width: 100%; margin: 0 0 1.5em 0; padding: 0; } .infotext { width: 100%; margin: 0; padding: 0; text-align: left; } /* 6. Основная часть сайта — главная страница */ /* 6.1. О продуктах */ #page_body { float: left; clear: both; width: 100%; margin: 0; padding-top: 20px; background-color: white; } #products { /* Вся таблица с информацией о наших продуктах */ float: left; width: 100%; margin: 15px 0 0 0; padding: 0 0 10px 0; min-width: 800px; min-height: 150px; background-position: left bottom; background-repeat: repeat-x; } .product { float: left; width: 32%; height: 370px; vertical-align: top; } .product_image_holder { width: 100%; height: 250px; text-align: center; padding: 0 0 15px 0; } .product_image { height: 250px; vertical-align: bottom; margin: 0; padding: 0; } .product_image a{color: white; text-decoration: none;} .product_image a:hover{color: #53707c} .product_name { /* Название продукта */ margin: 0 auto; font-size: 14px; text-align: center; vertical-align: bottom; padding: 0 25px 0 25px; } .product_text_holder { /* Описание продукта, ячейка для текста */ float: left; width: 100%; margin: 7px 0 0 0; padding: 0; text-align: center; } .product_text { /* Описание продукта, сам текст */ width: 67%; margin: 0 auto; font-size: 12px; font-style: italic; color: #676767; text-align: left; } /* 7. Основная часть сайта — обычная страница */ #internal_page_body { /* Контейнер для центральной части внутренней страницы. */ float: left; clear: left; width: 100%; min-height: 450px; height: expression(this.offsetHeight < '450' ? '450px' : this.offsetHeight); margin: 0; padding: 0 0 25px 0; line-height: 1.5; background-color: white; } #plane_text_content { /* Блок для содержимого обычной страницы с текстом. */ float: left; width: 65%; min-width: 600px; margin: 0 0 45px 25px; } #plane_text_content table { /* Для таблиц в рич-текстовых полях страниц сайта. */ } #plane_text_content table td { /* Для ячеек таблиц в рич-текстовых полях страниц сайта. */ padding: 10px 5px; } #plane_text_content table td.thin_column { /* Для узких табличных колонок. */ padding: 0 50px 0 0; } #plane_text_content ul { /* Для списков в рич-текстовых полях страниц сайта. */ margin: 0 0 0 15px; padding: 0; } #plane_text_content ul li { /* Для элементов списков в рич-текстовых полях страниц сайта. */ margin-bottom: 14px; } #wide_content { /* Блок для содержимого широкой страницы (занимающей 100% ширины). */ float: left; width: 93%; margin: 0 0 45px 45px; } #categs_name{ font-size: 120%; font-weight: bold; } /* Для таблиц в рич-текстовых полях страниц сайта (если у страницы шаблон отличен от PlainText'а). */ table.simple_table { } /* Для таблиц в рич-текстовых полях страниц сайта (если у страницы шаблон отличен от PlainText'а). */ table.simple_table td { padding: 10px 5px; } /* 7.1. Меню в правой части страницы */ #right_menu { float: right; clear: right; width: 20%; margin: 0 25px 45px 0; } #right_menu ul { float: right: width: 5em; margin: 0; padding: 0; list-style-type: none; } #right_menu ul li { margin: 10px 0 3px 0; } #right_menu ul li a.boldfont_link { font-weight: bold; color: black; } .right_menu_selected_item { color: #484848; font-weight: bold; } .right_menu_selected_item a{ color: #484848; font-weight: bold; } #right_menu_images a img{ margin-top: 10px; } /* 7.2. Для страницы с полями для логина и пароля */ #logpass { width: 100%; margin-top: 90px; text-align: center; } #logpass input { margin-bottom: 10px; } /* 7.3. Для страниц проектов */ .screen_with_border { border: 1px solid #e3e3e3; } /* 7.4. Для таблиц с характеристиками техники */ .specifications ul{ list-style-type: none; } /* 8. Подвал */ #footer { clear: left; float: left; background-color: #484848; width: 100%; height: 115px; margin: 0; padding: 0 0 2em 0; font-size: 11px; color: #e4e4e4; background-position: left top; background-repeat: repeat-x; } #footer a{color: #a7dcfb} #footer a:hover{color: #d9fba7} #copyright { float: left; width: 31%; margin: 20px 0 0 25px; } #contact_info { float: left; width: 35%; margin: 20px -1px 0 0; height: 80px; padding: 0 1px 0 1px; line-height: 1.7; } #contact_info div { line-height: 1.4; } .footer_phone { font-size: 14px; } #search { float: right; width: 20%; margin: 20px 45px 0 0; padding: 0; } #request_input { /* Поле поиска */ float: right; } #request_input input { width: 150px; font-size: 11px; } #submit_button { /* Кнопка «Искать!» */ float: right; margin: -1px 0 0 10px; } #login_link { font-size: 11px; } #rambler_top100 { float: right; margin: 12px 57px 0 0; padding: 0; } /* 9. Динамические списки */ #dinamic_lists { width: 100%; float: left; margin-top: 20px; } #news_date { font-size: 14px; color: gray; margin: 0 0 25px 0; } /* 10. Результаты поиска */ .searchResult { background-color: #004D77; color: white; }