﻿/* Please see documentation at https://docs.microsoft.com/aspnet/core/client-side/bundling-and-minification
for details on configuring this project to bundle and minify static web assets. */

@font-face {
    font-style: normal;
    font-display: block;
    font-family: 'Iran Yekan Regular';
    src: url('../fonts/IRANSans-Regular.ttf');
}

@font-face {
    font-style: normal;
    font-weight: bold;
    font-display: block;
    font-family: 'Iran Yekan Bold';
    src: url('../fonts/IRANSans-Bold.ttf');
}
body {
    font-size: 11pt;
}

/* Direction follows the active culture: the layout writes dir="rtl"/"ltr" onto <html>
   from CultureInfo.CurrentUICulture.TextInfo.IsRightToLeft. */
html[dir="rtl"] body {
    font-family: 'Iran Yekan Regular';
    direction: rtl;
    text-align: right;
}

html[dir="ltr"] body {
    direction: ltr;
    text-align: left;
}

.language-switcher .dropdown-menu {
    min-width: 8rem;
}

.language-switcher .dropdown-item {
    background: none;
    border: 0;
    width: 100%;
    text-align: inherit;
    cursor: pointer;
}

/* The language already in use stays readable and is simply muted, rather than taking
   Bootstrap's .active treatment (white text) on the background this menu removes. */
.language-switcher .dropdown-item.active,
.language-switcher .dropdown-item.active:hover,
.language-switcher .dropdown-item.active:focus,
.language-switcher .dropdown-item:disabled {
    color: #6c757d;
    background: none;
    cursor: default;
    opacity: 1;
}
a.navbar-brand {
    white-space: normal;
    text-align: center;
    word-break: break-all;
}
.text-aligner{
    text-align: justify;
}

.nav-link{
    padding:5px;
}

.btn{
    font-size:11pt;
}

.btn-small {
    font-size: 8pt !important;
    height:25px !important;
}

.nav-link-separator {
    padding: 5px;
    color: gray;
}

.navbar-nav-pad-remover{
    padding:0px !important;
}
.nav-pills .nav-link.active {
    color: #fff !important;
    background-color: #1b6ec2;
    border-color: #1861ac;
}

.nav-pills .nav-link {
    color: #007bff; /* Inactive text color */
    font-size: smaller !important;
}

/* Provide sufficient contrast against white background */
a {
    color: #0366d6;
}

.btn-primary {
    color: #fff;
    background-color: #1b6ec2;
    border-color: #1861ac;
}

.nav-pills .nav-link.active, .nav-pills .show > .nav-link {
    color: #fff;
    background-color: #1b6ec2;
    border-color: #1861ac;
}

/* Sticky footer styles
-------------------------------------------------- */

.border-top {
    border-top: 1px solid #e5e5e5;
}

.border-bottom {
    border-bottom: 1px solid #e5e5e5;
}

.box-shadow {
    box-shadow: 0 .25rem .75rem rgba(0, 0, 0, .05);
}

button.accept-policy {
    font-size: 1rem;
    line-height: inherit;
}

/* Sticky footer styles
-------------------------------------------------- */
html {
    position: relative;
    min-height: 100%;
}

body {
    /* Margin bottom by footer height */
    margin-bottom: 60px;
}

.footer {
    position: absolute;
    bottom: 0;
    width: 100%;
    white-space: nowrap;
    line-height: 60px; /* Vertically center the text there */
}
