/* Стили для мобильной версии
---------------------------------------------------- */

.nav_mobile {
  display: none;
}




/*
body.v-mobile {
  min-width: 600px;
}
*/

body.v-mobile .hide_mobile {
  display: none !important;
}

body.v-mobile .nav_mobile {
  display: block;
}

/* Хидер
---------------------------------------------------- */

body.v-mobile header div {
  text-align: center;
}

/* Футер
---------------------------------------------------- */

/* Прилипающая полоса */
body.v-mobile #footer .footer-line.sticky {
  background: transparent url(../images/footer-bg-1a.png) repeat-x top;

  height: 58px;

  width: 100%;
  position: fixed;
  bottom: 0;
  left: 0;
  z-index: 10001;
}

body.v-mobile #footer .footer-line.sticky > div {
  padding: 5px;
  position: relative;
  height: 100%;
}

/* Кнопка меню */
body.v-mobile #footer .footer-line a.footer-menu-btn { display:inline-block; z-index: 10001; position: absolute; }

/* Лого */
body.v-mobile #footer .footer-line a.logo-small {
  display: inline-block;
  position: absolute;
  left: 50%;
  transform: translateX(-50%);
}

/* Переход к мобильной версии */
body.v-mobile-select:not(.v-mobile) a.footer-v-mobile {
  display: block;
  float: right;
  color: #FFF;
}

body.v-mobile-select:not(.v-mobile) a.footer-v-mobile:hover {
  color: #999;
}



/* Меню
---------------------------------------------------- */

body.v-mobile nav { height: 0; width: 0; }

body.v-mobile ul#nav_menu {
  display: block;
  position: fixed;
  z-index: 10000;
/*  left: 0px;*/
  top: 0px;
  height: 100%;
  margin: 0;
/*
  background: rgba(2, 63, 128, 0.9);
*/

  opacity: 0;
/*  transition: opacity 0.2s ease-in 0s, left 0.2s ease-in 0s;*/
  transition: opacity 0.4s ease-in 0.1s, left 0.2s ease-in 0.2s;
  left: -100%;
}

body.v-mobile ul#nav_menu.visible {
  opacity: 1;
  left: 0px;
}

body.v-mobile nav ul#nav_menu li {
  border: none;

  position:relative;
  float: none;
  display: block;
  padding: 15px 20px;
  margin: 0;

  box-sizing: border-box;
  width: 100%;

/*border-top: 1px solid rgba(0, 58, 108, 0.95);*/
border-bottom: 1px solid rgba(50, 130, 210, 0.95);
background: linear-gradient(to bottom,  rgba(2, 68, 155, 0.95) 0%,rgba(2, 63, 128, 0.95) 100%);
/*border-top: 1px solid #1682ba;*/
/*background: linear-gradient(to bottom,  rgba(54,170,231,1) 0%,rgba(31,160,228,1) 100%);*/
}

body.v-mobile nav ul#nav_menu:after {
  content: "";
  border: none;

  position:relative;
  float: none;
  display: block;
  padding: 15px 20px;

  box-sizing: border-box;
  width: 100%;
  height: 100vh;

border: none;
background: linear-gradient(to bottom,  rgba(2, 68, 155, 0.95) 0%,rgba(2, 63, 128, 0.95) 100%);
}

body.v-mobile nav ul#nav_menu > li.dropdown > a:hover {
  color: #FFF;
}

body.v-mobile nav ul#nav_menu > li.dropdown > a {
  display: block;
  position: relative;
  width: 100%;
  padding: 15px 20px;
  box-sizing: border-box;

  background: linear-gradient(to bottom,  rgba(2, 68, 155, 0.95) 0%,rgba(2, 63, 128, 0.95) 100%);
}

body.v-mobile nav ul#nav_menu > li.dropdown {
  padding: 0;
  background: none;
}

body.v-mobile nav ul#nav_menu > li.dropdown > a:after {
  border-left: 2px solid #eeeeee;
  border-top: 2px solid #eeeeee;
  content: "";
  display: block;
  height: 5px;
  width: 5px;

  position: absolute;
  right: 20px;
/*  top: 11.5px;*/
  top: 50%;

  -webkit-transform: rotate(-135deg) translateY(100%);
  -moz-transform: rotate(-135deg) translateY(100%);
  transform: rotate(-135deg) translateY(100%);
/*    z-index: 10;*/
}

body.v-mobile nav ul#nav_menu > li.dropdown li {
  border-top: 1px solid rgba(50, 130, 210, 0.95);
  border-bottom: none;
}

body.v-mobile nav ul#nav_menu ul {
  position: static;
  border: 0 none;
  display: none;
/*display: block;*/
  background: none;
  padding: 0;
  margin: 0;
}

/*body.v-mobile nav ul#nav_menu li:hover ul */
body.v-mobile nav ul#nav_menu li.opened ul {
  display: block;
  opacity: 1;
}

body.v-mobile nav ul#nav_menu ul li {
  margin: 0;
  padding-left: 35px;
}

body.v-mobile nav li.nav_profile img.avatar {
  background: #FFFFFF;
  border: 1px solid #B0A89B;
  border-radius: 50% 50% 50% 50%;
  box-shadow: 0 2px 2px rgba(0, 0, 0, 0.1);
  padding: 0px;
  margin-right: 15px;
}

body.v-mobile nav li.nav_profile .nav_logo {
  width: 100%;
  padding-top: 35%;
  margin-bottom: 7px;
  
  background: url("../images/logo_w.png") no-repeat center center;
  background-size: 100%;
}

body.v-mobile nav li.nav_profile a /*.nav_login_link*/ {
  text-transform: none;
  display: block;
}

body.v-mobile nav .btn-group .btn {
  display: block;
  float: left;

  text-align: center;
  white-space: nowrap;
  vertical-align: middle;
  cursor: pointer;
  -moz-user-select: none;
  background-image: none;
  border: 1px solid rgba(50, 130, 210, 0.95);
  border-radius: 0;
  background: none;
  box-shadow: none;

  margin-left: -1px;

  padding: 5px 7px;
  line-height: 14px;
}

body.v-mobile nav li.nav_profile .btn-group {
  margin-top: 5px;
}

body.v-mobile nav .btn-group .btn i {
  margin: 0;
}

body.v-mobile nav .btn-group .btn:first-child {
  border-bottom-left-radius: 3px;
  border-top-left-radius: 3px;
  margin-left: 0;
}

body.v-mobile nav .btn-group .btn:last-child {
  border-bottom-right-radius: 3px;
  border-top-right-radius: 3px;
}

body nav ul#nav_menu li.nav-v-full {
  display: none;
}

body.v-mobile.v-mobile-select nav ul#nav_menu li.nav-v-full {
  display: block;
}

body.v-mobile a.footer-v-mobile {
  display: none;
}

/*
body.v-mobile nav .btn-group:after {
  content: "";
  clear: both;
}
*/

/* Общие размеры
---------------------------------------------------- */

html.hv-mobile {
  font-size: 28px;
}

body.v-mobile 	{ min-width: 600px; }
body.v-mobile #container 	{ width: 580px /*!important;*/ }
body.v-mobile #header 		{ width: 580px; }
body.v-mobile #sidebar		{ display: none; }
body.v-mobile #footer-in 	{ width:580px; }

body.v-mobile #wrapper 		{ width: 580px }
body.v-mobile #wrapper #content { width: 100%; margin-right: 0; }

/* Разметка блоков
---------------------------------------------------- */

body.v-mobile .base-block {
  border: none;
  box-shadow: none;
  width: 100%;
}

body.v-mobile .topics-today-i .block-h {
    height: 500px;
}

body.v-mobile .topics-today-i .today-type {
    width:400px;
}

body.v-mobile .topics-today-i .today-type .text-type img {
  max-width: 150px;
  max-height: 120px;
}

body.v-mobile .idx-gallery {
  height: 223px;
}

body.v-mobile .idx-gallery-slider {
  height: 213px;
}

body.v-mobile .idx-gallery-slide {
  height: 213px;
}


/* Список членов клуба
---------------------------------------------------- */

body.v-mobile .members-list-content {
  margin-right: 30px;
}

body.v-mobile .members-list-content .navig {
/*  float: right;*/
  position: fixed;
  right: 0;
  top: 0;
  width: 28px;
}

body.v-mobile .members-list-content .navig ul li {
  display: block;
  font-size: 0.7rem;
  width: 20px;
  padding: 1px 4px;
  margin-right: 0;
  margin-bottom: 2px;
}
