/******************************* fonts *********************************/
@font-face {
    font-family: 'vazir';
    src: url(../_font/vazir/vazirf.eot);
    src: url(../_font/vazir/vazirf.eot?#iefix) format("embedded-opentype"), url(../_font/vazir/vazirf.woff2) format("woff2"), url(../_font/vazir/vazirf.woff) format("woff"), url(../_font/vazir/vazirf.ttf) format("truetype"), url(../_font/vazir/vazirf.svg#XeroSansBold) format("svg"); }
/******************************* Default style *********************************/
* {
    direction: rtl;
    margin: 0;
    padding: 0;
    box-sizing: border-box;
    outline: none; }

body {
    color: #444;
    font-family: "vazir" !important;
    text-align: right;
    background-color: #F1F1F1;}
/******************************* General style *********************************/
.header-part1{
    background-color: #1f64b2;
}
.navigation{
    background-color: #FEFEFE;
    border-bottom: solid 1px #0000000d;
}
.navigation .navbar .navbar-toggler{
    background-color: #f5f5f5;
    margin: auto;
    margin-top: 20px;
    width: 50px;
    height: 50px;

}
.navigation .navbar .navbar-toggler .navbar-toggler-icon:after{
    position: absolute;
    content: '';
    background: transparent url("../pics/img-4.png") no-repeat center / contain;
    width: 30px;
    height: 22px;
    top: 50%;
    right: 0;
    left: 0;
    transform: translateY(-50%);
}
.navigation .navbar .navbar-nav .nav-item{
    margin: 0 5px;
}
.navigation .navbar .navbar-nav .nav-item .nav-link {
    position: relative;
    color: #808080;
    transition: color 0.2s ease-in;
    padding: 15px;
    position: relative;
    border-bottom: solid 2px transparent;
}
.navigation .navbar .navbar-nav .nav-item.active .nav-link{
    color: #000;
    border-bottom: solid 2px transparent;
}
.navigation .navbar .navbar-nav .nav-item.active .nav-link:before{
    position: absolute;
    content: '';
    top: 100%;
    right: 0;
    left:0;
    height: 2px;
    background: #318FDD;
}
.navigation .navbar .navbar-nav .nav-item.active .nav-link:after{
    position: absolute;
    content: '';
    border-bottom: solid 4px #318FDD;
    border-top: solid 4px transparent;
    border-right: solid 4px transparent;
    border-left: solid 4px transparent;
    left: 0;
    right: 0;
    bottom: 0;
    margin: 0 auto;
    width: 8px;
}
.navigation .navbar .navbar-nav .nav-item .nav-link:hover{
    border-bottom: solid 2px #318FDD;
    color: #000;
}
.navigation .navbar .navbar-nav .nav-item.active .nav-link:hover{
    border-bottom: unset;
    color: #000;
}
.navigation .navbar .navbar-nav .nav-item .nav-link .icon{
    font-size: 1rem;
}


@media (min-width: 992px){
    .d-lg-none {
        display: none !important;
    }
}

.navbar-toggler {
    padding: 0.25rem 0.75rem;
    font-size: 1.25rem;
    line-height: 1;
    background-color: transparent;
    border: 1px solid transparent;
    border-radius: 0.25rem;
}
button, [type="button"], [type="reset"], [type="submit"] {
    -webkit-appearance: button;
}

.position-relative {
    position: relative !important;
}
.navbar-toggler-icon {
    display: inline-block;
    width: 1.5em;
    height: 1.5em;
    vertical-align: middle;
    content: "";
    background: no-repeat center center;
    background-size: 100% 100%;
}

.d-inline-block {
    display: inline-block !important;
}
.navbar-brand {
    display: inline-block;
    padding-top: 0.3125rem;
    padding-bottom: 0.3125rem;
    margin-right: 1rem;
    font-size: 1.25rem;
    line-height: inherit;
    white-space: nowrap;
}
a {
    color: #007bff;
    text-decoration: none;
    background-color: transparent;
}

.navbar-nav .nav-link {
    padding-right: 0;
    padding-left: 0;
}
.nav-link {
    display: block;
    padding: 0.5rem 1rem;
}

@media (min-width: 992px){
    .navbar-expand-lg .navbar-toggler {
        display: none;
    }
    .d-lg-none {
        display: none !important;
    }
}

@media (max-width: 600px){
    .d-none {
        display: none !important;
    }
}
