@import url(https://fonts.googleapis.com/css?family=Roboto:400,500,700);

body {
	background:none;
	background-color: #fff;
	font-family:Roboto;
	color:#424242;
	background:url('/images/graybg.jpg') top center fixed;
}
.moduletable, .moduletable_menu {margin:0px;}

h1, h2, h3, h4,
#main h1, #main h2, #main h3 {
	font-family:Roboto!important;
	border:0px!important;
}

#main h1, #main h2, h1, h2,
.moduletable h3,
#main .items-leading h2 {
	text-transform:uppercase;
	font-size:24px!important;
	line-height:32px;
	color:#424242;
	margin:0px;
	padding:0px;
	font-weight:500;
	margin-bottom:20px;
}

#main h2, 
#main .items-leading h2 {
	font-size:20px!important;
	line-height:32px;
	text-transform:none;
}
#main {
	font-family:Roboto;
	color:#424242;
	font-size:16px;
	line-height:18px;
	padding-top:0px;
	padding: 20px;
background: #fff;
}

#main a {
	color:#000;
	text-decoration:none;
}
#main a:hover {
	text-decoration:underline;
}
.items-leading {
    padding: 0px 5px 10px;
}


/* Боковая панель */
#ag-leftblock {
	display:block;
	width:300px;
}


/* Горизонтальное выпадающее меню */
ul.menutop {
	list-style-type:none;
	padding:0px;
	margin:0px;
	display:flex;
	flex-wrap:nowrap;
	width:100%;
	justify-content:space-around;
}

ul.menutop li {
	display:inline-block;
	padding:0px;
	margin:0px;
	text-align:left;
	flex-grow:1;
	border-left:1px solid #000;
}
/*
ul.menutop li.item-144 {width:20%;}
ul.menutop li.item-171 {width:30%;}
ul.menutop li.item-172 {width:30%;}
ul.menutop li.item-155 {width:20%;}
*/
ul.menutop li a {
	background-color:transparent;
	color:#3B3B3B;
	display:block;
	text-decoration:none;
	font-family:Roboto;
	font-size:16px;
	letter-spacing:0px;
	line-height:38px;
	padding:0;
	margin:0;
	text-transform:uppercase;	
	transition:0.5s;
	box-sizing:border-box;
	text-align: center;
}
ul.menutop li ul, 
ul.menutop li ul li ul,
ul.menutop li:hover ul li ul,
ul.menutop li ul li:hover ul li ul {
	display:none;
	padding:0px;
	margin:0px;
}

ul.menutop li:hover ul {
	display:block;
	position:absolute;
	z-index:9999;
}
ul.menutop li ul li {
	display:block;
}
ul.menutop li:hover ul li a {
	width:150px;
}
ul.menutop li ul li:hover ul, 
ul.menutop li ul li ul li:hover ul {
	display:inline-block;
}
	/*уровень 1 - активный, при наведении*/
ul.menutop li:hover a,
ul.menutop li.active a {
	color:#fff;
	font-weight:normal!important;
	border-bottom:0px solid #000;
	background:#3B3B3B
}
	/*уровень 2 - неактивен при активном 1*/
ul.menutop li:hover ul li a,
ul.menutop li.active ul li a {
	background-color:#212121;
	color:#fff;
	text-align:left;
	padding:6px 0px 6px 10px;
	line-height:16px;
	text-transform:none;
	width:300px;
	border:0px;
}
	/*уровень 2 - активный, при наведении*/
ul.menutop li ul li:hover a,
ul.menutop li ul li.active a {
	background-color:#AA0A0A;
	color:#fff;
}
	/*уровень 3 - неактивен при активном 2*/
ul.menutop li ul li:hover ul li a,
ul.menutop li ul li.active ul li a {
	background-color:#ccc;
	color:#000;
	border-left:1px solid #555;
	text-align:left;
}
	/*уровень 3 - активный, при наведении*/
ul.menutop li ul li ul li:hover a,
ul.menutop li ul li ul li.active a {
	background-color:#555;
	color:#fff;
}
	/*уровень 4 - неактивен при активном 2*/
ul.menutop li ul li ul li:hover ul li a,
ul.menutop li ul li ul li.active ul li a {
	background-color:#fff;
	color:#000;
	text-align:left;
}
	/*уровень 4 - активный, при наведении*/
ul.menutop li ul li ul li ul li:hover a,
ul.menutop li ul li ul li ul li.active a {
	background-color:#555;
	color:#fff;
}



/* Боковое меню */
.moduletable_menu h3 {
	font-weight:normal;
	text-transform:none;
	color:#000;
	background:#fff;	
	margin:0px;
	padding:7px 4px 7px 25px;
	font-size:18px;
	line-height:!8px;
}
ul.menuleft {
	list-style-type:none;
	padding:0px;
	margin:0px;
	margin-bottom:10px;
}
ul.menuleft li {
	display:block;
	padding:0px;
	margin:0px;
}
ul.menuleft li a {
	font-family:Roboto;
	display:block;
	text-decoration:none;
	background:url('/images/li.png') left 12px no-repeat;
	background-color:#fff;
	border:0px solid #000;
	border-radius:0px;
	color:#E31E25;
	font-size:22px;
	letter-spacing:0px;
	margin:0px;
	padding:10px 0px;
	padding-left:40px;
	text-transform:none;	
	border-bottom:0px;
	transition:0.2s;
}
ul.menuleft li ul {
	height:0px;
	padding:0px;
	margin:0px;
	visibility:hidden;
	opacity:0;
}
ul.menuleft li.active a,
ul.menuleft li:hover a {
	color:#E31E25;
	background:url('/images/li.png') left 12px no-repeat;
	background-color:#fff;
	text-decoration:underline;
}



/* Навигация */
#main .ag-navig {
	font-size:14px;
	text-align:right;
	padding:10px;
}
#main .ag-navig a {
	text-decoration:none;
	font-size:14px;
	line-height:16px;
}
#main .ag-navig a:hover {
	text-decoration:underline;
}



/* Стандартный поиск Joomla */
.searchsrcj {
	display:block;
	margin-right:20px;
	margin-bottom:10px;
	background:#AA0A0A;
	padding:10px 10px 10px 48px;
}
.searchsrcj label {display:none;}
.searchsrcj input {
	background-color:#fff;
	border:0px;
	border-radius:5px;
	line-height:46px;
	color:#999;
	font-family:Roboto;
	font-size:18px;
	padding:0px 10px;
	box-sizing:border-box;
	width:calc(100% - 50px);
}
.searchsrcj input.buttonsrcj {
	padding:0px;
	background-color:transparent;
	width:46px;
}


/* Форма */
.bfRequired {display:none;}
.ag-form {padding:0px 10px;}
.ag-form input, .ag-form textarea {
	background-color:#fff;
	border:0px solid #ccc;
	border-radius:0px;
	color:#333;
	font-family:Roboto;
	font-size:18px;
	padding:15px;
	box-sizing:border-box;
	width:100%;
	margin-bottom:10px;
	box-shadow:0px 0px 4px #424242;
}
.ag-form input:focus, .ag-form textarea:focus {
	background-color:#fff;
	border:0px solid #000;
	color:#212121;
}
.ag-form .bfSubmitButton {
	display:block;
	background-color:#E31E25;
	border:0px solid #ccc;
	border-radius:0px;
	color:#fff;
	font-family:Roboto;
	font-size:18px;
	padding:15px;
	box-sizing:border-box;
	width:100%;
	transition:0.2s;
	text-transform:uppercase;
	margin-top:15px;
	font-weight:500;
	box-shadow:0px 0px 4px #424242;
}
.ag-form .bfSubmitButton:hover,
.ag-form .bfSubmitButton:focus {
	background-color:#424242;
	color:#fff;
}
#bfLabel31:after, 
#bfLabel32:after {
	content:" *";
	color:#E31E25;
} 



/* SlideshowCK слайдер */
	/* Вариант - отступы от края, круглые кнопки */
.camera_prevThumbs, .camera_nextThumbs, .camera_prev, .camera_next, .camera_thumbs_cont {
	border-radius:20px;
	margin:0px 20px;
	background:transparent!important;

}
.camera_commands {display:none;} 
.camera_black_skin .camera_commands > .camera_stop,
.camera_black_skin .camera_commands > .camera_play {
	display:none!important;
}

	/* Скрываем кнопку Stop/Play */
.camera_commands {display:none;} 
.camera_black_skin .camera_commands > .camera_stop,
.camera_black_skin .camera_commands > .camera_play {
	display:none!important;
}
	/* Точки-маркеры */
.slideshowck {margin-bottom: 0px !important;}
.camera_pag {margin-top:-56px;}
.camera_wrap .camera_pag .camera_pag_ul {text-align:center!important;}
.camera_wrap .camera_pag .camera_pag_ul li {background:#fff!important;}

	/* Надпись на слайдере (примечание - только одинарные кавычки в стилях и т.п.) */
.camera_target_content {text-align:right;}
.camera_caption > div {
	font-family:Roboto!important;
	background:none!important;
	background-color:trasparent!important;
	text-align:left;
	width:100%;
	max-width:1200px;
	margin:0px auto;
	margin-bottom:100px;
}
.camera_caption_title {
	font-size:36px!important;
	font-weight:bold;
	color:#3c3c3c;
	text-transform:uppercase;
}
.camera_caption_title span {
	text-shadow:0px 0px 3px rgba(127,127,127,0.9);
	font-size:36px!important;
	font-weight:bold;
	color:#d7b97c;
	text-transform:uppercase;
}
.camera_caption_desc {
	text-shadow:0px 0px 3px rgba(127,127,127,0.9);
	font-size:36px!important;
	font-weight:bold;
	color:#fff;
	text-transform:uppercase;
}
.camera_caption_desc div {
	font-size:60px!important;
}
.camera_wrap .camera_caption_desc a {
	display:block;
	line-height:60px;
	width:340px;
	text-align:center!important;
	border-radius:4px;
	font-weight:bold;
	font-size:16px!important;
	color:#383838!important;
	background:#d7b97c!important;
	text-shadow:none;
	text-decoration:none;
	margin-top:20px;
	transition:0.2s;
	text-transform:uppercase;
}
.camera_wrap .camera_caption_desc a:hover {
	color:#fefdf9!important;
	background:#b4915a!important;
	font-size:16px!important;
	line-height:60px;
	margin-top:20px;
}
.camera_wrap .camera_pag .camera_pag_ul li > span {
	border-radius:8px!important;
	height:16px!important;
	width:16px!important;
	left:0px!important;
	top:0px!important;
}
.camera_wrap .camera_pag .camera_pag_ul li:hover > span {
    background: rgba(227, 30, 37,0.5)!important;
}
.camera_wrap .camera_pag .camera_pag_ul li.cameracurrent > span {
    background: #E31E25!important;
}

/* Widgetkit accordion */

#main h3.toggler {
	padding:10px 10px 10px 20px;
	}
#main h3.toggler:before {
	content:"► "
}

#main h3.active:before {
	content:"▼ "
}

/* Галерея-слайдсет  - стиль gall */
.moduletablegall a[data-lightbox] img {
	width:26vw;
	max-width:380px;
	border-radius:13vw;
	border:6px solid #fff;
}

/* Галерея-плитка по ширине страницы  - стиль gallmain */
.moduletablegallmain a[data-lightbox] {
  width:20%;
  }
.moduletablegallmain #lightbox-overlay {
  z-index:10000;
  }
.moduletablegallmain #lightbox-wrap {
  z-index:10001;
  }
.moduletablegallmain .wk-gallery img {
}

/* Футер */
.ag-footer {
	font-size:16px;
	line-height:16px;
	color:#fff;
}
.ag-footer a {
	color:#fff;
	text-decoration:none;
}
.ag-footer a:hover {
	text-decoration:underline;
}


/* Стрелка вверх */
.ag-navtop {display:none;}
div.ag-navtop a {
	display:inline-block;
	position:fixed;
	bottom:10px;
	right:10px;
	font-size:20px;
	color:#000;
	text-shadow:0px 0px 4px rgba(127,127,127,0.5);
	text-decoration:none;
}
/* Технический блок */

.ag-tex {
	display:block;
	position:fixed;
	bottom:-500px;
}


/* Плавающее меню */
.ag-floya {
	box-shadow:0px 0px 2px rgba(127,127,127,0.5);
}


/* Центровка widgetkit */
.wk-gallery-wall > * {float:none;}
.wk-gallery-wall.margin {text-align:center;}


.ag-soc {
	display:inline-block;
	width:40px;
	height:40px;
	margin-right:8px;
}
.ag-soc.soc1 {background:url('/images/soc.png') left center no-repeat;}
.ag-soc.soc2 {background:url('/images/soc.png') -46px center no-repeat;}
.ag-soc.soc3 {background:url('/images/soc.png') -93px center no-repeat;}
.ag-soc.soc4 {background:url('/images/soc.png') -139px center no-repeat;}
.ag-soc.soc5 {background:url('/images/soc.png') -186px center no-repeat;}
.ag-soc.soc6 {background:url('/images/soc.png') -226px center no-repeat;}
.ag-soc.soc1:hover {background:url('/images/soch.png') left center no-repeat;}
.ag-soc.soc2:hover {background:url('/images/soch.png') -46px center no-repeat;}
.ag-soc.soc3:hover {background:url('/images/soch.png') -93px center no-repeat;}
.ag-soc.soc4:hover {background:url('/images/soch.png') -139px center no-repeat;}
.ag-soc.soc5:hover {background:url('/images/soch.png') -187px center no-repeat;}
.ag-soc.soc6:hover {background:url('/images/soch.png') -226px center no-repeat;}

.ap-slider {
	margin-top:-640px;
	position:relative;
	z-index:2;
	margin-left:auto;
	margin-right:0px;
	width:50vw;
	height:640px;
}

.ag-logo {
	font-size:14px;
	color:#424242;
	text-decoration:none;
}
.ag-logo img {
	display:block;
}
.ag-logof {
	font-size:14px;
	color:#fff;
	text-decoration:none;
}
.ag-logof img {
	display:block;
}

.indexhref {
	display:block;
	height:55px;
	width:69px;
	background:url('/images/main.png') center center no-repeat;
	background-color:#3B3B3B;
}

.ag-ic1, .ag-ic2, .ag-ic3,
.ag-ic1f, .ag-ic2f, .ag-ic3f {
	display:inline-block;
	text-align:left;
	padding:5px 20px 5px 36px;
	white-space:nowrap;
	color:#424242;
	font-size:14px;
}
.ag-ic1 {padding:0px 20px 0px 36px;margin-bottom:13px;}
.ag-ic2 {padding:0px 20px 0px 36px;line-height: 27px;
margin-bottom: 19px;}
.ag-ic3 {padding:0px 0px 0px 36px;}
.ag-ic2 a, .ag-ic3 a {
	text-decoration:none;
	color:#424242;
} 
.ag-ic1f, .ag-ic2f, .ag-ic3f,
.ag-ic2f a, .ag-ic3f a {
	color:#3B3B3B;
	text-decoration:none;
}
.ag-ic3 {
	font-size:24px;
	font-weight:bold;
	line-height:24px;
}
.ag-ic3 span {color:#E31E25;}
.ag-ic3 a {
	display:block;
	font-size:14px;
	line-height:22px;
	font-weight:normal;
	text-decoration:underline;
}
.ag-ic1 {background:urL('/images/ag-ic1.png') 6px center no-repeat;}
.ag-ic2 {background:urL('/images/ag-ic2.png') left top no-repeat;}
.ag-ic3 {background:urL('/images/ag-ic3.png') 6px top no-repeat;}
.ag-ic1f {background:urL('/images/ag-ic1.png') 6px center no-repeat;}
.ag-ic2f {background:urL('/images/ag-ic2.png') left center no-repeat;}
.ag-ic3f {background:urL('/images/ag-ic3.png') 6px center no-repeat;font-size:18px;font-weight:500;}

.ag-premh {
	color:#E31E25;
	font-size:22px;
	padding-left:70px;
	padding-top:45px;
	margin:10px 0px;
}
.ag-premh1 {background:url('/images/pr1.png') left bottom no-repeat;}
.ag-premh2 {background:url('/images/pr2.png') left bottom no-repeat;}
.ag-premh3 {background:url('/images/pr3.png') left bottom no-repeat;}

ul.actions {display:none;}

.searchsrc label {display:none;}
.searchsrc .inputboxsrc {
	box-sizing:border-box;
	border:none;
	border-left:1px solid #606060;
	line-height:38px;
	padding:0px 5px 0px 60px;
	width:calc(100% - 10px);
	background:none;
	background-color:transparent;
	font-family:Roboto;
	color:#3B3B3B;
	font-size:16px;
	float: left;
	background:url('/images/search.png') 20px center no-repeat;
	background-size:22px;
}
.searchsrc .inputboxsrc:focus {
	background:none;
	background-color:transparent;
	background:url('/images/search.png') 20px center no-repeat;
	background-size:22px;
	border-left:1px solid #606060;
	color:#3B3B3B;
}


/* слайдер */
.wk-slideset-default .sets {margin:0px;}
.wk-slideset .set {width: 90%!important;}
.wk-slideset-default > div:hover .prev {background:url('/images/ar-l.png') center center no-repeat;}
.wk-slideset-default > div:hover .prev:hover {background:url('/images/ar-l-h.png') center center no-repeat;}
.wk-slideset-default > div:hover .next {background:url('/images/ar-r.png') center center no-repeat;}
.wk-slideset-default > div:hover .next:hover {background:url('/images/ar-r-h.png') center center no-repeat;}

/* галерея на главной */
#galmain .wk-gallery-wall.polaroid {margin:0px;}
#galmain .wk-gallery-wall.polaroid > * {transform:none!important;transition:0s!important;}
#galmain .wk-gallery-wall.polaroid > :hover {box-shadow:none;}
#galmain .wk-gallery-wall.polaroid > * > div {padding:0px;box-shadow:none;border:0px;}
#galmain .wk-gallery-wall.polaroid p.title {
	display:block;
	margin:0px auto;
	width:100%;
	max-width:270px;
	text-decoration:none;
	font-family:roboto;
	font-size:24px;
	text-transform:uppercase;
	padding:10px 0px;
	color:#fff;
	background:#424242;
	font-weight:500;
	transition:0.2s;
}
#galmain .wk-gallery-wall.polaroid > * > div::before, .wk-gallery-wall.polaroid > * > div::after {display:none;}
#galmain .wk-gallery-wall.polaroid a {text-decoration:none;width:calc(100% / 4);}
#galmain .wk-gallery-wall.polaroid a img {
	border:0px solid #77CAF4;
	border-top:8px solid #9D9D9D;
	width:100%;
	height:auto;
	max-width:270px;
}
#galmain .wk-gallery-wall.polaroid a:hover, .wk-gallery-wall.polaroid a:hover p.title {color:#fff!important;}
#galmain .wk-gallery-wall.polaroid a:hover img {border:0px solid #166CCF;border-top:8px solid #E31E25;}
#galmain .wk-gallery-wall.polaroid a:hover p.title {
	color:#fff;
	background:#E31E25;
}
#galmain ul.set {
	display: block;
	margin: 0px auto;
	width: 90%;
}
#galmain ul.set li {
	width: 100%;
	margin: 0px auto;
}
#galmain .wk-gallery-wall.polaroid a {
	width: calc(100% / 4);
	float: left;
	margin: 0px;
	display: inline-block;
}
#galmain .wk-slideset-default article {margin:0px 40px;}

.ag-but {
	display:block;
	margin:20px auto;
	width:350px;
	padding:16px 0px;
	background:#E31E25;
	font-weight:500;
	font-size:18px;
	text-transform:uppercase;
	transition:0.2s;
	color:#fff;
	text-decoration:none;
}
.ag-but:hover {
	background:#424242;
}
.futheader {
	text-transform:uppercase;
	color:#3B3B3B;
	font-weight:500;
	white-space:nowrap;
	padding:0px 40px;
}
.futlinks a {
	color:#3B3B3B;
	font-size:16px;
	text-decoration:none;
}
.futlinks a:hover {
	text-decoration:underline;
}
.futlinks td {border-left:1px solid #3B3B3B;}



.camera_wrap .camera_pag .camera_pag_ul {
    max-width: 1320px;
    margin: 0px auto;
    text-align: left !important;
    display: inline-block;
	margin-left: 150px !important;
	float: left !important;
	padding: 0px 25px !important;
	background:url('/images/dot.jpg') center center repeat-x;
	position:relative;
	z-index: 3;
}
.camera_wrap .camera_pag .camera_pag_ul li {
	margin:20px 25px!important;
}

#main p {margin-bottom:20px;}
#main p:first-letter {color:#840004;}


.ag-logo img.logo50, .ag-logo img.logo0 {display:none;}



.wk-gallery-wall.polaroid a {display:inline-block;}
#main .wk-gallery-wall.polaroid a:hover p.title {color:#000!important;}
