body {
  font-size: 16px;
  color: #333333;
}

h1 {
  color: #4f2d7f;
  font-weight: bold;
  font-size: 24px;
  line-height: 30px;
  padding: 0;
  margin: 0 0 20px 0;
}
@media (min-width: 768px) {
  h1 {
    font-size: 26px;
    line-height: 50px;
  }
}

h2 {
  font-weight: normal;
  font-size: 20px;
  line-height: 30px;
  border-bottom: solid 1px #ccc;
  padding: 0;
  margin: 0 0 40px;
  overflow: hidden;
}
@media (min-width: 768px) {
  h2 {
    font-size: 24px;
    line-height: 40px;
  }
}
@media (min-width: 768px) {
  h2 .section-title {
    font-size: 18px;
    color: #ffffff;
    display: inline-block;
    background-color: #4f2d7f;
    padding: 0 10px;
    position: relative;
  }
  h2 .section-title::before {
    z-index: -1;
    content: '';
    display: block;
    width: 100%;
    height: 100%;
    background-color: #4f2d7f;
    position: absolute;
    top: 0;
    left: 0;
    -webkit-transform: skew(25deg) translateX(20px);
            transform: skew(25deg) translateX(20px);
  }
}

h2 + .section-subtitle {
  margin-top: -30px;
  margin-bottom: 40px;
  font-size: 18px;
  font-weight: bold;
}

h3 {
  font-size: 18px;
  line-height: 30px;
  padding: 0;
  margin: 0;
}
@media (min-width: 768px) {
  h3 {
    font-size: 20px;
    line-height: 30px;
    padding: 0;
    margin: 0;
  }
}

h4 {
  margin-top: 0;
  padding-top: 0;
  font-size: 16px;
  line-height: 20px;
}

.text-left.text-left {
  text-align: left;
}

.fine-print {
  font-size: 75%;
  margin: 0;
  padding: 10px 0 0 0;
}

a {
  text-decoration: underline;
  color: #004fb6;
}
a:hover {
  color: #004fb6;
}

.line-breaker, .btn-group-loose.btn-group-block > .btn {
  white-space: normal;
  word-break: break-all;
  /* Non standard for WebKit */
  word-break: break-word;
  -webkit-hyphens: auto;
      -ms-hyphens: auto;
          hyphens: auto;
  overflow-wrap: break-word;
}

.navbar-static-top {
  background-color: #ffffff;
  margin-bottom: 40px;
}

.navbar-brand {
  padding: 0;
  margin: 20px 0;
  width: 230px;
  height: 50px;
  white-space: nowrap;
  overflow: hidden;
  text-indent: 100%;
  background: transparent url(../images/brokerlogo.png) 0 0 no-repeat;
}

.navbar > .container .navbar-brand,
.navbar > .container-fluid .navbar-brand {
  margin-left: 0;
}

.nav a {
  text-decoration: none;
}

.navbar-default {
  background-color: #EDEAF2;
  border-color: #DCD5E5;
}
.navbar-default .navbar-nav > li > a {
  border-left: solid 1px #DCD5E5;
  color: #333333;
}
.navbar-default .navbar-nav > li > a:hover {
  background-color: #DCD5E5;
}

section {
  margin-bottom: 40px;
}
@media (min-width: 768px) {
  section {
    margin-bottom: 80px;
  }
}

.well {
  border: none;
  box-shadow: none;
  background-color: #EEEEEE;
  padding: 10px;
  margin: 0 0 20px 0;
}
@media (min-width: 768px) {
  .well {
    padding: 20px 10px;
  }
}
.well .column-head {
  border-color: #DCD5E5;
  margin-bottom: 10px;
}

label {
  font-weight: normal;
  font-size: 14px;
}

.label-default {
  background-color: #4f2d7f;
  padding: 5px 20px;
}

.label-xl {
  font-size: 20px;
  line-height: 20px;
}

.progress-steps {
  overflow: hidden;
  margin-bottom: 40px;
}
@media (min-width: 768px) {
  .progress-steps {
    display: -webkit-box;
    display: -ms-flexbox;
    display: flex;
    -webkit-box-pack: justify;
        -ms-flex-pack: justify;
            justify-content: space-between;
  }
}

@media (min-width: 768px) {
  .step-wrapper {
    width: 235px;
    position: relative;
  }
}
@media (min-width: 992px) {
  .step-wrapper {
    width: 308px;
    font-size: 18px;
  }
}
@media (min-width: 1200px) {
  .step-wrapper {
    width: 374px;
  }
}

.step-content {
  background-color: #9581B2;
  color: #ffffff;
  line-height: 20px;
  padding: 10px;
  border-bottom: solid 5px #ffffff;
}
.is-active .step-content {
  background-color: #4f2d7f;
}
@media (min-width: 768px) {
  .step-content {
    padding: 20px 10px;
    border: none;
    background-color: transparent;
  }
  .step-content::before, .step-content::after {
    z-index: -1;
    content: '';
    display: block;
    width: 100%;
    height: 100%;
    background-color: #9581B2;
    position: absolute;
    top: 0;
    left: 0;
  }
  .step-content::before {
    -webkit-transform: skew(25deg) translateX(-5px);
            transform: skew(25deg) translateX(-5px);
  }
  .step-content::after {
    width: 10%;
  }
  .step-content.step2::after {
    display: none;
  }
  .step-content.step3::after {
    left: auto;
    right: 0;
  }
  .is-active .step-content {
    background-color: transparent;
  }
  .is-active .step-content::before, .is-active .step-content::after {
    background-color: #4f2d7f;
  }
}

.table-striped {
  border-collapse: separate;
  margin-bottom: 40px;
}
.table-striped.table > thead > tr > th {
  background-color: #eee;
  border-bottom: solid 5px #ffffff;
}
.table-striped.table > tbody > tr:nth-of-type(odd) {
  background-color: transparent;
}
.table-striped.table > tbody > tr:nth-of-type(odd) > td {
  background-color: transparent;
  border-color: transparent;
}
.table-striped.table > tbody > tr:nth-of-type(1) > td {
  border-top: solid 1px #eee;
}
.table-striped.table > tbody > tr:nth-of-type(even) > td {
  background-color: #ccc;
  border-color: transparent;
}

.btn {
  -webkit-transition: all 0.25s ease;
  transition: all 0.25s ease;
}

@media (max-width: 767px) {

  .btn-group-lg > .btn.btn, .btn.btn-lg {
    padding-left: 5px;
    padding-right: 5px;
  }
}
.btn.btn-default {
  color: #444444;
  border-color: #cccccc;
  background-color: #f9f9f9;
}
.btn.btn-default:hover, .btn.btn-default:focus {
  color: #444444;
  border-color: #f9f9f9;
  background-color: #eeeeee;
}
.btn.btn-default.active, .btn.btn-default:active {
  color: #444444;
  border-color: #f9f9f9;
  background-color: #eeeeee;
  box-shadow: none;
}



.btn.btn-primary {
  color: #ffffff;
  border-color: #F15E22;
  background-color: #F15E22;
}

.btn.btn-primary:hover, .btn.btn-primary:focus {
  color: #ffffff;
  border-color: #D9531E;
  background-color: #D9531E;
}
.btn.btn-primary.active, .btn.btn-primary:active {
  color: #ffffff;
  border-color: #BF491A;
  background-color: #BF491A;
  box-shadow: none;
}

.btn.btn-block-navlink {
  margin-left: 845px;
  margin-top: 50px;
}

.btn.btn-info {
  color: #444444;
  border-color: #cccccc;
  background-color: #f9f9f9;
}
.btn.btn-info:hover, .btn.btn-info:focus {
  color: #444444;
  border-color: #f9f9f9;
  background-color: #eeeeee;
}
.btn.btn-info.active, .btn.btn-info:active {
  color: #444444;
  border-color: #f9f9f9;
  background-color: #eeeeee;
  box-shadow: none;
}
.btn.btn-info.focus, .btn.btn-info:focus, .btn.btn-info.active.focus, .btn.btn-info.active:focus, .btn.btn-info.focus:active, .btn.btn-info:focus:active {
  outline-color: #004fb6;
}

.btn-group-loose {
  display: block;
}
.btn-group-loose > .btn {
  float: none;
  margin: 0 5px 5px 0;
}
.btn-group-loose > .btn:after {
  content: ' ';
  display: block;
  clear: both;
}
.btn-group-loose > .btn + .btn {
  margin-left: 0;
}
.btn-group-loose > .btn:last-child:not(:first-child), .btn-group-loose > .btn:first-child:not(:last-child):not(.dropdown-toggle), .btn-group-loose > .btn:not(:first-child):not(:last-child):not(.dropdown-toggle) {
  border-radius: 4px;
}
.btn-group-loose.btn-group-block > .btn {
  display: block;
  text-align: left;
  margin-left: 0;
  margin-right: 0;
}
.btn-group-loose.group-radio > .btn {
  padding-left: 30px;
  position: relative;
}
.btn-group-loose.group-radio > .btn::before {
  content: '';
  display: block;
  position: absolute;
  top: 7px;
  left: 5px;
  width: 1.2em;
  height: 1.2em;
  border: solid 2px currentcolor;
  border-radius: 50%;
  font-style: normal;
  font-weight: 400;
  text-align: center;
  line-height: 1;
}
.btn-group-loose.group-radio > .btn.active::before {
  background-color: currentcolor;
  box-shadow: inset 0px 0px 0px 2px #ffffff;
}
.btn-group-loose.group-checkbox > .btn {
  padding-left: 30px;
  position: relative;
}
.btn-group-loose.group-checkbox > .btn::before {
  content: '';
  display: block;
  position: absolute;
  top: 7px;
  left: 5px;
  width: 1.2em;
  height: 1.2em;
  border: solid 2px currentcolor;
  font-style: normal;
  font-weight: bold;
  text-align: center;
  line-height: 1;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}

.btn-group-loose.group-checkbox > .btn.active::before {
  content: '\2713';
}

.btn-group .secondary-option {
  display: block;
}
@media (min-width: 768px) {
  .btn-group .secondary-option {
    float: right;
  }
}
.btn-group .secondary-option .btn {
  border-color: #ffffff;
}

.input-inline {
  width: auto;
  display: inline-block;
  min-width: 4em;
}

.input-bottom-bordering {
  margin-bottom: 4.5px;
  text-align: end;
}

.btn-bordering {
  margin-left: 15px;
}

.div-hide {
  visibility: hidden;
}

.form-control {
  border-color: #EEEEEE;
}
.form-control:focus {
  border-color: #EEEEEE;
  box-shadow: 0 0 2px #001e60;
}

textarea.form-control {
  min-height: 100px;
}

.has-error .form-control {
  border-color: #F15E22;
  background-color: #FEF7F4;
}
.has-error .form-control:focus {
  border-color: #BF491A;
}
.has-error .btn-group-loose .btn-info {
  border-color: #F15E22;
}

.scrollbox-large {
  max-height: 360px;
  overflow-y: auto;
  overflow-x: none;
}

.help-block {
  font-size: 14px;
  color: #858585;
}

.form-group p {
  margin: 0;
}

@media (min-width: 768px) {

  .form-horizontal label {
    text-align: right;
  }
}
.underwriting-question {
  margin-bottom: 30px;
}

.alert-dismissable .close,
.alert-dismissible .close {
  opacity: 1;
}
.alert-dismissable .close:hover, .alert-dismissable .close:active, .alert-dismissable .close:focus,
.alert-dismissible .close:hover,
.alert-dismissible .close:active,
.alert-dismissible .close:focus {
  opacity: 1;
}

.alert-info {
  color: #4f2d7f;
  border-color: #DCD5E5;
  background-color: #EDEAF2;
}
.alert-info .close {
  color: #725799;
}
.alert-info .close:hover, .alert-info .close:active, .alert-info .close:focus {
  color: #4f2d7f;
}

.alert-danger {
  color: #BF491A;
  border-color: #FCDFD3;
  background-color: #FEF7F4;
  padding-left: 3.5em;
  position: relative;
}
.alert-danger:before {
  content: '!';
  display: block;
  width: 1.5em;
  height: 1.5em;
  font-size: 150%;
  font-weight: bold;
  text-align: center;
  line-height: 1.5em;
  position: absolute;
  left: 0.3em;
  top: 0.3em;
  background-color: #BF491A;
  color: #FEF7F4;
  border-radius: 50%;
}
.alert-danger .close {
  color: #F47E4E;
}
.alert-danger .close:hover, .alert-danger .close:active, .alert-danger .close:focus {
  color: #F15E22;
}

.alert-success {
  color: #596A01;
  border-color: #DEE1CC;
  background-color: #EEF0E5;
}
.alert-success .close {
  color: #7A8834;
}
.alert-success .close:hover, .alert-success .close:active, .alert-success .close:focus {
  color: #596A01;
}

.risk-score .btn {
    background-color: #004fb6;
    border: solid 1px #ffd900;
    color: #eeeeee;
}
.risk-score .btn.active {
    box-shadow: none;
}
.risk-score.not-active:hover .btn {
    background-color: #ffd900;
    color: #004fb6;
}
.risk-score.not-active:hover .btn:hover {
    border: solid 1px #004fb6;
    background-color: #ffd900;
    color: #004fb6;
}
.risk-score.not-active:hover .btn:hover ~ .btn {
    border: solid 1px #004fb6;
    background-color: #ffd900;
}
.risk-score.active .btn, .risk-score.active .btn.active {
    border: solid 1px #004fb6;
    background-color: #ffd900;
    color: #004fb6;
}
.risk-score.active .btn[disabled] {
    opacity: 1;
}
.risk-score.active .btn.active ~ .btn {
    border: solid 1px #004fb6;
    background-color: white;
}

.vertical-breadcrumbs {
  padding-top: 7px;
  margin-bottom: 20px;
}
.vertical-breadcrumbs .breadcrumb-step {
  margin-bottom: 5px;
}
.vertical-breadcrumbs .breadcrumb-step > a {
  display: block;
  background-color: transparent;
  color: #ffffff;
  text-decoration: none;
  text-align: center;
  padding: 20px 5px;
  position: relative;
  font-size: 14px;
}
.vertical-breadcrumbs .breadcrumb-step > a::before, .vertical-breadcrumbs .breadcrumb-step > a::after {
  background-color: #B9ABCC;
  display: block;
  content: '';
  width: 50%;
  height: 100%;
  overflow: hidden;
  position: absolute;
  top: 0;
  left: 0;
  z-index: -1;
}
.vertical-breadcrumbs .breadcrumb-step > a::before {
  -webkit-transform: skew(0deg, 5deg);
          transform: skew(0deg, 5deg);
}
.vertical-breadcrumbs .breadcrumb-step > a::after {
  left: auto;
  right: 0;
  -webkit-transform: skew(0deg, -5deg);
          transform: skew(0deg, -5deg);
}
.vertical-breadcrumbs .breadcrumb-step > a:hover, .vertical-breadcrumbs .breadcrumb-step > a:focus, .vertical-breadcrumbs .breadcrumb-step > a:active {
  background-color: transparent;
}
.vertical-breadcrumbs .breadcrumb-step > a:hover::before, .vertical-breadcrumbs .breadcrumb-step > a:hover::after, .vertical-breadcrumbs .breadcrumb-step > a:focus::before, .vertical-breadcrumbs .breadcrumb-step > a:focus::after, .vertical-breadcrumbs .breadcrumb-step > a:active::before, .vertical-breadcrumbs .breadcrumb-step > a:active::after {
  background-color: #725799;
}
.vertical-breadcrumbs .breadcrumb-step.active > a::before, .vertical-breadcrumbs .breadcrumb-step.active > a::after {
  background-color: #4f2d7f;
}

.agency-picker {
  max-height: 130px;
  overflow-y: scroll;
  margin-bottom: 20px;
}

.wizard-navigation {
  padding-top: 20px;
}
@media (max-width: 767px) {
  .wizard-navigation .btn-block {
    margin-bottom: 5px;
  }
}

.generic-footer {
  font-size: 12px;
  padding: 20px 0 10px;
  color: #333;
  border-top: 1px dotted #dedede
}

.generic-footer a {
  color: #ffffff;
}

.section-end {
  padding-top: 40px;
  padding-bottom: 40px;
}

.column-head {
  text-align: center;
  padding-bottom: 10px;
  border-bottom: solid 1px currentcolor;
  margin-bottom: 40px;
}

.form-group {
  position: relative;
}

.offset-label {
  display: block;
  font-size: 14px;
  font-weight: normal;
  line-height: 15px;
  padding: 5px 0;
}
@media (min-width: 992px) {
  .offset-label {
    position: absolute;
    top: 5px;
    text-align: right;
    width: calc(2*(100% - 120px)/5 + 30px);
    left: calc(-2*(100% - 120px)/5 - 60px);
    padding: 0;
  }
}

.alternate-label {
  background-color: #ddd;
  display: block;
  font-size: 14px;
  font-weight: normal;
  line-height: 15px;
  padding: 5px 0;
}
@media (min-width: 992px) {
  .alternate-label {
    display: none;
  }
}

.dragndrop-target {
  min-height: 100px;
}

.dragndrop-list {
  list-style: none;
  margin: 0;
  padding: 0;
}
.dragndrop-list > li {
  padding: 9px 9px 9px 20px;
  margin: 0 0 5px;
  position: relative;
  border: solid 1px #EEEEEE;
  color: #555;
  border-radius: 4px;
  cursor: move;
  font-size: 14px;
}
.dragndrop-list > li:before {
  content: '\2026';
  font-weight: bold;
  display: inline-block;
  color: #EEEEEE;
  position: absolute;
  top: 10px;
  left: 5px;
  -webkit-transform: rotateZ(90deg);
          transform: rotateZ(90deg);
}

.ffPanel {
  background-color: #ffffff;
  border: none;
  border-radius: 0;
  -webkit-box-shadow: none;
  box-shadow: none;
}

.ffPanel .panel-heading {
  background-color: #492783;
  padding: 5px 15px;
  border: none;
  color: white;
  font-size: 1.2em;
  font-weight: bold;
  border-top-left-radius: 0;
  border-top-right-radius: 0;
}

.row .panel-body {
  padding-bottom: 0px;
}

.ffPanelBodyTopColHigh {
  height: 90px;
}

.img-top {
  max-width: 100%;
  height: 150px;
  display:block;
  background-color: #4E2C79;
}
.img-top-mob {
  max-width: 100%;
  height: 100px;
  display:block;
  background-color: #4E2C79;
}

.ffbackground{
  background-color: #4E2C79;
  padding-bottom: 0px;
  padding-right: 0px;
  min-height: 150px;
  text-align: center;
  padding-top: 35px
}
.ffbackgroundwt{
  background-color: #FFFFFF;
  padding: 0px;
}
.headingtxt{
  font-size: 3em;
  color: white;
  font-weight: 700;
}

.rightbar a {
  display: table-cell;
  float: right;
  max-height: 40px;
  color: white;
  font-size: 1.2em;
  font-weight: bold;
  padding-right: 15px;
  text-decoration: none;
}

#top_bar {
  clear: both;
  display: block;
  background-color: #ffd900;
  line-height: 30px;
  min-height: 30px;
}

#topbanner {
    width: 100%;
    margin-top: 1%;
    margin-bottom: 10%;
    height: 90px;
    background-color: #ffd900 !important;
    background: transparent url("../images/aviva-logo.png") 0 0 no-repeat;
    background-position: 30px 35px;
}

.mfcnote {
    position: relative;
    font-size: 18px;;
    font-weight: bold;
    color: #004fb6;;
    margin-top: -15%;
    margin-bottom: 5%;
    margin-left: 17%;
}
