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: #fff;
  box-shadow: 0 2px 20px 1px rgba(0, 0, 0, 0.1), 0 1px 15px rgba(0, 0, 0, 0.05);
}

#logo {
  width: 200px;
  height: 50px;
  margin: 15px auto;
  background: url(../img/mcc-logo-desktop.svg);
  background-size: contain !Important;
  background-repeat: no-repeat !Important;
  background-position: center !Important;
}


/***************************************************************************************************************/


/*
     -------------------------------------------
     TYPOGRAPHY
     -------------------------------------------
*/


/** HEADERS *********************************/

h1, 
h2, 
h3, 
h4, 
h5, 
h6 {
  margin-top: 0;
  margin-bottom: 0.5rem;
  font-family: 'DM Sans', sans-serif;
  font-weight: bold;
  line-height: 1.4;
  color: #2A4D60;
  text-transform: uppercase;
}

h1 {
  font-size: 2em;
  font-weight: 900;
  text-transform: inherit;
}

h2, 
.entry-title {
  font-size: 1.6em;
  font-weight: 800;
}

h3 {
  font-size: 1.4em;
}

h4 {
  text-transform: uppercase;
  font-size: 1.15em;
}

h5 {
  font-size: 1.15em;
  padding-bottom: 10px;
  margin-bottom: 20px;
  border-bottom: 1px solid #C7D0D3;
}

h6 {
  font-size: 1em;
}


/** TEXT **************************************/

p {
  margin-top: 0;
  margin-bottom: 1rem;
}

.lead {
  font-size: 1.4rem;
  font-weight: 300;
  color: #2A4D60;
}

b,
strong {
  font-weight: bold;
}

.capitalize {
  text-transform: uppercase;
}

li {
  margin: 10px 0;
}

.small-print {
  font-size: 13px;
  color: #1f1f1f;
  font-weight: 600;
  text-transform: uppercase;
}

.bs-tooltip-auto[x-placement^=bottom] .arrow::before,
.bs-tooltip-bottom .arrow::before {
  border-bottom-color: #2A4D60;
}

.bs-tooltip-auto[x-placement^=top] .arrow::before,
.bs-tooltip-top .arrow::before {
  border-top-color: #2A4D60;
}

.tooltip-inner {
  background: #2A4D60;
}


/** HIGHLIGHT *******************************/

::-moz-selection {
  color: #fff;
  background: #EF4135;
}

::selection {
  color: #fff;
  background: #EF4135;
}


/***************************************************************************************************************/


/*
     -------------------------------------------
     Links & Buttons
     -------------------------------------------
*/

a {
  color: #2A4D60;
  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 {
  color: #466E8C;
  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: 'Source Sans Pro', sans-serif;
  background: #EF4135;
  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: #ffcac7 !important;
  background: #b73129;
  -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;
}

label i {
  color: #EF4135;
  -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;
}

label i:hover {
  color: #b73129;
  -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;
}

/***************************************************************************************************************/


/*
     -------------------------------------------
     FORMS
     -------------------------------------------
 */

input,
textarea,
select {
  border: 1px solid #C7D0D3;
  box-shadow: none;
  -moz-box-shadow: none;
  -webkit-box-shadow: none;
  border-radius: 7px;
  padding: 12px 15px !important;
  background: #F6F8FA;
  -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 #F6F8FA;
  background-position: 100% 0;
  padding-right: 55px !important;
}

@media all and (-ms-high-contrast: none),
(-ms-high-contrast: active) {
  select {
    background: #F6F8FA;
  }
}


/***************************************************************************************************************/



/*
    -------------------------------------------
        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 #C7D0D3;
  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: #EF4135;
    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 #C7D0D3;
  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: #2A4D60;
  font-size: 42px;
  font-weight: bold;
}

.Cal1Div2-1,
.Cal1Div2-2 {
  margin: 4px;
  padding: 10px 20px;
}

.Cal1Div2-1 {
  border: 1px solid #C7D0D3;
  border-radius: 5px;
  background-color: #F6F8FA;
}

.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: #EF4135;
}

.irs--round .irs-from:before,
.irs--round .irs-to:before,
.irs--round .irs-single:before {
  border-top-color: #EF4135;
}

.irs--round .irs-min,
.irs--round .irs-max {
  color: #1f1f1f;
  font-size: 12px;
  padding: 7px 10px;
  font-weight: bold;
}

.irs--round .irs-from,
.irs--round .irs-to,
.irs--round .irs-single {
  padding: 5px 10px;
}

.irs--round .irs-handle {
  width: 35px;
  height: 35px;
  border: 7px solid #EF4135;
  box-shadow: 2px 2px 10px rgba(27, 27, 27, .4);
}

.irs--round .irs-line {
  height: 15px;
  border-radius: 50px;
  background-color: #C7D0D3;
}

.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 #C7D0D3;
  border-right: 1px solid #C7D0D3;
  border-radius: 0;
}

#accordion .card:first-child {
  border-top-left-radius: 10px;
  border-top-right-radius: 10px;
  border-top: 1px solid #C7D0D3;
}

#accordion .card:last-child {
  overflow: hidden;
  border-bottom-left-radius: 10px;
  border-bottom-right-radius: 10px;
  border-bottom: 1px solid #C7D0D3;
}

#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 #C7D0D3;
}

#accordion .card-header:hover,
#accordion .card-header[aria-expanded=true] {
  background: #EF4135;
  -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
    -------------------------------------------
*/

#ScheduleDiv,
#PrepaymentAmortization {
  width: 100%;
  display: block;
  overflow-x: auto;
}

#ScheduleTable tr td:first-child {
  font-weight: bold;
}

.ScheduleTable {
  padding: 0;
  margin: 0;
}

.ScheduleTable th {
  padding: 10px;
  margin: 0;
  background: #2A4D60;
  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 #C7D0D3;
  border-left: 0;
  border-right: 0;
  border-radius: 5px;
  background-color: #F6F8FA;
}


/***************************************************************************************************************/



/*
    -------------------------------------------
        RESPONSIVE
    -------------------------------------------
*/
@media (max-width: 1300px) {
  html,
  body {
    font-size: 14px;
  }

  .dollar-sign,
  .dollar-sign-left {
    height: 47px;
  }
}

@media (min-width: 990px) {
  aside {
    height: 100vh;
    position: fixed !important;
  }

  #ScheduleDiv,
  #PrepaymentAmortization {
    height: 400px;
    overflow: auto;
  }
}

@media (max-width: 1100px) {
  aside {
    padding: 40px 30px 30px !important;
  }
}

@media (max-width: 990px) {
  #logo {
    width: 140px;
    height: 40px;
    margin: 20px auto;
    background: url(../img/logo-mcc-mobile.svg);
  }

  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;
  }
  .alert {
    padding: .75rem;
  }
  .ScheduleTable td {
    font-size: 11px;
    padding: 5px;
  }
}
/***************************************************************************************************************/