:root {
    /* --main-color: #7e9eb0 */
    /* --main-color: var(--main-color); */
    --main-color: #21739d;

}

/* main{
    padding: 20px 0;
} */


.signContent {
    display: flex;
    justify-content: space-between;
    align-items: center;
    flex-wrap: wrap;
    max-width: 1080px;
    box-shadow: 5px 5px 2px;
    padding: 20px;
    background-color: rgba(238, 238, 238, 0.075);
    position: relative;

}

.signContent::before {
    content: '';
    position: absolute;
    top: 0;
    right: 0;
    height: 100%;
    width: 100%;
    background-color: #aaa;
    opacity: 0.3;
    z-index: -1;
    /* filter: drop-shadow(0px 20px 10px rgba(0, 0, 0, 0.3)); */
}

.signContent .hr-down {
    width: 90%;
    margin: 10px auto;

}

/* inputs */

.signContent input,
.signContent textarea {
    /* margin-bottom: 10px; */
    font-size: 20px;
    padding: 10px;
    margin: 5px 0;
    width: 30%;
    border-radius: 5px;
    border: 0.5px solid #888;
    outline: none;
    background-color: #fff;
    white-space: pre-wrap;
    /* new line detect*/

    /* border: none; */
}

/* .signContent textarea{
    width: 100%;
} */


.signContent input.linkClass:focus,
.signContent input.linkClass {
    text-align: left;
    /* transition: 0.5s; */
}

/* Chrome, Safari, Edge, Opera */
input::-webkit-outer-spin-button,
input::-webkit-inner-spin-button {
    display: none;

}

/* Firefox */
input[type=number] {
    -moz-appearance: textfield;
}

.signContent input.EmailLeader,
.signContent input.linkClass,
.signContent input.phoneNumber,
.signContent textarea.DescribeClass {
    width: 100%;
    /* margin-top: 20px; */
}


.signContent textarea.DescribeClass {
    resize: none;
    font-size: 15px;
    min-height: 100px;
    transition: 0.5s;
    position: relative;
}

.signContent input.phoneNumber {
    direction: ltr;
    /* transition: 0.5s; */

}

.signContent input:focus,
.signContent textarea.DescribeClass:focus {
    border: 0.5px solid var(--main-color);
    box-shadow: 0 0 5px var(--main-color);
    outline: none;

}

.changableInput {
    transition: 0.5s;
    opacity: 1;

}

.showDifference {
    -webkit-animation-name: showDifference;
    animation-name: showDifference;
    -webkit-animation-duration: 0.5s;
    animation-duration: 0.5s;


}

/* show Inputs in right place */
.signContent.form1 input[type="url"]{
    display: flex;
}
.signContent.form1 .phoneNumber{
    display: none;
}
.signContent.form2 input[type="url"]{
    display: none;
}
 
.signContent.form2 .phoneNumber{
    display: flex;
}

/* Global Class */
.divsnumClass{
    width: 30%;
    position: relative;
}
.divsnumClass input[type="text"]{
    width: 100%;
}
.divsnumClass.notActive input[type="text"]{
    background-color: #eee;
    pointer-events: none;
}

.divsnumClass .globalClass{
    
    position: absolute;
    top: 50%;
    left: 15%;
    transform: translate(-50%,-50%);

    height: 60%;
    color: #333;
    /* color: var(--main-color); */
    font-size: 15px;
    display: none;
    transition: .3s;
    
}
.divsnumClass:hover .globalClass{
    display: flex;
    justify-content: center;
    align-items: center;
    flex-direction: row;
}
.divsnumClass.notActive .globalClass{
    display: flex;
    justify-content: center;
    align-items: center;
    flex-direction: row;
}
.divsnumClass .globalClass input[type="checkbox"]{
    display: none;
}
.divsnumClass .globalClass input + label{
    cursor: pointer;
    border-radius: 20px;
    padding: 5px;
}
.divsnumClass .globalClass input + label i{
    border-radius: 5px;
    /* border: 2px solid var(--main-color); */
    border: 1px solid #333;
    color: #fff;
}
.divsnumClass .globalClass input:checked + label{
    /* color: var(--main-color); */
    background-color: var(--main-color);
    border-radius: 10px;
    padding: 5px;
    color: #fff;
}
.divsnumClass .globalClass  input:checked + label i{
    border: none;
}

/* button */

.signContent button {
    padding: 10px 20px;
    font-size: 20px;
    font-weight: 500;
    border-radius: 5px;
    border: none;
    color: #eee;
    background-color: var(--main-color);
    border: var(--main-color) 0.5px solid;
    cursor: pointer;
    margin: 0 5px;

}

.signContent button:hover {
    background-color: #eee;
    color: var(--main-color);
    border: var(--main-color) 0.5px solid;
    /* border-radius: 20px; */
}

.signContent button:focus {
    background-color: #eee;
    color: var(--main-color);
    border: var(--main-color) 0.5px solid;

}

.signContent label.labelDesc {
    display: flex;
    justify-content: center;
    align-items: center;
    margin-top: 10px;
    width: 100%;
    text-align: right;
    line-height: 0.5;
    background-color: #fff;
    padding: 20px;
    box-shadow: 0 0 5px #888;
    cursor: pointer;
}

.signContent label.labelDesc p {

    position: relative;
}

.signContent label.labelDesc p span.arrow {

    position: absolute;
    top: 0;
    left: -18px;
    height: 0;
    width: 0;
    border-top: 10px solid #333;
    border-left: 8px solid transparent;
    border-right: 8px solid transparent;
    transition: .3s;
    
    
}
.signContent label.labelDesc p span.arrow::before{
    content: '';
    position: absolute;
    top: -15px;
    left: -8px;
    height: 0;
    width: 0;
    border-top: 10px solid #fff;
    border-left: 8px solid transparent;
    border-right: 8px solid transparent;
    transition: .3s;
}
.signContent label.labelDesc p span.choice{
    color: #888;
    font-size: 15px;
}
/* more information for insert */
.moreInfo{
    /* display: flex; */
    display: none;
    justify-content: center;
    align-items: center;
    flex-direction: column;
    width: 100%;
    box-shadow:  0 -2px 5px  #888 inset;
    background-color: #ddd;
    padding: 10px;

}
.moreInfo .ClassLocation{
    display: flex;
    justify-content: right;
    align-items: center;
    gap: 10px;
    width: 100%;
}
.moreInfo .ClassLocation input[type="text"]{
    width: 50%;
}



/* CheckDiv */

.checkboxDiv {
    width: 100%;
    position: relative;
    text-align: right;
    color: #888;



}

.signContent .checkboxDiv input[type="checkbox"] {
    width: 10%;
    box-shadow: none;

}


/* Checker Form */
.checkers {
    width: 100%;
    background-color: #eee;
    display: flex;
    justify-content: space-around;
    align-items: center;
    /* padding-top: 80px; */


}
.checkers input[type="radio"]+label {
    padding: 10px;
    width: 100%;
    cursor: pointer;
    opacity: 0.3;
    position: relative;

}

input[id="form1"]:hover+label,
input[id="form2"]:hover+label {
    color: var(--main-color);
    opacity: 1;
    /* border-bottom: 2px solid var(--main-color); */
}

input[id="form1"]:hover+label::before,
input[id="form2"]:hover+label::before{
    opacity: 1;
    background-color: var(--main-color);
}


input[id="form1"]:checked+label,
input[id="form2"]:checked+label {
    color: var(--main-color);
    font-weight: 700;
    opacity: 1;
    transition: .3s;
}

input[id="form1"]+label::before,
input[id="form2"]+label::before {
    content: '';
    position: absolute;
    bottom: 0;
    right: 0;
    width: 100%;
    height: 2px;
    background-color: #333;
}
input[id="form1"]:checked+label::before,
input[id="form2"]:checked+label::before {
    content: '';
    background-color: #21739d;
    -webkit-animation-name: moveLine;
    animation-name: moveLine;
    -webkit-animation-duration: 0.5s;
    animation-duration: 0.5s;
}
input[id="form1"]+label::after,
input[id="form2"]+label::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 2px;
    height: 100%;
    background-color: #eee;
}

input[id="form1"]:checked+label::after,
input[id="form2"]:checked+label::after {
    content: '';
    /* background-color: forward; */
    -webkit-animation-name: moveLineV;
    animation-name: moveLineV;
    -webkit-animation-duration: 0.5s;
    animation-duration: 0.5s;
    -webkit-animation-fill-mode: forwards;
    animation-fill-mode: forwards;
    -webkit-animation-delay: 0.4s;
    animation-delay: 0.4s;
}

input[id="form1"]:checked+label span,
input[id="form2"]:checked+label span {
    position: absolute;
    right: 0;
    top: 0;
    background-color: var(--main-color);
    /* transition: 2s; */

}

input[id="form1"]:checked+label .sp1,
input[id="form2"]:checked+label .sp1 {
    width: 2px;
    height: 20px;

}

input[id="form1"]:checked+label .sp2,
input[id="form2"]:checked+label .sp2 {
    width: 20px;
    height: 2px;

}

.insertDefaultClassDiv {
    width: 100%;
}

.insertDefaultClassDiv button#insertDClassButton {
    background-color: transparent;
    color: var(--main-color);
    font-size: 1px;
    display: block;
    padding: 5px 10px;
    transition: .2s;

}

.insertDefaultClassDiv button#insertDClassButton:hover {
    background-color: var(--main-color);
    color: #fff;

}


/* Choose Gender Radio buttons */
.chooseGender {
    display: flex;
    justify-content: right;
    align-items: center;
    flex-direction: row;
    position: relative;
    width: 100%;
    height: 100%;
    gap: 10px;
    margin-top: 10px;
    margin-bottom: 10px;
}

.chooseGender input {
    display: none;
}

.chooseGender label {
    display: inline-block;
    text-align: center;
    margin: 0;
    padding: 10px 5px;
    border: 1px solid #888;
    border-radius: 10px;
    background-color: transparent;
    cursor: pointer;
    height: 100%;
    width: 70px;

    transition: .3s;
    /* min-height: 55px; */
}

.chooseGender label:hover {
    /* background-color: var(--main-color); */
    color: var(--main-color);
    border: 1px solid var(--main-color);

}

.chooseGender input:checked+label {
    background-color: var(--main-color);
    color: #eee;
    border: 1px solid var(--main-color);
    font-weight: 700;
}

.chooseGender input:first-of-type:checked+label {
    background-color: #888;
    border: 1px solid #888;
}
.upbox{
    width: 100%;
    height: 80px;
    /* background-color: red; */
}

input[type="reset"]{
    cursor: pointer;
}


/* Looding */
/* from https://codepen.io/MOHAMMED_ALSIDDIG/pen/JjvBeKw  with some changes :)*/

.loader-body {
    display: flex;
    justify-content: center;
    align-items: center;
    width: 100px;
    height: 100px;
    border-radius: 300px;
    /* position: relative; */
    position: fixed;
    border: 1px solid rgb(228, 223, 223);
    background-color: rgb(228, 223, 223);
    box-shadow: 1px 1px 25px 1px var(--main-color);
    z-index: 10;
}

.loader-title {
    color: var(--main-color);
    font-size: 25px;
    letter-spacing: 10px;
    text-transform: uppercase;
    opacity: 0.8;
    -webkit-animation: 5s title-anim linear infinite;
    animation: 5s title-anim linear infinite;
}

.loader-arrow {
    position: absolute;
    width: 100%;
    height: 100%;
    border-radius: 50%;
    transform: rotate(0deg);
    opacity: 0.5;
    -webkit-animation: 5s rotae-arrow linear infinite;
    animation: 5s rotae-arrow linear infinite;
}

.loader-arrow::before {
    content: "";
    position: absolute;
    width: 25px;
    height: 20px;
    top: -10.4px;
    left: 50%;
    transform: rotateX(-50%);
    background-color: var(--main-color);
    -webkit-clip-path: polygon(0% 0%, 100% 45%, 0% 98%, 24% 49%);
    clip-path: polygon(0% 0%, 100% 45%, 0% 98%, 24% 49%);
}


.looding {
    /* display: flex; */
    display: none;
    justify-content: center;
    align-items: center;
    /* position: absolute; */
    position: fixed;
    right: 0;
    top: 0;
    width: 100%;
    height: 100%;

    background-color: #eee;
    /* cursor: auto; */
    -webkit-animation-name: looding;
    animation-name: looding;
    -webkit-animation-duration: 2s;
    animation-duration: 2s;
}
.looding.show{
    display: flex;
}


@-webkit-keyframes title-anim {
    0% {
        letter-spacing: 3px;
    }

    50% {
        letter-spacing: 1px;
    }

    100% {
        letter-spacing: 3px;
    }
}


@keyframes title-anim {
    0% {
        letter-spacing: 3px;
    }

    50% {
        letter-spacing: 1px;
    }

    100% {
        letter-spacing: 3px;
    }
}

@-webkit-keyframes rotae-arrow {
    0% {
        transform: rotate(0deg);
    }

    100% {
        transform: rotate(360deg);
    }
}

@keyframes rotae-arrow {
    0% {
        transform: rotate(0deg);
    }

    100% {
        transform: rotate(360deg);
    }
}


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


    .signContent {
        flex-direction: column;
    }

    .signContent input {
        width: 100%;
    }

    .checkers input[type="radio"]+label {
        width: auto;
    }

    main {
        margin-bottom: 10px;
    }

    section main::before,
    section main::after {
        bottom: -100px;
    }
    .chooseGender {
        gap: 5px;
    }
    .chooseGender label{
        max-height: 50px;
        font-size: 13px;

    }
    .divsnumClass{
        width: 100%;
        overflow: hidden;
    }
    .divsnumClass .globalClass{
        width: 30%;
       
    }
    
    input[type="reset"]{
        background-color: transparent;
        border: none;
        padding: 0;
        width: auto;
        margin-top: 20px;
        text-decoration: underline;
        color: #333;
    }
    .signContent input.linkClass{
        overflow-y: scroll;
    }
    .hr-down{
        display: none;
    }
    .chooseGender label {
        width: 25%;
    }

}

@-webkit-keyframes moveLine {
    0% {
        width: 0%;
    }

    100% {
        width: 100%;
    }
}

@keyframes moveLine {
    0% {
        width: 0%;
    }

    100% {
        width: 100%;
    }
}

@-webkit-keyframes moveLineV {
    0% {
        height: 0%;
        background-color: #21739d;
    }

    100% {
        height: 100%;
        background-color: #21739d;
    }
}

@keyframes moveLineV {
    0% {
        height: 0%;
        background-color: #21739d;
    }

    100% {
        height: 100%;
        background-color: #21739d;
    }
}

@-webkit-keyframes showDifference {
    from {
        opacity: 0;

    }

    to {
        opacity: 1;

    }
}

@keyframes showDifference {
    from {
        opacity: 0;

    }

    to {
        opacity: 1;

    }
}