@import "vendor/lesshat"; @width: 1084px; .cf { &:before, &:after { content: " "; display: table; } &:after { clear: both; } } .regular { font-weight: 400; } .semibold { font-weight: 600; } .bold { font-weight: 700; } .container { width: @width; margin: 0 auto; } a { text-decoration: none; } .top-first-submenu { display: none; position: absolute; top: 28px; left: 0; padding: 0; width: 200px; background-color: #DA1617; z-index: 1; margin: 0; a { color: #fff; font-size: 14px; padding: 10px; display: block; &:hover { background-image: none; background-color: #A50B0C; } } } .top-second-submenu { display: none; position: absolute; top: 37px; left: 0; padding: 0; width: 200px; background-color: #0f8cf6; z-index: 1; margin: 0; a { color: #fff; font-size: 14px; padding: 10px; display: block; &:hover { background-color: #055598; } } } body { background: #101010 url("../img/bg.jpg") no-repeat fixed; font: normal normal 14px "Source Sans Pro", sans-serif; min-width: @width; .squares1 { background: url("../img/squares_1.png") no-repeat; display: block; width: 1161px; height: 435px; position: absolute; left: 50%; top: 70px; margin-left: -610px; } .squares2 { background: url("../img/squares_2.png") no-repeat; display: block; width: 604px; height: 727px; position: absolute; left: 50%; top: 300px; margin-left: -830px; } header { .container; background: url("../img/header_bg.png") no-repeat; height: 206px; position: relative; nav { position: relative; > ul { .cf; position: absolute; margin: 0; &:first-child { top: 37px; left: 160px; li a { .semibold; .border-top-right-radius(3px); .border-bottom-right-radius(3px); padding: 7px 23px 7px 28px; color: #640303; font-size: 16px; &:hover { background: #a50b0c url("../img/top_menu_bg_hover.png") no-repeat; color: #fff; } } } &:first-child { top: 37px; left: 160px; > li { position: relative; &:hover { > ul { display: block; } } &:hover, &.active { > a, > a.active { background: #a50b0c url("../img/top_menu_bg_hover.png") no-repeat; color: #fff; span:last-of-type { display: block; } } } > a { .semibold; .border-top-right-radius(3px); .border-bottom-right-radius(3px); padding: 7px 23px 7px 28px; color: #640303; font-size: 16px; &:hover { background: #a50b0c url("../img/top_menu_bg_hover.png") no-repeat; color: #fff; } } > ul { .top-first-submenu; li:hover ul { display: block; } ul { .top-first-submenu; display: none; background-color: #0474d3; left: 200px; } } } } &:last-child { top: 158px; left: 140px; > li { position: relative; &:hover { > ul { display: block; } } &:hover, &.active { > a, > a.active { background: #0865b3 url("../img/secondary_menu_bg_hover.png") center center no-repeat; border-top: 2px solid #055598; border-bottom: 2px solid #055598; color: #fff; span:last-of-type { display: block; } } } > a { color: #ffffff; font-size: 16px; padding: 15px; position: relative; span { &:first-of-type { font-size: 13px; } &:last-of-type { background: url("../img/secondary_menu_3d_bg_hover.png") no-repeat; position: absolute; right: -6px; top: -1px; width: 6px; height: 53px; display: none; } } } > ul { .top-second-submenu; li:hover ul { display: block; } ul { .top-second-submenu; display: none; background-color: #0474d3; left: 200px; } } } } > li { float: left; } } } > .micro-news { position: absolute; top: 83px; color: #fff; left: 180px; width: 740px; font-size: 12px; text-align: center; height: 15px; overflow: hidden; > div { position: absolute; top: 0; width: 100%; } } .social-networks { .cf; list-style-type: none; position: absolute; right: 55px; top: 20px; padding-left: 0; li { float: left; a { .bold; color: #380202; font-size: 24px; padding: 0 15px; &:hover { color: #fff; } } } } .logo { background: url("../img/logo.png") no-repeat; display: block; height: 119px; width: 119px; color: transparent; font-size: 0; position: absolute; top: 15px; left: 35px; } } .slider { .container; .bx-viewport { background: transparent; border: none; -moz-box-shadow: none; -webkit-box-shadow: none; box-shadow: none; li { img { margin: 0 auto; position: relative; left: -25px; } > div { position: absolute; left: 345px; top: 130px; background-color: #e5d0b5; color: #850304; font-size: 14px; height: 40px; padding: 5px 10px 0 0; strong { display: block; font-size: 16px; } > span { background: url("../img/slider_title_bg.png") no-repeat; width: 47px; height: 45px; display: block; position: absolute; left: -47px; top: 0; } } } } } .content { .container; .cf; .menu { background: url("../img/side_menu_bg.png") center center no-repeat; float: left; width: 308px; height: 433px; margin-top: -10px; > ul { padding-left: 85px; padding-top: 70px; list-style-type: none; position: relative; z-index: 1; > li { line-height: 1em; position: relative; &:hover ul { display: block; } a { color: #340202; font-size: 13px; display: block; padding: 7px; &:hover { background-color: #202020; color: #fff; } } ul { display: none; position: absolute; background-color: #860a0a; z-index: 1; padding: 20px 30px; margin: 0; left: 223px; width: 200px; top: 0px; list-style-type: none; } } } } .content { background-color: #202020; float: right; width: 736px; padding: 20px; margin-top: -10px; h1 { color: #fff; margin-bottom: 50px; } article { color: #fff; font-size: 12px; line-height: 1.6em; margin-bottom: 40px; &.main { margin-bottom: 60px; h2 { color: #a01b1b; } } h2 { .semibold; font-size: 18px; } small { color: #caa9a9; font-size: 12px; } .more { float: right; text-decoration: underline; color: #fff; } } } } footer { background-color: #101010; font-size: 12px; padding: 10px 0; margin-top: 90px; > div { .container; ul { .cf; float: right; list-style-type: none; li { float: left; a { padding: 0 5px; color: #5e5b5b; &:hover { text-decoration: underline; } } ul { display: none; } } } > div { color: #5e5b5b; strong { .regular; display: block; color: #fff; margin-bottom: 10px; } } } } }