@media (max-width: 1039px) {
  #header.sm {
    height: auto;
    padding-bottom: 30%; }
    #header.sm #frame {
      height: 100%; }
    #header.sm .slide {
      height: 100%;
      background-size: cover; }
  #top {
    position: relative;
    z-index: 999;
    background: #292a31;
    height: 88px; }
    #top #glow, #top #logo {
      display: none; }
    #top #mobile-logo {
      display: block;
      text-align: center;
      margin: 0 28px; }
    #top .wrapper {
      position: relative; }
    #top .hamburger {
      position: absolute;
      left: 0; }
  #menu-container {
    background: #292a31;
    position: absolute;
    top: 88px;
    left: 0;
    width: 100%; }
    #menu-container #menu {
      border-bottom: 2px solid #47484e;
      position: static;
      padding: 0 25px; }
      #menu-container #menu > li {
        float: none;
        border-bottom: 1px solid #55555b; }
        #menu-container #menu > li > a {
          color: #c3c3c3;
          font-size: 14px;
          line-height: 48px;
          height: auto;
          margin-left: 0; }
        #menu-container #menu > li.active {
          margin: 0 -25px; }
          #menu-container #menu > li.active > a {
            padding: 0 25px;
            background: #4d4e55;
            color: #fff; }
          #menu-container #menu > li.active > .submenu {
            padding-left: 40px; }
        #menu-container #menu > li:last-of-type {
          border-bottom: 0; }
        #menu-container #menu > li:hover > .submenu {
          display: none; }
        #menu-container #menu > li.clicked > .submenu {
          display: block; }
        #menu-container #menu > li > .submenu {
          position: static;
          margin-top: 0;
          width: auto;
          background: 0;
          padding-left: 20px; }
          #menu-container #menu > li > .submenu > li {
            background: 0;
            margin: 0;
            margin-left: 0;
            margin-bottom: 10px; }
            #menu-container #menu > li > .submenu > li .arrw {
              background: none; }
            #menu-container #menu > li > .submenu > li > a {
              padding: 0;
              margin: 0;
              font-size: 12px;
              color: #848383;
              line-height: 33px; }
              #menu-container #menu > li > .submenu > li > a:hover {
                font-weight: normal; }
            #menu-container #menu > li > .submenu > li:hover > .subsubmenu {
              display: none; }
    #menu-container #lang {
      position: static;
      background: #16171d;
      text-align: center;
      padding: 15px 0; }
      #menu-container #lang ul {
        display: inline-block; }
        #menu-container #lang ul li a {
          text-transform: uppercase;
          font-size: 14px;
          color: #7c7c7c; }
          #menu-container #lang ul li a.active {
            color: #aaa; }
  .visible-sm {
    display: block !important; }
  .hidden-sm {
    display: none; }
  #index .left, #index .right {
    width: auto;
    float: none;
    border: 0;
    padding: 0; }
  #index .left {
    margin-bottom: 50px; }
  .footer .txt p {
    width: auto;
    float: none; }
  #address h1 {
    margin-left: 0; }
  .content {
    padding-bottom: 30px; }
    .content #sidemenu {
      display: none; }
    .content .inner {
      float: none;
      width: 100%; }
    .content .inner2 {
      margin-left: 0; }
  #razosana2 .image,
  #razosana .image {
    margin-left: 0;
    float: none; }
  #razosana2 .table,
  #razosana .table {
    padding-top: 20px;
    width: 100%;
    float: none;
    margin-left: 0; }
    #razosana2 .table h2,
    #razosana .table h2 {
      margin-left: 0; }
    #razosana2 .table table,
    #razosana .table table {
      width: 100%; }
  #cont .unit {
    margin-left: 0;
    margin-right: 46px; }
    #cont .unit h2 {
      text-align: center; }
  #portfolio .item_container {
    margin-left: -30px;
    margin-right: -30px; }
    #portfolio .item_container .unit {
      margin-left: 0;
      padding: 0 30px; }
  #portfolio .unit.sert {
    margin-left: 0;
    margin-right: 40px; }
  #sup .unit {
    margin-left: 0;
    margin-right: 46px; }
    #sup .unit h2 {
      text-align: center; }
  #news .unit {
    margin-left: 0; }
  #contacts .inner {
    margin-left: 0; }
  #personal .unit {
    margin-left: 0;
    margin-right: 44px; }
  #opendoc .inner {
    margin-left: 0;
    width: 100%; }
    #opendoc .inner h2 {
      padding-bottom: 15px; }
    #opendoc .inner ul {
      margin-left: 0; }
  #gallery .inner {
    margin-left: 0;
    width: auto; }
  #gallery .cont {
    width: auto; }
  #gallery .units {
    margin-bottom: 0;
    height: auto; }
    #gallery .units .img {
      width: auto;
      height: auto;
      padding-bottom: 75%;
      background-size: contain; }
    #gallery .units .next, #gallery .units .prev {
      height: auto;
      width: 50%;
      top: 0;
      bottom: 44px; }
    #gallery .units .prev {
      background-position: 10% center !important; }
    #gallery .units .next {
      background-position: 90% center !important; } }

@media (min-width: 768px) and (max-width: 1039px) {
  .wrapper {
    width: 750px; } }

@media (max-width: 767px) {
  .wrapper {
    padding-left: 15px;
    padding-right: 15px;
    width: auto; }
  #values {
    background: #979fa3;
    width: auto;
    height: auto;
    padding: 10px 0; }
    #values .col {
      float: none;
      padding: 18px 0 18px 61px;
      width: auto;
      font-size: 14px;
      background-repeat: no-repeat; }
      #values .col span {
        font-weight: bold; }
      #values .col.col1 {
        background-image: url(../images/value-1.png);
        background-position: 23px center; }
      #values .col.col2 {
        background-image: url(../images/value-2.png);
        background-position: 20px center; }
      #values .col.col3 {
        background-image: url(../images/value-3.png);
        background-position: 19px center; }
  .footer {
    height: auto;
    margin-top: 0;
    text-align: center;
    padding-top: 25px; }
    .footer .txt {
      padding-top: 25px;
      margin-left: 0; }
      .footer .txt p {
        font-size: 14px;
        padding-right: 0; }
    .footer .logo {
      position: static;
      display: none; }
    .footer .logo-mobile {
      display: inline-block; }
    .footer #copyr {
      margin-top: 25px;
      padding: 25px 0;
      border-top: 2px solid #62686c;
      position: static;
      text-align: inherit;
      background: 0;
      color: #747474;
      height: auto;
      line-height: normal; }
      .footer #copyr span {
        display: inline-block; }
  .visible-xs {
    display: block !important; }
  #header {
    height: auto; }
    #header #frame {
      display: none; }
    #header #slides {
      position: relative;
      padding-bottom: 50%; }
      #header #slides .slide {
        position: absolute;
        height: auto;
        top: 0;
        left: 0;
        right: 0;
        bottom: 0;
        background-size: cover; }
    #header .wrapper {
      padding-left: 0;
      padding-right: 0; }
      #header .wrapper #txt {
        background: #292a31;
        position: static;
        width: auto;
        height: auto;
        padding: 25px; }
      #header .wrapper #controls {
        top: 0;
        left: 25px;
        margin-top: -35px; }
  #top .hamburger {
    left: 15px; }
  #urls {
    display: none; }
  .content img {
    max-width: 100% !important;
    height: auto !important; }
  .content .inner2 {
    padding-bottom: 30px; }
  /* Specific pages */
  #razosana2 .image {
    margin-bottom: 25px; }
  #razosana2 .items {
    margin-left: 0;
    width: auto; }
  #cont .unit {
    width: 33%;
    margin-right: 0; }
    #cont .unit .img {
      margin: 0 auto; }
  #portfolio .inner {
    overflow: hidden; }
  #portfolio .item_container {
    margin-left: 0;
    margin-right: 0; }
    #portfolio .item_container .unit {
      width: 33%;
      padding: 0; }
      #portfolio .item_container .unit .img {
        margin: 0 auto; }
      #portfolio .item_container .unit h2 {
        text-align: center; }
  #portfolio .unit.sert {
    width: 50%;
    margin-right: 0; }
    #portfolio .unit.sert .img {
      margin: 0 auto; }
    #portfolio .unit.sert h2 {
      text-align: center; }
  #sup .unit {
    width: 33%;
    margin-right: 0;
    height: 200px; }
    #sup .unit .img {
      width: 100%; }
  #personal .unit {
    width: 33%;
    margin-right: 0; }
  table#history {
    margin-top: 20px;
    width: auto; }
  #opendoc img[align='right'] {
    display: none; }
  #contacts .inner {
    width: auto; }
    #contacts .inner #map {
      position: static;
      margin-bottom: 20px; }
      #contacts .inner #map iframe {
        width: 100%; } }

@media (max-width: 700px) {
  #portfolio .item_container .unit {
    width: 50%; }
  #sup .unit {
    width: 50%;
    height: 170px; }
  #personal .unit {
    width: 50%;
    min-height: 0;
    height: 350px; }
  #personal .clear.line {
    display: none; } }

@media (max-width: 640px) {
  #cont .unit {
    width: 50%;
    height: auto;
    margin-bottom: 30px; }
  #news .unit {
    padding-left: 120px;
    min-height: 0;
    padding-bottom: 20px; }
    #news .unit .img {
      width: 100px;
      height: 100px; }
  table#history {
    margin-top: 0;
    display: block; }
    table#history tr {
      display: block; }
      table#history tr td {
        display: block; }
    table#history .year {
      width: 100%;
      padding-bottom: 10px; } }

@media (max-width: 480px) {
  #portfolio .item_container .unit {
    width: 100%; }
  #sup .unit {
    width: 100%; }
  #portfolio .unit.sert {
    width: 100%; }
  #personal .unit {
    min-height: 0;
    float: none;
    width: 206px;
    margin: 0 auto; } }

@media (max-width: 440px) {
  #cont .unit {
    width: 100%; }
  #news .unit {
    padding-left: 0; }
    #news .unit .img {
      display: none; } }

.hamburger {
  width: 28px;
  height: 88px;
  position: relative;
  display: block;
  cursor: pointer;
  z-index: 9; }
  .hamburger span {
    float: left;
    margin: 42px 0;
    width: 28px;
    height: 3px;
    position: relative;
    display: block;
    height: 3px;
    background: #7e7e7e;
    -webkit-transition-duration: .2s;
            transition-duration: .2s; }
    .hamburger span:before,
    .hamburger span:after {
      content: "";
      position: absolute;
      height: 3px;
      background: #7e7e7e;
      left: 0;
      right: 0;
      -webkit-transition-duration: .2s;
              transition-duration: .2s; }
    .hamburger span:before {
      top: 0;
      margin-top: -8px; }
    .hamburger span:after {
      bottom: 0;
      margin-bottom: -8px; }
  .hamburger.opened span:before {
    -webkit-transform: rotate(45deg);
        -ms-transform: rotate(45deg);
            transform: rotate(45deg);
    margin-top: 4px;
    margin-left: -2px;
    width: 50%; }
  .hamburger.opened span:after {
    -webkit-transform: rotate(-45deg);
        -ms-transform: rotate(-45deg);
            transform: rotate(-45deg);
    margin-bottom: 4px;
    margin-left: -2px;
    width: 50%; }

.visible-sm, .visible-xs, .hidden {
  display: none; }
