﻿/* Fonts */
@font-face {
    font-family: 'Vazirfont';
    src: url('fonts/vazir.ttf') format('truetype');
    font-weight: normal;
    font-style: normal;
}
/* End Fonts */
/* Start Global rules */
* {
    padding: 0;
    margin: 0;
    box-sizing: border-box;
}
/* End Global rules */

/* Start body rules */
body {
    /*background-image: linear-gradient(-225deg, #E3FDF5 0%, #FFE6FA 100%);
    background-image: linear-gradient(to top, #a8edea 0%, #fed6e3 100%);*/
    background-repeat: no-repeat;
    font-family: 'Vazirfont', Tahoma;
    opacity: .95;
    /*background-image: linear-gradient(-45deg, #afeeee, #8dcce2);
    background-image: linear-gradient(-45deg, #afeeee, #8dcce2);
    background-image: linear-gradient(to top, #31bf9e 0%, #7ae3cb 100%);*/
    background-image: url("../TestsData/images/TestEnter/background-Good-1.png");
    background-position: bottom;
    background-attachment: fixed;
    background-size: cover;
    font-size: 2vh;
}

.lamp-back {
    height: 98vh;
    background-image: url("../TestsData/images/TestEnter/lamp.png");
    background-repeat: no-repeat;
    background-position-y: 54vh;
    background-size: 70vh;
}

/* End body rules */

/* Start form  attributes */
.overlay2 {
    width: 100%;
    min-height: 200px;
    overflow-y: auto;
    height: 100%;
    margin: 2% auto;
    padding: 2%;
}

.con2{
    height:100%;
    width:100%;
}

.shop_table {
    height: 100%;
    width: 100%;
}
    .shop_table td{
        width:20%;
    }

    .shop_table td:first-of-type{
        vertical-align:top;
    }

    .shop_table tbody{
        background-color: transparent;
    }

.overlay {
    width: 30vw;
    min-height: 200px;
    overflow-y: auto;
    height: 75vh;
    border-radius: 20px;
    margin: 2% auto;
    padding: 2%;
    direction: rtl;
    background-color: white;
    border: 1px solid rgba(0,0,0,0.25);
    box-shadow: -2px 3px 5px -2px rgba(0,0,0,0.6);
}

    /* form Container */
    .overlay .con {
        display: -webkit-flex;
        display: flex;
        -webkit-justify-content: space-around;
        justify-content: space-around;
        -webkit-flex-wrap: wrap;
        flex-wrap: wrap;
        margin: 0 auto;
    }

/* the header form form */
header {
    margin: 0 auto 30px auto;
    text-align: center;
    width: 100%;
}
    /* Login title form form */
    header h2 {
        font-size: 220%;
        font-family: 'Vazirfont', Tahoma;
        color: #8EBF40;
    }
    header h3 {
        font-size: 150%;
        font-family: 'Vazirfont', Tahoma;
        color: black;
        width:100%;
    }
    /*  A welcome message or an explanation of the login form */
    header p {
        letter-spacing: 0.05em;
        color:black;
        direction: rtl;
    }
    header img {
        height:150px;
    }

.field-set {
    text-align: center;
    width: 60%;
}

/* //////////////////////////////////////////// */
/* //////////////////////////////////////////// */


.input_containeri {
    position: relative;
    padding: 0 0 0 20px;
    margin: 0 20px;
    direction: rtl;
    width: 80%;
    height: 5vh;
    margin-top: 2%;
    padding: 0 15px;
    outline: none;
    border: none;
    border-radius: 5px 0px 0px 5px;
    background-color: rgba(0,0,0,0.1);
    border: 1px solid #8EBF40;
    border-radius: 10px;
}

.inputi {
    /*height: 20px;*/
    margin: 0;
    text-align: center;
    padding-right: 30px;
    width: 100%;
    font-size: 2vh;
    direction: rtl;
    font-family: 'Vazirfont', Tahoma;
    color: #5E6472;
    border: transparent;
    background: transparent;
}

.input_imgi {
    position: absolute;
    bottom: auto;
    right: 5px;
    width: 24px;
    height: 24px;
}

.input-item {
    color: #333;
    padding: 0.95vh 1.6vw 0.95vh 0px;
    background-color: rgba(0,0,0,0.1);
    border: 1px solid #8EBF40;
    border-left: none;
    border-bottom-right-radius: 10px;
    border-top-right-radius: 10px;
}

.form-item {
    display: inline-block;
}

.form-item label{
    display:flex;
}

/* inputs form  */
.form-input {
    width: 100%;
    height: 6vh;
    margin-top: 2%;
    padding: 0 15px;
    font-size: 2vh;
    font-family: 'Vazirfont', Tahoma;
    color: #5E6472;
    outline: none;
    border: none;
    border-radius: 5px 0px 0px 5px;
    transition: 0.2s linear;
    text-align: right;
    background-color: rgba(0,0,0,0.1);
    border: 1px solid #8EBF40;
    /* border-right: none; */
    border-radius: 10px;
    /* border-top-left-radius: 10px;
    border-top-left-radius: 10px;
    /*background: url('../TestsData/images/TestEnter/Group 51.png') no-repeat scroll 7px 7px;
    padding-left: 30px;*/
}

input[id="txt-input"] {
    width: 250px;
}

/* //////////////////////////////////////////// */
/* //////////////////////////////////////////// */

/* input[type="text"] {min-width: 250px;} */
/* buttons  */
.button {
    display: block;
    color: #252537;
    width: 100%;
    height: 6vh;
    padding: 0 20px;
    background: #fff;
    border-radius: 5px;
    outline: none;
    border: solid 3px #8ebf40;
    cursor: pointer;
    text-align: center;
    transition: all 0.2s linear;
    margin: 5% auto;
    letter-spacing: 0.05em;
    font-family: 'Vazirfont', Tahoma;
    font-size: 2vh;
    max-width: 90vw;
}
/* Submits */
.submits {
    width: 48%;
    display: inline-block;
    float: left;
    margin-left: 2%;
}

/*       Forgot Password button FAF3DD  */
.frgt-pass {
    background: transparent;
}

/*     Sign Up button  */
.sign-up {
    background: rgb(208,242,201);
    background: linear-gradient( 180deg, rgb(227 246 196) 0%, rgb(146 193 72) 100%);
    border-radius: 10px;
    box-shadow: -2px 3px 5px -2px rgba(0,0,0,0.9);
    border: none;
}

    .sign-up:hover {
        color: white;
        background: #8EBF40;
        background: linear-gradient( 180deg, rgb(227 246 196) 0%, rgb(164 221 28) 100%);
    }

.sign-up2 {
    background: #e6e6e6;
    border-radius: 10px;
    box-shadow: -2px 3px 5px -2px rgba(0,0,0,0.9);
}

    .sign-up2:hover {
        color: white;
        background: #b6ea9b;
    }

.vertical-center {
    display: flex;
    align-items: center;
    justify-content: flex-end;
}

/* buttons hover */
button:hover {
    transform: translatey(3px);
    box-shadow: none;
}

/* buttons hover Animation */
button:hover {
    animation: ani9 0.4s ease-in-out infinite alternate;
}

input[type="submit" i]:disabled {
    display: inline-block;
    color: #252537;
    width: 380px;
    height: 6vh;
    padding: 0 20px;
    background: #fff;
    border-radius: 5px;
    outline: none;
    border: none;
    cursor: pointer;
    text-align: center;
    transition: all 0.2s linear;
    margin: 7% auto;
    letter-spacing: 0.05em;
    font-family: 'Vazirfont', Tahoma;
    border: 1px solid #999999;
    color: #666666;
    font-size: 2vh;
}
/*Table styles*/
table {
    border-collapse: separate !important;
    border-spacing: 11px;
    border: transparent;
}
tbody {
    background: white;
    border: transparent;
}
td {
    padding: 20px;
    border-radius: 5px;
}
th {
    color: cadetblue;
    border-radius: 5px;
}
tr{
    color: gray;
}
@keyframes ani9 {
    0% {
        transform: translateY(3px);
    }

    100% {
        transform: translateY(5px);
    }
}
@media only screen and (min-width: 1000px) {
    .button{
        max-width:40vw;
    }
}

.shop-button {
    margin-top: 5vh;
    margin-bottom: 10vh;
    /* padding: 6vh; */
    width: 27vh;
    height: 27vh;
    /* padding-top: 23vh; */
    background-position: center;
    background-repeat: no-repeat;
    color: #666666;
}

#MahsaButton {
    background-image: url(../testsdata/images/VP.png);
}
#AlphabetButton {
    background-image: url(../testsdata/images/AK.png);
}
#PhonologyButton {
    background-image: url(../testsdata/images/PA.png);
}
#BookButton {
    background-image: url(../testsdata/images/BK.png);
}
#PhonmemButton {
    background-image: url(../testsdata/images/PM.png);
}
#QuickNamingButton {
    background-image: url(../testsdata/images/QN.png);
}
