html,
body,
.container,
.row-login {
  height: 100%;
}

body {
    content: "";
    background-image: url('/img/bg-login.jpeg');
    background-size: cover;
    /* position: absolute;
    top: 0;
    left: 0;
    bottom: 0;
    right: 0; */
    /* z-index: -1;    */
  }
  
#bg {
    background-color: rgba(153,153,153,.9);
    position: absolute;
    top: 0;
    left: 0;
    bottom: 0;
    right: 0;
    z-index: -1;  
}

.col-login {
	padding: 1em;
}

.col-login input {
	width: 100%;
	border: 0;
}

#username, #password {
	padding: 10px 12px;
	outline: none;
	-webkit-box-sizing: border-box;
	-moz-box-sizing: border-box;
	box-sizing: border-box;
	vertical-align: middle;
	font-family: Open Sans,Arial,sans-serif;
	font-size: 14px;
	font-style: italic;
	font-weight: 300;
	line-height: 24px;
}

#username {
	border-radius: 6px 6px 0 0;
	border-bottom-width:0px;
}

#password {
	border-top: 1px solid #d1d1d7;
	border-radius: 0 0 6px 6px;
}

.menu {
	background-color: #fff;
	min-height: 100%;
	height: 100%;
}

.contenu {
  position: relative;
  height: 0;
  overflow: hidden;
  padding-bottom: 100%;
  margin-top: 1em;
}

.contenu iframe {
	border: none;
	position: absolute;
	top: 0;
	left: 0;
	width: 100%;
	height: 100%;
}

.button-close {
	background: rgba(255,45,0);
	color: #fff;
	display: inline-block;
	padding: 6px;
	line-height: 10px;
	font-size: 20px;
	height: 24px;
	width: 24px;
	border-radius: 12px;
	-moz-border-radius: 12px;
	-webkit-border-radius: 12px;
	vertical-align: middle;
	cursor: pointer;
}

.nav-custom .nav-link.active {
	background-color: #23272b;
}

.nav-custom a {
	color: #333;
}

.nav-custom a:hover {
	color: #999;
}

/**
 * CAKEPHP
 */


.form .error-message {
    display: block;
    padding: 0.375rem 0.5625rem 0.5625rem;
    margin-top: -1px;
    margin-bottom: 1rem;
    font-size: 0.75rem;
    font-weight: normal;
    font-style: italic;
    color: rgba(0, 0, 0, 0.54);
}

.required > label {
    font-weight: bold;
}
.required > label:after {
    content: ' *';
    color: #C3232D;
}

select[multiple] {
    min-height:150px;
    background: none;
}
input[type=checkbox],
input[type=radio] {
    margin-right: 0.5em;
}

.date select,
.time select,
.datetime select {
    display: inline;
    width: auto;
    margin-right: 10px;
}

.error label,
.error label.error {
    color: #C3232D;
}


div.message {
    text-align: center;
    cursor: pointer;
    display: block;
    font-weight: normal;
    padding: 0 1.5rem 0 1.5rem;
    transition: height 300ms ease-out 0s;
    background-color: #a0d3e8;
    color: #626262;
    top: 15px;
    right: 15px;
    z-index: 999;
    overflow: hidden;
    height: 50px;
    line-height: 2.5em;
    box-radius: 5px;
}

div.message:before {
    line-height: 0px;
    font-size: 20px;
    height: 12px;
    width: 12px;
    border-radius: 15px;
    text-align: center;
    vertical-align: middle;
    display: inline-block;
    position: relative;
    left: -11px;
    background-color: #FFF;
    padding: 12px 14px 12px 10px;
    content: "i";
    color: #a0d3e8;
}

div.message.error {
    background-color: #C3232D;
    color: #FFF;
}

div.message.error:before {
    padding: 11px 16px 14px 7px;
    color: #C3232D;
    content: "x";
}
div.message.hidden {
    height: 0;
}
