body {
  padding: 0;
  margin: 0;
  padding-top: 10px;
}

/* Language switch */
.navbar-collapse {
	margin-bottom: -20px;
}

.navbar-right {
	padding-right: 20px;
}

/* */

.footer {
  padding-top: 40px;
  padding-bottom: 40px;
  margin-top: 40px;
  border-top: 1px solid #eee;
}

.img-responsive {
    display: inline-block;
	min-width: 20%;
    height: 54px;
    width: auto;	
}

/* Main marketing message and sign up button */
.jumbotron {
  text-align: center;
  background-color: transparent;
}
.jumbotron .btn {
  padding: 14px 24px;
  font-size: 21px;
}

.jumbotron h3 {
	margin-top: 20px;
	margin-bottom: 25px;
}

/* */

/* Panels */

.table-hover > tbody > tr:hover {
  background-color: #fcf8e3;
}

.table {
	width: 97%;
	margin: 0 auto;
}

.table > thead > tr > th {
	border-bottom: 0px;
}

.panel-heading {
  padding: 15px;
  margin-bottom: 15px;
}

.panel-title {
  font-size: 2em;
}

.back-to-top {
  ddisplay: inline;
}

.back-to-top {
  background-color: rgba(0, 0, 0, 0.5);
}

/* */

/* Scroll to top */

.scroll-top-wrapper {
    position: fixed;
	opacity: 0;
	visibility: hidden;
	overflow: hidden;
	text-align: center;
	z-index: 99999999;
    	background-color: #337AB7;
	color: #eeeeee;
	width: 50px;
	height: 48px;
	line-height: 48px;
	right: 30px;
	bottom: 30px;
	font-size: 2em;
	padding-bottom: 2px;
	border-color: #2E6DA4;
	border-radius: 5px;
	-webkit-transition: all 0.5s ease-in-out;
	-moz-transition: all 0.5s ease-in-out;
	-ms-transition: all 0.5s ease-in-out;
	-o-transition: all 0.5s ease-in-out;
	transition: all 0.5s ease-in-out;
}
.scroll-top-wrapper:hover {
	background-color: #286090;
}
.scroll-top-wrapper.show {
    visibility:visible;
    cursor:pointer;
	opacity: 1.0;
}
.scroll-top-wrapper i.glyphicon {
	line-height: inherit;
}

/* */

/* Contact form */

.contact-form {
	margin-top: 50px;	
}

.contact-header {
	color: #36A0FF;
	font-size: 27px;
	padding: 10px;
}

.bigicon {
	font-size: 35px;
	color: #36A0FF;
}

.captcha {
	padding-top: 7px;
	font-weight: 700;
}

/* */

/* Mail confirmation */

.mail-confirmation {
	text-align: center;
	padding: 10px;
	margin-top: 30px;
	background-image: url(../img/bg-cont-m.png);
	background-repeat: repeat;
	border: 1px solid #3C3;
	border-radius: 4px;
	-webkit-box-shadow: inset 0 1px 1px rgba(0, 0, 0, .05);
          box-shadow: inset 0 1px 1px rgba(0, 0, 0, .05);
}

.mail-confirmation-error {
	text-align: center;
	padding: 10px;
	margin-top: 30px;
	background-image: url(../img/bg-cont-r.jpg);
	background-repeat: repeat;
	border: 1px solid #d02121;
	border-radius: 4px;
	-webkit-box-shadow: inset 0 1px 1px rgba(0, 0, 0, .05);
          box-shadow: inset 0 1px 1px rgba(0, 0, 0, .05);
}

/* */



/* Customize the nav-justified links to be fill the entire space of the .navbar */

.nav-justified {
  background-color: #eee;
  border: 1px solid #ccc;
  border-radius: 5px;
}
.nav-justified > li > a {
  padding-top: 15px;
  padding-bottom: 15px;
  margin-bottom: 0;
  font-weight: bold;
  color: #777;
  text-align: center;
  background-color: #e5e5e5; /* Old browsers */
  background-image: -webkit-gradient(linear, left top, left bottom, from(#f5f5f5), to(#e5e5e5));
  background-image: -webkit-linear-gradient(top, #f5f5f5 0%, #e5e5e5 100%);
  background-image:      -o-linear-gradient(top, #f5f5f5 0%, #e5e5e5 100%);
  background-image:         linear-gradient(to bottom, #f5f5f5 0%,#e5e5e5 100%);
  filter: progid:DXImageTransform.Microsoft.gradient( startColorstr='#f5f5f5', endColorstr='#e5e5e5',GradientType=0 ); /* IE6-9 */
  background-repeat: repeat-x; /* Repeat the gradient */
  border-bottom: 1px solid #d5d5d5;
}
.nav-justified > li > a:hover,
.nav-justified > li > a:focus {
  background-color: #e5e5e5;
  background-image: none;
  -webkit-box-shadow: inset 0 3px 7px rgba(0,0,0,.15);
          box-shadow: inset 0 3px 7px rgba(0,0,0,.15);
}
.nav-justified > li:first-child > a {
  border-radius: 5px 5px 0 0;
}
.nav-justified > li:last-child > a {
  border-bottom: 0;
  border-radius: 0 0 5px 5px;
}

@media (min-width: 768px) {
  .nav-justified {
    max-height: 52px;
  }
  .nav-justified > li > a {
    border-right: 1px solid #d5d5d5;
    border-left: 1px solid #fff;
  }
  .nav-justified > li:first-child > a {
    border-left: 0;
    border-radius: 5px 0 0 5px;
  }
  .nav-justified > li:last-child > a {
    border-right: 0;
    border-radius: 0 5px 5px 0;
  }
}

/* Responsive: Portrait tablets and up */
@media screen and (min-width: 768px) {
  /* Remove the padding we set earlier */
  .masthead,
  .marketing,
  .footer {
    padding-right: 0;
    padding-left: 0;
  }
}
