/* lg = min-width: 992px */
/* sm = max-width: 992px */
/* xs = max-width: 766px */

@font-face {
font-family: 'Bebas Neue';
font-style: normal;
font-weight: normal;
src: local('Bebas Neue'), url('../fonts/bebas-neue-regular-cyrillic.woff') format('woff');
}

html {
  /* keep anchor targets clear of the fixed navbar */
  scroll-padding-top: 70px;
}

html *
{
  font-family: "MuseoSansCyrl-300", sans-serif;
  color: #1D1D1D;
}

p {
  margin: 0px;
}

textarea:hover,
input:hover,
textarea:active,
input:active,
textarea:focus,
input:focus,
button:focus,
button:active,
button:hover
{
  outline:0px !important;
  -webkit-appearance: none;
}

body {
  padding-bottom: 0px;
  overflow-x: hidden;
}


/* unvisited link */
a:link {
    color: #e80001;
}

/* visited link */
a:visited {
    color: #e80001;
}

/* mouse over link */
a:hover {
    color: #222121;
}

/* selected link */
a:active {
    color: #e80001;
}

.fa-facebook,
.fa-twitter,
.fa-vk,
.fa-linkedin {
  color: #1d1d1d !important;
}

.fa-linkedin:hover {
  color: #e80001 !important;
}

.fa-vk:hover {
  color: #e80001 !important;
}

.fa-twitter:hover {
  color: #e80001 !important;
}

.fa-facebook:hover {
  color: #e80001 !important;
}

.fa-paper-plane:hover {
  color: #e80001 !important;
}

.fa-envelope:hover {
  color: #e80001 !important;
}


/* HEADER
-------------------------------------------------- */

.header {
  width: 100%;
  height: 150px;
  background-size: cover;
  background-position: 50% 50%;
  background-image: url(../photos/banner.png);
  text-align: center;
  margin: 0px;
  padding: 0px;
  z-index: 1;
}

.banner-moto {
  font-family: 'Bebas Neue';
  color: white;
  font-weight: 400;
  text-transform: uppercase;
  font-size: 18px;
  letter-spacing: 1.2px;
  text-align: left;
  margin-top: 15px;
  margin-bottom: 15px;
}

.banner-logo {
  text-align: center;
  margin-left: 5px;
}

/* MAIN STATS
-------------------------------------------------- */

.container-section-stats {
  position: absolute;
  top: 0;
  width: 100%;
  height: 1500px;
  background-size: contain;
  background-position: 50% 50%;
  background-image: url(../graphics/background-gray.png);
  text-align: center;
  margin: 0px;
  padding: 0px;
  z-index: -1;
  background-repeat: no-repeat;
}

/* MAIN STATS
-------------------------------------------------- */

.wrapper-container-section-stats {
  position: relative;
}

.mask-light {
  z-index: 9999;
  background-color: rgba(255, 255, 255, 0.35);
  height: 100%;
}


.hackrussia-video {
  text-align: center;
  margin-top: 40px;
  margin-bottom: 40px;
}

.video-responsive {
  position: relative;
  max-width: 640px;
  margin: 0 auto;
}

.video-responsive:before {
  content: "";
  display: block;
  padding-top: 56.25%; /* 16:9 */
}

.video-responsive iframe {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
}

.test-regions {
  font-family: 'Bebas Neue';
  text-transform: uppercase;
  font-weight: 400;
  font-size: 64px;
  letter-spacing: 1.2px;
}


.wrapper-map {
  text-align: center;
  width: 100%;
  height: 500px;
  background-position: 50% 50%;
  background-image: url(../graphics/hackRussia2016-map.png);
  background-size: contain;
  background-repeat: no-repeat;
  padding: 0px;
  z-index: 999;
}

/* the map image is ~1.92:1, so shrink the band with the viewport */
@media (max-width: 960px) {
  .wrapper-map {
    height: 53vw;
  }
}

@media (max-width: 767px) {
  .test-regions {
    font-size: 40px;
  }
}



/* TEXT
-------------------------------------------------- */

/* .title/.subtitle are used on h1-h3 for semantics; neutralize heading
   defaults so they render exactly like the divs they replaced */
.title,
.subtitle {
  font-weight: normal;
  line-height: 1.42857143;
  margin-top: 0;
}

.title {
  font-family: "MuseoSansCyrl-900", sans-serif;
  font-size: 44px;
  text-align: center;
  margin-bottom: 35px;
  margin-top: 70px;
}

/*.section {
  font-family: "MuseoSansCyrl-900", sans-serif;
  font-size: 24px;
  margin-bottom: 35px;
  margin-top: 70px;
}*/

.subtitle {
  font-family: "MuseoSansCyrl-900", sans-serif;
  font-size: 24px;
  text-align: center;
  margin-bottom: 40px;
}

.text {
  font-size: 18px;
  text-align: center;
  margin-bottom: 10px;
}

.text-results {
  font-family: 'Bebas Neue';
  text-transform: uppercase;
  font-weight: 400;
  font-size: 24px;
  letter-spacing: 1.2px;
}

.info{
  text-align: center;
}

.text-poly {
  padding-top: 100px;
  margin-top: 20px;
  text-align: center;
  color: white;
  font-family: "MuseoSansCyrl-900", sans-serif;
  font-size: 24px;
}

/*@media (max-width: 330px) {
  .text-poly {
    position: relative;
    margin-top: -10px;
    color: white;
    font-family: "MuseoSansCyrl-900", sans-serif;
  }
}
*/

.team-highlight-winner {
  font-family: "MuseoSansCyrl-900", sans-serif;
  font-size: 24px;
  text-align: center;
  margin-bottom: 35px;
  margin-top: 70px;
  color: #e80001;
}

.team-highlight {
  font-family: "MuseoSansCyrl-900", sans-serif;
  font-size: 14px;
  text-align: center;
  margin-bottom: 35px;
  margin-top: 70px;
  color: #e80001;
}


/* IMAGES
-------------------------------------------------- */

.container-fluid {
  width: 100%;
  margin-bottom: 0px;
  margin-top: 0px;
  height: 350px;
  background-size: cover;
  background-position: 50% 50%;
  background-repeat: no-repeat;
  padding-left: 0px;
  padding-right: 0px;
  margin-left: 0px;
  margin-right: 0px;
}

.container-fluid.team {
  background-image: url(../overlays/flag.png);
}

.container-fluid.poly {
  background-image: url(../graphics/working_space-main.jpg);
}

.container-fluid.winners {
  background-image: url(../graphics/winners.jpg);
}

.container-fluid.coding {
  background-image: url(../graphics/working_space-coding.jpg);
}

.container-fluid.partner {
  background-image: url(../graphics/working_space-partner.jpg);
}

.container-fluid.experts {
  background-image: url(../graphics/working_space-experts.jpg);
}


@media (min-width: 992px) {
  .container-fluid.team {
    height: 548px;
  }
  .container-fluid.poly {
    background-attachment: fixed;
  }
  .container-fluid.winners {
    background-attachment: fixed;
  }
  .container-fluid.coding {
    background-attachment: fixed;
  }
  .container-fluid.partner {
    background-attachment: fixed;
  }
  .container-fluid.experts {
    background-attachment: fixed;
  }
}

@media (max-width: 991px) {
  .container-fluid.team {
    height: auto;
    min-height: 1056px;
  }
}

@media (max-width: 767px) {
  .container-fluid.team {
    min-height: 1584px;
  }
}

.logo-poly {
  margin-top: 50px;
  text-align: right;
}



/* FEEDBACK
-------------------------------------------------- */

.press-item-wrapper {
  margin-bottom: 20px;
}

.press-item {
  font-family: "MuseoSansCyrl-900", sans-serif;
}


.feedback-item-wrapper {
  margin-bottom: 20px;
}

.feedback-item-wrapper p {
  font-style: italic;
}

.feedback-item {
  font-family: "MuseoSansCyrl-900", sans-serif;
}


.team-data-wrapper {
  margin-bottom: 20px;
}

.team-data {
  font-family: "MuseoSansCyrl-900", sans-serif;
}

/* NAVIGATION
-------------------------------------------------- */

.affix {
    top: 0;
    width: 100%;
}

.affix + .container {
    padding-top: 92px;
}

@media (max-width: 1050px) {
  .navbar {
    text-align: center;
  }

  .navbar-header {
      float: none;
  }
  .navbar-left,.navbar-right {
      float: none !important;
  }
  .navbar-toggle {
      display: block;
      padding: 20px;
  }
  .navbar-collapse {
      border-top: 1px solid transparent;
      box-shadow: inset 0 1px 0 rgba(255,255,255,0.1);
  }
  .navbar-fixed-top {
      top: 0;
      border-width: 0 0 1px;
  }
  .navbar-collapse.collapse {
      display: none!important;
  }
  .navbar-nav {
      float: none!important;
      margin-top: 7.5px;
      background-color: white;
  }
  .navbar-nav>li {
      float: none;
      background-color: white;
  }
  .navbar-nav>li>a {
      padding-top: 10px;
      padding-bottom: 10px;
  }
  .collapse.in{
      display:block !important;
  }
}

.navbar {
  color: #1d1d1d;
  margin-top: 0px;
  background-color: #ffffff;
  border-color: transparent;
  border-radius: 0px;
  border-width: 0 0 0px;
  border: 0px solid transparent;
  border-bottom: 2px solid #1d1d1d;
  font-size: 16px;
  z-index: 999999;
}

.navbar-nav {
  margin-top: 10px;
  margin-bottom: 10px;
}

/* unvisited link */
.navbar a {
  color: #1d1d1d;
  font-weight: bold;
}

/* unvisited link */
.navbar a:link {
  font-weight: bold;
  color: #1d1d1d;
}

/* visited link */
.navbar a:visited {
  color: #1d1d1d;
}

/* mouse over link */
.navbar a:hover {
  color: #e80001;
}

/* selected link */
.navbar a:active {
  color: #e80001;
}

/* --- temp solution ------------------------------------------------------- */

/* unvisited link */
.navbar a i {
  color: white;
  font-weight: bold;
}

/* unvisited link */
.navbar a:link i {
  font-weight: bold;
  color: white;
}

/* visited link */
.navbar a:visited i {
  color: white;
}

/* mouse over link */
.navbar a:hover i {
  color: #e80001;
}

/* selected link */
.navbar a:active i {
  color: #e80001;
}

.nav-logo {
  margin-top: 3px;
}

/* --- temp solution (end) ------------------------------------------------- */

/* selected link */
.navbar-nav>li>a:hover {
  background: rgba(255, 255, 255, 1);
}

.navbar-toggle .icon-bar {
  background: #1d1d1d;
}

.navbar-collapse {
  padding: 0px;
}

.anchor:before {
  display: block;
  content: "";
  height: 60px;
  margin: -100px 0 0; /* negative fixed header height */
  visibility: hidden;
}

/* INTRO BLOCK
-------------------------------------------------- */

.intro-block-stats {
  margin-top: 15px;
  margin-bottom: 0px;
  font-size: 24px;
  letter-spacing: 1px;
}

.text-stats-dark {
  font-family: 'Bebas Neue';
  font-weight: 400;
  /*text-transform: uppercase;*/
  font-size: 24px;
  text-align: center;
  line-height: 1.7em;
  margin-left: 5px;
  margin-right: 5px;
  margin-top: 10px;
  margin-bottom: 40px;
  padding: 5px;
}

/* CASES
-------------------------------------------------- */

.icon {
  height: 120px;
  text-align: center;
  display: block;
  margin: 0 auto;
}

.icon-img-label {
  margin-top: 10px;
  font-size: 14px;
  text-align: center;
}

/* EXPERTS
-------------------------------------------------- */

.expert-wrapper {
  margin-bottom: 50px;
  text-align: center;
}

.expert-name {
  font-size: 18px;
}

.expert-description {
  font-size: 14px;
}

.expert-company {
  margin-top: 0px;
  margin-bottom: 0px;
}

/* TEAM MEMBER STYLES
-------------------------------------------------- */

@media (max-width: 1050px) {
  .team-section-row {
    padding-top: 0px;
    margin-bottom: 0px;
  }
}

@media (min-width: 992px) {
  .team-section-2 {
    margin-top: 40px;
  }
}

@media (max-width: 992px) {
  .team-section-2 {
    margin-top: 0px;
  }
}

@media (max-width: 766px) {
  .team-section-2 {
    margin-top: 0px;
  }
}

.hashtag {
  color: #e80001;
}

.team-member {
  text-align: center;
  padding-top: 5px;
  margin-bottom: 0px;
  background-color: white;
}

.team-member-img  {
  margin-top: 20px;
}

.team-member-responsibilities {
  font-size: 10px;
  text-align: center;
  margin-left: 5px;
  margin-right: 5px;
  margin-top: 0;
  margin-bottom: 0px;
  padding: 5px;
}

.team-member-name {
  font-size: 14px;
  margin-top: 20px;
  margin-bottom: 0px;
}

.team-member-contacts {
  margin-bottom: 30px;
}

.team-member-contacts a {
  text-decoration: none;
}

.team-member-description {
  margin-top: 10px;
  margin-bottom: 50px;
  font-size: 14px;
}

/* PARTNER STYLES
-------------------------------------------------- */

.regular-partners {
  margin-top: 75px;
}

.partners {
  text-align: center;
}

.img-partners {
  height: 100px;
  margin-bottom: 50px;
  text-align: center;
  display: block;
}

.text-partners {
  font-family: 'Bebas Neue';
  font-size: 30px;
  letter-spacing: 1px;
  font-weight: 900;
  color: #1d1d1d;
  opacity: 0.2;
  margin-bottom: 50px;
}

@media (max-width: 1199px) {
  .text-partners {
    text-align: center;
  }
}

@media (max-width: 766px) {
  .text-partners {
    text-align: center;
  }
}

/* FOOTER STYLES
-------------------------------------------------- */

footer {
  margin-top: 50px;
  height: 100px;
  text-align: center;
  background-size: cover;
  background-position: 50% 80%;
  background-blend-mode: screen;
  background-color: #1d1d1d;
}

.text-footer {
  color: #BFBFBF;
  text-align: center;
  font-size: 10px;
  font-weight: bold;
}

.img-footer {
  text-align: center;
  margin-top: 15px;
  margin-bottom: 25px;
}
