﻿
@font-face {
    font-family: 'iraniansans';
    src: url('../../font/iransansweb(fanum).eot') format('embedded-opentype'), url('../../font/iransansweb(fanum).ttf') format('truetype');
}



* {
    box-sizing: border-box;
    padding: 0;
    margin: 0;
    font-family: 'iranianSans';
    line-height: 1.5;
    font-weight: normal;
}



.fr {
    float: right;
}

.fl {
    float: left;
}

.fc {
    clear: both;
}


body {
    direction: rtl;
    position: relative;
    padding: 0;
    margin: 0;
}

    body > img#backgrund_img {
        position: fixed;
        top: 0;
        z-index: -1;
        width: 100vw;
        height: 100vh;
        left: 0;
    }


#myVideo {
    position: fixed;
    right: 0;
    bottom: 0;
    z-index: -1;
    width: 100vw;
    height: 100vh;
    object-fit: cover;
}

#login_top_nav {
    width: 100%;
    height: 50px;
    padding-top: 14px;
    text-align: center;
}

#BodyContainer {
    width: 100%;
    height: calc(100vh - 100px);
    overflow: auto;
    z-index: 10;
}

#headerLogo {
    position: relative;
    top: -35px;
    transition-duration: .5s;
}

    #headerLogo:hover {
        transform: scaleX(1.2)
    }

#Login_Footer {
    padding-right: 30px;
    padding-left: 30px;
    width: 100%;
    height: 50px;
    padding-top: 16px;
    padding-bottom: 6px;
    background-color: rgba(0,0,0,.6);
}

    #Login_Footer label {
        color: white;
        font-family: iraniansans, sans-serif;
        font-size: 13px;
    }

#login_top_nav a {
    color: white;
    font-family: iraniansans, sans-serif;
    font-size: 17px;
    text-decoration: none;
}

.Pannel {
    position: relative;
    top: 20vh;
    height: 350px;
    width: 385px !important;
    margin: auto;
    border-radius: 10px;
    z-index: 10;
    transition-duration: 1s;
    transition-timing-function: linear;
}

.Pannel_header {
    position: relative;
    width: 100%;
    height: 63px;
    border-radius: 8px 8px 0 0;
    background-color: rgba(0,0,0,.6);
    text-align: center;
    display: flex
}

    .Pannel_header h1 {
        font-family: iraniansans, serif;
        color: white;
        font-size: 21px;
        margin: auto;
        /*position: absolute;
        top: 20px;
        right: 160px*/
        margin: auto;
    }





.Pannel_Body {
    width: 100%;
    /*height: 281px;*/
    background-color: rgba(255,255,255,.33);
    text-align: center;
    padding-top: 15px;
}

    .Pannel_Body input {
        width: 80%;
        height: 55px;
        border-radius: 8px;
        margin-bottom: 15px;
        border: none;
        font-family: iraniansans, serif;
        font-size: 14px;
        padding: 10px;
        padding-right: 20px;
    }

    .Pannel_Body .btns {
        display: flex;
        justify-content: space-evenly;
    }

.submitBtn {
    font-size: 20px !important;
    width: 50% !important;
    background-color: #f29f05;
    opacity: .8;
}

    .submitBtn:hover {
        background-color: #f29f05;
        opacity: 1;
    }



.Pannel_Foote {
    position: relative;
    width: 100%;
    height: 35px;
    background-color: rgba(0,0,0,.6);
    border-radius: 0 0 8px 8px;
    padding: 9px 40px 0 40px;
}

    .Pannel_Foote a {
        color: white;
        font-family: iraniansans, serif;
        font-size: 12px;
        text-decoration: none;
    }


.Gadget {
    position: absolute;
    background-color: rgba(0,0,0,.6);
    height: 40px;
    width: 180px;
    right: -140px;
    border-radius: 20px 0 0 20px;
    cursor: pointer;
    padding: 2px;
    transition-duration: .5s;
    transition-timing-function: cubic-bezier(0.22, 0.57, 0.37, 0.74)
}

    .Gadget * {
        cursor: pointer;
    }

    .Gadget label {
        color: white;
    }

    .Gadget div:nth-child(1) {
        background-color: white;
        height: 36px;
        width: 36px;
        border-radius: 50%;
        display: flex;
    }

        .Gadget div:nth-child(1) > i {
            margin: auto;
            color: black;
            font-size: 20px;
        }

    .Gadget div:nth-child(2) {
        height: 36px;
        width: 140px;
        display: flex;
    }

        .Gadget div:nth-child(2) > label {
            margin: auto;
            color: white;
        }

.ShowGadget {
    right: 0 !important;
}

#DateGadget {
    top: 100px;
}

#TimeGadget {
    top: 150px;
}


@media only screen and (max-width: 991px) {
    .MobileOff {
        display: none;
    }

    .MobileOn {
        display: block;
    }

    #headerLogo {
        position: relative;
        top: -6px;
        transition-duration: .5s;
    }

    .Pannel_header {
        position: relative;
        width: 100%;
        height: 63px;
        border-radius: 8px 8px 0 0;
        background-color: rgba(0,0,0,.6);
        text-align: center;
    }

        .Pannel_header h1 {
            font-family: iraniansans, serif;
            color: white;
            font-size: 21px;
            margin: auto;
        }

    #Login_Footer {
        height: unset;
    }
}

@media only screen and (max-width: 768px) {
    #Login_Footer {
        display: flex;
        align-items: center;
        justify-content: center;
        flex-direction: column;
    }

    #BodyContainer {
        height: calc(100vh - 125px);
    }

    .Pannel {
        position: relative;
        top: 15vh;
        height: 380px;
        margin: auto;
        border-radius: 10px;
        z-index: 10;
        transition-duration: 1s;
        transition-timing-function: linear;
    }
}

@media only screen and (max-width: 400px) {
    .Pannel {
        width: 90% !important;
    }
}

@media only screen and (max-width: 380px) {
    .Pannel_Body .btns {
        flex-direction: column;
        align-items: center;
    }

        .Pannel_Body .btns #sendagain {
            margin-bottom: 10px;
        }
}
