/* http://meyerweb.com/eric/tools/css/reset/
   v2.0 | 20110126
   License: none (public domain)
*/
html, body, div, span, applet, object, iframe,
h1, h2, h3, h4, h5, h6, p, blockquote, pre,
a, abbr, acronym, address, big, cite, code,
del, dfn, em, img, ins, kbd, q, s, samp,
small, strike, strong, sub, sup, tt, var,
b, u, i, center,
dl, dt, dd, ol, ul, li,
fieldset, form, label, legend,
table, caption, tbody, tfoot, thead, tr, th, td,
article, aside, canvas, details, embed,
figure, figcaption, footer, header, hgroup,
menu, nav, output, ruby, section, summary,
time, mark, audio, video {
  margin: 0;
  padding: 0;
  border: 0;
  font-size: 100%;
  font: inherit;
  vertical-align: baseline;
}

/* HTML5 display-role reset for older browsers */
article, aside, details, figcaption, figure,
footer, header, hgroup, menu, nav, section {
  display: block;
}

body {
  line-height: 1;
}

ol, ul {
  list-style: none;
}

blockquote, q {
  quotes: none;
}

blockquote:before, blockquote:after,
q:before, q:after {
  content: '';
  content: none;
}

table {
  border-collapse: collapse;
  border-spacing: 0;
}

@font-face {
  font-family: 'Poppins';
  src: url("../fonts/Poppins/Poppins-Regular.ttf") format("truetype");
  font-style: normal;
  font-weight: normal;
}
@font-face {
  font-family: 'Poppins';
  src: url("../fonts/Poppins/Poppins-SemiBold.ttf") format("truetype");
  font-style: normal;
  font-weight: 600;
}
@font-face {
  font-family: 'Open Sans';
  src: url("../fonts/open_sans/OpenSans-Regular.ttf") format("truetype");
  font-style: normal;
  font-weight: normal;
}
@font-face {
  font-family: 'Open Sans';
  src: url("../fonts/open_sans/OpenSans-Bold.ttf") format("truetype");
  font-style: normal;
  font-weight: 700;
}
@font-face {
  font-family: 'Open Sans';
  src: url("../fonts/open_sans/OpenSans-Italic.ttf") format("truetype");
  font-style: italic;
  font-weight: normal;
}
@font-face {
  font-family: 'Open Sans';
  src: url("../fonts/open_sans/OpenSans-BoldItalic.ttf") format("truetype");
  font-style: italic;
  font-weight: 700;
}
body {
  background-color: #2e4972;
}

header.top {
  margin: auto;
  padding: 0 50px;
  display: flex;
  justify-content: space-between;
  align-items: center;
  flex-wrap: wrap;
  max-width: 1200px;
}
header.top .logo {
  background: url("../images/newimages/IM-logo-white.svg");
  background-repeat: no-repeat;
  display: inline-block;
  -webkit-background-size: cover;
  -moz-background-size: cover;
  -o-background-size: cover;
  background-size: cover;
  vertical-align: middle;
  height: 50px;
  width: 165px;
  margin: 25px auto;
}

p {
  display: none;
}

h1 {
  display: none;
}

@media (min-width: 500px) {
  h1 {
    display: block;
  }

  p {
    display: block;
  }
}
@media (min-width: 600px) {
  body {
    background-color: #2e4972;
    background: url("../images/newimages/background.jpg") no-repeat center center fixed;
    -webkit-background-size: cover;
    -moz-background-size: cover;
    -o-background-size: cover;
    background-size: cover;
  }

  /* h1 {
    width: 460px;
  } */
  body .learn_more {
    margin-left: 25px;
  }

  header.top {
    height: 125px;
    width: auto;
  }
}
main {
  padding-bottom: 100px;
}

@media (min-width: 800px) and (min-height: 590px) {
  main {
    display: flex;
    justify-content: center;
    align-items: center;
    height: calc(100vh - 225px );
  }
}
@media (min-width: 800px) {
  body header.top {
    height: 125px;
  }

  body header.top .logo,
  body header.top .top,
  body header.top .right {
    margin: 25px 0;
  }

  body .learn_more {
    margin-left: 75px;
  }

  body h1 {
    text-align: left;
  }

  body h1 br {
    display: block;
  }
}
h1 br {
  display: none;
}

header.top .right {
  display: flex;
  justify-content: space-between;
  align-items: center;
  flex-wrap: wrap;
  margin: auto;
}

.dropdown {
  display: inline-block;
  color: #ffffff;
  font-family: 'Open Sans', sans-serif;
  font-size: 13px;
  margin: auto;
  /* padding: 0 20px; */
  position: relative;
  padding: 3px 0;
}

.hidden {
  display: none;
}

.show {
  display: block;
}

.dropdown-toggle {
  cursor: pointer;
}

.dropdown-menu {
  position: absolute;
  background: #ffffff;
  padding: 20px 75px 20px 25px;
  margin-top: 25px;
  right: 0;
}

.dropdown-menu a {
  text-decoration: none;
  cursor: pointer;
  color: #222222;
  margin-bottom: 5px;
  display: inline-block;
  padding: 5px 0;
}

.dropdown .caret {
  background-image: url("../images/newimages/arrow_white.png");
  background-repeat: no-repeat;
  height: 16px;
  width: 18px;
  display: inline-block;
}

h1 {
  font-family: 'Poppins', sans-serif;
  color: #2e4972;
  font-weight: 600;
  font-size: 52px;
  line-height: 60px;
  margin: auto;
  padding: 20px;
  text-align: center;
}

p {
  font-family: 'Open Sans', sans-serif;
  font-size: 13px;
  line-height: 24px;
  letter-spacing: 0.33px;
  color: #222222;
  /* width: 325px; */
  /* padding: 48px 0; */
  margin: 0 auto;
  width: 325px;
  padding: 20px;
}

.error-holder {
  margin: auto;
  /* text-align: center; */
  font-family: 'Open Sans', sans-serif;
  color: #ff4e4e;
  vertical-align: bottom;
  display: flex;
  justify-content: center;
  align-items: center;
}

/* https://medium.com/idea42/floating-labels-with-only-css-81079b14fccb */
fieldset {
  /* This keeps the label and input field together*/
  position: relative;
  /* margin: 45px auto; */
}
fieldset input:focus, fieldset div.custom-dropdown:focus {
    outline: 1px solid #2e4972;
}

fieldset input, fieldset.custom-select select {
  font-size: 16px;
  /* font-size is up to you, not required */
  padding: 20px 10px;
  font-family: 'Open Sans', sans-serif;
  /* padding is up to you */
  display: block;
  /* just to make sure display is block */
  width: 100%;
  /* width is up to you */
  box-sizing: border-box;
  background: white;
  border: 1px solid #F5F5F6;
  min-width: 300px;
}

fieldset label {
  position: absolute;
  font-family: 'Open Sans', sans-serif;
  font-size: 16px;
  left: 10px;
  /* determines space to left of label */
  top: 22px;
  /* determines space above label */
  pointer-events: none;
  /* enables click through on label */
  transition: 0.2s ease all;
  /* determines animation during */
  -moz-transition: 0.2s ease all;
  /* user interaction */
  -webkit-transition: 0.2s ease all;
  color: #555555;
}

fieldset input:focus ~ label,
fieldset input:valid ~ label,
fieldset input:disabled ~ label {
  top: 6px;
  /* where the label goes upon interaction */
  font-size: 12px;
  /* font-size change on interaction */
}

fieldset input:-webkit-autofill ~ label {
  top: 6px;
  /* where the label goes upon interaction */
  font-size: 12px;
  /* font-size change on interaction */
}

form {
  margin: 0 auto;
}

#signin-wrapper {
  /* width: 325px; */
  margin: 0 auto;
  padding: 20px;
}

.actions {
  display: flex;
  justify-content: center;
  align-items: center;
  flex-wrap: wrap;
}

.checkbox {
  margin-left: -15px;
  padding: 20px 0;
}

input[type=checkbox] + label {
  background-image: url("../images/newimages/uncheck_blue.png");
  background-repeat: no-repeat;
  height: 25px;
  display: inline-block;
  color: #2e4972;
  font-family: 'Open Sans', sans-serif;
  padding-left: 35px;
  padding-right: 25px;
  line-height: 25px;
  cursor: pointer;
}

input[type=checkbox]:checked + label {
  background-image: url("../images/newimages/check_blue.png");
  background-repeat: no-repeat;
}

input[type=checkbox] {
  opacity: 0;
}

input[type=checkbox]:hover + label,
input[type=checkbox]:active + label,
input[type=checkbox]:focus + label {
  text-decoration: underline;
  /* outline: auto; outline-color: -webkit-focus-ring-color; */
}

.card {
  background-color: #F5F5F6;
  padding: 20px;
}

.card .inner {
  display: flex;
  justify-content: space-between;
  flex-wrap: wrap;
  /* align-items: center; */
}

.inputgroup {
  /* margin-bottom: 48px; */
  
}

.securitycode {
  display: none;
}

.button {
  padding: 25px 37px;
  border-radius: 16px;
  -moz-border-radius: 16px;
  -webkit-border-radius: 16px;
  box-shadow: 3px 3px 3px 0px rgba(56, 56, 56, 0.3);
  /* box-shadow:0px 20px 29px 0px rgba(56, 56, 56, 0.16); */
  font-family: 'Open Sans', sans-serif;
  font-weight: 700;
  font-size: 14px;
  line-height: 19.84px;
  letter-spacing: 2.8px;
  /* background-color: #ffffff; */
  /* color: #2e4972; */
  background-color: #2e4972;
  color: #ffffff;
  border: none;
  cursor: pointer;
  text-decoration: none;
  border: 2px solid #2e4972;
}

.button:focus, .button:hover, .button:active {
  background-color: #fff;
  color: #2e4972;
}

.learn_more {
  background-color: #ffffff;
  color: #2e4972;
  display: inline-block;
  margin: 25px auto;
}

a:hover,
a:focus,
a:active {
  text-decoration: underline;
}

div.custom-dropdown {
  background: #ffffff;
  position: relative;
  font-family: "Open Sans";
  font-size: 16px;
  padding: 20px 10px;
  display: block;
  width: 100%;
  box-sizing: border-box;
  background: white;
  border: 1px solid #F5F5F6;
  min-width: 300px;
  line-height: 45px;
  /*letter-spacing: 0.33px;*/
  color: #555555;
  text-decoration: none;
  font-weight: 400;
  display: flex;
  justify-content: space-between;
  box-shadow: 4px 4px 4px 0px rgba(56, 56, 56, 0.3);
}

div.custom-dropdown,div.dropdown.changeLanguage {
  line-height: normal;
  padding: 20px 10px;
  font-size: 16px;
  display: flex;
  width: 100%;
  height: 60px;
  box-sizing: border-box;
}

.select-button .label {
  line-height: normal;
}

div.custom-dropdown:hover {
  color: black;
  background: #eaeaea;
  cursor: pointer;
}

.custom-dropdown-text {
  display: flex;
  align-items: center;
  justify-content: space-between;
  top: 0;
  height: 100%;
}

div.custom-dropdown .custom-list , div.dropdown.changeLanguage ul {
  width: 100%;
  position: absolute;
  left: -1px;
  top: 64px;
  overflow-y: auto;
  max-height: 250px;
  background: #ffffff;
}
div.dropdown.changeLanguage ul{
  padding: 0px;
  margin: 0px;
}

div.custom-dropdown .custom-list .custom-list-item, div.dropdown.changeLanguage li a {
  border: 1px solid #ededed;
  font-family: "Open Sans";
  font-size: 13px;
  line-height: normal;
  letter-spacing: 0.33px;
  color: #555555;
  text-decoration: none;
  font-weight: 400;
  padding: 5px 10px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 36px;
}
 div.dropdown.changeLanguage li{
   padding: 0;
    display: flex;
    position: relative;
 }
 div.dropdown.changeLanguage ul li a{
  width: 100%;
  justify-content: center;
  margin: 0;
  text-decoration: none;
 }
 div.dropdown.changeLanguage{
   padding: 20px 0px;
 }

div.custom-dropdown .custom-list.hidden {
  display: none !important;
}

div.custom-dropdown .custom-list .custom-list-item:not(:first-child) {
  border-top: 0px;
}

.custom-list-item:hover,.custom-list-item:focus, .custom-list-item:active, div.dropdown.changeLanguage ul li a:hover,div.dropdown.changeLanguage ul li:hover{
  background:#4183c4;
  color:#ffffff!important;
}

.custom-list-item:hover .arrow, .custom-list-item:hover .label {
  color: #ffffff !important;
}

.custom-list-item .methodimage,
.custom-list-item .placeholder {
  width: 30px;
  height: 30px;
  display: inline-block;
  margin-right: 20px;
  background-repeat: no-repeat;
  -webkit-background-size: cover;
  -moz-background-size: cover;
  -o-background-size: cover;
  background-size: cover;
  background: #2e4972;
}

.custom-list-item .label {
  display: flex;
  width: 100%;
  align-items: center;
}

.custom-list-item .label span {
  margin: 0px 18px;
}

.custom-select {
  position: relative;
  display: block;
}

.custom-select::after, .dropdown.changeLanguage::after{
  width: 0;
  height: 0;
  border-left: 4px solid transparent;
  border-right: 4px solid transparent;
  border-top: 7px solid #666;
  margin-top: -3px;
}
.dropdown.changeLanguage::after{
  content: " ";
  position: absolute;
  top: 50%;
  right: 1em;
  z-index: 2;
  pointer-events: none;
  border-top-color: white;
  margin-right: -10px;
}
.dropdown.changeLanguage {
  padding-right: 0px;
  min-width: 150px;
}
.dropdown.changeLanguage a{
  font-size: 13px;
  width:100%;
  outline: 0;
  padding-right: 20px;
  text-align: right;
}
.dropdown.changeLanguage a .caret{
  display: none;
}
.dropdown.changeLanguage ul.dropdown-menu{
  margin-top: -20px;
  display: flex;
  flex-flow: column;
} 
.dropdown.changeLanguage ul.dropdown-menu.hidden{
  display: none;
}
.custom-select::after {
  display: block;
}

.custom-select::after {
  content: " ";
  position: absolute;
  top: 50%;
  right: 1em;
  z-index: 2;
  pointer-events: none;
}
.error-holder{
  color: transparent;
}
.error-holder.bottom {
   justify-content: left;
    width: 100%;
    background-color: #ff0000;
    border-color: #a00202;
    color: #FFFFFF;
    position: fixed;
    bottom: 0px;
    padding: .75rem 1.25rem;
    border: 1px solid transparent;
}
.card {
  border: 1px solid #5d9dda;
  box-shadow: 4px 4px 4px 0px rgba(56, 56, 56, 0.3);
}

.card, fieldset > input, #signin-wrapper > .inputgroup {
  -webkit-border-radius: 4px;
  -moz-border-radius: 4px;
  border-radius: 4px;
}

.error-holder.bottom.has-success{
  background: green;
}

button.login-button {
    width: 300px;
    border-radius: 4px;
    margin-top: 1rem;
}

.forgot-password {
    text-color: #2e4972;
    font-family: 'Open Sans', sans-serif;
    font-size: 13px;
    text-align: right;
    margin-top: 0.3rem;
}