﻿@font-face {
    font-family: 'IRY';
    src: url('../fonts/IRY-Medium.eot');
    src: url('../fonts/IRY-Medium.eot?#iefix') format('embedded-opentype'), url('../fonts/IRY-Medium.woff2') format('woff2'), url('../fonts/IRY-Medium.woff') format('woff'), url('../fonts/IRY-Medium.ttf') format('truetype'), url('../fonts/IRY-Medium.svg#IRY-Medium') format('svg');
    font-weight: 500;
    font-style: normal;
}

* {
    box-sizing: border-box;
}

body {    
    font-family: 'IRY';
    font-weight: 300;
    background-color: white;
    color: black;
    overflow: hidden;
    margin: 0;
}

h1,
h2,
h3,
h4,
h5,
h6 {
    font-weight: 300;
}

#wrapper {
    display: flex;
    flex-direction: row;
    background-color: #00d26d;
}

#left {
    flex: 1;
}

#right {
    direction: rtl;
    display: flex;
    flex-direction: column;
    flex: 1;
    align-items: center;
    justify-content: center;
    height: 100%;    
}

/* Sign In */
#signin {
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    width: 80%;
    padding-top: 2rem;    
    overflow:scroll;
    overflow-x:hidden;
    overflow-y:hidden;
}

    #signin form {
        width: 80%;
        padding-bottom: 3rem;
    }

    #signin .logo {
        margin-bottom: 4vh;
    }

        #signin .logo img {
            width: 200px;
        }

    #signin label {
        font-size: 0.9rem;
        line-height: 2rem;
        font-weight: 500;
    }

    #signin .text-input {
        font-family: IRY;
        background-color: #F7F9FA;
        border: 2px solid #F7F9FA;
        border-radius: 1.25rem;
        box-shadow: none;
        color: #5E6E80;
        font-size: inherit;
        height: auto;
        padding: 0.875rem 1.375rem 0.8125rem;
        position: relative;
        width: 100%;
        -webkit-appearance: none;
        -moz-appearance: none;
        appearance: none;        
    }
    .form-item{
        margin-bottom:20px;
    }

    #signin .text-input:focus{
        background-color: #fff;
        border: 2px solid rgba(141, 153, 166, 0.2);
        color: #5E6E80;
        box-shadow: none;
        outline: none;
    }

.otp-input:focus {
    border: none;
    box-shadow: none;
    outline: none;
}

.otp-input {
    font-family: IRY;
}

#signin .primary-btn {
    width: 100%;
}

    #signin .secondary-btn,
    .or,
    .links {
        width: 60%;
    }

    #signin .links a {
        display: block;        
        text-decoration: none;
        margin-bottom: 1rem;
        text-align: center;
        font-size: 0.9rem;
    }

    #signin .or {
        display: flex;
        flex-direction: row;
        margin-bottom: 1.2rem;
        align-items: center;
    }

        #signin .or .bar {
            flex: auto;
            border: none;
            height: 1px;
            background: #fff;
        }

        #signin .or span {
            color: #fff;
            padding: 0 0.8rem;
        }

/* Showcase */
#showcase {
    display: flex;
    justify-content: center;
    align-items: center;
    background: url('../img/login-bg.jpg') no-repeat center center / cover;
    height: 100vh;
    width: 100%;
    text-align: center;
}

    #showcase .showcase-text {
        font-size: 3rem;
        width: 100%;
        color: #fff;
        margin-bottom: 1.5rem;
    }

    #showcase .secondary-btn {
        width: 60%;
        margin: auto;
    }

/* Footer */
#main-footer {
    position: absolute;
    bottom: 10px;
    color: #fff;
    text-align: center;
    font-size: 0.8rem;
    max-width: 80%;
    padding-top: 5rem;
}

    #main-footer a {
        color: #f96816;
        text-decoration: underline;
    }

/* Button */
.primary-btn {
    display: flex;
    justify-content: center;
    align-items: center;
    font-family: IRY;
    background-image: linear-gradient(142.17deg, #fffc00 6.66%, #fffc00 91.48%);
    box-shadow: inset -0.25rem -0.25rem 0.3125rem rgba(0, 0, 0, 0.1), inset 0.25rem 0.25rem 0.3125rem rgba(255, 255, 255, 0.23);
    border-radius: 20px;
    border: 0;
    color: lightslategray;
    cursor: pointer;
    font-size: 1rem;
    font-weight: 400;
    line-height: 1;
    height: 3.5rem;
    padding: 0 1.5rem;
    position: relative;
    transition: .4s ease-in-out;
    white-space: nowrap;
}

.primary-btn:hover {
    color: #fff;
    box-shadow: none;
    opacity: .9;
}

.primary-btn i {
    margin-left: 10px;
    font-size: 18px;
    margin-top: 8px;
}

.secondary-btn {
    display: flex;
    justify-content: center;
    align-items: center;
    font-family: IRY;
    background-image: linear-gradient(142.17deg, #fffc00 6.66%, #fffc00 91.48%);
    box-shadow: inset -0.25rem -0.25rem 0.3125rem rgba(0, 0, 0, 0.1), inset 0.25rem 0.25rem 0.3125rem rgba(255, 255, 255, 0.23);
    border-radius: 20px;
    border: 0;
    color: lightslategray;
    cursor: pointer;
    font-size: 1rem;
    font-weight: 400;
    line-height: 1;
    height: 3.5rem;
    padding: 0 1.5rem;
    position: relative;
    transition: .4s ease-in-out;
    white-space: nowrap;
    text-decoration: none;
}

    .secondary-btn:hover {
        color: #fff;
        box-shadow: none;
        opacity: .9;
    }

.secondary-btn i {
    margin-left: 10px;
    font-size: 18px;
    margin-top: 8px;
}

.help-block{
    font-size: 0.7rem;
}
.help-block.error {
    color:red;
}
/* Media Queries */
@media (min-width: 1200px) {
    #left {
        flex: 7;
    }

    #right {
        flex: 3;
    }
}

.timer-input {    
    display: flex;
    justify-content: space-evenly;
}

#timer {
    text-align:center;
    width: 35px;
    height: 32px;
    margin-right: 10px;
    background-color: #00d26d;
    color: white;
    padding: 2px;
    border-radius: 10px;
}

.return-link {
    color: white;
    text-decoration: none;
    display:none;
}
.return-link.done {    
    display: initial;
}

@media (max-width: 768px) {
    body {
        overflow: auto;
        height: 100vh;
    }

    #wrapper{
        height: 100%;
    }

    #right {
        justify-content: start;
        margin-top: 4vh;
    }

    #left {
        display: none;        
    }

    #signin .logo {
        margin-bottom: 2vh;
    }

    #signin .text-input {
        margin-bottom: 0.7rem;
    }

    #main-footer {
        padding-top: 1rem;
    }
}

