html, body {
    height: 100%;
}
body{
    direction: rtl;
    text-align: right;
    font-weight: 300;
    margin: 0;
    font-size: 0.75rem;
    line-height: 1.5;
}
@font-face {
    font-family: IRANSans;
    font-style: normal;
    font-weight: bold;
    src: url("../fonts/eot/IRANSansWeb_Bold.eot");
    src: url("../fonts/eot/IRANSansWeb_Bold.eot?#iefix") format("embedded-opentype"),
    url("../fonts/woff2/IRANSansWeb_Bold.woff2") format("woff2"),
    url("../fonts/woff/IRANSansWeb_Bold.woff") format("woff"),
    url("../fonts/ttf/IRANSansWeb_Bold.ttf") format("truetype");
}

@font-face {
    font-family: IRANSans;
    font-style: normal;
    font-weight: 500;
    src: url("../fonts/eot/IRANSansWeb_Medium.eot");
    src: url("../fonts/eot/IRANSansWeb_Medium.eot?#iefix") format("embedded-opentype"),
    url("../fonts/woff2/IRANSansWeb_Medium.woff2") format("woff2"),
    url("../fonts/woff/IRANSansWeb_Medium.woff") format("woff"),
    url("../fonts/ttf/IRANSansWeb_Medium.ttf") format("truetype");
}

@font-face {
    font-family: IRANSans;
    font-style: normal;
    font-weight: 300;
    src: url("../fonts/eot/IRANSansWeb_Light.eot");
    src: url("../fonts/eot/IRANSansWeb_Light.eot?#iefix") format("embedded-opentype"),
    url("../fonts/woff2/IRANSansWeb_Light.woff2") format("woff2"),
    url("../fonts/woff/IRANSansWeb_Light.woff") format("woff"),
    url("../fonts/ttf/IRANSansWeb_Light.ttf") format("truetype");
}

@font-face {
    font-family: IRANSans;
    font-style: normal;
    font-weight: 200;
    src: url("../fonts/eot/IRANSansWeb_UltraLight.eot");
    src: url("../fonts/eot/IRANSansWeb_UltraLight.eot?#iefix") format("embedded-opentype"),
    url("../fonts/woff2/IRANSansWeb_UltraLight.woff2") format("woff2"),
    url("../fonts/woff/IRANSansWeb_UltraLight.woff") format("woff"),
    url("../fonts/ttf/IRANSansWeb_UltraLight.ttf") format("truetype");
}

@font-face {
    font-family: IRANSans;
    font-style: normal;
    font-weight: normal;
    src: url("../fonts/eot/IRANSansWeb.eot");
    src: url("../fonts/eot/IRANSansWeb.eot?#iefix") format("embedded-opentype"),
    url("../fonts/woff2/IRANSansWeb.woff2") format("woff2"),
    url("../fonts/woff/IRANSansWeb.woff") format("woff"),
    url("../fonts/ttf/IRANSansWeb.ttf") format("truetype");
}

body,
h1,
h2,
h3,
h4,
h5,
h6,
input,
textarea, .tooltip, .tooltip-inner {
    font-family: IRANSans !important;

}

.tooltip, .tooltip-inner {
    font-weight: 100;
}

a:hover, a:focus {
    text-decoration: none;
}

.apps li{
    display: inline-block;
    border: 1px solid transparent;
    border-radius: 5px;

    transition: all 0.3s ease-in-out;
    text-align: center;
    margin-bottom: 27px;
    font-size: 12px;
}

.apps li a {
    width: 80px;
    padding: 5px;
    display: block;
}

.apps li img{
    height: 35px;
    width: auto;
    text-align: center;
    margin: 0 auto;
    display: block;
    margin-bottom: 5px;
}

.apps li:hover {
    border-color: #e5e5e5;
}

.apps li a:hover{text-decoration: none}



a.logout-button {
    background: #607D8B;
}

a.edit-button {
    background: #42A5F5;
}

.user-actions a {
    color: #fff;
    border-radius: 5px;
    margin-right: 0.5rem;
    padding: 0.3rem .5rem;
    font-size: 14px;
}

.user-navbar .user-data i {
    display: block;
    width: 40px;
    height: 40px;
    border-radius: 5px;
    background-position: center;
    background-size: cover;
    background-repeat: no-repeat;
    margin-left: 0.5rem;
    transition: all 0.4s ease-in-out;
}

.user-navbar .user-data span {
    font-weight: 600;
    font-size: 13px;
}

.user-navbar .user-data i:hover {
    border-radius: 50%;
}

.apps-footer{
    background: #fff;
    border: none;
}

.user-navbar{
    background: #fff;
}

.login-box-msg{
    font-size: 13px;
}

.content-wrapper {
    display: flex;
    align-items: center;
    justify-content: center;
    height: 100%;
}

/* Auth card */
.card {
    border-radius: 6px;
}

.card.auth-card.sm {
    width: 400px;
}

.card.auth-card.md {
    width: 600px;
}

.card.auth-card.lg {
    width: 800px;
}

.card .form-submit button, .card .form-submit a {
    font-weight: 300;
    font-size: 14px;
}

.card .form-submit button {
    padding: 5px 30px;
}

.card .auth-footer a {
    font-weight: 300;
    font-size: 14px;
}

/* Material input */
.material-input {
    position: relative;
}

.material-input input {
    width: 100%;
    border-radius: 4px;
    color: #202124;
    font-size: 16px;
    height: 50px;
    padding: 13px 15px;
    outline: none;
    border: 1px solid #ccc;
    border-radius: 4px;
}

.material-input input:focus {
    border-color: #1E88E5;
}

.material-input input:-webkit-autofill {
    background-color: #fff;
}

.material-input input:focus ~ label {
    transform: scale(.75) translateY(-30px);
    color: #1E88E5;
}
.material-input input:valid ~ label {
    transform: scale(.75) translateY(-30px);
    color: #1E88E5;
}

.material-input label {
    position: absolute;
    bottom: 14px;
    right: 8px;
    background: #fff;
    color: #80868b;
    font-size: 15px;
    font-weight: 400;
    padding: 0 8px;
    margin: 0;
    cursor: text;
    transition: transform 150ms cubic-bezier(0.4,0,0.2,1), opacity 150ms cubic-bezier(0.4,0,0.2,1);
    overflow: hidden;
}

.material-input.has-error input {
    border-color: #F44336 !important;
}

.material-input.has-error label {
    color: #F44336 !important;
}

.invalid-feedback {
    display: block !important;
}

/* Apps list */
.apps-list .app-item {
    margin-bottom: 1.5rem;
}

.apps-list .app-item a, .apps-list .app-item a:hover {
    text-decoration: none;
    height: 100%;
}

.apps-list .app-item img {
    height: 45px;
    margin-bottom: .5rem;
    transition: transform 150ms cubic-bezier(0.4,0,0.2,1);
}

.apps-list .app-item span{
    width: 100%;
    font-weight: 300;
    font-size: 14px;
    color: #263238;
    text-align: center;
}

.apps-list .app-item a:hover img {
    transform: scale(1.1);
}
.login-logo {
    height: 70px;
    width: auto;
}

/* Responsive media queries */
@media(max-width: 575px){
    .content-wrapper {
        height: auto;
        display: block;
        padding-top: 7rem;
        padding-bottom: 7rem;
    }

    .card.auth-card {
        max-width: 100%;
    }

    .apps-list .app-item {
        margin-bottom: 2rem;
    }
}

@media(max-width: 320px){
    .content-wrapper {
        padding-top: 5rem;
        padding-bottom: 5rem;
    }
}

input[type=password], input[type=email]{
    direction: ltr;
}
