/* Header */
header {
  text-align: center;
  color: #fff;
  background: #65859D;
}

header .container {
  padding-top: 100px;
  padding-bottom: 50px;
}

header img {
  display: block;
  margin: 0 auto 20px;
}

header .intro-text .skills {
  font-size: 1.25em;
  font-weight: 300;
}

/* body */
body {
  overflow-x: hidden;
}

/* Footer */
footer {
  color: #000;
}

footer .footer-below {
  padding: 25px 0;
}

/* Titles */
h1,
h2,
h3,
h4,
h5,
h6 {
  text-transform: uppercase;
  font-family: Montserrat,"Helvetica Neue",Helvetica,Arial,sans-serif;
  font-weight: 700;
}

/* Horizontal lines */
hr.star-light,
hr.star-primary {
  margin: 25px auto 30px;
  padding: 0;
  max-width: 300px;
  border: 0;
  border-top: solid 5px;
  text-align: center;
}

hr.star-primary {
  border-color: #2c3e50;
}

/* Navbar */
.navbar-brand-red {
  color: #e84836;
}

.navbar {
  text-transform: uppercase;
  font-family: Montserrat,"Helvetica Neue",Helvetica,Arial,sans-serif;
  font-weight: 700;
}

.navbar a:focus {
  outline: 0;
}

.navbar .navbar-nav {
  letter-spacing: 1px;
}

.navbar .navbar-nav li a:focus {
  outline: 0;
}

.navbar-default,
.navbar-inverse {
  border: 0;
}

/* Profile picture */
.navbar-image {
    position: absolute;
    left: 50%;
    margin-left: -40px !important;  /* 50% of profile picture width */
    display: block;
}

#profile-picture {
  height: 80px;
  position: absolute
}

.profile-image {
  position: relative;
  height: 200px;
}
@media (min-width: 992px) {
  .profile-image {
    z-index: 100000;
  }
}

.skills img {
  height: 20px;
  display: inline;
  margin-top: 19px;
}

.intro-profile-picture {
  height: 200px;
  width: 200px;
  margin: 0 auto;
}

.intro-text {
  margin-top: 30px;
}

/* Buttons */
.btn-social {
  display: inline-block;
  width: 50px;
  height: 50px;
  border: 2px solid #fff;
  border-radius: 100%;
  text-align: center;
  font-size: 20px;
  line-height: 45px;
  color: white;
}

/* Section */
section {
  padding: 100px 0;
}

section h2 {
  margin: 0;
  font-size: 3em;
}

/* Portfolio item */
.portfolio-row {
  display: -webkit-box;
  display: -webkit-flex;
  display: -ms-flexbox;
  display:         flex;
  flex-wrap: wrap;
}
.portfolio-item {
  display: flex;
  flex-direction: column;
  padding: 15px;
}

.portfolio-item a {
  color: inherit;
}

.portfolio-item a:hover {
  color: inherit;
}

/* Research Section */
.research-title {
  font-size: 20px;
  font-weight: bold;
  color: black;
}

.research-pdf {
  font-size: 30px;
  color: #e84836
}

.research-about {
  padding-bottom: 20px;
}

/* Contact form */
.floating-label-form-group {
  position: relative;
  margin-bottom: 0;
  padding-bottom: .5em;
  border-bottom: 1px solid #eee;
}

.floating-label-form-group input,
.floating-label-form-group textarea {
  z-index: 1;
  position: relative;
  padding-right: 0;
  padding-left: 0;
  border: 0;
  border-radius: 0;
  font-size: 1.5em;
  background: 0 0;
  box-shadow: none!important;
  resize: none;
}

.floating-label-form-group label {
  display: block;
  z-index: 0;
  position: relative;
  top: 2em;
  margin: 0;
  font-size: .85em;
  line-height: 1.764705882em;
  vertical-align: middle;
  vertical-align: baseline;
  opacity: 0;
  -webkit-transition: top .3s ease,opacity .3s ease;
  -moz-transition: top .3s ease,opacity .3s ease;
  -ms-transition: top .3s ease,opacity .3s ease;
  transition: top .3s ease,opacity .3s ease;
}

.floating-label-form-group::not(:first-child) {
  padding-left: 14px;
  border-left: 1px solid #eee;
}

.floating-label-form-group-with-value label {
  top: 0;
  opacity: 1;
}

.floating-label-form-group-with-focus label {
  color: #324c5c;
}

form .row:first-child .floating-label-form-group {
  border-top: 1px solid #eee;
}

/* Cookies message */
.cookies {
  position: fixed;
  min-height: 55px;
  bottom: 0;
  width: 100%;
  z-index: 100;
  background: rgba(86, 86, 86, 0.80);
}

.cookies .container {
  margin: 12px;
  color: white;
  text-align: center;
}

/* Display none */
.d-none {
  display: none;
}

/* Portfolio images - CSS Sprite */
.fotosole, .krnc, .ljubljanactivetrips, .maro, .samouk,
.studioventura, .toceniparfumi, .dragonhack2016, .mypacient, .shramba, .blindbus
{ max-width: 100%; background-size: 100%; background-image: url('../img/portfolio.png'); }

.fotosole { background-position: 0 0%; background-size: 100%; }
.krnc { background-position: 0 10.06%; background-size: 100%; }
.ljubljanactivetrips { background-position: 0 20.05%; background-size: 100%; }
.maro { background-position: 0 30.07%; background-size: 100%; }
.samouk { background-position: 0 40.09%; background-size: 100%; }
.studioventura { background-position: 0 50.1%; background-size: 100%; }
.toceniparfumi { background-position: 0 60.15%; background-size: 100%; }
.dragonhack2016 { background-position: 0 70.149%; background-size: 114.449213%; }
.mypacient { background-position: 0 80.1%; background-size: 114.449213%; }
.shramba { background-position: 0 90.065%; background-size: 114.449213%; }
.blindbus { background-position: 0 100.02%; background-size: 114.449213%; }



.bachelor-0, .bachelor-1, .bachelor-2, .bachelor-3, .bachelor-4,
.bachelor-5, .master-0, .master-1, .master-2, .master-3,
.master-4, .master-5, .vojna-in-mir-1, .vojna-in-mir-2
{ max-width: 100%; background-size: 100%; background-image: url('../img/photo-album.jpg'); }

.bachelor-0 { background-position: 0 0%; background-size: 100%; }
.bachelor-1 { background-position: 0 7.721156%; background-size: 100%; }
.bachelor-2 { background-position: 0 15.442312%; background-size: 100%; }
.bachelor-3 { background-position: 0 23.163468%; background-size: 100%; }
.bachelor-4 { background-position: 0 30.884624%; background-size: 100%; }
.bachelor-5 { background-position: 0 38.60578%; background-size: 100%; }
.master-0 { background-position: 0 46.326936%; background-size: 100%; }
.master-1 { background-position: 0 54.048092%; background-size: 100%; }
.master-2 { background-position: 0 61.769248%; background-size: 100%; }
.master-3 { background-position: 0 69.490404%; background-size: 100%; }
.master-4 { background-position: 0 77.21156%; background-size: 100%; }
.master-5 { background-position: 0 84.932716%; background-size: 100%; }
.vojna-in-mir-1 { background-position: 0 92.480458%; background-size: 117.1875%; }
.vojna-in-mir-2 { background-position: 0 100%; background-size: 117.1875%; }
