*{
    margin: 0;
    padding: 0;
    font-family: Arial;
}
.clear{
    clear: both;
}
#header{
    margin-top: 20px;
}
#logo img{
    width: 150px;
    height: auto;
}
.main-contact{
    position: relative;
    float: left;
    margin: 0 auto;
    padding: 20px 30px 0 50px;
}
.main-contact img{
    position: absolute;
    top: 35px;
    left: 20px;
}
.main-contact p{
    margin-bottom: 0px;
    font-size: 16px;
}
.a:before{
    content: "";
    border-right: 1px solid #838383;
    height: 45px;
    margin-left: 78%;
    position: absolute;
}
#cart{
    margin-top: 25px;
    float: right;
}
#cart a{
    text-decoration: none;
}
#cart span{
    display: inline-block;
    background: #2980b9;
    width: 30px;
    height: 30px;
    text-align: center;
    line-height: 30px;
    border-radius: 50%;
    color: #fff;
}
#menu{
    background: #2980b9;
    border-radius: 3px 3px 0 0;
    padding: 0 60px;
}
#menu a{
    text-decoration: none;
    color: #fff;
    font-weight: 700;
}
#menu ul{
    margin: 0;
}
#menu li{
    list-style: none;
    padding: 5px 10px;
}
#menu ul li{
    position: relative;
    float: left;
}
#menu ul li:hover{
    background: #1190e4;
}
.navbar{
    padding: 0;
}
#category{
    background: #1190e4;
}
#category:hover .sm-1, #news:hover .sm-2{
    display: inline-block;
}
.sub-menu li:hover a{
    font-weight: 700 !important;
}
.sub-menu{
    display: none;
    position: absolute;
    top: 100%;
    left: 0;
    overflow: hidden;
    transition: 350ms;
    z-index: 1;
    background: #1190e4;
    width: 250px;
    height: auto;
}
.sub-menu li{
    border-top: 1px dashed #fff;
    width: 100%;
}
.sub-menu li a{
    font-weight: 400 !important;
}
.bd-none{
    border: none !important;
}
.active{
    background: #1190e4;
}
#search{
    background: #1190e4;
    color: #fff;
    font-weight: 700;
}
#introduce{
    margin-top: 100px;
    position: relative;
}
#introduce h2, #products h2, #the-news h2{
    font-size: 25px;
    font-weight: 700;
}
#introduce hr, #products hr, #the-news hr{
    width: 80px;
    border: 1px solid #2980b9;
    margin-bottom: 35px;
}
#intro a{
    display: inline-block;
    margin-left: 75%;
    margin-bottom: 30px;
    text-decoration: none;
    font-weight: 700;
}
#products{
    margin-top: 100px;
}
#products h4, #the-news h4{
    text-align: center;
}
#products h4 a, #the-news h4 a{
    display: inline-block;
    text-decoration: none;
    color: #000;
    margin-top: 10px;
    font-size: 20px;
    font-weight: 500;
}
#products p{
    text-align: center;
}
#products p span{
    color: red;
    font-weight: 700;
}
#the-news{
    margin-top: 100px;
}
#the-news h4{
    background: #2980b9;
}
#the-news h4 a{
    color: #fff;
}
#partner{
    margin-top: 100px;
}
#partner h2{
    text-align: center;
    font-size: 25px;
    font-weight: 700;
    padding-bottom: 50px;
}
#footer-top{
    margin-top: 30px;
    background: #eee;
}
#footer-top img{
    width: 200px;
    height: auto;
}
#logo-f, #address, #phone{
    margin-top: 20px;
}
#address, #phone{
    padding-top: 30px;
}
#address hr, #phone hr{
    background: #333;
}
#address h3, #phone h3{
    font-size: 20px;
    font-weight: 700;
}
#address p, #phone p{
    font-size: 14px;
    margin-top: 30px;
}
#Footer-bot{
    background: #000;
}
#Footer-bot p{
    height: 30px;
    line-height: 50px;
    float: left;
}
#Footer-bot img{
    width: 100px;
    height: auto;
    margin: 5px 0 0 30px;
}
@media (min-width: 992px) and (max-width: 1300px){
    #menu ul li a{
        font-size: 12px;
    }
    #search-form input{
        width: 120px;
        height: 30px;
        font-size: 12px;
    }
    #search-form button{
        width: 50px;
        height: 30px;
        font-size: 12px;
        text-align: center !important;
        padding: 0 !important;
    }
}
@media (min-width: 768px) and (max-width: 992px){
    *{
        font-size: 12px;
    }
    .main-contact{
        position: relative;
        float: left;
        margin: 0 auto;
        padding: 20px 20px 0 50px;
    }
    .main-contact p{
        font-size: 12px;
    }
    #cart{
        font-size: 12px;
    }
    .sub-menu{
        margin-left: 170px !important;
        top: 0;
    }
    .bg-success{
        margin-left: 0 !important;
    }
    #search button{
        width: 60px;
        height: auto;
        line-height: 20px;
        text-align: center;
    }
}
@media (max-width: 768px){
    *{
        font-size: 12px;
    }
    .main-contact{
        position: relative;
        float: left;
        margin: 0 auto;
        padding: 20px 20px 0 50px;
    }
    .main-contact p{
        font-size: 12px;
    }
    #cart{
        font-size: 12px;
    }
    .sub-menu{
        margin-left: 170px !important;
        top: 0;
    }
    .bg-success{
        margin-left: 0 !important;
    }
    #search button{
        width: 60px;
        height: auto;
        line-height: 20px;
        text-align: center;
    }
    #logo{
        text-align: center;
    }
    #contact{
        margin-left: 10%;
    }
}