﻿html {
    height: 100%;
}

body {
    font-family: url(../fonts/Yekan.ttf);
    color: rgb(230, 144, 33);
    display: flex;
    font-size: 1rem;
    height: 100%;
    background-image: url("../image/background-2.jpg");
    background-repeat: no-repeat;
    background-size: cover;
    overflow-x:hidden !important
}
main {
    height: 100vh;
    display: flex;
    justify-content: center;
    align-items: center;
}
span, a, h1, h2, h3, h4, h5, h6, div {
    font-family: 'B Yekan' !important;
}

.page-header {
    margin-bottom: 1rem;
    margin-left: 1rem;
    margin-right: 1rem;
    border-bottom: 1px solid #9c9393;
}

.image {
    margin-top: 1rem;
    filter: drop-shadow(0 0 0.75rem #9c9393);
}

.center {
    display: flex;
    justify-content: center;
    align-items: center;
}

.center-title {
    text-align: center;
    font-size: 2rem;
    /*position: absolute;*/
    left: 0;
    right: 0;
    top: 50%;
}

    .center-title p {
        line-height: 1.5;
        font-family: 1.5rem;
        display: inline-block;
        vertical-align: middle;
    }

.radio-person-type {
    list-style-type: none;
    line-height: 2;
    font-size: 1.2rem;
}

.fa-sync:before {
    content: "\f021";
}

.box {
    text-align: center;
    background-color: white;
    min-width: 50rem;
    min-height: 35rem;
    border-radius: 10px;
    position: relative;
    filter: drop-shadow(0 0 0.75rem #9c9393);
}

.body-center {
    direction: rtl;
    top: 46%;
    left: 0;
    right: 0;
}

.title {
    font-size: 1.8rem;
}

button {
    font-family: 'B Yekan';
    font-size: 1rem;
    text-align: center;
    margin-top: 3rem;
}

.action {
    display: block;
    margin-bottom: 1rem;
}

.continue {
    background-color: #E2791D;
    margin: 1rem;
    padding: 0 1rem;
    font-size: 1.2rem;
    border-radius: 3px;
}

.caption {
    font-size: .8rem;
    margin: 5px !important;
}

.text-input {
    display: block;
    width: 70%;
    margin-right: 1rem;
    height: 1.8rem;
    padding-right: .5rem;
    font-family: 'B Yekan';
    font-size: 1rem;
}

.continue:hover {
    background-color: #E59A1B;
}

.start {
    text-align: center;
    position: relative;
}

.active {
    display: flex !important;
}

    .active > div:first-child {
        display: flex;
        justify-content: space-between;
        flex-direction: column;
        align-items: center;
        padding: 0 1rem;
    }

.page {
    position: relative;
    transition: all 2s ease;
    display: none;
}



/*.page {
    display: none;
}

.page {
    display: none;
}

.page {
    display: none;
}

.page {
    display: none;
}

.page {
    display: none;
}

.page {
    display: none;
}

.page {
    display: none;
}

.page {
    display: none;
}

.page {
    display: none;
}

.page {
    display: none;
}*/

.description {
    color: rgb(107, 107, 229);
}

.description {
    text-align: initial;
    font-size: 1rem;
    line-height: 1.8rem;
    text-align: justify;
    margin: 2rem;
}

.condition-item {
    list-style-type: none;
    line-height: 1.8;
    font-size: 1.2rem;
    text-align: start;
    margin: 0 1rem;
}

    .condition-item > li {
        display: flex;
    }

    .condition-item input[name="condition-trader"] {
        display: inline-block;
        margin-left: 0.2rem;
    }

.degree-type-item {
    list-style-type: none;
    text-align: start;
    line-height: 1.8;
}

.legal-item {
    list-style-type: none;
    text-align: start;
    line-height: 1.8;
    font-size: 1.2rem;
}

.animation {
    animation-name: left-to-right;
    animation-duration: 1s;
    transition: all 1s ease;
}

.error {
    color: red;
}

.slide-in-right {
    -webkit-animation: slide-in-right 0.5s cubic-bezier(0.250, 0.460, 0.450, 0.940) both;
    animation: slide-in-right 0.5s cubic-bezier(0.250, 0.460, 0.450, 0.940) both;
}

@keyframes left-to-right {
    from {
        left: 0;
        position: relative;
        opacity: 1;
    }

    to {
        position: relative;
        left: 3000;
        opacity: 0.5;
    }
}

@-webkit-keyframes slide-in-right {
    0% {
        -webkit-transform: translateX(0);
        transform: translateX(0);
        opacity: 1;
    }

    100% {
        -webkit-transform: translateX(1000px);
        transform: translateX(1000px);
        opacity: 0;
    }
}

@keyframes slide-in-right {
    0% {
        -webkit-transform: translateX(0);
        transform: translateX(0);
        opacity: 1;
    }

    100% {
        -webkit-transform: translateX(1000px);
        transform: translateX(1000px);
        opacity: 0;
    }
}

.inputGroup {
    background-color: #fff;
    display: block;
    margin: 10px 0;
    position: relative;
    text-align: -webkit-center
}

    .inputGroup label {
        padding: 12px 30px;
        min-width: 20%;
        display: block;
        color: #3C454C;
        cursor: pointer;
        position: relative;
        z-index: 2;
        transition: color 200ms ease-in;
        overflow: hidden;
        border-radius: 7px;
        border: 1px solid black;
        display: inline-block;
    }

        .inputGroup label:before {
            width: 10px;
            height: 10px;
            border-radius: 50%;
            content: '';
            /*background-color: #5562eb;*/
            background-color: #ec7538de;
            position: absolute;
            left: 50%;
            top: 50%;
            transform: translate(-50%, -50%) scale3d(1, 1, 1);
            transition: all 300ms cubic-bezier(0.4, 0, 0.2, 1);
            opacity: 0;
            z-index: -1;
        }

    /*.inputGroup label:after {
            width: 32px;
            height: 32px;
            content: '';
            border: 2px solid #D1D7DC;
            background-color: #fff;
            background-image: url("data:image/svg+xml,%3Csvg width='32' height='32' viewBox='0 0 32 32' xmlns='http://www.w3.org/2000/svg'%3E%3Cpath d='M5.414 11L4 12.414l5.414 5.414L20.828 6.414 19.414 5l-10 10z' fill='%23fff' fill-rule='nonzero'/%3E%3C/svg%3E ");
            background-repeat: no-repeat;
            background-position: 2px 3px;
            border-radius: 50%;
            z-index: 2;
            position: absolute;
            right: 30px;
            top: 50%;
            transform: translateY(-50%);
            cursor: pointer;
            transition: all 200ms ease-in;
        }*/

    .inputGroup input:checked ~ label {
        color: #fff;
    }

        .inputGroup input:checked ~ label:before {
            transform: translate(-50%, -50%) scale3d(56, 56, 1);
            opacity: 1;
        }

        .inputGroup input:checked ~ label:after {
            background-color: #54E0C7;
            border-color: #54E0C7;
        }

    .inputGroup input {
        width: 32px;
        height: 32px;
        order: 1;
        z-index: 2;
        position: absolute;
        right: 30px;
        top: 50%;
        transform: translateY(-50%);
        cursor: pointer;
        visibility: hidden;
    }

.form {
    padding: 0 16px;
    max-width: 550px;
    margin: 50px auto;
    font-size: 18px;
    font-weight: 600;
    line-height: 36px;
}

.custom-upload {
    padding: 24px 20px;
    height: auto;
}

.custom-file {
    left: 0;
    right: 0;
}

    .custom-file-input ~ .custom-file-label::before {
        content: "";
        position: absolute;
        right: 165px;
        font-family: "Font Awesome 5 Free";
        color: #fff;
        font-weight: 900;
        font-size: 20px;
        z-index: 22;
    }

    .custom-file-input:lang(en) ~ .custom-file-label::after {
        content: "فایل";
    }

.upload-file label.custom-file-label:after {
    background: #2d35a5;
    color: #fff;
    border-radius: 0;
    padding: 24px;
    height: 80px;
    width: 244px;
    text-align: center;
    margin-right: 1rem;
}

.custom-file-label {
    border: 1px solid #000;
    /* height: 49px; */
    top: 62%;
    margin: auto;
    right: 0;
    left: 0;
    padding: 2.1rem;
}

.new-otp {
    cursor: pointer;
    color: red !important;
}

.default-otp {
    cursor: default;
    color: black !important;
}

.captcha-input {
    position: relative;
    margin: 0;
    padding: 0;
    direction: rtl;
}

.captcha-inside {
    position: absolute;
    bottom: 5px;
    left: 10px;
}

.loader {
    position: absolute;
    left: 50%;
    top: 50%;
    z-index: 1;
    width: 120px;
    height: 120px;
    margin: -76px 0 0 -76px;
    border: 16px solid #f3f3f3;
    border-radius: 50%;
    border-top: 16px solid #3498db;
    -webkit-animation: spin 2s linear infinite;
    animation: spin 2s linear infinite;
}

    .loader ~ page {
        opacity: 0.7;
    }

.form-check input.form-check-input {
    float: right !important;
    margin-left: 0.3rem
}

.input-file-trigger {
    outline: none;
    padding: 10px 15px;
    background: #39D2B4;
    color: black;
    font-size: 1.1em;
    transition: all .4s;
    cursor: pointer;
    text-align: center;
    border-radius: 50px !important;
}

    .input-file-trigger:hover, .input-file-trigger:focus {
        background: #34495E;
        color: #39D2B4;
        outline: none
    }

@-webkit-keyframes spin {
    0% {
        -webkit-transform: rotate(0deg);
    }

    100% {
        -webkit-transform: rotate(360deg);
    }
}

@keyframes spin {
    0% {
        transform: rotate(0deg);
    }

    100% {
        transform: rotate(360deg);
    }
}

/* Add animation to "page content" */
.animate-bottom {
    position: relative;
    -webkit-animation-name: animatebottom;
    -webkit-animation-duration: 1s;
    animation-name: animatebottom;
    animation-duration: 1s
}

@-webkit-keyframes animatebottom {
    from {
        bottom: -100px;
        opacity: 0
    }

    to {
        bottom: 0px;
        opacity: 1
    }
}

@keyframes animatebottom {
    from {
        bottom: -100px;
        opacity: 0
    }

    to {
        bottom: 0;
        opacity: 1
    }
}

@media only screen and (max-width:900px) {
    .center-title {
        font-size: 1.5rem;
    }

    .box {
        min-width: 30rem;
        min-height: 30rem;
    }

        .box .page-header img {
            width: 10rem;
        }
}

@media only screen and (max-width:600px) {
    .center-title {
        font-size: 1.2rem;
    }

    body {
        font-weight: 200 !important;
    }

    .box {
        min-width: 25rem;
        min-height: 30rem;
    }

        .box .page-header img {
            width: 10rem;
        }
}

@media only screen and (max-width:400px) {
    .center-title {
        font-size: 1rem;
    }

    html {
        width: 100%;
    }

    main {
        width: 100%;
    }

    .box {
        width:100vw;
        min-width: 100%;
        min-height: 60vh;
    }

        .box .page-header img {
            width: 7rem;
        }

    .title {
        font-size: 1.2rem;
    }

    .inputGroup label {
        width: 80%;
    }

    .image {
        width: 200px;
    }

    .captcha-input {
        position: relative;
        display: flex;
    }

    .captcha-inside {
        position: absolute;
        overflow: hidden;
        width: 100px;
        height: 100%;
    }

        .captcha-inside img {
            position: absolute;
            top: 9px;
            left: 20px;
        }

    .captcha-input a {
        position: absolute;
        left: 0px;
        top: 10px;
    }
}
