
  .modal-open {
      overflow: auto; /* Ensures page remains scrollable */
  }
   button.close {
    margin-top: -8px;
}

  h2 {
	margin: 10px 0 15px;
  }

  #homesmart-banner {
	background: url('/Images/HomeSC/2024/04/new-homesmart-banner.png') no-repeat top left / cover;

	/*background: url('/Images/HomeSC/2024/homesmart/banner-homesmart.jpg') no-repeat top left / cover;*/
	text-align: center;
	margin-bottom: 25px;
	position:relative;
  }
  #homesmart-banner img#homesmart-mobile {
	display: none;
  }
  #homesmart-banner img#homesmart-logo {
	display: block;
	width: 100%;
	max-width: 665px;
	margin: 10px auto 30px;
  }
  @media screen and (max-width: 767px) {
	#homesmart-banner img#homesmart-logo {
	  max-width: 350px;
	}
    #wifi-modal {
    padding: 0 !important;
    margin: 0;
}
   
  }
  #homesmart-banner p {
	font-size: 23px;
	font-weight: 300;
	max-width: 675px;
	margin: 10px auto;
  }
  #homesmart-banner article {
	padding: 12rem 15px;
  }
  @media screen and (max-width: 1600px) {
	#homesmart-banner article {
	  padding: 10rem 15px;
	}
  }
  @media screen and (max-width: 1400px) {
	#homesmart-banner article {
	  padding: 7rem 15px;
	}
  }
  @media screen and (max-width: 1200px) {
	#homesmart-banner article {
	  padding: 6rem 15px;
	}
  }
  @media screen and (max-width: 767px) {
	#homesmart-banner {
	  background: none;
	}
	#homesmart-banner img#homesmart-mobile {
	  display: block;
	  width: 100%;
	  margin: 10px auto;
	}
	#homesmart-banner p {
	  font-size: 18px;
	}
	#connected-header {
    width: 100% !important;
   }
    #attack-pack .container .attack-pack {
    width: 100% !important;
   }
    #step-ahead-header {
    width: 100% !important;
  } 
    #home-control-header {
    width: 100% !important;
}

  }

   
   #connected-header {
    width: 756px;
    margin: 0 auto;
   }
    #attack-pack .container .attack-pack {
    width: 756px;
    margin: 0 auto;
	float:none;  
   }
    #step-ahead-header {
    width: 756px;
    margin: 0 auto;
  } 
    #home-control-header {
    width: 756px;
    margin: 0 auto;
}



  #connected {
	padding: 5rem 0;
  }
  #connected-header p {
	font-size: 23px;
	font-weight: 300;
	max-width: 1100px;
	margin: 10px auto;
  }
  #connected p strong {
	font-weight: 500;
  }
  img#homesmart-graph {
	display: block;
	width: 98%;
	margin: 30px auto;
  }
  @media screen and (max-width: 767px) {
	#connected-header p {
	  font-size: 17px;
	}
  }

  #attack-pack {
	background: url('/Images/HomeSC/2024/homesmart/bg-attack.png') no-repeat center 75% / 100%;
	padding: 4rem 0;
  }
  #attack-pack-header p {
	font-size: 23px;
	font-weight: 300;
	max-width: 1000px;
	margin: 10px auto 25px;
  }
  #attack-pack h3 {
	color: #000;
	margin: 25px 0;
  }
  #attack-pack-items article {
	background-color: #fff;
	max-width: 550px;
	min-height: 315px;
	margin: 10px auto 15px;
	padding: 25px 15px 15px;
	border: solid 1px #ddd;
	border-radius: 15px;
	box-shadow: 0 0 5px #bbb;
  }
  #attack-pack-items article img {
	display: block;
	width: 100%;
	max-width: 150px;
	margin: auto;
  }
  #attack-pack-items article h3 {
	color: #333333;
	font-size: 22px;
	font-weight: 500;
	margin: 20px 0 15px;
  }
  #attack-pack-items article p {
	color: #333333;
	font-size: 14px;
	line-height: 18px;
  }
  #attack-pack p strong {
	//font-weight: 500;
  }
  #attack-pack-items div {
	padding: 5px;
  }
  @media screen and (max-width: 767px) {
	#attack-pack-header p {
	  font-size: 17px;
	}
  }

  #attack-pack .plus {
	margin-top: 5rem;
  }




  #step-ahead {
	padding: 4rem 0 0;
  }
  #step-ahead .container {
	width: 96%;
	max-width: 950px;
	margin: auto;
  }
  #step-ahead-header p {
	font-size: 23px;
	font-weight: 300;
	margin: 15px auto 30px;
  }
  #step-ahead-chart {
	background-color: #fff;
	margin: 0 auto -8rem;
	padding: 30px 50px;
	box-shadow: 0 0 5px #bbb;
	border-radius: 10px;
	position: relative;
	z-index: 99;
  }
  #step-ahead-chart article {
	padding: 10px 5px;
	border-bottom: solid 1px #bbb;
  }
  #step-ahead-chart article div {
	padding: 5px;
  }
  #step-ahead-chart article:last-child {
	border-bottom: 0;
  }
  #step-ahead-chart .sa-check {
	display: block;
	width: 100%;
	max-width: 25px;
	margin: 5px auto;
  }
  #step-ahead-chart p {
	font-size: 21px;
	font-weight: 300;
	margin: 0;
	padding: 5px;
  }
  .step-ahead-price {
	display: block;
	width: 100%;
	max-width: 175px;
	margin: auto;
	padding: 10px 5px;
  }
  .flex {
	display: flex;
	flex-direction: column;
	justify-content: center;
  }
  @media screen and (max-width: 1200px) {
	#step-ahead-chart {
	  padding: 30px 40px;
	}
	#step-ahead-chart p {
	  font-size: 19px;
	}
	#step-ahead-chart article {
	  padding: 9px 4px;
	}
  }
  @media screen and (max-width: 992px) {
	#step-ahead-chart {
	  padding: 30px;
	}
	#step-ahead-chart p {
	  font-size: 18px;
	}
	#step-ahead-chart article {
	  padding: 8px 4px;
	}
  }
  @media screen and (max-width: 767px) {
	#step-ahead-chart {
	  padding: 25px;
	}
	#step-ahead-chart p {
	  font-size: 17px;
	}
	#step-ahead-chart article {
	  padding: 5px;
	}
	#step-ahead-header p {
	  font-size: 17px;
	}
  }
  @media screen and (max-width: 575px) {
	#step-ahead-chart {
	  padding: 25px 15px;
	}
	#step-ahead-chart p {
	  font-size: 16px;
	}
	#step-ahead-chart article {
	  padding: 4px;
	}
  }
  #step-ahead-chart-footer p small {
	font-size: 14px;
  }

  #step-ahead-chart p.add-on-btn {
	display: block;
	color: #333333;
	font-size: 16px;
	font-weight: 500;
	font-style: italic;
	text-decoration: underline;
	margin: 5px;
	border: 0;
  }
  #step-ahead-chart p.add-on-btn:hover {
	text-decoration: none;
  }
  #step-ahead-chart p.add-on-btn, .hub-menu, .olsys-menu {
	cursor:pointer;
  }
  




  #home-control {
	background-color: #f2faff;
	margin-top: -8rem;
	padding: 18rem 0 5rem;
  }
  #home-control-header p {
	font-size: 23px;
	font-weight: 300;
	//max-width: 750px;
	margin: 15px auto;
  }
  #home-control-icons {
	padding: 1rem 0 3rem;
  }
  #home-control-icons img {
	display: block;
	width: 100%;
	max-width: 88px;
	margin: 10px auto;
  }
  #home-control-icons p {
	font-size: 18px;
	line-height: 21px;
	font-weight: 600;
  }
  @media screen and (max-width: 767px) {
	#home-control-header p {
	  font-size: 17px;
	}
  }



  #secure-monitoring {
	padding: 5rem 0;
  }
  #secure-monitoring article {
	padding: 7rem 0;
  }
  #secure-monitoring p {
	font-size: 23px;
	font-weight: 300;
	max-width: 750px;
	margin: 15px auto
  }
  #monitoring {
	display: block;
	width: 100%;
	max-width: 450px;
	margin: auto;
  }
  @media screen and (max-width: 992px) {
	#secure-monitoring article {
	  padding: 5rem 0;
	}
  }
  @media screen and (max-width: 767px) {
	#secure-monitoring p {
	  font-size: 17px;
	}
  }

  #homesmart-devices {
	margin-top: 5rem;
  }



  .bttn-green,
  .bttn-green:visited {
	display: inline-block;
	font-family: "quasimoda", sans-serif;
	font-weight: 300;
	font-style: normal;
	background-color: #70b840;
	color: #fff !important;
	font-size: 16px;
	text-decoration: none;
	text-transform: uppercase;
	min-width: 200px;
	margin: 0 auto;
	padding: 2.5rem 25px;
	border-radius: 10px;
	overflow: hidden;
	border: 0;
	position: relative;
	vertical-align: middle;
	-webkit-transform: perspective(1px) translateZ(0);
	transform: perspective(1px) translateZ(0);
	box-shadow: 0 0 1px transparent;
  }
  .bttn-green:hover:before {
	opacity: 0;
	-webkit-transition-duration: .3s;
	transition-duration: .3s;
	-webkit-animation-name: hvr-icon-drop;
	animation-name: hvr-icon-drop;
	-webkit-animation-duration: .5s;
	animation-duration: .5s;
	-webkit-animation-delay: .3s;
	animation-delay: .3s;
	-webkit-animation-fill-mode: forwards;
	animation-fill-mode: forwards;
	-webkit-animation-timing-function: ease-in-out;
	animation-timing-function: ease-in-out;
	-webkit-animation-timing-function: cubic-bezier(0.52,1.64,0.37,0.66);
	animation-timing-function: cubic-bezier(0.52,1.64,0.37,0.66);
  }
  .bttn-green img {
	display: inline-block;
	width: 25px;
	margin: -3px 10px 0 8px;
  }





  .slider_top_1 {
	max-width: 94%;
	margin: auto;
  }
  .be-button.bttn-green.calc strong {
	color: #fff !important;
  }
  #bandwidth-estimator-2022 {
	max-width:980px;
	margin: 5px auto 25px;
	padding: 50px;
	box-shadow: 0 0 10px #bbb;
	border-radius: 25px;
	background: #ffffff; 
  }
  #bandwidth-estimator-2022 h3 {
	color: #333333;
	font-size: 41px;
	font-weight: normal;
	margin: 5px 0 0;
	text-transform: uppercase;
	font-family: 'bebas_kairegular';

  }
  div#bandwidth-devices {
	max-width: 600px;
	margin: 30px auto auto auto;
  }
  #bandwidth-devices,
  #bandwidth-options {
	margin-top: 20px;
  }
  #social-media-icon {
	max-width:68px;
  }
  button.be-button {
	display: block;
	background-color: #fff;
	border: 2px solid #c7c7c7;
	border-radius: 20px;
	width: 100%;
	min-height: 100px;
	margin: 5px auto;
	transition: transform 0.1s ease-out;
	position: relative;
  }
  #bandwidth-devices button.be-button {
	font-size: 38px;
  }
  button.be-button img {
	display: inline-block;
	width: 100%;
	max-width: 80px;
	padding: 5px 0 0;
  }
  button.be-button table {
	display: block;
	width: 100%;
	border-collapse: collapse;
  }
  button.be-button table td {
	padding: 2px;
	vertical-align: middle;
  }
  button.be-button.selected {
	background-color: #d3f3c0;
  }
  #bandwidth-list ul {
	margin: 0;
	padding: 0;
	list-style: none;
  }
  #bandwidth-list ul p {
	font-size: 17px;
  }
  #bandwidth-list img {
	display: block;
	margin: 40px auto;

	/* could maybe get larger images from the psd... but I'm in hurry */
	transform: scale(1.1);
  }
  #bandwidth-list .bandwidth-p {
	font-size: 20px;
  }
  #bandwidth-estimator-2022 .pagination {
	display: inline-block;
	text-align: center;
  }
  #bandwidth-estimator-2022 .pagination div {
	display: inline-block;
	width: 20px;
	height: 20px;
	border-radius: 20px;
	margin: 0 2px;
	cursor: pointer;
  }
  #bandwidth-estimator-2022 .pagination div.inactive {
	background-color: #1683c5;
	border: solid 1px #1683c5;
  }
  #bandwidth-estimator-2022 .pagination div.active {
	background-color: #fff;
	border: solid 1px #1683c5;
  }
  a.shop {
	background-color: #aaaaaa;
	color: #fff;
	font-size: 18px;
	text-align: center;
	text-decoration: none;
	margin-top: 10px;
	padding: 5px;
	border-radius: 20px;	
  }
  .highlighted .shop {
	background-color: #70b840;
	border-radius: 10px;
	padding: 1em 15px 1em 15px;
	font-size: 16px;
  }
  .shop:hover {
	padding: 1em 25px;
	background-color: #80db44;
  }
  .shop_speed {
	margin: 25px 0;
  }
  a.restart {
	display: block;
	cursor: pointer;
	margin-top: 10px;
	font-family: "quasimoda", sans-serif;
  }


  #service {
	margin: auto;
	padding: 4rem 0 0;
  }
  #service > .container-fluid {
	padding: 0;
  }
  #service article {
	padding: 4rem 0 2rem;
  }
  #service article p {
	color: #4d4d4d;
	font-size: 20px;
	font-weight: 300;
	line-height: 28px;
	width: 100%;
	max-width: 575px;
	margin: auto;
  }
  #service article p a,
  #service article p a:visited {
	display: inline-block;
	color: #1682c5;
	font-size: 135%;
	text-decoration: none;
	outline: 0;
	border: 0;
	margin-top: 10px;
  }
  #service article p a:hover {
	color: #1682c5;
	text-decoration: underline;
	outline: 0;
	border: 0;
  }
  #service article img {
	display: block;
	width: 100%;
	max-width: 285px;
	margin: 0 auto 10px;
  }
  #service figure {
	display: block;
	background: url('/Images/HomeSC/2024/homesmart/need-help2.png') no-repeat center center / cover;
	margin: 0;
	padding: 0;
	width: 100%;
	height: auto;
	min-height: 400px;
	clip-path: polygon(23% 0, 100% 0, 100% 100%, 0 100%);
  }
  @media screen and (max-width: 992px) {
	#service figure {
	  clip-path: polygon(0 12%, 100% 0, 100% 100%, 0 100%);
	}
  }
  @media screen and (max-width: 767px) {
	#service article p {
	  font-size: 17px;
	  line-height: 23px;
	}
  }





  #home-automation-form {
	background-color: #f3f3f3;
	padding:30px 0;
  }
  #home-automation-form .logos{
	margin-bottom: 20px;
  }
  #home-automation-form .logos img{
	display: inline-block;
  }
  #home-automation-form h2 {
	color:#70b840;
  }
  #home-automation-form form {
	max-width:900px;
	margin:10px auto;
  }
  #home-automation-form form label {
	display:inline-block;
	font-size:15px;
	text-transform:capitalize;
	margin:10px 0 2px 3px;
	width: 100px;
	float: left;
	text-align: right;
	padding-right: 10px;
  }
  #home-automation-form form input.form-control {
	display: inline-block;
	width: calc(100% - 106px);
  }
  #home-automation-form form select.interested_in {
	max-width:500px;
	margin:10px auto;
  }
  #ha-submit-btn {
	display:block;
	background-color: #70b840;
	color: #fff;
	font-size:15px;
	font-weight:bold;
	width:100%;
	max-width:300px;
	margin:10px auto 30px;
	padding:10px 15px;
	border:none;
	outline:none;
	border-radius:8px;
  }
  #ha-submit-btn:hover {
	background-color: #70b840;
	color: #fff;
  }

  @media screen and (max-width: 992px) {
	#home-automation-form form input.form-control {
	  width: 100%;
	}
	#home-automation-form form label {
	  display: block;
	  margin: 10px 0 2px 3px;
	  width: auto;
	  float: none;
	  text-align: left;
	  padding-right: 0px;
	}
  }
  #home-automation-form form label#cam-offer {
	display:block;
	width:100%;
	text-align:center;
	padding:10px;
  }


  .modal-dialog {
	width: 400px;
	margin: 35vh auto;
  }
  .modal-popup {
	font-size: 50px;
	font-family: 'bebas_kairegular';
	text-transform: uppercase;
	font-weight: 600;
	margin: 0;
	background-clip: text;
	-webkit-background-clip: text; /* For Safari */
	color: transparent;
	text-fill-color: transparent;
	background-image: linear-gradient(90deg, rgba(5,170,227,1) 48%, rgba(0,157,98,1) 100%);
  }
  .modal-popup-content{
	color: #333;
	font-size: 20px;
	font-weight: 400;
  }

  .modal-popup-btn {
	display: inline-block;
	font-family: "quasimoda",sans-serif;
	font-weight: 300;
	font-style: normal;
	background-color: #70b840;
	color: #fff!important;
	font-size: 14px;
	text-decoration: none;
	text-transform: uppercase;
	min-width: 150px;
	margin: 0 auto;
	padding: 1.2rem 13px;
	border-radius: 10px;
	overflow: hidden;
	border: 0;
	position: relative;
  }

  @media screen and (max-width: 767px) {
	.modal-popup {
	  font-size: 45px;
	  margin-top: 5px;
	}
	.modal-popup-content{
	  font-size: 20px;
	}
	.modal-dialog {
	  width: 360px;
	}
  }

