*{
margin: 0;
padding: 0;
}
img{
max-width:250px;
margin:5px auto 15px;
display:inline-block;
}
.forimg{
border:1px solid black;
border-top:none;
}
body{
background-image: url(/img/bg.jpg);
background-repeat: repeat;
background-size:cover;
background-attachment:fixed;
}
.header{
border:1px solid black;
}
a.contacts{
font-weight:bold;
}
p.contacts{
border-bottom: 1px solid black;
}
p.disc {
margin-left: 9% !important;
}
.h1, h1 {
font-size: 1.8rem;
}
.h2, h2 {
font-size: 1.3rem;
margin-top:5px;
}
h1{
color: #21243C;
display:block;
margin-left:5px;
}
h2{
color: #21243C;
line-height:1.5;
text-align:  left;
margin-left:5px;
}
h5{
color:black;
background: rgba(255,255,255,.5);
}
p{
margin-left: 4px;
}
.container{
background-color: rgba(255,255,255, .9);
}
.wraprow{
padding:10px 12px;
}
.cont{
margin-top:20px;
padding-bottom: 5px;
}
.row .slide{
margin:auto;
}
a{
color:#1382C6;
}
a.nav-link {
   height: 60px;
background-color: #21243C;
color: #fff;
}
.carousel-indicators li.active{
background-color: red;
}
.carousel-item img{
max-width:950px;
max-height:449px;

}
.carousel-control-next-icon, .carousel-control-prev-icon {
width: 30px;
height: 30px;
}
.zakon{
margin-left:10%;
margin-top: -10px;
margin-bottom: -10px;
}
.prichini{
margin-left:7px !important;
}


.tab-h{
display:inline-block;
padding: 5px 10px;
line-height:30px;
text-align:center;
border: 1px ridge black;
cursor:pointer;
transition: ease-out 0.3s;
font-weight: bold;
}
.tab-h:first-child{
border-top-left-radius:5px;
}
.tab-h:last-child{
border-top-right-radius:5px;
}
.tab-b{
display:none;
padding: 20px;
border:1px solid black;
transition: ease all .5s;
}
.tabs-body{
position:relative;
top:-1px;
transition: 1s ease-out 0.5s;
}
.tabs-header{
position:relative;
z-index: 2;
}
.active{
border-bottom: 1px solid white;

}
.tabs-header .active{
background-color: #007FFF;
}

.nav{
margin-left: -20px;
}
.nav-item{
margin-right: -20px;
}
.nav-pills .nav-link.active, .nav-pills .show > .nav-link {
color: #FFF !important;
text-decoration: none;
background-color: #BA1414;
border: none;
-webkit-text-decoration-skip: objects;
}
.nav-link:hover {
background-color:#393F68 ;
box-shadow:1px 1px 5px 2px grey;
}
.nav-link:active {
background-color:#761625;
}
.nav-pills .nav-link {
border-radius: 0;
}
.nav-fill .nav-item {
line-height:2.5;
}
.tab-content img{
max-width:250px;
border:1px solid black;
margin-top:15px;
}
.vykup img{

}
.vykup{
text-align: center;
margin:10px;
}
span.primechanie{
color:#BA1414;
}
p.disc{
margin-left:5%;
margin-top:11%
}
p.for_p_imgvert{
margin-top: 18%;
}
p.for_p_imgvert::last-child{
margin-top: 8%;
}
p.price{
font-size:1.3rem;
color:#BA1414;
font-weight:bold;
margin-left:9%;
}
p.disc.ozu{
margin-top: 5%;
}
.kg{
color:#BA1414;
font-size: 1.3rem;
    font-weight: bold;
}
.forborder{
border:1px solid black;
border-top:none;
}
table{
width:100%;
border:1px solid black;
}
.table td, .table th {
vertical-align: baseline;
}

.footer{
margin-top:5px;
}

/************************ Media *******************************/

@media (max-width: 991px) {
.tab-content img {
max-width: 200px;
margin-top: 20px;
}
}


@media (max-width: 767px) {
 p.disc{
margin-top:2%;
text-align: center;
margin-left: 0% !important;
}
p.price{
margin-left:0;
text-align: center;
}
.tab-h{
width:100%;
text-align:left;
}
.tab-h:first-child{
border-top-left-radius:5px;
border-top-right-radius:5px;
}
.tab-h:last-child{
border-top-right-radius:0px;
}
.forimg{
outline:none;
border-bottom:none;
}
}