@media screen and (max-width: 1280px) {
    .container {
        max-width: 998px;
    }


}

@media screen and (max-width: 990px) {
      main {
    width: 100%;
 }
 .form2 {
   width: 90%;
   margin-left: 5%;
   margin-right: 50%;
 }
   h1 {
      font-size: 14pt;
   }

   .item__img  img {
      width: 95%;
   }
   .special-offers li {
      margin-right: 5%;
   }

}

@media screen and (max-width: 980px) {
   h1 {
      font-size: 13.5pt;
   }

   .special-offers li {
      margin-right: 3%;
   }
}


@media screen and (max-width: 860px) {


.desoslide-wrapper img {
    width: 100%;
}

   h1 {
      font-size: 14pt;
   }

   .input_contacts, .input_grade, #select_grade {
      width: 100%;
   }

   #input_name, #select_grade, #text-area_review {
      font-size: 18px;
   }

   .item__left {
      width: 50%;
   }

   .item__right {
      width: 50%;
      margin-left: 0;
   }
   .tour__data {
      width: 100%;
   }

   .tour_table_img {
      display: none;
   }

   header .contacts ul li {
      display: block;
   }

   header .contacts li a {
      font-size: 13pt;
   }

   header .contacts ul {
      padding: 0;
   }

   .three-column li {
      width: 50%;
   } 

   .three-column li:nth-child(3n+1), .important-info__items li:nth-child(3n+1) {
      clear: none;
   }

   .three-column li:nth-child(2n+1), .important-info__items li:nth-child(2n+1) {
      clear: both;
   }


   .three-column li:nth-child(3n) {
    padding-right: 30px;
    margin: 3px 0px;
   }

   .three-column li:nth-child(2n) {
    padding-right: 5px;
    margin-right: 0px;
   }

   .item3 {
      border-top: 1px solid #FF6600;
   }

   .special-offers li {
      margin-right: 1%;
   }

   .photo_item {
    width: 25%;
   }
   
   .photos {
      margin-left: 0px;
      margin-right: 0px;
   }

   .photos_wrapper div:nth-child(5n+6), .hotels .photos_wrapper div:nth-child(4n+5) {
      clear: none;
   }

   .photos_wrapper div:nth-child(4n+5), .hotels .photos_wrapper div:nth-child(3n+4) {
      clear: both;
   }

   .info .photos_wrapper div:nth-child(4n+5) {
      clear: none;
   }

   .hotels .photo_item {
    width: 33%;
   }

   .hotel-item:nth-child(3n+1) {
      clear: none;
   }

   .hotel-item {
      width: 50%;
   }
   .hotel-item:nth-child(2n+1) {
      clear: both;
   }
}

@media screen and (max-width: 800px) {
   .tour-header h1 {
    width: 100%;
    margin-right: 0px;
   }

   .logo-description, .special-offers {
      display: none;
   }


   .special-offers2 {
      display: block;
   }
   header {
      border-bottom: 2px solid #f60;
   }
}

@media screen and (max-width: 740px) {

   #russiatourism_widget {
       position: relative;
       padding-left: 25px;
   }
}


@media screen and (max-width: 600px) {
   .navigation {
      display: none;
   }

   .hamburger {
    display: block;
   }
      
   main {
      border-left: none;
      margin-left: 0%;
      width: 100%;
   }
   
   .contacts__country {
      display: none;
   }

   h1 {
      font-size: 15pt;
   }

   .footer-contacts {
      margin-left: 10px;
   }

   .photos_wrapper div:nth-child(4n+5), .hotels .photos_wrapper div:nth-child(3n+4), .info .photos_wrapper div:nth-child(3n+4) {
      clear: none;
   }

   .photos_wrapper div:nth-child(3n+4), .hotels .photos_wrapper div:nth-child(2n+3), .info .photos_wrapper div:nth-child(2n+3) {
      clear: both;
   }

   .photo_item {
      width: 33%;
   }

   .hotels .photo_item {
      width: 50%;
   }

   .info .photo_item {
      width: 45%;
      margin-left: 5%;
   }

}


@media screen and (max-width: 400px) {
   .logo {
      width: 80px;
   }
   .logo img {
      padding-top: 7px;
      max-width: 80px;
   }

   .item__left, .item__right {
      width: 100%;
      border: none;
   }
   .contacts {
      padding-left: 0px;
      margin-left: 85px;
   }
   .contacts li {
      padding-left: 0px;
      margin-left: 0px;
   }

   .photo_item {
      width: 50%;
   }

   .photos_wrapper div:nth-child(3n+4), .hotels .photos_wrapper div:nth-child(2n+3), .info .photos_wrapper div:nth-child(2n+3) {
      clear: none;
   }

   .photos_wrapper div:nth-child(2n+3), .hotels .photos_wrapper div:nth-child(1n+2), .info .photos_wrapper div:nth-child(1n+2) {
      clear: both;
   }

   .hotels .photo_item, .info .photo_item {
      width: 100%;
   }

   .three-column li {
      width: 100%;
   } 

   .three-column li:nth-child(2n+1), .important-info__items li:nth-child(2n+1) {
      clear: none;
   }

   .three-column li, .important-info__items li {
      clear: both;
   }

   .three-column li {
    padding-right: 5px;
    margin-right: 0px;
   }

   .hotel-item {
      width: 100%;
   }
   .hotel-item {
      clear: both;
   }
   #widget_iframe {
      width: 100%;
   }
   #russiatourism_widget {
      padding-left: 0;
      /*width: 100%;*/
   }
}

@media screen and (max-width: 320px) {
   .logo {
      display: none;
   }

   .contacts {
      margin-left: 10px;
   }

   .photo_item {
      width: 100%;
   }
   .photos_wrapper div {
      clear: both;
   }
}
