/* 960 Grid System ~ Text CSS. Learn more ~ http://960.gs/ Licensed under GPL and MIT. */ @baseFont: 10pt Tahoma, sans-serif; @mainColor: #000000; @hmenu: #f6b800; @ha: #C95900; @bg: #ffffff; .linearGradient(@stop1:0, @color1:#ccc, @stop2:50%, @color2:#ddd, @stop3:100%, @color3:#ccc){ background:-webkit-gradient(linear, left bottom, left top, color-stop(@stop1, @color1), color-stop(@stop2, @color2), color-stop(@stop3, @color3)); background:-moz-linear-gradient(center bottom, @color1 @stop1, @color2 @stop2, @color3 @stop3); background:-o-linear-gradient(center bottom, @color1 @stop1, @color2 @stop2, @color3 @stop3); background:linear-gradient(center bottom, @color1 @stop1, @color2 @stop2, @color3 @stop3); } .border-radius (@radius: 5px) { border-radius: @radius; -moz-border-radius: @radius; -webkit-border-radius: @radius; } .border-left-radius (@radius: 5px) { -webkit-border-top-left-radius: @radius; //-webkit-border-bottom-left-radius: @radius; -moz-border-radius-topleft: @radius; //-moz-border-radius-bottomleft: @radius; border-top-left-radius: @radius; //border-bottom-left-radius: @radius; } .border-right-radius (@radius: 5px) { -webkit-border-top-right-radius: @radius; //-webkit-border-bottom-right-radius: @radius; -moz-border-radius-topright: @radius; //-moz-border-radius-bottomright: @radius; border-top-right-radius: @radius; //border-bottom-right-radius: @radius; } .border-left-bottom-radius (@radius: 5px) { //-webkit-border-top-left-radius: @radius; -webkit-border-bottom-left-radius: @radius; //-moz-border-radius-topleft: @radius; -moz-border-radius-bottomleft: @radius; //border-top-left-radius: @radius; border-bottom-left-radius: @radius; } .border-right-bottom-radius (@radius: 5px) { //-webkit-border-top-right-radius: @radius; -webkit-border-bottom-right-radius: @radius; //-moz-border-radius-topright: @radius; -moz-border-radius-bottomright: @radius; //border-top-right-radius: @radius; border-bottom-right-radius: @radius; } .noboxshadow { -webkit-box-shadow: none; -moz-box-shadow: none; box-shadow: none; } .notextshadow { -webkit-text-shadow: none; -moz-text-shadow: none; text-shadow: none; } .boxshadow (@shift-x: 2px, @shift-y: 2px, @radius: 2px, @strain: 0, @color: black) { -webkit-box-shadow: @shift-x @shift-y @radius @strain @color; -moz-box-shadow: @shift-x @shift-y @radius @strain @color; box-shadow: @shift-x @shift-y @radius @strain @color; } .transition (@duration: 0.2s) { -webkit-transition: all @duration ease-in-out; -moz-transition: all @duration ease-in-out; -o-transition: all @duration ease-in-out; -ms-transition: all @duration ease-in-out; transition: all @duration ease-in-out; } .columns(@col: 2) { -webkit-columns: @col; -moz-columns: @col; columns: @col; } /* `Basic HTML ----------------------------------------------------------------------------------------------------*/ body { font: @baseFont; color: @mainColor; line-height: 150%; //background: @bg url('../img/bg.png') no-repeat center 0px; } a { text-decoration: none !important; } .clear { float: none; height: 0px; clear: both; } .white-margin { width: 980px; margin: 0 auto; background: white; } .header { //background: #4579b0; color: white; height: 120px; .line { position: absolute; background: #9db7d2; height: 80px; width: 100%; margin-top: 20px; } .container { background: #4579b0; height: 120px; position: relative; } .logo { float: left; height: 120px; width: 380px; background: @bg; a#logo { display: block; height: 120px; width: 380px; background: #eef3f8 url('../img/logo.png') 5px 30px no-repeat; background-size: 315px 70px; margin: 0; } } .menu { float: right; display: flex; flex-direction: row-reverse; width: 560px; padding: 0; height: 120px; background: @bg; a { color: white !important; display: flex; flex-direction: column; align-items: center; justify-content: center; width: 1fr; height: 120px; flex: 1 1 0px; //float: right; margin-right: 10px; cursor: pointer; overflow: hidden; opacity: 0.8; .transition; &:first-child { margin-right: 0; } &:last-child { margin-left: 10px; } &#clients { background-color: #009276; } &#solutions { background-color: #4579B0; } &#services { background-color: #008ea0; } &#projects { background-color: #0085b4; } &#vacancies { background-color: #00923e; } &>div { font: normal 13pt Tahoma; text-align: center; //opacity: 0; .transition; &.active { opacity: 1; .transition; } } i { font-size: 32px; .transition; } &.active { .transition; opacity: 1; background-position-y: -10px !important; i { margin-top: -20px; .transition; } } } } .submenu { //.boxshadow(0, 0, 10px); opacity: 0.95; position: absolute; z-index: 1000; background: #4579b0; top: 140px; left: 400px; width: 520px; //height: 340px; padding: 20px 10px 20px; display: none; .transition; .column2 { .columns(2); } &.clients { .transition; background-color: #009276; } &.solutions { .transition; background-color: #4579B0; } &.services { .transition; background-color: #008ea0; } &.projects { .transition; background-color: #0085b4; } &.vacancies { .transition; background-color: #00923e; } a.item { display: block; padding: 15px 8px 15px 12px; //border: 1px solid rgba(255,255,255,0.25); margin: 3px; cursor: pointer; color: white; //height: 42px; float: left; width: 230px; overflow: hidden; h4 { font: bold 9pt Tahoma; margin-bottom: 5px; margin-top: 0px; } p { font: normal 8pt Arial; line-height: 115%; } &:hover { background-color: white; opacity: 0.9; } } .paginator { position: absolute; top: 370px; left: 465px; a { display: inline-block; border: 3px solid white; background: white; font: normal 40px Tahoma; line-height: 20px; padding: 0 5px 5px; text-align: center; opacity: 0.5; .transition; &.clients { color: #bf0000; } &.solutions { color: #4579b0; } &.services { color: #80007e; } &.projects { color: #008001; } &.inactive { cursor: default; opacity: 0.1; &:hover { opacity: 0.1; } } &:hover { opacity: 1; .transition; } } } } } .base { background: @bg; min-height: 420px; padding-top: 20px; p { padding: 10px 0; } h1 { padding: 20px; font-weight: normal; font-size: 16pt; } h2 { background: url('http://nc.wab-net.ru/bitrix/templates/store_light_blue_copy/css/../img/arrow_02.png') no-repeat right center #a2bcd7; height: 18px; padding: 8px 30px 8px 20px; color: white; font-weight: normal; font-size: 14pt; line-height: 100%; display: inline-block; } #Carousel { margin: 0px auto 40px; width: 940px; height: 450px; } .news { h4 { background: #bfdfbf; padding: 5px 0 5px 10px; font: normal 13pt Tahoma; } .datetime { padding-left: 10px; margin-top: 20px; } } .partners { hr { clear: both; } div { float: left; width: 200px; //height: 100px; padding: 0 20px 5px; display: block; margin-bottom: 10px; text-align: center; img { max-width: 200px; } } p { margin-left: 240px; } p:nth-child(2n+1) { margin-top: 0; padding-top: 0; font-style: italic; } p:nth-child(2n) { margin-bottom: 5px; padding-bottom: 0; } } } .footer { //background: #37618d; background: url('../img/footer_bg.png') repeat-y center 0px; margin-top: 20px; .bottom-logo { background: #5c7ea3; height: 354px; small { font-size: 70% !important; } } #qr { margin: 20px 0; padding: 10px; width: 295px; height: 295px; float: right; } .copyright { float: right; color: white; } menu { list-style: none; margin-top: 30px; color: #f0f4f9; padding: 0; font: 10pt Tahoma; li { margin: 0; a { width: 130px; display: block; color: #f0f4f9; padding: 5px 10px; &:hover { background: #5C7EA3; } } } } #socials { position: absolute; width: 40px; margin-left: 470px; margin-top: 20px; a { background: url('../img/socials.png') no-repeat; display: block; height: 40px; width: 40px; margin: 10px 0; &#vk { background-position: 0 -40px; &:hover { background-position: -40px -40px; } } &#facebook { background-position: 0 -80px; &:hover { background-position: -40px -80px; } } &#twitter { background-position: 0 0; &:hover { background-position: -40px 0; } } &#rss { background-position: 0 -120px; &:hover { background-position: -40px -120px; } } } } } .content { min-height: 345px; padding: 20px 0; .well { .noboxshadow; margin-left: 0px; padding: 10px; background: #EEF3F8; border-color: #DFE8F1; color: #08C; .notextshadow !important; &.slim { padding: 10px 0; margin-bottom: 0; margin-top: 20px; a .nowrap { white-space: nowrap; margin-right: 5px; overflow: hidden; .notextshadow !important; } a:hover { background: #739AC3; color: white; .notextshadow !important; } } .nav-header { color: #4579B0 !important; padding-bottom: 3px; display: block; font-size: 11px; font-weight: bold; line-height: 18px; text-transform: uppercase; } .divider { background-color: #DFE8F1; } } } ul.breadcrumb { margin: 0; border: none; color: white; font: normal 11pt Verdana; display: block; padding: 0; .border-radius(0); margin-left: 15px; li { padding: 8px 35px 8px 20px; height: 18px; margin: 0; .notextshadow; border: none; background: url('../img/arrow_02.png') no-repeat right center #739ac3; display: block; float: left; margin-left: -15px; &:nth-child(2) { background-color: #a2bcd7; } } a { color: white; } .divider { color: white; } } ul.breadcrumb2 { //margin: 20px 20px; margin: -5px 0px; border: none; color: white; font: normal 9pt Verdana; display: block; padding: 0; .border-radius(0); li { .notextshadow; border: none; background: #739ac3; &:hover { background: #a2bcd7; } } a { color: white; padding: 7px 15px; margin: 2px 0; display: block; } .divider { color: white; } } .partner-logo { height: 220px; width: 700px; display: table-cell; vertical-align: middle; text-align: center; img { max-width: 300px; max-height: 200px; } &.small { height: 160px; width: 460px; img { max-width: 180px; max-height: 120px; } } &.big { float: left; margin-right: 20px; margin-top: 20px; width: auto; } } .margin-0-20 { margin: 0 0px; } .paragraph { padding: 10px; text-align: justify; } a#shopcart { display: block; position: absolute; top: 25px; margin-left: 330px; width: 35px; height: 35px; background: url('../img/add_icons.png'); &:active{ background-position: 0 35px; } } a#search { display: block; position: absolute; top: 70px; margin-left: 330px; width: 35px; height: 35px; background: url('../img/add_icons.png'); background-position: 35px 0; &:active{ background-position: 35px 35px; } } .pull-left2 { float: left; margin-left: -20px; margin-bottom: 20px; width: 260px; } .row > .pull-left2 { margin-left: 20px; } .nav-tabs.nav-stacked > li > a { border-color: #DFE8F1; &:hover { color: white; background: #a2bcd7; border-color: #a2bcd7; } } .info-box { display: block; padding: 0 10px; border: 1px solid #DFE8F1; text-align: center; .border-radius; .partner-logo { width: 400px; } &:hover { border-color: #A2BCD7; } } #contacts { color: #f0f4f9; text-align: center; .contacts-header { display: block; padding: 20px 10px; font-size: 18pt; color: #f0f4f9; } } .contact-info { color: #f0f4f9; a.btn2 { display: block; height: 22px; width: 32px; margin: 5px 15px 0 0; background: #f0f4f9; color: #5C7EA3; float: left; .border-radius; padding: 0; text-align: center; font-size: 24px; padding: 4px 0; &:hover { background: white; } i { width: 32px; } } a { color: #f0f4f9; } ul { list-style: none; margin-left: 60px; &.sykt { margin-top: -15px; .indent { //text-indent: 40px; font-weight: normal; margin-left: 60px; } li:first-child { margin-bottom: 5px; } } &.big { font-size: 15pt; margin-bottom: 30px; width: 280px; li { line-height: 130%; display: flex; margin-bottom: 10px; justify-content: space-between; .phone { display: block; } a { color: #f0f4f9; } } } } } h3 { margin-bottom: 15px; } .news-item { .news-date-time { font-size: 80%; font-weight: bold; color: green; display: inline; padding-left: 15px; } .news-date { font-size: 80%; font-weight: bold; color: green; display: inline; } .news-title { font-weight: bold; text-transform: uppercase; margin-bottom: 5px; //display: inline; //background: #BFDFBF; //background: #a2bcd7; //background: #739ac3; background: rgb(231, 239, 248); padding: 5px 15px; a { color: black; //color: white; &:hover { text-decoration: underline !important; } } } .news-detail { //border-bottom: 1px solid #dbdbdb; margin-top: 10px; text-align: justify; //padding-left: 15px; } } .news-pager { float: right; margin-right: 20px; } #ymap { height: 300px; } .hidden { display: none !important; } div.photo-page-main #photo-main-page-right { height: auto !important; position: relative; } .photo-items-list { width: auto !important; } #photo-links-on-main-page { display: none; } #search-form { display: block; position: absolute; left: 375px; top: 63px; background: white; border: 2px solid #80c080; z-index: 999; padding: 10px; .border-radius; .boxshadow(2px, 2px, 10px, 0, gray); form { margin: 0; } #search-input { display: inline; } #search-submit { display: inline; } input { margin: 0; } } .subscribe-form { margin-left: 20px; label { display: inline; } } .subscribe-edit { label { display: inline; margin-left: 5px; } } img { max-width: none; } .carousel-inner { img { max-width: 100%; width: 660px; height: 430px; } .carousel-caption { top: 0; left: 660px; height: 430px; padding: 20px; background-color: #37618D; color: white; h4 { font-size: 22pt; font-family: Arial; font-style: italic; text-align: left; margin: 20px 0px; } p { font-size: 12pt; font-family: Tahoma; line-height: 130%; } ul { font-size: 11pt; font-family: Tahoma; line-height: 130%; li { margin: 5px 0; } } } } .partners hr { clear: both !important; } ul.nc-address { list-style: none; margin: 10px 0 10px 10px; //font-weight: bold; font-size: 11pt; li { line-height: 180%; } } table.nc-table { thead { th { white-space: nowrap; } } tr { td:nth-child(1) { white-space: nowrap; } } }