.navbar{
    margin-bottom: 0px;
}

body{
    background-color: rgb(255, 174, 0);
    width: 100%;
    overflow-x: hidden;
    color: black;
}

header{
    margin-top: 2%;
    width: 100%;
}

header img{
    width: 10vw;
}

.panel-heading{
    padding: 15px;
    border-bottom: 1px solid transparent;
    border-top-left-radius: 3px;
    border-top-right-radius: 3px;
}

.panel-body {
    padding: 15px;
}

.panel p,a,input{
    font-size: 1.2vw;
}

.panel-footer {
    padding-right: 15px;
    padding-left: 15px;
    padding-bottom: 5%;
    border-bottom-right-radius: 3px;
    border-bottom-left-radius: 3px;
}


.panel-footer p{
    margin:0px;
}

.row{
    margin-left: -15px;
    margin-right: -15px;
}

.col-xs-6{
    margin-top: 10%;
    margin-left: 35%;
    width: 30%;
    float:left;
}

.panel-primary{
    margin-bottom: 20px;
    background-color: #fff;
    border-radius: 2vw;
    box-shadow: 0 1px 1px rgba(0,0,0,.05);
}

.form-group input{
    width: 90%;
    margin-top: 2%;
}


.form-group input[type="submit"]{
    width: auto;
    margin-top: 5%;
}

#bannerImage{
    padding-top:75px;
    padding-bottom:50px;
    margin-bottom: 20px;
    text-align:center;
    color:#f8f8f8;
    background:url(../img/izo.jpg);
    background-size:cover;
}

#bannerContent{
    position:relative;
    padding-top:6%;
    padding-bottom:6%;
    margin-top:12%;
    margin-bottom:12%;
    background-color:rgba(0,0,0,0.7);
    max-width:660px;
}

footer{
    font-size:14px;
    font-weight:bold;
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 1%;
    padding-bottom: 0;
    margin: 4%;
    margin-bottom: 1%;
}

html { 
    min-height:100%;
    position:relative;    
} 

.footer { 
    position: absolute; 
    bottom:0; 
    right:0;
    left:0;
}

@media (min-width:320px){
    #autoResize{
        font-size:12px;
    }
}
@media (min-width:481px){
    #autoResize{
        font-size:16px;
    }
}
@media (min-width:641px){
    #autoResize{
        font-size:18px;
    }
}
@media (min-width:961px){
    #autoResize{
        font-size:20px;
    }
}
@media (min-width:1000px){
    #autoResize{
        font-size:26px;
    }
}
.thumbnail {
    border: 1px solid #ccc;
    padding: 10px;
    background-color: #f9f9f9;
    text-align: center;
}

.thumbnail img {
    max-width: 100%;
    height: auto;
    margin-bottom: 10px;
}

.thumbnail h3 {
    font-size: 18px;
    margin-bottom: 5px;
}

.thumbnail p {
    font-size: 14px;
    margin-bottom: 10px;
}

.thumbnail a {
    display: inline-block;
    padding: 5px 10px;
    background-color: #337ab7;
    color: #fff;
    text-decoration: none;
    border-radius: 4px;
}
.lol {
    font-weight: bolder;
}
.main-content {
    display: flex;
    flex-wrap: wrap;
    justify-content: space-around;
    padding: 20px;
    margin-bottom: 40px;
}

.products-container {
    display: flex;
    flex-wrap: wrap;
    border-radius: 2vw;
    float: right;
    width: 75%;
    background-color: white;
    padding-top: 2vw;
    padding-bottom: 2vw;
}

.products-container h2{
    display: block;
    width: 100%;
    text-align: center;
    padding-bottom: 2vw;
}

.product {
    flex-basis: 25%; 
    padding: 10px;
    box-sizing: border-box;
}

.product img {
    max-width: 100%;
    height: auto;
}

.product h3 {
    font-size: 18px;
    margin-bottom: 5px;
    text-align: center;
}

.panel-heading h3{
    margin: 0px;
    text-align: center;
    font-size: 2vw;
}

.product p {
    font-size: 14px;
    margin-bottom: 10px;
    text-align: center;
}
.product a {
    display: inline-block;
    padding: 10px 20px;
    background-color: #4CAF50;
    color: white;
    text-decoration: none;
    border-radius: 5px;
    transition: background-color 0.3s ease;
}

footer p{
    font-size: 1vw;
}

.product a:hover {
    background-color: black; 
}

#tg:hover{
    content: url('../img/telegramblue.png');
}

#vk:hover{  
    content: url('../img/vkblue.png');
}

.filter-container {
    float: left;
    width: 25%;
    padding: 10px;
}

.product {
    width: 33.33%;
    float: left;
    padding: 10px;
    box-sizing: border-box;
    display: flex;
    flex-direction: column;
    flex-wrap: wrap;
    justify-content:  space-between;
    align-items: center;
}

.navbar{
    background-color: rgb(255, 174, 0);
    border: 0px;
    margin: 4%;
    margin-top: 2%;
}

.navbar-inverse .navbar-nav>li>a{
    color: black;
}

footer img{
    width: 3vw;
}

form a{
    color: black;
    display: block;
}

#vid{
    color: #D60000;
    display: block;
    font-size: 1.2vw;
    
}

form a:hover{
    color: #4169e1;
    text-decoration: none;
}

.btn-primary{
    border: 0px;
}

.btn-primary:hover{
    background-color: #D60000;
}

#cent{
    text-align: center;
    margin-bottom: 2vw;
}

label{
    display: block;
}

.product a {
    padding: 0.5vw 0.7vw;
    font-size: 1vw;
    color: black;
    background-color: white;
    border: solid 2px black; 
    margin-bottom: 3%;
}

.product a:hover{
    background-color: #D60000;
    color: white;
}

.col-xs-offset-4{
    background-color: white;
    border-radius: 1.5vw;
}

.btn-primary{
    background-color: white;
    border: solid 2px black;
    color: black;
}

.center{
    padding-bottom: 2.5vw;
}

.center h1{
    text-align: center;    
    font-size: 3vw;
}

main h2{
    font-size: 2vw;
    padding-top: 2vw;
}

main h3{
    font-size: 1.5vw;
    padding-top: 1vw;
}

main p{
    font-size: 1vw;
    padding-top: 0.5vw;
}

main{
    width: 100%;
    display: flex;
    justify-content: center;
    background-color: white;
}

.bloks{
    width: 80%;
    padding-bottom: 2vw;
}

.table th{
    border: 1px solid black;
    background-color: white;
    
}


.table>tbody>tr>td, .table>tbody>tr>th, .table>tfoot>tr>td, .table>tfoot>tr>th, .table>thead>tr>td, .table>thead>tr>th{
    border-top: 1px solid black;
    vertical-align: middle;
}

#count{
    text-align: center;
}

#del, option, select, textarea{
    font-size: 1vw;
}

table td input, #subm{
    font-size: 1vw;
    text-align: center;
    width: auto;
}

#subm{
    text-align: center;
    display: flex;
    justify-content: center;
}

#small{
    width: 10vw;
    text-align: center;
}

.table{
    background-color: white;
}

.cent{
    display: flex;
    justify-content: center;
}

#form{
    background-color: white;
    padding: 2vw;
    display: flex;
    justify-content: center;
    flex-direction: column;
}

#form h1{
    margin-top: 1vw;
    text-align: center;
}

#subm{
    margin-top: 1vw;
}

.containers{
    display: flex;
    justify-content: center;
}

.block{
    margin: 2vw;    
    display: flex;
    flex-direction: column;
    align-items: center;
}

#hide{
    visibility: hidden;
}
