* {
margin:0;
padding:0;
}

aside, footer, address, section, nav, header {
display:block;
}

img, iframe, video, embed, table {
max-width:100%!important;
}

fieldset, a img, img a {
border:none;
text-decoration:none;
}

input, textarea {
max-width:95%;
}

/* Tipo  */

h1 {
font-size:2.2em;
color:#666;
padding:0 0 0.5em 0;
}

h2 {
font-size:2em;
color:#666e8c;
padding:0 0 0.5em 0;
font-weight: normal;
line-height: 1.3;
}

h3 {
font-size:1.875em;
color:#333;
padding:0.5em 0;
font-weight: normal;
}

h4 {
font-size:1.6em;
color:#333;
padding:0.5em 0;
}

h5 {
font-size:1.3em;
color:#333;
padding:0.5em 0;
}

h6 {
font-size:1em;
color:#333;
font-weight:bold;
padding:0.5em 0;
}

p {
font-size:1.1rem;
color:#333;
padding:0 0 0.7em 0;
line-height: 1.4;
}

ol, ul {
font-size:1.1rem;
color:#111;
padding:0.5em 20px;
}

.main li {
padding:0 0 0.3em 0;
}

table {
font-size:1.1rem;
color:#333;
}

blockquote {
padding:10px;
background:#eee;
border:1px solid #ccc;
margin:0 0 1em 0;
}

a, .main .banner a {
color:#4475ac;
text-decoration:underline;
}

a:hover, .main .banner a:hover {
text-decoration:none;
}

table.category  td {
padding:0.3em 0;
}

table.category a {
text-decoration:none;
}

table.category a:hover {
text-decoration:underline;
}

pre {
overflow:auto;
font-size:1em;
color:#555;
background:#eee;
padding:1em 2%;
border:1px solid #ddd;
border-radius:4px;
}

dt{
font-weight: bold;
}

/*  Layout  */

#page {
line-height:1.5;
} 

.layout {
margin:0 auto;
overflow:hidden;
background: rgba(255,255,255,0.95)
}

.topmenu {
text-align:right;
padding:0.3em 10px;
overflow:hidden;
}

.topmenu ul, #menu ul {
padding:0;
}

.topmenu li {
float:right;
padding:0 0 0 20px;
list-style:none;
}

.topmenu a {
text-decoration:none;
}

.topmenu a:hover {
text-decoration:underline;
}

#header {
overflow:hidden;
padding:0.5em 0;
}

#header a {
text-decoration:underline;
}

#header a:hover {
text-decoration:none;
}

#header .box3 {
width:31%;
padding:0 1%;
overflow:hidden;
float:left;
}

#logo img {
display:inline;
float:left;
padding:0 3% 0 0;
}

.logodesc {
font-size:1.5rem;
line-height:1.3;
display: inherit;
}

#geo, #contact {
text-align:center;
}

#geo span {
font-size:1.3rem;
display: block;
}

span.tel {
display:block;
}

#header span.tel a {
text-decoration:none;
}

span.worktime, #geo a {
font-size:1.1rem;
}

#menu {
overflow:hidden;
padding:0.5em 0;
}

#menu li {
float:left;
list-style:none;
}

#menu a {
text-decoration:none;
}

#menu li.parent>a::after {
content:"▼";
display: inline-block;
padding-left:4px;
font-size:70%;
}

#menu li.parent > ul {
display:none;
}

#menu li.parent>ul li {
float:none;
}

#menu li.parent:hover > ul {
display:block;
position:absolute;
z-index:999;
padding:0;
}

#menu li.parent > ul li {
padding-top:0.5em;
padding-bottom:0.5em;
}

#content {
overflow:hidden;
padding:1em 0;
}

.banner {
margin:1em 0;
clear: both;
}

.main {
width:49%;
float:left;
}

#footer {
overflow:hidden;
}

#debug {
background:#222;
text-align:center;
color:#ccc;
padding:0.5em 0 0 0;
}

#debug a {
color:#eee;
text-decoration:underline;
}

#debug a:hover {
text-decoration:none;
}

#debug p {
color:#ccc;
}

/*  Разные макеты */

#layout_m {
width:97%;
padding:0 1.5%;
}

#layout_mr {
padding:0 0 0 1.5%;
}

#layout_mlr {
padding:0 2.5% 0 1.5%;
}

.nomargin {
margin-right:0!important;
}

/*  Модули   */

.moduletable, .moduletable_orange, .moduletable_grey {
padding:0 5% 2em 5%;
margin-bottom: 2em;
}

.moduletable h3, .moduletable_orange h3, .moduletable_grey h3 {
padding:0 0 0.5em 0;
font-size:1.875rem;
font-weight:normal;
}

.moduletable ul, .moduletable_orange ul, .moduletable_grey ul {
padding:0;
}

.moduletable li, .moduletable_orange li, .moduletable_grey li {
list-style:none;
}

.moduletable a {
font-size:1.2rem;
color:#303030;
text-decoration:none;
}

.moduletable a:hover {
text-decoration: underline;
}


/*   Суффиксы   */


.moduletable li, .moduletable_grey li, .moduletable_orange li {
padding:0 0 0.2em 0;
}

.menu_link a {
text-decoration: underline;
}

.menu_link a:hover {
text-decoration:none;
}


.moduletable_orange {
background:#ff9b65;
color:#030303;
}

.moduletable_orange a {
color:#111;
font-size:1.2rem;
}

.moduletable_grey {
background:#736d6b;
color:#fff;
}

.moduletable_grey h3 {
color:#fff;
}

.moduletable_grey h3, .moduletable_orange h3 {
padding-top:0.3em;
}

.moduletable_grey a {
color:#fff;
font-size:1.2rem;
}


/*  Для материалов  */

div.icons {
overflow:hidden;
padding:0.4em 0;
float:right;
}

div.icons ul {
padding:0;
}

div.icons li {
float:right;
list-style:none;
padding:0 5px 0 0;
}

.dropdown-toggle {
display:none;
}

.article-info {
font-size:100%;
color:#666;
padding:0.5em 0;
}

ul.tags {
padding:0.5em 0;
overflow:hidden;
}

ul.tags li {
list-style:none;
float:left;
margin:0 5px 0.4em 0;
}

ul.tags li a {
text-decoration:none;
color:#ebf5fe;
background:#426C88;
padding:.1em 10px .2em 10px;
border-radius:10px;
line-height:100%;
transition: 0.4s;
font-size:110%;
}

ul.tags li a:hover {
background:#444;
transition: 0.4s;
}

.inline a {
display: inline-block;
}

ul.pagenav {
padding:1em 0;
overflow:hidden;
}

ul.pagenav li {
list-style:none;
}

ul.pagenav li.previous {
float:left;
}

ul.pagenav li.next {
float:right;
}

.pagination {
margin:1em 0;
overflow: hidden;
}

.pagination ul {
padding:0
}

.pagination ul li {
list-style: none;
float:left;
padding:0 7px 0 0;
}

.pagination ul li a {
background:#6081a2;
padding:0 7px;
color:#fff;
text-decoration:none;
transition: 0.4s;
}

.pagination ul li a:hover {
background:#444;
transition: 0.4s;
}

.readmore .btn, .userdata .btn, #jt_lidform .btn, .button {
display:inline-block;
font-size:110%;
color:#fff;
text-decoration:none;
background:#fd5e05;
background: linear-gradient(to top, #fb6412, #fb8f11);
padding:0.2em 20px;
cursor:pointer;
border:none;
margin:1em 0;
}

.readmore .btn:hover, .userdata .btn:hover, #lidform .btn:hover, .button:hover {
background: linear-gradient(to top,  #a98b68, #675a53);
}

/*  Колонки для блога  */

.cols-1 {
width:100%;
}

.cols-2 {
width:48%;
margin:0 2% 0 0;
float:left;
}

.cols-2 .span6 {
width:100%;
}

.cols-3 .span4 {
width:31%;
margin:0 2% 0 0;
float:left;
padding: 0;
}

span.row-separator {
    clear: both;
    display: block;
}

.items-more {
clear:both;
}

.items-more ol {
}


/*  Ширина модулей (размер bootstrap)   */

.span1 {
width:7.33%;
float:left;
padding:1em 0.5%;
}

.span2 {
width:15.66%;
float:left;
padding:1em 0.5%;
}

.span3 {
width:22.9%;
float:left;
padding:1em 1%;
}

.span4 {
width:31.3%;
float:left;
padding:1em 1%;
}

.span5 {
width:39.6%;
float:left;
padding:1em 1%;
}

.span6 {
width:47.9%;
float:left;
padding:1em 1%;
}

.span7 {
width:56.3%;
float:left;
padding:1em 1%;
}

.span8 {
width:64.6%;
float:left;
padding:1em 1%;
}

.span9 {
width:72.9%;
float:left;
padding:1em 1%;
}

.span10 {
width:81.3%;
float:left;
padding:1em 1%;
}

.span11 {
width:89.6%;
float:left;
padding:1em 1%;
}

.span12 {
width:100%;
padding:1em;
}


/*  Breadcrumbs */

.breadcrumb {
padding:1em 2%;
display:block;
margin:0 0 1em 0;
overflow:hidden;
background:#eee;
}

ul.breadcrumb li {
list-style: none;
float:left;
font-size:110%;
padding:0;
}

ul.breadcrumb li a {
color:#016092;
text-decoration:underline;
}

ul.breadcrumb li a:hover {
text-decoration:none;
}

.divider {
padding:0 3px;
}

/*  Модуль Входа Joomla  */

ul.unstyled {
padding:0;
}

ul.unstyled li {
list-style:none;
float:none;
}

.element-invisible {
display:none
}

.userdata {
}

#modlgn-username, #modlgn-passwd {
padding: 3px;
margin-bottom: 0.5em;
font: 1em Arial;
border: 2px solid #777;
}


/*  Модуль метки  */

.tagspopular {
}

#aftertext .tagspopular ul li, .tagspopular ul li {
float:left;
padding:0 10px 0 0;
}


/* Кнопка наверх   */

#toTop {
width:80px;
border:1px solid #ccc;
background:rgba(0,0,0,0.8);
text-align:center;
padding:.3em 10px;
position:fixed;
bottom:2.5em;
right:30px;
cursor:pointer;
display:none;
color:#fff;
font-size:1em;
}

#toTop:hover{
background:rgba(0,0,0,1.0);
}


/*     Tooltip     */


.tooltip {
	max-width: 400px;
}
.tooltip-inner {
	max-width: none;
	text-align: left;
	text-shadow: none;
}
th .tooltip-inner {
	font-weight: normal;
}
.tooltip.hasimage {
	opacity: 1;
}

.tooltip {
	position: absolute;
	z-index: 1030;
	display: block;
	visibility: visible;
	font-size: 90%;
	line-height: 1.4;
	opacity: 0;
	filter: alpha(opacity=0);
}
.tooltip.in {
	opacity: 0.8;
	filter: alpha(opacity=80);
}
.tooltip.top {
	margin-top: -3px;
	padding: 5px 0;
}
.tooltip.right {
	margin-left: 3px;
	padding: 0 5px;
}
.tooltip.bottom {
	margin-top: 3px;
	padding: 5px 0;
}
.tooltip.left {
	margin-left: -3px;
	padding: 0 5px;
}
.tooltip-inner {
	max-width: 200px;
	padding: 8px;
	color: #fff;
	text-align: center;
	text-decoration: none;
	background-color: rgba(0,0,0,0.8);
	border-radius: 4px;
}
.tooltip-arrow {
	position: absolute;
	width: 0;
	height: 0;
	border-color: transparent;
	border-style: solid;
}
.tooltip.top .tooltip-arrow {
	bottom: 0;
	left: 50%;
	margin-left: -5px;
	border-width: 5px 5px 0;
	border-top-color: #000;
}
.tooltip.right .tooltip-arrow {
	top: 50%;
	left: 0;
	margin-top: -5px;
	border-width: 5px 5px 5px 0;
	border-right-color: #000;
}
.tooltip.left .tooltip-arrow {
	top: 50%;
	right: 0;
	margin-top: -5px;
	border-width: 5px 0 5px 5px;
	border-left-color: #000;
}
.tooltip.bottom .tooltip-arrow {
	top: 0;
	left: 50%;
	margin-left: -5px;
	border-width: 0 5px 5px;
	border-bottom-color: #000;
}

.popover {
	position: absolute;
	top: 0;
	left: 0;
	z-index: 1060;
	display: none;
	max-width: 276px;
	padding: 1px;
	text-align: left;
	background-color: #fff;
	background-clip: padding-box;
	border: 1px solid #ccc;
	border: 1px solid rgba(0,0,0,0.2);
	border-radius: 6px;
	box-shadow: 0 5px 10px rgba(0,0,0,0.2);
	white-space: normal;
}
.popover.top {
	margin-top: -10px;
}
.popover.right {
	margin-left: 10px;
}
.popover.bottom {
	margin-top: 10px;
}
.popover.left {
	margin-left: -10px;
}
.popover-title {
	margin: 0;
	padding: 8px 14px;
	font-size: 14px;
	font-weight: normal;
	line-height: 18px;
	background-color: #444;
	color:#fff;
	border-bottom: 1px solid #ebebeb;
	border-radius: 5px 5px 0 0;
}
.popover-title:empty {
	display: none;
}
.popover-content {
	padding: 9px 14px;
	color:#eee;
	background-color: #222;
}
.popover .arrow,
.popover .arrow:after {
	position: absolute;
	display: block;
	width: 0;
	height: 0;
	border-color: transparent;
	border-style: solid;
}
.popover .arrow {
	border-width: 11px;
}
.popover .arrow:after {
	border-width: 10px;
	content: "";
}
.popover.top .arrow {
	left: 50%;
	margin-left: -11px;
	border-bottom-width: 0;
	border-top-color: #999;
	border-top-color: rgba(0,0,0,0.25);
	bottom: -11px;
}
.popover.top .arrow:after {
	bottom: 1px;
	margin-left: -10px;
	border-bottom-width: 0;
	border-top-color: #fff;
}
.popover.right .arrow {
	top: 50%;
	left: -11px;
	margin-top: -11px;
	border-left-width: 0;
	border-right-color: #999;
	border-right-color: rgba(0,0,0,0.25);
}
.popover.right .arrow:after {
	left: 1px;
	bottom: -10px;
	border-left-width: 0;
	border-right-color: #fff;
}
.popover.bottom .arrow {
	left: 50%;
	margin-left: -11px;
	border-top-width: 0;
	border-bottom-color: #999;
	border-bottom-color: rgba(0,0,0,0.25);
	top: -11px;
}
.popover.bottom .arrow:after {
	top: 1px;
	margin-left: -10px;
	border-top-width: 0;
	border-bottom-color: #fff;
}
.popover.left .arrow {
	top: 50%;
	right: -11px;
	margin-top: -11px;
	border-right-width: 0;
	border-left-color: #999;
	border-left-color: rgba(0,0,0,0.25);
}
.popover.left .arrow:after {
	right: 1px;
	border-right-width: 0;
	border-left-color: #fff;
	bottom: -10px;
}




/*        Стили для модальных окон          */

.Window {
 position: fixed;
 top: 0;
 right: 0;
 bottom: 0;
 left: 0;
 background: rgba(0,0,0,0.7);
 z-index: 99999;
 transition: opacity 400ms ease-in;
 display: none;
 pointer-events: none;
}

.Window:target {
 display: block;
 pointer-events: auto;
}

.Window > div {
 width: 640px;
 position: relative;
 margin: 10% auto;
 padding: 30px 10px 10px;
 border-radius: 10px;
 background: #fff;
 box-shadow: 0px 0px 20px 2px;
}

.Window > .modalbox {
 width: 400px;
 position: relative;
 margin: 10% auto;
 padding: 30px 10px 10px;
 border-radius: 10px;
 background: #fff;
 box-shadow: 0px 0px 20px 2px;
}

.close {
 background: #cc3300;
 color: #FFFFFF;
 line-height: 25px;
 position: absolute;
 right: -12px;
 text-align: center;
 top: -10px;
 width: 24px;
 text-decoration: none;
 font-weight: bold;
 border-radius: 12px;
 box-shadow: 1px 1px 3px #000;
}
.close:hover { background: #990000; }