html,
body {
  margin: 0;
  padding: 0;
  font-family: 'Source Sans Pro', sans-serif;
  font-size: 16px;
  line-height: 1.5;
  color: #1f1f1f;
}

body {
  text-align: left;
  background-color: #fff;
}


/***************************************************************************************************************/




/*
      -------------------------------------------
      HEADER
      -------------------------------------------
  */

header {
  width: 100%;
  height: 80px;
  position: fixed;
  z-index: 99999;
  background: #175E38;
  /* Old browsers */
  background: -moz-linear-gradient(-45deg, #175E38 0%, #228B45 100%);
  background: -webkit-linear-gradient(-45deg, #175E38 0%, #228B45 100%);
  background: linear-gradient(135deg, #175E38 0%, #228B45 100%);
  filter: progid:DXImageTransform.Microsoft.gradient( startColorstr='#175E38', endColorstr='#228B45', GradientType=1);
  box-shadow: 0 7px 30px 1px rgba(0, 0, 0, 0.2), 0 1px 30px rgba(0, 0, 0, 0.2);
}

#logo {
  width: 140px;
  height: 40px;
  background: url(../img/dlc-logo.svg);
  background-size: contain;
  background-repeat: no-repeat;
  background-position: center;
  margin: 20px auto;
}


/***************************************************************************************************************/


/*
      -------------------------------------------
      TYPOGRAPHY
      -------------------------------------------
*/


/** HEADERS *********************************/

h1,
h2,
h3,
h4,
h5,
h6,
.h1,
.h2,
.h3,
.h4,
.h5,
.h6 {
  margin-bottom: 0.5rem;
  font-family: 'Source Sans Pro', sans-serif;
  font-weight: bold;
  line-height: 1.4;
  color: #175E38;
  text-transform: uppercase;
}

h1,
h2,
h3,
h4,
h5,
h6 {
  margin-top: 0;
  margin-bottom: 0.5rem;
}

h1 {
  font-size: 2.4em;
  font-weight: 900;
  text-transform: inherit;
}

h2 {
  font-size: 1.7em;
  font-weight: 900;
  text-transform: lowercase;
}

h3 {
  font-size: 1.5em;
}

h4 {
  text-transform: uppercase;
  font-size: 1.25em;
}

h5 {
  font-size: 1.25em;
  padding-bottom: 10px;
  margin-bottom: 20px;
  border-bottom: 1px solid #66BB6A;
}

h6 {
  font-size: 1em;
}


/** TEXT **************************************/

p {
  margin-top: 0;
  margin-bottom: 1rem;
}

.lead {
  font-size: 1.5rem;
  font-weight: 300;
  color: #1f1f1f;
}

b,
strong {
  font-weight: bold;
}

.capitalize {
  text-transform: uppercase;
}

li {
  margin: 10px 0;
}

.dot {
  color: #66BB6A;
  font-size: 3rem;
  line-height: 0;
}

.small-print {
  font-size: 13px;
  color: #666;
  text-transform: uppercase;
}

.bs-tooltip-auto[x-placement^=bottom] .arrow::before,
.bs-tooltip-bottom .arrow::before {
  border-bottom-color: #175E38;
}

.bs-tooltip-auto[x-placement^=top] .arrow::before,
.bs-tooltip-top .arrow::before {
  border-top-color: #175E38;
}

.tooltip-inner {
  background: #175E38;
}


/** HIGHLIGHT *******************************/

::-moz-selection {
  color: #175E38;
  background: #66BB6A;
}

::selection {
  color: #175E38;
  background: #66BB6A;
}


/***************************************************************************************************************/


/*
      -------------------------------------------
      Links & Buttons
      -------------------------------------------
*/

a,
label i {
  color: #66BB6A;
  text-decoration: none;
  background-color: transparent;
  -webkit-text-decoration-skip: objects;
  -webkit-transition: all 0.7s ease-in-out;
  -moz-transition: all 0.7s ease-in-out;
  -o-transition: all 0.7s ease-in-out;
  transition: all 0.7s ease-in-out;
}

a:hover,
label i:hover {
  color: #4CAF50;
  text-decoration: none;
  -webkit-transition: all 0.7s ease-in-out;
  -moz-transition: all 0.7s ease-in-out;
  -o-transition: all 0.7s ease-in-out;
  transition: all 0.7s ease-in-out;
}

a:not([href]):not([tabindex]) {
  color: inherit;
  text-decoration: none;
}

a:not([href]):not([tabindex]):hover,
a:not([href]):not([tabindex]):focus {
  color: inherit;
  text-decoration: none;
}

a:not([href]):not([tabindex]):focus {
  outline: 0;
}

button,
.btn,
.btn:focus,
.btn:hover,
.btn:active,
input,
input:focus,
input:hover,
input:active {
  outline: 0 !important;
  outline-offset: 0 !important;
  background-image: none !important;
  -webkit-box-shadow: none !important;
  box-shadow: none !important;
}

.btn {
  padding: 15px 20px;
}

.btn-default {
  color: #fff;
  font-weight: bold;
  font-size: 0.9em;
  text-transform: uppercase;
  font-family: 'Montserrat', sans-serif;
  background: #66BB6A;
  border-radius: 50px;
  -webkit-transition: all 0.7s ease-in-out;
  -moz-transition: all 0.7s ease-in-out;
  -o-transition: all 0.7s ease-in-out;
  transition: all 0.7s ease-in-out;
}

.btn-default:hover {
  color: #fff !important;
  background: #4CAF50;
  -webkit-transition: all 0.7s ease-in-out;
  -moz-transition: all 0.7s ease-in-out;
  -o-transition: all 0.7s ease-in-out;
  transition: all 0.7s ease-in-out;
}


/***************************************************************************************************************/


/*
      -------------------------------------------
      FORMS
      -------------------------------------------
  */

input,
textarea,
select {
  border: 1px solid #dde6e9;
  box-shadow: none;
  -moz-box-shadow: none;
  -webkit-box-shadow: none;
  border-radius: 7px;
  padding: 12px 15px !important;
  background: #efefef;
  -moz-appearance: none;
  -webkit-appearance: none;
  appearance: none;
}

select {
  width: 100% !important;
  height: calc(3rem + 2px);
  margin-top: 0 !important;
  background: url('../img/select-arrow.svg') no-repeat right #efefef;
  background-position: 100% 0;
  padding-right: 55px !important;
}

@media all and (-ms-high-contrast: none),
(-ms-high-contrast: active) {
  select {
    background: #efefef;
  }
}


/***************************************************************************************************************/



/*
      -------------------------------------------
      PAYMENT AMOUNT CALCULATOR
      -------------------------------------------
*/

main {
  padding-top: 80px;
}

#payment-calculator {
  padding: 30px 50px 60px;
}

aside {
  padding: 40px 50px 30px !important;
  right: 0;
  border-left: 1px solid #dde6e9;
  box-shadow: 0 0 5px rgba(27, 27, 27, .15);
}

.input-container {
  position: relative;
}

.dollar-sign,
.dollar-sign-left {
    width: 50px;
    height: 50px;
    position: absolute;
    top: 0;
    background: #66BB6A;
    text-align: center;
    padding-top: 8px;
    font-weight: bold;
    color: #fff;
    font-size: 20px;
}

#FormattedMTGAmount {
  padding-left: 60px !important;
}

#FormattedPrepaymentAmount {
  padding-left: 50px !important;
}

.dollar-sign-left {
  left: 0;
  border-top-left-radius: 5px;
  border-bottom-left-radius: 5px;
}

.dollar-sign {
  right: 0;
  border-top-right-radius: 5px;
  border-bottom-right-radius: 5px;
}

#payment {
  background: #fff;
  position: relative;
  min-height: 145px;
  margin: 12px auto 30px;
  padding: 30px 15px;
  border: 1px solid #dde6e9;
  text-align: center;
  border-radius: 10px;
  overflow: hidden;
  box-shadow: 3px 4px 10px rgba(27, 27, 27, .2);
}

#payment .small-print {
  position: absolute;
  left: 0;
  right: 0;
  bottom: 15px;
}

#payment-amount {
  color: #175E38;
  font-size: 42px;
  font-weight: bold;
}

.Cal1Div2-1,
.Cal1Div2-2 {
  margin: 4px;
  padding: 10px 20px;
}

.Cal1Div2-1 {
  border: 1px solid #dde6e9;
  border-radius: 5px;
  background-color: #f5f5f8;
}

.Cal1Div2-2 {
  background-color: #fff;
}

.Cal1Div2-1 span,
.Cal1Div2-2 span {
  float: right;
}

.Cal1Div2-1 div,
.Cal1Div2-2 div {
  display: inline-block;
  font-weight: bold;
}

.irs--round .irs-from,
.irs--round .irs-to,
.irs--round .irs-single,
.irs--round .irs-bar {
  background-color: #66BB6A;
}

.irs--round .irs-from:before,
.irs--round .irs-to:before,
.irs--round .irs-single:before {
  border-top-color: #66BB6A;
}

.irs--round .irs-handle {
  width: 35px;
  height: 35px;
  border: 7px solid #66BB6A;
  box-shadow: 2px 2px 10px rgba(27, 27, 27, .4);
}

.irs--round .irs-line {
  height: 15px;
  border-radius: 50px;
  background-color: #dee7eb;
}

.irs--round .irs-bar {
  height: 15px;
  border-radius: 50px !important;
}

.irs-from,
.irs-to,
.irs-single {
  top: -5px;
}

label {
  font-weight: bold;
}

#additional-options {
  display: none;
  padding: 0 50px 50px !important;
}

#accordion {
  text-align: left;
}

#accordion .card {
  border: 0;
  border-left: 1px solid #dde6e9;
  border-right: 1px solid #dde6e9;
  border-radius: 0;
}

#accordion .card:first-child {
  border-top-left-radius: 10px;
  border-top-right-radius: 10px;
  border-top: 1px solid #dde6e9;
}

#accordion .card:last-child {
  overflow: hidden;
  border-bottom-left-radius: 10px;
  border-bottom-right-radius: 10px;
  border-bottom: 1px solid #dde6e9;
}

#accordion .card:last-child .card-header {
  border: none;
}

#accordion .card-header {
  cursor: pointer;
  -webkit-transition: all 0.5s ease-in-out;
  -moz-transition: all 0.5s ease-in-out;
  -o-transition: all 0.5s ease-in-out;
  transition: all 0.5s ease-in-out;
}

#accordion .card-header h3 {
  font-size: 1.1em;
  text-transform: inherit;
  font-weight: normal;
  color: #1f1f1f;
}

#accordion .card-header:hover h3 {
  color: #fff;
}

#accordion .card-header i {
  transition: all 0.4s ease;
  margin-right: 15px;
}

#accordion .card-header[aria-expanded=true] i {
  transform: rotateZ(-180deg);
}

#accordion .card-header[aria-expanded=true] h3 {
  font-weight: 900;
  color: #fff;
}

#accordion .card-header,
#accordion .collapse {
  border-bottom: 1px solid #dde6e9;
}

#accordion .card-header:hover,
#accordion .card-header[aria-expanded=true] {
  background: #175E38;
  -webkit-transition: all 0.5s ease-in-out;
  -moz-transition: all 0.5s ease-in-out;
  -o-transition: all 0.5s ease-in-out;
  transition: all 0.5s ease-in-out;
}


/***************************************************************************************************************/


/*
      -------------------------------------------
      APPLY PAYMENTS MODAL
      -------------------------------------------
*/

#ApplyPrepaymentsDiv .dollar-sign {
  right: 15px;
}

#ApplyPrepaymentsDiv .col-lg-6 {
  margin-top: 20px;
}

#PrepaymentResults {
  margin: 30px 0 20px;
}

#PrepaymentAmortization {
  padding: 0 10px;
}


/***************************************************************************************************************/


/*
      -------------------------------------------
      AMORTIZATION SCHEDULE - MODAL
      -------------------------------------------
*/

#ScheduleTable tr td:first-child {
  font-weight: bold;
}

.ScheduleTable {
  padding: 0;
  margin: 0;
}

.ScheduleTable th {
  padding: 10px;
  margin: 0;
  background: #175E38;
  text-align: center;
  font-weight: bold;
  color: #fff;
  font-size: 14px;
}

.ScheduleTable td {
  text-align: center;
  font-size: 14px;
  color: #1a1a1a;
}

.ScheduleTableOdd {
  border: 1px solid #dde6e9;
  border-left: 0;
  border-right: 0;
  border-radius: 5px;
  background-color: #f5f5f8;
}


/***************************************************************************************************************/


/*
      -------------------------------------------
      COMPARE MORTGAGE - MODAL
      -------------------------------------------
*/

#CompareMortgageDiv {
  height: 450px;
  overflow: scroll !important;
}

#CompareMortgageDiv table tr {
  height: 100px;
}

#CompareMortgageDiv .small-print {
  display: block;
  text-align: center;
  padding: 15px;
}

#CompareMortgageDiv .col-lg-4 .box:nth-child(4) .small-print,
#CompareMortgageDiv .col-lg-4 .box:nth-child(5) .small-print,
#CompareMortgageDiv .col-lg-4 .box:nth-child(6) .small-print {
  margin-top: 20px;
}

#CompareMortgageDiv .col-lg-4 .box:nth-last-child(-n+4) {
  padding: 15px;
  margin: 10px 0;
  border-radius: 10px;
  border: 1px solid #dde6e9;
}

#CompareMortgageDiv .col-lg-4 .box:nth-last-child(-n+4) p {
  margin: 0;
  color: #175E38;
  text-align: center;
  font-size: 26px;
  font-weight: bold;
}

#CompareMortgageDiv .col-lg-4 .box:nth-last-child(-n+4) .small-print {
  padding: 5px;
}


/***************************************************************************************************************/


/*
      -------------------------------------------
      RESPONSIVE
      -------------------------------------------
*/

@media (min-width: 990px) {
  aside {
    height: 100vh;
    position: fixed !important;
    -webkit-animation-name: fadeInRight;
    animation-name: fadeInRight;
    animation-delay: 0.5s;
    -webkit-animation-duration: 1s;
    animation-duration: 1s;
    -webkit-animation-fill-mode: both;
    animation-fill-mode: both;
  }

  @-webkit-keyframes fadeInRight {
      0% {
          opacity: 0;
          -webkit-transform: translate3d(100%, 0, 0);
          transform: translate3d(100%, 0, 0);
      }
      to {
          opacity: 1;
          -webkit-transform: translateZ(0);
          transform: translateZ(0);
      }
  }
  @keyframes fadeInRight {
      0% {
          opacity: 0;
          -webkit-transform: translate3d(100%, 0, 0);
          transform: translate3d(100%, 0, 0);
      }
      to {
          opacity: 1;
          -webkit-transform: translateZ(0);
          transform: translateZ(0);
      }
  }

  #ScheduleDiv,
  #PrepaymentAmortization {
    height: 400px;
    overflow: auto;
  }
}

@media (max-width: 1100px) {
  aside {
    padding: 40px 30px 30px !important;
  }
}

@media (max-width: 990px) {
  aside {
    padding: 20px 30px 0 !important;
    box-shadow: none;
  }
  #payment-calculator,
  #additional-options {
    padding: 30px 20px 50px !important;
  }
  aside {
    padding-left: 20px !important;
    padding-right: 20px !important;
  }
}

@media (max-width: 767px) {
  #tab1 h1,
  #tab1 h4,
  #tab1 .alert {
    text-align: center;
  }
  #tab1 h4 {
    margin-bottom: 20px;
  }
  #payment-frequency-label {
    margin-top: 20px;
  }
}

@media (max-width: 650px) {
  h1 {
    font-size: 1.7em;
  }
  .dot {
    font-size: 1.4em;
  }
  .alert {
    padding: .75rem;
  }
  .ScheduleTable td {
    font-size: 11px;
    padding: 5px;
  }
}


/***************************************************************************************************************/