@import "less/config.less"; @import "less/fonts.less"; @import "less/framework.less"; a { transition: .3s; } img { max-width: 100%; height: auto; } body { /* background: #fffffb url(../img/pergament.jpg) top center no-repeat; */ background: #fffffb; } .header-wrapper { padding-top: 12px; background: url(../img/header.png) top center no-repeat; } .content-wrap { background: url(../img/body-repeat.png) top center repeat-y; } .footer-wrapper { background: url(../img/footer.png) bottom center no-repeat; } .container { width: 1120px; margin: 0px auto; } .header { width: 1120px; position: relative; z-index: 20; } .logo { position: relative; z-index: 20; &-slogan { color: @brown; .helios; font-size: 11px; text-transform: uppercase; position: absolute; right: -110px; top:7px; } } .navigation { position: relative; z-index: 20; > ul { > li.current-menu-item, > li.current-menu-ancestor { > a { position: relative; z-index: 20; color: @violet; &:before { content:""; position: absolute; top:-18px; left: -14px; width: 18px; height: 27px; background: url(../img/check.png) no-repeat; } } } } li { display: inline-block; position: relative; margin-left: 25px; &:hover ul.sub-menu { display: block; } ul.sub-menu { position: absolute; width: 400px; padding-left: 0; display: none; z-index: 20; li { float: left; margin-right: 20px; margin-left: 0; position: relative; z-index: 20; &.current-menu-item a { color: @violet; } &:after { content:''; width: 1px; height: 12px; background: #000; position: absolute; right: -11px; top:3px; } &:last-child:after { background: transparent; } a { font-size: 12px; text-transform: none; } } } a { .bodon; font-size: 15px; text-transform: uppercase; text-decoration: none; color: #000; &:hover { color: @violet; } } } } .left-column { width: 370px; box-sizing: border-box; } .widget { margin-bottom: 30px; &-title { .aurora; border-bottom: 1px solid #000; color: @violet; font-size: 48px; line-height: 34px; text-indent: -10px; margin-bottom: 15px; width: 370px; } &.widget_text .widget-body { padding: 0; } &-body { padding: 0 5px; &.search { padding: 0; form {margin-top: 60px;} input[type="text"] { width: 314px; border:1px solid #000; border-right: none; line-height: 50px; color: @violet; font-size: 36px; box-sizing: border-box; padding: 0 15px; .aurora; .pull-left; border-radius: 2px 0 0 2px; background: transparent; } button { border:1px solid #000; background: transparent; .pull-left; padding: 13px; cursor: pointer; border-radius: 0 2px 2px 0; } } &.about_us { em { font-size: 16px; .georgia_i; } p { .georgia; font-size: 13px; margin: 10px 0; } a { color: @violet; } } &.calendar { time { color: @violet; .opensans; font-size: 12px; } img { box-shadow: 2px 2px 2px 0 rgba(0,0,0,0.5); border-radius: 3px; } p { margin: 5px 0 0; .georgia; font-size: 12px; line-height: 16px; a { color: @violet; &:hover { text-decoration: none; } } } } } } .right-column { width: 695px; margin-left: 55px; } .news-item { margin-bottom: 25px; img { padding: 3px; background: #fff; margin-top: 16px; } time { display: block; color: @brown; font-size: 11px; .georgia; } &_info { padding-left: 170px; } a { .opensans; font-size: 13px; color: #000; text-decoration: none; font-weight: bold; text-transform: uppercase; &:hover { color:@violet; } } p { color: #404040; .georgia; font-size: 13px; line-height: 16px; margin: 10px 0 0; } } .head-bottom { position: relative; height: 310px; .home_church { position: absolute; top:-25px; left: -75px; z-index: 2; } &.home:before { background: url(../img/home_bg.png) no-repeat; width: 800px; height: 460px; position: absolute; top:-90px; left: -91px; content:''; z-index: 1; } } .home { .side-navigation { margin-top: 55px; } } .side-navigation { width: 489px; height: 254px; position: relative; z-index: 10; background: url(../img/navi.png) no-repeat; padding: 20px 18px 0; box-sizing: border-box; ul { padding: 0; margin: 0; li { display: inline-block; margin-right: 15px; &.current-menu-item a { color: @violet; } a { .georgia; font-size: 11px; text-transform: uppercase; color: #000; line-height: 22px; &:hover { color:@violet; } } } } } .post-type-archive-clirique, .archive, .single, .page { .head-bottom:before { background: url(../img/arch_clirique_bg.png) no-repeat; width: 1000px; height: 270px; position: absolute; top:-90px; left: -33px; content:''; z-index: 1; } } .post-type-archive-clirique.archive h1 { margin-top: -160px !important; z-index: 10; } .single, .page { h1 {margin-top: 75px;} } .single-church, .post-type-archive-church, .tax-churches { .head-bottom:before { background: url(../img/churches_bg.png) no-repeat; width: 1000px; height: 270px; position: absolute; top:-100px; left: -61px; content:''; z-index: 1; } .church-contacts { border-bottom: 1px solid #424242; &:after { content:''; position: absolute; bottom:-6px; left: 50%; margin-left: -17px; width: 34px; height: 13px; background: url(../img/leaf.png) no-repeat; } } } .single-clirique { .head-bottom:before { background: url(../img/clirique_bg.png) no-repeat; width: 1000px; height: 270px; position: absolute; top:-83px; left: -6px; content:''; z-index: 1; } .church-contacts { &_title {margin-top: 20px;} } .sidebar { width: 460px; } .left-content { margin-right: 40px; } } .left-content { position: relative; z-index: 2; width: 610px; float: left; margin-right: 100px; margin-top: -200px; .clirique-thumb { background: url(../img/clirique_thumb.png) no-repeat; width: 323px; height: 322px; padding: 28px 15px 0; box-sizing: border-box; text-align: center; float: left; margin-right: 30px; position: relative; margin-bottom: 20px; img { max-height:267px; width: auto; -webkit-filter: grayscale(100%); filter: grayscale(100%); transition: 0.3s; &:hover { -webkit-filter: grayscale(0%); filter: grayscale(0%); } } &.clirique_uniq:before { content:''; width: 287px; height: 225px; background: url(../img/lupa2.png) no-repeat; position: absolute; bottom:-10px; right: -190px; z-index: 2; } } .georgia; font-size: 16px; color: #424242; h1 { .bodon; font-size: 26px; border-bottom: 1px solid #000; font-weight: normal; line-height: 26px; margin-bottom: 2px; z-index: 2; } .place { display: block; .helios; font-size: 18px; } .church-thumb { width: 417px; height: 489px; background: url(../img/thumb_bg.png) no-repeat; padding: 36px 0 0 32px; box-sizing:border-box; margin-bottom: -22px; img { border-radius:5px; -webkit-filter: grayscale(100%); filter: grayscale(100%); transition: 0.3s; &:hover { -webkit-filter: grayscale(0%); filter: grayscale(0%); } } } .church-contacts { position: relative; padding-bottom: 10px; margin-bottom: 20px; .church-contacts_title { font-size: 48px; color: @violet; } } table { margin-top: 5px; } td { padding-bottom: 6px; &:nth-child(2) { padding-left: 15px; } } h2, h4, h5, h6 { .georgia; font-size: 13px; text-transform: uppercase; color: #000; font-weight: normal; margin-bottom: 0; } h3 { .aurora; font-size: 48px; color: @violet; font-weight: normal; margin: 20px 0 10px; } p { margin-top: 5px; line-height: 22px; margin-bottom: 20px; } a { color: @violet; &:hover { text-decoration: none; } } } .sidebar { margin-top: -30px; float: right; width: 390px; .georgia; font-size: 13px; .side-title { .aurora; color: @violet; font-size: 48px; } .cliriques_list_all { ul { padding-left: 40px; margin-bottom: 40px; } } h3 { .georgia; font-size: 13px; text-transform: uppercase; font-weight: normal; } a { color: @violet; &:hover { text-decoration: none; } } ul { padding: 0; margin: 0; list-style: none; li { margin-bottom: 10px; } } .cliriques_list { padding-left: 100px; } .side_churches_list { position: relative; background: url(../img/churches_list_bg.png) -20px -5px no-repeat; padding: 55px 23px 5px; } } .nastoyatel { position: relative; margin-top: 35px; &:before { content:''; position: absolute; width: 287px; height: 225px; background: url(../img/lupa.png) no-repeat; top:-36px; left: -200px; } &_thumb { border-radius: 50%; float: left; width: 95px; height: 95px; margin:-20px 30px 0 -25px; } h3 { margin-top: 20px; } } .list-view { h1 { width: 700px; text-align: center; font-weight: normal; font-size: 81px; color: @violet; .aurora; position: relative; margin-top: -190px; &:before { content:''; position: absolute; width: 276px; height: 37px; background: url(../img/title-deco.png) no-repeat; left: 50%; bottom: -20px; margin-left: -138px; } } .archive_wrapper { display: flex; justify-content: space-around; flex-wrap: wrap; margin-top: 75px; .churches-list-item { width: 253px; margin-bottom: 25px; &_thumb { margin-bottom: 10px; span { position: relative; display: block; img { -webkit-filter: grayscale(100%); filter: grayscale(100%); transition: 0.3s; } &:hover img { -webkit-filter: grayscale(0%); filter: grayscale(0%); } &:before { position: absolute; content:''; width: 310px; height: 240px; background: url(../img/thumb_mask.png); top:-31px; left: -28px; z-index: 10; } } img { padding: 3px; background: #fff; box-shadow: 0 0 4px 0 rgba(0,0,0,0.5); } } &_info { text-align: center; .georgia; a { text-decoration: none; color: #000; font-size: 14px; &:hover { color: @violet; } } span { font-size: 11px; color: @violet; display: block; margin-top: 5px; padding-top: 10px; border-top: 1px solid #000; } } } } } .cliriques-list-item { width: 235px; .georgia; font-size: 13px; text-align: center; &_thumb { background: url(../img/cl_list_thumb.png) no-repeat; text-align: center; padding: 25px; box-sizing: border-box; img { -webkit-filter: grayscale(100%); filter: grayscale(100%); transition: 0.3s; &:hover { -webkit-filter: grayscale(0%); filter: grayscale(0%); } } } &_info { margin-bottom: 25px; a { color: @violet; text-decoration: none; } } } footer { padding: 145px 0 30px; margin-top: -125px; p { .georgia; font-size: 12px; } } .map-wrap { padding: 5px; background: url(../img/map_frame.png) no-repeat; position: relative; z-index: 10; #map { height: 416px; width: 1065px; } } .map-wrap_single { padding: 5px; background: url(../img/map_frame_small.png) no-repeat; #map { height: 229px; width: 376px; } } .gm-style .gm-style-iw strong { font-weight: bold; } .gm-style .gm-style-iw img { display: block; margin: 10px auto 0; } .category-vopros-svyashhenniku .news-item_info { padding-left: 0; p { margin-top: 0; } } .widget_ask {margin-bottom: 40px;} form#ask_question { input[type="text"] { width: 370px; border:1px solid #000; line-height: 50px; color: @violet; font-size: 18px; box-sizing: border-box; padding: 0 15px; .georgia; .pull-left; border-radius: 2px 0 0 2px; background: transparent; margin-bottom: 15px; } textarea { width: 370px; border:1px solid #000; line-height: 24px; color: @violet; font-size: 18px; box-sizing: border-box; padding: 0 15px; .georgia; .pull-left; border-radius: 2px 0 0 2px; background: transparent; margin-bottom: 15px; height: 100px; } button { background: @violet; .pull-left; padding: 13px; cursor: pointer; border-radius: 0 2px 2px 0; display: block; color: #fff; .georgia; font-size: 18px; text-align: center; border: none; width: 100%; margin-bottom: 15px; } } .notify { .georgia; font-size: 16px; text-align: center; &.error { color: #fc3a3a; } &.success { color: @violet; } } h1 {z-index: 10;} .gallery-item { box-sizing: border-box; padding: 0 10px; } img.alignleft { float: left; margin: 0 15px 10px 0; } img.alignright { float: right; margin: 0 0 10px 15px; } img.aligncenter { display: block; margin: 15px auto; } .post-type-archive-saints h1, .post-type-archive-clubs h1, .post-type-archive-school h1, .post-type-archive-shedule h1 { margin-top: -145px; margin-bottom: -10px; } .category h1 { margin-top: -145px; margin-bottom: 45px; } /* .gallery { br {display: none;} .gallery-item { width: 24% !important; } clear:right; } .single, .page { .left-content { width: 660px; margin-right: 50px; } .clirique-thumb.single { margin-right: 15px; margin-bottom: 14px; } } */ .wp-pagenavi { a { color: @violet; border-color: @violet !important; padding: 5px 7px 3px; &:hover { color: #000; border-color: #000; } } }