﻿@charset "utf-8";

@font-face {
    font-family: 'IRANSans-web';
    src: url('../fonts/IRANSans-Bold-web.eot');
    src: url('../fonts/IRANSans-Bold-web.eot?#iefix') format('eot'), /* IE6–8 */
    url('../fonts/IRANSans-Bold-web.woff') format('woff'), /* FF3.6+, IE9, Chrome6+, Saf5.1+*/
    url('../fonts/IRANSans-Bold-web.ttf') format('ttf');
    font-weight: bold;
}


@font-face {
    font-family: 'IRANSans-web';
    src: url('../fonts/IRANSans-Medium-web.eot');
    src: url('../fonts/IRANSans-Medium-web.eot?#iefix') format('eot'), /* IE6–8 */
    url('../fonts/IRANSans-Medium-web.woff') format('woff'), /* FF3.6+, IE9, Chrome6+, Saf5.1+*/
    url('../fonts/IRANSans-Medium-web.ttf') format('ttf');
    font-weight: 500;
}


@font-face {
    font-family: 'IRANSans-web';
    src: url('../fonts/IRANSans-UltraLight-web.eot');
    src: url('../fonts/IRANSans-UltraLight-web.eot?#iefix') format('eot'), /* IE6–8 */
    url('../fonts/IRANSans-UltraLight-web.woff') format('woff'), /* FF3.6+, IE9, Chrome6+, Saf5.1+*/
    url('../fonts/IRANSans-UltraLight-web.ttf') format('ttf');
    font-weight: 200;
}


@font-face {
    font-family: 'IRANSans-web';
    src: url('IRANSans-Light-web.eot');
    src: url('IRANSans-Light-web.eot?#iefix') format('eot'), /* IE6–8 */
    url('../fonts/IRANSans-Light-web.woff') format('woff'), /* FF3.6+, IE9, Chrome6+, Saf5.1+*/
    url('../fonts/IRANSans-Light-web.ttf') format('ttf');
    font-weight: 300;
}


@font-face {
    font-family: 'IRANSans-web';
    src: url('IRANSans-web.eot');
    src: url('IRANSans-web.eot?#iefix') format('eot'), /* IE6–8 */
    url('../fonts/IRANSans-web.woff') format('woff'), /* FF3.6+, IE9, Chrome6+, Saf5.1+*/
    url('../fonts/IRANSans-web.ttf') format('ttf');
    font-weight: normal;
}

@font-face {
    font-family: "BYekan";
    font-style: normal;
    font-weight: normal;
    src: url('../fonts/BYekan.eot') format("embedded-opentype"), url('../fonts/BYekan.woff') format("woff"), url('../fonts/BYekan.ttf') format("truetype");
}

@font-face {
    font-family: "Yekan";
    font-style: normal;
    font-weight: normal;
    src: url('../fonts/yekanweb-regular.eot') format("embedded-opentype"), url('../fonts/yekanweb-regular.woff') format("woff"), url('../fonts/yekanweb-regular.ttf') format("truetype"), url('../fonts/yekanweb-regular.svg') format("svg");
}

* {
    font-family: 'IRANSans-web';
}

body {
    background-image: url('./images/bg.png');
    background-repeat: repeat;
    box-shadow: inset 0 0 0 1000px rgba(0, 0, 0, .2);
}

.bdy {
    position: absolute;
    left: 0;
    top: 0;
    width: 100%;
    height: 100%;
    background: -moz-linear-gradient(left, rgba(6, 69, 147, 0.7) 0%, rgba(6, 69, 147, 1) 50%, rgba(6, 69, 147, 0.7) 100%);
    background: -webkit-linear-gradient(left, rgba(6, 69, 147, 0.7) 0%, rgba(6, 69, 147, 1) 50%, rgba(6, 69, 147, 0.7) 100%);
    background: linear-gradient(to right, rgba(6, 69, 147, 0.7) 0%, rgba(6, 69, 147, 1) 50%, rgba(6, 69, 147, 0.7) 100%);
    filter: progid:DXImageTransform.Microsoft.gradient(startColorstr='#80064593', endColorstr='#80064593', GradientType=1);
    min-height: 960px;
    min-width: 360px;
}

.bluebar {
    position: absolute;
    z-index: 0;
    left: 0px;
    width: 100%;
    height: 148px;
    bottom: 40px;
    background-image: url('./images/bluebar.png');
    background-repeat: repeat-x;
}

.topbluebar {
    position: absolute;
    z-index: 0;
    left: 0px;
    width: 100%;
    height: 12%;
    top: 0;
    background-image: url('./images/bluebar.png');
    background-repeat: repeat-y;
    background-position: center;
}

.logo {
    position: absolute;
    top: -60px;
    left: calc(50% - 115px);
    background-image: url('./images/logo.png');
    background-repeat: no-repeat;
    background-position: center;
    width: 230px;
    height: 230px;
    background-size: auto 70%;
}

.loginbody {
    position: absolute;
    z-index: 1;
    left: 12%;
    right: 12%;
    width: 76%;
    bottom: 10%;
    top: 10%;
    min-height: 820px;
    bottom: 55px;
    background-color: white;
    border: 6px solid rgb(4, 47, 108);
    max-height: 820px;
}

.formbody {
    width: 100%;
    height: 100%;
    display: flex;
}

.submitbtn {
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    height: 48px;
    background-color: rgb(250,209,43);
    width: 100%;
    border: none;
    -webkit-box-shadow: 0px -5px 10px 0px rgba(0,0,0,0.4);
    -moz-box-shadow: 0px -5px 10px 0px rgba(0,0,0,0.4);
    box-shadow: 0px -5px 10px 0px rgba(0,0,0,0.4);
    font-weight: bold;
    font-size: larger;
    cursor: pointer;
}

.phonebox {
    display: none;
    background-color: #777;
}

.enamdpanel {
    margin-top: 45px;
    margin-bottom: 70px;
    height: calc(100% - 110px);
}

    .enamdpanel > a {
        position: absolute;
        bottom: 60px;
        left: 0;
    }

.guidepanel {
    margin-top: 45px;
    margin-bottom: 70px;
    height: calc(100% - 110px);
    direction: rtl;
}

    .guidepanel a {
        display: inline-block;
        text-decoration: none;
        color: #fff;
        height: 32px;
        width: 180px;
    }

    .guidepanel p {
        margin-right: 37px;
        margin-top: 0;
        margin-bottom: 7px;
    }

.tobottom {
    position: absolute;
    bottom: 60px;
    right: 0;
    width: 30%;
}

.uppanel {
    background-color: rgb(205,218,234);
    margin: 45px 0 70px 0;
    height: calc(100% - 110px);
}

    .uppanel .transparentlayer {
        position: relative;
        left: 0;
        top: 0;
        right: 0;
        height: 165px;
        background: url(./images/Layer36.png);
    }

    .uppanel .title {
        position: relative;
        left: 0;
        top: -73px;
        right: 0;
        height: 61px;
        background: url(./images/Layer_29.png);
        background-position-x: 0%;
        background-repeat: repeat;
        background-size: auto;
        width: 100%;
        background-size: 80% 100%;
        background-repeat: no-repeat;
        background-position-x: center;
    }

    .uppanel .rouyesh {
        position: relative;
        left: 0;
        top: -73px;
        right: 0;
        height: 61px;
        background: url(./images/Layer24.png);
        background-position-x: 0%;
        background-repeat: repeat;
        background-size: auto;
        width: 100%;
        background-size: auto 100%;
        background-repeat: no-repeat;
        background-position-x: center;
    }

    .uppanel .formbox {
        position: relative;
        left: 0;
        top: 60px;
        right: 0;
        width: 100%;
    }

.rightbtn {
    background-color: rgb(5,66,144);
    border-top-left-radius: 25px;
    padding-right: 7px;
}

    .rightbtn:after {
        background-color: rgb(250,209,43);
        width: 32px;
        height: 32px;
        content: "";
        display: block;
        position: relative;
        top: -27px;
        right: -43px;
    }

@media only screen and (max-width: 768px) {
    .uppanel {
        width: 100%;
        min-width: 100%;
        max-width: 100%;
    }

    .loginbody {
        left: 0;
        right: 0;
        width: 96%;
    }
}

@media only screen and (min-width: 769px) {
    .uppanel {
        width: 40%;
        min-width: 500px;
    }
}

@media only screen and (max-width: 1300px) {
    /*.enamdpanel {
        display: none;
    }

    .guidepanel {
        display: none;
    }*/

    .phonebox {
        display: block;
    }

    .uppanel {
        margin-left: auto;
        margin-right: auto;
        height: calc(100% - 240px);
    }
}

@media only screen and (min-width: 1300px) {
    .enamdpanel {
        width: 30%;
    }

    .guidepanel {
        width: 30%;
    }
}

.CaptchaRefreshImage {
    background-position: center;
    background-repeat: no-repeat;
    cursor: pointer;
    border-width: 0px !important;
    background-color: transparent;
    position: absolute;
    top: 2px;
    width: 25px;
    height: 25px;
    background-image: url("../fimages/refresh.png");
    margin-right: 4px;
}



.login-box {
    position: relative;
    left: 50%;
    top: 110px;
    max-width: 400px;
    padding: 20px 20px 0 20px;
    transform: translate(-50%, -50%);
    background: #697a94;
    box-sizing: border-box;
    box-shadow: 0 15px 25px #697a94bb;
    border-radius: 10px;
}

    .login-box h2 {
        margin: 0 0 30px;
        padding: 0;
        color: #fff;
        text-align: center;
    }

    .login-box .user-box {
        position: relative;
    }

        .login-box .user-box input {
            width: 100%;
            padding: 10px 0;
            font-size: 16px;
            color: #fff;
            margin-bottom: 30px;
            border: none;
            border-bottom: 1px solid #fff;
            outline: none;
            background: transparent;
        }

        .login-box .user-box label {
            position: absolute;
            top: 0;
            right: 0;
            padding: 10px 0;
            font-size: 16px;
            color: #fff;
            pointer-events: none;
            transition: .5s;
        }

        .login-box .user-box input:focus ~ label,
        .login-box .user-box input:valid ~ label {
            top: -20px;
            right: 0;
            color: #03e9f4;
            font-size: 12px;
        }

    .login-box form a {
        position: relative;
        display: inline-block;
        padding: 10px 20px;
        color: #03e9f4;
        font-size: 16px;
        text-decoration: none;
        text-transform: uppercase;
        overflow: hidden;
        transition: .5s;
        margin-top: 40px;
        letter-spacing: 4px
    }

    .login-box a:hover {
        background: #03e9f4;
        color: #fff;
        border-radius: 5px;
        box-shadow: 0 0 5px #03e9f4, 0 0 25px #03e9f4, 0 0 50px #03e9f4, 0 0 100px #03e9f4;
    }

    .login-box a span {
        position: absolute;
        display: block;
    }

        .login-box a span:nth-child(1) {
            top: 0;
            left: -100%;
            width: 100%;
            height: 2px;
            background: linear-gradient(90deg, transparent, #03e9f4);
            animation: btn-anim1 1s linear infinite;
        }

@keyframes btn-anim1 {
    0% {
        left: -100%;
    }

    50%,100% {
        left: 100%;
    }
}

.login-box a span:nth-child(2) {
    top: -100%;
    right: 0;
    width: 2px;
    height: 100%;
    background: linear-gradient(180deg, transparent, #03e9f4);
    animation: btn-anim2 1s linear infinite;
    animation-delay: .25s
}

@keyframes btn-anim2 {
    0% {
        top: -100%;
    }

    50%,100% {
        top: 100%;
    }
}

.login-box a span:nth-child(3) {
    bottom: 0;
    right: -100%;
    width: 100%;
    height: 2px;
    background: linear-gradient(270deg, transparent, #03e9f4);
    animation: btn-anim3 1s linear infinite;
    animation-delay: .5s
}

@keyframes btn-anim3 {
    0% {
        right: -100%;
    }

    50%,100% {
        right: 100%;
    }
}

.login-box a span:nth-child(4) {
    bottom: -100%;
    left: 0;
    width: 2px;
    height: 100%;
    background: linear-gradient(360deg, transparent, #03e9f4);
    animation: btn-anim4 1s linear infinite;
    animation-delay: .75s
}

@keyframes btn-anim4 {
    0% {
        bottom: -100%;
    }

    50%,100% {
        bottom: 100%;
    }
}
