/* RESET */

html, body, div, span, applet, object, iframe, h1, h2, h3, h4, h5, h6, p, blockquote, pre, a, abbr, acronym, address, big, cite, code, del, dfn, em, img, ins, kbd, q, s, samp, small, strike, strong, sub, sup, tt, var, b, u, i, center, dl, dt, dd, ol, ul, li, fieldset, form, label, legend, table, caption, tbody, tfoot, thead, tr, th, td, article, aside, canvas, details, embed, figure, figcaption, footer, header, hgroup, menu, nav, output, ruby, section, summary, time, mark, audio, video {margin: 0; padding: 0; border: 0; font-size: 100%; font: inherit; vertical-align: baseline; } article, aside, details, figcaption, figure, footer, header, hgroup, menu, nav, section {display: block; } body {line-height: 1; } ol, ul {list-style: none; } blockquote, q {quotes: none; } blockquote:before, blockquote:after, q:before, q:after {content: ''; content: none; } table {border-collapse: collapse; border-spacing: 0; }


/* FONTS  */

@font-face {
  font-family: source;
  font-weight: normal;
  src: url(../fonts/source-regular.woff2);
}

@font-face {
  font-family: source;
  font-weight: bold;
  src: url(../fonts/source-bold.woff2);
}


/* GLOBAL  */

:root {
	--black     : #30363A;
	--dark-grey : #A6B7BE;
	--grey      : #d6d7d8;
	--light-grey: #F2F4F9;
}

body {
	font-family: source, sans-serif;
	font-size: 12px;
	font-weight: normal;
	line-height: 1.2;
	padding-bottom: 80px;
}

header {
	background: var(--grey);
	padding-top: 40px;
	padding-bottom: 38px;
	text-align: center;
}

header img {
	width: 145px;
}

@media (min-width: 1000px) {

	body {
		padding-bottom: 0;
	}

	header {
		text-align: left;
		background: #fff;
		padding: 35px 50px;
		height: 90px;
		box-sizing: border-box;
	}

}

.btn {
	display: block;
	margin: 0 auto;
	padding: 0 75px;
	height: 42px;
	width: max-content;
	line-height: 40px;
	border: 1px solid var(--black);
	border-radius: 7px;
	font-size: 14px;
	color: var(--black);
	font-weight: bold;
	text-decoration: none;
	background: #fff;
	position: relative;
	cursor: pointer;
}
a.btn { line-height: 42px }
.loading,
.error,
.success {
    pointer-events: none;
}
.loading {
    opacity: 0.5;
}

/*.btn:after {
	content: '';
	display: block;
	height: 25px;
	width: 25px;
	border-radius: 25px;
	border: 1px solid var(--black);
	background: url(../images/arrow.svg) no-repeat;
	background-size: 12px;
	background-position: center;
	position: absolute;
	right: 7px;
	top: 7px;
    transition: 0.2s all;
}
.btn.down:after {
	transform: rotate(90deg);
}
.btn.success:after {
    background-image: url(../images/check.svg);
}
.btn.error:after {
    background-image: url(../images/error.svg);
}
.btn.right:hover:after {
    right: 3px;
}
.btn.down:hover:after {
    top: 9px;
}*/

/* CAROUSEL */

.dark {
	background: var(--black);
	padding-top: 25px;
	padding-bottom: 170px;
	position: relative;
	z-index: 1;
}

.dark small {
    color: #fff;
    margin-left: 15px;
    font-size: 10px;
    margin-top: 7px;
    display: block;
}

.owl-carousel figure {
    height: 0;
    width: calc(100% - 30px);
    margin-left: 15px;
    padding-top: 56.25%;
    background-size: cover;
    background-position: center;
	border-radius: 14px;
	box-shadow: 0 0 10px rgba(0,0,0,0.5);
    position: relative;
}

.owl-carousel figure small {
    display: none;
}

@media (min-width: 1000px) {

	.dark {
		padding: 0;
        background: none;
        overflow: hidden;
	}

    .dark > small {
        display: none;
    }

	.owl-carousel figure {
		border-radius: 0;
		box-shadow: none;
        position: relative;
		height: 110vh;
        width: 100vw;
        padding-top: 0;
        margin: 0;
	}

    .owl-carousel figure small {
        position: absolute;
        bottom: 20px;
        right: 25px;
        display: block;
        text-shadow: 1px 1px 1px rgba(0,0,0,0.75);
    }

    .owl-carousel:before {
        content: '';
        width: 100%;
        height: 400px;
        background: var(--black);
        position: absolute;
        bottom: 0;
        left: 0;
    }

}


/* FORM */

main {
	background: #fff;
	border-radius: 14px;
	padding: 25px 20px;
	margin: -150px 15px 25px;
	width: calc(100% - 30px);
	box-shadow: 0px 4px 30px rgba(166, 183, 190, 0.6);
	box-sizing: border-box;
	text-align: center;
	overflow: hidden;
	position: relative;
	z-index: 2;
}

h1 {
	font-size: 18px;
	font-weight: bold;
	margin-top: 10px;
	margin-bottom: 30px;
}

h2 {
	font-size: 10px;
	font-weight: bold;
	color: var(--dark-grey);
	text-transform: uppercase;
}

h3 {
    font-size: 22px;
    margin-bottom: 20px;
}

hr {
	width: 100%;
	height: 1px;
	background: var(--black);
	border: none;
	margin-bottom: 20px;
}

@media (min-width: 1000px) {

	main {
		margin: 0;
		position: absolute;
		top: 150px;
		left: 50px;
		width: 400px;
		box-shadow: 0px 4px 30px rgba(48, 54, 58, 0.5);
	}

	h2 { font-size: 16px }
	h1 { font-size: 26px }

}

/**/

form {
	display: flex;
	flex-flow: row wrap;
	gap: 15px;
}

form div {
	text-align: left;
}
div.centered {
  width: max-content;
  display: flex;
  margin: 0 auto;
}
div.half { width: calc(50% - 7.5px); }
div.full { width: 100%; }

label {
	display: block;
	font-size: 10px;
	color: var(--dark-grey);
	margin-bottom: 3px;
	cursor: pointer;
}

input,
select {
	width: 100%;
	padding: 12px;
	box-sizing: border-box;
	font-weight: bold;
	font-size: 12px;
	text-align: center;
	background: var(--light-grey);
	border-radius: 7px;
	border: none;
}
input:active,
select:active,
input:focus,
select:focus {
	outline: 2px solid var(--black);
}

input[type=checkbox] {
	-webkit-appearance: none;
  	appearance: none;
	height: 14px;
	width: 14px;
	border: 1px solid var(--black);
	border-radius: 14px;
	background: #fff;
	margin: 0 7px 0 0;
	padding: 0;
	outline: none !important;
	cursor: pointer;
}
input[type=checkbox]:checked {
	background: var(--black);
}

input[type=checkbox] + label {
	color: var(--black);
	font-weight: bold;
	position: relative;
	top: 2px;
}

input.disabled,
select.disabled {
    pointer-events: none;
}

form > a,
form small {
	font-size: 8px;
	width: 100%;
	display: block;
	text-align: center;
	color: var(--black);
	margin-top: -5px;
}

.hooman {
	position: absolute;
	top: 0;
	left: -10000px;
}

.error:not(button) {
    color: red !important;
}

a.download { display: none !important }

p.result {
    font-size: 14px;
    margin-top: 15px;
    display: block;
    display: none;
}
p.error {
    color: red;
}

small.disclaimer {
    display: block;
    text-align: justify;
    font-size: 8px;
    margin-top: 20px;
}

@media (min-width: 1000px) {

	label { font-size: 12px }
	input, select { font-size: 14px }

	#download {
		position: absolute;
		bottom: 50px;
		right: 50px;
		z-index: 2;
	}

}


/**/
/* POPUP */
/**/

div.popup {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    align-items: center;
    justify-content: center;
    background: rgba(48, 54, 58, 0.5);
    z-index: 10;
    display: flex;
    opacity: 0;
    visibility: hidden;
    transition: 0.2s all;
}
div.popup.on {
    visibility: visible;
    opacity: 1;
}

div.popup div.pwrap {
    width: 100%;
    max-width: 600px;
    padding: 20px;
    margin: 20px;
    text-align: center;
    background: #fff;
    border-radius: 14px;
    box-shadow: 0px 4px 30px rgba(48, 54, 58, 0.5);
    position: relative;
}

div.popup div.pwrap *:not(label) {
    margin-bottom: 20px;
}

div.popup input[type=text] {
    max-width: 400px;
}

#close_popup {
    position: absolute;
    top: 10px;
    right: 10px;
    cursor: pointer;
}

#new_otp {
    font-size: 0.9em;
    text-decoration: underline;
    cursor: pointer;
}

@media (min-width: 1000px) {

    div.popup div.pwrap {
        padding: 50px;
    }
}
