@media (max-width:980px) {
  body .-m-cms-cont-standard2014_team {
    margin:0;
    max-width:100%;
  }
  body .-m-cms-cont-standard2014_team .-item {
    width: 50%;
  }

  body .-m-cms-cont-gallery-standard2014_fancybox .-item {
    width: 50%;
  }
  body #foot > * {
    display: block;  
  }
  body #foot .-m-cms-cont-text {
    margin-bottom: 5px;  
  }
  body #foot .-m-cms-cont-nav1 li {
    float: left;
  }
  body #foot .-m-cms-cont-nav1 li:first-child {
    padding-left:0;
  }
  body .-m-cms-cont-standard2014_table .-responsive > tbody > tr > td {
    display: block;
    width: auto !important;
  }   
}

@media (max-width:745px) {
  #left > div, #container #social {
    display: none; 
  }
  #container #nav {
    position: fixed;
    top: 0;
    left: 0;
    bottom: 0;
    display: block;
    -webkit-transition: all .4s;
    transition: all .4s;
    -webkit-transform: translateX(-100%);
    -ms-transform: translateX(-100%);
    transform: translateX(-100%);
    
    z-index:1;
    margin-bottom: 0;
    overflow-y: auto;
  }
  body #nav ul > li {
    font-size: 1.2em;
    padding-bottom: 5px;
  }
  body #nav ul > li > ul > li {
    padding-bottom: 5px;
  }
  body #nav ul > li > ul {
    display: block;
    font-size: 0.7em;
    padding-top: 8px;
  }
  body #cols > div > div {
    display: block;
  }
  body #width {
    padding:0;
  }
  body #container {
    background-image: none !important;  
  }
  body #content {
    padding: 15px 4%;
  }
  body #navbtn {
    display: block;
    position: absolute;
    top: 0;
    right: 0;
    width: 64px;
    height: 64px;
  }
  body #cols #head {
    display: block;
  }
  body #head {
    height: 64px;
    position: relative;
    box-shadow: 0px 0px 8px rgba(0,0,0,0.5);
  }
  #container #logo {
    width: 112px;
  }
  #container #logo a {
    background-size: 75%;
  }
  #navbtn:before {
    top: 38%;
    left: 37%;
    width: .85em;
    height: .15em;
    content: '';
    position: absolute;
    font-size: 28px;      
  }
  #container #nav:target {
    -webkit-transform: translateX(0);
    -ms-transform: translateX(0);
    transform: translateX(0);
    box-shadow: 0 0 8px rgba(0,0,0,0.5);
  }
  body .fancybox-nav > span, .fancybox-close {
    display: none !important;  
  }
  body .-m-cms-cont-gallery-standard2014_fancybox .-item {
    padding: 0 5px;
    margin: 5px auto;
  }
}
@media (max-width:380px) {
  #container .-m-cms-cont-form1-fields1 input[type="checkbox"], #container .-m-cms-cont-form1-fields1 input[type="radio"] {
    border: 1px solid rgb(153, 153, 153);  
  }
  body .-m-cms-cont-standard2014_team .-item {
    width: 100%;
    padding:0;
    margin:5px auto;
    float: none;
  }
  body .-m-cms-cont-gallery-standard2014_fancybox .-item {
    width: 100%;
    padding: 0;
    margin: 5px auto;
    float: none;
  }
}
body #width {
  width:auto;
}