@import url("https://maxcdn.bootstrapcdn.com/font-awesome/4.7.0/css/font-awesome.min.css");

/* @import url("https://fonts.googleapis.com/css?family=Roboto:300,400"); */
@font-face {
    font-family: Yekan;
    src:
        url('Yekan.woff') format('woff');
    font-weight: normal;
}

@font-face {
    font-family: 'BYekan';
    src: url('BYekan.eot?#') format('eot'),
        
        url('BYekan.woff') format('woff'),
        
        url('BYekan.ttf') format('truetype');
    
}

@font-face {
    font-family: 'IranianSans';
    src: url('IranianSans.eot?#') format('eot'),
        
        url('IranianSans.woff') format('woff'),
        
        url('IranianSans.ttf') format('truetype');
    
}

@font-face {
    font-family: 'BHoma';
    src: url('BHoma.eot?#') format('eot'),
        
        url('BHoma.woff') format('woff'),
        
        url('BHoma.ttf') format('truetype');
    
}

@font-face {
    font-family: 'BJalal';
    src: url('BJalal.eot?#') format('eot'),
        
        url('BJalal.woff') format('woff'),
        
        url('BJalal.ttf') format('truetype');
    
}

@font-face {
    font-family: 'BKoodakBold';
    src: url('BKoodakBold.eot?#') format('eot'),
        
        url('BKoodakBold.woff') format('woff'),
        
        url('BKoodakBold.ttf') format('truetype');
    
}

@font-face {
    font-family: 'BRoya';
    src: url('BRoya.eot?#') format('eot'),
        
        url('BRoya.woff') format('woff'),
        
        url('BRoya.ttf') format('truetype');
    
}

@font-face {
    font-family: 'BTabassom';
    src: url('BTabassom.eot?#') format('eot'),
        
        url('BTabassom.woff') format('woff'),
        
        url('BTabassom.ttf') format('truetype');
    
}

@font-face {
    font-family: 'BTraffic';
    src: url('BTraffic.eot?#') format('eot'),
        
        url('BTraffic.woff') format('woff'),
        
        url('BTraffic.ttf') format('truetype');
    
}

body {
    direction: rtl;
    position: relative;
    overflow-x: hidden;
    text-align: right;
    font-family: BTabassom;
    font-family: BJalal;
    font-family: BKoodakBold;
    font-family: BTraffic;
    font-family: BRoya;
    font-family: BHoma;
    font-family: IranianSans;
    font-family: Yekan;
}

body,
html {
    height: 100%;
}

.flex-container {
    display: flex;
}
.nav .open>a,
.nav .open>a:hover,
.nav .open>a:focus {
    background-color: transparent;
}

#sidebar-wrapper {
    z-index: 0;
    flex-grow: 1;
    flex-basis: 0;
    margin: 0px;
    border-radius: 0;
    padding: 0px;
    overflow-y: auto;
    overflow-x: hidden;
    background: #1a1a1a;
    -webkit-transition: all 0.5s ease;
    -moz-transition: all 0.5s ease;
    -o-transition: all 0.5s ease;
    transition: all 0.5s ease;
}

.dropdown-toggle::after{
    margin-bottom: -5px;
}
#sidebar-wrapper::-webkit-scrollbar {
    display: none;
}

.sidebar-nav {
    position: absolute;
    top: 0;
    margin: 0;
    padding: 0;
    list-style: none;
    text-align: right;
}

.sidebar-nav li {
    position: relative;
    line-height: 20px;
    display: inline-block;
    width: 100%;
}

.sidebar-nav li:before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    z-index: -1;
    height: 100%;
    width: 5px;
    background-color: #1c1c1c;
    -webkit-transition: width .2s ease-in;
    -moz-transition: width .2s ease-in;
    -ms-transition: width .2s ease-in;
    transition: width .2s ease-in;

}

.sidebar-nav li:first-child a {
    color: #fff;
    background-color: #1a1a1a;
}

.sidebar-nav li:nth-child(2):before {
    background-color: #ec1b5a;
}

.sidebar-nav li:nth-child(3):before {
    background-color: #7d5d81;
}

.sidebar-nav li:nth-child(4):before {
    background-color: #2d2366;
}

.sidebar-nav li:nth-child(5):before {
    background-color: #D5AA51;
}

.sidebar-nav li:nth-child(6):before {
    background-color: #79aefe;
}

.sidebar-nav li:nth-child(7):before {
    background-color: #ead24c;
}

.sidebar-nav li:nth-child(8):before {
    background-color: #ec851b;
}

.sidebar-nav li:nth-child(9):before {
    background-color: #5b9963;
}

.sidebar-nav li:hover:before,
.sidebar-nav li.open:hover:before {
    width: 100%;
    -webkit-transition: width .2s ease-in;
    -moz-transition: width .2s ease-in;
    -ms-transition: width .2s ease-in;
    transition: width .2s ease-in;

}

.sidebar-nav li a {
    display: block;
    color: #ddd;
    text-decoration: none;
    padding: 10px 20px 15px 30px;
    font-size: 17px;
}

.sidebar-nav li a:hover,
.sidebar-nav li a:active,
.sidebar-nav li a:focus,
.sidebar-nav li.open a:hover,
.sidebar-nav li.open a:active,
.sidebar-nav li.open a:focus {
    color: #fff;
    text-decoration: none;
    background-color: transparent;
}
.sidebar-brand img {
    display: flex;
    margin: auto;
    width: 70%;
}

.sidebar-nav .dropdown-menu {
    position: sticky;
    width: 100%;
    padding: 0;
    margin: 0;
    border-radius: 0;
    border: none;
    background-color: #353535;
    box-shadow: none;
}

.main-box {
    flex-direction: column;
    flex-grow: 7;
    flex-basis: 0;
    background-color: #efeeee;
    padding: 40px 40px 0px 40px;
    height: 100vh;
    overflow: auto;
    box-shadow: 0 1px 3px rgba(0, 0, 0, 0.12), 0 1px 2px rgba(0, 0, 0, 0.24);
    transition: all 0.3s cubic-bezier(.25, .8, .25, 1);
    scroll-behavior: smooth;
}

.main-box::-webkit-scrollbar {
    width: 10px;
}

.main-box::-webkit-scrollbar-track {
    box-shadow: inset 0 0 5px grey;
}

.main-box::-webkit-scrollbar-thumb {
    background: #555;
}

.main-box::-webkit-scrollbar-thumb:hover {
    background: #2d2d2d;
}

.box-shadow {
    box-shadow: 0 1px 3px rgba(0, 0, 0, 0.12), 0 1px 2px rgba(0, 0, 0, 0.24);
    transition: all 0.3s cubic-bezier(.25, .8, .25, 1);
    padding: 30px 40px 30px 30px;
    background-color: white;
    margin-bottom: 20px;
}

#introduction .flex-container {
    justify-content: space-between;
    flex-direction: row;
}

#services .services {
    flex-direction: column;
    flex-grow: 1;
}

.transfer {
    flex-direction: column;
    flex-grow: 1;
    margin-right: 10px;
}

.box-shadow .table {
    text-align: center;
}

li {
    list-style: none;
}

i {
    margin-left: 10px;
}

h5 {
    margin-bottom: 15px;
    margin-right: 10px;
}

.fa-exclamation-circle {
    font-size: 22px;
    color: #e21717c7;
}

.fa-bullseye {
    background-color: black;
    color: white;
}

.table {
    box-shadow: 0 3px 6px rgba(0, 0, 0, 0.16), 0 3px 6px rgba(0, 0, 0, 0.23);
}

.table thead th {
    background-color: #D5AA51;
    color: white;
    border-bottom: 2px solid #D5AA51;
}

.output {
    margin-top: 15px;
}

.output .table thead th {
    background-color: #000000;
    border-bottom: 2px solid #000000;
}

.methods {
    margin-bottom: 30px;
}

.table-striped tbody tr:nth-of-type(odd) {
    background-color: white;
}

.table-striped tbody tr:nth-of-type(even) {
    background-color: rgba(0, 0, 0, 0.11);
}

.table-striped tbody tr:nth-of-type(odd):hover,
.table-striped tbody tr:nth-of-type(even):hover {

    background-color: rgb(222, 222, 222)
}

.table td,
.table th {
    border-top: 1px solid #dad7d7;
}

.header-box {
    justify-content: space-between;
}

.header-box>.flex-container {
    box-shadow: 0 1px 3px rgba(0, 0, 0, 0.12), 0 1px 2px rgba(0, 0, 0, 0.24);
    transition: all 0.3s cubic-bezier(.25, .8, .25, 1);
}

.method-type {
    padding: 10px;
    background-color: #D5AA51;
    color: white;
}

.method-name {
    padding: 10px;
    background-color: rgba(0, 0, 0, .05);
}

.method-address {
    direction: ltr;
    padding: 5px 10px;
    background-color: #D5AA51;
    color: white;
}

.example {
    background-color: #2d2d2d;
    border-radius: 10px;
    padding: 30px 20px;
}

.example * {
    direction: ltr;
    text-align: left;
}

.json-body {
    color: #bdb7b7;
}

.json-string {
    color: #cc8d49;
}

.json-literal {
    color: #7ec69a;
}

button.back-to-top {
    margin: 0 !important;
    padding: 0 !important;
    background: #fff;
    height: 0px;
    width: 0px;
    overflow: hidden;
    border-radius: 50px;
    -webkit-border-radius: 50px;
    -moz-border-radius: 50px;
    color: transparent;
    clear: both;
    visibility: hidden;
    position: fixed;
    cursor: pointer;
    display: block;
    border: none;
    left: 40px;
    bottom: 30px;
    font-size: 0px;
    outline: 0 !important;
    z-index: 99;
    transition: all .3s ease-in-out;
}

button.back-to-top:hover,
button.back-to-top:active,
button.back-to-top:focus {
    outline: 0 !important;
}

button.back-to-top::before {
    content: "\f077";
    font-family: "FontAwesome";
    display: block;
    vertical-align: middle;
    margin: -5px 0 auto;
}

button.back-to-top.show {
    display: block;
    background: #fff;
    color: #e21717c7;
    font-size: 25px;
    left: 20px;
    bottom: 10px;
    height: 50px;
    width: 50px;
    z-index: auto;
    visibility: visible;
    box-shadow: 0px 2px 4px 1px rgba(0, 0, 0, 0.25);
    -webkit-box-shadow: 0px 2px 4px 1px rgba(0, 0, 0, 0.25);
    -moz-box-shadow: 0px 2px 4px 1px rgba(0, 0, 0, 0.25);
}

button.back-to-top.show:active {
    box-shadow: 0px 4px 8px 2px rgba(0, 0, 0, 0.25);
    -webkit-box-shadow: 0px 4px 8px 2px rgba(0, 0, 0, 0.25);
    -moz-box-shadow: 0px 4px 8px 2px rgba(0, 0, 0, 0.25);
}

@media screen and (min-width: 360px) and (max-width: 640px) {
    #sidebar-wrapper {
        display: none;
    }

    #sidebar-wrapper.mobile-menu {
        display: block;
        position: absolute;
        height: 100vh;
        width: 100%;
        z-index: 1;
    }

    .sidebar-brand img {
        width: auto;
    }

    img {
        display: none;
    }

    p {
        font-size: 15px;
    }

    .box-shadow {
        padding: 20px 20px 30px 20px;
    }

    .main-box {
        padding: 30px 15px 0px 15px;
    }

    ul {
        padding-right: 20px;
    }

    #services {
        flex-direction: column;
    }

    .transfer {
        margin-right: 0px;
    }

    .example {
        padding: 20px 5px;
    }

    .header-box {
        flex-direction: column;
        align-items: center;
    }

    .method-type {
        font-size: 14px;
    }

    .method-name {
        font-size: 15px;
    }

    .method-address {
        overflow: scroll;
        width: 100%;
        text-align: center;
        margin-top: 10px;
        margin-bottom: 0px;
        max-width: fit-content;
    }

    .menu-button {
        padding: 6px;
        position: absolute;
        display: inline-block;
        background: #fff;
        font-size: 25px;
        right: 5px;
        top: 15px;
        z-index: 1;
        border-radius: 50px;
        height: 40px;
        width: 40px;
        visibility: visible;
        box-shadow: 0px 2px 4px 1px rgba(0, 0, 0, 0.25);
        -webkit-box-shadow: 0px 2px 4px 1px rgba(0, 0, 0, 0.25);
        -moz-box-shadow: 0px 2px 4px 1px rgba(0, 0, 0, 0.25);

    }

    .bar1,
    .bar2,
    .bar3 {
        width: 25px;
        height: 3px;
        background-color: #1a1a1a;
        margin: 5px auto;
        transition: 0.4s;
    }

    .change {
        background-color: #1a1a1a;
    }

    .change .bar1 {
        -webkit-transform: rotate(-45deg) translate(-4px, 6px);
        transform: rotate(-45deg) translate(-4px, 6px);
        background-color: #efeeee;
    }

    .change .bar2 {
        opacity: 0;
    }

    .change .bar3 {
        -webkit-transform: rotate(45deg) translate(-5px, -8px);
        transform: rotate(45deg) translate(-5px, -8px);
        background-color: #efeeee;
    }
    button.back-to-top.show{
        height: 40px;
        width: 40px;
        font-size: 20px;
        left:15px;
    }
}

@media screen and (min-width: 641px) and (max-width: 840px) {

    .main-box {
        padding: 35px 30px 0px 30px;
    }

    .box-shadow {
        padding: 20px 20px 30px 20px;
    }

    img {
        display: none;
    }

    .sidebar-nav li a {
        font-size: 16px;
    }

    .header-box {
        flex-direction: column;
        align-items: center;
    }

    .method-address {
        margin-top: 10px;
        margin-bottom: 0px;
    }

    #sidebar-wrapper {
        flex-grow: 3;
    }
}

@media screen and (min-width: 840px) and (max-width: 1024px) {
    .main-box {
        padding: 35px 30px 0px 30px;
    }

    img {
        display: none;
    }

    #sidebar-wrapper {
        flex-grow: 2;
    }
}

@media screen and (min-width: 1025px) and (max-width: 1400px) {
    #sidebar-wrapper {
        flex-grow: 2;
    }
}

@media screen and (min-width: 1401px) and (max-width: 1536px) {
    .main-box {
        flex-grow: 5;
    }
}