@import url('https://fonts.googleapis.com/css2?family=Bebas+Neue&display=swap');
@import url('https://fonts.googleapis.com/css2?family=Open+Sans:ital,wght@0,300;0,400;0,600;0,700;0,800;1,300;1,400;1,600;1,700;1,800&display=swap');
@import "postcode.css";

body{
	max-width: 1920px;
		width: 100%;
	margin: auto;
	font-family: Helvetica, sans-serif;
}

.container-fluid{
	font-family: Helvetica, sans-serif;
	padding-right: var(--bs-gutter-x,.0rem);
    padding-left: var(--bs-gutter-x,.0rem);
}

#main{
	max-width: 1920px;
}

/* Error message */

.errormsg {
	height: 0;
	padding-top: 0.5em;
	padding-bottom: 0.5em;
	color: red;
	transform: scaleY(0);
	transition: all 1s;
}

/* Contact Form */

.contactform {
  border: 2px solid #ccc;
  border-radius: 10px;
  background-color: #f7f7f7;
  padding: 10px;
  color: #999;
  /*width: 400px;*/
  position: fixed;
  top: 10%;
  left: 30%;
  margin-top: 0px;
  margin-left: -70px;
  z-index: 10;
  height: auto;
   opacity: 1;
  -webkit-transition: opacity 1000ms linear;
   transition: opacity 1000ms linear;
}

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

#contacterr {
  margin-top: 10px;
  margin-bottom: 10px;
  color: red;
}

#bclose {
  line-height: 1em;
  border-radius: 0;
  padding: 3px 5px;
}

/* Realised by */

#realisedby {

  border: 2px solid #ccc;
  border-radius: 10px;
  background-color: #f7f7f7;
  padding: 1.5em;
  color: #999;
  /*font-family: "Open Sans", "Helvetica", "Arial", sans-serif;*/
  width: 100%;
  max-width: 800px;
  min-height: 500px;
  position: fixed;
  top: 10%;
  left: 30%;
  margin-top: 0px;
  margin-left: -70px;
  z-index: 10;
  height: auto;
  opacity: 1;
  -webkit-transition: opacity 1000ms linear;
  transition: opacity 1000ms linear;


}

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

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

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


/* --- Header --- */



	.head{
		max-width: 1920px;
		width: 100%;
		font-family: Helvetica, sans-serif;
		margin-left: auto;
		margin-right: auto;
	}
	.head img{
		max-width: 400px;
		width: 100%;

	}

	.tlt-head{
		text-align: right;
	}

	.tlt-head a{
		text-decoration: none;
		color: #000;
	}
	
	.head h2{
		padding: 4%;

	}

	.img-head{
		padding: 0;
	}
/* --- End Header --- */

	/*.container{
		display: none;
	}*/

/* --- Intro --- */

	#quiz{
		background: url("../img/bg-quiz.png");
		background-repeat: no-repeat;
		background-size: 120%;
    	background-position-x: center;
    	background-position: bottom;
		background-color: rgba(112, 173, 71, 0.8);
		color: #FFF;
	}

	#bg-end{
		background: url("../img/bg-form.jpg");
		background-repeat: no-repeat;
		display: none;
		background-color: rgba(112, 173, 71, 0.8);
		color: #FFF;
	}

	.text-quiz{
		display: none;
	}


	.question-quiz{
		padding: 8% 0%;

	}
	/* --- Question 1 --- */



	#quest1{
		display: block;
		max-width: 550px;
		width: 100%;
		padding: 40px;
		background-color: #FFF;
		color: #000;
		text-align: center;
		margin-right: auto;
		margin-left: auto;
	}
	.quiz-quest2{
		display: none;
		max-width: 550px;
		height: 300px;
		width: 100%;
		padding: 40px;
		background-color: #FFF;
		color: #000;
		text-align: center;
		margin-right: auto;
		margin-left: auto;
	}

	.quiz-quest3{
		display: none;
		max-width: 550px;
		height: 300px;
		width: 100%;
		padding: 40px;
		background-color: #FFF;
		color: #000;
		text-align: center;
		margin-right: auto;
		margin-left: auto;
	}
	.quiz-quest4{
		display: none;
		max-width: 550px;
		height: 300px;
		width: 100%;
		padding: 40px;
		background-color: #FFF;
		color: #000;
		text-align: center;
		margin-right: auto;
		margin-left: auto;
	}

	.quest{
		font-size: 1.5em;
		font-style: italic;
		color: #3b3838;
	}

	.txt-quest{
		font-size: 1.3em;
		font-weight: bold;
		margin-top: 30px;
	}

	.btn-quest{
		display: inline-block;
	}

	.btn-opt1{
		width: 150px;
		padding: 10px;
		color: #FFF;

		border-radius: 2px;
		background-color: #e08bd1;
		border: 0;
	}

	.btn-opt2{
		width: 150px;
		padding: 10px;
		color: #FFF;
		margin-left: 20px;
		border-radius: 2px;
		background-color: #7cb0cd;
		border: 0;
	}

	/* --- Answer --- */


	#ans1{
		display: none;
		max-width: 550px;
		width: 100%;
		padding: 40px;
		background-color: #FFF;
		color: #000;
		text-align: center;
		margin-right: auto;
		margin-left: auto;
	}

	.quiz-answer2{
		display: none;
		max-width: 550px;
		width: 100%;
		padding: 40px;
		background-color: #FFF;
		color: #000;
		text-align: center;
		margin-right: auto;
		margin-left: auto;
	}

	.quiz-answer3{
		display: none;
		max-width: 550px;

		width: 100%;
		padding: 40px;
		background-color: #FFF;
		color: #000;
		text-align: center;
		margin-right: auto;
		margin-left: auto;
	}
	.quiz-answer4{
		display: none;
		max-width: 550px;

		width: 100%;
		padding: 40px;
		background-color: #FFF;
		color: #000;
		text-align: center;
		margin-right: auto;
		margin-left: auto;
	}

	.answer{
		font-size: 1.5em;
		font-style: italic; 
		color: #3b3838;
	}

	.txt-answer1{
		background-color: #e08bd1;
		padding: 20px;
		border-radius: 5px;
    	margin: auto;
		color: #FFF;
		margin-bottom: 10px;
	}

	.txt-answer2{
		background-color: #7cb0cd;
		padding: 20px;
		border-radius: 5px;
    	margin: auto;
		color: #FFF;
		margin-bottom: 10px;
	}
	.txt-answer3{
		background-color: #e08bd1;
		padding: 20px;
		border-radius: 5px;
    	margin: auto;
		color: #FFF;
		margin-bottom: 10px;
	}

	.txt-answer4{
		background-color: #7cb0cd;
		padding: 20px;
		border-radius: 5px;
    	margin: auto;
		color: #FFF;
		margin-bottom: 10px;
	}

	.txt-answer1 p, .txt-answer2 p, .txt-answer3 p, .txt-answer4 p{
		font-size: 1.3em;
		font-weight: bold;
	}
	.txt-answer span, .txt-answer2 span, .txt-answer3 span, .txt-answer4 span{
		font-size: 1em;
	}

	.btn-answer{
		display: inline-block;
		max-width: 500px;
	}

	.btn1{
		width: 100px;
		padding: 5px;
		color: #FFF;
		border-radius: 2px;
		background-color: #ed7d31;
		border: 0;
	}

	/* --- Form --- */

	.bg-white{
		width: 100%;
    	padding: 5%;

	}

	.bol-card img{
		max-width: 350px;
		width: 100%;

	}


	.text-primary{
		color: #f07d00!important;
		text-align: center;
		font-weight: bold;

	}

	.form-row{
	    display: flex;
	    flex-wrap: wrap;
	}

	.form-row>[class*=col-]{
		padding-right: 5px;
    	padding-left: 5px;
	}

	.form-group{
		margin-bottom: 10px;
	}


	.form-group label{
		font-size: 14px;
	    line-height: 1;
	    color: #7c7c7c;
	}

	/*.form-control{
		max-width:270px;
		height: 48px;
	}*/

	.custom-select{
		display: inline-block;
	    width: 100%;
	    height: 48px;
	    padding: .375rem 1.75rem .375rem .75rem;
	    font-size: 1rem;
	    font-weight: 400;
	    line-height: 1.5;
	    color: #495057;
	    vertical-align: middle;
	    background: #fff;
	    border: 1px solid #ced4da;
    	border-radius: 6px;
	}

	.btn-primary{
		color: #fff;
		width: 100%;
    	background-color: #f07d00;
    	border-color: #f07d00;
    	padding: .5rem 1rem;
    	font-size: 1.25rem;
    	line-height: 1.5;
    	border-radius: .3rem;
	}

	.btn-primary:hover{
		color: #fff;
	    background-color: #ca6900;
	    border-color: #bd6200;
	}

	.btn-primary a{
		text-decoration: none;
		color: inherit;
	}


/* --- Footer --*/

	.position{
		max-width: 1000px;
		width: 100%;
		margin-left: auto;
    	margin-right: auto;
	}

	.cont{

		font-family: "Open Sans", sans-serif;
		text-align: center;
		padding-top: 4%;
	}


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

	.container{
		max-width: 650px;
	}

	form .col-12{
		width:50%;
	}

	.text{
		text-align: center;
	    display: inline-block;
	    width: 100%;
	    margin-top: 20px;

	}

	.bol-card{
		display: inline-block;
	    text-align: center;
	    width: 100%;
	}

	.bg-white{
		margin-bottom: 15px;
	}
}



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

	#quiz{
		background-size: 210%;
    	background-position-x: 35%;
	}


	#quest1, #quest2, #quest3, #quest4, #quest5{
		max-width: 450px;
    	width: 100%;
	}

	#ans1, #ans2, #ans3, #ans4, #ans5{

		max-width: 450px;
    	width: 100%;
	}

	.position{
		width: 90%;
		margin-left: auto;
    	margin-right: auto;
		text-align: center;
	}
	form .col-sm-12{
		width: 100%;
	}

	.bg-white{
		    margin-bottom: 15px;
	}

}

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

	#quiz{
		background-size: 300%;
    	background-position-x: 30%;
	}
	
	#quest1, #quest2, #quest3, #quest4, #quest5{
		max-width: 300px;
    	width: 100%;
    	height: auto;
	}

	#ans1, #ans2, #ans3, #ans4, #ans5{

		max-width: 300px;
    	width: 100%;
    	padding: 30px;
	}

	.btn-answer{
		width: 100%
	}


	.btn-opt2{
		margin-left: 0;
		margin-top: 20px;
	}

	.cont p{
		margin-bottom: 5px;
	}

	.text{
		text-align: center;
		margin-top: 30px;
	}

	.bg-white{
		    margin-bottom: 15px;
	}

	.bol-card{
		text-align: center;
	}

	.bol-card img {
    max-width: 250px;
    width: 100%;
	}

    .form-control{
    	max-width: 100%;
    }

    form .col-12{
		width:100%;
	}
	.custom-select{
		padding: .375rem .75rem .375rem .75rem;
	}

	.head img{
		margin-top: 30px;
	}
}

/* Thank you */

#thankyoubg {
  position: fixed;
  top: 0;
  bottom: 0;
  left: 0;
  right: 0;
  width: 100%;
  min-height: 100%;
  z-index: 9;
  background-color: rgba(0, 0, 0, 0.4);
  overflow:hidden;

}

#thankyoubox {

  border: 2px solid #ccc;
  border-radius: 10px;
  background-color: #f7f7f7;
  padding: 10px;
  color: #999;
  width: 100%;
  max-width: 800px;
  min-height: 500px;
  position: absolute;
  top: 10%;
  left: 30%;
  margin-top: 0px;
  z-index: 10;
  height: auto;
  opacity: 1;
  -webkit-transition: opacity 1000ms linear;
  transition: opacity 1000ms linear;
  background-image: url('../images/thankyou-bg.jpg');
  background-size: cover;
  background-position: -80px;

}

#thankyoutxt {
  margin-left: 60%;
  text-align: center;
  padding-top: 25%;
}

#thankyoutxt1 {
  color: #ea740e;
}

#thankyouhr {
  background-color: #d20f1d;
  height: 5px;
  width: 50%;
  margin: 10px auto 10px auto;
}

.thanks-page{
	max-width: 900px;
	width: 100%;
	margin: auto;
	border: 1px solid #c2c2c2;/* Este border se quitará cuando se haga en popup*/
	background-color: #f4f4f5; 
	position: fixed;
  	top: 10%;
  	left: 50%;
	transform: translateX(-50%);
  	margin-top: 0px;
  	z-index: 10;
  	height: auto;
  	opacity: 1;
  	-webkit-transition: opacity 1000ms linear;
  	transition: opacity 1000ms linear;
}

.info-thanks{
	padding: 25px 40px;
}


.text{
	font-size: 1.2rem;
	line-height: 1.4rem;
	color: #4D4D4D;
	text-align: center;
}

.text h1{
	font-size: 2.5em ;
	font-weight: bold;
	color: #0091A9;
}

.text h4{
	font-size: 1.2em;
	font-weight: bold;
	margin-bottom: 30px;
}

.text span{
	font-size: 1em;
	font-weight: lighter;
}

.line{
	height: 6px !important;
	width: 45%;
	margin: 0 auto 20px;
	color: #0091A9;
	border-radius: 2px;
	opacity: 100%;
}

.more-webs{
	width: 100%;
	margin: 20px auto 30px;

}

.web{
	width: 30%;
	background-color:#fff;
	border: solid 1px #c2c2c2;
	text-align: center;
	margin: 0 auto;
	padding: 25px;
}

.web li{
	text-align: left;
}

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

.list{
	height: 50%;
	margin-top: 20px;
}

.hide{
	display: none;
}


.btn-thanks{
	max-width: 200px;
    width: 100%;
    text-align: center;
    font-family: "Open Sans", sans-serif;
    padding: 10px;
    font-size: 1em;
    color: #ffffff;
    background-color: #e68016;
    border-radius: 5px;
    margin: auto;
    margin-bottom: 10px;
    border: 0;
}

.btn-thanks:hover{
	background-color: #d9580b;
	color: #ffffff;

}

@media screen and (max-width: 750px){
	
	.web{
		width: 66.6666%;
		margin-bottom: 20px;
	}

	.list{
		height: auto;
	}

}

@media screen and (max-width: 500px){
	
	.web{
		width: 95%;
		margin-bottom: 20px;
	}

	.list{
		height: auto;
	}

}
