/*basic reset*/

* {
    margin: 0;
    padding: 0;
}

@font-face {
    font-family: 'oswald';
    src: url('./fonts/Oswald[wght].ttf');
}

@font-face {
    font-family: 'form';
    src: url('./fonts/Comfortaa[wght].ttf');
}

html {
    height: 100%;
}

.modal-header ul li {
    display: block;
}

body {
    font-family: 'myfont2';
    width: 100%;
    height: 100%;
    overflow-x: hidden;
    padding: 0;
    margin: 0%;
}

.flex-container {
    display: flex;
    flex-flow: row wrap;
    font-weight: bold;
    text-align: center;
}


/*datepipcker*/



/* #*/

#form {
    background: #ffffff;
    height: 90vh;
    padding: 0;
}

.steps {
    z-index: 1;
    position: relative;
}

.steps ul li {
    display: block;
}

.step_child {
    position: relative;
    text-align: center;
    margin: auto;
    max-width: 225px;
    padding: 20px 15px;
    background: #272727;
    margin-bottom: 30px;
    border-top-right-radius: 50%;
    height: 140px;
    flex: 2;
    order: 2;
}

.step-text {
    font-size: 18px;
    font-family: 'form';
    color: #ffffff;
    z-index: 4;
    max-width: 120px;
    padding-top: 25px;
    position: relative;
    float: right;
}
.step-img {
    width: 52px;
    height: auto;
    text-align: center;
    margin: auto;
    position: relative;
    z-index: 4;
    float: left;
}

.green-flag {
    position: absolute;
    width: 107.7px;
    height: 138px;
    z-index: 3;
    opacity: 0.3;
    left: -27%;
    transition: all 0.2s ease;
}

.green-flag1 {
    background-color: #747474;
    top: -2%;
    clip-path: polygon(8% 4%, 118% 21%, 100% 100%, 0 98%);
}

.green-flag2 {
    background-color: #ff652f;
    top: 5%;
    clip-path: polygon(11% 14%, 90% 0%, 100% 86%, 0 100%);
}

.green-flag3 {
    background-color: #e6ce05;
    top: 7%;
    clip-path: polygon(-9% -14%, 115% 0%, 57% 91%, 0 84%);
}

.green-flag4 {
    background-color: #44D62C;
    top: 0%;
    clip-path: polygon(0% 0, 79% 0%, 100% 100%, 0 100%);
}


/*=============================================
fieldset 
==============================================*/

fieldset {
    background: #fff;
    padding: 30px;
    border-radius: 20px;
    position: relative;
}

fieldset h1 {
    font-size: 35px;
    padding-bottom: 50px;
    font-family: 'anton';
    color: #272727;
    z-index: 4;
    text-shadow: -2px 3px 1px #ffffff6b;
    position: relative;
}

fieldset input,
fieldset button {
    background: #ffffff;
    border: 2px solid #7474741f;
    border-bottom: transparent;
    border-right: transparent;
    padding: 20px;
    margin: 20px 0;
    box-shadow: 11px 11px 9px #dad3ce4f;
    transition: all 0.1s ease-in;
    border-top-left-radius: 20px;
    outline: none;
    z-index: 3;
    width: 100%;
    position: relative;
    font-size: 14px;
    font-family: 'form'!important;
}

fieldset input::placeholder {
    color: #747474;
    font-size: 13px;
    font-family: 'form';
}

fieldset button {
    width: 100%;
}

fieldset button:hover {
    background: #747474;
    transform: translate(4px, -4px);
}

fieldset input:active::placeholder,
fieldset input:focus::placeholder {
    color: #b9b8b8;
    font-size: 13px;
    font-family: 'form';
}

fieldset input:active, fieldset input:focus {
    border: 1px solid #272727;
    box-shadow: 0px 0px 0px #dad3ce;
    transform: translate(8px, -3px);
    background: #fff!important;
}
input[type="file"]:focus,
input[type="radio"]:focus,
input[type="checkbox"]:focus {
    outline: thin dotted;
    outline: none!important;
    transform: none;
}

.form-margin {
    margin-bottom: 30px;
}

.form-margin h2 {
    font-size: 16px;
    font-weight: 600;
    font-family: 'form';
    margin: 40px 0 0 35px;
}
.line-form-end {
    width: 100%;
    height: 251px;
    background-color: #272727;
    opacity: 0.4;
    position: absolute;
    z-index: 4;
    top: 173px;
    clip-path: polygon(3% 100%,0% 7%,9% 0%, 93% -8%, 87% 104%, 8% 96%);
}
.end-form {
    top: -122px;
    padding: 22% 0;
    position: relative;
    width: 100%;
    text-align: center;
    font-family: 'form';
    z-index: 3;
    background: #fff;
    animation: gradientBG 8s ease infinite;
    clip-path: polygon(10% 12%, 79% 4%, 92% 85%, 7% 98%);
}
.end-form p{
    position: relative;
    z-index: 5;
    top: 0px;
    line-height: 70px;
    font-size: 40px;
    color: #272727;
}
.over-form-end{
    webkit-filter: drop-shadow(-1px 6px 3px rgba(41, 66, 38, 0.644));
    filter: drop-shadow(10px 8px 8px rgba(41, 66, 38, 0.644));
}
@keyframes gradientBG {
	0% {
		background-position: 0% 50%;
	}
	50% {
		background-position: 100% 50%;
	}
	100% {
		background-position: 0% 50%;
	}
}
.out-input-border {
    position: absolute;
    z-index: 1;
    width: 91%;
    height: 61px;
    top: 16%;
    left: 6%;
    border-top-left-radius: 20px;
    border: 1px solid #74747459;
}

.out-input-border p {
    font-size: 18px;
    font-family: 'form';
    color: #fff;
    background: #272727;
    letter-spacing: 1px;
    font-weight: 500;
    padding: 17px;
    position: relative;
}

.payment-border {
    margin-bottom: 50px;
    position: relative;
}

.time-certificate,
.time-certificate-text {
    display: inline-block;
}

.time-certificate {
    margin-right: 30px;
}

.time-certificate-text {
    font-size: 15px;
    font-family: 'form';
    padding: 20px 30px;
}

.certificate-time-text {
    font-size: 14px;
    font-family: 'form';
    padding: 20px 0;
    margin-right: 30px;
}

.anime-out,
.anime-in {
    -webkit-animation-name: fadeIn;
    animation-name: fadeIn;
}

@-webkit-keyframes fadeIn {
    from {
        opacity: 0;
    }
    to {
        opacity: 1;
    }
}

@keyframes fadeIn {
    from {
        opacity: 0;
    }
    to {
        opacity: 1;
    }
}


/*country list*/

.autocomplete {
    position: relative;
    display: inline-block;
}

.autocomplete-items {
    position: absolute;
    border: 1px solid #d4d4d4;
    border-bottom: none;
    border-top: none;
    z-index: 99;
    top: 100%;
    left: 0;
    font-family: 'anton';
    right: 0;
}

.autocomplete-items div {
    padding: 10px;
    cursor: pointer;
    background-color: #fff;
    border-bottom: 1px solid #d4d4d4;
    font-family: 'form';
}

.autocomplete-items div:hover {
    background-color: #e9e9e9;
}


input[type="radio"] {
    background-color: #fff;
    color: white;
    border: 1.5px solid #747474!important;
    border-radius: 50%;
    cursor: pointer;
    display: inline-block;
    height: 20px;
    position: relative;
    width: 20px;
    -webkit-appearance: none;
}

input[type="radio"]:after {
    background-color: #fff;
    border-radius: 50%;
    content: '';
    display: block;
    height: 16px;
    position: relative;
    width: 17px;
    /* clip-path: polygon(0% 50%,100% 0%,0% 100%,0% 100%); */
}

input[type="radio"]:checked:after {
    background-color: #44D62C;
    padding: 0px!important;
}

.payment-card {
    display: block;
    margin: 30px 0;
}

.payment-card div {
    position: absolute;
}

.payment-card input {
    position: relative;
}

.payment-border p {
    text-align: left;
}

.payment-border p span {
    text-align: right;
}

.data-text {
    font-size: 14px;
    font-family: 'anton';
}


/*===================================test===============================================*/

.title {
    text-transform: uppercase;
    text-align: center;
    margin-bottom: 30px;
    color: #FF8F00;
    font-weight: 300;
    font-size: 24px;
    letter-spacing: 1px;
}

.description {
    text-align: center;
    color: #666;
    margin-bottom: 30px;
}

label:first-child {
    margin-bottom: 0;
    border-bottom: none;
}

.required:after {
    content: " - (required)";
    line-height: 1;
    font-weight: 600;
}

.button,
.prev-button,
.rerun-button {
    display: inline-block;
}

.button.rerun-button,
.rerun-button.rerun-button {
    border: 1px solid rgba(255, 255, 255, 0.6);
    margin-bottom: 50px;
    box-shadow: 0px 10px 15px -6px rgba(0, 0, 0, 0.2);
    display: none;
}

.text-center {
    text-align: center;
}

.modal-wrap {
    min-height: 100vh;
    overflow: hidden;
    display: block;
    position: relative;
    padding-bottom: 100px;
    margin: 50px auto;
    transition: -webkit-transform 300ms ease-in-out;
    transition: transform 300ms ease-in-out;
    transition: transform 300ms ease-in-out, -webkit-transform 300ms ease-in-out;
}

.modal-header {
    background: white;
    display: flex;
    justify-content: center;
    align-items: center;
    border: none;
}

.modal-bodies {
    position: relative;
    -webkit-perspective: 1000px;
    perspective: 1000px;
}

.modal-body {
    background: white;
    box-shadow: 0px 50px 30px -30px rgba(0, 0, 0, 0.3);
    margin-bottom: 50px;
    position: relative;
    top: 0;
    display: none;
    box-sizing: border-box;
    width: 100%;
    -webkit-transform-origin: top left;
    transform-origin: top left;
}

.modal-body.is-showing {
    display: block;
}

.button,
.prev-button {
    position: relative;
    text-align: center;
    margin: 32px auto 0 auto;
}

.btn-fade {
    width: 100%;
}

.products p {
    color: #747474;
    text-align: left;
    font-size: 16px;
    font-family: "Helvetica Neue", Helvetica, Arial, sans-serif;
}

.products h1 {
    font-family: inherit;
}

.step-text span {
    color: #272727;
    outline: none;
    visibility: hidden;
}

.steps-number {
    display: inline-block;
    font-size: 64px;
    font-weight: 900;
    top: 64px;
    left: 23px;
    color: #272727;
    z-index: 5;
    vertical-align: middle;
    position: absolute;
    font-family: 'Courier New', Courier, monospace;
}


/*============================*/

* {
    box-sizing: border-box;
}

body {
    background-color: #f1f1f1;
}

#regForm {
    margin: 100px auto;
    padding: 40px;
    width: 100%;
    min-width: 300px;
}

.navbar-default .navbar-nav>li>a {
    margin-top: -17px!important;
    color: #333333;
    background-color: rgb(253, 253, 253);
}

h1 {
    text-align: center;
}

input {
    padding: 10px;
    width: 100%;
    font-size: 17px;
    font-family: Raleway;
    border: 1px solid #aaaaaa;
}

input.invalid{
    border: 1px solid red;
}

input:valid {
    outline: none;
    border: 1px solid #44D62C;
    background-color: #fff;
}

.tab {
    display: none;
}

#prevBtn {
    background-color: #bbbbbb;
}

.step {
    position: absolute;
    width: 50px;
    height: 138px;
    z-index: 3;
    left: -9%;
    transition: all 0.2s ease;
    opacity: 0.4;
    display: block;
}

.step.active {
    width: 107.7px;
    opacity: 1;
    left: 0;
}

.step1 {
    background-color: #747474;
    top: -2%;
    clip-path: polygon(8% 4%, 118% 21%, 100% 100%, 0 98%);
}

.step2 {
    background-color: #ff652f;
    top: 0%;
    clip-path: polygon(11% 14%, 90% 0%, 100% 86%, 0 100%);
}

.step3 {
    background-color: #e6ce05;
    top: 7%;
    clip-path: polygon(-9% -14%, 115% 0%, 57% 91%, 0 84%);
}

.step4 {
    background-color: #44D62C;
    top: 0%;
    clip-path: polygon(0% 0, 79% 0%, 100% 100%, 0 100%);
}

button {
    background-color: rgb(68, 214, 44, 0.5);
    color: #181818;
    font-weight: bold;
    margin-top: 20px;
    border: none;
    padding: 10px 20px;
    font-size: 22px;
    font-family: 'Courier New', Courier, monospace;
    cursor: pointer;
}

.buttons-form {
    margin: auto;
    text-align: center;
    position: relative;
}

button:hover {
    opacity: 1;
    background-color: rgb(68, 214, 44, 1);
}

#prevBtn {
    background-color: #bbbbbb;
}

#prevBtn:hover {
    background-color: #9e9e9e;
}
.social ul {
    margin: 60px 0 0 35px!important;
}

/* Mark the steps that are finished and valid: -----------------------------------------------------*/

.step.finish {
    left: 0;
    opacity: 1;
    width: 107.7px;
}
.margin-add{
    margin-left: 4.5%;
}


