/* Layout fixes */
body {
  height: 100%;
  -moz-osx-font-smoothing: grayscale;
  -webkit-font-smoothing: antialiased;
}

body.message_show {
  padding-bottom: 0;
}

html {
  position: relative;
}

body, html{ 
  min-height: 100%;
}

body .container-16 { 
  margin: auto; 
  width: 100%; 
}

/* layout colors & stuff, facelift-2016 */

pre {
  margin: 1em 0;
}

a {
  color: #993366;
}

a:hover,
a:active,
a:focus {
  text-decoration: none;
  color: #BC588E;
}

.main-container {
  background-color: white;
  position: relative;
}

.background-dark {
  background-color: rgb(51, 51, 51);
  color: white;
}

.background-dark .container-fluid {
  background-color: rgb(51, 51, 51);
  color: white;
}

.background-dark a {
  color: #cc0066;
}
.background-dark a:hover,
.background-dark a:active,
.background-dark a:focus {
  color: #ee2288;
}

.relative {
  position: relative;
}

.background-green {
  background-color: #98C04D;
  color: white;
}

.background-purple {
  background-color: #993366;
  color: white;
}

.background-pink {
  background-color: #E1A1C3;
  color: white;
}

.background-pink a,
.background-green a,
.background-purple a {
  color: #ececec;
}
.background-pink a:hover,
.background-pink a:active,
.background-pink a:focus,
.background-green a:hover,
.background-green a:active,
.background-green a:focus,
.background-purple a:hover,
.background-purple a:active,
.background-purple a:focus {
  color: white;
}


.padded {
  margin-top: 5px;
  margin-bottom: 10px;
}
.padding-y {
  padding: 10px 0;
}

.list-padded > li {
  margin-top: 3px;
  margin-bottom: 6px;
}

.center-vertical {
  position: relative;
  top: 50%;
  -webkit-transform: translateY(-50%);
  -ms-transform: translateY(-50%);
  transform: translateY(-50%);
}

.center-horizontal {
  margin: 0 auto;
}

/* typography */
body {
  font-family: 'Muli', sans-serif;
}

h1 {
  font-family: 'montserrat', sans-serif;
  text-transform: uppercase;
}
h2 {
  font-family: 'montserrat-bold', sans-serif;
  text-transform: uppercase;
}

ul { list-style-type: none; }
ol { list-style-position: inside; }
p { line-height: 20px; }

strong, b {
  font-family: 'Lato 6r', sans-serif;
}

/* prevent tns img from breaking stuff */
body > img {
  position: absolute;
  left: -1000px;
  top: -1000px;
}
#page { 
  max-width: 1200px; 
  margin: auto; 
  min-height: 100%;
}
.logo-img { 
  float: none; 
  margin-right: 0; 
  text-align: center; 
}
.logo-img img { 
  max-width: 100%; 
}


/* layout tuning for mobile */
.responsive-layout-mobile.kd-logged-in .logo-img { 
  display: none; 
}

/* layout colors & stuff */
#page { 
  background: url(/img/cont_bg.png) no-repeat top; 
  -webkit-box-shadow: 0px 0px 20px 0px rgba(0, 0, 0, 0.3); 
  -moz-box-shadow: 0px 0px 20px 0px rgba(0, 0, 0, 0.3); 
  box-shadow: 0px 0px 20px 0px rgba(0, 0, 0, 0.3); 
}


/* general classes */
.loading { opacity: 0.5; background: url(/img/loading.gif) center no-repeat;}

/* menu */
ul.menu li { float: left; padding: 10px; border: 1px solid #eee; }

/* well */
.well {
  border-radius: 0;
  /*background-color: #FFFFFF; */
 /* background-image: linear-gradient(bottom, #ededed 3%, #fff 100%);
  background-image: -moz-linear-gradient(bottom, #ededed 3%, #fff 100%);
  background-image: -webkit-linear-gradient(bottom, #ededed 3%, #fff 100%);*/
}
.well-content {
  background-color: #ededed;
  -webkit-box-shadow: 0 0 8px #333;
  -moz-box-shadow: 0 0 8px #333;
  box-shadow: 0 0 8px #333;
  padding: 20px;

  background-image: linear-gradient(bottom, #ededed 3%, #fff 100%);
  background-image: -moz-linear-gradient(bottom, #ededed 3%, #fff 100%);
  background-image: -webkit-linear-gradient(bottom, #ededed 3%, #fff 100%);

}


div.errorpage .errorBubble {
  position: relative;
  padding-top: 10px;
  padding-bottom: 10px;
}

div.errorpage .errorBubble h3 {
  position: absolute;
  top: 50%;
  -webkit-transform: translateY(-50%);
  -ms-transform: translateY(-50%);
  transform: translateY(-50%);
  width: 100%;
  text-align: center;
  margin: 0;
}

div.errorpage .errorBubble img {
  display: block;
  margin: 0 auto;
  max-width: 100%;
}

div.errorpage div.errorBubble h3 #errornumber {
	font-size: 95px;
	color: #ffffff;
}

div.errorpage div.errorBubble h3 #errortext {
  text-transform: uppercase;
  text-shadow: 0px 1px 0px rgba(255, 255, 255, 0.5);
  filter: dropshadow(color=#ffffff, offx=0, offy=1);
}

div.errorpage div.error-row {
  border-right: 1px solid #E5EAF2;
  padding-right: 20px;
}

.blue {
  color: #0291FF;
}

.grey{
  color: #707070;
}

.red{
  color: #b94a48;
}

h3.help{
  cursor: pointer;
}

span.title {
  font-weight: bold;
  line-height: 2em;
}

hr {
  background-color: #777;
  margin: 20px 0; 
}


/**
 * Helpers for forcing columns for any client width.
 */
.col2 {
  display: inline-block;
  margin-right: 4%;
  min-width: 46%;
  vertical-align: top;
}

/** helpers for fixing some width problems with multiselect dropdowns etc **/
.row-fluid [class*="span"] {
  position: relative;
}

/** fancybox fixes **/
#fancybox-close{
  z-index: 1101;
}

/** bootstrap carousel **/
.carousel-inner > .item > img, .carousel-inner > .item > a > img{
  margin: 0 auto;
}

/*** CLEARFIX ****/

.clearfix:after {
  content: ".";
  display: block;
  clear: both;
  visibility: hidden;
  line-height: 0;
  height: 0;
}
 
* html .clearfix {
  height: 1%;
}

/**** Media Queries ****/

@media (max-width: 480px) { 
  body {
    background: #FFF;
  }
}

@media (max-width: 767px) { 
  .well{
    margin: 0 ;
    border: 0px ;
    border-radius: 0;
    box-shadow: 0 0 0 rgba(0,0,0,0);
    -webkit-box-shadow: 0 0 0 rgba(0,0,0,0);
    -moz-box-shadow: 0 0 0 rgba(0,0,0,0);
  }

  .main-container {
    margin-top: 0;
  }
}

@media (min-width: 1200px) {
  container {
    width: 1050px;
  }
}

/*** Extra responsiveness ***/
.visible-ios6 {
  display: none !important;
}

body.ios6 .visible-ios6 {
  display: block !important;
}

body.ios6 .hidden-ios6 {
  display: none !important;
}

/* --- Primary button component --- */
.primary-button {
  background: #0076D0;
  box-shadow: 0px 2px 3px rgba(0, 0, 0, 0.1);
  border-radius: 4px;
  color: #ffffff;
  font-size: 16px;
  padding: 12px 18px;
  display: inline-block;
  border: 0;
  font-weight: 600;
}

.primary-button:hover, .primary-button:focus {
  color: #ffffff;
}

.secondary-button {
  background: #FFFFFF;
  box-shadow: 0px 2px 3px rgba(0, 0, 0, 0.1);
  border-radius: 4px;
  color: #0076D0;
  font-weight: 600;
  font-size: 16px;
  padding: 12px 18px;
  display: inline-block;
  border: 0;
}

.secondary-button:hover, .secondary-button:focus {
  color: #0076D0;
}