/* RESET --------------------------------- */
/* reset some properties for elements since defaults are not crossbrowser - http://meyerweb.com/eric/thoughts/2007/05/01/reset-reloaded/ */
html, body, div, span, h1, h2, h3, p, a, img, ul, li, fieldset, form, label, legend {
  margin: 0;
  padding: 0;
  border: 0;
  outline: 0;
  font-weight: inherit;
  font-style: inherit;
  font-size: 100%;
  vertical-align: baseline;
}
* {
  font-family: 'TitilliumWeb-Regular', Titillium Web, Roboto, sans-serif !important;
  line-height: 22px;
}
input.required {
  border: 0px solid transparent;
  border-bottom: 1px solid #afc6d9;
  display: table;
  font-size: 17px;
  margin: 19px 0 10px;
  padding: 5px 11px;
  width: 100%;
}
input.required:focus #login label.fl-label {
  display: block;
}
ul {
  list-style: none;
  font-size: 1.1em;
}
/* CONTENT --------------------------------- */
.sr-only {
    border: 0;
    clip: rect(0, 0, 0, 0);
    height: 1px;
    margin: -1px;
        margin-bottom: -1px;
    overflow: hidden;
    padding: 0;
    position: absolute;
    width: 1px;
}
#content p.acceso {
  color: #4e4e4e;
  margin: 0px 70px;
  width: 285px;
  font-size: 14px;
}
.idiomas {
  float: right;
  margin-top: 20px;
  margin-right: 20px;
  font-size: 14px;
  color: #007bc0;
}
.idiomas a {
  color: #007bc0;
  margin-left: 5px;
  margin-right: 5px;
}
.message-copy {
  margin-top: 35px;
}
.message-copy p {
  color: #4e4e4e;
  margin: 10px 37px;
  width: 356px;
  font-size: 14px;
  border-top: 1px solid #e3e3e3;
  padding-top: 9px;
}
.enlaces-contacto {
 margin: 0 auto;
	max-width: 254px;
}
.enlaces-contacto a {
  margin-left: 10px;
  color: #007bc0;
  font-size: 14px;
  margin-right: 10px;
}
.enlaces-contacto li {
  display: inline-block;
}
.row.fl-controls-left {
  margin-left: 70px;
  width: 250px;
  margin-top: 30px;
  position: relative;
}
.logotipo-aux {
  background-image: url("logo-ocu.png");
  background-position: 40px 34px;
  background-repeat: no-repeat;
  background-size: 27% auto;
  float: left;
  height: 120px;
  width: 100%;
}
.logotipo-aux h1 {
  color: #4e4e4e;
  font-size: 26px;
  font-weight: normal;
  line-height: 26px;
  margin-left: 209px;
  margin-top: 55px;
  text-align: left;
  width: 300px;
}
#login {
  /*background-color: #fff;*/
  box-shadow: 0px 0px 12px #CACACA;
  display: block;
  margin: 10em auto 2em;
  width: 950px;
  background-image: url("../oam/upc.jpg");
  background-size: 58%;
  background-repeat: no-repeat;
  background-position: right;
  height: 580px;
  border-radius: 10px;
}
#login img {
  height: 87px;
  margin: 30px 0 15px 51px;
}
#login p a {
  font-size: 16px;
  margin-left: 20px;
  color: #d44200;
}
#content .errors h2, #content .success h2 {
  font-family: "Calibri", Helvetica, sans-serif;
}
.quest {
  background-image: url("../oam/question.png");
  background-repeat: no-repeat;
  margin-left: 111px;
}
label {
  color: #3d3d3d;
}
a {
  color: #a20f26;
  text-decoration: none;
}
a:hover {
  color: #0056b3;
  text-decoration: underline !important;
}
.errors {
  font-size: 1.2em !important;
  font-family: "Calibri", Arial, Helvetica, sans-serif;
}
#login label.fl-label {
  float: left;
  font-size: 14px;
  margin-top: 0;
  width: 100%;
  opacity: 1;
  z-index: 300;
}
#login label.fl-login-failed p {}
#login .btn-row {
  margin-left: 68px;
  margin-top: 45px;
  width: 29%;
  margin-bottom: 20px;
}
.fl-login-failed {
  margin-top: -50px;
  font-size: 14px !important;
  color: red;
}
#login .btn-submit {
  border-style: none;
  color: #ffffff;
  font-size: 14px;
  padding: 9px 10px;
  width: 280px;
  border-radius: 40px;
  cursor: pointer;
  background: #007bc0;
  -webkit-appearance: none;
  -moz-appearance: none;
  appearance: none;
}
#login .btn-submit:hover {
  background-color: #0056b3 !important;
  background: none;
  transition: 1s easy;
}
.logout-wrap {
  background-color: #fff;
  box-shadow: 1px 1px 4px #707070;
  display: table;
  margin: 10em auto 2em;
  padding: 35px;
  width: auto;
}
.logout-wrap img {
  display: block;
  height: auto;
  margin: 0 auto;
  width: 190px;
}
.message-row p {
    width: 83%;
    right: 10px;
    position: absolute;
    display: block;
    margin-left: 0;
    background-color: #e5e5e5;
    padding: 5%;
    left: 10px;
    top: 305px;
    z-index: 400;
}
.logout-wrap .message-row, h1 {
  margin: 5px 0 3px 86px;
}
h1 {
  margin: 5px 0 10px 77px;
}
.logout-wrap strong {
  white-space: nowrap;
}
.logout img, .logout h1, .logout #footer {
  display: block;
  float: none;
  height: auto;
  margin: 15px auto 0;
  text-align: center;
}
#app-name {
  font-size: 20px;
  font-weight: bold;
  color: #303236;
}
.logout #app-name {
  font-size: 25px;
  font-weight: bold;
  margin-top: 70px;
  color: #303236;
}
.logout h2 {
  font-size: 20px;
  margin-bottom: 20px;
}
.logout img {
  height: auto;
  width: 135px;
  margin-top: 30px;
}
.logout #footer2 {
  margin-top: 60px;
  font-size: 12px;
}
.p-close {
  padding: 15px;
  background-image: url(ico-cierre.png);
  background-position: left center;
  background-repeat: no-repeat;
  margin-top: 20px;
  padding-left: 46px;
}
#login p a {
  padding-left: 10px;
  font-size: 14px;
  color: #007BC0 !important;
}
#username, #password {
  background-repeat: no-repeat;
  background-position: 95%, center;
}
.logout .fl-screenNavigator-view {
  width: 450px;
  margin: 26px auto;
  background-color: rgba(255, 255, 255, 0.7);
  border-radius: 10px;
  padding: 10px 45px 45px 45px;
  text-align: center;
  color: #303236;
}
.logout.flc-screenNavigator-view-container {
  min-width: initial;
  height: 500px;
  margin: 100px auto 0;
  box-shadow: 0px 0px 12px #CACACA;
  display: block;
  background-image: url("login-background-02.jpg");
  background-size: 100% auto;
  background-repeat: no-repeat;
  border-radius: 10px;
  max-width: 950px;
  padding-top: 59px;
}
input:focus {
  outline: none;
}
input:focus ~ label, input:valid ~ label {
  top: -20px;
  font-size: 12px;
  color: #A2A2A2;
}
label {
  position: absolute;
  pointer-events: none;
  top: 5px;
  -webkit-transition: 300ms ease all;
  transition: 300ms ease all;
}



body {
  background-image: url("../oam/upc.jpg") !important;
  background-repeat: no-repeat;
  /*background-position: left;*/
  background-size: 100% auto;
}
#login {
  box-shadow: none;
  margin: 0;
  width: 400px;
  background-image: none;
  background-color: #fff;
  height: 100%;
  border-radius: 0;
  float: right;
  min-height: 860px;
}
#login img {
  margin: 60px 0 43px 50px;
}
.row.fl-controls-left {
  margin-top: 50px;
}
.message-copy {
  margin-top: 140px;
}
#content {
  display: block;
  position: absolute;
  right: 0;
  height: 100%;
  background-color: #fff;
}
.pie-upc {
width: 98%;
background-color: #007bc0;
position: fixed;
bottom: 0;
padding: 10px 1%;
color: #fff;
font-size: 14px;

}
.pie-upc a {
color: #fff;
font-size: 14px;

}
.footer-left {
    float: left;
}
.footer-right {
    float: right;
}
/*---------------login responsive----------------*/
@media only screen and (max-width:1024px) {
  #content {
    position: relative;
  }
  #login {
    width: 100%;
  }
  html {
    background-image: none !important;
  }
  .logo {
    text-align: center;
    margin: 80px auto 30px !important;
    display: block;
  }
  #login img {
    margin: 0 auto;
    width: 100%;
    height: auto;
    max-width: 300px;
  }
  #app-name {
    text-align: center;
    margin: 0 auto;
  }
  .acceso {
    margin: 15px auto !important;
    text-align: center;
    width: 100% !important;
    max-width: 285px;
  }
  .row.fl-controls-left {
    margin: 35px auto;
	  width: 100%;
	  max-width: 270px;
  }
  .row.btn-row {
    margin: 33px auto !important;
    width: auto !important;
    display: block;
    text-align: center;
  }
  .btn-submit {
    max-width: 286px !important;
    text-align: center;
    width: 100% !important;
    margin: 0;
  }
  #login p a {
    margin-left: 0;
  }
  .quest {
   max-width: 172px;
    background-position: 10px;
    padding-left: 29px;
    margin: 0 auto;
  }
  .message-copy {
    width: 370px;
    margin: 71px auto 30px;
  }
 
  .message-copy {
    margin: 50px auto;
    width: 100%;
    max-width: 450px;
  }
  .message-copy p {
    width: 80%;
    margin: 20px auto;
    text-align: center;
  }
}