@font-face {
    font-family: IRANSansWeb;
    src: url(../fonts/ttf/IRANSansWeb.ttf);
}
@font-face {
    font-family: BVazir;
    src: url(../fonts/ttf/Vazir-Bold-FD-WOL.ttf);
}
@font-face {
    font-family: Vazir;
    src: url(../fonts/ttf/Vazir-FD-WOL.ttf);
}
input[type="text"]::-moz-placeholder {
    text-align: right;!important;
    direction: rtl;
}
input[type="text"]:-ms-input-placeholder {
    text-align: right;!important;
    direction: rtl;
}
input[type="text"]::-webkit-input-placeholder {
    text-align: right;!important;
    direction: rtl;

}
input[type="password"]::-moz-placeholder {
    text-align: right;!important;
    direction: rtl;
}
input[type="password"]:-ms-input-placeholder {
    text-align: right;!important;
    direction: rtl;
}
input[type="password"]::-webkit-input-placeholder {
    text-align: right;!important;
    direction: rtl;

}
.dropdown-menu {
    margin: 0;
    padding: 0;
    direction: rtl;
    border: none;

}
.dropdown-menu .dropdown-toggle::after {
    font: normal normal normal 10px/2 FontAwesome;
    content: "\f053";
    text-rendering: auto;
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
    border:none;
    min-width:16px;
    float: left;
    margin-left: 0;
    padding-left: 0;
    margin-top: 4px;
    line-height: normal;
    vertical-align: 0;

}
.dropdown-toggle::after {
    font: normal normal normal 10px/2 FontAwesome;
    content: "\f078";
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
    border:none;
    min-width:16px;
    float: left;
    margin-left: 0;
    margin-right: 8px;
    padding-left: 0;
    margin-top: 2px;
    line-height: normal;
    vertical-align: 0;

}
.dropdown-menu .dropdown .dropdown-menu {
    left: 100%;
    top: 0;
    margin:0 20px;
    border-width: 0;
}
.dropdown-menu .dropdown .dropdown-menu.left {
    right: 100%;
    left: auto;
    margin: 0;
}

.dropdown-menu > li a:hover,
.dropdown-menu > li.show {
    background-color: rgb(199,16,16);
    color: white;
}

.dropdown-menu > li.show > a{
    color: white;
margin-top: 0;
}
@media (max-width: 767px) {
    #ibrand
    {
        display: block;
    }
    #main_navbar
    {
        width: 100%;
    }
    .header-top{
        display: none;
    }



}
@media (min-width: 768px) {
    .dropdown-menu .dropdown .dropdown-menu {
        margin:0;
        padding: 0;
        border-width: 1px;
        font-family: IRANSansWeb;
    }
    #ibrand
    {
        display: none;
    }
    .mobile-mode
    {
        display: none;
    }
    .header {
        top: 0;
        margin-top: 0;
    }

    .header-top
    {
        background-image: url("../image/patern.jpg");
        background-repeat: no-repeat;
        background-position:center;
        background-size: auto;
    }
    .header-down
    {
        background-image: url("../image/foter.jpg");
    }
    .desktop
    {
display: flex;
        text-align: center !important;
    -ms-flex-pack:center!important;
        justify-content:center!important
    }


}
.rtl { direction: rtl; }
.rtl .dropdown-menu-right { text-align: right; }
.navbar
{
    font-family: IRANSansWeb;
    font-size: 14px;
}
.navbar-light .navbar-nav .active > .nav-link, .navbar-light .navbar-nav .nav-link.active, .navbar-light .navbar-nav .nav-link.show, .navbar-light .navbar-nav .show > .nav-link
{
    background-color: rgb(199,16,16);
    color: white; !important;

}
.navbar-light .navbar-nav .nav-link
{
    background-color: rgb(255,255,255);
    padding-right: 5px;
    padding-left: 5px;
}
.navbar-light .navbar-nav .nav-link:focus, .navbar-light .navbar-nav .nav-link:hover {
    background-color: rgb(199, 16, 16);
    color: white;!important
transition: opacity ease-in-out .3s
}
.dropdown-item
{
    font-size: 14px;
    margin-top: 0;
    padding-left: 0;
    padding-right: 8px;
}
.navbar-light .navbar-nav .nav-link
{
    color: black;!important;
    padding: 10px;
}


.social-image
{
    width: 21px;
    height: 21px;
    margin-left: 13px;
    margin-top: 20px;
    float: left;
    fill: white;
}
.social-image :hover
{
    fill: #4b2fbd;
}
.site-footer
{
    background-image: url("../image/foter.jpg");
    height: 80px;

}
.vcenter-item{
    display: flex;
    align-items: center;
    padding: 0;
    }
.footer-text
{
    color: white;
    font-size: 15px;
}

.fadeIn
{
    border-radius: 0 0 0 0;
    transition: 0.1s

}
.navbar-toggler
{
    background-color: #bb0000;
    color: white;
    fill: white;
}
.navbar-light .navbar-toggler-icon
{
    fill: white;
}
.navbar-light .navbar-toggler-icon {

    background-image: url("data:image/svg+xml;charset=utf8,%3Csvg viewBox='0 0 32 32' xmlns='http://www.w3.org/2000/svg'%3E%3Cpath stroke='rgba(255,255,255, 1)' stroke-width='2' stroke-linecap='round' stroke-miterlimit='10' d='M4 8h24M4 16h24M4 24h24'/%3E%3C/svg%3E");
}

.custom-toggler.navbar-toggler {
    border-color: rgb(255,255,255);
}
.main-box
{
    display: block;
    border-radius: 15px 15px;
    background-image: url("../image/foter.jpg");
    margin-bottom: 50px;
    color: white;
    font-family: Vazir;
        clear: both;!important;
}
.box-border
{
    width: 95%;
border-bottom-width: 1px;
border-bottom-style: solid;
border-bottom-color:white ;
    padding: 0;
    margin: 0 auto;
    }
.box-title-up
{
    margin-top: 0;
    margin-bottom: 0;
    padding-top: 3px;
    padding-right: 40px;
    font-weight: 700;
    font-size:14px;
}
.box-title-down
{
    margin-top: 0;
    padding-right: 40px;
    padding-top: 5px;
    padding-bottom: 5px;
    font-size:14px;
    font-weight: 400;
}
.box-title
{
margin-top: 10px;
padding-top: 10px;
}

@media (max-width: 930px) {

}

@media (max-width: 745px) {

}

@media (max-width: 515px) {
    .main-box
    {
        width: 100%;
    }
}

@media (max-width: 250px) {
    .main-box
    {
        width: 100%;
    }

}
.agent-title
{
    font-weight: 700;
    font-size: 14px;
}
.agent-name
{
    font-weight: 400;
    font-size: 14px;

}
.box-row
{
    padding-top: 5px;
    margin-bottom: 3px;
    vertical-align: center;

}
.box-data
{

}
.box-icon
{
    margin-right: 10px;
    margin-left: 10px;
}
.tel{
    font-family: Tahoma;
}
.hresult {
  text-align: right;
    margin-right: 10%;
    margin-top: 20px
}
.presult {
    text-align: right;
    margin-right: 10%;
    margin-top: 5px;
    color:red;
}
.with-errors
{
    color: darkred;
    font-weight: bold;
}
.btn-red
{
    background-color: rgb(193,11,32);
    border: 0;
    border-radius: 0 0;
    color: white;
    padding: 7px;
}
.labpoll
{
    font-size: 14px;
    color: black;
    font-family: IRANSansWeb;
}
.labop {
    font-size: 12px;
    font-family: IRANSansWeb;
}

.labiran {
    font-family: IRANSansWeb;
    color: silver;
    font-size: 13px;
}
.sendto
{
    width: 100px;
    height: 25px;
    border-radius: 10px 10px;
    background: silver;
    margin: 0 auto;
    text-align: center;
    vertical-align: middle;
line-height: 25px;
}
.labsendto {
    font-family: IRANSansWeb;
    color: darkred;;
    font-size: 12px;
    margin: 0 auto;
    text-align: center;
}
#page-container {
    position: relative;
    min-height: 100vh;
}
body {
    min-height: 100vh;
    display: flex;
    flex-direction: column;
}
footer{
    margin-top: auto;
    min-height: 8vh;
}
.btn-red:hover
{
    color:white;
}
.btn-gray:hover
{
    color:white;
}
.timer{
    display: -webkit-inline-box;
    /*font-size: -webkit-xxx-large;*/
    height: 37px;
}
.timer-example
{
    background-color: rgba(139, 0, 0, 0.45);
    color: white;
    padding: 5px;
    font-weight: bold;
    border-radius: 3px 3px;
}

.btn-gray{
    background-color: silver;
    border: 0;
    border-radius: 0 0;
    color: white;
    padding: 7px;
}
.desklab
{
    color: darkred;

}
.reglab
{
    color: dimgray;
    font-size: 12px;
    font-weight: normal;

}
.desklvar
{
    color: dimgray;
    font-weight: 800;
}
h1,h2,h3,h4,h5,h6,label,p,input,button,span, a.vazir
{
    font-family: Vazir;
}
a:hover
{
    text-decoration: none;
    border: 0;
}
input#code:focus
{
    box-shadow: none;
}input#code:focus
{
    box-shadow: none;
}
input#pass0:focus
{
    box-shadow: none;
}
input#pass1:focus
{
    box-shadow: none;
}
input#pass2:focus
{
    box-shadow: none;
}
