body {
    margin:0;
    padding:0;
    z-index: 1;
    background: #ccecfa;;
}


h1, .h1 {
	font-size: 32px;
}
h2, .h2, h3, .h3 {
	font-size: 24px;
}
@media(max-width: 580px) {
	h1, .h1 {
		font-size: 24px;
	}
	h2, .h2, h3, .h3 {
		font-size: 18px;
	}
}

.con {
    width:1200px;
    margin: 0 auto;
    position: relative;
}
#panel {
    width: 240px;
    padding: 0 10px;
    display: inline-block;
    background: white;
    border-radius: 5px;
}
#panel h2,
#panel .h2,
.h2 {
    text-align: center;
    font-size: 20px;
    text-transform: uppercase;
    padding: 0;
    margin: 0;
    border-bottom: 1px solid #19aae9;
    margin-bottom: 15px;
	line-height: 40px;
    font-family: inherit;
    font-weight: bold;
	text-rendering: optimizelegibility;
}

#text {
    width: 895px;
    margin-left: 20px;
    min-height: 500px;
    display: inline-block;
    vertical-align: top;
    background: white;
    padding: 0 10px;
    border-radius: 5px;
}
.head {
    width:100%;
    height:150px;
    padding-top:10px;
    position: relative;
    background: #00a1e6;
}
#nit {
    width:100%;
    position: absolute;
    top:75px;
    height:2px;
    background: #312783;
}
#logo {
    display: block;
    /*background: url("/img/logo2.gif") no-repeat;*/
    width:200px;
    height:100px;
    position: absolute;
    top: -17px;
    left: 0px;
}
@media (max-width: 768px) {
    #logo {
        height: 120px;
    }
}
#anim {
    display: block;
    background: url("/img/logo.gif") no-repeat;
    width:70px;
    height:120px;
    position: absolute;
    top: -10px;
    left: 210px;
}
#logo h1 {
    text-indent: -99999px;
    margin:0;
    padding:0;
}
#bosh {
    display: block;
    background: url("/img/bosh.png") no-repeat;
    width:127px;
    height:60px;
    position: absolute;
    top: 0px;
    right: 0px;
}
#slog {
    top: 74px;
    right: 0;
    text-transform: uppercase;
    color: #312783;
    position: absolute;
    font-size: 24px;
    font-weight: bold;
    text-shadow: 1px 1px 3px white, -1px -1px 3px white;
}
#tel {
    position: absolute;
    left: 25%;
    top: 10px;
    color: white;
	display: flex;
	align-items: center;
}
#tel a {
    color: white;
}
#tel .button {
	padding: 5px 10px;
	margin-left: 10px;
	border: 1px solid #FFF;
	transition: .2s;
}
#tel .button:hover {
	background: #FFF;
	text-decoration: none;
	color: #07a3e6;
}

#b {
    font-size:21px;
}
#work {
    position: absolute;
    right: 25%;
    top: 10px;
    color: white;
    font-size: 18px;
}
#search {
    margin-top: 10px;
}
#ma {
    text-align: center;
}
#slide {
    margin: 0 -15px;
}
#cat {
    margin-top: 20px;
}
#poisk {
    width: 840px;
    border: 1px solid #00a1e6;
    padding: 15px;
    font-size: 16px;
}
#lupa {
    background: url('/img/poisk.png') no-repeat 50% 50%;
    display: inline-block;
    height: 20px;
    padding: 4px 6px;
    margin-bottom: 10px;
    font-size: 14px;
    line-height: 20px;
    color: #00a1e6;
    vertical-align: middle;
    -webkit-border-radius: 4px;
    -moz-border-radius: 4px;
    border-radius: 4px;
    width:20px;
    background-color: #ffffff;
    border: 1px solid #00a1e6;
    -webkit-box-shadow: inset 0 1px 1px rgba(0, 0, 0, 0.075);
    -moz-box-shadow: inset 0 1px 1px rgba(0, 0, 0, 0.075);
    box-shadow: inset 0 1px 1px rgba(0, 0, 0, 0.075);
    -webkit-transition: border linear 0.2s, box-shadow linear 0.2s;
    -moz-transition: border linear 0.2s, box-shadow linear 0.2s;
    -o-transition: border linear 0.2s, box-shadow linear 0.2s;
    transition: border linear 0.2s, box-shadow linear 0.2s;
    margin-left: 2px;
}
#go {
    margin-bottom: 0;
}
#fm {
    width:100%;
    height:30px;
    position: absolute;
    left:0;
    top:120px;

    background: rgba(255,255,255,0);
    background: -moz-linear-gradient(top, rgba(255,255,255,0) 0%, rgba(255,255,255,1) 50%, rgba(255,255,255,0) 100%);
    background: -webkit-gradient(left top, left bottom, color-stop(0%, rgba(255,255,255,0)), color-stop(50%, rgba(255,255,255,1)), color-stop(100%, rgba(255,255,255,0)));
    background: -webkit-linear-gradient(top, rgba(255,255,255,0) 0%, rgba(255,255,255,1) 50%, rgba(255,255,255,0) 100%);
    background: -o-linear-gradient(top, rgba(255,255,255,0) 0%, rgba(255,255,255,1) 50%, rgba(255,255,255,0) 100%);
    background: -ms-linear-gradient(top, rgba(255,255,255,0) 0%, rgba(255,255,255,1) 50%, rgba(255,255,255,0) 100%);
    background: linear-gradient(to bottom, rgba(255,255,255,0) 0%, rgba(255,255,255,1) 50%, rgba(255,255,255,0) 100%);
    filter: progid:DXImageTransform.Microsoft.gradient( startColorstr='#ffffff', endColorstr='#ffffff', GradientType=0 );
}
#menu {
    display: block;
    position: absolute;
    top: 110px;
    right: 0px;
    color: #312783;
    font-weight: bold;
    width:100%;
    margin:0;
    padding:0;
    font-size: 100%;
}
#menu li {
    display: inline-block;
    width:14%;
    text-align: center;
}
#menu li a {
    color: #312783;
    display:block;
    padding:5px;
    text-transform: uppercase;
    text-decoration: none;
}
#menu li.active a,
#menu li a:hover {
    text-decoration: none;
    background: #fff;
    border-radius: 20px;

}

#edit {
    height:300px;
    width:100%;
}
.fr {
    float:right;
}
.input {
    width:99%;
}
.img {
    display: inline-block;
    margin-right: 40px;
    max-width: 450px;
}
#up {
    margin-bottom: 50px;
}
#opis table {
    border: 1px solid #e5e5e5;
}
#opis table td {
    border: 1px solid #e5e5e5;
    padding: 5px;
}
.info {
    display: inline-block;
    width: 350px;
    margin-left: 50px;
    vertical-align: top;
}
.pr {
    font-size: 400%;
    color: red;
    padding: 5px;
    margin-top: 25px;
}
.kod, .gr {
    margin-top:50px;
}
#sle {
    position: absolute;
    height: auto;
    top:30px;
    margin:0;
    padding:0;
    z-index: 999;
    width:300px;
    background: #fff;
    display: none;
    box-shadow: 1px 1px 3px black;
    border-radius: 10px;

}
#sel {
    margin:0;
    padding:0;
}
#sel li {
    display: block;
    width: 100%;
    text-align: left;
    margin-bottom: 5px;
}
#sel li a {
    display: block;
    color: black;
    font-weight: normal;
    text-transform: none;

}
#sel li a:hover {
    color:white;
    text-decoration: none;
    border-radius: 5px;
    background: #00a1e6;
}
#sel {
    padding-bottom: 10px;
}
#sel img {
    width:50px;
    height: 50px;
    display: inline-block;
    margin-right: 10px;
}
#sel .nm {
    display: inline-block;
    width: 165px;
}
.sel {
    text-align: left;
    position: absolute;
    top:0;
    left:300px;
    background: #fff;
    box-shadow: 1px 1px 3px black;
    border-radius: 10px;
    margin:0;
    width:200px;
    display: none;
}

.big {
    border: 1px solid #e5e5e5;
    width: 275px;
    border-radius: 5px;
    height: 250px;
    margin: 10px;
    display: inline-block;
    position: relative;
}
.big.with-button {
	height: 290px;
}
.big.with-button .button {
	border: 1px solid #0088cc;
	padding: 4px 10px;
	margin: 0 10px;
	display: block;
	text-align: center;
	transition: .25s;
}
.big.with-button .button:hover {
	background: #0088cc;
	color: #FFF;
}
.cen {
    position: absolute;
    top: 0;
    font-weight: bold;
    right: 0;
    padding: 5px;
    background: rgba(255, 255, 255, 0.8);
    color: black;
}

.big:hover {
    box-shadow: 0px 0px 3px blue;
 }

.big a {
    text-decoration: none;
}
.bim {
    height: 190px;
    overflow: hidden;
    text-align: center;
    position: relative;
}
.bim img {
    position: absolute;
    margin: auto;
    left: 0;
    top: 0;
    bottom: 0;
    right: 0;
    max-height: 190px;
    max-width: 270px;
}
.red {
    color:red;
}
.green {
    color:green;
}
#postuplenie,
#kupit,
#ckoko {
    font-size: 18px;
    display: inline-block;
    padding: 10px 15px;
    border: 2px solid;
}
#opis {
    padding-bottom: 20px;
}
.bnm {
    text-align: center;
    padding: 0 10px;
    height:60px;
    overflow: hidden;
}
.naviga > span {
    display: inline-block;
    margin: 0 20px 5px 0;
    position: relative;
}
.naviga > span:after {
    content: '>';
    position: absolute;
    top: -1px;
    right: -14px;
}
.naviga > span:last-child:after {
	display: none;
}
.bnm strong {
    display: block;
}
.bpr {
    text-align: right;
    background: #e5e5e5;
    padding: 2px 10px;
    font-weight: bold;
    color:red;
}
.content {
    min-height: 380px;
    background: #00a1e6;
    background-image: -moz-linear-gradient(top, #00a1e6 0%, #ffffff 100%);
    background-image: -webkit-gradient(left top, left bottom, color-stop(0%, #00a1e6), color-stop(100%, #ffffff));
    background-image: -webkit-linear-gradient(top, #00a1e6 0%, #ffffff 100%);
    background-image: -o-linear-gradient(top, #00a1e6 0%, #ffffff 100%);
    background-image: -ms-linear-gradient(top, #00a1e6 0%, #ffffff 100%);
    background-image: linear-gradient(to bottom, #00a1e6 0%, #ffffff 100%);
    filter: progid:DXImageTransform.Microsoft.gradient( startColorstr='#00a1e6', endColorstr='#ffffff', GradientType=0 );
    background-repeat: no-repeat;

}
.content .con {
    padding: 10px 20px;
}
#len {
    background: url("/img/lenta.png") repeat-x;
    width:100%;
    height:20px;
    position: relative;
}
#len:hover {
    animation: move 1s infinite linear;
}
@keyframes move {

    to {
        background-position: 40px 0;
    }
}
#fel {
    position: absolute;
    top:0;
    left:0;
    width:1220px;
    height:100px;
}
#el {
    background: url("/img/elka.png");
    width:90px;
    height:140px;
    position: relative;
    z-index: 1;
    margin: 0 auto;
}
.srh {
    width:100%;
 }
.srh thead {
    font-weight: bold;
    text-align: center;
    background: #ffffff;
}
.srh td {
    padding:5px;
    border:1px solid gray;
}
.tb {
    font-size: 120%;
    font-weight: bold;
    text-align: center;
}
.tab {
    width:200px;
    margin: 5px 10px;
    background: #fff;
    display: inline-block;
    padding: 5px 0;
    border-radius: 5px;
    cursor: pointer;
}
.tab:first-child {
    background: #352a85;
    color:white;
}
.ts {
    display: none;
}
.ts:first-child {
    display: block;
}
#ccc {
    width:1220px;
    margin: 0 auto;
    position: relative;
}
.text table {
    width: 100%;
    border-collapse:collapse;
    font-size: 1em !important;
}
.text table td {
    padding: 5px !important;
    border: 1px solid #ddd;
    vertical-align: top;
}
.text table  img {
    height: auto;
    max-width: 100%;
    width: auto;
    border:0;
}

#footer {
    background: #312682;
    padding: 10px 0;
    color: white;
}
.w1200 {
    width: 1200px;
    margin: 0 auto;
}
#pdvm {
    margin: 0px 140px;
    list-style: none;
}
#pdvm li {
    margin-bottom: 5px;
}
#footer a {
    color: white;
}
.tl {
    font-size: 30px;
    display: block;
    margin-bottom: 15px;
    line-height: 30px;
}
.ml {
    font-size: 20px;
    display: block;
    margin-bottom: 15px;
    line-height: 30px;
}
.right {
    text-align: right;
}
#tabson {
    margin-top: 50px;
    display: block;
}
.spisok {
    width: 99% !important;
    height: auto !important;
    margin: 0;
    padding: 5px;
    margin-bottom: 10px;
}
.spisok .bim {
    width: 50px;
    height: 50px;
    display: inline-block;
}
.spisok .bim img {
    height: 50px;
}
.spisok .bnm {
    display: inline-block;
    width: 70%;
}

@media (max-width: 1024px) {
    #fel {
        width: 100%;
    }
    .con {
        width: 100%;
    }
    #slog {
        font-size: 20px;
    }
    #menu li {
        width: 13%;
    }
    .content .con {
        box-sizing: border-box;
    }
    #text {
        width: 68%;
    }
    #panel {
        width: 25%;
    }
    #poisk {
        width: 90%;
    }
}
@media (max-width: 768px) {
    #fel, #nit, #fm, #bosh, #panel, #slog {
        display: none;
    }
    #head .con {
        padding: 2%;
    }

    #logo, #tel, #work {
        display: inline-block;
        position: static;
        margin: 10px;
    }
    #menu {
        display: block;
        position: static;
        text-align: center;
    }
    .content .con {
        padding: 0;
    }
    #text {
        width: 100%;
    }
    .head {
        height: auto;
    }
    #menu li {
        width: 105px;
        font-size: 13px;
    }
    #text {
        width: 100%;
        margin: 0;
        border-radius: 0;
    }
    .w1200 {
        width: 100%;
    }
    .w1200 .span4 {
        text-align: center;
    }
    body {
        padding: 10px !important;
    }
	#tel .button {
		margin-left: 0;
		position: relative;
		top: 10px;
	}
}

/* ����� */

.modal-heading {
	font-size: 24px;
	font-weight: 600;
	padding: 5px 0;
}
.modal-header .close {
    margin-top: 0px;
}
.modal-body {
	max-height: unset;
}
.close svg {
	width: 20px;
}
.custom-form .form-group {
	margin-bottom: 12px;
}
.custom-form .form-control {
	box-sizing: border-box;
	width: 100%;
	margin-bottom: 0;
	padding: 20px 10px;
	font-size: 16px;
	transition: .4s;
}
.custom-form .form-control.err {
	border-color: #F00;
}
.custom-form input[type="file"].err {
	color: #F00;
}
.custom-form .form-control + .help-note,
.custom-form input[type="file"] + .help-note {
	font-size: 12px;
	font-style: italic;
	opacity: 0.7;
}
.custom-form .form-control + .help-note strong,
.custom-form input[type="file"] + .help-note strong {
	color: #F00;
}
.custom-form textarea.form-control {
	resize: none;
	padding: 10px;
}


span.hidden-link {
	text-decoration: underline; /*-�������������-*/
	cursor: pointer; /*-��������� � ���� ������-*/
}
