@import url(https://fonts.googleapis.com/css?family=Questrial);
html {
  background: none;
  display: flex;
  height: 100%;
  width: 100%;
  background-color: #F3F3FA;
  font-size: initial !important;
}
body {
  font-family: 'Questrial',sans-serif;
  font-style: normal;
  text-rendering: auto;
  letter-spacing: normal;
  word-spacing: normal;
  background-attachment: fixed;
  background-color: #F3F3FA;
  background-position: center;
  background-repeat: no-repeat;
  background-size: cover;
  text-align: left;
  display: flex;
  flex-direction: column;
  align-self: stretch;
  flex: 1 1 auto;
  font-size: 1.1em;
}

.container {
  text-align: center;
  width: 100%;
  display: table;
  padding: 0px;
  display: flex;
  justify-content: center;
  align-items: center;
  align-content: stretch;
  flex: 1 1 auto;
}

#EB_footerPortail {
  display: flex;
  text-align: center;
  line-height: 20px;
  color: rgba(255,255,255,1);
  justify-content: center;
  background-color: rgba(16,18,31,1);
  width: 100%;
  flex: 0 0 auto;
  font-size: 0.8em;
}

  #EB_footerPortail #EB_footerLink > span {
    padding-right: 15px;
  }

  #EB_footerPortail #EB_footerLink > span:last-child {
    padding-left: 15px;
  }

  #EB_footerPortail #EB_footerLink a {
    color: rgba(255,255,255,1) !important;
  }

    #EB_footerPortail #EB_footerLink a:hover {
      color: rgba(255,255,255,1) !important;
    }

  *:focus {
    outline: none;
  }
a {
  color: #0b3f78 !important;
}
a:hover {
	color: #fff;
}

input:-webkit-autofill,
input:-webkit-autofill:hover, 
input:-webkit-autofill:focus,
textarea:-webkit-autofill,
textarea:-webkit-autofill:hover,
textarea:-webkit-autofill:focus,
select:-webkit-autofill,
select:-webkit-autofill:hover,
select:-webkit-autofill:focus {
  border: 2px solid #308BDE!important;
  -webkit-text-fill-color: #308BDE!important;
  -webkit-box-shadow: none!important;
}

input:-webkit-autofill,
input:-webkit-autofill:hover,
input:-webkit-autofill:focus,
input:-webkit-autofill:active  {
    border: 2px solid #308BDE!important;
  -webkit-text-fill-color: #308BDE!important;
  -webkit-box-shadow: none!important;
}

#api {
  margin: 0 auto;
}
.col-lg-6 {
  max-width: 470px;
  width: 100%;
  float: none;
  display: inline-block;
  vertical-align: top;
  padding: 0px;
}
.row {
  margin: 0;
  display: table-cell;
  vertical-align: middle;
  border: 20px solid #FFFFFF;
}

.left-side, .right-side {
  padding:0!important;
  flex-grow: 2;
  border-radius:0;
  flex-basis: 100px;
  position: relative;
}

.login-group {
  display: flex;
  justify-content: center;
  width: 100%;
  border: 20px solid #FFFFFF;
}

  .login-group .left-side {
    display: flex;
    flex-direction: column;
  }

  .login-group .panel-default {
    height: initial;
    align-self: stretch;
    flex: 1 1 auto;
  }

  ul {
    padding: 0;
  }
#simplemodal-container .simplemodal-data {
    padding: 5px 8px;
    overflow: hidden;
    background-color: white;
    border-radius: 3px;
    font-style: italic;
}
/** Social Button Styles **/
#SignInWithLogonNameExchange {
  background-color: #296ec6;
  background-image: url(none);
  background-size: 10%;
  background-position-x: 95%;
  background-position-y: 50%;
  background-repeat: no-repeat;
  border-radius: 0.2rem;
  width: 100%;
  font-size: 1.0em;
  margin-left: auto;
}
#SignInWithLogonNameExchange:hover {
  background-color: #1662c7;
}
#AmazonExchange:hover {
    background-color: #36474f !important;
}
#FacebookExchange:hover {
    background-color: #3B5595 !important;
}
#GitHubExchange:hover {
    background-color: #0f0f0f !important;
}
#GoogleExchange:hover {
    background-color: #C64A29 !important;
}
#LinkedInExchange:hover {
    background-color: #0274b3 !important;
}
#MicrosoftAccountExchange:hover {
    background-color: #01a4ef !important;
}
#QQExchange:hover {
    background-color: #1a97df !important;
}
#TwitterExchange:hover {
    background-color: #1DA1F2 !important;
}
#WeChatExchange:hover {
    background-color: #4cc522 !important;
}
#WeiboExchange:hover {
    background-color: #e81123 !important;
}
.buttons #continue:disabled {
  opacity: .3;
}

.buttons #cancel, #backHome {
  padding: 0;
  margin-left: auto;
  background: none;
  border: 0 !important;
  width: 80px;
  position: absolute;
  background-color: transparent;
  top: -10px;
  left: 3.5%;
  font-size: 0.8em;
  color: #0b3f78 !important;
  box-shadow: none;
  text-align: left;
  z-index: 1;
  cursor: pointer;
}

.login-group .buttons #cancel, .login-group #backHome {
  top: 15%;
  left: 3%;
}

.verificationInfoText {
  color: initial !important;
  font-size: 0.8em;
}
.verificationSuccessText {
  color: #30DEBF !important;
  font-size: 0.8em;
}
.error {
  color: orange !important;
  font-size: 0.8em;
}

.buttons #cancel:hover, #backHome:hover {
  text-decoration: underline;
}
.buttons #cancel:before, #backHome:before {
  padding: 10px;
  vertical-align: sub;
  width: 30px;
  display: inline-block;
}
#attributeList ul {
    padding: 0;
}
#attributeList ul li {
    list-style: none;
}
label {
  color: #0b3f78 !important;
  display: initial;
}
.rememberMe {
  display: block;
  margin-bottom: 20px 0px;
  font-size: 0.8em;
}
.rememberMe input {
  padding: 0;
  height: initial;
  width: initial;
  margin-bottom: 0;
  display: none;
  cursor: pointer;
}
.rememberMe label {
  position: relative;
  cursor: pointer;
}
  .rememberMe label:before {
    content: '';
    -webkit-appearance: none;
    background-color: transparent;
    border: 2px solid #0b3f78 !important;
    padding: 5px;
    display: inline-block;
    position: relative;
    vertical-align: middle;
    cursor: pointer;
    margin-right: 8px;
    margin-bottom: 1px;
  }
  .rememberMe input:checked + label:after {
    content: '';
    display: block;
    position: absolute;
    top: -2px;
    left: 6px;
    width: 6px;
    height: 14px;
    border: solid #308BDE !important;
    border-width: 0 2px 3px 0 !important;
    transform: rotate( 45deg);
  }
#attributeList ul li label {
  float: left;
  display: none !important;
  text-align: left;
  margin-left: 15%;
}
#attributeList ul li.CheckboxMultiSelect label,
#attributeList ul li.RadioSingleSelect label {
    display: block !important;
}
#attributeList ul li label[for=country] {
  float: left;
  display: inline-block !important;
}
#attributeList ul li label[for=cpiminternal_legalCountry] {
  float: none;
  text-align: left;
  display: block !important;
}
#attributeList ul li label[for=cpiminternal_dateOfBirth] {
    float: none;
    text-align: left;
    display: block !important;
}
#attributeList ul li input, #api #phoneEntry.phoneEntry .input input, #api #phoneEntry.phoneEntry .input select, #codeVerification input {
  outline: none;
  height: 30px;
  width: 90%;
  border-radius: unset;
  border: none;
  color: #0b3f78;
  border-bottom: 2px solid #0b3f78;
  box-shadow: none;
  margin: 15px 0px;
  background-color: transparent;
  font-size: 0.8em;
}
  #attributeList ul li input::-webkit-input-placeholder {
    text-indent: 20px;
  }
#attributeList ul li .attrEntry.validate input:invalid {
    border-color: orange;
}

#attributeList ul li .attrEntry .verify {
  width: 100%;
  position: relative;
  text-align: center;
  flex-direction: column;
  justify-content: space-between;
  align-items: center;
  margin: 0;
}

#attributeList ul li .attrEntry .verify #email_ver_input_label {
  display: none !important;
}
#attributeList ul li .attrEntry .itemLevel {
  display: none;
  color: orange;
  font-style: italic;
}
#attributeList ul li .attrEntry .dropdown_single {
  height: 45px;
  border-radius: 0.2rem;
  width: 100%;
  margin-bottom: 15px;
  padding-left: 15px;
}
#attributeList ul li .attrEntry .dropdown_single option:first-child {
    display: block !important;
}
#attributeList ul li .attrEntry div#cpiminternal_dateOfBirth.date {
  margin-bottom: 15px;
  display: table;
  width: 100%;
}
#attributeList ul li .attrEntry div#cpiminternal_dateOfBirth.date select {
  border-radius: 0.2rem;
  display: table-cell;
  height: 45px;
  padding-left: 15px;
}
#attributeList ul li .attrEntry div#cpiminternal_dateOfBirth select#cpiminternal_dateOfBirth_day.day {
  margin-right: 3%;
  width: 23%;
}
#attributeList ul li .attrEntry div#cpiminternal_dateOfBirth select#cpiminternal_dateOfBirth_month.month {
  margin-right: 3%;
  width: 38%;
}
#attributeList ul li .attrEntry div#cpiminternal_dateOfBirth select#cpiminternal_dateOfBirth_year.year {
  width: 33%;
}
#attributeList ul li .helpLink {
  display: none;
}

#attributeVerification #attributeList ul li .attrEntry .verify #email_ver_but_edit, #attributeVerification #attributeList ul li .attrEntry .verify #email_ver_but_resend {
  margin-bottom: 15px;
  border: none;
  color: #0b3f78 !important;
  background-color: #FFFFFF !important;
  border: 1px solid #0b3f78 !important;
  border-radius: 0.2rem;
  font-size: 1em;
  width: 70%;
  height: 40px;
  overflow: hidden;
}

  #attributeVerification #attributeList ul li .attrEntry .verify #email_ver_but_edit:hover, #attributeVerification #attributeList ul li .attrEntry .verify #email_ver_but_resend:hover {
    border: none;
    color: #0b3f78 !important;
    background-color: rgba(232,235,246,1) !important;
    border: 1px solid rgba(232,235,246,1) !important;
    outline: none;
  }
.panel, .panel_layout, .panel_layout_row {
  height: 100%;
}
.accountButton, .buttons button {
  -moz-border-radius: 0.2rem;
  -webkit-border-radius: 0.2rem;
  border: 1px solid rgba(232,235,246,1) !important;
  border-radius: 0.2rem;
  width: 70%;
  border: none;
  font-size: 0.8em;
  background-color: rgba(232,235,246,1);
  color: #0b3f78;
  cursor: pointer;
  margin-top: 15px;
  white-space: normal;
  outline: none;
  height: 40px;
}

  .buttons button.EB_disabled {
    background-color: rgba(239, 239, 239, 0.3) !important;
    color: rgba(16, 16, 16, 0.3) !important;
    border-color: rgba(118, 118, 118, 0.3) !important;
    pointer-events: none;
  }

  .accountButton:hover, .buttons button:not(#cancel):hover {
    border: none;
    -moz-box-shadow: none;
    -webkit-box-shadow: none;
    box-shadow: none;
    background-color: #fff !important;
    color: #0b3f78 !important;
    outline: none;
    border-color: #0b3f78 !important;
  }

  .buttons button.EB_disabled:not(#cancel):hover {
    background-color: rgba(239, 239, 239, 0.3) !important;
    color: rgba(16, 16, 16, 0.3) !important;
    border-color: rgba(118, 118, 118, 0.3) !important;
    cursor: default;
    pointer-events: none;
  }

  .accountButton:focus, button:focus {
    outline: none;
  }

.buttons #continue:disabled {
    display: none;
}

.left-side-header {
  justify-content: center;
  align-items: center;
  display: flex;
  height: 80px;
  width: 100%;
  background-color: rgba(11,63,120,1);
  color: #ffffff
}

.left-side-footer {
  height: 20px;
  width: 100%;
  background-color: rgba(11,63,120,1);
}

@media screen and (max-width: 100%) {
  .row .panel-default .panel-body {
    margin-top: 40px;
  }

    .row .panel-default .panel-body .branding img {
      display: block;
      height: 80px;
      width: auto;
      margin: 0 auto;
    }

    .row .panel-default .panel-body .branding h1 {
      display: none;
    }

    .row .panel-default .panel-body h3 {
      font-size: 1.5em;
      margin-top: 15px;
    }

  #attributeVerification #attributeList ul li input {
    width: 70%;
    height: 40px;
    margin-bottom: 10px;
    border-radius: 0.2rem;
    border: none;
    text-indent: 10px;
  }

    #attributeVerification #attributeList ul li input::-webkit-input-placeholder {
      text-indent: 10px;
    }

  #attributeVerification #attributeList ul li #email {
    width: 65%;
    float: left;
    position: relative;
    z-index: 2;
  }

  #attributeVerification #attributeList ul li #email_ver_but_verify {
    background: none;
    border: 0;
    color: #308BDE;
    font-size: 1em;
    position: relative;
    right: 0;
    top: 60px;
    font-size: 1.1em;
    width: auto;
    z-index: 1;
    height: 20px;
  }

  #attributeVerification #attributeList ul li #email_ver_input {
    min-width: 50%;
    width: 70%;
    float: left;
  }

  #attributeVerification #attributeList ul li #email_ver_but_resend {
    top: 10px;
    font-size: 1.1em;
    height: 20px;
  }

  #attributeVerification #attributeList ul li .attrEntry #email {
    height: 40px;
  }

  #attributeVerification #attributeList ul li .attrEntry .verify #email_ver_but_send:after {
    content: " Verify";
    font-size: 1.1em;
    font-style: bold;
    margin-left: 40%;
  }

  #attributeVerification #attributeList ul li .attrEntry .verify #email_ver_but_send {
    height: 40px;
    width: auto;
    float: right;
    overflow: hidden;
    text-indent: -200px;
  }


  #attributeVerification #attributeList ul li .attrEntry .verify:after {
    content: " ";
    display: block;
    clear: both;
  }

  #attributeVerification #attributeList #verifying_blurb {
    margin-top: 15px;
  }

  #attributeVerification .buttons #continue {
    height: 40px;
  }

  #attributeVerification .buttons #cancel {
    font-size: 1em;
    left: 40%;
  }
}

@media only screen and (max-width: 820px) {

  .right-side {
    display: none;
  }

  .unified_container .row .panel-default #api .social .accountButton {
    text-align: center !important;
    padding: 0 !important;
  }

  .accountButton:before {
    display: none;
  }
}
/** Phone **/
@media only screen and (max-width: 600px) {
  .container .row .panel-default {
    border-radius: 0px;
  }

  .right-side {
    display: none;
  }

  .row {
    margin: 0 3%;
    border: 15px solid #FFFFFF;
    min-width: calc(97% - 30px);
  }

  .login-group .buttons #cancel, .login-group #backHome {
    top: 22%;
    left: 1%;
  }
}
