@media only screen and (max-width: 1024px) {
  header {
    z-index: 10;
  }
  .main-menu {
    position: fixed;
    top: 0;
    left: 0;
    width: 50%;
    background: #749610;
    height: 100%;
    transition: all 0.5s ease-out;
    left: -50%;
  }
  .main-menu ul.menu:before {
    width: 288px;
    height: 49px;
    content: '';
    background: url(../img/logo.png) no-repeat;
    display: block;
    margin: 20px auto;
  }
  .main-menu ul.menu li {
    display: block;
  }
  .main-menu ul.menu li a {
    text-align: left;
  }
  .openmenu .main-menu {
    left: 0;
  }
  .mobilemenu {
    background: #749610 url(../img/mobilemenu.png) no-repeat center;
    width: 36px;
    height: 36px;
    position: absolute;
    top: 20px;
    right: 20px;
  }
  .freesample .heading h3 {
    font-size: 18px;
  }
  .freesample .heading figure {
    height: 80px;
    width: 80px;
    min-height: 80px;
  }
  .freesample .heading .free {
    height: 80px;
    padding-left: 90px;
  }
}
@media screen and (max-width: 900px) {
  .highlight-section {
    background: url(../img/banner-2-mobile.png);
    background-size: cover;
  }
  .highlight-box1 {
    width: 100%;
  }
  .highlight-box3,
  .highlight-box2 {
    width: 100%;
    height: auto;
    top: auto;
    left: auto;
    text-align: left;
  }
  .highlight-box3,
  .highlight-box2,
  .highlight-box1 {
    margin-bottom: 39px;
    height: auto;
  }
  .highlight-box3 .round-thumb {
    float: left;
    margin-right: 30px;
    margin-left: 0px;
  }
  .highlight-box3 .round-thumb:before {
    bottom: -48px;
    right: -38px;
  }
  .highlight-content div .round-thumb:before,
  .highlight-content div .round-thumb:after {
    display: none;
  }
  .highlight-box3 .round-thumb:after {
    -moz-transform: scale(1) rotate(-45deg);
    -webkit-transform: scale(1) rotate(-45deg);
    -o-transform: scale(1) rotate(-45deg);
    -ms-transform: scale(1) rotate(-45deg);
    transform: scale(1) rotate(-45deg);
    bottom: -50px;
    right: 5px;
  }
  .freesample .header form .columns {
    padding: 0 10px;
  }
  .freesample .heading .free {
    width: 100%;
    float: none;
  }
}
@media screen and (max-width: 768px) {
  ul.contact-number {
    text-align: center;
    margin-bottom: 10px;
  }
  span.email-info {
    float: left;
    width: 100%;
    text-align: center;
    margin-bottom: 20px;
  }
  span.visit-link {
    float: left;
    width: 100%;
    text-align: center;
    padding: 20px 0px;
  }
  span.footer-logo {
    width: 100%;
    text-align: center;
  }
  span.credits {
    width: 100%;
    text-align: center;
  }
  span.copyrights {
    padding: 20px 0px;
  }
  .prod {
    padding-left: 280px;
  }
  .prod figure {
    width: 280px;
    left: -20px;
  }
  .prod h3 {
    padding-top: 30px;
  }
}
@media screen and (max-width: 450px) {
  .highlight-box1 p,
  .highlight-box2 p,
  .highlight-box3 p,
  .highlight-box1 h4,
  .highlight-box2 h4,
  .highlight-box3 h4 {
    float: left;
    width: 100%;
    text-align: center;
  }
  .round-thumb {
    float: none !important;
    margin-right: 30px;
    margin: 0 auto 20px auto !important;
  }
}
@media only screen and (max-width: 640px) {
  .prod {
    padding-left: 0;
  }
  .prod figure {
    position: relative;
    left: auto;
    top: auto;
    margin: 0 auto 20px;
  }
  header .logo {
    top: 20px;
    width: 200px;
  }
  .main-menu {
    width: 75%;
    left: -75%;
  }
  .main-menu ul.menu:before {
    width: 150px;
    background-size: 100% auto;
    height: 40px;
  }
  .heading h1 {
    font-size: 26px;
    padding-bottom: 0;
    border-bottom: none;
    margin-bottom: 10px;
  }
  .home .header {
    min-height: 350px;
  }
  .welcome-section h2 {
    font-size: 24px;
  }
  .welcome-section p {
    font-size: 16px;
  }
  .casestudy .post-loop {
    float: none;
    max-width: 337px;
    margin: 0 auto 30px;
  }
  .highlight-box1 p,
  .highlight-box2 p,
  .highlight-box3 p,
  .highlight-box1 h4,
  .highlight-box2 h4,
  .highlight-box3 h4 {
    margin-top: 0;
    margin-bottom: 0;
  }
  .highlight-content {
    margin-bottom: 0;
  }
  .highlight-section {
    padding: 20px 0 10px;
  }
  .highlight-section .button {
    margin-bottom: 10px;
  }
  .about .header,
  .product .header {
    height: 300px;
  }
  .button-container .button {
    margin-bottom: 10px;
  }
  .service {
    padding: 30px 0;
  }
  .title {
    font-size: 26px;
    margin-bottom: 20px;
  }
  .featured-section p {
    font-size: 16px;
    margin-bottom: 30px;
  }
  ul.benifits li {
    padding-bottom: 20px;
  }
  ul.benifits p {
    font-size: 14px;
  }
  .smallheader .heaer {
    height: 200px;
  }
  .welcome-section.casestudies a img {
    display: block;
    margin-bottom: 15px;
  }
  .freesample .header form {
    padding-bottom: 20px;
  }
  .freesample .header form .columns {
    padding: 0 20px;
  }
  .freesample .header {
    height: auto;
  }
  .middle-footer {
    height: auto;
    padding: 20px 0;
    text-align: center;
  }
  .middle-footer .social {
    text-align: center;
  }
  .middle-footer .social a {
    margin: 10px 5px 0;
  }
}
