@font-face {
    font-family: vazir;
    src: url('../webfonts/Vazir-FD.eot') format('eot'),
    url('../webfonts/Vazir-FD.woff') format('woff'),
    url('../webfonts/Vazir-FD.ttf') format('truetype');
}

html, body {
    direction: rtl;
    text-align: right;
    font-family: vazir;
    background-image: url("../img/bg.jpg");
    background-size: cover;
    background-attachment: fixed;
    background-color: #72738f;
}

.alert-dismissible .close {
    right: unset;
    left: 0;
}

.alert-dismissible {
    padding-right: 1.25rem;
    padding-left: 4rem;
}

.wrapper {
    background-color: white;
    margin-bottom: 40px;
}

.form-check {
    padding-left: unset;
    padding-right: 1.25rem;
}

.form-check-input {
    margin-left: unset;
    margin-right: -1.25rem;
}

.ltr {
    direction: ltr;
}

#order-form .form-group .error-message {
    display: none;
    color: red;
    font-size: 14px;
}

#order-form .form-group.changed .error-message {
    display: inline;
}

#order-form #order-link {
    direction: ltr;
    color: orangered;
    text-align: left;
}

#order-form #order-price {
    margin-right: 7px;
    color: #ff1900;
}

nav.navbar {
    z-index: 999999999999;
    position: fixed;
    top: 0;
    width: 100%;
    background-color: #15719c;
}

nav.navbar a {
    color: black;
}

.navbar-nav {
    padding-right: 0;
    padding-left: .5rem;
}

.nav-link {
    color: white !important;
    box-sizing: border-box;
    font-size: 14px;
}

nav.navbar a i {
    margin-left: 5px;
}

.header {
    text-align: center;
    margin-bottom: 10px;
}

.header h1 {
    font-size: 24px;
    margin-bottom: 20px;
    color: white;
}

main {
    margin-top: 90px;
}

.step-container {
    width: 100%;
    margin: 0 auto 45px;
}

.step-maker-container {
    position: relative;
    height: 50px;
}

.step-maker-container hr {
    position: absolute;
    top: 5px;
    z-index: 1;
    height: 2px;
    background: #676767;
    border: none;
    width: 100%;
    right: 0;
}

div.step-maker {
    position: absolute;
    display: table;
    text-align: center;
    z-index: 2;
    width: 100%;
}

div.step-maker .step {
    float: right;
    min-width: 60px;
    width: calc(50% - 20px);
    text-align: right;
}

div.step-maker .step.active > label.step-number {
    color: #fff;
    border: 2px solid #cd6928;
    background-color: #cd6928;
}

div.step-maker .step.active > label:last-child {
    color: #cd6928;
}

div.step-maker .step > label.step-number {
    background-color: #fff;
    color: #676767;
    border-radius: 50%;
    border: 2px solid #676767;
    display: inline-block;
    height: 45px;
    width: 45px;
    position: relative;
    margin-bottom: 0;
}

div.step-maker .step > label.step-number > span {
    font-weight: bold;
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
}

div.step-maker .step > label {
    display: block;
}

div.step-maker .step > label:last-child {
    font-weight: bold;
    word-break: break-all;
}

.dropdown-menu {
    left: unset;
    right: 0;
}

.dropdown-menu * {
    text-align: right;
}

.eng {
    font-family: arial, tahoma;
}

.form-control.is-valid, .was-validated .form-control:valid {
    background-position: center left calc(.375em + .1875rem);
    padding-right:0.75rem;
    padding-left: calc(1.5em + .75rem);
}

.navbar-expand-lg .navbar-nav .nav-link {
    padding-right: .3rem;
    padding-left: .3rem;
}

.navbar.navbar-expand-lg.navbar-dark {
    padding-top: 4px;
    padding-bottom: 4px;
}

.navbar-brand {
    padding-bottom: 0 !important;
    padding-top: 0 !important;
}

.navbar-brand img {
    height: 55px;
}

@media (max-width: 1200px) {
    .navbar .container {
        width: 100%;
        max-width: 100%;
    }
}