
@media only screen and (max-width : 1120px) {

  nav.tm-navbar.uk-navbar:before {
    content: '';
    display: block;
    position: absolute;
    background: url(../images/pmain.png);
    background-size: cover;
    width: 260px;
    height: 260px;
    display: block;
    z-index: 500;
    top: -110px;
    left: 53%;
  }

  .tm-block-main .uk-container {
    padding: 0;
  }

  .tm-logo img {
    height: 140px;
  }

}

@media only screen and (max-width : 1020px) {

  .uk-navbar-nav > li:nth-child(3n){
    left: 82%;
  }

  .uk-cover-background {
    background-position: 50% 50%;
    background-size: contain;
    background-repeat: no-repeat;
  }

  .tm-logo img {
    height: 130px;
  }


}

@media only screen and (max-width : 960px) {

  .tm-headerbar {
    position: relative;
    padding: 0 10px;
    transition: all 0.5s;
  }

  .tm-logo {
    width: auto;
    height: 100px;
  }

  .tm-logo img {
    height: 80px;
  }

  .tm-contacts {
    margin-top: 25px;
    margin-right: 15px;
  }

  aside.tm-sidebar-a {
    display: none;
  }

  .tm-main {
    width: 96%;
    left: 1%;
    margin: 0 auto;
    box-sizing: border-box;
  }

  nav.tm-navbar.uk-navbar:before {
    content: '';
    display: block;
    position: absolute;
    background: url(../images/pmain.png);
    background-size: cover;
    width: 160px;
    height: 160px;
    display: block;
    z-index: 500;
    top: -55px;
    left: 50%;
  }

  section#tm-header-content {
    position: relative;
    min-height: auto;
    padding-top: 0;
    box-sizing: border-box;
    padding-left: 40px;
  }

  .tm-block-main {
    padding: 15px 0 0 0;
  }

  .soc {
    position: relative;
    z-index: 1;
    height: 45px;
    margin-left: 0px;
    float: right;
    margin-right: 10px;
  }

  .tm-main-top + .tm-content, .tm-content + .tm-main-bottom {
    padding-top: 10px;
    padding-left: 0;
    padding-right: 0;
  }

  .tm-block-main .uk-container {
    padding: 15px 10px 0 30px;
  }

  div.itemHeader h1.itemTitle {
    padding-top: 0;
    margin-top: 0;
    line-height: 30px;
  }

  #k2Container {
    padding: 24px 0 0 10px;
  }

  .tm-footer {
    position: relative;
    padding-top: 10px;
  }

  .tm-totop-scroller{
    display: none;
  }

}

@media only screen and (max-width : 680px) {

  #tm-header-content{
    display: none;
  }

  .tm-contacts {
    margin: 12px 0 0 30px;
    float: left;
  }

  .tm-contacts .phones {
    text-align: left !important;
  }

  .tm-contacts .phones span{
    font-size: 14px !important;
  }

  .tm-logo {
    width: auto;
    height: 70px;
  }

  .tm-logo img {
    width: auto;
    height: 60px;
  }

  nav.tm-navbar.uk-navbar:before {
    content: '';
    display: block;
    position: absolute;
    background: url(../images/pmain.png);
    background-size: cover;
    width: 160px;
    height: 160px;
    display: block;
    z-index: 500;
    top: -55px;
    left: 100%;
    margin-left: -180px;
  }
}

@media only screen and (max-width : 600px) {
  #tm-main-top{
    display: none;
  }

  nav.tm-navbar.uk-navbar:before {
    content: '';
    display: block;
    position: absolute;
    background: url(../images/pmain.png);
    background-size: cover;
    width: 150px;
    height: 150px;
    display: block;
    z-index: 500;
    top: -52px;
    left: 100%;
    margin-left: -155px;
  }
}

@media only screen and (max-width : 380px) {

  .tm-contacts {
    margin: 12px 0 0 10px;
    float: left;
  }

  .tm-contacts .phones {
    text-align: left !important;
  }

  .tm-contacts .phones span{
    font-size: 12px !important;
  }

}