@font-face {
  font-family: 'Open Sans';
  font-style: normal;
  font-weight: normal;
  src: local('Open Sans'), local('OpenSans'), url(../fonts/OpenSans-Regular.ttf);
}

@font-face {
  font-family: 'Open Sans';
  font-style: normal;
  font-weight: bold;
  src: local('Open Sans Bold'), local('OpenSans-Bold'), url(../fonts/OpenSans-Bold.ttf);
}

@font-face {
  font-family: 'Open Sans';
  font-style: italic;
  font-weight: normal;
  src: local('Open Sans Italic'), local('OpenSans-Italic'), url(../fonts/OpenSans-Italic.ttf);
}

@font-face {
  font-family: 'Open Sans';
  font-style: italic;
  font-weight: bold;
  src: local('Open Sans Bold Italic'), local('OpenSans-BoldItalic'), url(../fonts/OpenSans-BoldItalic.ttf);
}

html {
    height: 100%;
}

body {
    color: rgb(35, 35, 35);
    outline: 0;
    margin: 0;
    padding: 0;
    width: 100%;
    height: 100%;
}

body, input, select {
    font-size: 12px;
    font-family: 'Open Sans', Arial, ​Helvetica, ​Tahoma, ​Verdana, sans-serif;
}

.content {
    display: flex;
    align-items: center;
    align-content: stretch;
    height: 100%;
    width: 100%;
}

.left-side {
    display: flex;
    justify-content: center;
    flex-direction: column;
    align-items: center;
    width: 100%;
    height: 100%;
}

.header {
    width: 300px;
    align-items: center;
    justify-content: space-between;
    padding-top: 20px;
}

.customerBanner {
    line-height: 0;
}

.customerBanner img {
    max-width: 300px;
    max-height: 200px;
}

.header .logo {
    padding: 20px 20px 20px 0px;
}

.header .logo img {
    vertical-align: middle;
    text-align: left;
    height: 28px;
    padding-right: 6px;
}

.header .logo > span {
    vertical-align: middle;
    text-align: left;
    padding: 0;
    margin-top: 10px;
    font-size: 16px;
    font-weight: bold;
    color: #333232;
}

input:focus {
    outline: none;
}

.form {
    width: 100%;
    margin: 20px 0px 20px 0px;
}

form .form-group {
    position: relative;
    padding-bottom: 45px;
}

form .form-group.last {
    padding-bottom: 20px;
}


form .form-group > input {
    font-size:14px;
    font-weight: bold;
    padding:10px 10px 10px 0px;
    width: 200px;
    border: none;
    color: #333232;
    border-bottom:1px solid #C0BFC7;
    width: 290px;
    background-color: white;
}

form .form-group > label {
    color: #C0BFC7;
    font-size: 12px;
    font-weight: bold;
    text-transform: uppercase;
    position:absolute;
    pointer-events:none;
    top:10px;
    transition: all 0.3s ease;
}

form .form-group > input:focus ~ label, input:valid ~ label {
    top:-20px;
    font-size:12px;
    color:#C0BFC7;
}

input:-webkit-autofill ~ label  {
    top:-20px;
    font-size:12px;
    color:#C0BFC7;
}

form .form-group > input:focus {
    border-bottom-color: transparent;
}

form .form-group > .box {
    position: relative;
    display: block;
    width: 300px;
}

form .form-group > .box:before, .box:after {
    content: '';
    height: 2px;
    width: 0px;
    bottom: 1px;
    position: absolute;
    background: #fcd846;
    transition: all 0.3s ease;
}

form .form-group > .box:before {
    left:50%;
}
form .form-group > .box:after {
    right: 50%;
}

form .form-group > input:focus ~ .box:before, input:focus ~ .box:after {
    width: 50%;
}

form .form-group > .line {
  position: absolute;
  margin: 0;
  height: 60%;
  width: 200px;
  top: 25%;
  left: 0;
  pointer-events: none;
  opacity: 0.5;
}

input:-webkit-autofill {
    -webkit-box-shadow: 0 0 0 30px white inset;
}

input {
    border-radius: 0;
}

.submit-box > input, .submit-box > a {
    border: none;
    background-color: #fcd846;
    padding: 10px;
    width: 100%;
    display:inline-block;
    cursor: pointer;
    color: black;
    font-weight: bold;
    text-decoration: none;
    text-align: center;
    transition: background-color .2s ease-in;
    -webkit-transition: background-color .2s ease-in;
    -moz-transition: background-color .2s ease-in;
    -ms-transition: background-color .2s ease-in;
    -o-transition: background-color .2s ease-in;
}

.submit-box > *:hover {
    background-color: black;
    color: white;
    cursor: pointer;
}

.description {
    color: #a3aeb8;
    width: 300px;
    padding-top: 20px;
}

.language {
    height: 100%;
    vertical-align: middle;
}

select {
   appearance: none;
   outline: none;
}

.language select: hover {
    cursor: pointer;
}

.language > select {
    text-transform: uppercase;
    color: #C0BFC7;
    float: right;
    border: none;
    background: none;
    font-weight: bold;
    font-size: 16;
    outline: none;
}

.language select > option {
    text-transform: uppercase;
    color: #C0BFC7;
    border: none;
    font-size: 10;
    font-weight: bold;
    outline: none;
    background: #f7f7f7;
}

select > option:focus {
   background-color:#FFF;
   outline:none;
   border:none;
   box-shadow:none;
}

#cookiesInfo {
    position: fixed;
    left:0px;
    bottom:0px;
    width: 100%;
    font-size: 11px;
    background: #ECEAED;
    color: #646464;
    padding-top: 3px;
    padding-bottom:3px;
}

#cookiesInfo p {
    display: inline-block;
    vertical-align: middle;
    margin-left:10px;
}

#cookiesInfo span {
    font-weight:bold;
    margin-right:2px;
}

p.error {
    width: 300px;
    font-size: 10px;
    font-weight: bold;
    color: #FF3300;
    margin-bottom: -10px;
}

form .form-group > .box-error {
    position: relative;
    display: block;
    width: 300px;
}

form .form-group > .box-error:before, .box-error:after {
    content: '';
    height: 2px;
    width: 0px;
    bottom: 1px;
    position: absolute;
    background: #FF3300;
    transition: all 0.3s ease;
}

form .form-group > .box-error:before {
    left:50%;
}
form .form-group > .box-error:after {
    right: 50%;
}

form .form-group > input:focus ~ .box-error:before, input:focus ~ .box-error:after {
    width: 50%;
}

#upperHeader {
    text-align:center;
}

#passwordChangeTitle {
    text-align:center;
    font-weight:bold;
    margin-bottom:15px;
    font-size:20px;
    margin-top:5px;
}

.success {
    padding-bottom:20px;
}

.loginButton {
    display:inline-block
    width:300px;
}

.loginButton > div {
    width:300px !important;
}

.loginButton .abcRioButtonContentWrapper {
    display:inline-block;
    width:auto;
}
