@import url('https://fonts.googleapis.com/css2?family=Oswald:wght@200;300;400;500;600;700&display=swap');

body {margin: 0; padding: 0; width: 100%; min-width: 360px; font: 200 normal 15px Oswald; color: #ааа; background: #fff;}
body.home-page {}

body.mceContentBody { background-image: none; background: #fff;}
p { margin: 0 0 10px 0;}
img { border: none; }
a {color: #498cbe; text-decoration: none;}
a:hover { color:#4e91d3; text-decoration: underline; }
a img:hover {opacity: .9;}
table {border-collapse: collapse;}
hr {border: 1px solid #E3E7E8;}
#content hr {margin: 20px 0;}

/* ФОРМЫ и КНОПКИ */
button.button {margin: 10px 0 0 3px;}
input, textarea, div.cck_forms input.inputbox, div.cck_forms textarea.inputbox, div.cck_forms select.inputbox, div.cck_forms button.inputbox {border: solid 1px #a8a8a8 !important; border-radius: 3px; padding: 5px; box-sizing: border-box;}
.login-fields input#remember {margin-left: 0;}
input:hover, select:hover, textarea:hover { box-shadow: 0 0 12px #ebebeb inset;}
select {border: solid 1px #a8a8a8; border-radius: 4px; padding: 4px}
input.button {padding: 3px; margin-right: 5px;}
input.button:hover { box-shadow: 0px 0px 4px #a0a0a0;}
input.button:active { box-shadow: none;}
.login-fields label {display: inline-block; width: 130px;}
.login-fields input {margin-bottom: 10px;}
fieldset {padding: 0; margin:0; border: none; text-align: left;}
label#jform_email-lbl {display: block; margin-bottom: 10px;}

/* /ФОРМЫ и КНОПКИ */

/* ТАБЛИЦЫ */
table {border-collapse: collapse; border-color: #e6d2ae;}
table thead tr td {background: #7c1b08; font: normal 16px Oswald; color: #fff; padding: 8px 12px; letter-spacing: 0.06ex; text-align: left; vertical-align: center;	border-color: #fff;}
table tr:nth-child(even) {background: #e6d2ae;}
table.no-zebra tr:nth-child(even) {background: none;}
table td {border-color: #e6d2ae; padding: 3px 5px;}
#content table td p {margin: 0;}

#top-bgr {position: relative; width: 100%; height: auto; background: url(../images/top_bgr.jpg) no-repeat right; background-size: cover;}
#top {position: relative; display: flex; align-items: center; justify-content: space-between; flex-wrap: wrap; height: 270px; margin-bottom: 0; padding: 0 20px;}
#top-banner-left img, #top-banner-right img {width: 250px; height: 200px;}
#logo {position: relative; margin-top: -8px; display: flex; align-items: center; justify-content: center; flex-wrap: wrap; flex-direction: column;}
.moduletable.logo {position: relative; z-index: 5;}
#top-shadow {height: 25px; position: relative; background: url(../images/top_shadow.png) repeat-x;}

#top, #info, #footer {max-width: 1600px; min-width: 360px; margin: 0 auto 0; padding: 0 35px; box-sizing: border-box;}
#info-top {position: relative; margin: 0; text-align: center;}
#info {display: flex; flex-direction: row-reverse; justify-content: space-between; position: relative; margin: 5px auto 30px;}

#login-link {position: absolute; top: 0; right: 0;}
#login a {display: block; width: 35px; height: 35px;}

#admin-menu {text-align: center; background: #1257ac;}
#admin-menu ul {list-style: none; margin: 0; padding: 0;}
#admin-menu ul li {display: inline-block; margin: 3px 5px 7px;}
#admin-menu ul li a {padding: 1px 4px 3px; color: #fff; text-decoration: none; text-transform: uppercase; font: 400 13px Oswald;}
#admin-menu ul li a:hover {background: #fff; color: #1257ac;}

#right {width: 300px; margin-left: 30px;}
#right .moduletable {margin-bottom: 15px;}
.banners-right img {width: 300px; height: auto;}
.bannergroup.banners-right .banneritem {margin-bottom: 15px;}

#content {position: relative; flex-grow: 1; margin: 0; vertical-align: top;}
#content h1 {padding: 5px; font: normal 28px Oswald; color: #002a97; text-decoration: none; text-transform: uppercase; border-top: 1px solid #d90000; border-bottom: 1px solid #d90000; margin-top: 10px;}
#content h2, .mceContentBody h2 {font: 300 26px Oswald; margin: 10px 0 10px 0; padding: 0 0 2px; color: #3f0706;	font-weight: normal; text-transform: uppercase;}
#content h2 a, .mceContentBody h2 a {font-family: Oswald; font-size: 24px; color: #3f0706; text-decoration: none; font-weight: normal; letter-spacing: 0.06ex;}
#content h2 a:hover, .mceContentBody h2 { text-decoration: underline; border: none;}
#content h3, .mceContentBody h3 {font: 400 normal 25px Oswald; margin: 14px 0 20px; color: #1257ac; text-transform: uppercase;}
#content .last-ads h3 {text-align: center; border-top: 2px solid #d90000; border-bottom: 2px solid #d90000; margin-top: 30px;}
#content h4, .mceContentBody h4 {font: 400 20px Oswald; margin: 14px 0 5px; color: #1257ac;}
#content h5, .mceContentBody h5 {font: normal 16px Oswald; margin: 14px 0 5px; color: #004d66;}
#content ul li, .mceContentBody ul li, #content ol li {margin-bottom: 6px;}
#content p { margin: 0 0 10px 0; line-height: 1.5;}
#content .blog-featured .clearfix {margin-bottom: 40px;}
#content .blog-featured .clearfix:last-child {margin-bottom: 0;}
/*#content table p { margin: 0;}*/
span.handmade {padding-left: 15px; border-left: 3px solid #496311;}

#breadcrumbs {position: relative; width: auto; height: auto;  font: 200 normal 16px Oswald; margin-bottom: 4px; padding: 5px 10px; list-style: none; background: #eef1f2;}
#breadcrumbs ul { margin: 0; padding: 0;}
#breadcrumbs li {display: inline-block; margin: 0; padding: 0;}
#breadcrumbs .separator {position: relative; margin: 0 3px; bottom: 2px;}
#breadcrumbs .divider {position: relative; margin: 0 3px;}
#breadcrumbs .divider img {position: relative; bottom: 3px;}
.showHere { color: #9a9a9a; }
.divider.icon-location {color: #9d9686;}

.clear {clear: both;}

#footer { position: relative; margin: 0 auto; padding: 50px 30px 47px; font: normal 15px Oswald; color: #fff; letter-spacing: 0.06ex;}
#footer .custom {display: flex; justify-content: space-between; align-items: center; flex-wrap: wrap;}
#footer .footer_right {text-align: right;}
#footer table {margin: 0 auto; max-width: 1400px;}
#footer p { margin: 0 0 4px; }
#footer a {color: #fff;}
#footer-bgr {width: 100%; background: #7c1b08;}


textarea.wfEditor, textarea.wfNoEditor { font-size: 1.4em !important; }

/* НОМЕРА СТРАНИЦ */
#content div.pagination {margin-top: 20px; padding-bottom: 0; text-align: center;}
#content .pagination p.counter {font: normal 12px Oswald;}
#content .pagination ul {list-style: none outside none; margin: 0; padding: 0; position: relative;}
#content .pagination ul li {display: inline-block; margin: 0 4px 4px 0; position: relative;}
#content a.pagenav {display: block; background: none repeat scroll 0 0 #235389;  color: #FFFFFF;  font-weight: normal;}
#content span.pagenav {background: none repeat scroll 0 0 #8B9FB5; color: #D1DEE2;}
#content a.pagenav, #content span.pagenav {font: normal 14px Oswald; padding: 6px 12px;}
#content a.pagenav:hover {background-color: #396ca6; border: medium none; text-decoration: none;}
/* /НОМЕРА СТРАНИЦ */

/* ПОИСК РЕЗУЛЬТАТЫ */
.search-results .result-title {font: 300 normal 15px Oswald; border-bottom: 1px solid #949698; padding-bottom: 3px;}
.result-text {font-size: 13px;}
.result-url {margin-bottom: 20px; margin-top: 2px; font: italic 10px Verdana; color: #BBBBBB;}

/* ЧАСЫ И ДАТА под ЛОГО */
.moduletable.clock-date-module {position: absolute; bottom: 10px; right: 190px; /*width: 250px;*/ background: #1257ac; color: #fff; text-align: center; padding: 4px 10px 4px; transform: rotate(-3.7deg);}
.moduletable.clock-date-module .time {display: inline-block; width: 60px; text-align: left; font: 400 15px Oswald;}
.moduletable.clock-date-module .date {display: inline-block; text-align: right;}

/* ПЛИТКИ НА ГЛАВНОЙ */
.categories-list {display: flex; justify-content: space-between; align-items: flex-start; flex-wrap: wrap;}
.categories-list a {position: relative; width: 32.5%; height: 80px; background: #f5edd4; margin-bottom: 18px; box-sizing: border-box; padding: 10px 10px 10px 15px; border: 1px solid #1b47aa; -webkit-transition: all 0.15s ease-in-out; text-align: center;}
.categories-list a:hover {text-decoration: none; background-color: #ffd0a6;}
#content .categories-list a:first-child {width: 66.25%;}
.categories-list a > div {height: 100%;}
.categories-list a img {display: block; float: left; max-height: 95%; width: auto; margin-right: 20px;}
#content .categories-list h3 {display: flex; align-items: center; height: 100%; margin: 0; padding: 0; text-transform: uppercase; font: 300 25px Oswald;}
#content .categories-list h3 div {margin: 0 auto;}

/* SUBCAT */
.cat-children {display: flex; justify-content: space-between; align-items: flex-start; flex-wrap: wrap; margin-bottom: 15px;}
.cat-children a {position: relative; width: 32%; height: auto; background: #f5edd4; margin-bottom: 25px; box-sizing: border-box; padding: 5px 7px; line-height: 1; border: 1px solid #1b47aa; -webkit-transition: all 0.15s ease-in-out;}
.cat-children a:hover {text-decoration: none; background-color: #ffd0a6;}
#content .cat-children a p {margin: 0;}
.cat-children .category-desc {color: #2c6cbc; font-size: 14px;}
#content .cat-children h3 {margin: 0 0 4px; padding: 0 20px 0 0; text-transform: uppercase; font-size: 16px;}
.cat-children h3 span {position: absolute; right: 7px; top: 7px; font: normal 200 13px Oswald; padding: 3px 6px 3px 0; background: #2c6cbc; color: #fff; border-radius: 5px;}

body.sm-subcat .cat-children a {height: 40px; padding: 7px 10px; width: 32.5%; margin-bottom: 15px;}
body.sm-subcat .cat-children h3 span {right: 10px; top: 7px;}

/* HOME Last announcements, ALL announcements */
.newsflash, .blog .items-leading {display: flex; justify-content: space-between; align-items: flex-start; flex-wrap: wrap; }
.newsflash .news-item, .blog .items-leading div[itemprop="blogPost"] {position: relative; box-sizing: border-box; width: 49.5%; margin-bottom: 15px; min-height: 150px; background: #ebf0f5; padding: 12px 160px 8px 12px;}

.newsflash .news-item .cck_icon_delete_n1, .blog .items-leading .cck_icon_delete_n1 {position: absolute; top: 5px; right: 30px;}
.newsflash .news-item .cck_icon_edit_n1, .blog .items-leading .cck_icon_edit_n1 {position: absolute; top: 5px; right: 5px;}
.newsflash .news-item .cck_icon_delete_n1 a, .newsflash .news-item .cck_icon_edit_n1 a, .blog .items-leading .cck_icon_delete_n1 a, .blog .items-leading .cck_icon_edit_n1 a {display: block; background: #fff; padding: 2px 3px; font: normal 2px Verdana; border-radius: 3px;}

#content .newsflash .news-item h4, #content .blog .items-leading .page-header h2 {margin: 0 0 2px; padding: 0;}
#content .newsflash .news-item h4 a, #content .blog .items-leading .page-header h2 a {margin: 0 0 5px; padding: 0; display: block; font: 400 normal 17px Oswald; text-transform: uppercase; color: #3f0706; margin: 0; padding: 0; line-height: 1.3;}

.blog .items-leading .page-header {position: inline-block;}
.newsflash .news-item .cck_pict_main, .blog .items-leading .cck_pict_main {position: absolute; top: 0; right: 0; height: 150px; width: 150px;}
.newsflash .news-item .cck_pict_main img, .blog .items-leading .cck_pict_main img {width: 100%; height: auto;}

.price-phone {margin-top: 4px;}
.price-phone .cck_price, .price-phone .cck_phone, .price-phone .cck_phone2, .price-phone .cck_phone3 {display: inline-block; padding: 1px 5px 2px; border-radius: 5px; font: 400 normal 18px Oswald; color: #fff; margin-right: 7px;}
.price-phone .cck_price {background: #1257ac;}
.price-phone .cck_phone, .price-phone .cck_phone, .price-phone .cck_phone2, .price-phone .cck_phone3 {background: #40b700;}

[class^="icon-"]::before, [class*=" icon-"]::before {font-size: 13px; top: 0px;}
[class^="icon-"], [class*=" icon-"] {top: 0;}

.article-info {margin: 0 0 3px; padding: 0;}
.article-info dd {margin: 0; padding: 0; font: normal 300 13px Oswald; color: #857d6b;}
dd.parent-category-name, dd.category-name {display: inline-block; margin-right: 3px;}
.parent-category-name a, .category-name a {font: normal 200 11px Oswald; text-transform: uppercase; background: #cbd8e4; padding: 2px 3px; color: #333333;}
.parent-category-name a:hover, .category-name a:hover {text-decoration: none; background: #b0c5d7;}
.article-info dd.published {position: relative; float: left; margin-right: 7px; top: 2px;}
.article-info dd.hits {position: relative; float: left; margin-right: 7px; top: 2px;}
.cck_main_text {font-size: 17px; font-weight: 300;}

/* ITEM PAGE */
.item-page {width: 100%;}
.item-page .page-header {}
#content .item-page h2 {margin-bottom: 0px;}
.item-page .label-warning {font: 400 26px Oswald; color: #b30000; text-transform: uppercase;}
.item-page .article-info {margin-bottom: 15px;}
.item-page .cck_icon_delete_n1 {position: absolute; top: 8px; right: 0;}
.item-page .cck_icon_edit_n1 {position: absolute; top: 8px; right: 43px;}
.item-page .cck_icon_delete_n1 a, .item-page .cck_icon_edit_n1 a {padding: 5px 11px 6px; border: 1px solid #cccccc; border-radius: 4px;}
.price-phone {margin-bottom: 10px;}
.item-page .cck_icon_delete_n1 a:hover, .item-page .cck_icon_edit_n1 a:hover {background: #e4f2f8;}
.item-page .main_text_box {background: #f2f2ec; padding: 8px 10px 12px; margin: 0 0 20px;}
#content .item-page h4 {font: 400 22px Oswald; margin: 0 0 5px; color: #1257ac;}
.item-page .html5gallery {background: #f2f2ec; }

/* SLICK SAROUSEL */
.draggable {cursor: grab;}
.draggable:active {cursor: grabbing;}
body .slick-slider.slick-dotted {margin-bottom: 0;}
.slick-slider .slick-prev {left: 25px; z-index: 2; width: auto; height: auto;}
.slick-slider .slick-next {right: 25px; width: auto; height: auto;}
.slick-slider .slick-prev::before, .slick-slider .slick-next::before {font-size: 50px; color: #2d5050;}
.slick-slider .slick-dots {position: absolute; bottom: 30px;}
.slick-slider .slick-dots li button::before {color: #cfd6d6; font-size: 16px; text-shadow: 0px 0px 1px #fff; opacity: .5;}
.slick-slider .slick-dots li.slick-active button::before {opacity: 1; color: #394b4b;}

.gallery_01 {position: relative; width: 100%; max-width: 700px;}
.slick-slider_g01 .slick-slide {}
.slick-slider_g01 .slick-slide img {width: 100%;}
.slick-slider_g01.slick-slider .slick-prev::before, .slick-slider_g01.slick-slider .slick-next::before {color: #fff;}
.slick-slider_g01 .slick-dots li button::before {color: #dddddd; opacity: .9;}
.slick-slider_g01 .slick-dots li.slick-active button::before {opacity: 1; color: #394b4b;}
/* /SLICK SAROUSEL */

/* EXCHANGE */
#seblod_form .exchange_form .cck_exch_usd_purchase, #seblod_form .exchange_form .cck_exch_usd_sell, #seblod_form .exchange_form .cck_exch_euro_purchase, #seblod_form .exchange_form .cck_exch_euro_sell, #seblod_form .exchange_form .cck_exch_rub_purchase, #seblod_form .exchange_form .cck_exch_rub_sell {width: auto; clear: both; display: inline-block; float: left; margin-right: 10px;}
#seblod_form .exchange_form .cck_radio {width: auto; float: left;}
#seblod_form .exchange_form .cck_label, #seblod_form .exchange_form .cck_form_text {float: left; margin-right: 15px;}
#seblod_form .exchange_form .cck_label_text {width: 100px;}
#seblod_form .exchange_form #cck1r_form_art_title.cck_form_text {float: none;}

.exchange {position: relative; padding-bottom: 0; background: #F8F1E7; opacity: .95; width: 300px;}
#top .exchange p {margin: 2px 0; padding: 0; }
.exchange .edit {position: absolute; top: 27px; right: 3px;}
#top-right .exchange .edit a {color: #00468c;}
.exchange .tr_block > div {display: inline-block; width: 32%;}
.exchange .tr_block > div:first-child {width: 36%;}
.exchange .inline_b > div {display: inline-block;}
.exchange .title_main {padding: 3px 10px; text-align: left; background: #164d98; font: 400 16px Oswald; color: #fff; text-align: center; text-transform: uppercase;}
.exchange .date {padding: 0px 10px 2px; background: #b8cbe4; font: 200 14px Oswald; color: #4b0101; text-align: center;}
.exchange .tr_block, .exchange .date {padding-left: 12px;}
.exchange .titles_block {font: 200 16px Oswald; padding-top: 3px; color: #4b0101;}
.exchange .exch_block {font: 400 16px Oswald; }
.exchange .titles_block, .exchange .exch_block {line-height: 0.9;}
.exchange .exch_title {color: #4b0101;}
.exchange .inline_b .purch, .exchange .inline_b .sell {margin-right: 3px;}
.exchange .inline_b .purch_change, .exchange .inline_b .sell_change {font: normal 15px verdana; padding: 0 1px;}
.exchange .inline_b .green {color: #4a8e00;}
.exchange .inline_b .red {color: #af0000;}
.exchange .inline_b .blue {color: #164d98;}

/* VI NEWS Scroller FORM*/
#seblod_form .vertical_gx .cck_form_group_x {position: relative; float: none; display: inline-block; background: #f5f4eb; margin: 0 15px 15px 0; padding: 4px 8px 8px;}
#seblod_form div.cck_cgx_form {float: none;}
aside.cck_cgx_button {float: none; position: absolute; top: 4px; right: 8px;}
#seblod_form div.cck_button {overflow: visible;}
#seblod_form .cck_page_form div.cck_cgx_form .cck_forms {margin-bottom: 0;}

/* TEXT-SCROLLER */
.moduletable.vi_news {position: relative; top: 0; margin-bottom: 25px; padding: 3px 0; border-top: 3px solid #d90000; border-bottom: 3px solid #d90000;}
.moduletable.vi_news .cck_icon_edit {position: absolute; right: 7px; top: -27px;}
#text-scroller_box span {font: bold 22px verdana; color: #ff8000; line-height: 1;}
#text-scroller_box span a {display: inline-block; font: normal 18px Verdana; color: #40b700; margin: 0 8px; padding: 3px 6px 5px; line-height: 1;}
#text-scroller_box span a:hover {text-decoration: none; background: #ecf2fb; color: #aa2427; }

/* ADD ANNOUNCEMENT BUTTON*/
.moduletable.button-add {display: inline-block; margin: 0 25px 10px; text-align: center;}
.moduletable.button-add a {display: inline-block; background: #318900; padding: 6px 10px 8px; text-align: center; color: #fff; text-transform: uppercase; font: 400 22px Oswald; box-shadow: 0px 0px 3px #555555; border-radius: 5px; line-height: 1.2;}
/*.moduletable.button-add a span {font-size: 44px;}*/
.moduletable.button-add a:hover {text-decoration: none; background: #40b700;}
.moduletable.button-add a img {display: inline-block; position: relative; bottom: -7px;}
.moduletable.button-add a img:hover {opacity: 1;}

/* SEARCH */
.search-field {display: inline-block; position: relative; top: -2px; margin-bottom: 10px;}
.search-field .search-query {height: 40px; font-size: 15px; margin: 0;}
.search-field .btn-primary {position: relative; top: 2px; background: #245aaa; border-radius: 0; border: 0; height: 40px; color: #fff; font: 300 18px Oswald; margin-left: 3px; padding: 0 10px;}
.search-field .btn-primary:hover {cursor: pointer; background: #1e498a;}

/* UNPUBLISHED */
#unpublished .cck-odd div, #unpublished .cck-even div {display: inline-block; margin-right: 5px;}

 /*  SEBLOD  */
.cck_form.cck_form_jform_category option[value="2"], .cck_form.cck_form_jform_category option[value="8"], .cck_form.cck_form_jform_category option[value="9"] {display: none;}
.cck_value_textarea {line-height: 1.2;}

#seblod_form .cck_page_form .cck_forms {margin-bottom: 15px;}
#seblod_form .cck_page_form .inputbox.file {margin-bottom: 4px;}

#seblod_form .cck_button_save_close, #seblod_form .cck_button_cancel {display: inline-block;}
#seblod_form .cck_button_save_close button, #seblod_form .cck_button_cancel button {padding: 6px 9px;}
#seblod_form .cck_button_save_close {margin-right: 15px;}

@media screen and (max-width: 1600px) {
	.cat-children a {width: 49%; margin-bottom: 15px}
}

@media screen and (max-width: 1490px) {
	#logo {width: 50%; padding: 5px 20px;}
	#logo img {width: 100%; height: auto;}
	.moduletable.clock-date-module {position: relative; bottom: unset; right: unset; transform: none; padding-top: 2px;}
	.newsflash .news-item, .blog .items-leading div[itemprop="blogPost"] {width: 100%;}
}

@media screen and (max-width: 1300px) {
	.categories-list a {width: 49%;}
	#content .categories-list a:first-child {width: 49%;}
}

@media screen and (max-width: 1180px) {
	#top {height: 230px;}
	#logo {width: 40%}
	#content .categories-list h3 {font: 300 20px Oswald;}
	body.sm-subcat .cat-children a {width: 49%;}
}

@media screen and (max-width: 1000px) {
	#top, #info, #footer {padding: 0 20px;}
	#top {box-sizing: border-box; height: auto; padding: 15px 20px; justify-content: center;}
	#logo {width: 100%; order: 1; margin: 0; padding: 0;}
	#logo .logo {max-width: 700px;}
	#top-banner-left, #top-banner-right {order: 2; margin: 20px 10px 0;}
	#content .categories-list a, #content .categories-list a:first-child {width: 49%;}
	.categories-list a {height: 60px; margin-bottom: 8px; padding: 10px 10px 10px 15px;}
	#content .categories-list h3 {font: 300 20px Oswald; line-height: 1.2;}
	#content .categories-list h3 div {/*display: block; float: right; text-align: right; margin: 0;*/}
}

@media screen and (max-width: 940px) {
	textarea, .cck_art_title input, .cck_art_catid select {width: 100%;} 
}

@media screen and (max-width: 910px) {
	.categories-list a {height: 45px; margin-bottom: 5px; padding: 7px 7px 7px 10px;}
	#content .categories-list a, #content .categories-list a:first-child {width: 100%;}
	body.sm-subcat .cat-children a {width: 100%; margin-bottom: 8px;}
}

@media screen and (max-width: 800px) {
	#info {display: flex; flex-direction: column-reverse; align-items: center; justify-content: center;}
	#right {margin-left: 0; margin-top: 25px;}
	.search-field div.mod_search111 input[type="search"] {width: 260px;}
}

@media screen and (max-width: 420px) {
	.newsflash .news-item, .blog .items-leading div[itemprop="blogPost"] {padding: 12px;}
	.price-phone .cck_price {margin-bottom: 3px;}
	.newsflash .news-item .cck_pict_main, .blog .items-leading .cck_pict_main {position: relative; float:right; height: 120px; width: 120px; margin: 5px 0 5px 8px;}
}

