/*!
 * Start Bootstrap - Full Width Pics (https://startbootstrap.com/template-overviews/full-width-pics)
 * Copyright 2013-2017 Start Bootstrap
 * Licensed under MIT (https://github.com/BlackrockDigital/startbootstrap-full-width-pics/blob/master/LICENSE)
 */
html {
  scroll-behavior: smooth;
  overflow-x: hidden;
  box-sizing: border-box;
}
body {
  font-family: 'Nunito', sans-serif;
	overflow-x: hidden;
}
a {
  text-decoration: none !important;
}

@media (max-width: 992px) {
  
}

.bg-image-full {
  background: no-repeat center center scroll;
  -webkit-background-size: cover;
  -moz-background-size: cover;
  background-size: cover;
  -o-background-size: cover;
}

.headerLogo {
  margin: 0 auto;
  margin-bottom: 2rem;
}

.title {
  font-size: 1.5rem;
}
.subTitle {
  font-size: 1.2rem;
}

.content-section {
  display: flex;
  align-items: center;
  background:linear-gradient(rgba(0, 0, 0, 0.7), rgba(0, 0, 0, 0.7)), url('../assets/img/background-1.jpg');
  height: 80vh;
  background-attachment: fixed;
  background-position: center;
  background-repeat: no-repeat;
  background-size: cover;
}

.content-paragraf {
  color: white;
  text-align: center;
  font-size: 1.3rem;
  text-align: center;
}

.about-section {
}

.about-img {
  width: 12rem;
  height: 12rem;
  border-radius: 50%;
  margin-bottom: 3rem;
}

.about-section-title {
  text-transform: uppercase;
  color: #121174;
  margin-bottom: 2rem;
}

.image-section {
  background:linear-gradient(rgba(0, 0, 0, 0.4), rgba(0, 0, 0, 0.4)), url('../assets/img/background-2.jpg');
  height: 60vh;
  background-attachment: fixed;
  background-position: center;
  background-repeat: no-repeat;
  background-size: cover;
}

.insurance-header {
  background: #C0C7E3;
  display: flex;
  align-items: center;
}

.photoDiv {
  overflow: hidden;
  max-height: 30rem;
}
.photoDiv img {
  width: 100%;
  height: 35rem;
  object-fit: cover;
  object-position: 50% 30%;
}

.servicesDiv {
  display: flex;
  flex-direction: column;
  justify-content: flex-start;
  margin-bottom: 1.5rem;
}

.service-section-title {
  text-transform: uppercase;
  color: #010180;
  margin-bottom: 2rem;
  height: 5rem;
}

.servicesTextParg {
  height: 12rem;
}

/* Infromation */
.information-main {
  background: #C0C7E3;
  display: flex;
  align-items: center;
}
.informationDiv {
  height: 25rem; display: flex; align-items: center; justify-content: center; padding: 1rem; cursor: pointer;
  opacity: 0.7;
  transition: opacity 0.5s;
}

.leftInformationDiv {
  background:linear-gradient(rgba(0, 0, 0, 0.4), rgba(0, 0, 0, 0.4)),  url('../assets/img/left.jpg');
}
.centerInformationDiv {
  background:linear-gradient(rgba(0, 0, 0, 0.4), rgba(0, 0, 0, 0.4)), url('../assets/img/center.jpg');
}
.rightInformationDiv {
  background:linear-gradient(rgba(0, 0, 0, 0.4), rgba(0, 0, 0, 0.4)), url('../assets/img/right.jpg');
}

.informationDiv:hover {
  opacity: 1;
}

/* Contact */
.contact-image-section {
  background:linear-gradient(rgba(0, 0, 0, 0.4), rgba(0, 0, 0, 0.4)), url('../assets/img/contact.jpg');
  height: 40vh;
  background-attachment: fixed;
  background-position: center top;
  background-repeat: no-repeat;
  background-size: cover;
}
.navbar {
  transition: all 0.3s;
}

.spinner {
  display: inline-block;
  width: 20px;
  height: 20px;
  border-radius: 50%;
  border: 1px solid #333;
  border-top: none;
  margin-left: 1rem;
  display: none;
  -webkit-animation-name: spin;
  -webkit-animation-duration: 4000ms;
  -webkit-animation-iteration-count: infinite;
  -webkit-animation-timing-function: linear;
  -moz-animation-name: spin;
  -moz-animation-duration: 4000ms;
  -moz-animation-iteration-count: infinite;
  -moz-animation-timing-function: linear;
  -ms-animation-name: spin;
  -ms-animation-duration: 4000ms;
  -ms-animation-iteration-count: infinite;
  -ms-animation-timing-function: linear;
  
  animation-name: spin;
  animation-duration: 4000ms;
  animation-iteration-count: infinite;
  animation-timing-function: linear;
}

@-ms-keyframes spin {
  from { -ms-transform: rotate(0deg); }
  to { -ms-transform: rotate(360deg); }
}
@-moz-keyframes spin {
  from { -moz-transform: rotate(0deg); }
  to { -moz-transform: rotate(360deg); }
}
@-webkit-keyframes spin {
  from { -webkit-transform: rotate(0deg); }
  to { -webkit-transform: rotate(360deg); }
}
@keyframes spin {
  from {
      transform:rotate(0deg);
  }
  to {
      transform:rotate(360deg);
  }
}

#thankYouSubm {
  font-size: 1.2rem;
  width: 100%;
  background: #343A40;
  color: white;
  padding: 1rem;
  border-radius: 5px;
}

/* Car insurance get quote page */
.car-image-section {
  background:linear-gradient(rgba(0, 0, 0, 0.4), rgba(0, 0, 0, 0.4)), url('../assets/img/types-2.jpg');
  height: 40vh;
  background-attachment: fixed;
  background-position: center top;
  background-repeat: no-repeat;
  background-size: cover;
}

/* Property insurance get quote page */
.property-image-section {
  background:linear-gradient(rgba(0, 0, 0, 0.4), rgba(0, 0, 0, 0.4)), url('../assets/img/types-3.jpg');
  height: 40vh;
  background-attachment: fixed;
  background-position: 10% 10%;
  background-repeat: no-repeat;
  background-size: cover;
}

.lt-grid-container {
  display: grid;
  grid-template-columns: 1fr 1fr 1fr 1fr;
  grid-template-rows: 1fr 1fr 1fr 1fr 1fr 1fr 1fr;
  grid-template-areas: "Name Name Name Name" "Address Address City City" "Province Province Postal-Code Postal-Code" "Phone-Number Phone-Number Email-Address Email-Address" "Type-of\ property\ insurance\: Is-there\ more\ than\ one\ owner\: What-year\ was\ the\ property\ built\: Estimated-replacement\ value\ of\ dwelling\ \(homeowner\ only\)\:" "How-many\ years\ of\ continuous\ property\ insurance\: Number-of\ claims\ of\ any\ kind\ in\ the\ last\ 10\ years\: Number-of\ mortgages\ on\ the\ property\ \(homeowner\/condo\)\: Any-cancellations\ by\ any\ insurer\ in\ last\ 5\ years\:" "Name-of\ current\ insurer\: Name-of\ current\ insurer\: Policy-expiry\ date\ \(DD\/MM\/YY\)\: Policy-expiry\ date\ \(DD\/MM\/YY\)\:";
}

.lt-Name { grid-area: lt-Name; }

.lt-Address { grid-area: lt-Address; }

.lt-City { grid-area: lt-City; }

.lt-Province { grid-area: lt-Province; }

.lt-Postal-Code { grid-area: lt-Postal-Code; }

.lt-Phone-Number { grid-area: lt-Phone-Number; }

.lt-Email-Address { grid-area: lt-Email-Address; }

.lt-Type-of\ property\ insurance\: { grid-area: lt-Type-of\ property\ insurance\:; }

.lt-Is-there\ more\ than\ one\ owner\: { grid-area: lt-Is-there\ more\ than\ one\ owner\:; }

.lt-What-year\ was\ the\ property\ built\: { grid-area: lt-What-year\ was\ the\ property\ built\:; }

.lt-Estimated-replacement\ value\ of\ dwelling\ \(homeowner\ only\)\: { grid-area: lt-Estimated-replacement\ value\ of\ dwelling\ \(homeowner\ only\)\:; }

.lt-How-many\ years\ of\ continuous\ property\ insurance\: { grid-area: lt-How-many\ years\ of\ continuous\ property\ insurance\:; }

.lt-Number-of\ claims\ of\ any\ kind\ in\ the\ last\ 10\ years\: { grid-area: lt-Number-of\ claims\ of\ any\ kind\ in\ the\ last\ 10\ years\:; }

.lt-Number-of\ mortgages\ on\ the\ property\ \(homeowner\/condo\)\: { grid-area: lt-Number-of\ mortgages\ on\ the\ property\ \(homeowner\/condo\)\:; }

.lt-Any-cancellations\ by\ any\ insurer\ in\ last\ 5\ years\: { grid-area: lt-Any-cancellations\ by\ any\ insurer\ in\ last\ 5\ years\:; }

.lt-Name-of\ current\ insurer\: { grid-area: lt-Name-of\ current\ insurer\:; }

.lt-Policy-expiry\ date\ \(DD\/MM\/YY\)\: { grid-area: lt-Policy-expiry\ date\ \(DD\/MM\/YY\)\:; }


/* Articles pages */
.article-img {
  width: 50%;
}

.fa {                                                                     
	padding: 20px;                                                          
	font-size: 30px;                                                        
	width: 70px;                                                            
	padding: 10px;                                                          
	font-size: 22px;                                                        
	width: 44px;                                                            
	text-align: center;
	text-decoration: none;
	margin: 5px 2px;
	border-radius: 50%;
	margin-right: 12px;
}                                                                         
																																					
.fa:hover {                                                               
	opacity: 0.7;                                                         
}                                                                         
																																					
.fa-facebook {                                                            
	background: #010080; 
	color: white;                                                           
}                                                                         
																																					
.fa-instagram {                                                           
	background: #010080;                                                    
	color: white;                                                           
}  

/* Get Quote Block */
.get-quote-div {
  border: 1px solid #fff;
  border-radius: 5px;
  padding: 0;
}
.get-quote-div h1 {
  padding: 1rem;
  text-transform: uppercase;
  margin-bottom: 0;
  color: #fff !important;
}

.insurance-select-div {
  padding: 2rem;
  margin: 0 !important;
  display: flex;
}
#selectInsurance:focus, .get-quote-btn:focus {
  outline: none !important;
  box-shadow: none !important;
}
#postal {
  border-radius: 5px;
  border: none;
  padding: 0 0.7rem;
}
.get-quote-btn {
  background: #010180;
}
/* --------------- */

@media all and (-ms-high-contrast:none) {
  .lt-grid-container {
    display: -ms-grid;
    -ms-grid-columns: 1fr 1fr 1fr 1fr;
    -ms-grid-rows: 1fr 1fr 1fr 1fr 1fr 1fr 1fr;
  }

  .lt-Name {
    -ms-grid-row: 1;
    -ms-grid-row-span: 1;
    -ms-grid-col: 1;
    -ms-grid-col-span: 4;
  }

  .lt-Address {
    -ms-grid-row: 2;
    -ms-grid-row-span: 1;
    -ms-grid-col: 1;
    -ms-grid-col-span: 2;
  }

  .lt-City {
    -ms-grid-row: 2;
    -ms-grid-row-span: 1;
    -ms-grid-col: 3;
    -ms-grid-col-span: 2;
  }

  .lt-Province {
    -ms-grid-row: 3;
    -ms-grid-row-span: 1;
    -ms-grid-col: 1;
    -ms-grid-col-span: 2;
  }

  .lt-Postal-Code {
    -ms-grid-row: 3;
    -ms-grid-row-span: 1;
    -ms-grid-col: 3;
    -ms-grid-col-span: 2;
  }

  .lt-Phone-Number {
    -ms-grid-row: 4;
    -ms-grid-row-span: 1;
    -ms-grid-col: 1;
    -ms-grid-col-span: 2;
  }

  .lt-Email-Address {
    -ms-grid-row: 4;
    -ms-grid-row-span: 1;
    -ms-grid-col: 3;
    -ms-grid-col-span: 2;
  }

  .lt-Type-of\ property\ insurance\: {
    -ms-grid-row: 5;
    -ms-grid-row-span: 1;
    -ms-grid-col: 1;
    -ms-grid-col-span: 1;
  }

  .lt-Is-there\ more\ than\ one\ owner\: {
    -ms-grid-row: 5;
    -ms-grid-row-span: 1;
    -ms-grid-col: 2;
    -ms-grid-col-span: 1;
  }

  .lt-What-year\ was\ the\ property\ built\: {
    -ms-grid-row: 5;
    -ms-grid-row-span: 1;
    -ms-grid-col: 3;
    -ms-grid-col-span: 1;
  }

  .lt-Estimated-replacement\ value\ of\ dwelling\ \(homeowner\ only\)\: {
    -ms-grid-row: 5;
    -ms-grid-row-span: 1;
    -ms-grid-col: 4;
    -ms-grid-col-span: 1;
  }

  .lt-How-many\ years\ of\ continuous\ property\ insurance\: {
    -ms-grid-row: 6;
    -ms-grid-row-span: 1;
    -ms-grid-col: 1;
    -ms-grid-col-span: 1;
  }

  .lt-Number-of\ claims\ of\ any\ kind\ in\ the\ last\ 10\ years\: {
    -ms-grid-row: 6;
    -ms-grid-row-span: 1;
    -ms-grid-col: 2;
    -ms-grid-col-span: 1;
  }

  .lt-Number-of\ mortgages\ on\ the\ property\ \(homeowner\/condo\)\: {
    -ms-grid-row: 6;
    -ms-grid-row-span: 1;
    -ms-grid-col: 3;
    -ms-grid-col-span: 1;
  }

  .lt-Any-cancellations\ by\ any\ insurer\ in\ last\ 5\ years\: {
    -ms-grid-row: 6;
    -ms-grid-row-span: 1;
    -ms-grid-col: 4;
    -ms-grid-col-span: 1;
  }

  .lt-Name-of\ current\ insurer\: {
    -ms-grid-row: 7;
    -ms-grid-row-span: 1;
    -ms-grid-col: 1;
    -ms-grid-col-span: 2;
  }

  .lt-Policy-expiry\ date\ \(DD\/MM\/YY\)\: {
    -ms-grid-row: 7;
    -ms-grid-row-span: 1;
    -ms-grid-col: 3;
    -ms-grid-col-span: 2;
  }

}

#co-owner-group{
  display: none;
}

@media only screen and (max-width: 768px) {
  /* For mobile phones: */
  .article-img {
    width: 100%;
  }
  .contact-email {
    flex-direction: column;
  }

  .contact-email img {
    width: 20% !important;
    margin: 0;
    margin-bottom: 0.5rem;
  }
  .contact-image-section, .image-section, .content-section, .car-image-section, .property-image-section {
    background-attachment: scroll;
  }

  .content-section {
    height: 100%;
  }
  /* Get Quote Block */
  .get-quote-div {
    border: 1px solid #fff;
    border-radius: 5px;
    padding: 0;
    padding: 0.7rem;
    width: 95%;
    margin: 0 auto;
  }
  .get-quote-div h1 {
    text-transform: uppercase;
    margin-bottom: 0;
    color: #ffffff;
    font-size: 1.6rem;
  }

  .insurance-select-div {
    display: flex;
    flex-direction: column;
    justify-content: space-around;
    align-items: center;
    padding: 0;
  }
  #selectInsurance {
    width: 70%;
  }
  #postal, .get-quote-btn {
    width: 70%;
    margin-left: 0 !important;
    margin-top: 0.5rem !important;
  }
  #postal {
    width: 70%;
    height: calc(2.25rem + 2px);
    padding: .375rem 1.75rem .375rem .75rem;
    line-height: 1.5;
  }
  /* --------------- */
}

@media only screen and (max-width: 991px) {
	.slideInRight {
		margin-top: 20px;
	}
}
