@import url('https://fonts.googleapis.com/css?family=Lato:300,400,900');

:root
{
	--mainColor: #f5f5f5;
	--secondaryColor: #ff3b36;
	--footerColor: #fafb00;
}

html {
    color: #222;
    font-size: 1em;
    line-height: 1.4;
}

::-moz-selection {
    background: #b3d4fc;
    text-shadow: none;
}

::selection {
    background: #b3d4fc;
    text-shadow: none;
}

hr {
    display: block;
    height: 1px;
    border: 0;
    border-top: 1px solid #ccc;
    margin: 1em 0;
    padding: 0;
}

audio,
canvas,
iframe,
img,
svg,
video {
    vertical-align: middle;
}

fieldset {
    border: 0;
    margin: 0;
    padding: 0;
}

textarea {
    resize: vertical;
}

.browserupgrade {
    margin: 0.2em 0;
    background: #ccc;
    color: #000;
    padding: 0.2em 0;
}

body {
	font-family: 'Lato', sans-serif;
	font-size: 16px;
	line-height: 1.5;
}

.wrapper {
    width: 90%;
	max-width: 1170px;
    margin: 0 auto;
}

section h2 { font-size: 50px; letter-spacing: 0.5px; }






.header-container{ background: var(--mainColor); height: auto; line-height: 0; text-align: center; position: relative; border-bottom: 5px solid #ddd; }

header{}
.headerlogo{ margin: 5px auto 3px auto; max-width: 95%; }

#menu { display: block; position: absolute; top: 40%; right: 10px; }
.navigation { list-style: none; display: flex; flex-direction: row; justify-content: flex-end; margin: 0;}
.navigation li { padding: 10px; }
.navigation a { color: #fff; background: #ff3b36; padding: 5px 10px; text-decoration: none; -webkit-border-radius: 6px; -moz-border-radius: 6px; border-radius: 6px; }
.navigation a:hover { color: #333; background: #f7f7f7; text-decoration: underline; }

.main-container { background: #f7f7f7; }
.main{}

section#toppart{ margin-top: 0px; text-align: center; background: #fafb00; padding: 15px 0 0px 0; }

section#toppart ul.numbers { width: 100%; list-style-type: none; margin:0; padding: 0; }
section#toppart ul li { background-color: #ff3b36; color: #fff; margin: 0 5px; padding: 5px 15px; font-weight: bold; display: inline-block; text-align: center; font-size:20px; }
section#toppart ul li.active { background-color: #fff; color: #000; }

section#toppart .clkSelImg { width: 98%; text-align: center; list-style-type: none; margin:0 auto; padding: 0; }
section#toppart .clkSelImg li { background-color: transparent; width: 120px; padding: 0; margin: 0; position:relative; margin: 0 5px; }
section#toppart .clkSelImg h4 { text-align: center; font-size: 20px; font-weight: bold; color: #000; margin: 3px 0; line-height: 1; }
section#toppart .clkSelImg span { display: block; width: 120px; height: 160px; cursor: pointer; position: absolute; }
section#toppart .clkSelImg span.thActive { background: url("../img/form/th-logo.png") center center no-repeat; }
section#toppart .clkSelImg.opaque span.thActive { height: 120px; /*background: rgba(255,255,255,0.5) url("../img/form/th-logo.png") center center no-repeat;*/ }

section#toppart .clkSelImg .bodyTypeImg { -webkit-border-radius: 6px; -moz-border-radius: 6px; border-radius: 6px; border: 3px solid #feff66; max-width: 100%; }
section#toppart .clkSelImg.opaque .bodyTypeImg { -webkit-border-radius: 6px; -moz-border-radius: 6px; border-radius: 6px; border: none; max-width: 100%; }

.topimg{ display: inline-block; width: 440px; height: 570px; background: #999; -webkit-border-radius: 5px; -moz-border-radius: 5px; border-radius: 5px; margin-left: 15px; vertical-align: middle; text-align: center; position: relative; }
 .snpContent{ position: relative; }

.mainTitle {	display: inline-block; width: 37%;	text-align: center; position: relative; vertical-align: middle; }
.mainTitle h1 { font-size: 34px; line-height: 1.2; font-weight: 900; margin: 0 auto; vertical-align: middle; text-shadow: 2px 2px 1px rgba(255, 255, 255, 1); }


.snpImgs { cursor: pointer; max-width: 100%; }
.getsslink { cursor: pointer; }

.next, .prev
{
	z-index: 2;
    position: absolute;
    bottom: 50%;
    border: none;
    outline: 0;
    background: rgba(255,255,255,0.2);
    color: #fff;
	line-height: 1;
	height: 75px;
	width: 65px;
	font-family: "MS Sans Serif", Geneva, sans-serif;
	font-weight: lighter;

}

.next span, .prev span
{
	font-size: 70px;
	transform: scaleX(0.3);
	transform: scaleX(0.3);
	display: inline-block;
}

.next {
	right: 0px;
	-webkit-border-top-left-radius: 50%;
	-webkit-border-bottom-left-radius: 50%;
	-moz-border-radius-topleft: 50%;
	-moz-border-radius-bottomleft: 50%;
	border-top-left-radius: 50%;
	border-bottom-left-radius: 50%;
}
.prev {
	left: 0px;
	-webkit-border-top-right-radius: 50%;
	-webkit-border-bottom-right-radius: 50%;
	-moz-border-radius-topright: 50%;
	-moz-border-radius-bottomright: 50%;
	border-top-right-radius: 50%;
	border-bottom-right-radius: 50%;
}

#countclock
{
	display: block;
	position: absolute;
	top: 15px;
	right: 15px;
	width: 50px;
	height: 50px;
}

#countnumber
{
	color: #fff;
	font-weight: 700;
	letter-spacing: -1px;
	text-align: center;
	line-height: 50px;
	font-size: 20px;
	display: block;
	position: absolute;
	top: 0;
	left: 0;
	right: 0;
	bottom: 0;
	z-index: 9;

}

#countimg
{
	width: 50px;
	height: 50px;
	background: url("../img/timer.png") center center no-repeat;
	background-size: 100%;
	display: block;
	position: absolute;
	top: 0;
	left: 0;
	right: 0;
	bottom: 0;
	z-index: 5;
}

.rotating {
    -webkit-animation: rotating-function 1.25s linear infinite;
    -moz-animation: rotating-function 1.25s linear infinite;
    -ms-animation: rotating-function 1.25s linear infinite;
    -o-animation: rotating-function 1.25s linear infinite;
    animation: rotating-function 1.25s linear infinite;
}

@-webkit-keyframes rotating-function {
  from {
    -webkit-transform: rotate(0deg);
  }
  to {
    -webkit-transform: rotate(360deg);
  }
}

@-moz-keyframes rotating-function {
  from {
    -moz-transform: rotate(0deg);
  }
  to {
    -moz-transform: rotate(360deg);
  }
}

@-ms-keyframes rotating-function {
  from {
    -ms-transform: rotate(0deg);
  }
  to {
    -ms-transform: rotate(360deg);
  }
}

@-o-keyframes rotating-function {
  from {
    -o-transform: rotate(0deg);
  }
  to {
    -o-transform: rotate(360deg);
  }
}

@keyframes rotating-function {
  from {
    transform: rotate(0deg);
  }
  to {
    transform: rotate(360deg);
  }
}


.bigbutton{ -webkit-border-radius: 5px; -moz-border-radius: 5px; border-radius: 5px; width: 49%; height: 120px; margin: 0 0.8%; background:#dddddd; display: inline-block;  vertical-align: text-top; position: relative; }

.bigbutton.bbselected {  background: var(--secondaryColor); }

#sbuttons { text-align: center; }
#sbuttons a { text-decoration: none; }
.bigbutton {  -webkit-border-radius: 5px; -moz-border-radius: 5px; border-radius: 5px; background: var(--secondaryColor);  padding: 20px; margin-top: 20px; text-align: center; border: solid 3px #000; margin: 0 auto; max-width: 350px; -webkit-box-shadow: 8px 8px 0px 0px rgba(250,251,0,1); -moz-box-shadow: 8px 8px 0px 0px rgba(250,251,0,1); box-shadow: 8px 8px 0px 0px rgba(250,251,0,1); width: 49%; margin:0.5%; }
.bigbutton:hover { background: #f0f022; cursor: pointer; }
.bigbutton:hover h3, .bigbutton:hover h4 { color:#000; }
.bigbutton .btncont { display: table; width: 100%; height: 100%; }
.bigbutton h3{ color: #fff; font-size: 45px; font-weight: 900; text-transform: uppercase; margin: 0; letter-spacing: 1px; line-height: 1.2; display: table-cell; vertical-align: middle; }
.bigbutton h4{ color: #fff; font-size: 30px; font-weight: 900; text-transform: uppercase; margin: 0; letter-spacing: 1px; line-height: 1.2; display: table-cell; vertical-align: middle; }

#step1 .bigbutton:hover { background: #fff; }
#step1 .bigbutton { width: 75%; height: 60px; }
#step1 .bigbutton h3{ font-size: 35px; }
#step1 .bigbutton h4{ font-size: 26px; }

#lastbtn.bigbutton h3{ font-size: 35px; }
#lastbtn.bigbutton{ height: 60px; }

#modalmaintxt { font-weight: 300; }
#modalrules { display: none; }
#modalrules p{ text-align: justify; }

.btnAgree
{
    color: white;
    border-radius: 4px;
    text-shadow: 0 1px 1px rgba(0, 0, 0, 0.2);
    background: rgb(28, 184, 65);
    display: block;
    margin: 0 auto;
    padding: 0 25px;
    line-height: 2;
    text-align: center;
    font-size: 130%;
    font-weight: 900;
    letter-spacing: 1px;
}


#step10 form .mainimg { -webkit-border-radius: 10px; -moz-border-radius: 10px; border-radius: 10px; border: 3px solid #feff66; }
#step10 form h4 {font-size: 25px; margin: 0; }
#step10 form .req-symbol { color: red; }
#step10 form input#email { width: 100%; max-width: 550px; height: 28px; font-size: 22px; padding: 0 5px; }
#step10 form input#email.error { border: solid 2px red; }
#step10 form .field-description {}
#step10 form .checkbox-wrap { display: grid; grid-template-columns: 2fr 15fr; grid-template-rows: 1fr; gap: 2px 2px; }
#step10 form .reqwrp {align-self: center; text-align: right; }
#step10 form .description { align-self: center; text-align: left; margin-left: 15px; vertical-align: middle; }

#step10 form .req { display: inline-block; font-size: 30px; line-height: 1; vertical-align: middle; top: 6px; position: relative; }
#step10 form  .fld { display: inline-block; line-height: 1; vertical-align: middle; }
#step10 form #fieldcheck {}

#step10 form .description p {}
#step10 form .description p a {}

@keyframes spinny
{
	0%
	{
		transform: rotate(0deg) scale(0.1,0.1);
		opacity: 1;
	}
 	50%
	{
 		transform: rotate(720deg) scale(1.5,1.5);
 	}
	70%
	{
		filter: none;
		opacity: 1;
	}
	100%
	{
		filter: blur(100px);
		opacity: 0;
	}
}

.scaledIMG
{
	-webkit-animation: scaleDownIMG 1.5s linear 0s 1 forwards;
	animation: scaleDownIMG 1.5s linear 0s 1 forwards;
}

@keyframes scaleDownIMG
{
	0%
	{
		max-height: 570px;
	}
	100%
	{
		max-height: 410px;
	}
}

.scaled
{
	-webkit-animation: scaleDown 1.5s linear 0s 1 forwards;
	animation: scaleDown 1.5s linear 0s 1 forwards;
}

@keyframes scaleDown
{
	0%
	{
		margin-top: 22px;
		margin-bottom: 16px;
		width: 262px;
	}
	100%
	{
		margin-top: 0px;
		margin-bottom: 0px;
		width: 0px;
	}
}

.spinner
{
	text-align: center;
	position: absolute;
	top: 20%;
	left: 40%;
	animation: spinny 1.5s linear 0s 1 normal;
	opacity: 0;
	transform: scale(1.5,1.5);
	z-index: 999;
	pointer-events: none;
}


section#mLogos{ margin-top: 100px; }
section#mLogos h2{}
.asseenwrp{ background: #f7f7f7; padding: 20px 0; }
section#mLogos h2 { margin:  20px auto 0 auto; line-height: 1; }
section#mLogos img { max-width: 19%; margin: 0 0.4%; }

.footer-container{ background: var(--footerColor); border-top: 10px solid #ddd; }
footer{ padding: 20px 0; }
footer p{ font-size: 13px; color: #8f8f8f; text-align: center; padding: 0 10%; }

.footernav{ font-size: 13px; color: #fff; text-align: center; font-weight: 300; }
.footernav a{ color: #000; text-decoration: none; font-weight: normal; }
.footernav a:hover{ color: #000; text-decoration: underline; }


/* ==========================================================================
   Media Queries
   ========================================================================== */

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

}

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

}

@media only screen and (max-width: 1024px)
{
	.topimg { display: block; margin: 0 auto; }
	section h2 { font-size: 35px; letter-spacing: 0; line-height: 1.2; }
}

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

	.wrapper { width: 100%; max-width: 98%; margin: 0 auto; }
	.topimg { max-width: 100%; }
	section#toppart { margin-top: 0px; text-align: center; }

	section h2 { font-size: 28px; letter-spacing: 0; line-height: 1.1; text-align: center; margin-top: 50px; }
	.bigbutton { width: 98%; margin: 0 auto; display: block; position: relative; height: 100px; }

	.remodal { padding: 15px; }

}

@media only screen and (max-width: 649px)
{
	#menu { display: none; }
	.header-container { display: none; }
	.bigbutton h3 { font-size: 24px; }
	.bigbutton h4 { font-size: 22px; }
	.header-container { background: var(--footerColor); border-bottom: none; }
	.header-container header { display: inline-block; width: 100px; }
	#menu { display: inline-block; position: relative; top: 0; right: 0; vertical-align: middle; }
	.navigation { padding-left: 10px; display: block; flex-direction: unset; justify-content: normal; }
	.navigation li { margin: 15px 0; }
	.navigation .liSep { display: none; }
	.mainTitle { width: 100%; line-height: 1; }
	.mainTitle h1 { font-size: 24px; margin-top: 10px; }
	#sbuttons { margin-top: -20px; }
	#step7 #sbuttons .wrapper, #step8 #sbuttons .wrapper, #step9 #sbuttons .wrapper { display: flex; flex-direction: column; }
	#next7b, #next8b, #next9b { order: 2; margin-bottom: 30px; }
	#next7, #next8, #next9 { order: 1; margin-top: 15px;}
  .bigbutton, #step1 .bigbutton { width: 90%; height: 45px; padding: 10px; margin-bottom: 10px; }
	section#toppart { padding: 0; }
	.onlydsk { display: none;  font-size: 24px; }
	section#toppart p { line-height: 1.2; max-width: 100% !important; }
	section#toppart .clkSelImg li { width: 100px; }
	section#toppart .clkSelImg span { width: 100px; height: 140px;}
	section#toppart .clkSelImg span.thActive { background-size: contain; }
	#step10 form input#email { max-width: 320px; height: 25px; font-size: 20px;	}
	#step10 form .mainimg { max-width: 97%; }
	.spinner { left: 0%; animation: spinny 1.5s linear 0s 1 normal; opacity: 0; max-width: 100%;}
	.spinner img { max-width: 100%; }
	section#mLogos { margin-top: 0px; }
	section#mLogos img { max-width: 17.5%; margin: 0 0.4%; }
	#step1 #toppart { padding-top: 10px; }

}

@media only screen and (min-width: 649px)
{
	.onlymvl { display: none; }
	#menu { display: block; }
	.header-container { display: block; }
}

@media only screen and (max-width: 480px)
{
	#modalmaintxt { line-height: 1.2; font-size: 1.5em; }
	#modalrules p { text-align: justify; font-size: 14px; line-height: 1.3; }
}

@media only screen and (max-width: 440px)
{
	.topimg { width: 100%; height: calc(100%*0.772); }
}
/* ==========================================================================
   Helper classes
   ========================================================================== */

.hidden {
    display: none !important;
    visibility: hidden;
}

.visuallyhidden {
    border: 0;
    clip: rect(0 0 0 0);
    height: 1px;
    margin: -1px;
    overflow: hidden;
    padding: 0;
    position: absolute;
    width: 1px;
}

.visuallyhidden.focusable:active,
.visuallyhidden.focusable:focus {
    clip: auto;
    height: auto;
    margin: 0;
    overflow: visible;
    position: static;
    width: auto;
}

.invisible {
    visibility: hidden;
}

.clearfix:before,
.clearfix:after {
    content: " ";
    display: table;
}

.clearfix:after {
    clear: both;
}

.clearfix {
    *zoom: 1;
}

/* ==========================================================================
   Print styles
   ========================================================================== */

@media print {
    *,
    *:before,
    *:after {
        background: transparent !important;
        color: #000 !important;
        box-shadow: none !important;
        text-shadow: none !important;
    }

    a,
    a:visited {
        text-decoration: underline;
    }

    a[href]:after {
        content: " (" attr(href) ")";
    }

    abbr[title]:after {
        content: " (" attr(title) ")";
    }

    a[href^="#"]:after,
    a[href^="javascript:"]:after {
        content: "";
    }

    pre,
    blockquote {
        border: 1px solid #999;
        page-break-inside: avoid;
    }

    thead {
        display: table-header-group;
    }

    tr,
    img {
        page-break-inside: avoid;
    }

    img {
        max-width: 100% !important;
    }

    p,
    h2,
    h3 {
        orphans: 3;
        widows: 3;
    }

    h2,
    h3 {
        page-break-after: avoid;
    }
}
