@font-face {
    font-family: Vazir;
    src: url(../fonts/Vazir.woff2);
}

body {
    padding: 2rem;
    font-family: Vazir, sans-serif;
    direction: rtl;
    text-align: right;
}

pre {
    direction: ltr;
    margin: .5rem 0 1rem 0 !important;
    border-radius: 10px;
}

hr {
    margin: 2rem 1rem;
    color: gray;
}

.box .question {
    font-weight: bold;
    margin-bottom: .5rem;
}

.box ul {
    margin: .5rem 0;
    padding-right: 1rem;
    font-size: 15px;
}

.toolbar-item {
    margin: .2rem;
}

.form-control {
    border-radius: 10px;
}


.form-control:focus {
    border-color: #000000;
    box-shadow: none;
}

div.search {
    margin-bottom: 2rem;
}

div.search input {
    line-height: 2rem;
}

.go-to-top img {
    position: fixed;
    z-index: 10;
    left: 20px;
    bottom: 20px;
    width: 60px;
    opacity: .7;
    transition: all ease .3s;
}

.go-to-top img:hover {
    opacity: 1;
}

.scroll-to-marked-position img {
    position: fixed;
    width: 50px;
    left: 1rem;
    top: 1rem;
    opacity: .7;
    z-index: 10;
    transition: all ease .3s;
}

.scroll-to-marked-position img:hover {
    opacity: 1;
}