﻿
@font-face {
    font-family: 'matn';
    src: url(/fonts/iransans/eot/iransans.eot);
    src: url(/fonts/iransans/eot/iransans.eot?#iefix) format('embedded-opentype'), url(/fonts/iransans/woff/iransans.woff) format('woff'), url(/fonts/iransans/woff2/iransans.woff2) format('woff2'), url(/fonts/iransans/ttf/iransans.ttf) format('truetype');
    /*src: url(../fonts/bnazanin.eot);
    src: url(../fonts/bnazanin.eot?#iefix) format('embedded-opentype'), url(../fonts/bnazanin.woff) format('woff'), url(../fonts/bnazanin.ttf) format('truetype'), url(../fonts/bnazanin.svg#glr.svg#glyphicons_halflingsregular) format('svg');*/
}

@font-face {
    font-family: 'title';
    src: url(../fonts/byekan.eot);
    src: url(../fonts/byekan.eot?#iefix) format('embedded-opentype'), url(../fonts/byekan.woff) format('woff'), url(../fonts/byekan.ttf) format('truetype'), url(../fonts/byekan.svg#glr.svg#glyphicons_halflingsregular) format('svg');
}

@font-face {
    font-family: 'nav';
    src: url(../fonts/bhoma.eot);
    src: url(../fonts/bhoma.eot?#iefix) format('embedded-opentype'), url(../fonts/bhoma.woff) format('woff'), url(../fonts/bhoma.ttf) format('truetype'), url(../fonts/bhoma.svg#glr.svg#glyphicons_halflingsregular) format('svg');
}


/*General*/

body {
    direction: rtl;
    font-family: matn, -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, "Helvetica Neue", Arial, "Noto Sans", sans-serif, "Apple Color Emoji", "Segoe UI Emoji", "Segoe UI Symbol", "Noto Color Emoji";
    font-size: 1.3rem;
}

img {
    max-width: 100%;
}

.badge-new {
    display: inline-block;
    min-width: 10px;
    line-height: 1;
    text-align: center;
    padding-right: 3px;
}

    .badge-new img {
        height: 30px;
    }

.row-flex {
    display: flex; /* columns are now equal height */
    flex-wrap: wrap;
}

.col-md-1, .col-md-2, .col-md-3, .col-md-4, .col-md-5, .col-md-6, .col-md-7, .col-md-8, .col-md-9, .col-md-10, .col-md-11, .col-md-12 {
    float: right !important;
}

.col-sm-1, .col-sm-2, .col-sm-3, .col-sm-4, .col-sm-5, .col-sm-6, .col-sm-7, .col-sm-8, .col-sm-9, .col-sm-10, .col-sm-11, .col-sm-12 {
    float: right !important;
}

h1, h2, h3, h4, h5, h6, .h1, .h2, .h3, .h4, .h5, .h6 {
    font-family: title, -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, "Helvetica Neue", Arial, "Noto Sans", sans-serif, "Apple Color Emoji", "Segoe UI Emoji", "Segoe UI Symbol", "Noto Color Emoji";
}

h4 {
    font-size: 1.6rem;
    font-weight: 500;
}

.h2home {
    padding: 15px;
    background-color: #006700;
    color: #FFF;
}

.header-height {
    height: 100px;
    margin: 10px;
}

.left {
    text-align: left;
}

.pad10 {
    padding: 10px;
}

.py-2 {
    padding-top: 2rem;
    padding-bottom: 2rem;
}

.mywrapper {
    margin: 80px 0;
}

.mywrapper-bg {
    background-color: #51f940;
}

.blue {
    color: #2a31a6;
}

top20 {
    margin-top: 20px;
}


.nav-tabs {
    border-bottom: 5px solid #E8E8E8;
}

    .nav-tabs > li {
        float: right !important;
    }



.banner ul li .btn {
    white-space: normal !important;
}

.banner ul li {
    margin: 20px 0;
}

.smallAds img {
    width: 220px;
    height: 95px;
}

.top0 {
    margin-top: 0;
}

.mt-0 {
    margin-top: 0;
}

.mt-1 {
    margin-top: 1rem;
}

.mt-2 {
    margin-top: 2rem;
}

.mb-0 {
    margin-bottom: 0;
}

.mb-2 {
    margin-bottom: 2rem;
}

.p-0 {
    padding: 0 !important;
}

.pt-0 {
    padding-top: 0 !important;
}

.pb-0 {
    padding-bottom: 0 !important;
}

.pb-1 {
    padding-bottom: 1rem !important;
}

.py-0 {
    padding-top: 0 !important;
    padding-bottom: 0 !important;
}

.row-main {
    min-height: 450px;
}

.img-responsive {
    margin: 0 auto;
}

/*vertical-align:middle*/
.parentbox {
    width: 100%;
    height: 100%;
    text-align: center; /* align the inline(-block) elements horizontally */
    font: 0/0 a; /* remove the gap between inline(-block) elements */
}

    .parentbox:before { /* create a full-height inline block pseudo-element */
        content: ' ';
        display: inline-block;
        vertical-align: middle; /* vertical alignment of the inline element */
        height: 100%;
    }

.childbox {
    display: inline-block;
    vertical-align: middle; /* vertical alignment of the inline element */
    padding: 5px;
}


/*Header*/

.myheader {
    color: #FFF;
    background: rgb(59,103,158);
    background: url(data:image/svg+xml;base64,PD94bWwgdmVyc2lvbj0iMS4wIiA/Pgo8c3ZnIHhtbG5zPSJod…IgaGVpZ2h0PSIxIiBmaWxsPSJ1cmwoI2dyYWQtdWNnZy1nZW5lcmF0ZWQpIiAvPgo8L3N2Zz4=);
    background: -moz-linear-gradient(-45deg, rgba(59,103,158,1) 0%, rgba(43,136,217,1) 50%, rgba(32,124,202,1) 51%, rgba(125,185,232,1) 100%);
    background: -webkit-gradient(linear, left top, right bottom, color-stop(0%,rgba(59,103,158,1)), color-stop(50%,rgba(43,136,217,1)), color-stop(51%,rgba(32,124,202,1)), color-stop(100%,rgba(125,185,232,1)));
    background: -webkit-linear-gradient(-45deg, rgba(59,103,158,1) 0%,rgba(43,136,217,1) 50%,rgba(32,124,202,1) 51%,rgba(125,185,232,1) 100%);
    background: -o-linear-gradient(-45deg, rgba(59,103,158,1) 0%,rgba(43,136,217,1) 50%,rgba(32,124,202,1) 51%,rgba(125,185,232,1) 100%);
    background: -ms-linear-gradient(-45deg, rgba(59,103,158,1) 0%,rgba(43,136,217,1) 50%,rgba(32,124,202,1) 51%,rgba(125,185,232,1) 100%);
    background: linear-gradient(135deg, rgba(59,103,158,1) 0%,rgba(43,136,217,1) 50%,rgba(32,124,202,1) 51%,rgba(125,185,232,1) 100%);
    filter: progid:DXImageTransform.Microsoft.gradient( startColorstr='#3b679e', endColorstr='#7db9e8',GradientType=1 );
}

    .myheader .mytitle {
        padding: 40px 60px;
        font-family: title;
        font-size: 2em;
    }

        .myheader .mytitle a {
            color: #FFF;
        }

            .myheader .mytitle a:hover {
                text-decoration: none;
            }

    .myheader .mylogin {
        padding: 50px 60px;
    }

        .myheader .mylogin a {
            color: #FFF;
        }




/*Navigation*/

.navbar {
    border-radius: 0;
    margin-bottom: 0;
}

.dropdown:hover .dropdown-menu {
    display: block;
}

.navbar-default .navbar-nav > li > a {
    font-family: nav;
    font-size: 16px;
}

.navbar-default {
    background-color: #a62424;
    border: 0;
}

    .navbar-default .navbar-nav > .active > a, .navbar-default .navbar-nav > .active > a:hover, .navbar-default .navbar-nav > .active > a:focus {
        color: #FFF;
    }

    .navbar-default .navbar-nav > li > a {
        color: #FFF;
    }

.navbar-nav > li {
    float: right !important;
}

.navbar-nav {
    float: right !important;
}

.navbar-header {
    float: right !important;
}

.navbar-nav .open .dropdown-menu {
    text-align: right !important;
}

.nav {
    padding-right: 0;
}

.dropdown-menu {
    right: 0;
    font-size: inherit !important;
    min-width: 280px;
}

/*.panel {
    margin: 30px 0;
    background-color: inherit;
}*/






/*Elements*/

.input-group-addon {
    font-size: 100% !important;
}

input[type="checkbox"], input[type="radio"] {
    margin-left: 5px;
}

th {
    text-align: right;
}

.label {
    font-size: 90%;
}

.list-unstyled {
    padding-right: 0;
}



/*Forms*/

.form-control {
    font-size: 14px !important;
}




/*footer*/

.myfooter {
    background-color: #a62424;
    color: #FFF;
    padding: 30px;
}

    .myfooter h3 {
        font-family: title;
        font-size: 1.5em;
        margin-bottom: 40px;
        padding-bottom: 10px;
        border-bottom: 1px solid #FFF;
    }

    .myfooter a {
        color: #FFF;
    }

    .myfooter ul li {
        border-top: 1px solid #000;
        margin-top: 12px;
        padding-top: 12px;
    }

        .myfooter ul li:first-child {
            margin-top: 0;
            padding-top: 0;
            border-top: none;
        }

    .myfooter img {
        width: 100%;
        margin-bottom: 10px;
    }



/*resume*/
.resume th, .resume td, .resume tr {
    padding: 2px !important;
    text-align: center;
}



/*ajax*/
.updateProgressBox {
    top: 0px;
    height: 100%;
    background-color: rgba(64, 64, 64, 0.5);
    opacity: 0.7;
    filter: alpha(opacity=70);
    vertical-align: middle;
    left: 0px;
    z-index: 999999;
    width: 100%;
    position: fixed;
    text-align: center;
    cursor: wait;
}

.updateProgressMessage {
    z-index: 1000000;
    opacity: 1.0;
    filter: alpha(opacity=100);
    margin: 300px auto auto auto;
    width: 200px;
    text-align: center;
}







.form {
    margin: 0 0 20px;
}

.form {
    display: block;
    margin-top: 0em;
}




/*mgrid*/

.mGrid {
}

    .mGrid .pgr {
        background: #424242 url(/ImageDefault/mGrid/grd_pgr.png) repeat-x top;
    }

        .mGrid .pgr:hover {
            background: #424242 url(/ImageDefault/mGrid/grd_pgr.png) repeat-x top;
        }

        .mGrid .pgr table {
            margin: 5px 0;
        }

        .mGrid .pgr td {
            height: 20px;
            border-width: 0;
            padding: 0 6px;
            border-left: solid 1px #666;
            font-weight: bold;
            color: #fff;
            line-height: 12px;
        }

        .mGrid .pgr a {
            color: #666;
            text-decoration: none;
        }

            .mGrid .pgr a:hover {
                color: #000;
                text-decoration: none;
            }




/*blink*/
.blink_me {
    -webkit-animation-name: blinker;
    -webkit-animation-duration: 2s;
    -webkit-animation-timing-function: linear;
    -webkit-animation-iteration-count: infinite;
    -moz-animation-name: blinker;
    -moz-animation-duration: 2s;
    -moz-animation-timing-function: linear;
    -moz-animation-iteration-count: infinite;
    animation-name: blinker;
    animation-duration: 2s;
    animation-timing-function: linear;
    animation-iteration-count: infinite;
}

    .blink_me:hover {
        -webkit-animation-name: none;
        -moz-animation-name: none;
        animation-name: none;
        opacity: 1;
    }

@-moz-keyframes blinker {
    0% {
        opacity: 1.0;
    }

    50% {
        opacity: 0.0;
    }

    100% {
        opacity: 1.0;
    }
}

@-webkit-keyframes blinker {
    0% {
        opacity: 1.0;
    }

    50% {
        opacity: 0.0;
    }

    100% {
        opacity: 1.0;
    }
}

@keyframes blinker {
    0% {
        opacity: 1.0;
    }

    50% {
        opacity: 0.0;
    }

    100% {
        opacity: 1.0;
    }
}
/*end blink*/

/* text color */
.text-muted {
    color: #6c757d !important;
}

.list-group {
    padding-right: 0;
}

.btn {
    font-size: 1.3rem;
}

/* modal */
.close {
    float: left;
}

.modal-footer {
    text-align: left;
}

.nav > li > a {
    padding: 10px 8px;
}


.col-xs-1, .col-xs-2, .col-xs-3, .col-xs-4, .col-xs-5, .col-xs-6,
.col-xs-7, .col-xs-8, .col-xs-9, .col-xs-10, .col-xs-11, .col-xs-12 {
    float: right;
}

.btn-icon {
    width: 25px;
}