@media all and (max-width:1150px) {
  #header .top-menu ul.top-menu-desktop li a {font-size: 15px; padding: 0 18px; margin: 0 5px;}
  /* footer */
  #footer .menu {width: 180px;}
  #footer .menu ul {margin-left: 55px;}
  #footer .contacts {width: 230px;}
  #footer .social-icons {width: 200px;}
}

@media all and (max-width:1100px) {
  /* banner */
  #main .banner img {width: 100%; height: auto;}
  /* players-stats */
  #main .players-stats ul.players-stats-list li {padding: 10px 10px;}
  #main .players-stats ul.players-stats-list li .players-photo img {width: 55px; height: auto;}
  #main .players-stats ul.players-stats-list li .players-stats-info .players-criterion {font-size: 14px;}
  #main .players-stats ul.players-stats-list li .players-stats-info .players-name a {font-size: 13px;}
  /* structure-stats */
  #main .structure-stats ul.structure-stats-list li {padding: 10px 10px;}
}

@media all and (max-width:1023px) {
  #header .top-menu ul.top-menu-desktop {display:none;}
  #header .toggle-button {display: inline-block;}
  /* banner */
  #main .banner {margin-top: 25px;}
  #main .banner img {width: auto; height: auto;}
  /* video */
  #main .video .video-item iframe {height: 300px;}
}

@media all and (max-width:1000px) {
  #footer .social-icons {width: 150px;}
}

@media all and (max-width:980px) {
  /* tournaments-menu-list */
  #main .tournaments ul.tournaments-menu-list li {padding: 0 20px; width: auto; margin: 5px 8px 10px 0;}
  /* tournaments-menu-stats-players */
  #main .tournaments ul.tournaments-menu-stats-players li {padding: 0 20px; width: auto; margin: 5px 8px 10px 0;}
  /* players-stats */
  #main .players-stats ul.players-stats-list li .players-photo {width: 12%;}
}

@media all and (max-width:979px) {
  /* photo */
  #main .photo .photo-list .photo-col {width: 31%;}
  #main .photo .photo-list .photo-title {height: 45px;}
  /* footer */
  #footer .contacts {width: 215px; border: 0;}
  #footer .social-icons {width: 100%;}
}

@media all and (max-width:767px) {
  .latest-games {height: 121px; background:#ebebeb; margin-bottom: 0; border-bottom: none;}
  .latest-games .latest-carousel-games {width: 88%;} 
  .latest-games .latest-carousel-games .item-games {border: 0; background: #fff; width: 88%;}
  #header .logo {margin-top: 5px;}
  /* home news */
  #main .home-news .home-news-img img {width: auto; height: auto; margin-bottom: 20px;}
  #main .home-news .home-news-title {text-align: center;}
  /* home photo */
  #main .home-photo .home-photo-caption {text-align: center; margin-bottom: 10px;}
  #main .home-photo .home-photo-all {text-align: center; margin-bottom: 10px;}
  #main .home-photo .home-photo-img img {width: auto; height: auto;}
  #main .home-photo .home-photo-title {text-align: center;}
  #main .home-photo .home-photo-date {text-align: center; margin-bottom: 15px;}
  /* home video */
  #main .home-video .home-video-caption {text-align: center; margin-bottom: 10px;}
  #main .home-video .home-video-all {text-align: center; margin-bottom: 10px;}
  #main .home-video .home-video-title {text-align: center;}
  #main .home-video .home-video-date {text-align: center; margin-bottom: 15px;}
  /* home-partners */
  #main .home-partners .home-partners-caption {text-align: center;}
  #main .home-partners .home-partners-carousel {width: 90%;} 
  /* players-stats */
  #main .players-stats .players-stats-head {padding: 0 15px;}
  #main .players-stats .players-stats-caption {text-align: center; margin-bottom: 10px;}
  #main .players-stats ul.players-stats-list li {padding: 10px 15px;}
  #main .players-stats ul.players-stats-list li .players-photo {width: 22%;}
  #main .players-stats ul.players-stats-list li .players-stats-info .players-name {margin: 8px 0;}
  /* structure-stats */
  #main .structure-stats .structure-stats-head {padding: 0 15px 8px 15px;}
  #main .structure-stats .structure-stats-caption {text-align: center; margin-bottom: 10px;}
  #main .structure-stats .structure-stats-all {margin: 5px 0 5px 0;}
  /* page */
  #main .page h1 {text-align: center;}
  #main ul.page-list-menu {width: 100%; text-align: center; margin: 15px 0 0 0;}
  #main ul.page-list-menu li {margin: 15px 0;}
  /* news */
  #main .news h1 {text-align: center;}
  #main .news ul.news-categories-list li {width: 100%; padding: 0; float: none; text-align: center;}
  /* news-list */
  #main .news .news-list .news-img img {width: auto; height: auto; margin-bottom: 20px;}
  #main .news .news-list .news-title {text-align: center;}
  /* news-item */
  #main .news .news-item .news-img img {margin-bottom: 20px;}
  /* video */
  #main .video .video-item iframe {height: 250px;}
  /* tournaments */
  #main .tournaments h1,
  #main .tournaments h2 {text-align: center;}
  /* tournaments-menu-list */
  #main .tournaments ul.tournaments-menu-list li {width: 100%; padding: 0; float: none; text-align: center;}
  /* tournaments-menu-stats-players */
  #main .tournaments ul.tournaments-menu-stats-players {text-align: center;}
  #main .tournaments ul.tournaments-menu-stats-players li {width: 100%; padding: 0; float: none; text-align: center;}
  /* tournaments-calendar-filter */
  #main .tournaments .tournaments-calendar-filter .form-group {display: inline-block; float: left; width: 20%; margin: 0 4px 0;}
  /* command */
  #main .command h1 {text-align: center;}
  #main .command ul.command-menu-list li {width: 100%; padding: 0; float: none; text-align: center; margin: 8px 0;}
  #main .command .command-logo {margin-top: 15px;}
  #main .command .command-info-caption,
  #main .command .command-info-text {text-align: center;}
  /* players */
  #main .players h1 {text-align: center; margin: 15px 0;}
  #main .players h2 {text-align: center;}
  #main .players .players-info-caption,
  #main .players .players-info-text {text-align: center;}
  /* matches */
  #main .matches h3 {display: inline-block; width: 100%; padding: 5px 0; height: auto; line-height: normal; text-align: center;}
  #main .matches .matches-date {font-size: 12px; margin-bottom: 10px;}
  #main .matches .matches-command-logo img {width: 60px; height: 60px;}
  #main .matches .matches-command-name a {font-size: 13px; font-weight: 700;}
  #main .matches .matches-command-city {font-size: 11px;}
  #main .matches .matches-score {font-size: 28px;}
  #main .matches .matches-score-period {font-size: 12px;}
  #main .matches .matches-timeout {font-size: 12px;}
  #main .matches .matches-status {font-size: 12px; margin-bottom: 15px;}
  #main .matches ul.matches-menu-list li {width: 100%; padding: 0; float: none; text-align: center;}
  /* ya-share2 */
  .ya-share2 {text-align: center;}
  /* pagenavlink */
  .pagenavlink {text-align: center;}
  /* footer */
  #footer .contacts {width: 100%; text-align: center;}
  #footer .contacts .phone {width: 100%; float: none; text-align: center; background: none; padding: 0;}
  #footer .contacts .email {width: 100%; float: none; text-align: center; background: none; padding: 0;}
  #footer .social-icons {width: 100%; text-align: center;}
  #footer .social-icons ul {width: auto; margin: 0;}
}

@media all and (max-width:650px) {
  /* tournaments-calendar-filter */
  #main .tournaments .tournaments-calendar-filter .form-group {display: inline-block; float: left; width: 47%; margin: 0 4px 10px;}
}

@media all and (max-width:600px) {
  /* latest-games */
  .latest-games .latest-carousel-games {width: 75%;} 
  .latest-games .latest-carousel-games .item-games {border: 0; background: #fff; width: 100%;}
  .latest-games .slick-prev {left: -40px;}
  .latest-games .slick-next {right: -40px;}
  .latest-games .slick-prev:hover {left: -40px;}
  .latest-games .slick-next:hover {right: -40px;}
  #header .command-login {display: none;}
  #header .toggle-button {margin: 12px 10px 0 20px;}
  #header {background:#1E1E1E top center; height: 65px;} 
  /*Grayscale header
  #header {background:#585a5c top center; height: 65px;} */
  #header .logo {margin-top: 5;}
  #header .top-menu {margin: 0 0 0 20px; height: 65px;}
  #header .top-menu ul.top-menu-mobile {top: 65px; margin-left: -75px;}
  /* home-partners */
  #main .home-partners .home-partners-carousel {width: 75%;}
  #main .home-partners .home-partners-carousel .home-partners-logo {width: 100%;}
  #main .home-partners .slick-prev {left: -40px;}
  #main .home-partners .slick-next {right: -40px;}
  #main .home-partners .slick-prev:hover {left: -40px;}
  #main .home-partners .slick-next:hover {right: -40px;}
  /* photo */
  #main .photo h1 {text-align: center;}
  #main .photo .photo-list .photo-col {width: 100%; margin:  0 0 25px 0; height: auto; text-align: center;}
  #main .photo .photo-list .photo-img img {width: auto; height: auto;}
  #main .photo .photo-list .photo-title {text-align: center; height: auto;}
  #main .photo .photo-list .photo-date {text-align: center;}
  /* video */
  #main .video h1 {text-align: center;}
  #main .video .video-list .video-col {width: 100%; margin:  0 0 25px 0; height: auto; text-align: center;}
  #main .video .video-list .video-youtube img {width: 100%; height: auto;}
  #main .video .video-list .video-title {text-align: center; height: auto;}
  #main .video .video-list .video-date {text-align: center;}
  /* tournaments */
  #main .tournaments ul.tournaments-command-list li {width: 48%;}
}

@media all and (max-width:400px) {
  /* tournaments-calendar-filter */
  #main .tournaments .tournaments-calendar-filter .form-group {display: inline-block; float: left; width: 100%; margin: 0 0 10px 0;}
  /* banner */
  #main .banner img {width: 100%; height: auto;}
}

@media all and (max-width:359px) {
  #header .toggle-button {margin: 12px 10px 0 10px;}
  #header .top-menu {margin: 0 0 0 10px;}
  #header .top-menu ul.top-menu-mobile {margin-left: -75px;}
}