html,body {height: 100%;}

body, div, span, p, h1, h2, h3, img {padding: 0; margin: 0;}

body {background: #fff; color: #000; font: 16px Tahoma, Geneva, sans-serif;}

/* Стили по умолчанию */

img {border: 0; max-width: 100%;}
a {color: #4C68AE;}

h1 {margin: 20px 0; text-align: center; font-size: 2em; font-weight: normal; text-transform: uppercase;}
h2 {margin: 20px 0; text-align: center; font-size: 1.8em; font-weight: bold;}
h3 {margin: 15px 0; font-size: 1.5em; font-weight: normal;}

table {width: 100%; border-collapse: collapse; border: 1px solid #ccc;}
table td, table th { padding: 0 5px; border: 1px solid #ccc;}
table tr:hover td {background: #ECECFB;}
table th {border: 1px solid #000;}

.fl-right {float: right;}
.hiden {display: none;}
.center {text-align: center;}

/* Footer to bottom */

#all {
    height: auto !important;
    height: 100%;
    min-height: 100%;
    position: relative;
}

#all:after {
    height: 50px;
    margin: 10px 0 0;
    display: block;
    content: '';
}

/* Выравнивание блоков по ширине */

.just-wrp {
    text-align: justify;
    line-height: 0;
    text-justify: newspaper;
    zoom: 1;
}

.just-wrp:after {
    width: 100%;
    height: 0;
    visibility: hidden;
    overflow: hidden;
    content: '';
    display: inline-block;
}

.just-wrp .just-blck {
    display: inline-block;
    line-height: normal;
    font-size: 14px;
    vertical-align: top; //display:inline; //zoom:1;
}

/* Выпадающая навигация */
#nav {position: relative; z-index: 50;}
#nav ul {width: 750px; margin: 0 auto; padding: 0; list-style: none;}
#nav>ul>li {margin: 0; position: relative;}
#nav>ul>li>ul {width: auto; min-width: 100%; display: none; position: absolute; left: -2px; text-align: center; z-index: 50;}
#nav>ul>li>ul.to-right {left: auto; right: -2px;}
#nav>ul>li:hover > ul {display: block;}


#all {width: 100%; margin: 0 auto;}


#header {width: 960px; height: 50px; margin: 0 auto; padding: 20px; background:#fff;}

.logo {width: 500px; float: left;}
.logo a {text-decoration: none;}
.logo img {width: 150px; float: left;}
.logo .podp {margin: -5px 0 0 165px; text-transform: uppercase; font-size: 20px;}

.contacts {float: right; text-align: right;}

#nav {height:50px; margin: 0 auto; text-transform:uppercase; background:#4C68AE;}
#nav ul {display:block;}
#nav ul>li {display: inline-block;}
#nav ul>li>a {padding:15px 10px; display: block; color:#fff; text-decoration:none;}
#nav ul>li:hover>a {background:#344676;}

#nav>ul>li>.menu-cat {width:1000px; display:none; position: absolute; left: -250px; background:#344676;}
#nav>ul>li:hover>.menu-cat {display:block;}

.menu-cat .col {width: 20%; margin: 20px 15px 10px; display: inline-block; vertical-align:top;}
.menu-cat .col.thin {width: 15%;}
.menu-cat .col.wide {width: 26%;}
.menu-cat .col a {margin: 0 0 10px 15px; display: block; position: relative; color: #fff; text-transform: none; text-decoration: none; text-align:left;}
.menu-cat .col a:hover {}
.menu-cat .col a:hover::before {position: absolute; left: -15px; font-size: 1.1em; color: #fff; content: "•";}
.menu-cat .col a.group {margin: 0 0 10px; padding: 0 0 5px; font-size: 1.1em; font-weight: bold; border-bottom: 1px solid #fff;}
.menu-cat .col a.group:hover::before {position: absolute; left: 20px; content: ""}

#nav.fixed {width:100%; margin:0; position: fixed; top:0;}

.slider-wrapper {position: relative; max-height:400px; overflow:hidden; z-index:20;}
.nivo-html-caption { text-align: right;}
.nivo-html-caption h4 { text-align: right; font-size: 2em;}
.img-in-caption {position: relative; width:200px; height:100%;}
.img-in-caption img { width:100%; display:block !important; float:right; opacity: 1;}


#main {width: 960px; margin: 0 auto; padding: 0 20px; background: #fff; }
#main:after { display:block; content: ''; clear: both;}
#main p { margin:10px 0;}

#aside {width: 240px; border:1px solid #ccc; float:left;}
#content { margin:0 0 0 260px;}

/* Галерея */
.gall-list {}
.gall-list h3 {margin: 40px 0; text-transform: uppercase; text-align: center; border-bottom: 1px solid #ccc;}
.gall-list h3 span { padding: 0 10px; background: #fff;}

.gall-list .img-wrp {width: 22%; height: 140px; margin: 10px 0; overflow: hidden; border: 2px solid #ccc; text-align:center;}
.gall-list .img-wrp:hover {border-color: #4C68AE;}
.gall-list .img-wrp img {width: 100%; min-height: 140px; display: block; transition: all 1s ease-out;}
.gall-list .img-wrp:hover img {transform: scale(1.2);}


/* Каталог Index*/
.cat-list {margin: 40px 0; position: relative; text-align: center; font-size: 16px;}
.cat-list h3 { text-transform: uppercase; text-align: center; border-bottom: 1px solid #ccc;}
.cat-list h3 span { padding: 0 10px; background: #fff;}

.cat-list .cat-item {width: 170px; margin: 20px 5px; position: relative; font-size: 16px; text-align: center; text-decoration: none;}

.cat-item .img-wrap {width: 168px; height: 168px; position: relative; overflow: hidden; border: 1px solid #ccc;}
.cat-item img {display: block; transition: all 1s ease-out;}

.cat-item .cat-name {width: 170px; height: 40px; margin: 5px; display: table-cell; vertical-align: middle;}

.cat-item:hover {color: #fff; background: #4183C4;}
.cat-item:hover .img-wrap { border-color: #4183C4;}
.cat-item:hover img {transform: scale(1.2);}

/* Каталог Основная */
.cat-menu{}
.cat-menu ul { margin: 0; padding: 0; list-style: none;}
.cat-menu ul>li>a {padding: 5px 10px; display: block; text-decoration: none; color: #fff; background:#6F85BF; border-top: 1px solid #9AAAD3; border-bottom: 1px solid #334573; }
.cat-menu ul>li.main>a {padding: 5px 5px; font-weight: bold; text-align: center; background:#4C68AE;}



#footer {width: 100%; height: 50px; padding:20px 0; color:#fff; background:#4C68AE;}
.foot-info {width: 1000px; margin: 0 auto;}
.foot-info .copy {width: 200px; float: right; text-align: right;}

