* {
margin:0;
padding:0;
}

aside, footer, address, section {
display:block;
}

fieldset, a img, img a {
border:none;
text-decoration:none;
}

img, iframe, video, embed, pre, table {
max-width:100%!important;
}

input, textarea {
max-width:95%;
}


/*  Tipographika  */

h1 {
font-size: 2.25em;
font-weight:normal;
color:#364656;
padding-bottom:0.5em;
}

h2 {
font-size: 2em;
font-weight:bold;
color:#444;
padding:0.3em 0 0.5em 0;
}

h3 {
font-size:1.6em;
font-weight:bold;
padding:0.3em 0 0.5em 0;
color:#333;
}

.moduletable h3 { /* для заголовоков в блоке aftertext */
color:#1a1a1a;
font-size:1.875em;
font-weight: normal;
padding:0 0 0.5em 0;
}

h4 {
color:#222;
font-size:1.5em;
font-weight: normal;
padding:0 0 0.5em 0;
}

p {
padding:0 0 0.5em 0;
}

.text a {
color:#6081a2;
text-decoration:underline;
}

.text a:hover {
text-decoration:none;
}

.moduletable a {
color:#364656;
text-decoration:none;
font-size:1.19em;
font-weight: normal;
transition:0.5s;
}

.moduletable a:hover, .moduletable li.current a {
color:#fd8005;
text-decoration:underline;
transition:0.3s;
}

.moduletable span.separator {
color:#364656;
text-decoration:none;
font-size:1.2em;
font-weight: bold;
}

.logo span {
font-size:1.5em; /*  ~24px  */
color:#2b2c2c;
}

#content p {
font-size:110%;
color:#333;
}

.text ul, .text ol {
padding:0.5em 20px;
font-size:110%;
}

.text ul li {
list-style: url('../images/or-tick.png');
padding:0 0 0.2em 0;
}

.text ol li {
padding:0 0 0.2em 0;
}

.moduletable ul, .moduletable ol, ul.menu {
padding:0;
}

#CallMe .btn, .button {
display:inline-block;
font-size:1.2em;
color:#fff!important;
text-decoration:none!important;
background:#fd5e05;
background: linear-gradient(to top,  #fd5e05,  #fd8b05);
box-shadow:2px 3px 6px #555;
padding:0.3em 20px;
cursor:pointer;
border:none;
}

#CallMe .btn:hover, .button:hover {
background: linear-gradient(to top,  #fd8b05, #fd5e05);
}

.orange {
color:#fd5705;
font-weight: bold;
}

blockquote {
padding:1em 5%;
background:#eee;
color:#111;
border-left:1px solid #fb7121;
}

pre {
overflow:auto;
font-size:1em;
color:#555;
background:#eee;
padding:1em 2%;
border:1px solid #ddd;
border-radius:4px;
}

#phocaguestbook .tabbable ul li, #kunena .navbar ul li {
list-style:none;
}

/* Кнопка наверх   */

#toTop {
width:80px;
border:1px solid #ccc;
background:rgba(0,0,0,0.5);
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,0.9);
}


/*  Для материалов  */

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 {
display:inline-block;
font-size:110%;
color:#fff;
text-decoration:none;
background:#fd5e05;
background: linear-gradient(to top,  #fd5e05,  #fd8b05);
box-shadow:2px 3px 6px #555;
padding:0.2em 20px;
cursor:pointer;
border:none;
margin:1em 0;
}

.readmore .btn:hover, .userdata .btn:hover, #lidform .btn:hover {
background: linear-gradient(to top,  #fd8b05, #fd5e05);
}


/*  Колонки для блога  */

.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 {
}


/*  -------- Layout ---------  */

#page {
width:100%;
background:#fff;
font:100% 'PT Sans Narrow', sans-serif;
}

.topline {
width:100%;
background:#444;
text-align:right;
padding: 0.3em 0;
}

.topline ul {
float:right;
display:block;
}

.topline li {
float:left;
padding:0 30px 0 0;
list-style:none;
}

.topline a {
color:#dbdbdb;
text-decoration:none;
font-size:1.125em;
}

.topline a:hover {
text-decoration:underline;
}

.layout {
width:1170px;
margin:0 auto;
overflow:hidden;
}

#header {
width:100%;
padding:0.5em 0
}

.logo {
width:49%;
overflow:hidden;
float:left;
margin:0 1% 0 0;
padding: 0.5em 0;
}

.logo img {
display:block;
}

.topbox {
width:25%;
overflow:hidden;
float:left;
padding:0;
margin:0;
height:auto;
}

.geo {
width:20%;
overflow:hidden;
float:left;
padding:0 0 0 4%;
margin:0 1% 0 0;
background: url('../images/geoicon.png') left center no-repeat;
height:6em;
}

.geo span {
font-size: 1.375em; /* ~22px   */
color:#444b51;
}

.geo span.city {
display: block;
}

.phone {
width:19%;
overflow:hidden;
float:right;
background: url('../images/phoneicon.png') left center no-repeat;
text-align: right;
padding:0 0 0 4%;
height:6em;
}

.phone a {
text-decoration:none;
display: block;
margin-bottom: 0.5em;
}

.phone a .tel {
font-size:1.7em; /*  ~27px */
color:#444b51;
border-bottom: 1px dashed #444b51;
}

.phone .time {
font-size:105%;
color:#555;
}

.phone a.callme {
font-size:1.375em;
color:#6081a2;
text-decoration:underline;
}

#menu {
width:100%;
background:#364656;
margin:0 0 1em 0;
}

#menu li {
float:left;
list-style: none;
}

#menu li a {
color:#cae7f3;
display:block;
padding:0.5em 40px;
text-decoration:none;
font-size: 1.375em; /* ~22px   */
transition:0.5s;
}

#menu li a:hover, #menu li.current a {
background:#526c86;
color:#e5f5fb;
transition:0.3s;
}

#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:9999;
background:#27333f;
padding:0;
font-size:80%;
}

#content {
width:100%;
overflow:hidden;
}

/*  Стили для вывода макетов   */

.component { /*  3-х колоночный макет  */
width:50%;
float:left;
}

.component-full { /*  макет без колонок - лендинг  */
width:98%;
float:none;
}

.component-mr {  /*  макет Главная + правая  Main + Right */
width:75%;
float:left;
}

.component-lm {  /*  макет Левая + Главная  Left + Main */
width:75%;
float:right;
}

.component-mlr {  /*  макет Главная + Левая + Правая Main + Left + Right */
width:50%;
float:left;
margin:0 2% 0 0;
}

.sidebar-right.nospace {
padding:0;
}

.component-lrm {  /*  макет Левая + Правая + Главная  Left + Right + Main */
width:50%;
float:right;
}

.sidebar-left {
width:22%;
padding:0 3% 0 0;
float:left;
}

.sidebar-right {
width:22%;
padding:0 0 0 3%;
float:left;
}

#slide {
width:100%;
overflow:hidden;
margin:0 0 1em 0;
}

#aftertext {
width:100%;
background:#426C88;
margin:1em 0 0 0;
}

#footer {
width:100%;
background:#444;
padding:1em 0;
border-top:1px solid #fdbd58;
}

#debug {
width:100%;
background:#222;
padding:0.5em 0;
text-align:center;
}

#debug p {
font-size:110%;
color:#ccc;
}

#debug a {
color:#eee;
text-decoration:none;
}

/*  Ширина модулей (размер 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;
}

/*  Стили для модулей  */

.sidebar-right .moduletable, .sidebar-left .moduletable, .moduletable_contact {
margin-bottom:2em;
}

.moduletable .nav.menu li, ul.latestnews li, .moduletable_orange li {
padding:0 0 0.3em 0;
list-style:none;
}

.moduletable .nav.menu li.current a {
font-weight:bold;
}


/*  Модуль контакты  */

.moduletable_contact {
background:#426C88;
padding:0.5em 5% 1em 5%;
}

.moduletable_contact h3 {
font-size:1.875em;
font-weight: normal;
padding:0 0 0.5em 0;
color:#ebf5fe;
}

.moduletable_contact #jt_mod_contact p {
color:#ebf5fe;
font-size:110%;
}

.moduletable_contact #jt_mod_contact a {
color:#9bdffb;
font-size:115%;
text-decoration:none;
}

.moduletable_contact #jt_mod_contact a:hover {
text-decoration:underline;
}

/*  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%;
}

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;
}

/*  Модуль Меню   */

ul.menu li {
list-style: none;
}

/*   Блок aftertext и стили   */

#aftertext h3 { /* для заголовоков в блоке aftertext */
color:#fbfdff;
font-size:1.875em;
font-weight: normal;
padding:0 0 0.5em 0;
}

#aftertext .h3-orange, #page .h3-orange { /* для оранжевых заголовков   */
color:#fdbd58;
}

#aftertext li {
list-style:none;
padding:0 0 0.5em 0;
}

#aftertext a {
color:#daf1fd;
font-size:110%;
}


/*  Модуль Callme - обратный звонок  */ 

#jt_callme_form {
text-align: center;
font-size:110%;
}

/*  Модули в футере  */

#footer .moduletable {

}

#footer .moduletable h3 {
color:#eee;
}

#footer .moduletable a {
color:#85c8fc;
text-decoration:underline;
font-size:110%;
}

#footer .moduletable a:hover {
text-decoration:none;
}

/* Соц кнопки  */

.social-box {
width:23.9%;
float:right;
padding:1em 0 0 1%;
text-align:right;
overflow:hidden;
}

.social-box a {
display:inline-block;
margin:0 0 0.4em 3%;
float:right;
}

.social-box a.smallsize {
width:11%;
margin:0 0 0.3em 3%;
}

.social-box a img {
opacity:0.8;
}

.social-box a img:hover {
opacity:1.0;
}

/*  Стиль для модуля объявлений _ads */

.moduletable_ads {
background: url(../images/ads-bg.jpg);
padding:0.5em 5% 1em 5%;
border-top:1px solid #fd5705;
box-shadow: -3px 4px 10px #ccc;
margin-bottom:2em;
overflow:hidden;
}

.moduletable_ads h3 {
font-size:1.875em;
font-weight: normal;
padding:0 0 0.5em 0;
color:#222;
}

.moduletable_ads h3:first-letter {
color:#fd5705
}

.moduletable_ads a {
color:#fd5705;
font-weight:bold;
text-decoration:underline;
}

.moduletable_ads a:hover {
text-decoration: none;
}


/*   Стили для модуля с суффиксом _lightblue  */

.moduletable_lightblue {
background:#cfdfef;
padding:0.5em 5% 1em 5%;
margin-bottom:2em;
}

.moduletable_lightblue h3 {
font-size:1.875em;
font-weight: normal;
padding:0 0 0.5em 0;
color:#222;
}

.moduletable_lightblue ul li {
padding:0 0 0.3em 0;
list-style:none;
}

.moduletable_lightblue a {
font-size:1.19em;
color:#016092;
text-decoration:none;
}

.moduletable_lightblue a:hover {
text-decoration:underline;
}

/*  Сиили для .moduletable_orange  */

.moduletable_orange {
margin-bottom:2em;
}

.moduletable_orange h3 {
font-size:1.875em;
font-weight: normal;
padding:0 0 0.5em 0;
color:#222;
}

.moduletable_orange a {
font-size:1.19em;
color:#fd5705;
text-decoration:none;
}

.moduletable_orange a:hover {
text-decoration:underline;
}


/*  Стили для бумажного модуля  _paper */

.moduletable_paper {
background: url(../images/paper-bg.jpg);
padding:0.5em 5% 1em 5%;
margin-bottom:2em;
box-shadow: 3px 4px 10px #ccc;
}

.moduletable_paper h3 {
font-size:1.875em;
font-weight: normal;
padding:0 0 0.5em 0;
color:#222;
}


/*  Стили для модуля _dark   */

.moduletable_dark {
background:#696666;
padding:0.5em 5% 2em 5%;
margin-bottom:2em;
color:#ccc;
}

.moduletable_dark h3 {
font-size:1.875em;
font-weight: normal;
padding:0 0 0.5em 0;
color:#eee;
}

.moduletable_dark a {
color:#eceef0;
font-size:1.19em;
text-decoration:underline;
}

.moduletable_dark a:hover {
text-decoration:none;
}

.moduletable_dark li {
padding:0 0 0.3em 0;
}

/*        Стили для модальных окон          */

.Window {
 position: fixed;
 top: 0;
 right: 0;
 bottom: 0;
 left: 0;
 background: rgba(0,0,0,0.7);
 z-index: 99999;
 -webkit-transition: opacity 400ms ease-in;
 -moz-transition: opacity 400ms ease-in;
 transition: opacity 400ms ease-in;
 display: none;
 pointer-events: none;
}

.Window:target {
 display: block;
 pointer-events: auto;
}

.Window > div {
 width: 460px;
 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;
 -webkit-border-radius: 12px;
 -moz-border-radius: 12px;
 border-radius: 12px;
 -moz-box-shadow: 1px 1px 3px #000;
 -webkit-box-shadow: 1px 1px 3px #000;
 box-shadow: 1px 1px 3px #000;
}
.close:hover { background: #990000; }