/*********************
	FONTS & COLORS
**********************/
html,body{
	height:100vh; /*fix fuer IE 11 Layout */
	min-height:100%; /*fix fuer IE 11 Layout */
}

.title {
	width: 100%;
	font-weight: bold;
}

h1{
	font-size:24px;
}
h3{
	font-size: 14px;
	margin-bottom: 0;
}

body {
	color: #6a6b6a;
	/*background-image: url(../images/corporate/CPP-login-background.png);*/
	background-color: #ffffff;
	background-repeat: no-repeat;
	background-position: center center;
	-webkit-background-size: cover;
	-moz-background-size: cover;
	-o-background-size: cover;
	background-size: cover;
	background-attachment: fixed;
}

.logo-container{
	max-width: 450px;
	display: block;
	margin-left: auto;
	margin-right: auto;
}

div.header{
	text-align:center;
	padding-bottom: 15px;
}
.banner {
	text-align:left;
	background-position: left 5px;
	background-repeat: no-repeat;
	width: 100%;
	/* max-height:80px; */
	overflow: hidden;
}

@media screen and (max-width: 767px){
	.banner{
		/* max-height: 40px; */
	}
}
@media screen and (min-width: 768px) and (max-width:991px){
	.banner{
		/* max-height: 60px; */
	}
}
/*********************
	PAGE LAYOUT
**********************/
.flex-row {
	display: flex;
	height: 100%;
	flex-direction:column;
	overflow:auto;	
}

.flex-row .flexmargin{
	flex: 1;
}
.flex-row .flexbody{
	flex: 4;
}
@media screen and (max-width: 768px) and (orientation:portrait){
	.flex-row .flexmargin{
		flex: .5;
	}
}
@media screen and (max-width: 768px) and (orientation:landscape){
	.banner{
		height:0px;
	}
	.flex-row .flexmargin{
		flex: .2;
	}
}
/*********************
	FORMULAR LAYOUT
**********************/
.login-button {
	border-radius: 0px;
	margin-top: 6px;
	box-shadow: 5px 5px 3px grey;
	width: 100%;
	margin-bottom: 10px;
}

.forgot-button {
	width:50%;
	border-radius: 0px;
	box-shadow: 5px 5px 3px grey;
	display:block;
	margin-left:auto;
	margin-right:auto;
}

.form-horizontal {
	max-width:600px;
	margin-left:auto;
	margin-right:auto;
}

.cs-barmenia .form-horizontal, 
.cs-barmenia2 .form-horizontal, 
.cs-barmenia3 .form-horizontal, 
.cs-barmenia4 .form-horizontal, 
.cs-barmenia-acct .form-horizontal, 
.cs-barmenia-test .form-horizontal {
    padding: 30px;
    background-color: white;
    border-radius: 20px;
    opacity: 0.8;	
}

@media screen and (min-width:767px){
	.cs-barmenia .form-horizontal, 
	.cs-barmenia2 .form-horizontal, 
	.cs-barmenia3 .form-horizontal, 
	.cs-barmenia4 .form-horizontal, 
	.cs-barmenia-acct .form-horizontal, 
	.cs-barmenia-test .form-horizontal{
	    min-width:400px;
	}
}




.form-horizontal .form-group{
	margin: 0px;
	margin-bottom: 10px;
}
::-webkit-input-placeholder {
   text-align: center;
}
::placeholder { /* Firefox 18- */
   text-align: center;  
}
::-moz-placeholder {  /* Firefox 19+ */
   text-align: center;  
}
:-ms-input-placeholder {  
   text-align: center; 
}
input:-webkit-autofill {
    transition: background-color 5000s ease-in-out 0s;
}

.form-control {
  box-shadow: 5px 5px 3px grey
}

.message {
	text-align: center;
	border-radius: 8px;
	padding: 10px;
	max-width: 400px;
	margin-left: auto;
	margin-right:  auto;
	margin-bottom: 15px;
}

@media screen and (max-width:767px){
	.message {
		max-width: 300px;
	}
}

.message > p{
	text-align:center;
	margin-bottom: 0px;
	color: #fff;
}

.error {
	color: #B3000C;
	font-weight: bold;
	font-size: 14px;
    margin-bottom: 20px;
 	text-align:center;
}

a{
	font-size:14px;
	cursor:pointer;
}

@media screen and (max-width: 991px){
    .secondaryImg{
		display: none;
	}
	h1{
    	font-size: 32px;
    }
    h2,h3{
    	font-size:20px;
    }
}

.abs-position{
	position:absolute;
	margin:0;
}

.content-main-LO {	
    top: 5%;
    left: 0;
}

.content-main-RO {
    top: 5%;
    right: 0;
}

.content-main-LU {	
    bottom: 5%;
    left: 0;
}

.content-main-RU {	
    bottom: 5%;
    right: 0;
}

.content-main-MM {
    position:relative;
    margin:auto;
}

.background {
  position: absolute; 
  top: 0px; left: 0px;
  width: 100%; height: 100%;
  background-color: white;
  opacity: 0.5;
  z-index: 1;
  border-radius: 5px;
}

.forground {
  position: relative;
  top: 0px;
  z-index: 2;
}

.login-form {
    max-width: 400px;
    padding: 12px;
  } 
  
.login-form.content-main-LO {
	top: 0px;
}  

/* TODO muss noch besser integriert werden */
@media (max-width: 599px) {
  .login-form {
    margin: 20px 20px 20px 20px;
  } 
}

@media (min-width: 600px) {
  .login-form {
    margin: 60px 60px 60px 60px;
  } 
}


