﻿@font-face {
    font-family: MyFontBold;
    src: url('../Fonts/NotoKufiArabic-Bold.ttf');
}

@font-face {
    font-family: MyFontRegular;
    src: url('../fonts/NotoKufiArabic-Regular.ttf') format('truetype');
}

body {
    margin: 0px 0px;
    direction: rtl;
    background-color: white;
    min-height: 100%;
    font-family: MyFontRegular;
    font-size: 12pt;
}

.RightArea {
    position: fixed;
    top: 0;
    right: 0;
    bottom: 0;
    width: 400px;
    background-color: white;
    text-align: center;
}

.LeftArea {
    position: fixed;
    top: 0;
    right: 400px;
    left: 0px;
    bottom: 0px;
    background: rgb(0,184,106); /* For browsers that do not support gradients */
    background: -webkit-linear-gradient(left, rgb(0,184,106), rgb(54,71,61)); /* For Safari 5.1 to 6.0 */
    background: -o-linear-gradient(right, rgb(0,184,106), rgb(54,71,61)); /* For Opera 11.1 to 12.0 */
    background: -moz-linear-gradient(right, rgb(0,184,106), rgb(54,71,61)); /* For Firefox 3.6 to 15 */
    background: linear-gradient(to right, rgb(0,184,106), rgb(54,71,61)); /* Standard syntax */
}

.LoginContent {
    width: 300px;
    margin: 0;
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
}

.Star {
    width: 600px;
    position: fixed;
    left: -20px;
    bottom: -12px;
    z-index: 1;
}

.Logo {
    width: 55%;
    margin: 0 auto;
}

.divTitle {
    margin-bottom: 75px;
    color: darkgreen;
    font-size: 16px;
    font-weight: bold;
}

.TextBoxes {
    background-color: white;
    width: 80%;
    font-size: 12pt;
    font-family: MyFontRegular, Arial;
    border: none;
    border-bottom: solid 2px rgb(173,143,76);
    outline: none;
}

    .TextBoxes::-webkit-input-placeholder { /* Chrome/Opera/Safari */
        color: rgb(191,191,191);
    }

    .TextBoxes::-moz-placeholder { /* Firefox 19+ */
        color: rgb(191,191,191);
    }

    .TextBoxes:-ms-input-placeholder { /* IE 10+ */
        color: rgb(191,191,191);
    }

    .TextBoxes:-moz-placeholder { /* Firefox 18- */
        color: rgb(191,191,191);
    }

#txtUsername {
    margin-bottom: 45px;
}

#txtPassword {
    margin-bottom: 35px;
}

.LoginButton {
    background-color: white;
    width: 80%;
    margin-right: -5px;
    font-size: 14pt;
    font-family: MyFontRegular;
    border: solid 3px rgb(173,143,76);
    outline: none;
    padding: 2px;
    cursor: pointer;
    background-color: rgb(173,143,76);
    color: white;
    background-image: -webkit-gradient(linear, left top, left bottom, from(rgb(204,176,127)), to(rgb(173,143,76)));
    background-image: -webkit-linear-gradient(top, rgb(204,176,127), rgb(173,143,76));
    background-image: -moz-linear-gradient(top, rgb(204,176,127), rgb(173,143,76));
    background-image: -ms-linear-gradient(top, rgb(204,176,127), rgb(173,143,76));
    background-image: -o-linear-gradient(top, rgb(204,176,127), rgb(173,143,76));
    background-image: linear-gradient(to bottom, rgb(204,176,127), rgb(173,143,76));
    filter: progid:DXImageTransform.Microsoft.gradient(GradientType=0,startColorstr=rgb(204,176,127), endColorstr=rgb(173,143,76));
    box-shadow: 2px 4px 15px #888888;
}

    .LoginButton:hover, .LoginButton:focus {
        background-color: rgb(173,143,76);
        background-image: none;
    }

.SubTitleLabel {
    font-family: MyFontBold;
    font-size: 14pt;
    color: maroon;
}

@media (max-width:1000px) {
    .Star {
        width: 350px;
    }
}

@media (max-width:650px) {
    .RightArea {
        position: inherit;
        top: unset;
        right: unset;
        bottom: unset;
        width: 100%;
        text-align: center;
    }

    .LeftArea {
        display: none;
    }

    .LoginContent {
        width: 90%;
        margin: 0 auto;
        position: inherit;
        top: unset;
        left: unset;
        transform: none;
    }

    .Star {
        display: none;
    }

    .Logo {
        width: 125px;
        margin: 25px auto;
        margin-bottom: 35px;
    }

    .TextBoxes {
        width: 90%;
        font-size: 10pt;
    }

    .LoginButton {
        width: 90%;
        margin-right: -5px;
        font-size: 11pt;
        border: solid 2px rgb(173,143,76);
        box-shadow: 1px 2px 10px #888888;
    }

    .SubTitleLabel {
        font-family: MyFontRegular;
        font-size: 14pt;
        color: maroon;
    }
}