/*************************
**************************
FONTS AND TYPOGRAPHY
**************************
*************************/
@font-face {
  font-family: "FritigerRoman";
  src: url("fonts/FrutigerLTforBNS-Roman.eot"); /* IE9 Compat Modes */
  src: url("fonts/FrutigerLTforBNS-Roman.eot?#iefix")
      format("embedded-opentype"),
    /* IE6-IE8 */ url("fonts/FrutigerLTforBNS-Roman.woff2") format("woff2"),
    /* Super Modern Browsers */ url("fonts/FrutigerLTforBNS-Roman.woff")
      format("woff"),
    /* Pretty Modern Browsers */ url("fonts/FrutigerLTforBNS-Roman.ttf")
      format("truetype"),
    /* Safari, Android, iOS */
      url("fonts/FrutigerLTforBNS-Roman.svg#svgFontName") format("svg"); /* Legacy iOS */
}
@font-face {
  font-family: "FritigerLight";
  src: url("fonts/FrutigerLTforBNS-Light.eot"); /* IE9 Compat Modes */
  src: url("fonts/FrutigerLTforBNS-Light.eot?#iefix")
      format("embedded-opentype"),
    /* IE6-IE8 */ url("fonts/FrutigerLTforBNS-Light.woff2") format("woff2"),
    /* Super Modern Browsers */ url("fonts/FrutigerLTforBNS-Roman.woff")
      format("woff"),
    /* Pretty Modern Browsers */ url("fonts/FrutigerLTforBNS-Light.ttf")
      format("truetype"),
    /* Safari, Android, iOS */
      url("fonts/FrutigerLTforBNS-Light.svg#svgFontName") format("svg"); /* Legacy iOS */
}
@font-face {
  font-family: "FritigerMedium";
  src: url("fonts/FrutigerLTforBNS-Medium.eot"); /* IE9 Compat Modes */
  src: url("fonts/FrutigerLTforBNS-Medium.eot?#iefix")
      format("embedded-opentype"),
    /* IE6-IE8 */ url("fonts/FrutigerLTforBNS-Medium.woff2") format("woff2"),
    /* Super Modern Browsers */ url("fonts/FrutigerLTforBNS-Medium.woff")
      format("woff"),
    /* Pretty Modern Browsers */ url("fonts/FrutigerLTforBNS-Medium.ttf")
      format("truetype"),
    /* Safari, Android, iOS */
      url("fonts/FrutigerLTforBNS-Medium.svg#svgFontName") format("svg"); /* Legacy iOS */
}
@font-face {
  font-family: "FritigerBold";
  src: url("fonts/FrutigerLTforBNS-Bold.eot"); /* IE9 Compat Modes */
  src: url("fonts/FrutigerLTforBNS-Bold.eot?#iefix") format("embedded-opentype"),
    /* IE6-IE8 */ url("fonts/FrutigerLTforBNS-Bold.woff2") format("woff2"),
    /* Super Modern Browsers */ url("fonts/FrutigerLTforBNS-Bold.woff")
      format("woff"),
    /* Pretty Modern Browsers */ url("fonts/FrutigerLTforBNS-Bold.ttf")
      format("truetype"),
    /* Safari, Android, iOS */
      url("fonts/FrutigerLTforBNS-Bold.svg#svgFontName") format("svg"); /* Legacy iOS */
}

html,
body {
  height: 100%;
  width: 100%;
  font-size: 16px;
  font-family: "FritigerLight", Arial, Helvetica, "sans-serif";
  margin: 0;
}


.skip-to-content-link {
  position: absolute;
  transform: translateY(-100%);
  background-color: #8230DF  ;
  color: #ffffff;
  font-size: 18px;
  line-height: 22px;
  font-weight: 300;
  text-align: center;
  font-family: "FritigerLight";
}

.skip-to-content-link:focus {
  width: 100%;
  position: relative;
  display: inline-block;
  padding: 0.5rem;
  transform: translateY(0%);
}

a {
  text-decoration: none;
  cursor: pointer;
}
.row {
  display: flex;
  flex-direction: column;
  flex-wrap: wrap;
}
.column  {
  display: flex;
  flex-direction: column;
  flex-wrap: wrap;
}
/*
Header Classes
*/
header {
  height: 3.875rem;
  border-top: 5px solid #ed0722;
}
.header-container {
  max-width: 80rem;
  margin: auto;
  padding: 1.1rem 0.8rem;
}
.sma-logo {
  height: 1.625rem;
  width: 6.188rem;
}

body {
  overflow: auto;
}

/*
Footer Styles
*/
.scotia-logo-footer {
  background-color: #FAFBFD;
}
.scotia-logo-footer > img {
  width: 10.125rem;
  height: 1.75rem;
  display: block;
  margin: auto;
  padding-bottom: 2.563rem;
  padding-top: 0.625rem;
}
.footer-links {
  min-height: 4.375rem;
  font-size: 0.75rem;
  font-family: "FritigerRoman";
  line-height: 0.875;
  letter-spacing: -0.016rem;
  color: #333333;
  background: #fafbfd;
}
.links-div {
  height: 100%;
  width: 95%;
  text-align: center;
  margin: auto auto;
  padding: 1rem;
}
.links-div > a {
  text-decoration: none;
  font-size: 0.95rem;
  color: #333333;
  display: inline-block;
  line-height: 2rem;
}
.footer-trade-mark {
  background-color: #d0021b;
  text-align: center;
  font-size: 0.75rem;
  font-weight: 400;
  line-height: 0.938rem;
  color: #ffffff;
  padding: 0.875rem 0.8rem;
}
.copyright {
  padding-bottom: .563rem;
}
.main-body {
  background-image: url("../images/signin-bg-main.jpg");
  background-repeat: no-repeat;
  background-color: #FAFBFD;
  background-size: 100% auto;
  overflow: auto;
  padding-right: 2.5rem;
  padding-left: 2.5rem;
}
.landing-background {
  display: none;
}

.card-container {
  position: relative;
  margin: 9rem auto 2rem auto;
}

.sub-title {
  padding-bottom: 2.188rem;
  font-style: normal;
  font-weight: 300;
  font-size: 1.25rem;
  line-height: 1.5rem;
  letter-spacing: -0.016rem;
  color: #333333;
}
.description {
  color: #757575;
  font-size: 0.983rem;
  line-height: 1.125rem;
  font-weight: 300;
  min-height: 6rem;
}
.sign-in-link {
  background-color: #ed0722;
  height: 2.8125rem;
  width: 9.685rem;
  text-align: center;
  display: block;
  color: #ffffff;
  font-size: 1rem;
  line-height: 2.8rem;
  border-radius: 8px;
  cursor: pointer;
  margin:auto
}
.learnmore-link {
  background-color: #8230df;
  height: 2.8125rem;
  width: 9.685rem;
  text-align: center;
  display: block;
  color: #ffffff;
  font-size: 1rem;
  line-height: 2.8rem;
  border-radius: 8px;
  cursor: pointer;
  margin:auto
}

/*
Language toggle classes
*/
/* The switch - the box around the slider */
.language-switch {
  width: 3.75rem;
  float: right;
}
.switch {
  position: relative;
  display: inline-block;
  width: 3.3rem;
  height: 1.575rem;
}
.switch:focus-within {
  border: 1px solid #000;
}

/* Hide default HTML checkbox */
.switch input {
  opacity: 0;
  width: 0;
  height: 0;
}

/* The slider */
.slider {
  position: absolute;
  cursor: pointer;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background-color: #586172;
  -webkit-transition: 0.4s;
  transition: 0.4s;
}

.slider:before {
  position: absolute;
  content: "FR";
  height: 1.2rem;
  width: 1.1rem;
  left: 0.15rem;
  bottom: 0.18rem;
  background-color: white;
  -webkit-transition: 0.4s;
  transition: 0.4s;
  font-size: 0.7rem;
  font-weight: 300;
  line-height: 1.2rem;
  padding-left: 0.3rem;
}

input:checked + .slider {
  background-color: #8230df;
}

input:focus + .slider {
  box-shadow: 0 0 1px #8230df;
}

input:checked + .slider:before {
  -webkit-transform: translateX(26px);
  -ms-transform: translateX(26px);
  transform: translateX(26px);
}

/* Rounded sliders */
.slider.round {
  border-radius: 2.125rem;
}

.slider.round:before {
  border-radius: 50%;
}
.column-divider {
  display: none;
}
.sign-in-div {
  flex: 1;
  max-width: 21rem;
  background: #ffffff;
  box-shadow: 0px 2px 8px rgba(0, 0, 0, 0.135216);
  border-radius: 8px;
  padding: 2rem;
  margin: auto;
  margin-bottom: 2rem;
  text-align: center;
}

/* Learn More Styles  */
.learn-more-body {
  padding-left: 8px;
  padding-right: 8px;
}
.learn-more-card-container {
  position: relative;
  margin: 0.5rem auto 2rem auto;
  background: #ffffff;
  box-shadow: 0px 2px 8px rgba(0, 0, 0, 0.135216);
  border-radius: 8px;
  padding: 2rem;
}

.learn-more-div {
  flex: 1;
  max-width: 21rem;
  background: #ffffff;
  box-shadow: 0px 2px 8px rgba(0, 0, 0, 0.135216);
  border-radius: 8px;
  padding: 2rem;
  margin: auto;
  text-align: center;
}

.learn-more-title {
  color: #333333;
  font-size: 1.25rem;
  line-height: 1.188rem;
  font-weight: 700;
  font-family: "FritigerLight", Arial, Helvetica, "sans-serif";
  text-align: center;
  letter-spacing: -0.25px;
  margin-bottom: 27px;
  width: 100%;
}

.learn-more-card {
  padding: 1.625rem 2rem;
  background: #FFFFFF;
  box-shadow: 0px 2px 10px rgba(0, 0, 0, 0.1);
  border-radius: 9px;
  margin-bottom: 27px;
}

.lm-sub-title {
  font-family: "FritigerRoman";
  font-weight: 300;
  font-size: 1.25rem;
  line-height: 2rem;
  text-align: center;
  letter-spacing: -0.25px;
  color: #333333;
  padding-bottom: 28px;
}

.lm-summary {
  font-family: "FritigerMedium";
  font-style: normal;
  font-weight: 500;
  font-size: 1rem;
  line-height: 1.188rem;
  text-align: center;
  color: #333333;
  padding-bottom: 10px;
}

.lm-description {
  font-family: "FritigerLight", Arial, Helvetica, "sans-serif";
  font-style: normal;
  font-weight: 300;
  font-size: 14px;
  line-height: 17px;
  color: #333333;
  text-align: center;
}

.lm-broker-desc-2 {
  margin-bottom: 20px;
}

.lm-doc-list {
  padding-left: 0rem;
  margin-bottom: 28px;
  margin-top: 28px;
}
ul li {
    background-image: url(../images/pdf-icon.svg);
    background-repeat: no-repeat;
    background-position-y: 3px;
    padding-left: 30px;
    margin-bottom: 10px;
    min-height: 23px;
}
.lm-document {
  list-style: none;
}

.lm-link {
  font-family: 'FritigerMedium';
  font-weight: 400;
  font-size: 16px;
  line-height: 19px;
  color: #8230DF;
  overflow-wrap: break-word;
}

.product-suite {
  padding: 0px 16px;
}

.product-title{
  font-family: 'FritigerRoman';
  font-style: normal;
  font-weight: 300;
  font-size: 20px;
  line-height: 32px;
  text-align: center;
  letter-spacing: -0.25px;
  color: #333333;
  padding-bottom: 8px;
}

.product-description {  
  font-family: "FritigerLight", Arial, Helvetica, "sans-serif";
  font-style: normal;
  font-weight: 300;
  font-size: 14px;
  line-height: 17px;
  color: #333333;
  text-align: center;
}

.footer-subtitle {
  font-family: 'FritigerLight';
  font-style: normal;
  font-weight: 300;
  font-size: 12px;
  line-height: 15px;
  text-align: center;
  letter-spacing: 0.25px;
  color: #333333;
  max-width: 227px;
  margin: 0px auto 42px auto;
}

.footer-description {
  font-family: 'FritigerLight';
  font-style: normal;
  font-weight: 300;
  font-size: 12px;
  line-height: 15px;
  text-align: center;
  letter-spacing: 0.25px;
  color: #333333;
  max-width: 77%;
  margin: 0px auto 50px auto;
}
/* Learn More Styles End Here */

/* Toast Message CSS*/

/* The snackbar - position it at the bottom and in the middle of the screen */
#snackbar {
  background-color: #333; /* Black background color */
  color: #fff; /* White text color */
  text-align: center; /* Centered text */
  border-radius: 2px; /* Rounded borders */
  min-height: 1.249rem;
  padding: 1.563rem;
  position: fixed; /* Sit on top of the screen */
  z-index: 10; /* Add a z-index if needed */
  width: 100%;
  margin-top: -5px;
}

/* Show the snackbar when clicking on a button (class added with JavaScript) */
#snackbar.show {
  visibility: visible; /* Show the snackbar */
}

#snackbar.fade-out-toast {
  /* Add animation: Take 0.5 seconds to fade in and out the snackbar.
  However, delay the fade out process for 2.5 seconds */
  transition: opacity 3s ease-in-out;
  -webkit-transition: opacity 3s ease-in-out;
  -moz-transition: opacity 3s ease-in-out;
  -ms-transition: opacity 3s ease-in-out;
  -o-transition: opacity 3s ease-in-out;
  opacity: 0;
}

#snackbar.hide {
  visibility: hidden;
}

.message-text {
  display: inline-block;
  width: calc(95% - 4.804rem);
  vertical-align: top;
  padding-right: 10rem;
}
.close-icon {
  position: absolute;
  top: 1.2rem;
  right: 5.5rem;
  height: 2rem;
  width: 2rem;
  border: none;
  background: url("../images/close_toast_icon.svg");
  background-size: contain;
  background-repeat: no-repeat;
}

/* Toast Message css ends here */

@media (min-width: 786px) {
  .landing-background {
    display: none;
  }
.footer-trade-mark {
  font-size: 0.75rem;
  line-height: 0.938rem;
  padding: 0.75rem 1.125rem;
}
.footer-container {
  min-height: 0.938rem;
}
  .main-body {
    min-height: calc( 100% - 17.4rem);
  }  

  #snackbar {
    min-height: 1.249rem;
    padding: 2.188rem;
  }
  .close-icon {
    top: 1.8rem;
  }

  /*Learn more page */
  .footer-description { 
    text-align: left;
    max-width: 98%;
  }
}
@media screen and (max-width: 1200px) {
  .mobile-container {
    width: 100%;
  }
  .email-link {
    display: block;
  }
}
@media (min-width: 900px) {
  /*
  Header Classes
  */
  header {
    height: 5.313rem;
    border-top: 5px solid #ed0722;
  }
  .header-container {
    max-width: 81.25rem;
    margin: auto;
    padding: 1.1rem 0.8rem;
  }
  .sma-logo {
    height: 2.813rem;
    width: 10.625rem;
  }
  .language-switch {
    padding-top: 0.8rem;
  }

  .card-container {
    background: #ffffff;
    box-shadow: 0px 2px 8px rgba(0, 0, 0, 0.135216);
    border-radius: 8px;
    padding: 2.563rem;
    height: 20.063rem;
    width: 63rem;
    margin: 9rem auto 3.1rem auto;
    max-width: 91%;
    max-height: 100%;
    display: grid;
    grid-auto-flow: column;
  }

  .product-suite {
    padding: 0px 0px;
  }
  
  .learn-more-card-container {
    background: #ffffff;
    box-shadow: 0px 2px 8px rgba(0, 0, 0, 0.135216);
    border-radius: 8px;
    padding: 2.563rem;
  /* height: 20.063rem;*/
    width: 63rem;
    margin: 9rem auto 3.1rem auto;
    max-width: 91%;
   /* max-height: 100%;*/
  }

  .sub-title {
    padding-bottom: 1.188rem;
    font-style: normal;
    font-weight: 300;
    font-size: 1.625rem;
    line-height: 2rem;
    letter-spacing: -0.016rem;
    color: #333333;
    min-height: 6rem;
  }
  .description {
    color: #757575;
    font-size: 1rem;
    line-height: 1.375rem;
    font-weight: 300;
    min-height: 7rem;
  }
  .sign-in-div {
   /* flex: calc(38% - 5px);*/
    padding: 0rem 2rem 0rem 0rem;
    max-width: initial;
    box-shadow: none;
    border-radius: none;
    margin: 0px;
    text-align: left;
  }
  .sign-in-link {
    margin: initial;
  }
  .column-divider {
    border-left: 3px solid #d6d6d6;
    height: 300px;
    display: inline;
  }
  .learn-more-div {
    /*flex: 62%;*/
    padding: 0rem 0rem 0rem 2rem;
    max-width: initial;
    box-shadow: none;
    border-radius: none;
    margin: 0px;
    text-align: left;
  }
  .learnmore-link {
    margin: initial;
  }
  /*
  Footer styles
  */
  .footer-links {
    min-height: 4.375rem;
    font-size: 1.188rem;
    font-family: "FritigerRoman";
    line-height: 1.438rem;
    letter-spacing: -0.016rem;
    background-color: #FAFBFD;
  }
  .footer-container {
    max-width: 81.25rem;
    margin: auto;
    /*padding-top: 1rem;*/
  }
  .footer-container > .copyright {
    float: right;
  }
  .footer-container > .registered {
    float: left;
  }
}



@media (min-width: 1200px) {
  .landing-background {
    height: 28rem;
  }
  .card-container {
    background: #ffffff;
    box-shadow: 0px 2px 8px rgba(0, 0, 0, 0.135216);
    border-radius: 8px;
    padding: 4.563rem;
    height: 18.063rem;
    width: 63rem;
    max-width: 100%;
    max-height: 100%;
  }
  
  .column-divider {
    border-left: 3px solid #d6d6d6;
    height: 300px;
    display: inline;
  }
  .sub-title {
    padding-bottom: 1.188rem;
    font-style: normal;
    font-weight: 300;
    font-size: 1.625rem;
    line-height: 2rem;
    letter-spacing: -0.016rem;
    color: #333333;
  }
  .description {
    color: #757575;
    font-size: 1rem;
    line-height: 1.375rem;
    font-weight: 300;
    min-height: 7rem;
  }
  .sign-in-div {
    flex: 50%;
    padding: 0rem 3.125rem 0rem 0rem;
    max-width: initial;
    box-shadow: none;
    border-radius: none;
    margin: 0px;
  }

    /* Learn More Styles  */

    .learn-more-title {
      font-size: 1.625rem;
      font-weight: 700;
      line-height: 2rem;
    }

  .learn-more-div {
    flex: 50%;
    padding: 0rem 0rem 0rem 3.125rem;
    max-width: initial;
    box-shadow: none;
    border-radius: none;
    margin: 0px;
  }

  .learn-more-card-container {
    background: #ffffff;
    box-shadow: 0px 2px 8px rgba(0, 0, 0, 0.135216);
    border-radius: 8px;
    padding: 5.063rem 3.688rem;
    width: 87%;
    max-width: 100%;
    margin: 9rem auto 2.1rem auto;
  }

  .lm-cards-list {
    float: left;
    width: 69%;
  }

  .lm-summary {
    text-align: left;
    font-size: 1.125rem;
    line-height: 1.375rem;
  }

  .lm-description {
    font-weight: 500;
    font-size: 18px;
    line-height: 22px;
    text-align: left;
  }

  .lm-sub-title {
    text-align: left;
    font-size: 1.625rem;
    font-weight: 400;
    line-height: 2rem;
  }

  .product-suite {
    float: right;
    width: 27%;
    padding-top: 1.625rem;
  }

  .product-title {
    text-align: left;
    font-size: 1.625rem;
    line-height: 2rem;
    font-weight: 400;
  }
  .product-description {
    font-size: 1.125rem;
    line-height: 1.375rem;
    font-weight: 300;
    text-align: left;
  }

  .footer-div {
    width: 93.5%;
    margin: auto;
  }
  .footer-subtitle {
    text-align: left;
    margin: 0px 0px 30px 4px;
  }
  .footer-description {
    text-align: left;
    width: 99%;
    max-width: 99%;
  }

  /* Learn more styles end here*/
}
