


.home #modal-1 .img-inline {
  margin-top: 0;
}

.home #modal-1 .img-inline:before, .home #modal-1 .img-inline:after {
  width: 40px;
  height: 40px;
}

.home #modal-1 .img-inline:before {
  background: rgba(255,255,255,0.85);
}

.home #modal-1 .img-inline:after {
  background: rgba(255,255,255,0.5);
  bottom: 40px;
  left: 40px;
}

.home #modal-1 .form-contact .alert-danger p {
  display: none;
}

.home #modal-1 .form-contact .alert-danger ul {
  margin-top: 0;
}

.home #modal-1 .form-contact .btn {
  width: 100%;
}

@media (max-width: 767px) {

  .home #modal-1 .img-inline {
    width: 100%;
  }

  .home #modal-1 .modal-header {
    padding:0 ;
    height: 57px;
}

.home #modal-1 .modal-header .modal-title {
    position: absolute;
    top: 18px;
    text-align: center;
    width: 100%;
    pointer-events: none;
}

.home #modal-1 .modal-header button {
    width: 100%;
    padding: 14px 20px;
    text-align: right;
    z-index: 100;
}

}

@media (min-width: 768px) {

  .home #modal-1 .modal-header {
    background: transparent;  
    border: none;
    position: absolute;
    right: 0;
    top: 0;
    z-index: 1051;
    padding: 0;
  }

  .home #modal-1 .modal-header button {
    padding: 7px 10px;
  }

  .home #modal-1 .modal-header .modal-title {
    display: none;
  }

  html:not(.lt-ie10) .home #modal-1.in {
    display: -ms-flexbox !important;
    display: flex !important;
    -ms-flex-align: center;
    align-items: center;
  }

  html:not(.lt-ie10) .home #modal-1.in .modal-dialog {
    margin: auto;
  }

  html:not(.lt-ie10) .home #modal-1 .modal-body {
    padding: 0;
  }

  html:not(.lt-ie10) .home #modal-1 .form-contact {
    margin-bottom: 0;
  }

  html:not(.lt-ie10) .home #modal-1 .row {
    display: -ms-flexbox;
    display: flex;
    margin-left: -15px;
    margin-right: -15px;
  }

  html:not(.lt-ie10) .home #modal-1 .row > [class^="col-"] {
    padding-left: 15px;
    padding-right: 15px;
  }

  html:not(.lt-ie10) .home #modal-1 .row > [class^="col-"]:nth-child(1) p {
    height: 100%;
    width: 100%;
    margin: 0;
  }

  html:not(.lt-ie10) .home #modal-1 .row > [class^="col-"]:nth-child(2) {
    padding: 30px 45px 30px 15px;
  }

  html:not(.lt-ie10) .home #modal-1 .img-inline {
    background-image: url(https://advisor.scotiawealthmanagement.com/content/uploads/sites/28/inline-newsletter.jpg);
    background-position: 50% 50%;
    background-repeat: no-repeat;
    background-size: cover;
    width: 100%;
    height: 100%;
    margin: 0;
  }

  html:not(.lt-ie10) .home #modal-1 .img-inline img {
    display: none;
  }

  .lt-ie10 .home #modal-1 .form-contact label.sr-only {
    clip: none;
    height: auto;
    margin-bottom: 5px;
    position: relative;
    width: auto;
  }

}

@media (min-width: 992px) {

  .home #modal-1 .img-inline:before, .home #modal-1 .img-inline:after {
    width: 45px;
    height: 45px;
  }

  .home #modal-1 .img-inline:after {
    bottom: 45px;
    left: 45px;
  }

}

@media (min-width: 1200px) {

  .home #modal-1 .img-inline:before, .home #modal-1 .img-inline:after {
    width: 55px;
    height: 55px;
  }

  .home #modal-1 .img-inline:after {
    bottom: 55px;
    left: 55px;
  }

}