
html, body, div, span, object, iframe, h1, h2, h3, h4, h5, h6, p, blockquote, pre, abbr, address, cite, code, del, dfn, em, img, ins, kbd, q, samp, small, strong, sub, sup, var, b, i, dl, dt, dd, ol, ul, li, fieldset, form, label, legend, table, caption, tbody, tfoot, thead, tr, th, td, article, aside, canvas, details, figcaption, figure, footer, header, hgroup, menu, nav, section, summary, time, mark, audio, video { margin: 0; padding: 0; border: 0; outline: 0; font-size: 100%; vertical-align: baseline; background: transparent; }
body { line-height: 1; }
nav ul { list-style: none; }
blockquote, q { quotes: none; }
blockquote:before, blockquote:after, q:before, q:after { content: ''; content: none; }
a { margin: 0; padding: 0; font-size: 100%; vertical-align: baseline; background: transparent; }
ins { background-color: #ff9; color: #000; text-decoration: none; }
mark { background-color: #ff9; color: #000; font-style: italic; font-weight: bold; }
del { text-decoration: line-through; }
abbr[title], dfn[title] { border-bottom: 1px dotted; cursor: help; }
table { border-collapse: collapse; border-spacing: 0; }
hr { display: block; height: 1px; border: 0; border-top: 1px solid #cccccc; margin: 1em 0; padding: 0; }
input, select { vertical-align: middle; }
body { font-family: Helvetica, Arial, sans-serif; font-size: 12px; line-height: 1.4em; background: #eee; }

#container { width: 950px; margin: 0 auto; }


#cas{ background-color: #f7f5ea }


@media only screen and (max-width: 960px) { 
  #container { width: 100%; }
  #content { -webkit-border-bottom-right-radius: 0px; -webkit-border-bottom-left-radius: 0px; -moz-border-radius-bottomright: 0px; -moz-border-radius-bottomleft: 0px; border-bottom-right-radius: 0px; border-bottom-left-radius: 0px;    
    background: none !important;
    background-position: center 40px;
      
  } 
}



body {
  background: url(../images/bg-tile.gif); /* Old browsers */
  color:      #00AAE9;
}

a:link, a:visited {
  color: #00AAE9;
}

a:hover {
  color:       #A0B757;
}

p {
  margin-bottom: 1.4em;
}

header {
  overflow: hidden;
  padding: 40px 0px 10px 0px;
}

#logo {
  display: block;
  width: 250px;
  height: 52px;
  background: url(../images/apereo-logo.png) no-repeat;
  text-indent: -999em;
  float: left;

  margin-right: 40px;
  border-right: 1px solid rgba(255,255,255,0.25);
}

header h1 {
  display: none;
}

#content {
  overflow:   hidden;
  background: #FFFFFF;
  padding:    65px;
    
    background: url("../images/bg-login.png") no-repeat;
    background-position: center 40px;
    
}

#msg {
  padding: 20px;
  margin-bottom: 40px;
}

#msg.errors { border: 1px solid #BB0000; color: #BB0000; padding-left: 100px; background: url(../../../images/error.png) no-repeat 20px center; }
#msg.success { border: 1px solid #00AAE9; padding-left: 100px; background: #AEBBC9 url(../../../images/success.png) no-repeat 20px center; }
#msg.info { border: 1px solid #00AAE9; padding-left: 100px; background: url(../../../images/info.png) no-repeat 20px center; }
#msg.question { border: 1px solid #00AAE9; padding-left: 100px; background: url(../../../images/question.png) no-repeat 20px center; }
#msg.warn { border: 1px solid #E7AF2A; padding-left: 100px; background: #ffbc8f url(../../../images/info.png) no-repeat 20px center; }

#msg.errors,
#msg.success, 
#msg.info, 
#msg.question, 
#msg.warn {
  -webkit-border-radius: 4px;
  -moz-border-radius:    4px;
  border-radius:         4px;
}

#login {
  width: 320px;
  float: left;
  margin-right: 20px;
}

#login h2 {
  font-weight: normal;
  font-size: 1.4em;
  margin-bottom: 20px;
}

#login .row {
  padding: 1px 0;
}

#login label,
#admin label {
  display: block;
  margin-bottom: 2px;
  color: #3f4a54;
  font-weight: bold;
  text-transform: uppercase;
  padding: 0px;
  margin: 0px 0 5px 0;
  line-height: 30px;
}

#login form input[type=text],
#login form input[type=password],
#admin form input[type=text],
#admin form input[type=password],
#admin form input[type=reset] {
  padding: 0px;
  margin: 0px;
  color: #404a54;
    font-size: 18px;
  padding: 5px 20px 5px 20px;
  background: #ededed;
  height: 45px;
  width: 300px;
  border-width: 0px;
  border-style: none;
  /*-webkit-border-radius: 30px;
  -moz-border-radius: 30px;
  border-radius: 30px;*/
}

#login .check label {
  display: inline;
}

#login .btn-submit:hover, #login .btn-reset:hover {
  cursor: pointer;
}

form .submit-container {
  position: relative;
  -webkit-border-radius: 10px;
  -moz-border-radius: 10px;
  border-radius: 10px;
  display: block;
  float: left;
  margin: 10px 0px 10px 10px;
  text-align: center;
  text-transform: capitalize;
  vertical-align: middle;
  /*border: 6px solid #FFF;*/
  width: 150px;
  background: #FFF;
}

#login form .submit-container {
  margin: 10px 0px 10px 150px;
}

#submitLogin,
#submitForgot,
#submitChange,
#resetChange {
  /*position: relative;
  -webkit-border-radius: 8px;
  -moz-border-radius: 8px;
  border-radius: 8px;
  display: block;
  padding: 10px;
  height: 55px;
  text-decoration: none;
  color: #00AAE9;
  text-align: left;
  width: 160px;
  background: #fff url(../images/btn-submit.png) left center no-repeat;*/
    background: url("../images/btn-submit.png") no-repeat scroll 85px center #FFFFFF;
    border-radius: 8px;
    color: #404a54;
    display: block;
    height: 70px;
    padding: 10px;
    position: relative;
    text-align: left;
    text-decoration: none;
    width: 160px;
}

#submitForgot,
#submitChange,
#resetChange {
	background: #fff url(../images/bg-submit-blank.png) left center no-repeat;
}

#submitForgot:hover,
#submitChange:hover,
#resetChange:hover {
  background: #fff url(../images/bg-submit-hover-blank.png) left center no-repeat;
}

#submitLogin:hover {
  background: url(../images/btn-submit-hover.png) no-repeat scroll 85px center #FFFFFF;
}

.link-func-password {
	display: block;
    margin-left: 200px;
    color: #999999 !important;
}

.btn-form {
  border:                2px solid #00AAE9;
  background:            #EEEEEE;
  color:                 #000000;
  padding:               10px 20px;
  font-weight:           normal;
  -webkit-border-radius: 4px;
  -moz-border-radius:    4px;
  border-radius:         4px;
}

.btn-form:HOVER {
  background:  #00AAE9;
  color:       #FFFFFF;
  font-weight: bold;
}

#sidebar {
  width: auto;
  height: 100%;
}

#sidebar-content {
  padding-left: 20px;
}

#list-languages h3 {
  margin-bottom: 1.4em;
}

#list-languages ul li {
  list-style: none;
  display: inline-block;
  margin-right: 2em;
}

footer {
  padding: 20px;
  color: black;
}

footer a:link, footer a:visited {
  color: black;
}

@media only screen and (max-width: 960px) { 
  header { padding: 20px; }
  #container { width: 100%; }
  #content { 
    -webkit-border-radius: 0px;
    -moz-border-radius: 0px;
    border-radius: 0px;
  } 
}

@media only screen and (max-width: 799px) { 
  header { padding: 10px;}
  #logo { width: 156px; height: 32px; background-size: 156px 32px; margin-right: 20px; }
  #login { float: none; width: 100%; }
  #fm1 .row input[type=text], 
  #fm1 .row input[type=password] { width: 100%; padding: 10px; box-sizing: border-box; -webkit-box-sizing: border-box; -moz-box-sizing: border-box; }
  #fm1 .row .btn-submit { outline: none; -webkit-appearance: none; -webkit-border-radius: 0; border: 0; background: #2aa4a5; color: white; font-weight: bold; width: 100%; padding: 10px 20px; -webkit-border-radius: 3px; -moz-border-radius: 3px; border-radius: 3px; }
  #fm1 .row .btn-reset { display: none; }
  #sidebar { margin-top: 20px; }
  #sidebar .sidebar-content { padding: 0; }
}

#headerContainer, 
#footerContainer {
  width:            100%;
  left:             0px;
  background-color: #404A54; /*#00AAE9;*/
  padding:          1px 3px;
  color:            #FFFFFF;
}

#headerContainer {
  position:         absolute;
  top:              0px;
}

.header-class {
}

#footerContainer {
  position:         fixed;
  height:           30px;
  bottom:           0px;
}

.footer-class {
	padding-top: 5px;
}

#poweredBy {
  float: right;
  padding-right: 15px;
}

#poweredBy, 
#poweredBy:HOVER {
	color:           #FFFFFF;
	text-decoration: none;
}

#sidebar {
  display: none;
}

#login.box,
#logoLink,
.borderTop,
.borderContent,
.borderBottom,
#admin {
  width: 430px;
}

#admin {
	position: relative;
	margin: 0px auto;
}

.borderContent {
	margin: -18px auto 0px auto;
	padding: 0px 50px;
	position: relative;
	/*background: transparent url("../images/bg-cont-border.png") repeat-y top left;*/
}



.borderTop,
.borderBottom {
	height: 35px;
}

.borderTop {
  /*background: transparent url("../images/bg-cont-top.png") no-repeat;*/
  
}

#login div.borderTop {
	 /*background: transparent url("../images/bg-login-top.png") no-repeat;*/
	 height: 67px;
}

.borderBottom {
  /*background: transparent url("../images/bg-cont-bottom.png") no-repeat;*/
  margin-top: -20px;
}

#login.box {
  position: relative;
  margin:   15% auto 0px auto;
  float:    none; 
padding-left: 30px;

}

.login-header {
	display: none;
}

#logoLink {
  margin:   0px auto;
  position: relative;
  display:  block;
  text-align: center;
}

.header-message {
	color: #00AAE9;
	text-align: center;
}

.error {
  display: block;
  clear: both;
  width: 365px;
}

.row {
  margin-left: -20px;
  margin-top: 1px;
  margin-bottom: 1px;
}

#login div#msg.errors {
	width: 200px;
}

.shadow {
  box-shadow: 2px 2px 3px 2px rgba(149, 149, 149, 0.85);
}
.submit-container.shadow.home-link {
  margin-top: 17px;
  height: 40px;
  width: 150px;
  border-radius: 8px;
}

a#resetChange {
  height: 35px;
  width: 100px;
  overflow: hidden;
  padding: 10px 0px 0px 10px;
}

.bottom-image{
	display: none;
}

