/*==========  Desktop First Method  ==========*/

/* Large Devices, Wide Screens */
@media only screen and (max-width : 1200px) {
    .separator > .container > .row > .col-md-12 > h2 {
        font-size: 30px;
    }
}

/* Medium Devices, Desktops */
@media only screen and (max-width : 992px) {
    .posts-blog-page > .container > .row > .col-md-12 {
         padding-top: 10px;
    }
    .about-us-page > .container > .row > h1 {
        font-size: 32px;
    }
    .about-us-page > .container > .row > .col-md-12 > .col-md-5 {
        float: none;
        text-align: center;
        margin-bottom: 40px;
    }
    .about-us-page > .container > .row > .col-md-12 > .col-md-5 > img {
        width: 400px;
        height: 450px;
}
    .about-us-page > .container > .row > .col-md-12 > .col-md-7 {
        height: auto;
    }
    .about-us-page > .container > .row > .col-md-12 > h2 {
        font-size: 25px;
    }
    .about-us-page > .container > .row > .col-md-12 {
        padding: 0px;
    }
    .about-us-page > .container > .row > .col-md-12 > .col-md-7 > div > ul > li {
        font-size: 17px;
    }
    .about-us-page > .container > .row > .col-md-12:nth-child(8) >.col-md-5 > img {
        width: 280px;
    }
    .about-us-page > .container > .row > .col-md-12:nth-child(11) >.col-md-5 > img {
        height: 300px;
    }

}

/* Small Devices, Tablets */
@media only screen and (max-width : 768px) {
  .modal_button {
      width: 320px !important;
      margin: 0;
    }
    .modal_wrap p {
        font-size: 50px !important;
    }
    .why_us > .container:last-child {
        padding-bottom: 10px !important;
    }
    .p-date, .p-cat {
        text-align: center !important;
    }
    .posts-blog-page {
         padding: 20px 0 0 0 !important;
    }
    .about-us-page > .container > .row > h1 {
        font-size: 36px;
    }
    .about-us-page > .container > .row > .col-md-12 > .col-md-5 {
        float: none;
        text-align: center;
        margin-bottom: 40px;
    }
    .about-us-page > .container > .row > .col-md-12 > .col-md-7 {
        height: auto;
    }
    .about-us-page > .container > .row > .col-md-12 {
        padding: 0px;
    }
    
}
@media only screen and (max-width : 680px) {
        .separator > .container > .row > .col-md-12 > h2 {
        font-size: 25px;
    }
        .posts-blog-page > .container > .row > .col-md-12 > p > a > img {
        max-width: 500px;
            height: auto;
    }
    .post_blog_cat > .container > .row > .jumbotron > .lead > img {
        max-width: 500px;
    }
    .post_blog > .container > .row > .jumbotron > .lead > img {
        max-width: 500px;
    }
    .post_testimonials > .container > .row > .jumbotron > .lead > img {
        max-width: 500px;
    }

}
@media only screen and (max-width: 600px) {
        .separator > .container > .row > .col-md-12 > h2 {
        font-size: 20px;
    }
    #code {
        font-size: 80px;
    }
    #error{
        font-size: 80px;
        margin-top: 30%;
    }
    .posts-blog-page > .container > .row > .col-md-12 > p > a > img {
        max-width: 430px;
        height: auto;
    }
        .post_blog_cat > .container > .row > .jumbotron > .lead > img {
        max-width: 430px;
        height: auto;
    }
        .post_blog > .container > .row > .jumbotron > .lead > img {
        max-width: 430px;
        height: auto;
    }
    .post_testimonials > .container > .row > .jumbotron > .lead > img {
        max-width: 430px;
        height: auto;
    }
        #scrollup > img {
        width: 35px;
        height: 35px;
        bottom: 10px;
        right: 2px;
    }
}
/* Extra Small Devices, Phones */
@media only screen and (max-width: 480px) {
    .about_aut > .container > .row > .col-xs-12 > article > p {
        font-size: 12px;
    }
    .about_aut > .container > .row > .col-xs-12 > h2 {
        font-size: 22px;
        font-weight: bold;
    }
    .why_us > h2 {
        font-size: 20px;
    }
    .why_us > .container:last-child {
        padding-bottom: 10px !important;
    }
   .logo {
      background: url(../img/Logo_mini_new.png) no-repeat center !important;
       width: 300px !important;
  }
  .modal_button {
      width: 300px !important;
      margin: 0;
   }
    .modal_button a {
       font-size: 20px !important;
    }
    .logo_wrap p {
        font-size: 50px !important;
        letter-spacing: 1px !important;
    }
    .about_aut {
        padding-top: 5px !important;
    }
    .about_aut > .container > .row > .col-xs-12 > img {
        width: 320px;
    }
        .separator > .container > .row > .col-md-12 > h2 {
        font-size: 16px;
        margin-top: -10px;
        margin-bottom: -10px;   
    }
    .jumbotron > h1 {
        font-size: 33px !important;
    }
    #b-page, #m-page {
        float: none !important; 
        text-align: center !important;
    }
        .posts-blog-page > .container > .row > .col-md-12 > p > a > img {
        max-width: 380px;
            height: auto;
    }
        .post_blog_cat > .container > .row > .jumbotron > .lead > img {
        max-width: 380px;
        height: auto;
    }
        .post_blog > .container > .row > .jumbotron > .lead > img {
        max-width: 380px;
        height: auto;
    }
    .post_testimonials > .container > .row > .jumbotron > .lead > img {
        max-width: 380px;
        height: auto;
    }
    div#scrollup > img {
        width: 30px;
        height: 30px;
        bottom: 2px;
        right: 2px;
    }
    .banner-container {
        margin-bottom: 30px;
}
    .banner-top > p {
        line-height: 1.4em;
        font-size: 12px;
    }
}
@media only screen and (max-width : 420px) {
    .formErrorContent, .formError {
        right: 165px;
        top: -80px;
    }
        #code {
        font-size: 60px;
    }
    #error{
        font-size: 60px;
        margin-top: 20%;
    }
    .jumbotron > h1 {
        font-size: 25px !important;
    }
    .jumbotron > p {
        font-size: 18px !important;
    }
        .posts-blog-page > .container > .row > .col-md-12 > p > a > img {
        max-width: 305px;
            height: auto;
    }
        .post_blog_cat > .container > .row > .jumbotron > .lead > img {
        max-width: 305px;
        height: auto;
    }
        .post_blog > .container > .row > .jumbotron > .lead > img {
        max-width: 305px;
        height: auto;
    }
    .about-us-page > .container > .row > h1 {
        font-size: 25px;
        margin-top: 0px;
    }
    .about-us-page > .container > .row > .col-md-12 > .col-md-5 {
        float: none;
        text-align: center;
        margin-bottom: 40px;
    }
    .about-us-page > .container > .row > .col-md-12 > .col-md-5 > img {
        width: 280px;
        height: 300px;
}
    .about-us-page > .container > .row > .col-md-12 > .col-md-7 {
        height: auto;
    }
    .about-us-page > .container > .row > .col-md-12 > h2 {
        font-size: 22px;
    }
    .about-us-page > .container > .row > .col-md-12 {
        padding: 0px;
    }
    .about-us-page > .container > .row > .col-md-12 > .col-md-7 > div > ul > li {
        font-size: 15px;
    }
    .about-us-page > .container > .row > .col-md-12:nth-child(8) >.col-md-5 > img {
        width: 200px;
    }
    .post_testimonials > .container > .row > .jumbotron > .lead > img {
        max-width: 330px;
        height: auto;
    }
}
@media only screen and (max-width : 350px) {
    .soc-btns > .soc-wrap > a > img {
        width: 48px;
        height: 48px;
    }
    #code {
        font-size: 50px;
    }
    #error{
        font-size: 50px;
        margin-top: 20%;
    }
    .posts-blog-page > .container > .row > .col-md-12 > p > a > img {
        max-width: 280px;
        height: auto;
    }
    .post_blog_cat > .container > .row > .jumbotron > .lead > img {
        max-width: 280px;
        height: auto;
    }
    .post_blog > .container > .row > .jumbotron > .lead > img {
        max-width: 280px;
        height: auto;
    }
    .post_testimonials > .container > .row > .jumbotron > .lead > img {
        max-width: 280px;
        height: auto;
    }
}


/* Custom, iPhone Retina */
@media only screen and (max-width : 320px) {
        .separator > .container > .row > .col-md-12 > h2 {
        font-size: 14px;
        margin-top: -10px;
        margin-bottom: -10px;
    }
    .post_testimonials > .container > .row > .jumbotron > .lead > img {
        max-width: 260px;
        height: auto;
    }

}


/*==========  Mobile First Method  ==========*/

/* Custom, iPhone Retina */
@media only screen and (min-width : 320px) {
    .why_us > .container > .row > .col-lg-8 > p {
        font-size: 11px;
        letter-spacing: 0px;
    }
    .why_us > .container > .row > .col-lg-4 > p {
        font-size: 11px;
        letter-spacing: 0px;
        padding-top: 0px;
        height: 50px;
        margin-bottom: 15px;
    }  
}

/* Extra Small Devices, Phones */
@media only screen and (min-width : 480px) {

}

@media screen and (min-width: 600px) {
    .why_us > .container > .row > .col-lg-8 > p {
        font-size: 13px;
        letter-spacing: 0px;
    }
    .why_us > .container > .row > .col-lg-4 > p {
        font-size: 13px;
        letter-spacing: 0px;
        padding-top: 0px;
        height: 50px;
        padding-top: 12px;
        margin-bottom: 25px;
    }  
}

/* Small Devices, Tablets */
@media only screen and (min-width : 768px) {
    .why_us > .container > .row > .col-lg-8 > p {
        font-size: 13px;
        letter-spacing: 0px;
    }
    .why_us > .container > .row > .col-lg-4 > p {
        font-size: 13px;
        letter-spacing: 0px;
        padding-top: 0px;
    }
}

/* Medium Devices, Desktops */
@media only screen and (min-width : 992px) {
    .why_us > .container > .row > .col-lg-8 > p {
        font-size: 14px;
    }
    .why_us > .container > .row > .col-lg-4 > p {
        font-size: 14px;
        padding-top: 5px;
        height: 50px;
        margin-bottom: 0px;
    }
    .about-us-page > .container > .row > .col-md-12 >.col-md-5 > img {
        width: 380px;
    }
    .about-us-page > .container > .row > .col-md-12:nth-child(8) >.col-md-5 > img {
        width: 280px;
    }
}

 /* Large Devices, Wide Screens */
@media only screen and (min-width : 1200px) {

}


/* Top Nav */
@media screen and (max-width:767px) {
    ul.nav li {
        display: block !important;
    }
    .navbar {
        border-radius: 0; 
    }
    .control-label {
        line-height: 2.3;
    }
    .logo_wrap {
        margin-top: 0px !important;
    }
    .navbar-header {
        margin: 0px !important;
}
}

@media screen and (min-width:768px) {
    .navbar {
        border-radius: 0;
    }

}