/*!
 * Start Bootstrap - Modern Business HTML Template (http://startbootstrap.com)
 * Code licensed under the Apache License v2.0.
 * For details, see http://www.apache.org/licenses/LICENSE-2.0.
 */

/* Global Styles */

html,
body {
  height: 100%;
}

body {
  padding-top: 82px; /* Required padding for .navbar-fixed-top. Remove if using .navbar-static-top. Change if height of navigation changes. */
  font-size: 14pt;
}

.img-portfolio {
  margin-bottom: 30px;
}

.img-hover:hover {
  opacity: 0.8;
}

.blog-post > p > img {
  max-width: 100%;
  height: auto;
}

.link-unstyled,
.link-unstyled:visited,
.link-unstyled:hover,
.link-unstyled:active,
.link-unstyled:focus,
.link-unstyled:active:hover {
  color: inherit;
  background-color: transparent;
  text-decoration: none;
}

/* Home Page Carousel */

header.carousel {
  margin-bottom: 15px;
}

header.carousel div.carousel-caption {
  bottom: 20px;
  font-size: 24pt;
  color: white;
  background: rgba(0, 0, 0, 0.2);
  border-radius: 5px;
}

header.carousel .item > img {
  width: 100%;
}

header.carousel .fill {
  width: 100%;
  background-position: center;
  background-size: cover;
}

/* home page blog post */
div.panel-heading {
  min-height: 100pt;
}

div.panel-body {
  min-height: 240pt;
}

/* 404 Page Styles */

.error-404 {
  font-size: 100px;
}

/* Pricing Page Styles */

.price {
  display: block;
  font-size: 50px;
  line-height: 50px;
}

.price sup {
  top: -20px;
  left: 2px;
  font-size: 20px;
}

.period {
  display: block;
  font-style: italic;
}

/* Footer Styles */

footer {
  margin: 50px 0;
}

a.jumbo:hover {
  text-decoration: none;
}

ul.list-social-icon-size {
  font-size: 50px;
}

ul.list-social-icons-nav {
  margin-top: 8px;
  margin-bottom: 0;
}

.navbar {
  font-size: 12pt;
  min-height: 82px;
  height: 82px;
}

.navbar-brand {
  padding-top: 0px;
  font-family: "Courier";
  font-size: 18pt;
  height: 82px;
}

.navbar-menu {
  margin-top: 15px;
}

.navbar-logo {
  height: 50px;
  margin-top: 8px;
  padding-bottom: 0px;
}

.navbar-logo-unimib {
  height: 72px;
  padding-top: 8px;
  padding-bottom: 8px;
}

.carousel-caption {
}

/* Responsive Styles */

@media (max-width: 1199px) {
  ul.list-social-icon-size {
    font-size: 40px;
  }

  ul.list-social-icons-nav {
    margin-top: 5px;
    margin-bottom: 0;
  }

  body {
    padding-top: 64px;
  }

  .navbar {
    font-size: 10pt;
    min-height: 64px;
    height: 64px;
  }

  .navbar-brand {
    padding-top: 0px;
    font-family: "Courier";
    font-size: 0pt;
    height: 64px;
  }

  .navbar-menu {
    margin-top: 5px;
  }

  .navbar-logo {
    height: 42px;
    padding-top: 0px;
    padding-bottom: 0px;
  }

  .navbar-logo-unimib {
    height: 48px;
    padding-top: 6px;
    padding-bottom: 6px;
  }
}

@media (max-width: 991px) {
  .customer-img,
  .img-related {
    margin-bottom: 30px;
  }
  ul.list-social-icon-size {
    font-size: 48px;
  }

  ul.list-social-icons-nav {
    margin-top: 10px;
    margin-bottom: 0;
  }

  .navbar-nav > li > a {
    padding-top: 12px;
    padding-bottom: 15px;
  }

  body {
    padding-top: 48px;
  }

  .navbar {
    font-size: 8pt;
    min-height: 48px;
    height: 48px;
  }

  .navbar-brand {
    padding-top: 0px;
    font-family: "Courier";
    font-size: 0pt;
    height: 48px;
  }

  .navbar-menu {
    margin-top: 0px;
  }

  .navbar-logo {
    height: 24px;
    padding-top: 2px;
    padding-bottom: 0px;
  }

  .navbar-logo-unimib {
    height: 36px;
    padding-top: 10px;
    padding-bottom: 2px;
  }
}

@media (max-width: 767px) {
  .img-portfolio {
    margin-bottom: 15px;
  }
  div.carousel-caption > a,
  a.hover {
    font-size: 18pt;
  }
  header.carousel > img {
    width: 200%;
    margin-left: -50%;
  }

  ul.list-social-icon-size {
    font-size: 32px;
  }

  .navbar-collapse {
    color: #ffffff;
    background-color: #2fa4e7;
  }

  .navbar-brand {
    font-size: 0pt;
    padding-right: 2px;
  }

  .navbar {
    font-size: 9pt;
  }
}

@media (max-width: 479px) {
  ul.list-social-icon-size {
    font-size: 32px;
  }
  div.carousel-caption > a,
  a.hover {
    font-size: 14pt;
  }
  header.carousel div.carousel-caption {
    bottom: 10px;
    line-height: 1;
  }

  header.carousel .item > img {
    width: 300%;
    max-width: none;
    margin-left: -75%;
  }

  .carousel-indicators {
    bottom: -5px;
  }

  .navbar-brand {
    padding-top: 0px;
    font-size: 28pt;
    padding-right: 2px;
  }
}

@media (max-width: 379px) {
  .navbar-logo {
    margin-top: 8px;
    height: 40px;
  }
  .navbar-brand {
    padding-top: 0px;
    font-size: 18pt;
    padding-right: 2px;
  }
}
