@font-face {
    font-family: YekanBold;
    src: url('../Yekan/Bold/Yekan-Bakh-Bold.eot');
    src: url('../Yekan/Bold/Yekan-Bakh-Bold.eot?#iefix') format('embedded-opentype'),
        url('../Yekan/Bold/Yekan-Bakh-Bold.woff2') format('woff2'),
        url('../Yekan/Bold/Yekan-Bakh-Bold.woff') format('woff'),
        url('../Yekan/Bold/Yekan-Bakh-Bold.ttf') format('truetype');
    font-weight: normal;
}

@font-face {
    font-family: YekanRegular;
    src: url('../Yekan/Regular/Yekan-Bakh-Regular.eot');
    src: url('../Yekan/Regular/Yekan-Bakh-Regular.eot?#iefix') format('embedded-opentype'),
        url('../Yekan/Regular/Yekan-Bakh-Regular.woff2') format('woff2'),
        url('../Yekan/Regular/Yekan-Bakh-Regular.woff') format('woff'),
        url('../Yekan/Regular/Yekan-Bakh-Regular.ttf') format('truetype');
    font-weight: normal;
}

@font-face {
    font-family: YekanHeavy;
    src: url('../Yekan/Heavy/Yekan-Bakh-Heavy.eot');
    src: url('../Yekan/Heavy/Yekan-Bakh-Heavy.eot?#iefix') format('embedded-opentype'),
        url('../Yekan/Heavy/Yekan-Bakh-Heavy.woff2') format('woff2'),
        url('../Yekan/Heavy/Yekan-Bakh-Heavy.woff') format('woff'),
        url('../Yekan/Heavy/Yekan-Bakh-Heavy.ttf') format('truetype');
    font-weight: normal;
}

body {
    position: relative;
    background: #FFFFFF;
}

.labelRe{
    direction: rtl;
    color: #4f4f4f;
    font-family: 'YekanHeavy';
    margin-left: 50px;
    font-weight: 400;
    font-size: 16px;
    font-style: normal;
}
.colS{
    display: flow-root;
}
#header {
    position: relative;
    width: 100%;
    height: 150px;
    left: 0px;
    top: 0px;
    background: #FFFFFF;
    box-shadow: 0px 14px 104px rgba(0, 0, 0, 0.12);
    border-radius: 0px 0px 48px 48px;
}

#header img {
    width: 257px;
    min-height: 100px;
    max-height: 100px;
    display: table;
    margin-left: auto;
    margin-right: auto;
    margin-top: 30px;
}

#section1 {
    display: table;
    margin-left: auto;
    margin-right: auto;
    margin-top: 8%;
    margin-bottom: 8%;
    width: 60%;
    height: 118px;
}

.file-upload-wrapper {
    position: relative;
    width: 100%;
    height: 60px;
}

.file-upload-wrapper:after {
    content: attr(data-text);
    font-size: 18px;
    position: absolute;
    top: 0;
    right: 0;
    background: #d9d4d4;
    padding: 10px 15px;
    display: block;
    width: calc(100% - 40px);
    pointer-events: none;
    z-index: 20;
    line-height: 40px;
    color: #999;
    border-radius: 5px 10px 10px 5px;
    font-weight: 300;
    font-family: YekanRegular;
}

.file-upload-wrapper:before {
    content: "انتخاب فایل";
    position: absolute;
    top: 0;
    left: 0;
    display: inline-block;
    height: 60px;
    background: #4daf7c;
    color: #fff;
    z-index: 25;
    font-size: 16px;
    line-height: 60px;
    padding: 0 15px;
    text-transform: uppercase;
    pointer-events: none;
    border-radius: 5px 0px 0px 5px;
    font-family: YekanRegular;
    font-weight: 400;
}

.file-upload-wrapper:hover:before {
    background: #3d8c63;
}

.file-upload-wrapper input {
    opacity: 0;
    position: absolute;
    top: 0;
    right: 0;
    bottom: 0;
    left: 0;
    z-index: 99;
    height: 40px;
    margin: 0;
    padding: 0;
    display: block;
    cursor: pointer;
    width: 100%;
}

#section1 .title {
    position: relative;
    top: 10%;
    font-family: 'YekanHeavy';
    font-style: normal;
    font-weight: 900;
    font-size: 40px;
    line-height: 50px;
    text-align: center;
    letter-spacing: -0.03em;
    color: #000000;
    display: flex;
    justify-content: center;
    margin: 0px;
}

#section1 .content {
    position: relative;
    font-family: 'YekanRegular';
    ;
    font-style: normal;
    font-weight: 400;
    font-size: 18px;
    line-height: 28px;
    text-align: center;
    /*letter-spacing: -0.03em;*/
    color: #565656;
    margin-top: 3%;
    direction: rtl;
}

.input {
    width: 100%;
    direction: rtl !important;
    float: right;
    padding: 10px;
    display: block;
}

.input input {
    float: right;
    display: flex;
    flex-direction: row;
    justify-content: flex-end;
    align-items: center;
    padding: 20px 32px;
    gap: 10px;
    width: 100%;
    height: 65px;
    background: #F2F2F2;
    border: none;
    border-radius: 16px;
    font-family: 'YekanRegular';
    font-style: normal;
    font-weight: 400;
    font-size: 16px;
    line-height: 25px;
    text-align: right;
}

input:focus {
    background: #fff;
    outline: 1px solid #828282;
    transition: 1s;
}

.form {
    position: relative;
    display: block;
    margin-left: auto;
    margin-right: auto;
    width: 80%;
}

.part1 {
    position: relative;
    display: block;
}

.select {
    width: 100%;
    direction: rtl !important;
    float: right;
    position: relative;
    display: block;
    padding: 10px;
}

.small {
    width: 50% !important;
}

.big {
    width: 100% !important;
}

.part1 select,
.radio {
    float: right;
    display: flex;
    flex-direction: row;
    justify-content: flex-end;
    align-items: center;
    padding: 20px 32px;
    gap: 10px;
    height: 65px;
    background: #F2F2F2;
    border: none;
    border-radius: 16px;
    font-family: 'YekanRegular';
    font-style: normal;
    font-weight: 400;
    font-size: 16px;
    line-height: 25px;
    text-align: right;
    direction: rtl;
}

.radioPart {
    width: 100%;
    float: right;
    display: grid;
    flex-direction: row;
    align-items: center;
    gap: 10px;
    border: none;
    border-radius: 16px;
    font-family: 'YekanRegular';
    font-style: normal;
    font-weight: 400;
    font-size: 16px;
    line-height: 25px;
    text-align: right;
    direction: rtl;
}

.radio input[type="radio"],
.radio-inline input[type="radio"] {
    position: relative;
    margin-top: 10px !important;
    margin-left: 0px !important;
}

.radio label {
    padding-left: 0px !important;
}

.btn-group {
    direction: ltr;
    border: 2px solid #e3e3e3;
    border-radius: 20px;
}

.btn-link {
    font-size: 25px;
}

.radioPart p {
    font-family: 'YekanHeavy';
}

.btn-link:first-child {
    border-top-right-radius: 20px !important;
    border-bottom-right-radius: 20px !important;
}

.btn-link:last-child {
    border-top-left-radius: 20px !important;
    border-bottom-left-radius: 20px !important;
}

.radioSel {
    margin-left: 20px;
    margin-top: -5px;
}

.hr {
    float: right;
    display: flex;
    flex-direction: row;
    justify-content: flex-end;
    align-items: center;
    background: #F2F2F2;
    margin-right: 30px;
    margin-top: 30px;
    position: relative;
    width: 93%;
    height: 0px;
    border: 1px solid #CACACA;
    transform: rotate(180deg);
}

.phone {
    float: right;
    flex-direction: row;
    justify-content: flex-end;
    align-items: center;
    padding: 20px 32px;
    gap: 10px;
    width: 93% !important;
    direction: rtl !important;
    display: inline-table;
    height: 65px;
    border: none;
    border-radius: 16px;
    font-family: 'YekanRegular';
    font-style: normal;
    font-weight: 400;
    font-size: 16px;
    line-height: 25px;
    text-align: right;
    margin-right: 30px;
    margin-top: 30px;
}

.phone label {
    direction: rtl padding-left: 0px !important;
    font-weight: normal;
    display: flex;
    justify-content: center;
    align-items: center;
}

.radioPart textarea {
    width: 100%;
    height: 100px;
    background: rgb(242, 242, 242) none repeat scroll 0% 0%;
    border-radius: 16px;
    border: 0px solid #e3e3e3;
    padding: 15px;
    resize: none;
}

.radioPart textarea:focus {
    background: #fff;
    outline: 1px solid #828282;
    transition: 1s;
}

.slidecontainer {
    width: 100%;
}

.slider {
    -webkit-appearance: none;
    width: 100%;
    height: 15px;
    border-radius: 5px;
    background: #d3d3d3;
    outline: none;
    opacity: 0.7;
    -webkit-transition: .2s;
    transition: opacity .2s;
}

.slider:hover {
    opacity: 1;
}

.slider::-webkit-slider-thumb {
    -webkit-appearance: none;
    appearance: none;
    width: 25px;
    height: 25px;
    border-radius: 50%;
    background: #04AA6D;
    cursor: pointer;
}

.slider::-moz-range-thumb {
    width: 25px;
    height: 25px;
    border-radius: 50%;
    background: #04AA6D;
    cursor: pointer;
}

.input button {
    float: right;
    align-items: center;
    padding: 20px 32px;
    gap: 10px;
    width: 45%;
    height: 65px;
    background: green;
    border: none;
    border-radius: 16px;
    font-family: 'YekanHeavy';
    font-style: normal;
    font-weight: 400;
    font-size: 20px;
    line-height: 25px;
    text-align: center;
    margin-right: 30px;
    margin-top: 30px;
}

/* TOGGLE STYLING */
.toggle {
    margin: 0 0 1.5rem;
    box-sizing: border-box;
    font-size: 0;
    display: flex;
    flex-flow: row-reverse;
    justify-content: flex-start;
    align-items: stretch;
}

.toggle input {
    width: 0;
    height: 0;
    position: absolute;
    left: -9999px;
}

.toggle input+label {
    width: -moz-available;
    margin: 0;
    padding: 0.75rem 2rem;
    box-sizing: border-box;
    position: relative;
    display: inline-block;
    border: solid 1px #DDD;
    background-color: #FFF;
    font-size: 1rem;
    line-height: 140%;
    font-weight: 600;
    text-align: center;
    box-shadow: 0 0 0 rgba(255, 255, 255, 0);
    font-family: YekanRegular;
    font-weight: 400;
    font-size: 2rem;
    cursor: pointer;
    transition: border-color 0.15s ease-out, color 0.25s ease-out, background-color 0.15s ease-out, box-shadow 0.15s ease-out;
    /* ADD THESE PROPERTIES TO SWITCH FROM AUTO WIDTH TO FULL WIDTH */
    /*flex: 0 0 50%; display: flex; justify-content: center; align-items: center;*/
    /* ----- */
}

.toggle input+label:first-of-type {
    border-radius: 0 20px 20px 0;
    border-right: none;
}

.toggle input+label:last-of-type {
    border-radius: 20px 0 0 20px;
    border-left: none;
}

.toggle input:hover+label {
    background-color: #f5f5f5;
}

.toggle input:checked+label {
    background-color: #4B9DEA;
    color: #FFF;
    box-shadow: 0 0 10px rgba(102, 179, 251, 0.5);
    border-color: #4B9DEA;
    z-index: 1;
}

.toggle input:focus+label {
    outline: dotted 1px #CCC;
    outline-offset: 0.45rem;
}

@media (max-width: 800px) {
    .toggle input+label {
        padding: 0.75rem 0.25rem;
        flex: 0 0 50%;
        display: flex;
        justify-content: center;
        align-items: center;
    }
}

/* STYLING FOR THE STATUS HELPER TEXT FOR THE DEMO */
.status {
    margin: 0;
    font-size: 1rem;
    font-weight: 400;
}

.status span {
    font-weight: 600;
    color: #B6985A;
}

.status span:first-of-type {
    display: inline;
}

.status span:last-of-type {
    display: none;
}

@media (max-width: 800px) {
    .status span:first-of-type {
        display: none;
    }

    .status span:last-of-type {
        display: inline;
    }
}

@media only screen and (max-width: 800px) {
    .toggle {
        display: block !important;
    }

    .toggle input+label:first-of-type {
        border-radius: 20px 20px 0 0 !important;
    }

    .toggle input+label:last-of-type {
        border-radius: 0 0 20px 20px !important;
    }

    .changeV,
    .verifyV {
        display: contents !important;
    }

    .phone {
        display: contents;
        margin-right: 20px !important;
    }

    .labelPhone {
        margin-left: 0px !important;
    }

    .labelDesc {
        margin-left: 0px !important;
        text-align: center !important;
    }
}

@media only screen and (max-width: 500px) {
    .small {
        width: 100% !important;
    }

    .toggle {
        display: block !important;
    }

    .toggle input+label:first-of-type {
        border-radius: 20px 20px 0 0;
        border-right: none;
    }

    .toggle input+label:last-of-type {
        border-radius: 0 0 20px 20px;
        border-left: none;
    }

    .phone {
        display: contents;
        margin-right: 20px !important;
    }

    .labelPhone {
        margin-left: 0px !important;
    }

    .labelDesc {
        margin-left: 0px !important;
        text-align: center !important;
    }

    .file-upload-wrapper::after {
        font-size: 1rem;
    }

    .input button {
        width: 100%;
    }
}

@media only screen and (max-width: 300px) {
    .radioSel {
        margin-left: 0px !important;
    }

    .labelRe {
        margin-left: 0px !important;
    }

    .radio input[type="radio"] {
        position: absolute !important;
    }
}