* {box-sizing: border-box;}
body {margin: 0; padding: 0; min-width: 350px; font-family: MyFont2,Verdana; font-size: 16px; color: #3e342f; background: #fff;}
body.dark-bgr {background: #fff; color: #000;}

body.mceContentBody { background-image: none; background: #fff;}
p { margin: 0 0 10px 0;}
img { border: none; }
a {color: #b8d0dc; text-decoration: none;}
a:hover { color:#8eb4c6; 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: 4px; padding: 5px;}
.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 MyFont; 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, #info, #footer, #info-top, #info-bottom, #menu {max-width: 1100px; /*min-width: 450px;*/ margin: 0 auto 0; padding: 0 20px; box-sizing: border-box;}

#info {display: flex; position: relative; width: 100%; margin: 0 auto; padding-top: 20px; padding-bottom: 20px;}
#info-top {position: relative; width: 100%; margin: 0 auto;}
#left {width: 400px;}
#right {width: 400px;}
#content {flex-grow: 1; position: relative; padding-right: 40px; vertical-align: top; line-height: 1.6;}
#content-top {padding-top: 15px;}
#info-bottom {margin-bottom: 40px;}

/* MENUs */
#menu {max-width: 100%; background: #3e342f; text-align: center; padding: 15px 35px;}
#menu ul {position: relative; bottom: 0; margin: 0; padding: 0;}
#menu ul li {display: inline-block; list-style: none; margin: 0 25px; padding: 0;}
#menu ul li:first-child {margin-left: 0;}
#menu ul li:last-child {margin-right: 0;}
#menu li.active a {color: #cfa55b;}
#menu a {color: #fff; font: normal 18px MyFont2; text-transform: uppercase; padding: 5px;}

/* MENU MOBILE */
#menu_mobile {display: none;}
.navbar {display: block; position: fixed; z-index: 5; top: 31px; left: 27px; background: rgba(0, 0, 0, .4); border-radius: 0px;}
body.default .navbar {position: absolute;}
.navbar .menu-left {padding: 19px 15px 16px; cursor: pointer;}
.navbar .menu-left svg {height: 20px;}
.navbar .menu-left:hover svg rect {fill: #f4f3ce;}

.drawermenu {width: 350px; left: -100%; padding: 60px 50px 50px; box-sizing: border-box; background: #35221e;}
.drawermenu .menu-logo {background: url(../images/logo_light.png) no-repeat; background-size: contain; width: 190px; height: 85px; margin-bottom: 20px;}
.drawermenu .icon-cancel-2 {position: absolute; top: 15px; right: 15px; font-size: 22px; cursor: pointer;}
.drawermenu a, body.dark-bgr .drawermenu a {display: block; font: normal 20px MyFont2; color: #fff; padding: 8px 0;}
.drawermenu a:hover {color: #f8f4d3; text-decoration: none;}
.drawermenu a.small {font: normal 16px MyFont2;}
.drawermenu-overlay {background-color: rgba(0,0,0,0);}
#menu-phones {margin-top: 30px;}
#menu-phones a {color: #fffee5;}
#menu-phones .phone {font-family: MyFont2_B; font-size: 23px;}
#menu-phones .logo_assol {margin-top: 20px; width: 60px;}
#menu-phones .logo_assol img {width: 100%; height: auto;}

.menu_admin {text-align: center;}
.menu_admin ul  {list-style: none; margin: 0; padding: 10px 0;}
.menu_admin ul li {list-style: none; display: inline-block; margin: 0 8px; padding: 0;}
.menu_admin ul li a {color: #ff0000;}
.menu_admin ul li a:hover {opacity: .8; text-decoration: none;}

.moduletable.logo_assol_group {text-align: center;}
.moduletable.logo_assol_group img {max-width: 100%; height: auto;}
/*
#top-bgr {position: relative; overflow: hidden;  width: 100%; height: auto; background: #fff;}
#top_right_bgr {position: absolute; top: 0; right: 0; background: url(../images/top_right_bgr.png) right top no-repeat; height: 515px; width: 267px; opacity: .1;}

#top {position: relative; display: flex; justify-content: center; align-items: center; height: auto; margin-bottom: 0; padding: 25px 45px 25px;}
#top a:hover {text-decoration: none; opacity: .8;}
#top > div {display: inline-block;}
#top #logo p {margin: 0;}
#top #top-left {font: normal 15px MyFont2; color: #fff;}
#top #top-left a {color: #fff;}
#top #top-right {float: right; font-size: 22px; line-height: 1.4;}
#top #top-right .phone {font-family: MyFont2_B;}
#top #top-right .email {font-size: 20px;}
#top #top-right .insta {margin-top: 8px;}
#top #top-right .insta a {color: #e5d8dd;}

#top-right {text-align: right;}
#top-right a {color: #fff;}
#top-right p {margin: 0;}
#top-right span.address {font-size: 24px;}
#top-right span.phones {font-size: 36px;}
*/

#lang {position: absolute; bottom: 20px; left: 0; z-index: 10;}
.mod-languages a {font-size: 15px; color: #fff;}
.mod-languages li {padding: 8px 2px 6px 6px; margin: 0 !important;}
.mod-languages li:last-child {padding-right: 6px;}
.mod-languages li.lang-active {background: url(../images/lang.png) repeat;}

#content img {max-width: 100%;}
#content h1 {font: normal 24px MyFont; margin: 0 0 22px 0; padding: 0 0 2px; letter-spacing: 0.06ex; color: #496311; text-decoration: none; border-bottom: 1px solid #949698; line-height: 1.6;}
#content h2, .mceContentBody h2 {font: normal 32px MyFont2_B; text-align: center; margin: 0 0 30px 0; padding: 0 0 30px; letter-spacing: 0.06ex; color: #000;}
#content .page-header h2, #content h2.item-title {}
#content h2 a, .mceContentBody h2 a {font-family: MyFont; 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 .blog .row-0 h2, #content .blog-featured .row-0 h2 {margin-top: 25px;}*/
/*#content .blog h2 {margin-top: 10px;}*/

h3, #content h3, .mceContentBody h3 {font: normal 26px MyFont; margin: 14px 0 10px; color: #d33327;}
#right h3 {display: block; margin: 0 0 10px;}
#content h3 {text-align: center;}
h3 span.bold {font-family: MyFont_B;}
#content h4, .mceContentBody h4 {font: normal 18px MyFont_Bold; margin: 14px 0 5px; color: #004d66;}
#content h5, .mceContentBody h5 {font: normal 16px MyFont_Bold; 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 .blog .items-leading > div {margin-bottom: 40px;}
#content .blog .items-leading > div: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: normal 18px MyFont; margin-bottom: 15px; list-style: none;}
#breadcrumbs ul { margin: 0; padding: 0;}
#breadcrumbs li {display: inline-block; margin: 0; padding: 0;}
#breadcrumbs .separator {margin: 0 3px;}
#breadcrumbs .divider {position: relative; margin: 0 3px;}
#breadcrumbs .divider img {position: relative; bottom: 3px;}
.showHere { color: #9a9a9a; }
.divider.icon-location {color: #9d9686;}

/* Assol Group PROJECTS */
.adv_ag_item {margin: 0 auto 20px; padding: 10px; border: 1px solid #cccccc; border-radius: 10px;}
.adv_ag_item .cck_art_title {margin: 10px 20px 15px; text-align: center; font: normal 24px MyFont_B; color: #b30000; text-transform: uppercase;}
.adv_ag_item .cck_adv_image img {display: block; margin: 0 auto;}
.adv_ag_item .cck_adv_text {text-align: center; line-height: 1.2;}
#content .adv_ag_item .cck_adv_text p {line-height: 1.2; margin-top: 25px;}

#ag_projects a {
	position: relative;
	display: block;
	width: 387px; 
	height: 130px; 
	margin-bottom: 12px; 
	border: 3px solid #000;
	border-radius: 12px;
}
#ag_projects a:hover {opacity: .8;}
#ag_projects a.num_1 {background: url(../images/tile_1.jpg); border-color: #4c3926;}
#ag_projects a.num_2 {background: url(../images/tile_2.jpg); border-color: #722a0e;}
#ag_projects a.num_3 {background: url(../images/tile_3.jpg); border-color: #1c5698;}
#ag_projects a.num_4 {background: url(../images/tile_4.jpg); border-color: #d30202;}
#ag_projects a.num_5 {background: url(../images/tile_5.jpg); border-color: #0d8d99;}
#ag_projects a.num_6 {background: url(../images/tile_6.jpg); border-color: #454545;}
#ag_projects a.num_7 {background: url(../images/tile_7.jpg); border-color: #005c5d;}
#ag_projects a.num_8 {background: url(../images/tile_8.jpg); border-color: #454545;}
#ag_projects a.num_9 {background: url(../images/tile_9.jpg); border-color: #454545;}
#ag_projects a .title {position: absolute; right: 0; bottom: 20px; padding: 7px 12px; background: #000; font: normal 18px MyFont2; color: #fff; z-index: 5;}
#ag_projects a.num_1 .title {background: #4c3926;}
#ag_projects a.num_2 .title {background: #722a0e;}
#ag_projects a.num_3 .title {background: #1c5698;}
#ag_projects a.num_4 .title {background: #d30202;}
#ag_projects a.num_5 .title {background: #0d8d99;}
#ag_projects a.num_6 .title {background: #454545;}
#ag_projects a.num_7 .title {background: #005c5d;}
#ag_projects a.num_8 .title {background: #161b27;}
#ag_projects a.num_9 .title {background: #1e77c9;}

#ag_projects hr {color: #888; margin: 25px 15px 25px 0;}
#ag_projects a.disabled-link {pointer-events: none; cursor: default; opacity: 0.6;}

/* КОНТАКТИ */
#contacts_left {display: inline-block; width: 30%; margin-right: 4%; vertical-align: top;}
#contacts_right {display: inline-block; width: 65%;}

/* CATEGORIES */
.article-info {margin: -20px 0 15px; padding: 0;}
.article-info dd {margin: 0; padding: 0; font: normal 14px MyFont; color: #857d6b;}

.clear {clear: both;}

#footer-bgr {width: 100%; background: #e3dedb;}

#footer .custom {position: relative; display: flex; justify-content: space-between; align-items: center; margin: 0 auto; padding: 45px 30px 42px; font: normal 15px MyFont2; color: #3e342f; letter-spacing: 0.06ex;}
#footer #f1 {padding-right: 30px;}
#footer #f2 div {display: inline-block;}
#footer #f2 .f_addr {position: relative; bottom: 5px;}
#footer #f3 {text-align: right;}
#footer p {margin: 0 0 0px; }
#footer a {color: #3e342f; font-size: 16px;}
#footer a:hover {text-decoration: none; opacity: .8;}
#footer .address {margin-top: 8px;}
#footer .address a {font-size: 15px;}
#footer .insta {margin-top: 8px;}
#footer .insta a {color: #c42d65;}
#footer .phone a {font-family: MyFont2_B;}
#footer td:first-child {padding-left: 0;}
#footer td:last-child {padding-right: 0;}


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-family: MyFont; font-size: 11px; letter-spacing: 0.1ex;}
#content .pagination ul {
  float: left;
  left: 50%;
  list-style: none outside none;
  margin: 0;
  padding: 0;
  position: relative;
}
#content .pagination ul li { float: left;  margin: 0 4px 2px 0; position: relative; right: 50%;}
#content a.pagenav {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-family: MyFont; font-size: 11px; letter-spacing: 0.1ex; padding: 4px 7px;}
#content a.pagenav:hover {background-color: #36669c; border: medium none; text-decoration: none;}
/* /НОМЕРА СТРАНИЦ */

/* ПОИСК РЕЗУЛЬТАТЫ */
.search-results .result-title {font: normal 15px MyFont_Bold; 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;}

#top-right [class^="icon-"], #top-right [class*=" icon-"] {margin-right: 8px; color: #153e5c;}
hr.footer-hr {border: 1px solid #689eb9; width: 400px;}

/* SLICK SAROUSEL */
.slick-slide {height: auto;}
.slick-slider_tab {max-width: 1000px; margin: 0 auto;}
.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_tab .slick-slider .slick-dots {bottom: 40px;}
.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: #5f3f29;}

.slick-slider_tab .slick-slide {height: auto; text-align: center; padding: 40px 90px 100px;}
.tab-link {display: inline-block; margin: 0 0 40px 0; padding: 8px 12px; background: #5f3f29; text-transform: uppercase; font: normal 16px MyFont2; color: #fff;}
.tab-link:hover {background: #375c77; text-decoration: none; color: #fff;}
.tab-img {height: 600px; background: no-repeat center; background-size: contain;}

.gallery_01 {position: relative;}
.slick-slider_g01 .slick-slide {height: auto;}
.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;}
.gallery_01 .cck_icon_edit {position: absolute; bottom: 20px; right: 20px;}
.slick-slider_g01 .slick-dots li button::before {color: #fff; opacity: .9;}
.slick-slider_g01 .slick-dots li.slick-active button::before {opacity: 1; color: #79d1e3;}
/* /SLICK SAROUSEL */

/* ============ SEBLOD ============= */
.cck-ptb {position: relative;}
.cck_icon_edit a {position: absolute; top: 8px; right: 10px;}
.cck_icon_delete a {position: absolute; top: 8px; right: 36px;}
.cck_icon_edit a:hover, .cck_icon_delete a:hover {text-decoration: none;}
#seblod_form .cck_forms {margin-bottom: 15px;}
#seblod_form .cck_forms .cck_label {float: left; width: 155px;}
.inline_blocks > div {display: inline-block; margin-right: 30px;}
aside.cck_cgx_button {width: 70px;}
div.cck_button {overflow: visible; }
div.cck_button.cck_button_add, div.cck_button.cck_button_drag {margin-left: 8px;}
#seblod_form .cck_group_x .cck_cgx_form {background: #f8f7f1; padding: 15px 10px 1px; margin-bottom: 10px; border-radius: 8px; float: none;}

@media screen and (max-width: 1000px) {
	#right {width: 40%;}
	#ag_projects a {width: 100%; min-width: 170px;}
}


@media screen and (max-width: 635px) {
	#info {flex-direction: column;}
	#content {width: 100%; padding-right: 0;}
	#right {width: 100%;}
}

@media screen and (max-width: 460px) {
	#footer .custom {flex-direction: column;}
	#footer #f2 {text-align: center;}
	#footer #f3 {margin-top: 20px; text-align: center;}
}

@media screen and (max-width: 380px) {
	h3 {font-size: 22px;}
}

@font-face {
    font-family: 'MyFont';
    src: url('../fonts/oswald-300.eot');
    src: url('../fonts/oswald-300.eot?#iefix') format('embedded-opentype'),
         url('../fonts/oswald-300.woff') format('woff'),
         url('../fonts/oswald-300.ttf') format('truetype'),
         url('../fonts/oswald-300.svg#oswald-300') format('svg');
    font-weight: normal;
    font-style: normal;
}
@font-face {
    font-family: 'MyFont_B';
    src: url('../fonts/oswald-600.eot');
    src: url('../fonts/oswald-600.eot?#iefix') format('embedded-opentype'),
         url('../fonts/oswald-600.woff') format('woff'),
         url('../fonts/oswald-600.ttf') format('truetype'),
         url('../fonts/oswald-600.svg#oswald-600') format('svg');
    font-weight: normal;
    font-style: normal;
}

/* montserrat-regular - cyrillic_cyrillic-ext_latin */
@font-face {
  font-display: swap; /* Check https://developer.mozilla.org/en-US/docs/Web/CSS/@font-face/font-display for other options. */
  font-family: 'MyFont2';
  font-style: normal;
  font-weight: 400;
  src: url('../fonts/montserrat-v26-cyrillic_cyrillic-ext_latin-regular.woff2') format('woff2'),
       url('../fonts/montserrat-v26-cyrillic_cyrillic-ext_latin-regular.ttf') format('truetype');
}

/* montserrat-700 - cyrillic_cyrillic-ext_latin */
@font-face {
  font-display: swap;
  font-family: 'MyFont2_B';
  font-style: normal;
  font-weight: 700;
  src: url('../fonts/montserrat-v26-cyrillic_cyrillic-ext_latin-700.woff2') format('woff2'),
       url('../fonts/montserrat-v26-cyrillic_cyrillic-ext_latin-700.ttf') format('truetype'); 
}


