/************/
/** GLOBAL **/
@font-face {
  font-family: "Masque";
  src: url("../assets/fonts/font_masque.ttf");
}

html,
body {
  position: relative;
  height: 100%;
  width: 100%;
}

html {
  scroll-behavior: smooth;
  font-size: 56.75%;
}

body {
  font-family: "Roboto", sans-serif;
  font-size: 1.6rem;
  display: flex;
  flex-direction: column;
}

main {
  flex: 1 0 auto;
}

a {
  text-decoration: none;
  cursor: pointer;
  color: inherit;
}

a:hover,
a:focus,
a:visited {
  text-decoration: none;
  outline: none;
}

ul,
li {
  list-style: none;
  padding: 0px;
  margin: 0px;
}

h1,
h2,
h3,
h4,
h5,
h6 {
  font-weight: 200;
  letter-spacing: 1px;
}

p {
  font-size: 1em;
  line-height: 1.5;
  margin-bottom: 2rem;
}

button,
button:hover,
button:focus,
button:active {
  outline: none !important;
  box-shadow: none !important;
}

button {
  -webkit-appearance: none !important;
  -moz-appearance: none !important;
  appearance: none !important;
}

select {
  -webkit-appearance: none;
  -moz-appearance: none;
  background: #fff !important;
}

.container-fluid {
  max-width: 120rem;
  padding: 4rem;
}

.no-padding {
  padding-right: 0 !important;
}

.overlay {
  background-color: #000;
  top: 0;
  left: 0;
  bottom: 0;
  right: 0;
  opacity: 0.4;
  position: absolute;
  z-index: -1;
}

/************/
/** TOPBAR **/
.topbar {
  color: #fafafa;
  background: transparent;
  position: relative;
  z-index: 1000;
  display: none;
  margin-right: 6rem;
}

.navbar-header .topbar {
  display: inline-block;
}

.topbar:after {
  content: "";
  display: table;
  clear: both;
}

.topbar .contact-list {
  z-index: 9999;
  float: right;
}

.topbar .contact-list:after {
  content: "";
  display: table;
  clear: both;
}

.topbar .contact-list .item {
  float: left;
  margin-right: 3rem;
}

.topbar .contact-list .item i {
  float: left;
  font-size: 1.2em;
  color: #fafafa;
  padding-top: 0.7rem;
}

.topbar .contact-list .item:nth-child(2),
.topbar .contact-list .item:nth-child(3) {
  display: none;
}

.topbar .contact-list .item .text {
  margin-left: 3.5rem;
  padding-left: 1rem;
  border-left: 1px solid #e6e6e6;
}

.topbar .contact-list .item .text p,
.topbar .contact-list .item .text a {
  margin: 0;
  font-size: 0.9em;
  text-align: left;
}

.topbar .contact-list .item .text .bottom {
  color: #a0a0a0;
}

.topbar .phone {
  float: left;
}

.topbar .phone i {
  float: left;
  font-size: 1.5em;
  color: #002839;
  padding-top: 0.7rem;
}

.topbar .phone .text {
  margin-left: 3;
  padding: 0.6rem 0 0.6rem 1rem;
  border-left: 1px solid #e6e6e6;
}

.topbar .phone .text p {
  margin: 0;
  font-size: 0.9em;
  color: #555555;
}

.topbar .phone .text p .bold {
  font-weight: 700;
  font-size: 1.2em;
  color: #555555;
  margin-left: 1rem;
}

/***********/
/* BUTTONS */
.ns-btn {
  background: none;
  border-radius: 0;
  color: #fda552;
  cursor: pointer;
  font-size: 1.6rem;
  font-weight: 600;
  min-width: 20rem;
  text-align: center;
  text-transform: uppercase;
  transition: all 0.3s ease 0s;
  vertical-align: middle;
  white-space: nowrap;
  border: 0.1rem solid #fda552;
}

.ns-btn:hover {
  background: #fda552;
  color: #fff;
  border-color: #fda552;
}

.ns-btn-black {
  background: #222;
  border: none;
  color: #fafafa;
  width: 100%;
  font-weight: 300;
}

.ns-btn-sm {
  padding: 1rem 2rem;
}

.ns-btn-md {
  padding: 1rem 3rem;
}

.ns-btn-lg {
  padding: 1.5rem 4rem;
}

/*************/
/** SECTION **/
.section-default-padding {
  padding: 4rem 2rem;
}

.bg-silver-light {
  background: #f0f0f0 !important;
}

.bg-dark-grey {
  background: #303030 !important;
}

.section-title {
  text-align: center;
  font-size: 3rem;
  font-weight: 300;
  color: #444;
  line-height: 3rem;
  text-transform: uppercase;
}

.section-title.smaller {
  font-size: 2.4rem;
}

.section-title span {
  color: #bd1000;
}

.section-title hr {
  min-width: 20rem;
  width: 30%;
  border-top: 0.2rem solid #777;
}

.section-title.smaller hr {
  border-top: 0.1rem solid #777;
}

.section-content {
  max-width: 100rem;
  font-size: 1.6rem;
  margin-bottom: 1rem;
}

.section-caption {
  font-style: italic;
  text-align: center;
  font-size: 1.4rem;
  margin-top: 1.5rem;
  margin-bottom: 3rem;
  color: #666;
}

.section__sub-title {
  font-size: 2rem;
  text-align: left;
  color: #bd1000;
  margin-bottom: 1rem;
}

.top-space {
  height: 7.2rem;
  display: block;
}

/******************/
/* BANNER SECTION */
.section-banner {
  color: #fafafa;
  width: 100%;
  overflow-y: hidden;
  position: relative;
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-content: center;
  padding: 10rem 3rem 6rem;
  text-align: center;
  -webkit-background-size: cover;
  -moz-background-size: cover;
  -o-background-size: cover;
  background-size: cover;
  background-position: center;
  background-repeat: no-repeat;
  box-shadow: inset 0 0 0 100rem rgba(0, 0, 0, 0.4);
}

.section-banner.darker {
  box-shadow: inset 0 0 0 100rem rgba(0, 0, 0, 0.6);
}

.section-banner.mini {
  min-height: 50vh;
}

.section-banner__content {
  position: relative;
}

.section-banner__selector select,
.section-banner__selector--postal,
.section-banner__selector--submit {
  height: 4rem;
  width: 100%;
  min-width: 15rem;
  padding: 0rem 1rem;
  font-size: 1.4rem;
  outline: none;
}

.section-banner__selector select,
.section-banner__selector--postal {
  padding-left: 2rem;
  padding-right: 2rem;
}

.section-banner__selector--submit {
  border: none;
  background-color: #d62718;
  color: #fafafa;
  transition: all 0.3s ease;
}

.section-banner__selector--submit:hover {
  background-color: #a60f14;
}

.heading {
  margin-bottom: 4rem;
  text-align: center;
}

.heading img {
  width: 28rem;
  height: auto;
}

.heading img.small {
  width: 24rem;
  height: auto;
}

.heading h2 {
  font-size: 4rem;
  font-style: italic;
  margin: 0;
}

.heading h2 span {
  font-family: "Masque", sans-serif;
  font-size: 3.5rem;
  font-style: normal;
  letter-spacing: 1px;
  color: #d62718;
}

.heading div span {
  font-family: "Masque", sans-serif;
  font-size: 1.4rem;
  font-style: normal;
  letter-spacing: 1px;
  color: #a0a0a0;
}

.heading.small h2 span {
  font-size: 3rem;
}

.heading.small div span {
  font-size: 1.4rem;
}

.heading-underline {
  border-top: 0.2rem solid #fafafa;
  width: 40%;
}

.heading-underline.small {
  width: 25%;
  border-top: 0.1rem solid #fafafa;
}

.sub-heading {
  /* display: none; */
  margin-bottom: 3rem;
}

.sub-heading span {
  font-size: 2.4rem;
  color: #d62718;
  font-weight: 500;
  letter-spacing: 1px;
}

.home-banner {
  font-family: "Masque", sans-serif;
  font-size: 1.3rem;
  font-weight: 300;
}

.home-banner span {
  font-size: 1.3rem;
  font-weight: 300;
}

/*******************/
/** ABOUT SECTION **/
.section-about .logo {
  text-align: center;
}

.section-about .logo img {
  height: auto;
  width: auto;
}

.section-about p {
  font-size: 1.8rem;
  text-align: justify;
  text-justify: inter-word;
}

.section-about ul {
  list-style-type: none;
  padding: 0;
  margin-bottom: 3rem;
}

.section-about ul li {
  font-size: 1.6rem;
  margin-bottom: 1rem;
  color: #333;
  padding-left: 3rem;
  padding-right: 3rem;
  position: relative;
  text-align: justify;
  text-justify: inter-word;
}

.section-about ul li i {
  font-size: 1.4rem;
  position: absolute;
  left: 0rem;
  top: 0.4rem;
  color: #bd1000;
  padding: 0.2rem;
}

.section-about img {
  max-width: 40rem;
  height: auto;
}

/**********************/
/** BENEFITS SECTION **/
.section-title2 {
  text-align: center;
  margin: 5rem auto 3rem;
}

.section-title2 div {
  display: inline-block;
  font-size: 2.4rem;
  border-bottom: 0.1rem solid #303030;
  text-transform: uppercase;
  font-weight: 300;
  color: #bd1000;
}

.benefit-widget {
  text-align: center;
  margin-bottom: 5rem;
}

.benefit-widget i {
  font-size: 7rem;
  color: #808080;
}

.benefit-widget a {
  color: rgb(79, 79, 255);
  font-size: 2rem;
}

.benefit-widget.small {
  box-shadow: 0.1rem 0.2rem 0.4rem rgba(0, 0, 0, 0.2);
  padding: 4rem 0;
}

.benefit-widget.small i {
  font-size: 5rem;
}

.benefit-widget span {
  display: block;
  margin-top: 2rem;
  font-size: 2.4rem;
  color: #a60f14;
  pointer-events: none;
}

.benefit-widget.small span {
  font-size: 1.8rem;
  border-bottom: 0.1rem solid #ececec;
  width: 20rem;
  margin: 2rem auto 1rem;
  display: block;
}

.benefit-widget div {
  font-size: 1.6rem;
  color: #666;
}

/**********************/
/** SERVICES SECTION **/
.feature-widget {
  background-color: #fff;
  margin: 2rem 0;
  padding: 3rem 4rem;
  text-align: center;
  /* box-shadow: 0.1rem 0.1rem 0.2rem rgba(0, 0, 0, 0.2); */
  -webkit-transition: all 0.4s ease;
  -moz-transition: all 0.4s ease;
  -ms-transition: all 0.4s ease;
  -o-transition: all 0.4s ease;
  transition: all 0.4s ease;
}

.feature-widget .feature-name {
  margin: 1rem;
  margin-bottom: 3rem;
  font-size: 2.4rem;
  font-weight: 300;
  border-bottom: 0.1rem solid #bd1000;
}

.feature-widget i {
  margin-bottom: 1rem;
  font-size: 4rem;
  color: #bd1000;
  border: 0.1rem solid #bd1000;
  border-radius: 50%;
  width: 10rem;
  height: 10rem;
  line-height: 10rem;
  text-align: center;
}

.feature-widget p {
  font-size: 1.6rem;
  overflow: hidden;
  text-overflow: ellipsis;
  text-align: justify;
}

.feature-widget p:last-child {
  margin-bottom: 0;
}

.feature-widget:hover,
.feature-widget-hover {
  box-shadow: 0rem 0rem 1rem rgba(0, 0, 0, 0.2);
  background-color: #bd1000;
  color: #fafafa;
}

.feature-widget:hover i,
.feature-widget-hover i {
  color: #fafafa;
  border-color: #fafafa;
}

/************/
/* GLOBAL */
.form-control {
  border-radius: 0;
  outline: none;
}

/**************/
/* QUOTE FORM */
.content-container {
  text-align: justify;
  text-justify: inter-word;
}

.form-container p {
  margin-bottom: 1.5rem;
}

.quote-form {
  border-radius: 0.7rem;
  background-color: #eee;
  box-shadow: 0.3rem 0.3rem 0.5rem rgba(0, 0, 0, 0.3);
  padding: 2rem;
}

.quote-form h4 {
  font-size: 0.8em;
  padding-bottom: 1.5rem;
  color: #101010;
}

.text-muted {
  font-size: 0.7em;
}

/**********/
/* SLIDER */
.slidecontainer {
  width: 100%;
  margin-bottom: 1rem;
  font-size: 0.9em;
}

.slider {
  -webkit-appearance: none;
  margin-bottom: 1rem;
  width: 100%;
  height: 0.7rem;
  background: #ccc;
  outline: none;
  -webkit-transition: 0.2s;
  transition: opacity 0.2s;
}

.slider::-webkit-slider-thumb {
  -webkit-appearance: none;
  appearance: none;
  width: 2rem;
  height: 2rem;
  border-radius: 50%;
  background: #d62718;
  cursor: pointer;
}

.slider::-moz-range-thumb {
  width: 2rem;
  height: 2rem;
  border-radius: 50%;
  background: #d62718;
  cursor: pointer;
}

.slider:hover {
  opacity: 1;
}

/****************************/
/* RESPONSIVE MEDIA QUERIES */
@media (min-width: 320px) {
}

@media only screen and (min-width: 576px) {
  html {
    font-size: 62.5%;
  }

  .section-banner {
    padding: 15rem 3rem 6rem;
  }
}

@media only screen and (min-width: 576px) {
  .topbar .contact-list .item:nth-child(2) {
    display: block;
  }
}

@media only screen and (min-width: 768px) {
  .top-space {
    display: none;
  }

  .heading img {
    width: 32rem;
    height: auto;
  }

  .heading img.small {
    width: 28rem;
    height: auto;
  }

  .section-default-padding {
    padding: 6rem 5rem 4rem;
  }

  .topbar {
    background: #303030;
    height: 6rem;
    padding: 1rem 2rem;
    display: block;
    margin-right: 0;
    padding-right: 6rem;
  }

  .topbar .contact-list {
    display: block;
  }

  .topbar .contact-list .item:nth-child(3) {
    display: block;
  }

  .feature-widget {
    /* height: 50rem; */
    padding: 3rem;
  }

  /* .feature-widget.small {
    height: 65rem;
  } */
}

@media only screen and (min-width: 992px) {
  .feature-widget {
    height: 45rem;
  }

  .feature-widget.small {
    height: 55rem;
  }
}

@media only screen and (min-width: 1200px) {
  .hidden-desktop-up {
    display: none;
  }

  .section-about p {
    font-size: 2rem;
  }

  .section-about ul li i {
    font-size: 1.6rem;
  }

  .section-about ul li {
    font-size: 2rem;
    padding-left: 3.5rem;
    margin-bottom: 1.4rem;
  }

  .feature-widget {
    height: 50rem;
  }

  .feature-widget.small {
    height: 55rem;
  }
}

/***********************/
/** can be moved **/
.section-about-insurance .section-title.smaller hr {
  border-top: 0.1rem solid #bd1000;
}

.about-insurance-content {
  text-align: justify;
}

.about-insurance-content h2 {
  color: #bd1000;
}

.about-insurance-content .info {
  margin-top: 2rem;
  padding: 1rem 2rem;
}

.about-insurance-content .info p {
  margin-top: 1rem;
  margin-bottom: 0.5rem;
}

/******************************/
/** MORTGAGE **/
#mortgageForm {
  background-image: url('../assets/images/mortgage.jpg');
  background-position: center center;
}

.mortgage-container {
  text-align: center;
  margin: 0 auto;
}

.mortgage-link {  
  font-family: "Masque", sans-serif;
  display: block;
  margin-bottom: 1rem;
  height: 4rem;
  padding: 0rem 2rem;
  letter-spacing: 1px;
  line-height: 4rem;
  border: none;
  background-color: #d62718;
  color: #eee;
  transition: all 0.3s ease;
}

.mortgage-link:hover {
  background-color: #a60f14;
  color: #fafafa;
}
