/*==========  Desktop First Method  ==========*/

/* Large Devices, Wide Screens */

@media only screen and (max-width: 1200px) {
  .description {
    margin-top: 110px;
  }
  .main-page-btn {
    margin-bottom: 100px;
  }
  .service-box {
    height: 280px;
  }
  .service-box .empty-btn {
    margin-top: 196px;
    max-width: 180px;
    font-size: 16px;
    background: rgba(0, 0, 0, 0.1);
  }
  ul.advantages li {
    width: 155px;
  }
  table.hd-table {
    display: none;
  }
  table.mobile-table {
    display: table;
    width: 100%;
  }
  td {
    width: auto;
  }
  td:first-of-type {
    width: 240px;
  }
  .outer {
    height: 485px;
  }
  h1.preview-text {
    width: 860px;
  }
  a.article p {
    display: none;
  }
  a.article h3 {
    font-size: 16px;
  }
  a.number-in-main {
    float: none;
    margin: 40px auto 0;
    padding-right: 0px;
    border-left: none;
    background: url(../img/tlph.svg) no-repeat left center;
    padding-left: 25px;
  }
  h1 {
    font-size: 44px
  }
}

/* Medium Devices, Desktops */

@media only screen and (max-width: 992px) {
  .service-page-btn {
      top: 219px !important;
  }
  .service-box .empty-btn {
    max-width: 260px;
  }
  .menu-hd .menu {
    display: none;
  }
  .menu-mobile .menu {
    display: block;
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: url(../img/background.png) #1b1b1b;
    z-index: 1;
    margin: 0;
    text-align: center;
    padding: 49px 0 0 0;
  }
  .menu-mobile .menu li {
    float: none;
    display: block;
    text-align: center;
    margin: 0 0 20px 0;
  }
  #nav-icon1 {
    display: block;
    float: right;
    z-index: 2;
  }
  .logo {
    width: 126px;
  }
  h1 {
    font-size: 24px;
  }
  .description {
    margin-top: 80px;
  }
  ul.srv-menu, .col-text-3 {
    column-count: 2;
    -moz-column-count: 2;
    -webkit-column-count: 2;
  }
  .outer {
    height: 375px;
  }
  h1.preview-text {
    width: 660px;
  }
  img.pre-article {
    float: none;
    width: 335px;
    height: 242px;
  }
  a.article {
    height: 360px;
  }
  .main-page-btn {
    margin-bottom: 80px;
  }
}

/* Small Devices, Tablets */

@media only screen and (max-width: 768px) {
    .service-page-btn {
      top: 153px !important;
  }
  
  .service-page-btn a{
    font-size: 15px !important;
    padding: 5px 9px !important;
  }
      
  ul.srv-menu, .col-text-3 {
    column-count: 1;
    -moz-column-count: 1;
    -webkit-column-count: 1;
  }
  .contacts-col {
    border-left: none;
    border-top: 1px solid rgba(255, 255, 255, 0.1);
    padding-top: 60px;
    margin-top: 60px;
  }
  p.copyright {
    margin-left: 25px;
  }
  .srv-menu-wrap h3, .srv-menu-wrap ul {
    padding-left: 50px;
  }
  .logo {
    width: 96px;
    margin-top: 16px;
  }
  .main-page {
    background: url(../img/background-main-tablet.jpg) no-repeat -130px top, url(../img/background.png) #1b1b1b;
    background-size: auto;
  }
  .main-page-btn .btn, .main-page-btn .empty-btn {
    float: none;
    display: inline-block;
    margin-bottom: 20px;
    width: 228px;
  }
  .main-page-btn {
    text-align: center;
    margin-top: 30px;
  }
  .description h1 {
    height: 112px;
  }
  td {
    width: auto;
  }
  td:first-of-type {
    width: 150px;
  }
  h1.preview-text {
    font-size: 22px;
    width: 270px;
  }
  .outer {
    height: 250px;
  }
  .contacts-page ul.address {
    margin-bottom: 60px;
  }
  img.pre-article {
    float: left;
    width: 196px;
    height: 148px;
  }
  a.article {
    overflow: hidden;
    height: 150px;
  }
  #nav-icon1, #nav-icon2 {
    margin: 24px 2px 0 0;
  }
  .service-box {
    width: 100%;
  }
  h2 {
    font-size: 26px;
  }
}

/* Extra Small Devices, Phones */

@media only screen and (max-width: 480px) {
  .service-page-btn {
    top: 115px !important;
  }
  img.pre-article {
    float: none;
    width: 95%;
    height: auto;
    margin-bottom: 20px;
  }
  a.article {
    height: auto;
    overflow: visible;
    margin-bottom: 50px;
  }
  .outer {
    height: 175px;
  }
}

/* Custom, iPhone Retina */

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

/*==========  Mobile First Method  ==========*/

/* Custom, iPhone Retina */

@media only screen and (min-width: 320px) {}

/* Extra Small Devices, Phones */

@media only screen and (min-width: 480px) {}

/* Small Devices, Tablets */

@media only screen and (min-width: 768px) {}

/* Medium Devices, Desktops */

@media only screen and (min-width: 992px) {}

/* Large Devices, Wide Screens */

@media only screen and (min-width: 1200px) {}
