/*
Responsive css here
------------------------------------------------*/

/* Medium screens*/
@media only screen and (min-width: 768px) {
    .visible-xs{
        display: none;
    }
 }

@media only screen and (max-width: 991px) {
    * {
        box-sizing: border-box;
        -webkit-box-sizing: border-box;
        -moz-box-sizing: border-box;
        -ms-box-sizing: border-box;
        -o-box-sizing: border-box;
    }

    img {
        max-width: 100%;
    }

    .clear:before,
    .clear:after {
        display: table;
        content: "";
        clear: both;
    }

    #wrapper {
        width: 100%;
    }

    #contactBox {
        width: 100%;
        height: 38px;
    }

    #contactBox p.phone {
        padding-left: 0;
        text-align: center;
        width: 85%;
    }

    #contactBox p.social {
        float: right;
        margin-right: 0;
        width: 15%;
    }

    #header h1 {
        width: 50%;
        float: left;

    }

    ul#nav {
        width: 50%;
        float: left;

    }

    ul#nav li a {
        width: 100%;
    }

    #banner {
        clear: both;
    }

    #banner p {
        font-size: 23px;
    }

    div#banner:before, #banner:after {
        display: table;
        content: "";
        clear: both;
    }

    #products:before,
    #products:after {
        display: table;
        content: "";
        clear: both;
    }

    ul#products li {
        width: 30.33%;
    }

    ul#products li h2 {

        min-height: 105px;
        line-height: 21px;
        font-size: 21px;
        padding-top: 37px;
    }

    ul#products li img {
        width: 100%;
    }
}

@media only screen and (max-width: 991px) and (min-width: 768px) {
    ul#nav li {
        margin-right: 13px;
    }

    ul#nav a:nth-child(4) {
        clear: both;
        display: block;
    }

    #header img {
        margin-right: 10px;
    }

    .banner-image {
        float: left;
        width: 60%;
        margin-right: 18px;
    }

    .banner-disc {
        float: left;
        width: 35%;
        box-sizing: border-box;
    }

}

/*Small screens*/
@media only screen and (max-width: 767px) {
    #contactBox {
        padding: 4px 0;
    }

    #contactBox p.social a:last-child {
        margin-right: 0;
    }

    #header h1 {
        width: 100%;
        height: 151px;
        padding-top: 30px;
    }

    #header ul#nav {
        border: 0;
        width: 100%;
    }

    #header .mean-container .mean-nav{
        overflow: hidden;
    }

    #header ul#nav li a {
        padding: 0;
    }

    #header ul#nav a {
        display: block;
        text-align: left;
        padding-left: 20px !important;
        box-sizing: border-box;
    }

    #header ul#nav a img {
        clear: both;
        float: none !important;
        padding: 0;
        margin: 5px auto;
        display: none;
    }

    .visible-xs{
        width: 100%;
        display: block;
        float: right;
        margin: 10px 0;
    }

    .visible-xs:before,
    .visible-xs:after{
        display: table;
        content: "";
        clear: both;
    }

    .visible-xs .flag{
          float: right;
          
    }

    .visible-xs .flag a{
        margin-right: 20px;
        display: block;
        float: left;
    }

    .visible-xs .flag a:last-child{
        margin-right: 15px;
    }
    
    #banner p {
        padding: 30px 15px;
    }

    .banner-image {
        width: 100%;
        text-align: center;
        margin-right: 0;
        margin-top: 30px;
    }

    #banner img {
        float: none;
        width: 100%;
        height: auto;
        margin-right: 0;
    }

    #banner p {
        clear: both;
    }

    ul#products li {
        width: 100%;
        margin: 0 auto;
        padding-left: 15px;
        padding-right: 15px;
        margin-bottom: 30px;
    }

    ul#products li img {
        width: 100%;
        height: auto;
    }

    #footer {
        margin: 20px 0;
    }

    #validator {
        margin: 0 auto;
        width: 100%;
    }

    #validator:before,
    #validator:after {
        display: table;
        content: "";
        clear: both;
    }

    #validator a {
        text-align: center;
        margin: 0 auto;
        display: block;
        margin-bottom: 10px;
    }

    #validator img {
        margin-right: 0 !important;
        float: none !important;
    }
/*contact page*/
    #header{
        height: auto;
    }
    div#info {
        clear: both;
        padding-left: 15px;
        padding-right: 15px;
    }
    div#img {
        text-align: center;
    }
    #img:before,
    #img:after,
    div#info:before,
    div#info:after{
        display: table;
        content: "";
        clear: both;
    }
    div#img img {
        float: none;
        margin: 0 auto;
    }
}

@media only screen and (max-width: 640px) {
    #contactBox p.phone {
        width: 70%;
    }

    #contactBox p.social {
        width: 30%;
    }

    #footer {
        width: 100%;
        line-height: 18px;
        padding: 0 15px;
    }

    div#footer:before,
    div#footer:after {
        display: table;
        content: "";
        clear: both;
    }

    #footer p {
        width: 100%;
    }

}

@media only screen and (max-width: 480px) {
    #header.mean-container h1 {
        height: 171px;
        font-size: 28px;
    }

    .visible-xs .flag a img{
        width: 40px;
        height: 23px;
    }
}