@import "thankyoupage.css";

/* ----- RESET ----- */

body {
  margin: 0;
  box-sizing: 0;
  scroll-behavior: smooth;
  background-color: #fff;
  padding: 0;
  width: 100%;
  position: relative;
}

html, body {
  overflow-x: hidden;
}

.hide{
	display: none;
}

a{
  color: #fff;
}



.desktop-foot{
    display: block;
  }


.mobile-foot{
    display: none;
  }




#email{
  position: absolute;
  top: -9999px;
}

.highlight2{
  background-color: #ffa748;
  text-shadow: none;
}

.call-link:link, .call-link:visited, .call-link:active {
  text-decoration:none;
  color: white;
}





.prenavbar div{
  padding: 0.5rem 1rem;;

}




/* ----- NAVBAR ----- */

#navbar {
  background-color: #f7f7f7;
  display: flex;
  justify-content: space-between;
  align-items: center;
  width: 100%;
  height: 5.5rem;
  padding: 0 4rem;
  font-size: 20px;
  font-weight: 600;
  color: #ff7400;
  margin-bottom: 0;

}

#navbar img {
  width: 10rem;
}

.navbar-txt-mobile{
  display: none;
}

p{
  margin-bottom: 0;
}

/* ----- MAIN CONTAINER ---- */


.main-container{
    background-image: url(../images/thuisalarm-banner.jpg);
  background-position: center;
  background-repeat: no-repeat;
  background-size: cover;

  width: 100%;
  /*max-height: 50rem;*/
  height: 35rem;
  margin: auto;
  justify-content: center;

}





/* ---- SECTION 1 ----- */

.section-1{

  background-color: #fff;
  display: flex;
  justify-content: center;
}

.s1-img{
  padding: 0;
}

.s-1-img{
  display: flex;
  justify-content: flex-end;
  align-items: center;

}

.s-1-img img{
  max-width: 520px;
  width: 100%;

}


.s-1-img-mobile{
  display: none;
}

/* ---- SECTION 2 ----- */

  .section-2{
    background-color: #fff;
    padding: 3rem 0 4rem ;
  }



  /* ----- FORM ------ */


    .form-container {
      
      display: flex;
      color: #3f3f3f;
      /*height: 40rem;*/
      justify-content: center;
      align-items: center;

    }

    .size-form{
      background-color: #f6f6f6;
      max-width: 950px;
      width: 100%;
      padding: 2rem;
    }

    .quest1-row, .quest2-row, .quest3-row{
      background-color: ;
      padding: 3% 2%;
      min-height: 290px;
      height: 100%;
      margin: 0 2%;
    }



    .form-title{
      font-weight: 800;
      font-size: calc(1.4rem + .4vw);
      text-align: center;
      color: #3774b4;
    }

    .form-subtitle{
      font-size: 21px;
      text-align: center;
      font-weight: 600;
    }

    #form-text{
      display: flex;
      align-items: center;
    }

    #form-text img{
      max-width: 160px;
      width: 100%;
      margin: auto;
    }

    .form-group {
      margin: auto;
    }

    .form-control{
      margin: 0.2rem;
      /*background-color: #e9fbff;
      border: 1px solid #2296c4;*/
    }

    .box-form-fill input{
      padding: 1.5rem .75rem;
    }

    /*#perfect-form input{
      padding: 1.5rem .75rem;
    }*/




    .tlt-form-banner-mobile{
      display: none;
    }


    .options{
      margin: auto;
      padding-top: 20px;
    }

    .hold-title{
      margin-top: 20px;
    }

    [type="radio"] {
      position: absolute !important;
      opacity: 0 !important;
      width: 0 !important;
      height: 0 !important;
    }

    [type=radio] + img {
      cursor: pointer;
    }

    .hold-title p{
      margin: auto;
    }

    .options label{
      max-width: 300px;
      margin: auto;
      margin-bottom: 15px;
    }

    .answer-holder-2opt, .answer-holder-4opt,  .answer-holder-8opt{
        border-radius: 5px;
        color: #3873b3;
        align-items: center;
        background-color: #fff;
        border: 2px solid #3873b3;
        -webkit-box-shadow: 0px 0px 10px 0px rgb(0 0 0 / 15%);
        -moz-box-shadow: 0px 0px 10px 0px rgba(0,0,0,0.15);
        box-shadow: 0px 0px 10px 0px rgb(0 0 0 / 15%);
        cursor: pointer;
        transition: all 0.2s ease-in-out;
        margin: auto;
        padding: 5px 10px;
        min-height: 80px;
        font-size: 11pt;
    }



    .answer-holder-2opt:hover, .answer-holder-4opt:hover ,.answer-holder-8opt:hover{
        background-color: #da4f40;
        border: 2px solid #da4f40; 
        color: #fff;
    }


    .line-box{
      margin-bottom: 15px;
      border: 1px solid #3873b3;
      max-height: 38px;
      font-size: 1rem;
    }

    select[class="line-box"]{
      color:#c1c5c9;
    }

    select option[value="M"], select option[value="F"]{
      color: #212529;
    }






    /*#perfect-form option {
      color: #212529;
    }*/


    .item-active {
      box-shadow: 0px 0px 10px 0px rgb(0 0 0 / 80%);
      background-color: #f0f0f0;

      border-radius: 5px;
    }


    .item-active div{
      background-color: #db4f40;
      border: 2px solid #db4f40;
      color: #fff;
    }

    .answer-holder-4opt p, .answer-holder-5opt p, .answer-holder-8opt p{
      margin-bottom: 0;
    }





    .form-control::placeholder {
      /* Chrome, Firefox, Opera, Safari 10.1+ */
      color: #232f3f47;
      opacity: 1; /* Firefox */
    }

    .form-control:-ms-input-placeholder {
      /* Internet Explorer 10-11 */
      color: #232f3f47;
    }

    .form-control::-ms-input-placeholder {
      /* Microsoft Edge */
      color: #232f3f47;
    }

    .check {
      padding-left: 1rem;
      margin-top: 0.5rem;
    }

    .btn-form {
      width: 2rem;
      height: 3rem;
      font-size: 20px;
      background-color: #ffa748;
      color: #ffffff;
      border: 0;
      border-radius: 10px;
      margin-top: 1rem;
      margin-left: -0.7rem;
      transition: 1s all;
    }

    .btn-form:hover{
        background-color: #ff8f18;
    }



    .termstext{
      font-size: 4px;
      text-align: justify;
    }

    .options{
      display: flex;
      justify-content: center;
    }

    .form-btn{
      background-color: #3873b3;
      border: 0;
      border-radius: 5px;
      padding: 0.5rem;
      cursor: pointer;
      transition: 1s;
      color: white;
      margin: auto;
      width: 100%;
    }

    .form-btn:hover{
      background-color: #db4f40;
    }


    .return{
      cursor: pointer;
      text-align: right;
      padding-top: 10px;
         color: #adadad;
    }






    .errormsg, #contacterr {
      color: rgb(255, 80, 80);

      border-radius: 20px;
      /*width: fit-content;*/
      margin-bottom: 0.5rem;
    }

    .errormsgactive {
    	transform: scaleY(1);
    	height: 2em;
    }

    .fieldpp {
      font-size: 0.8em;
      line-height: 1.3rem;
      padding: 10px 2rem;
      /*color: #c2c2c2;*/
    }

    #termstext{
      margin-bottom: 20px;
    }

    #termstext>label{
      font-size: 12px;
      line-height: 16px;
      color: #000;
      /*padding-top: 1.5rem;*/
      text-align: left;

    }

    #termstext>label>a{
      color: #000;
    }

    .bttn{
    background-color: #53b7de;
    color: white;
    width: 8rem;
    border-radius: 10px;
    cursor: pointer;
    padding: 0.5rem;
    text-align: center;
    font-weight: 600;
    margin-top: 1.5rem;
    transition: 1s all;
    }

    .bttn:hover{
      background-color: #2e97c1;
    }




/*  ----- THANK YOU PAGE ------ */

#thankyou{
font-weight: 800;
font-size: 40px;
text-align: center;
}

#thankyou > span {
  font-size: 30px;
  font-style: italic;
  font-weight: 500;
}

.thank-container{
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  margin-top: 1rem;
}







/* ---- SECTION 3 ----- */

  .section-3{
    background-color: #da4f40;
    padding: 2rem 13%;
    display: flex;
    align-items: center;
    justify-content: center;
  }


  .text-meaning {
    color: #fff;
  }




/* ---- SECTION 4 ----- */


  .section-4{
    padding: 6%;
    display: flex;
    align-items: center;

  }                 

  .s4-box{
    margin: auto;
    max-width: 1200px;
    width: 100%;
    color: #373737;
  }

  .s4-img{
    text-align: right;
  }

  .s4-img img{
    max-width: 450px;
    width: 100%;
  }

  .s4-text{
    margin: auto;

    text-align: left;
  }

  .s4-text h2{
    margin-bottom: 1rem;
    font-size: 32pt;
  }


  .s4-text p{
    margin-bottom: revert-layer;
    font-size: 1.3rem;
  }

  .cta-btn{
    max-width: 320px;
    width: 100%;
    background-color: #da4f40;
    padding: 1rem;
    border-radius: 5px;
    text-align: center;
    font-size: 14pt;
    font-weight: bold;

  }






/* ---- SECTION 5 ----- */

  .section-5 {
    background-color: #f6f6f6;
    color: #333333;
    padding: 5% 6%;
    display: flex;
    align-items: center;


  }


  .section-5 h4{
    color: #333333;
    font-weight: 800;
    font-size: 1.9rem;
    text-align: center;
    padding-bottom: 1.1rem;
  }

  .section-5 span{
    font-size: 18pt;
    font-weight: 600;
    margin-bottom: 3px;
  }

  .s-5-tlt{
    margin-bottom: 30px;
  }

  .s5-reviews{
    align-self:  flex-start;
    padding: 0 1.7rem;
  }

  .s5-reviews div{
    display: flex;
    flex-direction: column;
    justify-content: flex-start;
    color: #353535;
    margin: 1rem;
    background-color: #fff;
    box-shadow: rgba(88, 47, 13, 0.4) 0px 2px 4px, rgba(88, 47, 13, 0.3) 0px 7px 13px -3px, rgba(88, 47, 13, 0.2) 0px -3px 0px inset;
    padding: 25px 20px;
    font-size: 13pt;
    font-weight: 400;
    line-height: 18pt;
    border-radius: 20px;
    min-height: 360px;
    transition: 1s;
    text-align: left;
  }

  .s5-reviews h5{
    font-size: 16pt;
  }

  .s5-reviews img{
    max-width: 150px;
  }

  .s5-reviews p{

    font-size: 10pt;
    line-height: 16pt;
  }


  

  .s5-opt img{
    max-width: 70px;
    width: 100%;
  }


  .s5-txt{
    padding: 2rem;
  }









/* ----- FOOTER ------ */

.footer {
  color: #ffffff;
  background-color: #3774b4;
  height: 6rem;
  display: flex;
  justify-content: center;
  align-items: center;
  text-align: center;
}

.footer>p>a{
  color: #f1faee;
}

.footer a:hover{
  color: #ffffff;
}







/* Realised by */

.really{

  border: 2px solid #ccc;
  border-radius: 10px;
  background-color: #f7f7f7;
  padding: 1.5em;
  color: #999;
  width: 50%;
  /*max-width: 800px;*/
  min-height: 500px;
  position: fixed;
  top: 10%;
  left: 50%;
  margin-left: -25%;
  transform: scale(0, 0);
  transition: all 0.5s ease;
  z-index: 9;
  overflow:hidden;
  /*margin: auto;*/
}

.reallyactive{
  transform: scale(1, 1);
  /*position: fixed;*/
}

#realisedbybox{
  margin-top: 20px;
  overflow-y: scroll;
  max-height: 400px;
}

#realisedby img {
  max-width: 200px;
}

#realisedbyclose {
  float: right;
  margin-right: 15px;
}

.fa-window-close{
  border: 0;
  border-radius: 5px;
  color: #f1faee;
  background-color: #ff97a7;
  font-weight: 800;
}

/* ----- MEDIA QUERYS ------ */


/* mid-screen */

@media (max-width: 991px) {
  .form-container{
    display: flex;
    justify-content: center;

  }





.form-horizontal{
width: 100%;
}

.s2-img{
  display: flex;
  justify-content: center;
}
}
@media (max-width: 767px) {


  .prenavbar{
    display: none;
  }

#navbar{
  height: 4rem;
}
  #navbar > img {
    width: 6rem;
  }

  .nav{
    height: 5rem;
  }

  .s-1-img{
    display: none;
  }

  .s-1-img-mobile{
    display: block;
  }

  .s-1-img-mobile img{
    width: 100%;
    max-width: 700px;
  }




  .s0-img{
    display: flex;
    justify-content: center;
  }
  .s0-intro{
    display: none;
  }

  .form-container{
    height: fit-content;
  }

  .really{
    border: 2px solid #ccc;
    border-radius: 10px;
    background-color: #f7f7f7;
    padding: 1.5em;
    color: #999;
    width: 80%;
    /*max-width: 800px;*/
    min-height: 500px;
    position: fixed;
    top: 10%;
    left: 30%;
    margin-left: -20%;
    transform: scale(0, 0);
    transition: all 0.5s ease;
    z-index: 9;
    overflow:hidden;
    /*margin: auto;*/
  }

  .reallyactive{
    transform: scale(1, 1);
    /*position: fixed;*/
  }

}

/* mobile */

@media (max-width: 575px) {


#prenavbar{
  display: flex;
  justify-content: center;
  text-align: center;
  padding: 0 1.5rem;
} 

#navbar{
  flex-direction: column;
  height: 6rem;
  text-align: center;
  justify-content: center;
}

#navbar > img {
  width: 200px;
}

.navbar-txt-mobile{
  display: block;
}

.navbar-txt{
  display: none;
}

.prenavbar-btn{
  display: none;
}

.section-1 {
  padding: 2rem .2rem;
  height: 13rem;

}


.main-container{
  background-image: url(../images/thuisalarm-banner-mobile.jpg);
}


.desktop-foot{
    display: none;
  }


.mobile-foot{
    display: block;
  }

.form-title{
  display: none;
}



.tlt-form-banner-mobile{
  display: block;
  color: #3774b4;
}

.main-container{
  padding-top: 2rem;
}

  .size-form{
    padding: 2rem 0;
    text-align: center;
  }




  .section-0{
    display: none;
  }


  

  .s-1-img-mobile img{
    width: 100%;
  }


  .form-container {
    margin: 0;
    padding: 1rem;
    height: fit-content;
  }



  #perfect-form{
    margin: auto;
  }

  #increment-content{
    width: 70%;
    text-align: left;
  }

  .section-2 {
    padding: 1rem 2rem;
    text-align: center;
  }

  .section-3 {
    padding: 2rem 2.5rem;
    text-align: center;
  }

  .section-4{
    text-align: left;
    padding: 2.2rem 2.8rem;
  }

  .s2-txt{
    padding: 1.5rem 0rem;
    max-width: 300px;
    text-align: justify;
    margin: 0 auto;
  }

  .s2-p {
    font-size: 16px;
    padding: 1rem;
  }

  .really{
    border: 2px solid #ccc;
    border-radius: 10px;
    background-color: #f7f7f7;
    padding: 1.5em;
    color: #999;
    width: 100%;
    /*max-width: 800px;*/
    min-height: 500px;
    position: fixed;
    top: 10%;
    left: 0;
    margin-left: 0;
    transform: scale(0, 0);
    transition: all 0.5s ease;
    z-index: 9;
    overflow:hidden;
    /*margin: auto;*/
  }

  .reallyactive{
    transform: scale(1, 1);
    /*position: fixed;*/
  }
}

/* Contact Form */


.contactform {
  border: 2px solid #ccc;
  border-radius: 10px;
  background-color: #f7f7f7;
  padding: 20px 40px;
  color: #999;
  position: fixed;
  top: 10%;
  margin-left: 35%;
  margin-right: 35%;
  margin-top: 0px;
  padding: 10px;
  z-index: 10;
  height: auto;
  
  transform: scale(0, 0);
  transition: all 0.5s ease;
}


@media screen and (max-width: 1400px){

  .contactform {
    border: 2px solid #ccc;
    border-radius: 10px;
    background-color: #f7f7f7;
    padding: 20px 40px;
    color: #999;
    position: fixed;
    top: 10%;
    margin-left: 30%;
    margin-right: 30%;
    margin-top: 0px;
    padding: 10px;
    z-index: 10;
    height: auto;
    
    transform: scale(0, 0);
    transition: all 0.5s ease;
  }

} 

@media screen and (max-width: 1024px){

  .contactform {
    border: 2px solid #ccc;
    border-radius: 10px;
    background-color: #f7f7f7;
    padding: 20px 40px;
    color: #999;
    position: fixed;
    top: 10%;
    margin-left: 25%;
    margin-right: 25%;
    margin-top: 0px;
    padding: 10px;
    z-index: 10;
    height: auto;
    
    transform: scale(0, 0);
    transition: all 0.5s ease;
  }

} 

@media screen and (max-width: 768px){

  .contactform {
    border: 2px solid #ccc;
    border-radius: 10px;
    background-color: #f7f7f7;
    padding: 20px 40px;
    color: #999;
    position: fixed;
    top: 10%;
    margin-left: 20%;
    margin-right: 20%;
    margin-top: 0px;
    padding: 10px;
    z-index: 10;
    height: auto;
    
    transform: scale(0, 0);
    transition: all 0.5s ease;
  }

} 


@media screen and (max-width: 550px){

  .contactform {
    border: 2px solid #ccc;
    border-radius: 10px;
    background-color: #f7f7f7;
    padding: 20px 40px;
    color: #999;
    position: fixed;
    top: 10%;
    margin-left: auto;
    margin-right: auto;
    margin-top: 0px;
    padding: 10px;
    z-index: 10;
    height: auto;
    
    transform: scale(0, 0);
    transition: all 0.5s ease;
  }

} 

.contactactive{
  transform: scale(1, 1);
  position: fixed;
}


#xclose {
  /*position: fixed;*/
  padding: 5px;
  margin: 0 5px 10px 0;
  background-color: #ececec;
  border: 1px solid #c5c5c5;
  width: 26px;
}

#bclose {
  line-height: 1em;
  border-radius: 0;
  padding: 4px 0;
  font-size: 18pt;
}


/* LOADER */

.spinner {
	color: original;
	display: inline-block;
	position: relative;
	width: 80px;
	height: 80px;
  }
  .spinner div {
	transform-origin: 40px 40px;
	animation: spinner 1.2s linear infinite;
  }
  .spinner div:after {
	content: " ";
	display: block;
	position: absolute;
	top: 3px;
	left: 37px;
	width: 6px;
	height: 18px;
	border-radius: 20%;
	background: #12263a;
  }
  .spinner div:nth-child(1) {
	transform: rotate(0deg);
	animation-delay: -1.1s;
  }
  .spinner div:nth-child(2) {
	transform: rotate(30deg);
	animation-delay: -1s;
  }
  .spinner div:nth-child(3) {
	transform: rotate(60deg);
	animation-delay: -0.9s;
  }
  .spinner div:nth-child(4) {
	transform: rotate(90deg);
	animation-delay: -0.8s;
  }
  .spinner div:nth-child(5) {
	transform: rotate(120deg);
	animation-delay: -0.7s;
  }
  .spinner div:nth-child(6) {
	transform: rotate(150deg);
	animation-delay: -0.6s;
  }
  .spinner div:nth-child(7) {
	transform: rotate(180deg);
	animation-delay: -0.5s;
  }
  .spinner div:nth-child(8) {
	transform: rotate(210deg);
	animation-delay: -0.4s;
  }
  .spinner div:nth-child(9) {
	transform: rotate(240deg);
	animation-delay: -0.3s;
  }
  .spinner div:nth-child(10) {
	transform: rotate(270deg);
	animation-delay: -0.2s;
  }
  .spinner div:nth-child(11) {
	transform: rotate(300deg);
	animation-delay: -0.1s;
  }
  .spinner div:nth-child(12) {
	transform: rotate(330deg);
	animation-delay: 0s;
  }
  @keyframes spinner {
	0% {
	  opacity: 1;
	}
	100% {
	  opacity: 0;
	}
  }
  
  .loaderbg {
	background-color: #c1c1c18a;
	height: 100%;
	width: 100%;
	z-index: 1;
	position: absolute;
  }
  
  .thanks-span {
	display: flex;
	flex-direction: column;
	justify-content: center;
	align-items: center;
  }
  
  #thankyouloader-txt {
	text-align: center;
	position: absolute;
	top: 50%;
	left: 50%;
	transform: translate(-50%, -50%);
	font-size: 20px;
	color: green;
  }
  
  #loader-txt {
	background-image: rgba(0, 128, 0, 0.115);
	border-radius: 10px;
	padding: 1rem;
	width: 150%;
  }
  
  #loader-txt > h1 {
	font-weight: 800;
	color: white;
  }
  
  #loader-txt > h4 {
	color: black;
  }
  
  .logo-loading {
	margin-top: 1.5rem;
  }
  
  .highlight {
	border-radius: 1em 0 1em 0;
	background-image: linear-gradient(
	  -100deg,
	  rgba(4, 0, 255, 0.2),
	  rgba(39, 93, 111, 0.7) 95%,
	  rgba(0, 8, 255, 0.1)
	);
  }
  
  @keyframes round {
	0% {
	  transform: rotate(0deg);
	}
	100% {
	  transform: rotate(360deg);
	}
  }
  
  @media screen and (max-width: 610px) {
	.loader-svg {
	  margin: 0;
	  margin-top: 15rem;
	  margin-bottom: 5rem;
	}
  
	#loader-txt > h4 {
	  font-size: 15px;
	}
  }
  
  @media screen and (max-width: 425px) {
	#thankyouloader-txt {
	  top: 40%;
	}
  }