/* 
Theme Name: Castle Portable Buildings
Theme URI: http://castleportablebuildings.co.nz/
Description: A Custom made WordPress theme for castleportablebuildings.co.nz -- supports widgets in the sidebar, all manors of post/page formatting and comes with an easy to customize stylesheet.  
Author: M.Nadeem
Author URI: http://webtechapps.com
Version: 1.0 
Tags: Fancy, Responsive, HTML5, widgets, sidebar,
*/
*{margin:0px;padding:0px;}
header, details, section, footer, aside, nav, article, hgroup{
   display:block;
}
table {
  border-collapse: collapse;
  border-spacing: 0;
}
.left
{
   float: left;position: relative;
}
.right
{
   float: right;position: relative;
}
.clear
{
   clear: both;
}
.alignright{
  margin-left: 8px;margin-bottom: 5px;
}
.centered-image{
  position: relative;display: block;margin: 5px auto;
}
.relative{position: relative;}
.font-zero{
  text-indent: 100%;
  white-space: nowrap;
  overflow: hidden;
}
.rounded-5{  border-radius: 5px;
  -webkit-border-radius: 5px;
  -moz-border-radius: 5px;
}
.rounded-5-bottom{
  border-top: none !important;
  border-bottom-right-radius: 5px;
  border-bottom-left-radius: 5px;
  -webkit-border-bottom-right-radius:5px;
  -webkit-border-bottom-left-radius:5px;
  -moz-border-radius-bottomright:5px;
  -moz-border-radius-bottomleft:5px;
}
.rounded-5-top{
  border-top-right-radius: 5px;
  border-top-left-radius: 5px;
  -webkit-border-top-right-radius:5px;
  -webkit-border-top-left-radius:5px;
  -moz-border-radius-topright:5px;
  -moz-border-radius-topleft:5px; 
  border-bottom: none !important;
}
.rounded-10{  border-radius: 10px;
  -webkit-border-radius: 10px;
  -moz-border-radius: 10px;
}
.border-green{
  border: 2px solid #0092cf;
}
.separator-20{
  height: 20px;
}
.arial-12{
  font-size: 12px;font-family: arial;
}
.arial-12-bold{
  font-size: 12px;font-family: arial;font-weight: bold;
  
  margin-top: 10px;text-align: center;
}
a img
{
   border: none;
}
a{
  text-decoration: none;
  -o-transition:all .2s ease-in;
  -ms-transition:all .2s ease-in;
  -moz-transition:all .2s ease-in;
  -webkit-transition:all .2s ease-in;
  transition:all .2s ease-in;
}
body{font-family: Arial, sans-serif;font-size: 100%;background: url(images/bodyBg.png) repeat;}
.blackish-twelve{color: #211f20;font-size: 12px;}
.blackish-fourteen{color: #211f20;font-size: 14px;}
.blackish-sixteen{color: #211f20;font-size: 16px;}
.blackish-eighteen{color: #211f20;font-size: 18px;}
.bold{font-weight: bold;}
.center{position: relative;max-width: 1000px;width: auto;margin: 0 auto;}
.center-align{text-align: center;}
#header{position: relative;width: 100%;height: 177px;background: url(images/headerBg_.png) repeat;text-align: center;}
#header h1{
  display: inline-block;font-family: "Indie Flower";color: #ffffff;font-size: 26px;margin-top: 50px;
}
#logo{
  width: 99px;
height: 128px;
float: left;
background-image: url(images/logo.png);
background-repeat: no-repeat;
font-size: 0px;
margin-left: 10px;
margin-top: 3px;
}
#header-contact-wrap{
  float: right;position: relative;
  max-width: 200px;
  margin-top: 20px;text-align: left;
}
.header-contacts{
  background-repeat: no-repeat;
  background-position: 0 center;
  font-size: 18px; color: #000000;
  padding-left: 40px;
  line-height: 17px;
}
.header-contacts a{
  color: #ffffff;
}
.phone{
  background-image: url(images/phoneIcon.png);
  background-size: 34px;background-repeat: no-repeat;
  margin-bottom: 17px;
}
.email{
  background-image: url(images/emailIcon.png);
  background-size: 34px;background-repeat: no-repeat;
}
.header-contacts a{
  color: #ffffff;
}
.nav-center{
  /*display: table;*/
}
#menu{
  /*background: url(images/menuBg.png) repeat-x;*/
  background-color: #0B769F;
  width: 100%; height: 43px;
  margin-top: 2px;
}
#menu-top-menu{
  list-style-type: none;position: relative;
  width: 100%;text-align: center;
  /*padding-top: 6px;*/
  height: 43px;
}
#menu-top-menu li{
  position: relative;
  list-style-type: none; display: inline-block;
  /*border: 2px solid #075a78;*/
  float: left;
  /*border-radius: 5px;-webkit-border-radius: 5px;-moz-border-radius: 5px;*/
  
  margin-right: 1px;
}
#menu-top-menu li:last-child{
  margin-right: 0px;
}
#menu-top-menu li a.active,#menu-top-menu li a:hover, li.current-menu-item a{
  background-color: #14526e;
}
#menu-top-menu li a,.menu_control{
  display: block;
  padding-left: 12px;padding-right: 12px;
  height: 43px; line-height: 43px;
  color: #ffffff;font-size: 14px;
}
.menu_control{display: none;}
#menu ul li ul li{
  float: none !important; position: relative !important; z-index:333;
  width:100%;
  margin-bottom: 1px;
  border-bottom: 1px solid #ffffff;
}
#menu ul li ul{position: absolute; 
  top:44px; left:0;
  padding-top: 1px;
  background-color: #0B769F;
  width:11.5625em;
  z-index:333; 
  -o-transition:all .1s ease-in;-ms-transition:all .1s ease-in;-moz-transition:all .1s ease-in;-webkit-transition:all .1s ease-in;transition:all .1s ease-in;
  visibility:hidden;
}
#menu ul li:hover > ul{ visibility:visible;transition-delay:0s;}
#menu ul li ul li a{ padding: 0px;height: auto; line-height: 18px; padding: 8px 0; text-align: left;padding-left: 10px;}
#menu ul li ul li ul{position: absolute; top:0; left:100%; visibility:hidden; width:10.5625em;z-index:333;border-left:2px solid white;}
/** End of header and menu styling**/
/** Start of main section styling**/
section#main{
  margin-top: 10px;
  position: relative;overflow: hidden;
  margin-bottom: 40px;
}
#main-content{
  width: 73%;display: inline-block;
  float: left;
}
#sidebar{
  width: 24%;
  float: right;
  display: inline-block;
  margin-right: 1px;
}
.right-border-box{
  /*border-right: 2px solid #00a651;
  border-bottom: 2px solid #00a651;
  box-shadow:2px 2px 5px rgba(0,0,0,.3);-moz-box-shadow: 2px 2px 5px rgba(0,0,0,.3);-webkit-box-shadow: 2px 2px 5px rgba(0,0,0,.3);
  */
  margin-bottom: 5px;
}
.full-border-box{
  border: 2px solid #00a651;
  box-shadow:0px 0px 10px rgba(0,0,0,.5);-moz-box-shadow: 0px 0px 10px rgba(0,0,0,.3);-webkit-box-shadow: 0px 0px 10px rgba(0,0,0,.6);
  margin-bottom: 20px;
}
.grey-bg{
  background-color: #f9fbfe;
}
#sessior-bg{
  background: url(images/sessiorBg.gif) no-repeat;
  background-position: right 20px;
  margin-right: 5px;
}
article.home-section{
  padding-top: 9px;padding-left: 0px;
}
article.home-section h1{
  color: #000;;font-size: 22px;font-weight: bold;
  padding-bottom: 10px;
}
article.home-section h1.full-border-btm{
  border-bottom: 2px solid #5c801a;
  text-decoration: none !important;
}
article.home-section .contents{
  font-size: 16px; font-weight: normal;
  color: #211f20;line-height: 20px;
  padding:12px 15px 37px 5px;
}
.home-section h2{
  font-size: 20px;
  margin-bottom: 15px;
  line-height: normal;
}
.home-section h1 .small-head{
  font-size: 14px;
}
.bottom-text .contents{
  font-size: 14px !important;
  overflow: hidden;
  padding-right: 5px !important;
}
.home-section .bottom-head{
  font-size: 16px; font-weight: bold;
  color: #5c801a;text-decoration: none;
  width: 55%;display: inline-block;
}
#machines-container{
  width: 100%;
  padding: 20px 0px 15px 5px;
}
#machines-ul{
  list-style-type: none;width: 100%;overflow: hidden;
}
#testimonial-ul{
 list-style-type: none;
 width: 98.5%;overflow: hidden;
 position: relative;
border: 2px solid #0092cf;
min-height: 355px;
}
#machines-ul .machine-item{
  list-style-type: none;
  float: left; 
  display: inline-block; width: 231px;
  border: 2px solid #0092cf;
  margin: 0px 3px 20px 3px;
  background-color: #f9fbfe;
}
h2.machine-head{
  height: 40px; line-height: 40px;
  background-color: #0092cf;
  border-bottom: 1px solid #211f20;
  font-size: 14px; font-weight: normal;color: #ffffff;text-align: center;
}
h2.machine-head a{
  color: #ffffff;
}
.machine-image{
  margin: 10px auto;
  border: 3px solid #c7c9cb;
  box-shadow:2px 2px 5px rgba(0,0,0,.3);-moz-box-shadow: 2px 2px 5px rgba(0,0,0,.3);-webkit-box-shadow: 2px 2px 5px rgba(0,0,0,.3);
  position: relative;
  max-width: 214px;
  background-color: #fafafa;
}
.testimonial-image{
 max-width: 205px; 
}
.machine-image a{
  display: block; overflow: hidden;
}
.machine-image a img{
  width: 100%;height: auto;
  border: none;float: left;
}
.machine-image a img.home{
  width: auto !important;
  height: 170px !important;
  display: block;
  margin: 0 auto;
  float: none;
}
.machine-desc{
  padding: 5px 8px 10px 8px;
  text-align: center;
  font-size: 16px;font-weight: normal;color: #211f20;
  line-height: 18px;
  min-height: 130px;
  text-align: left;height: 170px;
}
.bottom-text-wrap{
  margin-top: 20px;
}
.bottom-text{
  margin-right: 0px;
}
/***  END Main Content Styling  **/

/***  Start Sidebar Styling  **/
.sidebar-box{
  width: 98.4%;
  background-color: #f9fbfe;
  overflow: hidden;
  margin-bottom: 25px;
}
.testimonial-box{
  position: relative;
  display: none;
  list-style-type: none;
float: left;
width: 98.5%;

}
.yellow-bg{
  background-color: #ffff7f;
}
.testimonial-wrap{
  min-height: 355px;
}
.testimonial-image-wrap{
  margin: 7px 11px 15px  13px;
  border: 3px solid #c7c9cb;
  box-shadow:2px 2px 5px rgba(0,0,0,.3);-moz-box-shadow: 2px 2px 5px rgba(0,0,0,.3);-webkit-box-shadow: 2px 2px 5px rgba(0,0,0,.3);
  position: relative;
}
.testimonial-image-wrap a{
  display: block; overflow: hidden;
}
.testimonial-image-wrap a img{
  width: 100%;height: auto;
  float: left;
}
.testimonial-quote{
  border-bottom: 1px solid #f1f1f3;border-top: 1px solid #f1f1f3;
  padding: 6px 14px 6px 14px;
  font-size: 14px; line-height: 16px; color: #211f20;
  /*background: url(images/quoteIco.gif) no-repeat;*/
  background-position: 10px 10px;
  min-height: 75px;
  font-style: italic;
}
.testimonial-quote strong{font-style: normal;}
.testimonial-user{
  font-size: 12px;font-weight: bold;
  margin-left: 10px;
  padding: 4px 10px;
  color: #ffffff;
  background-color: #6ea70c;
  float: left;
}
.read-more{
  font-size: 13px; line-height: 20px;color: #0092cf;
  padding-right: 12px;
}
.credit-cards,.inspection-form-wrap{
  padding: 10px;overflow: hidden;
}
.inspection-form{
  border: 2px solid #6ea70c;
}
.phone-p{
  font-family: arial;font-size: 18px;font-weight: bold;text-align: center;
  padding: 10px 0;
}
.payment-head{
  font-size: 18px; font-weight: bold;color: #206077; line-height: 16px;
  text-align: center;
}
.margin-bottom{
  margin-bottom: 23px;
}
.margin-bottom-10{
  margin-bottom: 10px;
}
.black-head{
  font-size: 20px; font-weight: bold;color: #206077; line-height: 16px;
  text-align: center; 
}
.credit-icons{
  overflow: hidden;
}
.credit-icons img{
  float: left;
  display: inline-block;
  max-width: 60px;height: auto;
  margin-right: 6px;margin-left: 5px;
}
.payapl-icon{
  margin:15px auto;
  display: block;
  max-width: 139px;
}

/** End of Sidebar Styling  **/

/** bootoom section styling ***/
#bottom{
  width: 100%;line-height: 27px;
  
  text-align: center;
  font-size: 16px; font-weight: bold; color: #000;
  margin-bottom: 10px;
}
#bottom img{
    display: inline;
  max-width: 50px;
  margin-right: 20px;
}
#bottom h2{
  margin-bottom: 15px;
}
.bottom-no-border{
  border-bottom: none !important;
}
#bottom .phone-bolder{
  font-size: 24px;color: #206077;
  text-decoration: none;
}
#logo_container {
  box-shadow: 1px 0px 10px #999;
}
.comp_logos {
  margin-top: 10px;padding: 6px 0;
}
.comp_logos_table{
  margin: 0 auto;
}
.comp_logos_table table tr td img {
  width: 92%;max-width: 127px;
  display: block;
  margin: 0 auto;
}
/** End of Bottom Section Styling**/

/***  Start footer styling  ****/
#footer{
  width:100%;height: 70px;
  padding-top: 10px;
  background: url(images/headerBg_.png) repeat;
}
#footer-container{
  text-align: center;
}
#menu-footer-menu{
  list-style-type: none;text-align: center;
}
#menu-footer-menu li{
  display: inline;
  border-left: 1px solid #ffffff;
  padding-right: 15px;
  padding-left: 15px;
}
#menu-footer-menu li:first-child{
  border-left: none;
  padding-left: 0px !important;
}
#menu-footer-menu li:last-child{
  padding-right: 0px !important;
}
#menu-footer-menu li a{
  color: #ffffff;font-size: 15px;
}
.copyright{
  text-align: center;
  font-size: 14px; color: #ffffff;
  margin-top: 5px;
}
#contact-wrap{
  width: 100%;display: inline-block;
  float: left;
  min-height: 400px;
}
.contact-form-wrap{
  position: relative;
}
.contact-us-form{
  width: 52%;
  display: inline-block;float: left; 
}
.contact-detail{
  font-size: 14px;font-family: arial;
  overflow: hidden;
  margin-top: 10px;line-height: 18px; 
}
.contact-detail strong{
  display: inline-block;width: 75px;
  font-weight: normal;
}
.staff-wrap{
  text-align: center;
}
.staff-wrap img{
  display: block;margin: auto;margin-bottom: 10px;
  width: 97%;
  border: 1px solid #000;
}
.contact-open-account{
  position: relative;
  overflow: hidden;
  padding-top: 10px;margin-top: 10px;
  border-top: 1px solid #ccc;
}
.contact-open-account .left{
  font-size: 22px;
  margin-left: 30px;
}
.contact-open-account .right{
  text-align: center;
}
.contact-open-account .right a{
  color: #6ea70c;
  display: block;text-align: center;
  font-size: 15px;text-decoration: underline;
}
.contact-us-map{
  width: 43%;
  display: inline-block;float: right;  
}
.map{
  margin-top: 5px;
}
.contact-us-head{
  text-align: left !important;
  padding-left: 5px;padding-bottom: 10px !important;
  font-size:20px !important;
border-bottom: 1px solid #CCC;
}
/**** wordpress specific styling****/
.page-contents{
  font-size: 14px; font-weight: normal;
  color: #211f20;line-height: 18px;
  padding:12px 15px 37px 5px;
  text-align: justify;
}
.page-contents h3{
  font-size: 1.15em;line-height: normal;
  padding-bottom: 10px;
}
.machine-detail-images{
  margin-left: 20px;
  margin-bottom: 10px;
  max-width: 350px;
  height: auto;
}
.testimonials-container{
  position: relative;
  overflow: hidden;
}
.testimonials-main-ul{
  list-style: none;
}
.testimonials-main-ul li{
  list-style: none;
  display: block;overflow: hidden;
  padding-bottom: 15px;
  margin-bottom: 25px;
  border-bottom: 1px solid #6ea70c;
}

.testi-img{
  display: inline-block;
  float: left;width: 20%;
  margin-right: 10px;
  margin-bottom: 10px;
}
.testi-img img{
  width: 100% !important;height: auto !important;
}
.testi-detail{
  font-size: 14px; font-family: arial 'sans-serif';
  display: inline-block;
  float: right;
  width: 75%;
}
.testi-detail h5{
  font-size: 18px; font-weight: bold;
  padding-bottom: 10px;
}
.content-table-tr{
  background-color: #6ea70c;
  padding:0px 10px;color:#fff;
}
.content-table-tr td{
  padding-left: 5px;
}
.content-table-td-left{
  border-top-left-radius: 5px;
  -webkit-border-top-left-radius:5px;
  -moz-border-radius-topleft:5px; 
}
.content-table-td-right{
  border-top-right-radius: 5px;
  -webkit-border-top-right-radius:5px;
  -moz-border-radius-topright:5px;
}
ul li{
  list-style-position: inside;list-style-type: disc;
}
.machine-desc ul {
  margin-left: 15px;
}
.machine-desc ul li{
  list-style-position: outside;
}
.resource-lib table tr td{
  text-align: center;
  padding-bottom: 10px;
  padding-top: 10px;
}
.resource-lib table tr td.border-bottom
{
  border-bottom: 2px solid #6ea70c;
  height: 40px;
}
.resource-lib table tr td img{
  width: 80%;height: auto;
}
.resource-lib a{
  color: #5c801a;font-size: 13px;
}
.three-image-table{
  width: 100%;
}
.three-image-table tr td{
  width: 33%;text-align: center;padding: 5px;
}
.three-image-table tr td img{
  max-width: 100%;height: 165px;width: auto;
}

.boxes-ul-wrap ul{
    max-width: 100%;
  margin: auto;
  list-style-type: none;
  margin-top: 20px;
}
.boxes-ul-wrap ul .box-item {
  list-style-type: none;
  float: left;
  display: inline-block;
  width: 32%;
  border: 2px solid #2c2c2c;
  margin: 0px 6px 40px 0px;
  padding-bottom: 4px;
  background-color: #fff;
  position: relative;
}
.box-item.grey-bg {
  margin-bottom: 55px !important;
}
.grey-bg {
  background-color: #ececec !important;
}
.rounded-5 {
  border-radius: 5px;
  -webkit-border-radius: 5px;
  -moz-border-radius: 5px;
}
h2.box-head.trans {
  height: 55px;
  line-height: 55px;
  background-color: transparent;
  border-bottom: 0px;
  color: #000;
  font-weight: bold;

  margin: 0;
  font-size: 14px;
  text-align: center;
  padding: 0px 5px;
}
img.working-arror {
  height: 35px;
  display: inline;
  position: relative;
  top: 10px;
}
.box-image {
  margin: 10px auto;
  border: 2px solid #c7c9cb;
  position: relative;
  width: 95%;
  background-color: #fff;
}
.box-image.small-img-box {
  width: 80%;
  height: 290px;
  overflow: hidden;
  position: relative;
  text-align: center;
  border-radius: 5px;
  -webkit-border-radius: 5px;
  -moz-border-radius: 5px;
}
.box-image.small-img-box a {
  display: block;
  overflow: hidden;
  width: 1000px;
  position: absolute;
  left: 50%;
  top: 0;
  margin-left: -500px;
}
.box-image.small-img-box a img {
  width: auto;
  height: 255px;
  margin: 0 auto;
  display: block;
  max-width: 200%;
}
.equip-opt-text {
  line-height: 20px;
  margin-bottom: 4px;
  font-size: 14px;
  font-weight: bold;
  margin-top: 10px;
  position: relative;
  top: 87%;
}
.aligncenter, img[align="middle"] {
  display: block;
  margin-right: auto;
  margin-left: auto;
  text-align: center;
  float: none;
  clear: both;
}
.my-form input[type=submit], .my-form input[type=button], .btn-equip {
  width: auto;
  padding: 11px 25px;
  background-color: rgba(0,0,0,.7);
  color: white;
  border-radius: 5px;
  -webkit-border-radius: 5px;
  -moz-border-radius: 5px;
  border: 0px;
  font-size: 14px;
}
.btn-equip {
  width: 180px;
  height: 38px;
  background-color: gray;
  border-radius: 10px;
  -webkit-border-radius: 10px;
  -moz-border-radius: 10px;
}
.btn-link {
  display: inline-block;
  padding: 0px;
  line-height: 38px;
  text-decoration: none;
  height: 38px;
}
.btn-link:hover{
  opacity: .9;
}
.post_content ul .box-item {
  list-style-type: none;
  float: left;
  display: inline-block;
  width: 32%;
  border: 2px solid #2c2c2c;
  margin: 0px 6px 40px 0px;
  padding-bottom: 4px;
  background-color: #fff;
  position: relative;
}
/***  responsive styling  ***/
@media all and (max-width: 1000px) {
    .center{
      max-width: 959px;
    }
    #logo{
     width: 99px;height: 128px;
    }
    .header-bullets{
      margin-top: 27px;
      max-width: 270px;
    }
    .bullet-list{
      margin-left: 30px;
    }
    #header-contact-wrap{
      margin-right: 4px;
    }
    #menu-top-menu li a{
      padding-left: 26px;
      padding-right: 26px;
    }
    #menu ul li ul li ul{
      left: 112px;
    }
    #machines-ul .machine-item{
      width: 220px;
    }
    .machine-image{
      max-width: 94%;
      box-shadow: none;-moz-box-shadow: none;-webkit-box-shadow: none;
    }
    .credit-icons img{
      margin-right: 3px;
      margin-left: 3px;
    }
    .company-img-wrap{
      padding: 10px 30px 0px 28px;
    }
}
@media all and (max-width: 960px) {
  .center{
      max-width: 859px;
    }
    #logo{
      width: 99px;height: 128px;
    }
    .bullet-list{
      margin-left: 28px;
    }
    .bullet-list .list-item{
      font-size: 16px;
      padding-left: 16px;
    }
    .bullet-list .list-item:before{
      left: -18px;
    }
    .header-contacts{
      font-size: 16px;
    }
    .menu_control {
        display: block;
        width: 100%;
        border-width: 0;
        font-size: 16px;
        border-right: 0px !important;
        cursor: pointer;text-align: left;
        -webkit-box-sizing: border-box;-moz-box-sizing: border-box;box-sizing: border-box;
    }
    #header{height: auto;}
    #menu{height: auto;background-color: #1d92cb; }
    #menu ul li ul{background-color: transparent;}
    .menu {
      display: none;width: 100%;
      border-width: 1px 0 0 0;clear: both;
      height: auto;background-color: 
    }
    #menu-top-menu li a{
      padding-left: 9px;padding-right: 19px;
      text-align: left;border-bottom: 1px solid #fff;
    }
    .menu li {
        width: 100%;
        float: none;
        margin-bottom: 0;
    }
    .menu .sub-menu li {
        width: 100%;
    }
    #menu ul li ul li{border-bottom: none;    border-left: 1px solid #fff;}
    .menu .sub-menu {
        position: static !important;
        display: block;visibility: visible !important;
        margin: 0;width: auto !important;
        border-top: 1px solid #000;
        padding-left: 45px !important;float: none;
    }
    article.home-section h1{
      font-size: 20px;
    }
    h2.machine-head{
      font-size: 14px;
    }
    #menu-footer-menu{display: block !important;}
    #machines-ul .machine-item{
      width: 200px;border: 1px solid #0092cf;
    }
    .boxes-ul-wrap ul .box-item{
     width: 200px; 
    }
    .machine-image a img.home{
      height: 150px;
    }
    .machine-desc{
      min-height: 145px;
    }
    .credit-icons img{
      max-width: 55px;
      margin-left: 2px;margin-right: 2px;
    }
    .company-img-wrap{
      max-width: 20%;
    }
    .contact-detail strong{width: 55px;}
    #header h1{max-width: 50%;}
}
@media all and (max-width: 860px) {
  .center{
      max-width: 767px;
  }
  #main-content{
    width: 70%;
  }
  #sidebar{
    width: 27%;
  }
  #logo{
    width: 99px;height: 128px;
  }
  .bullet-list,.second-bullet{
    margin-left: 10px;
  }

  .bullet-list .list-item{
    font-size: 14px;
  }
  .bullet-list .list-item:before{
    left: -12px;
  }
  .header-contacts{
    font-size: 15px;
  }
  
  .machine-desc{
    min-height: 130px;
  }
  #machines-ul .machine-item,.boxes-ul-wrap ul .box-item{
    width: 48%;
  }
  #machines-ul .machine-item{
    border: 2px solid #0092cf;
  }
  .machine-image a img.home{
    height: 190px;
  }
  .company-img-wrap{
    padding: 10px 25px 0px 25px;
  }
  .look-img{
    width: 45%;
  }
}
@media all and (max-width: 768px) {
  .center{
      max-width: 719px;
  }
  #logo{
    width: 99px;height: 128px;
  }
  .header-bullets{
    margin-top: 23px;
  }
  .bullet-list .list-item:before{
    left: -7px;
  }
  .bullet-list, .second-bullet{
    margin-left: 0px;
  }
  #header-contact-wrap{
    margin-right: 2px;
  }
  
  #main-content{
    width: 65%;
  }
  #sidebar{
    width: 33%;
  }
  #machines-ul .machine-item,.boxes-ul-wrap ul .box-item{
    width: 47%;
  }
  .machine-image a img.home{
    height: 165px;
  }
  .credit-icons img{
    max-width: 60px;
    margin-left: 4px;
    margin-right: 4px;
  }
  .company-img-wrap{
    padding: 10px 28px 0px 28px;
    max-width: 17%;
  }
  article.home-section h1{
    font-size: 18px;
  }
  .contact-open-account .right{width: 50% !important}
  .contact-open-account .left{font-size: 20px;margin-left: 4px;}
  .page-contents table{font-size: 12px;width: 100% !important;}
  .page-contents table td img{max-width: 100% !important; height: auto !important;}
}
@media all and (max-width: 720px) {
  .center{
      max-width: 639px;
  }
  #logo{
    width: 90px;height: 120px;
    background-size: 100% 100%;
  }
  .phone{
    margin-bottom: 0px;margin-right: 25px;
  }
  #header{height: auto;}
  #header-contact-wrap{
    max-width: 340px;
    margin-right: 12px;margin-top: 12px;
  }
  .header-contacts{
    float: left;
  }
  .machine-desc{
    min-height: 145px;
  }
  .credit-icons img{
    max-width: 54px;
  }
  .look-img{
    width:50%;
  }
  .company-img-wrap{
    padding: 10px 25px 0px 25px;
  }
  .contact-open-account .right{width: 53% !important}
  .contact-open-account .left{font-size: 18px;margin-left: 0px;}
  .contact-detail .right{font-size: 13px;}
  .contact-open-account .right a img{width:99%}

  #header h1{margin-top: 0px;font-size: 24px;max-width: 75%}
  .voucher .contact-us-form{
    width: 85% !important;
  }
  .voucher .contact-us-form input{
    display: block;margin: 0 auto;
    width: 90% !important;
  }
}
@media all and (max-width: 640px) {
  .center{
      max-width: 539px;
  }
  #logo{
    width: 80px;height: 105px;
    background-size: 100% 100%;
  }
  
  #main-content,#sidebar{
    float: none;width: 100%;
  }
  #machines-ul .machine-item{
    width: 31%;
  }
  
  .machine-desc{
    min-height: 160px;
  }
  .sidebar-box{
    width: 48%;
    float: left;
  }
  .testimonial-wrap{margin-right: 10px;}
  .credit-icons{text-align: center;}
  .credit-icons img{display: inline;float: none;}
  .margin-bottom{margin-bottom: 16px;}
  .machine-image a img.home{height: 130px;}
  article.home-section .contents{padding-bottom: 20px;}
  .company-img-wrap{padding: 10px 17px 0px 17px;}
  .black-head{font-size: 16px;}
  .contact-detail .right,.contact-detail .left{float: none;width: 99% !important;}
  .contact-open-account .right a img{width:99%}
  .contact-open-account .left{font-size: 16px;}
  .comp_logos_table{
    margin: 0 auto;
    width: 100%;
  }
  .comp_logos_table table tr td img {
    max-width: 200px;
  }
}
@media all and (max-width: 540px) {
  #menu{padding: 5px 0;}
  .center{
      max-width: 479px;
  }
  #logo{
    width: 80px;height: 105px;
    background-size: 100% 100%;
  }
  .bullet-list .list-item{
    padding-left: 12px;font-size: 13px;
  }
  .header-bullets{
    margin-top: 20px;
  }
  #header-contact-wrap{
    margin-right: 0px;
  }
  .phone{
    margin-right: 8px;
  }
  .machine-image a img.home{
    height: 125px;
  }
  #testimonial-ul{width: 98%}
}
@media all and (max-width: 480px) {
  .center{max-width: 379px;}
  #logo{
    width: 73px;height: 100px;
    background-size: 100% 100%;
  }
  #header-contact-wrap{position: absolute;right: 0px;}
  .header-contacts{float: none;}
  .phone{margin-bottom: 5px;}
  .header-bullets{margin-top: 10px;}
  article.home-section h1{font-size: 17px;}
  #header{height: auto;}
  .machine-desc,.testimonial-quote,article.home-section .contents,h2.machine-head{font-size: 13px;}
  #machines-ul .machine-item,.boxes-ul-wrap ul .box-item{width: 95%;}
  .machine-desc{height: auto;}
  article.home-section .contents{padding-top: 5px;}
  .company-img-wrap{padding: 10px 14px 0px 14px;}
  .contact-us-form,.contact-us-map{width: 98%;float: none;margin-right: auto;margin-left: auto;}

  #header h1{display: none;}
}
@media all and (max-width: 400px) {
  .center{max-width: 349px;}
  .header-contacts,.copyright,#menu-footer-menu li a{font-size: 13px;}
  .bullet-list .list-item{font-size: 12px;}
  #header-contact-wrap{margin-top: 8px;}
  .sidebar-box{width: 47%;}
  .border-green,#testimonial-ul{border: 1px solid #0092cf;}
  .company-img-wrap{padding: 10px 12px 0px 12px;}
  
}
@media all and (max-width: 350px) {
  .center{
      max-width: 319px;
  }
  .machine-desc{min-height: 0px;}
  .header-contacts{background-image: none;}
  
  .machine-image a img.home{height: auto;}
  article.home-section{padding-top: 0px;}
}
@media all and (max-width: 320px){
  .center{max-width: 239px;}
  #header-contact-wrap{float: left;position: relative; padding-left: 10px;}
  #logo{
    width: 100%;height: 88px;
    background-size: 69px 88px;margin: 0px auto;
    background-position: center;
    display: block;
  }
  .sidebar-box{width: 99%;float: none;margin-right: auto;margin-left: auto;}
  .machine-image a img.home{height: auto;}
  .copyright, #menu-footer-menu li a{font-size: 12px;}
  .header-contacts{padding-left: 0;display: inline;float: left;font-size: 14px;}
  #menu-footer-menu li{padding-right: 0px;padding-left: 3px;}
  #bottom{font-size: 15px}#bottom .phone-bolder{font-size: 20px;}
  
  .company-img-wrap{padding: 10px 8px 0px 8px;}
  .look-img{width: 98%;margin-bottom: 5px;}
  .contact-us-form, .contact-us-map{width: 95%;}
}